Menu

#14 Dispatcher error on windows

closed
None
5
2006-12-07
2006-11-23
Tine
No

Hi,
I've installed WebswellConnect on two machines:
- Windows XP
- Suse 10.1
Now I'm trying to send a message between those two machines with the help of WebswellDispatcher.
When I start WebswellDispatcher on my Windows-Machine (WebswellDispatcher.bat) the following output is given:

######################
######################
######################starting: WebswellDispatcher.bat
######################
######################
C:\Programme\WebswellConnect\corvus\dispatcher>"C:\Programme\Java\jdk1.5.0_09\bin\java" -classpath .\conf;..\lib\activation.jar;..\lib\axis.jar;..\lib\bcmail-jdk14-125.jar;..\lib\bcprov-jdk14-125.jar;..\lib\commons-collections-3.1.jar;..\lib\commons-dbcp-1.2.1.jar;..\lib\commons-discovery.jar;..\lib\commons-logging.jar;..\lib\commons-pool-1.2.jar;..\lib\corvus-as2-core.jar;..\lib\corvus-ebms-core.jar;..\lib\dom4j-1.4.jar;..\lib\jaxrpc.jar;..\lib\log4j-1.2.8.jar;..\lib\mail.jar;..\lib\piazza-commons.jar;..\lib\postgresql-8.0-313.jdbc3.jar;..\lib\saaj-api.jar;..\lib\saaj-impl.jar;..\lib\saaj.jar;..\lib\saxpath.jar;..\lib\wsdl4j.jar;..\lib\xalan.jar;..\lib\xercesImpl.jar;..\lib\xmlParserAPIs.jar;..\lib\xmlsec.jar;..\lib\jaxr-lib.jar;.\WebswellDispatcher.jar;. com.webswell.connect.webswelldispatcher.WebswellDispatcher log4j.properties WebswellDispatcher_conf.xml cpaList.xml
- Webswell Dispatcher version 1.0.3 is starting
- CPA from file
- Element PayloadSignRequired not found
- Element SystemMessage not found
- Element CpaWithinValidPeriod not found
- Element ToPartyRef not found
- Element ToCollaborationRoleName not found
- Element ClientSSLEncryptionAlgorithm () not found
- Element ServerSSLCertAlias not found
- Element ServerSSLAnchorAlias not found
- Element ServerSSLVersion not found
- Element ServerSSLEncryptionAlgorithm not found
- Element EncryptionAlias not found
- Element EncryptionAnchorAlias not found
- Element SignatureAlias not found
- Element SignatureAnchorAlias not found
- Element AckRequestedType not found
- Element PayloadMimeType not found
- Element CheckPayload not found
- Element PayloadSignRequired not found
- Element SystemMessage not found
- Element CpaWithinValidPeriod not found
- Element ToPartyRef not found
- Element ToCollaborationRoleName not found
- Element ClientSSLEncryptionAlgorithm () not found
- Element ServerSSLCertAlias not found
- Element ServerSSLAnchorAlias not found
- Element ServerSSLVersion not found
- Element ServerSSLEncryptionAlgorithm not found
- Element EncryptionAlias not found
- Element EncryptionAnchorAlias not found
- Element SignatureAlias not found
- Element SignatureAnchorAlias not found
- Element AckRequestedType not found
- Element PayloadMimeType not found
- Element CheckPayload not found
- Module 'Corvus Partnership' initialized successfully.
- Removed partnerships: 2
- Added PartnershipContext: Material Return Report Action, CPA3, cecid:RIMService
- Added PartnershipContext: Daily Sales and Inventory Report, CPA3, cecid:RIMService
- Webswell Dispatcher ready...
- Remote Exception error:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
faultSubcode:
faultString: hk.hku.cecid.piazza.commons.soap.SOAPRequestException: Error in processing SOAP request
by java.lang.reflect.InvocationTargetException
by java.lang.NullPointerException
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace: AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
faultSubcode:
faultString: hk.hku.cecid.piazza.commons.soap.SOAPRequestException: Error in processing SOAP request
by java.lang.reflect.InvocationTargetException
by java.lang.NullPointerException
faultActor:
faultNode:
faultDetail:

hk.hku.cecid.piazza.commons.soap.SOAPRequestException: Error in processing SOAP request
by java.lang.reflect.InvocationTargetException
by java.lang.NullPointerException
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:260)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:169)
at org.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:1015)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:242)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
at org.apache.axis.client.Call.invoke(Call.java:2553)
at org.apache.axis.client.Call.invoke(Call.java:2248)
at org.apache.axis.client.Call.invoke(Call.java:2171)
at org.apache.axis.client.Call.invoke(Call.java:1691)
at com.webswell.connect.webswelldispatcher.ebms.service.EbmsSoapHttpReceiverListStub.request(EbmsSoapHttpReceiverListStub.java:176)
at com.webswell.connect.webswelldispatcher.WebswellDispatcher.processMessages(WebswellDispatcher.java:259)
at com.webswell.connect.webswelldispatcher.WebswellDispatcher.main(WebswellDispatcher.java:408)
######################
######################
######################
######################
######################

The Error:
- Remote Exception error:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
......
is "looping" so that I get the same Error again and again on the console till pressing ctrl+c.

The following servers are definite running:
(tested in browser):
- MessageHandler on port 19998
- Regrep om port 9365
(tested on console):
- database(postgres) on port 13114
- MessageHandler on port 19998
- Regrep om port 9365

Christine

Discussion

  • Ladislav Urban

    Ladislav Urban - 2006-11-23
    • assigned_to: nobody --> ladislav_urban
     
  • Ladislav Urban

    Ladislav Urban - 2006-11-23

    Logged In: YES
    user_id=766165
    Originator: NO

    Could you please attach log files? We I will see more.

     
  • Tine

    Tine - 2006-11-23

    Logged In: YES
    user_id=1646858
    Originator: YES

    on the start of webswell the below listed log-files were created.
    It seems that the error occurs at the log file corvus_testClient when starting webswell. So I have not attached log-files after the start of the dispatcher.

    ##########omar_catalina
    23.11.2006 10:49:10 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
    INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Programme\Java\jre1.5.0_06\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
    23.11.2006 10:49:13 org.apache.coyote.http11.Http11BaseProtocol init
    INFO: Initializing Coyote HTTP/1.1 on http-9365
    23.11.2006 10:49:13 org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 3635 ms
    23.11.2006 10:49:14 org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    23.11.2006 10:49:14 org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
    23.11.2006 10:49:14 org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    23.11.2006 10:49:26 org.apache.coyote.http11.Http11BaseProtocol start
    INFO: Starting Coyote HTTP/1.1 on http-9365
    23.11.2006 10:49:26 org.apache.jk.common.ChannelSocket init
    INFO: JK: ajp13 listening on /0.0.0.0:12397
    23.11.2006 10:49:26 org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/80 config=null
    23.11.2006 10:49:26 org.apache.catalina.storeconfig.StoreLoader load
    INFO: Find registry server-registry.xml at classpath resource
    23.11.2006 10:49:26 org.apache.catalina.startup.Catalina start
    INFO: Server startup in 13720 ms

    ##########omar_localhost
    23.11.2006 10:49:24 org.apache.catalina.core.ApplicationContext log
    INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com\], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com\], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org\]]
    23.11.2006 10:49:24 org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextInitialized()
    23.11.2006 10:49:24 org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextInitialized()
    23.11.2006 10:49:25 org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextInitialized()
    23.11.2006 10:49:25 org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextInitialized()

    ##########hermes2_catalina
    23.11.2006 10:49:15 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
    INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Programme\Java\jre1.5.0_06\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
    23.11.2006 10:49:15 org.apache.coyote.http11.Http11BaseProtocol init
    INFO: Initializing Coyote HTTP/1.1 on http-19998
    23.11.2006 10:49:15 org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 2123 ms
    23.11.2006 10:49:16 org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    23.11.2006 10:49:16 org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
    23.11.2006 10:49:16 org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    23.11.2006 10:49:16 org.apache.catalina.core.ApplicationContext log
    INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com\], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com\], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org\]]
    23.11.2006 10:49:27 org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextInitialized()
    23.11.2006 10:49:27 org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextInitialized()
    23.11.2006 10:49:27 org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextInitialized()
    23.11.2006 10:49:27 org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextInitialized()
    23.11.2006 10:49:27 org.apache.coyote.http11.Http11BaseProtocol start
    INFO: Starting Coyote HTTP/1.1 on http-19998
    23.11.2006 10:49:27 org.apache.jk.common.ChannelSocket init
    INFO: Port busy 8009 java.net.BindException: Address already in use: JVM_Bind
    23.11.2006 10:49:27 org.apache.jk.common.ChannelSocket init
    INFO: JK: ajp13 listening on /0.0.0.0:8010
    23.11.2006 10:49:27 org.apache.jk.server.JkMain start
    INFO: Jk running ID=1 time=0/50 config=null
    23.11.2006 10:49:27 org.apache.catalina.storeconfig.StoreLoader load
    INFO: Find registry server-registry.xml at classpath resource
    23.11.2006 10:49:27 org.apache.catalina.startup.Catalina start
    INFO: Server startup in 11997 ms

    ##########omar
    2006-11-23 10:49:23,292 INFO org.freebxml.omar.server.common.RegistryProperties[main] - Loading omar properties...
    2006-11-23 10:49:23,812 INFO org.freebxml.omar.server.interfaces.soap.RegistrySOAPServlet[main] - init
    2006-11-23 10:49:24,023 INFO org.freebxml.omar.server.interfaces.soap.RegistrySOAPServlet[main] - init
    2006-11-23 10:50:23,999 INFO org.freebxml.omar.server.persistence.rdb.SQLPersistenceManagerImpl[org.freebxml.omar.server.cache.ServerCache#initialize] - dbURL: jdbc:postgresql://localhost:13114/omar

    ##########corvus_testClient
    2006-11-23 10:49:20 [main ] <DEBUG> <Component 'System Logger' in module 'Piazza Corvus' initialized successfully.>
    2006-11-23 10:49:20 [main ] <DEBUG> <Component 'System Properties' in module 'Piazza Corvus' initialized successfully.>
    2006-11-23 10:49:20 [main ] <DEBUG> <Component 'System Messages' in module 'Piazza Corvus' initialized successfully.>
    2006-11-23 10:49:20 [main ] <INFO > <Module 'Piazza Corvus' initialized successfully.>
    2006-11-23 10:49:20 [main ] <INFO > <Plugin 'hk.hku.cecid.ebms' created successfully>
    2006-11-23 10:49:20 [main ] <INFO > <Plugin 'hk.hku.cecid.edi.as2' created successfully>
    2006-11-23 10:49:20 [main ] <INFO > <Plugin 'hk.hku.cecid.piazza.corvus.core.main' created successfully>
    2006-11-23 10:49:20 [main ] <INFO > <Plugin registry (C:\Programme\WebswellConnect\corvus\plugins) initialized successfully.>
    2006-11-23 10:49:26 [main ] <ERROR> <Error in activating plugin: hk.hku.cecid.ebms>
    hk.hku.cecid.piazza.commons.spa.PluginException: Error in processing activation by handler: hk.hku.cecid.ebms.spa.EbmsProcessor
    by hk.hku.cecid.piazza.commons.module.ModuleException: Unable to initialize module group 'Ebms'
    by hk.hku.cecid.piazza.commons.module.ModuleException: Unable to load modules
    by hk.hku.cecid.piazza.commons.module.ModuleException: Unable to initialize component 'Key Store Manager for Digital Signature'
    by hk.hku.cecid.piazza.commons.security.KeyStoreManagementException: Unable to initialize the key store
    by java.io.IOException: exception decrypting data - java.security.InvalidKeyException: Illegal key size
    at hk.hku.cecid.piazza.commons.spa.Plugin.activate(Plugin.java:136)
    at hk.hku.cecid.piazza.commons.spa.PluginRegistry.activatePlugins(PluginRegistry.java:307)
    at hk.hku.cecid.piazza.commons.spa.PluginRegistry.activate(PluginRegistry.java:281)
    at hk.hku.cecid.piazza.corvus.core.Kernel.<init>(Kernel.java:98)
    at hk.hku.cecid.piazza.corvus.core.Kernel.<clinit>(Kernel.java:30)
    at hk.hku.cecid.piazza.corvus.core.servlet.StartupServlet.init(StartupServlet.java:36)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3917)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4201)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
    at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:904)
    at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:867)
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
    at org.apache.catalina.core.StandardService.start(StandardService.java:450)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
    Caused by: hk.hku.cecid.piazza.commons.module.ModuleException: Unable to initialize module group 'Ebms'
    by hk.hku.cecid.piazza.commons.module.ModuleException: Unable to load modules
    by hk.hku.cecid.piazza.commons.module.ModuleException: Unable to initialize component 'Key Store Manager for Digital Signature'
    by hk.hku.cecid.piazza.commons.security.KeyStoreManagementException: Unable to initialize the key store
    by java.io.IOException: exception decrypting data - java.security.InvalidKeyException: Illegal key size
    at hk.hku.cecid.piazza.commons.module.ModuleGroup.<init>(ModuleGroup.java:92)
    at hk.hku.cecid.ebms.spa.EbmsProcessor.processActivation(EbmsProcessor.java:51)
    at hk.hku.cecid.piazza.commons.spa.Plugin.activate(Plugin.java:133)
    ... 31 more
    Caused by: hk.hku.cecid.piazza.commons.module.ModuleException: Unable to load modules
    by hk.hku.cecid.piazza.commons.module.ModuleException: Unable to initialize component 'Key Store Manager for Digital Signature'
    by hk.hku.cecid.piazza.commons.security.KeyStoreManagementException: Unable to initialize the key store
    by java.io.IOException: exception decrypting data - java.security.InvalidKeyException: Illegal key size
    at hk.hku.cecid.piazza.commons.module.ModuleGroup.loadModules(ModuleGroup.java:130)
    at hk.hku.cecid.piazza.commons.module.ModuleGroup.<init>(ModuleGroup.java:89)
    ... 33 more
    Caused by: hk.hku.cecid.piazza.commons.module.ModuleException: Unable to initialize component 'Key Store Manager for Digital Signature'
    by hk.hku.cecid.piazza.commons.security.KeyStoreManagementException: Unable to initialize the key store
    by java.io.IOException: exception decrypting data - java.security.InvalidKeyException: Illegal key size
    at hk.hku.cecid.piazza.commons.module.Module.initComponents(Module.java:188)
    at hk.hku.cecid.piazza.commons.module.Module.init(Module.java:133)
    at hk.hku.cecid.piazza.commons.module.ModuleGroup.loadModules(ModuleGroup.java:112)
    ... 34 more
    Caused by: hk.hku.cecid.piazza.commons.security.KeyStoreManagementException: Unable to initialize the key store
    by java.io.IOException: exception decrypting data - java.security.InvalidKeyException: Illegal key size
    at hk.hku.cecid.piazza.commons.security.KeyStoreComponent.load(KeyStoreComponent.java:177)
    at hk.hku.cecid.piazza.commons.security.KeyStoreComponent.init(KeyStoreComponent.java:141)
    at hk.hku.cecid.piazza.commons.security.KeyStoreComponent.init(KeyStoreComponent.java:95)
    at hk.hku.cecid.piazza.commons.module.Module.initComponents(Module.java:182)
    ... 36 more
    Caused by: java.io.IOException: exception decrypting data - java.security.InvalidKeyException: Illegal key size
    at org.bouncycastle.jce.provider.JDKPKCS12KeyStore.decryptData(JDKPKCS12KeyStore.java:612)
    at org.bouncycastle.jce.provider.JDKPKCS12KeyStore.engineLoad(JDKPKCS12KeyStore.java:828)
    at java.security.KeyStore.load(Unknown Source)
    at hk.hku.cecid.piazza.commons.security.KeyStoreComponent.load(KeyStoreComponent.java:171)
    ... 39 more
    2006-11-23 10:49:26 [main ] <ERROR> <Error in activating plugin: hk.hku.cecid.edi.as2>
    hk.hku.cecid.piazza.commons.spa.PluginException: Error in processing activation by handler: hk.hku.cecid.edi.as2.AS2Processor
    by hk.hku.cecid.piazza.commons.spa.PluginException: Unable to initialize AS2 processor
    by hk.hku.cecid.piazza.commons.module.ModuleException: Unable to initialize module group 'AS2 Module Group'
    by hk.hku.cecid.piazza.commons.module.ModuleException: Unable to load modules
    by hk.hku.cecid.piazza.commons.module.ModuleException: Unable to initialize component 'AS2 Key Store Manager'
    by hk.hku.cecid.piazza.commons.security.KeyStoreManagementException: Unable to initialize the key store
    by java.io.IOException: exception unwrapping private key - java.security.InvalidKeyException: Illegal key size
    at hk.hku.cecid.piazza.commons.spa.Plugin.activate(Plugin.java:136)
    at hk.hku.cecid.piazza.commons.spa.PluginRegistry.activatePlugins(PluginRegistry.java:307)
    at hk.hku.cecid.piazza.commons.spa.PluginRegistry.activate(PluginRegistry.java:281)
    at hk.hku.cecid.piazza.corvus.core.Kernel.<init>(Kernel.java:98)
    at hk.hku.cecid.piazza.corvus.core.Kernel.<clinit>(Kernel.java:30)
    at hk.hku.cecid.piazza.corvus.core.servlet.StartupServlet.init(StartupServlet.java:36)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3917)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4201)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
    at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:904)
    at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:867)
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
    at org.apache.catalina.core.StandardService.start(StandardService.java:450)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
    Caused by: hk.hku.cecid.piazza.commons.spa.PluginException: Unable to initialize AS2 processor
    by hk.hku.cecid.piazza.commons.module.ModuleException: Unable to initialize module group 'AS2 Module Group'
    by hk.hku.cecid.piazza.commons.module.ModuleException: Unable to load modules
    by hk.hku.cecid.piazza.commons.module.ModuleException: Unable to initialize component 'AS2 Key Store Manager'
    by hk.hku.cecid.piazza.commons.security.KeyStoreManagementException: Unable to initialize the key store
    by java.io.IOException: exception unwrapping private key - java.security.InvalidKeyException: Illegal key size
    at hk.hku.cecid.edi.as2.AS2Processor.processActivation(AS2Processor.java:62)
    at hk.hku.cecid.piazza.commons.spa.Plugin.activate(Plugin.java:133)
    ... 31 more
    Caused by: hk.hku.cecid.piazza.commons.module.ModuleException: Unable to initialize module group 'AS2 Module Group'
    by hk.hku.cecid.piazza.commons.module.ModuleException: Unable to load modules
    by hk.hku.cecid.piazza.commons.module.ModuleException: Unable to initialize component 'AS2 Key Store Manager'
    by hk.hku.cecid.piazza.commons.security.KeyStoreManagementException: Unable to initialize the key store
    by java.io.IOException: exception unwrapping private key - java.security.InvalidKeyException: Illegal key size
    at hk.hku.cecid.piazza.commons.module.ModuleGroup.<init>(ModuleGroup.java:92)
    at hk.hku.cecid.edi.as2.AS2Processor.init(AS2Processor.java:94)
    at hk.hku.cecid.edi.as2.AS2Processor.processActivation(AS2Processor.java:58)
    ... 32 more
    Caused by: hk.hku.cecid.piazza.commons.module.ModuleException: Unable to load modules
    by hk.hku.cecid.piazza.commons.module.ModuleException: Unable to initialize component 'AS2 Key Store Manager'
    by hk.hku.cecid.piazza.commons.security.KeyStoreManagementException: Unable to initialize the key store
    by java.io.IOException: exception unwrapping private key - java.security.InvalidKeyException: Illegal key size
    at hk.hku.cecid.piazza.commons.module.ModuleGroup.loadModules(ModuleGroup.java:130)
    at hk.hku.cecid.piazza.commons.module.ModuleGroup.<init>(ModuleGroup.java:89)
    ... 34 more
    Caused by: hk.hku.cecid.piazza.commons.module.ModuleException: Unable to initialize component 'AS2 Key Store Manager'
    by hk.hku.cecid.piazza.commons.security.KeyStoreManagementException: Unable to initialize the key store
    by java.io.IOException: exception unwrapping private key - java.security.InvalidKeyException: Illegal key size
    at hk.hku.cecid.piazza.commons.module.Module.initComponents(Module.java:188)
    at hk.hku.cecid.piazza.commons.module.Module.init(Module.java:133)
    at hk.hku.cecid.piazza.commons.module.ModuleGroup.loadModules(ModuleGroup.java:112)
    ... 35 more
    Caused by: hk.hku.cecid.piazza.commons.security.KeyStoreManagementException: Unable to initialize the key store
    by java.io.IOException: exception unwrapping private key - java.security.InvalidKeyException: Illegal key size
    at hk.hku.cecid.piazza.commons.security.KeyStoreComponent.load(KeyStoreComponent.java:177)
    at hk.hku.cecid.piazza.commons.security.KeyStoreComponent.init(KeyStoreComponent.java:141)
    at hk.hku.cecid.piazza.commons.security.KeyStoreComponent.init(KeyStoreComponent.java:95)
    at hk.hku.cecid.piazza.commons.module.Module.initComponents(Module.java:182)
    ... 37 more
    Caused by: java.io.IOException: exception unwrapping private key - java.security.InvalidKeyException: Illegal key size
    at org.bouncycastle.jce.provider.JDKPKCS12KeyStore.unwrapKey(JDKPKCS12KeyStore.java:546)
    at org.bouncycastle.jce.provider.JDKPKCS12KeyStore.engineLoad(JDKPKCS12KeyStore.java:757)
    at java.security.KeyStore.load(Unknown Source)
    at hk.hku.cecid.piazza.commons.security.KeyStoreComponent.load(KeyStoreComponent.java:171)
    ... 40 more
    2006-11-23 10:49:26 [main ] <ERROR> <Unable to register listener 'class hk.hku.cecid.ebms.spa.listener.EbmsInboundListener' at '/ebms/inbound'>
    hk.hku.cecid.piazza.commons.servlet.RequestListenerException: Error in creating MSH in EbmsInboundListener
    by java.lang.NullPointerException
    at hk.hku.cecid.ebms.spa.listener.EbmsInboundListener.listenerCreated(EbmsInboundListener.java:28)
    at hk.hku.cecid.piazza.commons.servlet.http.HttpDispatcherContext.register(HttpDispatcherContext.java:121)
    at hk.hku.cecid.piazza.corvus.core.main.handler.HttpdRequestListenerRegistrar.processExtension(HttpdRequestListenerRegistrar.java:33)
    at hk.hku.cecid.piazza.commons.spa.ExtensionPointIteratedHandler.processExtensions(ExtensionPointIteratedHandler.java:54)
    at hk.hku.cecid.piazza.commons.spa.ExtensionPoint.processExtensions(ExtensionPoint.java:58)
    at hk.hku.cecid.piazza.commons.spa.PluginRegistry.bindExtensionPoints(PluginRegistry.java:357)
    at hk.hku.cecid.piazza.commons.spa.PluginRegistry.activate(PluginRegistry.java:281)
    at hk.hku.cecid.piazza.corvus.core.Kernel.<init>(Kernel.java:98)
    at hk.hku.cecid.piazza.corvus.core.Kernel.<clinit>(Kernel.java:30)
    at hk.hku.cecid.piazza.corvus.core.servlet.StartupServlet.init(StartupServlet.java:36)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3917)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4201)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
    at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:904)
    at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:867)
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
    at org.apache.catalina.core.StandardService.start(StandardService.java:450)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
    Caused by: java.lang.NullPointerException
    at hk.hku.cecid.ebms.spa.handler.MessageServiceHandler.getInstance(MessageServiceHandler.java:251)
    at hk.hku.cecid.ebms.spa.listener.EbmsInboundListener.listenerCreated(EbmsInboundListener.java:26)
    ... 35 more
    2006-11-23 10:49:26 [main ] <INFO > <HTTP request listener 'hk.hku.cecid.ebms.spa.service.EbmsMessageSenderService' registered successfully at '/ebms/sender'>
    2006-11-23 10:49:26 [main ] <INFO > <HTTP request listener 'hk.hku.cecid.ebms.spa.service.EbmsMessageReceiverListService' registered successfully at '/ebms/receiver_list'>
    2006-11-23 10:49:26 [main ] <INFO > <HTTP request listener 'hk.hku.cecid.ebms.spa.service.EbmsMessageReceiverService' registered successfully at '/ebms/receiver'>
    2006-11-23 10:49:26 [main ] <INFO > <HTTP request listener 'hk.hku.cecid.edi.as2.listener.AS2InboundListener' registered successfully at '/as2/inbound'>
    2006-11-23 10:49:26 [main ] <INFO > <HTTP request listener 'hk.hku.cecid.edi.as2.listener.AS2ReceiptListener' registered successfully at '/as2/mdn'>
    2006-11-23 10:49:26 [main ] <INFO > <HTTP request listener 'hk.hku.cecid.edi.as2.service.AS2MessageSenderService' registered successfully at '/as2/sender'>
    2006-11-23 10:49:26 [main ] <INFO > <HTTP request listener 'hk.hku.cecid.edi.as2.service.AS2MessageReceiverListService' registered successfully at '/as2/receiver_list'>
    2006-11-23 10:49:26 [main ] <INFO > <HTTP request listener 'hk.hku.cecid.edi.as2.service.AS2MessageReceiverService' registered successfully at '/as2/receiver'>
    2006-11-23 10:49:26 [main ] <INFO > <HTTP request listener 'hk.hku.cecid.piazza.corvus.core.main.listener.HttpProxyListener' registered successfully at '/proxy'>
    2006-11-23 10:49:26 [main ] <INFO > <HTTP request listener 'hk.hku.cecid.piazza.corvus.core.main.listener.WSPingService' registered successfully at '/wsping'>
    2006-11-23 10:49:26 [main ] <INFO > <Corvus Startup Servlet initialized successfully>
    2006-11-23 10:49:26 [main ] <INFO > <CoreDispatcher initialized successfully>

    ##########ebms
    2006-11-23 10:49:21 [main ] <DEBUG> <cecid.ebms.spa> <Component 'System Logger' in module 'Ebms Plugin' initialized successfully.>
    2006-11-23 10:49:21 [main ] <DEBUG> <cecid.ebms.spa> <Component 'System Properties' in module 'Ebms Plugin' initialized successfully.>
    2006-11-23 10:49:21 [main ] <DEBUG> <cecid.ebms.spa> <Component 'System Messages' in module 'Ebms Plugin' initialized successfully.>
    2006-11-23 10:49:21 [main ] <DEBUG> <cecid.ebms.spa> <DAO descriptor 'hk/hku/cecid/ebms/spa/conf/DAOMessage.xml' loaded successfully>
    2006-11-23 10:49:21 [main ] <DEBUG> <cecid.ebms.spa> <DAO descriptor 'hk/hku/cecid/ebms/spa/conf/DAORepository.xml' loaded successfully>
    2006-11-23 10:49:21 [main ] <DEBUG> <cecid.ebms.spa> <DAO descriptor 'hk/hku/cecid/ebms/spa/conf/DAOOutbox.xml' loaded successfully>
    2006-11-23 10:49:21 [main ] <DEBUG> <cecid.ebms.spa> <DAO descriptor 'hk/hku/cecid/ebms/spa/conf/DAOInbox.xml' loaded successfully>
    2006-11-23 10:49:21 [main ] <DEBUG> <cecid.ebms.spa> <DAO descriptor 'hk/hku/cecid/ebms/spa/conf/DAOMessageServer.xml' loaded successfully>
    2006-11-23 10:49:21 [main ] <DEBUG> <cecid.ebms.spa> <DAO descriptor 'hk/hku/cecid/ebms/spa/conf/DAOPartnership.xml' loaded successfully>
    2006-11-23 10:49:21 [main ] <DEBUG> <cecid.ebms.spa> <Component 'System DAO Factory' in module 'Ebms Plugin' initialized successfully.>

    ##########as2
    2006-11-23 10:49:26 [main ] <DEBUG> <Component 'AS2 Core Logger' in module 'Corvus AS2' initialized successfully.>
    2006-11-23 10:49:26 [main ] <DEBUG> <Component 'AS2 Properties' in module 'Corvus AS2' initialized successfully.>
    2006-11-23 10:49:26 [main ] <DEBUG> <DAO descriptor 'hk\hku\cecid\edi\as2\conf\as2.dao.xml' loaded successfully>
    2006-11-23 10:49:26 [main ] <DEBUG> <Component 'AS2 DAO Factory' in module 'Corvus AS2' initialized successfully.>

     
  • Ladislav Urban

    Ladislav Urban - 2006-11-23

    Logged In: YES
    user_id=766165
    Originator: NO

    Hi Christine. The hermes2 server i down for some reason. It is on your local node. You can shutdown Webswell Dispatcher and the server. Clean the logs.
    And try to start it up. You should not see error message in any log file in all_logs directory. Then you can find URLs Endpoints in the CPA and pute them
    into the browser. If the problem persist my ICQ is 287054618 . We can solve it.

    And other think I see Illegal keys size the log. It is done by JAVA policy. This seems that the installation process of Webswell Connect of given node
    is not done properly or somebody has overwritten Java policy files. It means that Webswell Connect tries to use longer keys then is allowed by local Java

     
  • Ladislav Urban

    Ladislav Urban - 2006-11-23

    Logged In: YES
    user_id=766165
    Originator: NO

    It seems that Java policy files are not overwritten by the installer. This problem appeared on Microsoft Windows XP
    Professional Version 2002 Service Pack2

     
  • Ladislav Urban

    Ladislav Urban - 2006-11-23

    Logged In: YES
    user_id=766165
    Originator: NO

    Windows require java policy files in both JRE and JDK installation. This will be fixed in Webswell Connect 2.0.4

     
  • Ladislav Urban

    Ladislav Urban - 2006-12-07
    • status: open --> closed
     

Log in to post a comment.