aiuto

103 views
Skip to first unread message

will

unread,
Dec 15, 2008, 3:55:23 AM12/15/08
to Hermes 2.0 Discussion List
ciao vorrei un aiuto
ho istallato hermes2 ma mi da problemi sui plugin di ebms e di as2
l'errore che visualizzo è :
error occurs when plugin ebms initiates
questo errore lo visualizzo nella pagina di message history nella
pagina di admin-ebms plugin
mi sapreste risolvere il problema?
grazie mille ciao

Martin Kalén

unread,
Dec 16, 2008, 5:15:52 AM12/16/08
to Hermes 2.0 Discussion List
Greetings will,
since this is an English speaking list you have better chances of
getting help if you translate your question. I tried Google Translate
and got this result (somewhat changed from obvious auto-translation
mistakes):

"hello I would like some help
After installing hermes2 I get some problems in plugin ebms and AS2
the error that I see is:
error occurs when plugin ebms initiates
I see this error on page message history
admin-page ebms plugin
How can I solve the problem?"

My advice would be to search the logfiles for some specific error
messages. In the Hermes 2 installation directory you should find a
subdirectory called "logs" where you can search for any messages with
level "ERROR". If you post the stacktraces on this list I am sure that
someone can help you get going.

Regards,
Martin

Åke Öberg

unread,
Dec 16, 2008, 5:37:55 AM12/16/08
to cecid-...@googlegroups.com


Hello,

I advice you to use a different user/scheme for ebms datamodel and as2 datamodel when installing. Otherwise ebms specific tables will be dropped or modified when installing the as2 plugin. There could be other errors but check this.

Regards,

Ake

-----Ursprungligt meddelande-----
Från: cecid-...@googlegroups.com [mailto:cecid-...@googlegroups.com] För Martin Kalén
Skickat: den 16 december 2008 11:16
Till: Hermes 2.0 Discussion List
Ämne: Re: aiuto

will

unread,
Dec 18, 2008, 3:58:29 AM12/18/08
to Hermes 2.0 Discussion List
Hello I would like some help
I write under here part of the file where there is error:
2008-12-17 16:07:06 [Thread-1 ] <INFO > <Plugin registry (C:
\Programmi\hermes2\plugins) initialized successfully.>
2008-12-17 16:07:07 [Thread-1 ] <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:1172)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:
992)
at org.apache.catalina.core.StandardContext.loadOnStartup
(StandardContext.java:4058)
at org.apache.catalina.core.StandardContext.start
(StandardContext.java:4371)
at org.apache.catalina.core.ContainerBase.addChildInternal
(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:
771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:
525)
at org.apache.catalina.startup.HostConfig.deployDirectory
(HostConfig.java:926)
at org.apache.catalina.startup.HostConfig.deployDirectories
(HostConfig.java:889)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:
492)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
at org.apache.catalina.startup.HostConfig.lifecycleEvent
(HostConfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
(LifecycleSupport.java:117)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:
443)
at org.apache.catalina.core.StandardService.start
(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:
710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
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:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
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:53)
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:175)
at hk.hku.cecid.piazza.commons.security.KeyStoreComponent.init
(KeyStoreComponent.java:140)
at hk.hku.cecid.piazza.commons.security.KeyStoreComponent.init
(KeyStoreComponent.java:94)
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:169)
... 39 more
2008-12-17 16:07:07 [Thread-1 ] <DEBUG> <Component 'Corvus Main
Loggger' in module 'Corvus Main System Module' initialized
successfully.>
2008-12-17 16:07:07 [Thread-1 ] <DEBUG> <Component 'Corvus Main
Properties' in module 'Corvus Main System Module' initialized
successfully.>
2008-12-17 16:07:07 [Thread-1 ] <INFO > <Module 'Corvus Main System
Module' initialized successfully.>
2008-12-17 16:07:07 [Thread-1 ] <DEBUG> <Component 'Housecleaning
Scheduler Task List' in module 'Housecleaning Scheduler Module'
initialized successfully.>
2008-12-17 16:07:07 [Thread-1 ] <INFO > <Module 'Housecleaning
Scheduler Module' initialized successfully.>
2008-12-17 16:07:07 [Thread-1 ] <DEBUG> <Resuming active monitor in
module (Housecleaning Scheduler Module). Current active threads: 0>
2008-12-17 16:07:08 [Thread-1 ] <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 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:1172)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:
992)
at org.apache.catalina.core.StandardContext.loadOnStartup
(StandardContext.java:4058)
at org.apache.catalina.core.StandardContext.start
(StandardContext.java:4371)
at org.apache.catalina.core.ContainerBase.addChildInternal
(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:
771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:
525)
at org.apache.catalina.startup.HostConfig.deployDirectory
(HostConfig.java:926)
at org.apache.catalina.startup.HostConfig.deployDirectories
(HostConfig.java:889)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:
492)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
at org.apache.catalina.startup.HostConfig.lifecycleEvent
(HostConfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
(LifecycleSupport.java:117)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:
443)
at org.apache.catalina.core.StandardService.start
(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:
710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
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:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
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 decrypting data -
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 decrypting data -
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 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)
... 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 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)
... 35 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:175)
at hk.hku.cecid.piazza.commons.security.KeyStoreComponent.init
(KeyStoreComponent.java:140)
at hk.hku.cecid.piazza.commons.security.KeyStoreComponent.init
(KeyStoreComponent.java:94)
at hk.hku.cecid.piazza.commons.module.Module.initComponents
(Module.java:182)
... 37 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:169)
... 40 more
2008-12-17 16:07:08 [Thread-1 ] <INFO > <HTTP request listener
'hk.hku.cecid.ebms.service.EbmsMessageStatusQueryService' registered
successfully at '/ebms/status'>
2008-12-17 16:07:08 [Thread-1 ] <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:34)
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:35)
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:1172)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:
992)
at org.apache.catalina.core.StandardContext.loadOnStartup
(StandardContext.java:4058)
at org.apache.catalina.core.StandardContext.start
(StandardContext.java:4371)
at org.apache.catalina.core.ContainerBase.addChildInternal
(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:
771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:
525)
at org.apache.catalina.startup.HostConfig.deployDirectory
(HostConfig.java:926)
at org.apache.catalina.startup.HostConfig.deployDirectories
(HostConfig.java:889)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:
492)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
at org.apache.catalina.startup.HostConfig.lifecycleEvent
(HostConfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
(LifecycleSupport.java:117)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:
443)
at org.apache.catalina.core.StandardService.start
(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:
710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
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:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: java.lang.NullPointerException
at hk.hku.cecid.ebms.spa.handler.MessageServiceHandler.getInstance
(MessageServiceHandler.java:256)
at hk.hku.cecid.ebms.spa.listener.EbmsInboundListener.listenerCreated
(EbmsInboundListener.java:32)
... 35 more
2008-12-17 16:07:08 [Thread-1 ] <INFO > <HTTP request listener
'hk.hku.cecid.ebms.spa.service.EbmsMessageSenderService' registered
successfully at '/ebms/sender'>
2008-12-17 16:07:08 [Thread-1 ] <INFO > <HTTP request listener
'hk.hku.cecid.ebms.spa.service.EbmsMessageReceiverListService'
registered successfully at '/ebms/receiver_list'>
2008-12-17 16:07:08 [Thread-1 ] <INFO > <HTTP request listener
'hk.hku.cecid.ebms.spa.service.EbmsMessageReceiverService' registered
successfully at '/ebms/receiver'>
2008-12-17 16:07:08 [Thread-1 ] <INFO > <HTTP request listener
'hk.hku.cecid.ebms.spa.service.EbmsMessageHistoryService' registered
successfully at '/ebms/msg_history'>
2008-12-17 16:07:08 [Thread-1 ] <INFO > <HTTP request listener
'hk.hku.cecid.edi.as2.service.AS2MessageStatusQueryService' registered
successfully at '/as2/status'>
2008-12-17 16:07:08 [Thread-1 ] <INFO > <HTTP request listener
'hk.hku.cecid.piazza.corvus.core.main.listener.WSPingService'
registered successfully at '/wsping'>
2008-12-17 16:07:08 [Thread-1 ] <INFO > <HTTP request listener
'hk.hku.cecid.edi.as2.listener.AS2InboundListener' registered
successfully at '/as2/inbound'>
2008-12-17 16:07:08 [Thread-1 ] <INFO > <HTTP request listener
'hk.hku.cecid.edi.as2.listener.AS2ReceiptListener' registered
successfully at '/as2/mdn'>
2008-12-17 16:07:08 [Thread-1 ] <INFO > <HTTP request listener
'hk.hku.cecid.edi.as2.service.AS2MessageSenderService' registered
successfully at '/as2/sender'>
2008-12-17 16:07:08 [Thread-1 ] <INFO > <HTTP request listener
'hk.hku.cecid.edi.as2.service.AS2MessageReceiverListService'
registered successfully at '/as2/receiver_list'>
2008-12-17 16:07:08 [Thread-1 ] <INFO > <HTTP request listener
'hk.hku.cecid.edi.as2.service.AS2MessageReceiverService' registered
successfully at '/as2/receiver'>
2008-12-17 16:07:08 [Thread-1 ] <ERROR> <Error in processing
extension: AS2 Message Status Query
List...@hk.hku.cecid.piazza.corvus.core.httpd.listener>
hk.hku.cecid.piazza.commons.spa.PluginException: Unable to add the
request listener:
hk.hku.cecid.edi.as2.service.AS2MessageStatusQueryService
by hk.hku.cecid.piazza.commons.spa.PluginException: Unable to load
class 'hk.hku.cecid.edi.as2.service.AS2MessageStatusQueryService' from
plugin classloader :
Class
------------------------------
hk.hku.cecid.piazza.commons.spa.PluginClassLoader

Plugin
------------------------------
Plugin ID: hk.hku.cecid.edi.as2

Classpaths
------------------------------
file:/C:/Programmi/hermes2/plugins/hk.hku.cecid.edi.as2/corvus-as2-
core.jar
file:/C:/Programmi/hermes2/plugins/hk.hku.cecid.edi.as2/conf/
file:/C:/Programmi/hermes2/plugins/hk.hku.cecid.edi.as2/security/

Imported Loaders
------------------------------

Parent
------------------------------
WebappClassLoader
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader@54172f

by java.lang.ClassNotFoundException: No class definition found:
hk.hku.cecid.edi.as2.service.AS2MessageStatusQueryService
at
hk.hku.cecid.piazza.corvus.core.main.handler.HttpdRequestListenerRegistrar.processExtension
(HttpdRequestListenerRegistrar.java:39)
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:1172)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:
992)
at org.apache.catalina.core.StandardContext.loadOnStartup
(StandardContext.java:4058)
at org.apache.catalina.core.StandardContext.start
(StandardContext.java:4371)
at org.apache.catalina.core.ContainerBase.addChildInternal
(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:
771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:
525)
at org.apache.catalina.startup.HostConfig.deployDirectory
(HostConfig.java:926)
at org.apache.catalina.startup.HostConfig.deployDirectories
(HostConfig.java:889)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:
492)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
at org.apache.catalina.startup.HostConfig.lifecycleEvent
(HostConfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
(LifecycleSupport.java:117)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:
443)
at org.apache.catalina.core.StandardService.start
(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:
710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
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:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: hk.hku.cecid.piazza.commons.spa.PluginException: Unable to
load class 'hk.hku.cecid.edi.as2.service.AS2MessageStatusQueryService'
from plugin classloader :
Class
------------------------------
hk.hku.cecid.piazza.commons.spa.PluginClassLoader

Plugin
------------------------------
Plugin ID: hk.hku.cecid.edi.as2

Classpaths
------------------------------
file:/C:/Programmi/hermes2/plugins/hk.hku.cecid.edi.as2/corvus-as2-
core.jar
file:/C:/Programmi/hermes2/plugins/hk.hku.cecid.edi.as2/conf/
file:/C:/Programmi/hermes2/plugins/hk.hku.cecid.edi.as2/security/

Imported Loaders
------------------------------

Parent
------------------------------
WebappClassLoader
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader@54172f

by java.lang.ClassNotFoundException: No class definition found:
hk.hku.cecid.edi.as2.service.AS2MessageStatusQueryService
at hk.hku.cecid.piazza.commons.spa.Plugin.loadClass(Plugin.java:308)
at
hk.hku.cecid.piazza.corvus.core.main.handler.HttpdRequestListenerRegistrar.processExtension
(HttpdRequestListenerRegistrar.java:34)
... 33 more
Caused by: java.lang.ClassNotFoundException: No class definition
found: hk.hku.cecid.edi.as2.service.AS2MessageStatusQueryService
at hk.hku.cecid.piazza.commons.spa.PluginClassLoader.findImportedClass
(PluginClassLoader.java:114)
at hk.hku.cecid.piazza.commons.spa.PluginClassLoader.findClass
(PluginClassLoader.java:86)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at hk.hku.cecid.piazza.commons.spa.Plugin.loadClass(Plugin.java:305)
... 34 more
2008-12-17 16:07:08 [Thread-1 ] <INFO > <HTTP request listener
'hk.hku.cecid.ebms.admin.listener.RepositoryAdaptor' registered
successfully at '/ebms/repository'>
2008-12-17 16:07:08 [Thread-1 ] <INFO > <HTTP request listener
'hk.hku.cecid.ebms.admin.listener.MessageHistoryPageletAdaptor'
registered successfully at '/ebms/message_history'>
2008-12-17 16:07:08 [Thread-1 ] <INFO > <HTTP request listener
'hk.hku.cecid.ebms.admin.listener.PartnershipPageletAdaptor'
registered successfully at '/ebms/partnership'>
2008-12-17 16:07:08 [Thread-1 ] <INFO > <HTTP request listener
'hk.hku.cecid.ebms.admin.listener.ChangeMessageStatusPageletAdaptor'
registered successfully at '/ebms/change_message_status'>
2008-12-17 16:07:08 [Thread-1 ] <INFO > <HTTP request listener
'hk.hku.cecid.edi.as2.admin.listener.RepositoryAdaptor' registered
successfully at '/as2/repository'>
2008-12-17 16:07:08 [Thread-1 ] <INFO > <HTTP request listener
'hk.hku.cecid.edi.as2.admin.listener.MessageHistoryPageletAdaptor'
registered successfully at '/as2/message_history'>
2008-12-17 16:07:08 [Thread-1 ] <INFO > <HTTP request listener
'hk.hku.cecid.edi.as2.admin.listener.PartnershipPageletAdaptor'
registered successfully at '/as2/partnership'>
2008-12-17 16:07:08 [Thread-1 ] <INFO > <HTTP request listener
'hk.hku.cecid.edi.as2.admin.listener.ChangeMessageStatusPageletAdaptor'
registered successfully at '/as2/change_message_status'>
2008-12-17 16:07:08 [Thread-1 ] <INFO > <HTTP request listener
'hk.hku.cecid.piazza.corvus.core.main.admin.listener.PropertiesPageletAdaptor'
registered successfully at '/main/jvmprops'>
2008-12-17 16:07:08 [Thread-1 ] <INFO > <HTTP request listener
'hk.hku.cecid.piazza.corvus.core.main.admin.listener.CorePropertiesPageletAdaptor'
registered successfully at '/main/coreprops'>
2008-12-17 16:07:08 [Thread-1 ] <INFO > <HTTP request listener
'hk.hku.cecid.piazza.corvus.core.main.admin.listener.HttpdPageletAdaptor'
registered successfully at '/main/httpd'>
2008-12-17 16:07:08 [Thread-1 ] <INFO > <HTTP request listener
'hk.hku.cecid.piazza.corvus.core.main.admin.listener.PluginRegistryPageletAdaptor'
registered successfully at '/main/plugins'>
2008-12-17 16:07:08 [Thread-1 ] <INFO > <HTTP request listener
'hk.hku.cecid.piazza.corvus.core.main.admin.listener.ModuleInfoPageletAdaptor'
registered successfully at '/main/modules'>
2008-12-17 16:07:08 [Thread-1 ] <INFO > <HTTP request listener
'hk.hku.cecid.piazza.corvus.admin.listener.AdminPageletAdaptor'
registered successfully at '/home'>
2008-12-17 16:07:08 [Thread-1 ] <INFO > <Corvus Startup Servlet
initialized successfully>
2008-12-17 16:07:08 [Thread-1 ] <INFO > <CoreDispatcher initialized
successfully>
2008-12-17 16:07:08 [Thread-1 ] <INFO > <AdminDispatcher
initialized successfully>
2008-12-17 16:08:06 [http-800-1 ] <DEBUG> <Request#26174809:/
@127.0.0.1 has no listener.>
2008-12-17 16:08:29 [http-800-1 ] <DEBUG> <Request#26174809:/
ho...@127.0.0.1 is being processed by
hk.hku.cecid.piazza.corvus.admin.listener.AdminPageletAdaptor@ad2c30>
2008-12-17 16:08:29 [http-800-2 ] <DEBUG> <Request#30641031:/
ho...@127.0.0.1 is being processed by
hk.hku.cecid.piazza.corvus.admin.listener.AdminPageletAdaptor@ad2c30>
2008-12-17 16:08:29 [http-800-2 ] <DEBUG> <Request#30641031:/
ho...@127.0.0.1 had been processed successfully for 0 ms>
2008-12-17 16:08:29 [http-800-2 ] <DEBUG> <Request#30641031:/
ho...@127.0.0.1 is being processed by
hk.hku.cecid.piazza.corvus.admin.listener.AdminPageletAdaptor@ad2c30>
2008-12-17 16:08:29 [http-800-2 ] <DEBUG> <Request#30641031:/
ho...@127.0.0.1 had been processed successfully for 0 ms>
2008-12-17 16:08:29 [http-800-2 ] <DEBUG> <Request#30641031:/
ho...@127.0.0.1 is being processed by
hk.hku.cecid.piazza.corvus.admin.listener.AdminPageletAdaptor@ad2c30>
2008-12-17 16:08:29 [http-800-2 ] <DEBUG> <Request#30641031:/
ho...@127.0.0.1 had been processed successfully for 47 ms>
2008-12-17 16:08:29 [http-800-2 ] <DEBUG> <Request#30641031:/
ho...@127.0.0.1 is being processed by
hk.hku.cecid.piazza.corvus.admin.listener.AdminPageletAdaptor@ad2c30>
2008-12-17 16:08:29 [http-800-2 ] <DEBUG> <Request#30641031:/
ho...@127.0.0.1 had been processed successfully for 47 ms>
2008-12-17 16:08:29 [http-800-2 ] <DEBUG> <Request#30641031:/
ho...@127.0.0.1 is being processed by
hk.hku.cecid.piazza.corvus.admin.listener.AdminPageletAdaptor@ad2c30>
2008-12-17 16:08:29 [http-800-2 ] <DEBUG> <Request#30641031:/
ho...@127.0.0.1 had been processed successfully for 32 ms>
2008-12-17 16:08:29 [http-800-2 ] <DEBUG> <Request#30641031:/
ho...@127.0.0.1 is being processed by
hk.hku.cecid.piazza.corvus.admin.listener.AdminPageletAdaptor@ad2c30>
2008-12-17 16:08:29 [http-800-2 ] <DEBUG> <Request#30641031:/
ho...@127.0.0.1 had been processed successfully for 47 ms>
2008-12-17 16:08:30 [http-800-2 ] <DEBUG> <Request#30641031:/
ho...@127.0.0.1 is being processed by
hk.hku.cecid.piazza.corvus.admin.listener.AdminPageletAdaptor@ad2c30>
2008-12-17 16:08:30 [http-800-2 ] <DEBUG> <Request#30641031:/
ho...@127.0.0.1 had been processed successfully for 0 ms>
2008-12-17 16:08:30 [http-800-1 ] <DEBUG> <Request#26174809:/
ho...@127.0.0.1 had been processed successfully for 719 ms>
2008-12-17 16:08:33 [http-800-2 ] <DEBUG> <Request#30641031:/ebms/
message...@127.0.0.1 is being processed by
hk.hku.cecid.ebms.admin.listener.MessageHistoryPageletAdaptor@10d9151>
2008-12-17 16:08:33 [http-800-2 ] <DEBUG> <Request#30641031:/ebms/
message...@127.0.0.1 had been processed successfully for 47 ms>
2008-12-17 16:08:33 [http-800-1 ] <DEBUG> <Request#26174809:/ebms/
message...@127.0.0.1 is being processed by
hk.hku.cecid.ebms.admin.listener.MessageHistoryPageletAdaptor@10d9151>
2008-12-17 16:08:33 [http-800-1 ] <DEBUG> <Request#26174809:/ebms/
message...@127.0.0.1 had been processed successfully for 0 ms>
2008-12-17 16:08:33 [http-800-2 ] <DEBUG> <Request#30641031:/ebms/
message...@127.0.0.1 is being processed by
hk.hku.cecid.ebms.admin.listener.MessageHistoryPageletAdaptor@10d9151>
2008-12-17 16:08:33 [http-800-2 ] <DEBUG> <Request#30641031:/ebms/
message...@127.0.0.1 had been processed successfully for 0 ms>
2008-12-17 16:08:33 [http-800-1 ] <DEBUG> <Request#26174809:/ebms/
message...@127.0.0.1 is being processed by
hk.hku.cecid.ebms.admin.listener.MessageHistoryPageletAdaptor@10d9151>
2008-12-17 16:08:33 [http-800-1 ] <DEBUG> <Request#26174809:/ebms/
message...@127.0.0.1 had been processed successfully for 0 ms>
2008-12-17 16:08:33 [http-800-2 ] <DEBUG> <Request#30641031:/ebms/
message...@127.0.0.1 is being processed by
hk.hku.cecid.ebms.admin.listener.MessageHistoryPageletAdaptor@10d9151>
2008-12-17 16:08:33 [http-800-2 ] <DEBUG> <Request#30641031:/ebms/
message...@127.0.0.1 had been processed successfully for 0 ms>
2008-12-17 16:08:33 [http-800-1 ] <DEBUG> <Request#26174809:/ebms/
message...@127.0.0.1 is being processed by
hk.hku.cecid.ebms.admin.listener.MessageHistoryPageletAdaptor@10d9151>
2008-12-17 16:08:33 [http-800-1 ] <DEBUG> <Request#26174809:/ebms/
message...@127.0.0.1 had been processed successfully for 0 ms>
2008-12-17 16:08:33 [http-800-2 ] <DEBUG> <Request#30641031:/ebms/
message...@127.0.0.1 is being processed by
hk.hku.cecid.ebms.admin.listener.MessageHistoryPageletAdaptor@10d9151>
2008-12-17 16:08:33 [http-800-2 ] <DEBUG> <Request#30641031:/ebms/
message...@127.0.0.1 had been processed successfully for 0 ms>
2008-12-17 16:08:34 [http-800-1 ] <DEBUG> <Request#26174809:/ebms/
message...@127.0.0.1 is being processed by
hk.hku.cecid.ebms.admin.listener.MessageHistoryPageletAdaptor@10d9151>
2008-12-17 16:08:34 [http-800-2 ] <DEBUG> <Request#30641031:/ebms/
message...@127.0.0.1 is being processed by
hk.hku.cecid.ebms.admin.listener.MessageHistoryPageletAdaptor@10d9151>
2008-12-17 16:08:34 [http-800-1 ] <DEBUG> <Request#26174809:/ebms/
message...@127.0.0.1 had been processed successfully for 0 ms>
2008-12-17 16:08:34 [http-800-2 ] <DEBUG> <Request#30641031:/ebms/
message...@127.0.0.1 had been processed successfully for 0 ms>
2008-12-17 16:08:34 [http-800-1 ] <DEBUG> <Request#26174809:/ebms/
message...@127.0.0.1 is being processed by
hk.hku.cecid.ebms.admin.listener.MessageHistoryPageletAdaptor@10d9151>
2008-12-17 16:08:34 [http-800-1 ] <DEBUG> <Request#26174809:/ebms/
message...@127.0.0.1 had been processed successfully for 0 ms>
2008-12-17 16:08:37 [http-800-2 ] <DEBUG> <Request#30641031:/as2/
message...@127.0.0.1 is being processed by
hk.hku.cecid.edi.as2.admin.listener.MessageHistoryPageletAdaptor@79801c>
2008-12-17 16:08:37 [http-800-2 ] <DEBUG> <Request#30641031:/as2/
message...@127.0.0.1 had been processed successfully for 47 ms>
2008-12-17 16:08:37 [http-800-1 ] <DEBUG> <Request#26174809:/as2/
message...@127.0.0.1 is being processed by
hk.hku.cecid.edi.as2.admin.listener.MessageHistoryPageletAdaptor@79801c>
2008-12-17 16:08:37 [http-800-2 ] <DEBUG> <Request#30641031:/as2/
message...@127.0.0.1 is being processed by
hk.hku.cecid.edi.as2.admin.listener.MessageHistoryPageletAdaptor@79801c>
2008-12-17 16:08:37 [http-800-2 ] <DEBUG> <Request#30641031:/as2/
message...@127.0.0.1 had been processed successfully for 0 ms>
2008-12-17 16:08:37 [http-800-1 ] <DEBUG> <Request#26174809:/as2/
message...@127.0.0.1 had been processed successfully for 0 ms>
2008-12-17 16:08:37 [http-800-2 ] <DEBUG> <Request#30641031:/as2/
message...@127.0.0.1 is being processed by
hk.hku.cecid.edi.as2.admin.listener.MessageHistoryPageletAdaptor@79801c>
2008-12-17 16:08:37 [http-800-2 ] <DEBUG> <Request#30641031:/as2/
message...@127.0.0.1 had been processed successfully for 0 ms>
2008-12-17 16:08:37 [http-800-1 ] <DEBUG> <Request#26174809:/as2/
message...@127.0.0.1 is being processed by
hk.hku.cecid.edi.as2.admin.listener.MessageHistoryPageletAdaptor@79801c>
2008-12-17 16:08:37 [http-800-1 ] <DEBUG> <Request#26174809:/as2/
message...@127.0.0.1 had been processed successfully for 0 ms>
2008-12-17 16:08:37 [http-800-2 ] <DEBUG> <Request#30641031:/as2/
message...@127.0.0.1 is being processed by
hk.hku.cecid.edi.as2.admin.listener.MessageHistoryPageletAdaptor@79801c>
2008-12-17 16:08:37 [http-800-2 ] <DEBUG> <Request#30641031:/as2/
message...@127.0.0.1 had been processed successfully for 0 ms>
2008-12-17 16:08:37 [http-800-1 ] <DEBUG> <Request#26174809:/as2/
message...@127.0.0.1 is being processed by
hk.hku.cecid.edi.as2.admin.listener.MessageHistoryPageletAdaptor@79801c>
2008-12-17 16:08:37 [http-800-1 ] <DEBUG> <Request#26174809:/as2/
message...@127.0.0.1 had been processed successfully for 0 ms>
2008-12-17 16:08:37 [http-800-2 ] <DEBUG> <Request#30641031:/as2/
message...@127.0.0.1 is being processed by
hk.hku.cecid.edi.as2.admin.listener.MessageHistoryPageletAdaptor@79801c>
2008-12-17 16:08:37 [http-800-2 ] <DEBUG> <Request#30641031:/as2/
message...@127.0.0.1 had been processed successfully for 0 ms>
2008-12-17 16:08:37 [http-800-1 ] <DEBUG> <Request#26174809:/as2/
message...@127.0.0.1 is being processed by
hk.hku.cecid.edi.as2.admin.listener.MessageHistoryPageletAdaptor@79801c>
2008-12-17 16:08:37 [http-800-1 ] <DEBUG> <Request#26174809:/as2/
message...@127.0.0.1 had been processed successfully for 0 ms>
2008-12-17 16:08:37 [http-800-2 ] <DEBUG> <Request#30641031:/as2/
message...@127.0.0.1 is being processed by
hk.hku.cecid.edi.as2.admin.listener.MessageHistoryPageletAdaptor@79801c>
2008-12-17 16:08:37 [http-800-2 ] <DEBUG> <Request#30641031:/as2/
message...@127.0.0.1 had been processed successfully for 0 ms>
2008-12-17 16:08:46 [http-800-1 ] <DEBUG> <Request#26174809:/
@127.0.0.1 has no listener.>
2008-12-17 16:08:57 [http-800-2 ] <DEBUG> <Request#30641031:/
@127.0.0.1 has no listener.>
2008-12-17 16:09:58 [http-800-2 ] <DEBUG> <Request#26174809:/
@127.0.0.1 has no listener.>
thank's you

will

unread,
Dec 18, 2008, 3:57:37 AM12/18/08
to Hermes 2.0 Discussion List
Hello I would like some help
thanks you

Martin Kalén

unread,
Dec 18, 2008, 5:12:53 PM12/18/08
to Hermes 2.0 Discussion List
Hello will,

On 18 Dez., 09:58, will <nap.dani...@gmail.com> wrote:
> ModuleException: Unable to initialize module group 'Ebms'
> 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

An InvalidKeyException with cause "Illegal key size" is thrown by the
Java Runtime Environment if Hermes 2 is run in a JRE without the
Unlimited Strength Jurisdiction Policy for Java Cryptography
Extensions (JCE).

You need to download and apply this policy for your JRE in order to
run Hermes 2 (since H2O needs strong encryption). The policy is
provided by the JRE vendor (Sun, IBM, BEA etc).

Check section 3.2 "Prerequisite"(s) of the Hermes 2 installation guide
for further requirements:
http://community.cecid.hku.hk/index.php/product/download/download_h2o/
"Hermes 2 Installation Guide"

If you use JRE 5.0 from Sun, you can find the Unlimited Strength
Jurisdiction Policy here:
http://java.sun.com/javase/downloads/index_jdk5.jsp "Java Cryptography
Extension (JCE) Unlimited Strength Jurisdiction Policy Files 5.0"

After downloading the new policy, you need to apply it by replacing
two JAR-files in the JRE with the ones you just downloaded. See the
README.txt file provided by Sun (in the ZIP archive) for further
instructions.

Good luck,
Martin

Daniela Napolitano

unread,
Dec 23, 2008, 4:34:46 AM12/23/08
to cecid-...@googlegroups.com
hello
thanks for your help it was very good, but now I have other problems :I don't understand the step 4.3. Partnership Maintenance of the Installation Guide.Below I write the step 4.3
"Users need to define a "Partnership", which contains the relationship of messaging
 in transport level between a sender and a recipient. It is required to specify the
"Partnership" in sender the recipient.A web service sample program is provided to manage "Partnership" (to add, update
or delete). Partnership configuration for AS2/ebMS loopback test is placed in
<HERMES2_HOME>/sample/config/as2(ebms)-partnership.xml."
and also how can I Creating AS2 Partnership?
I'm sorry for my english.
thanks
2008/12/18 Martin Kalén <martin...@gmail.com>

Ronnie Kwok

unread,
Dec 29, 2008, 8:49:11 PM12/29/08
to Hermes 2.0 Discussion List
Hello Daniela,

"Partnership" is like a profile that describe how do you want to
communicate with another H2O, e.g. the URL of the other H2O.

To establish a partnership, you can use the admin page in doing so.
Assuming you are using the port 8080 for your tomcat, you can reach
the admin page by typing the following URL in your browser.

http://<ip of your machine>:8080/corvus/admin/home

You should then see a prompt asking you the username and password
(which is what you defined in the tomcat-user.xml).

The XML you mentioned is used for the sample program we provided.
Again, if you tomcat port is listening to 8080, you can just leave it
untouched and execute the as2-partnership.bat (or .sh for linux) to
create a partnership. After that, you can try the loopback to test
your installation by running as2-send.bat and as2-history.bat as
instructed in section 4.4

Let me know if you encounter any other issue.

Regards,
ronnie

On Dec 23, 5:34 pm, "Daniela Napolitano" <nap.dani...@gmail.com>
wrote:
> hello
> thanks for your help it was very good, but now I have other problems :I
> don't understand the step 4.3. Partnership Maintenance of the Installation
> Guide.Below I write the step 4.3
> "Users need to define a "Partnership", which contains the relationship of
> messaging
>  in transport level between a sender and a recipient. It is required to
> specify the
> "Partnership" in sender the recipient.A web service sample program is
> provided to manage "Partnership" (to add, update
> or delete). Partnership configuration for AS2/ebMS loopback test is placed
> in
> <HERMES2_HOME>/sample/config/as2(ebms)-partnership.xml."
> and also how can I Creating AS2 Partnership?
> I'm sorry for my english.
> thanks
> 2008/12/18 Martin Kalén <martin.ka...@gmail.com>

Philip Wong

unread,
Dec 29, 2008, 9:32:59 PM12/29/08
to Hermes 2.0 Discussion List
Hi,

Daniela Welcome Hermes!
Thank you Martin as well, missing the JCE lib is a very common problem
when installing H2O indeed!

No matter you're using AS2/ebMS in H2O, you have to specify
"Partnership", which is a messaging configuration / agreement in
between sender and recipient.
The simplest way is to create your partnership in H2O admin console -
http://<your host>/corvus/admin/ebms/partnership or http://<your
host>/corvus/admin/as2/partnership

In section 4.3, we gave you a simple command to create a "loopback"
partnership, so that you can test the basic connectivity of your H2O.

Btw, I feel the online translators work much better with European
languages, just please feel free to post!

Regards,
Philip

On Dec 23, 5:34 pm, "Daniela Napolitano" <nap.dani...@gmail.com>
wrote:
> hello
> thanks for your help it was very good, but now I have other problems :I
> don't understand the step 4.3. Partnership Maintenance of the Installation
> Guide.Below I write the step 4.3
> "Users need to define a "Partnership", which contains the relationship of
> messaging
>  in transport level between a sender and a recipient. It is required to
> specify the
> "Partnership" in sender the recipient.A web service sample program is
> provided to manage "Partnership" (to add, update
> or delete). Partnership configuration for AS2/ebMS loopback test is placed
> in
> <HERMES2_HOME>/sample/config/as2(ebms)-partnership.xml."
> and also how can I Creating AS2 Partnership?
> I'm sorry for my english.
> thanks
> 2008/12/18 Martin Kalén <martin.ka...@gmail.com>

Daniela Napolitano

unread,
Jan 7, 2009, 2:06:53 PM1/7/09
to cecid-...@googlegroups.com

Hello

I have a problem: if I run the file as2-partnership.bat I obtain following errors:

As2 partnership maintainance tool

Initialize logger...

Importing AS2 partnership parameters...

Importing AS2 sending parameters...

Initialize AS2 http data service client...

Log4j:WARN please Initialize the log4j system properly...

Sending AS2 http partnership maintenance request...

Org.apache.commons.httpclient.HttpException:HTTP/1.1 401 Unauthorized

At hk.hku.cecid.corvus.http.httpSender.run(HttpSender.java:343)

At hk.hku.cecid.corvus.http.AS2 partnershipSender.run(AS2 partnershipSender.java:159)

At hk.hku.cecid.corvus.http.AS2 partnershipSender.main(AS2 partnershipSender.java:201)

 

Sending Done:

The result status : Not yet run.

Please view log for details...

 

 

Moreover if I write  http://<my host>/corvus/admin/as2/partnership I obtain following errors

Error occurs when plugin as2 initiates

 

Infact in the file as2.log I have following errors:

2009-01-07 19:29:01 [Thread-6    ] <ERROR> <Error in retrieving incoming messages>

hk.hku.cecid.piazza.commons.dao.DAOException: Error in executing hk.hku.cecid.edi.as2.dao.MessageDataSourceDAO::Process@1098fcf

            by hk.hku.cecid.piazza.commons.dao.DAOException: Error in executing query: select * from message where upper(status)=upper(?) and upper(message_box)=upper(?) LIMIT 100

            by com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table 'as2.message' doesn't exist

            at hk.hku.cecid.piazza.commons.dao.ds.DataSourceProcess.start(DataSourceProcess.java:97)

            at hk.hku.cecid.piazza.commons.dao.ds.DataSourceDAO.executeQuery(DataSourceDAO.java:437)

            at hk.hku.cecid.piazza.commons.dao.ds.DataSourceDAO.executeQuery(DataSourceDAO.java:416)

            at hk.hku.cecid.piazza.commons.dao.ds.DataSourceDAO.find(DataSourceDAO.java:348)

            at hk.hku.cecid.edi.as2.dao.MessageDataSourceDAO.findMessagesByStatus(MessageDataSourceDAO.java:39)

            at hk.hku.cecid.edi.as2.module.IncomingMessageList.getTaskList(IncomingMessageList.java:34)

            at hk.hku.cecid.piazza.commons.module.ActiveTaskModule.execute(ActiveTaskModule.java:137)

            at hk.hku.cecid.piazza.commons.module.ActiveModule.run(ActiveModule.java:213)

            at java.lang.Thread.run(Thread.java:595)

Caused by: hk.hku.cecid.piazza.commons.dao.DAOException: Error in executing query: select * from message where upper(status)=upper(?) and upper(message_box)=upper(?) LIMIT 100

            by com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table 'as2.message' doesn't exist

            at hk.hku.cecid.piazza.commons.dao.ds.DataSourceQuery.doTransaction(DataSourceQuery.java:143)

            at hk.hku.cecid.piazza.commons.dao.ds.DataSourceProcess.start(DataSourceProcess.java:89)

            ... 8 more

Caused by: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table 'as2.message' doesn't exist

            at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)

            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2985)

            at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1631)

            at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723)

            at com.mysql.jdbc.Connection.execSQL(Connection.java:3283)

            at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1332)

            at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1467)

            at hk.hku.cecid.piazza.commons.dao.ds.DataSourceQuery.doTransaction(DataSourceQuery.java:90)

            ... 9 more

2009-01-07 19:29:01 [Thread-8    ] <ERROR> <Error in retrieving outgoing messages>

hk.hku.cecid.piazza.commons.dao.DAOException: Error in executing hk.hku.cecid.edi.as2.dao.MessageDataSourceDAO::Process@5317a7

            by hk.hku.cecid.piazza.commons.dao.DAOException: Error in executing query: select * from message where upper(status)=upper(?) and upper(message_box)=upper(?) LIMIT 100

            by com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table 'as2.message' doesn't exist

            at hk.hku.cecid.piazza.commons.dao.ds.DataSourceProcess.start(DataSourceProcess.java:97)

            at hk.hku.cecid.piazza.commons.dao.ds.DataSourceDAO.executeQuery(DataSourceDAO.java:437)

            at hk.hku.cecid.piazza.commons.dao.ds.DataSourceDAO.executeQuery(DataSourceDAO.java:416)

            at hk.hku.cecid.piazza.commons.dao.ds.DataSourceDAO.find(DataSourceDAO.java:348)

            at hk.hku.cecid.edi.as2.dao.MessageDataSourceDAO.findMessagesByStatus(MessageDataSourceDAO.java:39)

            at hk.hku.cecid.edi.as2.module.OutgoingMessageList.getTaskList(OutgoingMessageList.java:34)

            at hk.hku.cecid.piazza.commons.module.ActiveTaskModule.execute(ActiveTaskModule.java:137)

            at hk.hku.cecid.piazza.commons.module.ActiveModule.run(ActiveModule.java:213)

            at java.lang.Thread.run(Thread.java:595)

Caused by: hk.hku.cecid.piazza.commons.dao.DAOException: Error in executing query: select * from message where upper(status)=upper(?) and upper(message_box)=upper(?) LIMIT 100

            by com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table 'as2.message' doesn't exist

            at hk.hku.cecid.piazza.commons.dao.ds.DataSourceQuery.doTransaction(DataSourceQuery.java:143)

            at hk.hku.cecid.piazza.commons.dao.ds.DataSourceProcess.start(DataSourceProcess.java:89)

            ... 8 more

Caused by: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table 'as2.message' doesn't exist

            at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)

            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2985)

            at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1631)

            at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723)

            at com.mysql.jdbc.Connection.execSQL(Connection.java:3283)

            at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1332)

            at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1467)

            at hk.hku.cecid.piazza.commons.dao.ds.DataSourceQuery.doTransaction(DataSourceQuery.java:90)

            ... 9 more

2009-01-07 19:29:01 [Thread-6    ] <ERROR> <Error in retrieving incoming messages>

hk.hku.cecid.piazza.commons.dao.DAOException: Error in executing hk.hku.cecid.edi.as2.dao.MessageDataSourceDAO::Process@4f6572

            by hk.hku.cecid.piazza.commons.dao.DAOException: Error in executing query: select * from message where upper(status)=upper(?) and upper(message_box)=upper(?) LIMIT 100

            by com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table 'as2.message' doesn't exist

            at hk.hku.cecid.piazza.commons.dao.ds.DataSourceProcess.start(DataSourceProcess.java:97)

            at hk.hku.cecid.piazza.commons.dao.ds.DataSourceDAO.executeQuery(DataSourceDAO.java:437)

            at hk.hku.cecid.piazza.commons.dao.ds.DataSourceDAO.executeQuery(DataSourceDAO.java:416)

            at hk.hku.cecid.piazza.commons.dao.ds.DataSourceDAO.find(DataSourceDAO.java:348)

            at hk.hku.cecid.edi.as2.dao.MessageDataSourceDAO.findMessagesByStatus(MessageDataSourceDAO.java:39)

            at hk.hku.cecid.edi.as2.module.IncomingMessageList.getTaskList(IncomingMessageList.java:34)

            at hk.hku.cecid.piazza.commons.module.ActiveTaskModule.execute(ActiveTaskModule.java:137)

            at hk.hku.cecid.piazza.commons.module.ActiveModule.run(ActiveModule.java:213)

            at java.lang.Thread.run(Thread.java:595)

Caused by: hk.hku.cecid.piazza.commons.dao.DAOException: Error in executing query: select * from message where upper(status)=upper(?) and upper(message_box)=upper(?) LIMIT 100

            by com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table 'as2.message' doesn't exist

            at hk.hku.cecid.piazza.commons.dao.ds.DataSourceQuery.doTransaction(DataSourceQuery.java:143)

            at hk.hku.cecid.piazza.commons.dao.ds.DataSourceProcess.start(DataSourceProcess.java:89)

            ... 8 more

Caused by: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table 'as2.message' doesn't exist

            at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)

            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2985)

            at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1631)

            at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723)

            at com.mysql.jdbc.Connection.execSQL(Connection.java:3283)

            at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1332)

            at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1467)

            at hk.hku.cecid.piazza.commons.dao.ds.DataSourceQuery.doTransaction(DataSourceQuery.java:90)

            ... 9 more

.....

I'm sorry for my english.

thanks



2008/12/30 Ronnie Kwok <pape...@gmail.com>

Daniela Napolitano

unread,
Jan 7, 2009, 2:06:27 PM1/7/09
to cecid-...@googlegroups.com

I'm sorry for my english.

thanks



2008/12/30 Philip Wong <hoc...@gmail.com>

Steve Chan

unread,
Jan 7, 2009, 9:35:41 PM1/7/09
to Hermes 2.0 Discussion List
Hey Daniela Napolitano,

i bet the error you got comes directly from the database.
Did you "tick" the option "recreate table" during the installation
process?
If you don't, try repeat the installation and have the recreate table
option chosen.
i guess it would have your problem solved.

Regards,
Steve

Daniela Napolitano

unread,
Jan 8, 2009, 12:56:58 PM1/8/09
to cecid-...@googlegroups.com

hello

thanks for your help it was very good I haven't got errors in the file as2.log, but now I have other problems

I run the file as2-partnership.bat I obtain following errors:

As2 partnership maintainance tool

Initialize logger...

Importing AS2 partnership parameters...

Importing AS2 sending parameters...

Initialize AS2 http data service client...

Log4j:WARN please Initialize the log4j system properly...

Sending AS2 http partnership maintenance request...

Org.apache.commons.httpclient.HttpException:HTTP/1.1 401 Unauthorized

At hk.hku.cecid.corvus.http.httpSender.run(HttpSender.java:343)

At hk.hku.cecid.corvus.http.AS2 partnershipSender.run(AS2 partnershipSender.java:159)

At hk.hku.cecid.corvus.http.AS2 partnershipSender.main(AS2 partnershipSender.java:201)

 

Sending Done:

The result status : Not yet run.

 

Other errors are in the file corvus.log:

 

2009-01-08 18:06:08 [-Processor23] <ERROR> <SOAP fault exception trace>

hk.hku.cecid.piazza.commons.soap.SOAPRequestException: Error in processing SOAP request

            by java.lang.reflect.InvocationTargetException

            by hk.hku.cecid.piazza.commons.soap.SOAPFaultException: No registered partnership

            at hk.hku.cecid.piazza.commons.soap.WebServicesAdaptor.processRequest(WebServicesAdaptor.java:156)

at hk.hku.cecid.piazza.commons.soap.SOAPHttpAdaptor.processRequest(SOAPHttpAdaptor.java:132)

            at hk.hku.cecid.piazza.commons.servlet.http.HttpDispatcher.processRequest(HttpDispatcher.java:126)

            at hk.hku.cecid.piazza.commons.servlet.http.HttpDispatcher.doPost(HttpDispatcher.java:277)

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)

            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)

            at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)

            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)

            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)

            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)

            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)

            at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)

            at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)

            at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)

            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)

            at java.lang.Thread.run(Thread.java:595)

Caused by: java.lang.reflect.InvocationTargetException

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:585)

            at hk.hku.cecid.piazza.commons.util.Instance.invoke(Instance.java:158)

            at hk.hku.cecid.piazza.commons.soap.WebServicesAdaptor.processRequest(WebServicesAdaptor.java:143)

            ... 20 more

Caused by: hk.hku.cecid.piazza.commons.soap.SOAPFaultException: No registered partnership

            at

hk.hku.cecid.edi.as2.service.AS2MessageSenderService.serviceRequested(AS2MessageSenderService.java:60)

            ... 26 more

2009-01-08 18:06:08 [-Processor23] <DEBUG> <Request#10582455:/as2/sen...@127.0.0.1 had been processed successfully for 265 ms>

2009-01-08 18:06:31 [-Processor24] <DEBUG> <Request#26897620:/ebms/sen...@127.0.0.1 is being processed by hk.hku.cecid.ebms.spa.service.EbmsMessageSenderService@1c82c4>

2009-01-08 18:06:31 [-Processor24] <ERROR> <SOAP fault exception trace>

hk.hku.cecid.piazza.commons.soap.SOAPRequestException: Error in processing SOAP request

            by java.lang.reflect.InvocationTargetException

            by hk.hku.cecid.piazza.commons.soap.SOAPFaultException: No registered sender channel

            at hk.hku.cecid.piazza.commons.soap.WebServicesAdaptor.processRequest(WebServicesAdaptor.java:156)

            at hk.hku.cecid.piazza.commons.soap.SOAPHttpAdaptor.processRequest(SOAPHttpAdaptor.java:132)

            at hk.hku.cecid.piazza.commons.servlet.http.HttpDispatcher.processRequest(HttpDispatcher.java:126)

            at hk.hku.cecid.piazza.commons.servlet.http.HttpDispatcher.doPost(HttpDispatcher.java:277)

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)

            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)

            at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)

            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)

            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)

            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)

            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)

            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)

            at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)

            at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)

            at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)

            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)

            at java.lang.Thread.run(Thread.java:595)

Caused by: java.lang.reflect.InvocationTargetException

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:585)

            at hk.hku.cecid.piazza.commons.util.Instance.invoke(Instance.java:158)

            at hk.hku.cecid.piazza.commons.soap.WebServicesAdaptor.processRequest(WebServicesAdaptor.java:143)

            ... 20 more

Caused by: hk.hku.cecid.piazza.commons.soap.SOAPFaultException: No registered sender channel

            at hk.hku.cecid.ebms.spa.service.EbmsMessageSenderService.serviceRequested(EbmsMessageSenderService.java:86)

... 26 more

thanks for help

Daniela

 


2009/1/8 Steve Chan <steve....@gmail.com>

Steve Chan

unread,
Jan 12, 2009, 9:45:48 PM1/12/09
to Hermes 2.0 Discussion List
Daniela Napolitano,

i think the cause of your new error might be due to the setting of
your "tomcat-user.xml"
located inside the /conf of tomcat server. below is a sample of tomcat-
user.xml

<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role rolename="tomcat"/>
<role rolename="role1"/>
<role rolename="admin"/>
<user username="tomcat" password="tomcat" roles="tomcat"/>
<user username="role1" password="tomcat" roles="role1"/>
<user username="both" password="tomcat" roles="tomcat,role1"/>
<user username="corvus" password="corvus" roles="tomcat,role1,admin"/
>
</tomcat-users>


*note the username and password for the admin role.

hope this helps

Regards,
Steve

Daniela Napolitano

unread,
Jan 18, 2009, 11:15:08 AM1/18/09
to cecid-...@googlegroups.com


Hello,
thanks very much for your help! I have already installed Hermes 2, but I have a new question: What is the function of "Information model group"? Sorry for my questions, but I don't know Hermes 2 very well.
Thanks!
Daniela

Philip Wong

unread,
Jan 21, 2009, 9:18:19 PM1/21/09
to Hermes 2.0 Discussion List
Hi Daniela,

What's the "Information model group" you're referring?

Philip
Reply all
Reply to author
Forward
0 new messages