Deploying Hermes2 on Glassfish

336 views
Skip to first unread message

Dag Høidahl

unread,
Dec 13, 2007, 7:43:48 AM12/13/07
to Hermes 2.0 Discussion List
Hello,

I am in the process of trying to deploy Hermes2 on a Glassfish server.
The reason for doing this is that we have another application running
on Glassfish already. We would like to extend Hermes2 to send messages
to this application using a message queue instead of the application
having to poll Hermes to see if new messages have arrived. Also, it
shouldn't be necessary to have two different application servers.

I've tried to find documentation that shows how to install from
source, but couldn't find anything.

I've built the Corvus application and plugins from source, so I've got
corvus.ear and .war files. When deploying the .war file as a web
application, I get the Corvus application running, but none of the
plugins are activated. That includes the Admin page.

Where do I specify where the plugins are located, and what do I
actually need to put there? Any help would be appreciated.

Regards,
Dag

hoc...@gmail.com

unread,
Dec 13, 2007, 10:39:46 AM12/13/07
to Hermes 2.0 Discussion List
Hi Dag,

I think you can first check corvus.properties.xml in WEBAPPS/corvus/
WEB-INF/classes/hk/hku/cecid/piazza/corvus/core/conf/
<home> is the root folder of H2O, and <plugin><registry> is the path
of plugins.

But I would recommend you to run the installer to install all these to
the location you like.
Compilation of separate plugins may require deeper understanding of
H2O architecture. And you need to check all configuration files in
each plugin manually.

Regards,
Philip

Ho Fat Tsang

unread,
Dec 13, 2007, 10:48:53 AM12/13/07
to cecid-...@googlegroups.com
Dear Dag,

    Glad to see you trying to deploy H2O on Glassfish.

The build command (in correct order) of Hermes 2 from scratch are shown below: (assume Ant is already in your path)
  1. Commons/ant/ ant distribute
  2. Corvus/ant/ant distribute
  3. Corvus.Main/ant/ant distribute
  4. Corvus.Admin/ant/ ant distribute
  5. Corvus.AS2/ant/ant distribute
  6. Corvus.AS2.Admin/ant/ant distribute
  7. Corvus.EbMS/ant/ ant distribute
  8. Corvus.EbMS.Admin/ant/ant distribute
  9. Corvus.Main.Admin/ant/ant distribute
And you should able to get the artifact from each folder (like corvus.ear at dist folder). They are listed below:
  1. Corvus/dist/corvus.war
  2. Corvus.Main/hk.hku.cecid.piazza.corvus.core.main.spa
  3. Corvus.Admin/hk.hku.cecid.piazza.corvus.admin.spa
  4. Corvus.AS2/dist/hk.hku.cecid.edi.as2.spa
  5. Corvus.AS2.Admin/dist/hk.hku.cecid.edi.as2.admin.spa
  6. Corvus.EbMS/dist/hk.hku.cecid.ebms.spa
  7. Corvus.EbMS.Admin/dist/hk.hku.cecid.ebms.admin.spa
  8. Corvus.Main.Admin/dist/hk.hku.cecid.piazza.corvus.core.main.admin.spa
For simplicity, place the artifact 2-8 to /corvus/plugins (which is the default location of corvus plugins path). And restart your GlassFish server.

Like philip mentioned in above post, changing this path requires changing the configuration in each plugin manually.

Hope this help.

Regards,
Twinsen



2007/12/13, Dag Høidahl <dag.h...@gmail.com>:

Dag Høidahl

unread,
Dec 21, 2007, 5:40:41 AM12/21/07
to Hermes 2.0 Discussion List
Twinsen,

Thanks for your help; I managed to start the application now.

There is still some kind of configuration problem, though. When I open
the admin page and select one of the plug-in pages, the main "frame"
displays a NullPointerException like this:

hk.hku.cecid.piazza.commons.servlet.RequestListenerException: Error in
processing XSL pagelet
at
hk.hku.cecid.piazza.commons.pagelet.xslt.HttpXsltPageletAdaptor.processPagelet(HttpXsltPageletAdaptor.java:
64)
at
hk.hku.cecid.piazza.commons.pagelet.HttpPageletAdaptor.processTemplate(HttpPageletAdaptor.java:
142)
at
hk.hku.cecid.piazza.commons.pagelet.HttpPageletAdaptor.processRequest(HttpPageletAdaptor.java:
92)
[...]

Caused by java.lang.NullPointerException: null
at
hk.hku.cecid.ebms.admin.listener.MessageHistoryPageletAdaptor.getMessageHistory(MessageHistoryPageletAdaptor.java:
154)
at
hk.hku.cecid.ebms.admin.listener.MessageHistoryPageletAdaptor.getCenterSource(MessageHistoryPageletAdaptor.java:
44)
at
hk.hku.cecid.piazza.commons.pagelet.xslt.BorderLayoutPageletAdaptor.getPageletSource(BorderLayoutPageletAdaptor.java:
69)
[...]

The missing object here is EbmsProcessor.core.dao. The same goes for
EbmsProcessor.core.log, so my guess is that SystemModule is unable to
find its components. Could you provide me with directions on this one?

Regards,
Dag


On Dec 13, 4:48 pm, "Ho Fat Tsang" <nam...@gmail.com> wrote:
> Dear Dag,
>
>     Glad to see you trying to deploy H2O on Glassfish.
>
> The build command (in correct order) of Hermes 2 from scratch are shown
> below: (assume Ant is already in your path)
>
>    1. Commons/ant/ant distribute
>    2. Corvus/ant/ant distribute
>    3. Corvus.Main/ant/ant distribute
>    4. Corvus.Admin/ant/ant distribute
>    5. Corvus.AS2/ant/ant distribute
>    6. Corvus.AS2.Admin/ant/ant distribute
>    7. Corvus.EbMS/ant/ant distribute
>    8. Corvus.EbMS.Admin/ant/ant distribute
>    9. Corvus.Main.Admin/ant/ant distribute
>
> And you should able to get the artifact from each folder (like corvus.ear at
> dist folder). They are listed below:
>
>    1. Corvus/dist/corvus.war
>    2. Corvus.Main/hk.hku.cecid.piazza.corvus.core.main.spa
>    3. Corvus.Admin/hk.hku.cecid.piazza.corvus.admin.spa
>    4. Corvus.AS2/dist/hk.hku.cecid.edi.as2.spa
>    5. Corvus.AS2.Admin/dist/hk.hku.cecid.edi.as2.admin.spa
>    6. Corvus.EbMS/dist/hk.hku.cecid.ebms.spa
>    7. Corvus.EbMS.Admin/dist/hk.hku.cecid.ebms.admin.spa
>    8. Corvus.Main.Admin
>    /dist/hk.hku.cecid.piazza.corvus.core.main.admin.spa

BorgmM

unread,
Dec 28, 2007, 11:45:57 AM12/28/07
to Hermes 2.0 Discussion List
Hi Dag,

The best way to get started is indeed the installer as Philip already
suggested.
You should install te webapp in the same place as hermes.
After the installer finishes go to the hermes install directory, you
should find a corvus director there.
To fix an error in corvus/WEB-INF/web.xml we must edit the file and
change the security-role configuration fron this:

<security-role>
<role-name>admin</role-name>
<role-name>corvus</role-name>
<role-name>user</role-name>
</security-role>

to this:

<security-role>
<role-name>admin</role-name>
</security-role>

<security-role>
<role-name>corvus</role-name>
</security-role>

<security-role>
<role-name>user</role-name>
</security-role>

Create a sun-web.xml to link these roles to a security domain. Read
the glassfish documentaion on how to do this.
Create a corvus.war file from the contents of the corvus directory and
deploy the file to your domain.
Use this as a starting point.

Regards,

Martin Borgman.

BorgmM

unread,
Dec 28, 2007, 2:03:27 PM12/28/07
to Hermes 2.0 Discussion List
Hi Dag,

You probably already know this but I didn't.
Security works a little different.
To link corvus to a security realm you must edit web.xml as below:

<login-config>
<auth-method>BASIC</auth-method>
<realm-name>file</realm-name>
</login-config>

I have chosen to use the already existing file realm here, but you can
use any realm here.
Create a user in the realm and give the user a group. (I created a
user martin with the a group named Corvus)
To map this group to an application role, you must create the file sun-
web.xml with the following contents:

<?xml version="1.0"?>
<!DOCTYPE sun-web-app PUBLIC "-//Sun Microsystems, Inc.//DTD
Application Server 8.1 Servlet 2.4//EN" "http://www.sun.com/software/
appserver/dtds/sun-web-app_2_4-1.dtd">
<sun-web-app>
<context-root>/corvus</context-root>
<security-role-mapping>
<role-name>admin</role-name>
<group-name>Admin</group-name>
</security-role-mapping>
<security-role-mapping>
<role-name>corvus</role-name>
<group-name>Corvus</group-name>
</security-role-mapping>
<security-role-mapping>
<role-name>user</role-name>
<group-name>User</group-name>
</security-role-mapping>
</sun-web-app>

In this example the group names are the capitalized versions of the
role names. You don't have to do this, you can chose your own names,

Now wrap things up in a corvus.war file and deploy.

Regards,

Martin Borgman.

BorgmM

unread,
Dec 30, 2007, 4:35:04 PM12/30/07
to Hermes 2.0 Discussion List
By the way, you don't have to create a war file from the corvus
directory, yoy can deploy it with:

asadmin deploydir <your hermes2 install dir>/corvus

Regards,

Martin Borgman.

Raymond

unread,
Jan 31, 2008, 5:37:31 AM1/31/08
to Hermes 2.0 Discussion List
Hi, im following up on where Dag left...

The deployment of corvus as you described above seemed to work fine:
no error messages and corvus is listed in the admin-console.

However when i try to start corvus (http://localhost:8080/corvus/home)
i get this:
> Corvus has started up with errors.

> System name: Piazza Corvus

> System version: 1.0

From the jvm.log (I can see some errors in the log before i actually
try to access the corvus application, look for NOTE!!! embedded in the
log...):
Any ideas?


<?xml version='1.0' encoding='UTF-8'?>
<hotspot_log version='160 1' process='5824' time_ms='1201774728755'>
<vm_version>
<name>
Java HotSpot(TM) Client VM
</name>
<release>
10.0-b19
</release>
<info>
Java HotSpot(TM) Client VM (10.0-b19) for windows-x86 JRE (1.6.0_04-
b12), built on Dec 14 2007 00:51:20 by &quot;java_re&quot; with MS VC+
+ 7.1
</info>
</vm_version>
<vm_arguments>
<args>
-Dcom.sun.aas.instanceRoot=C:/programs/glassfish-v2/domains/domain1 -
Dcom.sun.aas.ClassPathPrefix= -Dcom.sun.aas.ClassPathSuffix= -
Dcom.sun.aas.ServerClassPath= -
Dcom.sun.aas.classloader.appserverChainJars.ee= -
Dcom.sun.aas.classloader.appserverChainJars=admin-cli.jar,admin-cli-
ee.jar,j2ee-svc.jar -Dcom.sun.aas.classloader.excludesList=admin-
cli.jar,appserv-upgrade.jar,sun-appserv-ant.jar -
Dcom.sun.aas.classloader.optionalOverrideableChain.ee= -
Dcom.sun.aas.classloader.optionalOverrideableChain=webservices-
rt.jar,webservices-tools.jar -
Dcom.sun.aas.classloader.serverClassPath.ee=/lib/hadbjdbc4.jar,C:/
programs/glassfish-v2/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,/lib/
dbstate.jar,/lib/hadbm.jar,/lib/hadbmgt.jar,C:/programs/glassfish-v2/
lib/SUNWmfwk/lib/mfwk_instrum_tk.jar -
Dcom.sun.aas.classloader.serverClassPath=C:/programs/glassfish-v2/lib/
install/applications/jmsra/imqjmsra.jar,C:/programs/glassfish-v2/imq/
lib/jaxm-api.jar,C:/programs/glassfish-v2/imq/lib/fscontext.jar,C:/
programs/glassfish-v2/imq/lib/imqbroker.jar,C:/programs/glassfish-v2/
imq/lib/imqjmx.jar,C:/programs/glassfish-v2/lib/ant/lib/ant.jar,C:/
programs/glassfish-v2/lib/SUNWjdmk/5.1/lib/jdmkrt.jar -
Dcom.sun.aas.classloader.sharedChainJars.ee=appserv-se.jar,appserv-
ee.jar,jesmf-plugin.jar,/lib/dbstate.jar,/lib/hadbjdbc4.jar,jgroups-
all.jar,C:/programs/glassfish-v2/lib/SUNWmfwk/lib/mfwk_instrum_tk.jar -
Dcom.sun.aas.classloader.sharedChainJars=javaee.jar,C:/programs/Java/
jdk1.6.0_04/lib/tools.jar,install/applications/jmsra/imqjmsra.jar,com-
sun-commons-launcher.jar,com-sun-commons-logging.jar,C:/programs/
glassfish-v2/imq/lib/jaxm-api.jar,C:/programs/glassfish-v2/imq/lib/
fscontext.jar,C:/programs/glassfish-v2/imq/lib/imqbroker.jar,C:/
programs/glassfish-v2/imq/lib/imqjmx.jar,C:/programs/glassfish-v2/imq/
lib/imqxm.jar,webservices-rt.jar,webservices-
tools.jar,mail.jar,appserv-jstl.jar,jmxremote_optional.jar,C:/programs/
glassfish-v2/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,activation.jar,appserv-
rt.jar,appserv-admin.jar,appserv-cmp.jar,C:/programs/glassfish-v2/
updatecenter/lib/updatecenter.jar,C:/programs/glassfish-v2/jbi/lib/
jbi.jar,C:/programs/glassfish-v2/imq/lib/imqjmx.jar,C:/programs/
glassfish-v2/lib/ant/lib/ant.jar,dbschema.jar -
Dcom.sun.aas.configName=server-config -Dcom.sun.aas.configRoot=C:/
programs/glassfish-v2/config -Dcom.sun.aas.defaultLogFile=C:/programs/
glassfish-v2/domains/domain1/logs/server.log -
Dcom.sun.aas.domainName=domain1 -Dcom.sun.aas.installRoot=C:/programs/
glassfish-v2 -Dcom.sun.aas.instanceName=server -
Dcom.sun.aas.processLauncher=SE -Dcom.sun.aas.promptForIdentity=true -
Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
-
Dcom.sun.enterprise.overrideablejavaxpackages=javax.help,javax.portlet
-Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar -
Dcom.sun.enterprise.taglisteners=jsf-impl.jar -
Dcom.sun.updatecenter.home=C:/programs/glassfish-v2/updatecenter -
Ddomain.name=domain1 -Djava.endorsed.dirs=C:/programs/glassfish-v2/lib/
endorsed -Djava.ext.dirs=C:/programs/Java/jdk1.6.0_04/lib/ext;C:/
programs/Java/jdk1.6.0_04/jre/lib/ext;C:/programs/glassfish-v2/domains/
domain1/lib/ext;C:/programs/glassfish-v2/javadb/lib -
Djava.library.path=C:\programs\glassfish-v2\lib;C:\programs\glassfish-
v2\lib;C:\programs\glassfish-v2\bin;C:\programs\glassfish-v2\lib -
Djava.security.auth.login.config=C:/programs/glassfish-v2/domains/
domain1/config/login.conf -Djava.security.policy=C:/programs/glassfish-
v2/domains/domain1/config/server.policy -
Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
-
Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
-Djavax.net.ssl.keyStore=C:/programs/glassfish-v2/domains/domain1/
config/keystore.jks -Djavax.net.ssl.trustStore=C:/programs/glassfish-
v2/domains/domain1/config/cacerts.jks -
Djdbc.drivers=org.apache.derby.jdbc.ClientDriver -
Djmx.invoke.getters=true -Dsun.rmi.dgc.client.gcInterval=3600000 -
Dsun.rmi.dgc.server.gcInterval=3600000 -XX:+UnlockDiagnosticVMOptions -
XX:MaxPermSize=192m -Xmx512m -XX:NewRatio=2 -XX:+LogVMOutput -
XX:LogFile=C:/programs/glassfish-v2/domains/domain1/logs/jvm.log
</args>
<command>
com.sun.enterprise.server.PELaunch start
</command>
<launcher>
SUN_STANDARD
</launcher>
<properties>
java.vm.specification.version=1.0
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.vendor=Sun Microsystems Inc.
java.vm.version=10.0-b19
java.vm.name=Java HotSpot(TM) Client VM
java.vm.vendor=Sun Microsystems Inc.
java.vm.info=mixed mode, sharing
java.ext.dirs=C:/programs/Java/jdk1.6.0_04/lib/ext;C:/programs/Java/
jdk1.6.0_04/jre/lib/ext;C:/programs/glassfish-v2/domains/domain1/lib/
ext;C:/programs/glassfish-v2/javadb/lib
java.endorsed.dirs=C:/programs/glassfish-v2/lib/endorsed
sun.boot.library.path=C:\programs\Java\jdk1.6.0_04\jre\bin
java.library.path=C:\programs\glassfish-v2\lib;C:\programs\glassfish-
v2\lib;C:\programs\glassfish-v2\bin;C:\programs\glassfish-v2\lib
java.home=C:\programs\Java\jdk1.6.0_04\jre
java.class.path=C:/programs/glassfish-v2/lib/jhall.jar;C:\programs
\glassfish-v2\lib\appserv-launch.jar
sun.boot.class.path=C:/programs/glassfish-v2/lib/endorsed
\activation.jar;C:/programs/glassfish-v2/lib/endorsed\webservices-
api.jar;C:\programs\Java\jdk1.6.0_04\jre\lib\resources.jar;C:\programs
\Java\jdk1.6.0_04\jre\lib\rt.jar;C:\programs\Java\jdk1.6.0_04\jre\lib
\sunrsasign.jar;C:\programs\Java\jdk1.6.0_04\jre\lib\jsse.jar;C:
\programs\Java\jdk1.6.0_04\jre\lib\jce.jar;C:\programs\Java
\jdk1.6.0_04\jre\lib\charsets.jar;C:\programs\Java\jdk1.6.0_04\jre
\classes
com.sun.aas.instanceRoot=C:/programs/glassfish-v2/domains/domain1
com.sun.aas.ClassPathPrefix=
com.sun.aas.ClassPathSuffix=
com.sun.aas.ServerClassPath=
com.sun.aas.classloader.appserverChainJars.ee=
com.sun.aas.classloader.appserverChainJars=admin-cli.jar,admin-cli-
ee.jar,j2ee-svc.jar
com.sun.aas.classloader.excludesList=admin-cli.jar,appserv-
upgrade.jar,sun-appserv-ant.jar
com.sun.aas.classloader.optionalOverrideableChain.ee=
com.sun.aas.classloader.optionalOverrideableChain=webservices-
rt.jar,webservices-tools.jar
com.sun.aas.classloader.serverClassPath.ee=/lib/hadbjdbc4.jar,C:/
programs/glassfish-v2/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,/lib/
dbstate.jar,/lib/hadbm.jar,/lib/hadbmgt.jar,C:/programs/glassfish-v2/
lib/SUNWmfwk/lib/mfwk_instrum_tk.jar
com.sun.aas.classloader.serverClassPath=C:/programs/glassfish-v2/lib/
install/applications/jmsra/imqjmsra.jar,C:/programs/glassfish-v2/imq/
lib/jaxm-api.jar,C:/programs/glassfish-v2/imq/lib/fscontext.jar,C:/
programs/glassfish-v2/imq/lib/imqbroker.jar,C:/programs/glassfish-v2/
imq/lib/imqjmx.jar,C:/programs/glassfish-v2/lib/ant/lib/ant.jar,C:/
programs/glassfish-v2/lib/SUNWjdmk/5.1/lib/jdmkrt.jar
com.sun.aas.classloader.sharedChainJars.ee=appserv-se.jar,appserv-
ee.jar,jesmf-plugin.jar,/lib/dbstate.jar,/lib/hadbjdbc4.jar,jgroups-
all.jar,C:/programs/glassfish-v2/lib/SUNWmfwk/lib/mfwk_instrum_tk.jar
com.sun.aas.classloader.sharedChainJars=javaee.jar,C:/programs/Java/
jdk1.6.0_04/lib/tools.jar,install/applications/jmsra/imqjmsra.jar,com-
sun-commons-launcher.jar,com-sun-commons-logging.jar,C:/programs/
glassfish-v2/imq/lib/jaxm-api.jar,C:/programs/glassfish-v2/imq/lib/
fscontext.jar,C:/programs/glassfish-v2/imq/lib/imqbroker.jar,C:/
programs/glassfish-v2/imq/lib/imqjmx.jar,C:/programs/glassfish-v2/imq/
lib/imqxm.jar,webservices-rt.jar,webservices-
tools.jar,mail.jar,appserv-jstl.jar,jmxremote_optional.jar,C:/programs/
glassfish-v2/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,activation.jar,appserv-
rt.jar,appserv-admin.jar,appserv-cmp.jar,C:/programs/glassfish-v2/
updatecenter/lib/updatecenter.jar,C:/programs/glassfish-v2/jbi/lib/
jbi.jar,C:/programs/glassfish-v2/imq/lib/imqjmx.jar,C:/programs/
glassfish-v2/lib/ant/lib/ant.jar,dbschema.jar
com.sun.aas.configName=server-config
com.sun.aas.configRoot=C:/programs/glassfish-v2/config
com.sun.aas.defaultLogFile=C:/programs/glassfish-v2/domains/domain1/
logs/server.log
com.sun.aas.domainName=domain1
com.sun.aas.installRoot=C:/programs/glassfish-v2
com.sun.aas.instanceName=server
com.sun.aas.processLauncher=SE
com.sun.aas.promptForIdentity=true
com.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
com.sun.enterprise.overrideablejavaxpackages=javax.help,javax.portlet
com.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
com.sun.enterprise.taglisteners=jsf-impl.jar
com.sun.updatecenter.home=C:/programs/glassfish-v2/updatecenter
domain.name=domain1
java.security.auth.login.config=C:/programs/glassfish-v2/domains/
domain1/config/login.conf
java.security.policy=C:/programs/glassfish-v2/domains/domain1/config/
server.policy
java.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
javax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
javax.net.ssl.keyStore=C:/programs/glassfish-v2/domains/domain1/config/
keystore.jks
javax.net.ssl.trustStore=C:/programs/glassfish-v2/domains/domain1/
config/cacerts.jks
jdbc.drivers=org.apache.derby.jdbc.ClientDriver
jmx.invoke.getters=true
sun.rmi.dgc.client.gcInterval=3600000
sun.rmi.dgc.server.gcInterval=3600000
sun.java.launcher=SUN_STANDARD
</properties>
</vm_arguments>
<tty>
<writer thread='5120'/>
<dependency_failed type='unique_concrete_method' x='java/util/jar/
JarFile getEntry (Ljava/lang/String;)Ljava/util/zip/ZipEntry;'
witness='sun/net/www/protocol/jar/URLJarFile' stamp='0.223'/>
<dependency_failed type='leaf_type' ctxk='java/util/jar/JarFile'
witness='sun/net/www/protocol/jar/URLJarFile' stamp='0.223'/>
<dependency_failed type='unique_concrete_method' ctxk='java/lang/
Exception' x='java/lang/Throwable getMessage ()Ljava/lang/String;'
witness='org/netbeans/modules/schema2beans/
Schema2BeansRuntimeException' stamp='0.437'/>
<writer thread='1636'/>
<dependency_failed type='leaf_type' ctxk='java/util/ArrayList'
witness='javax/management/AttributeList' stamp='0.457'/>
<writer thread='5120'/>
<dependency_failed type='unique_concrete_method' ctxk='java/io/
DataOutput' x='java/io/DataOutputStream write ([BII)V' witness='java/
io/DataOutput' stamp='0.910'/>
<dependency_failed type='unique_concrete_method' x='com/sun/enterprise/
util/RelativePathResolver getPropertyValue (Ljava/lang/String;Z)Ljava/
lang/String;' witness='com/sun/enterprise/config/serverbeans/
PropertyResolver' stamp='1.068'/>
<writer thread='480'/>
<dependency_failed type='leaf_type' ctxk='javax/management/modelmbean/
DescriptorSupport' witness='com/sun/jbi/management/config/
DescriptorSupport' stamp='2.558'/>
<dependency_failed type='leaf_type' ctxk='javax/management/modelmbean/
DescriptorSupport' witness='com/sun/jbi/management/config/
DescriptorSupport' stamp='2.558'/>
<writer thread='5120'/>
<dependency_failed type='unique_concrete_method' ctxk='org/w3c/dom/
Node' x='com/sun/org/apache/xerces/internal/dom/NodeImpl appendChild
(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;' witness='org/w3c/dom/Node'
stamp='3.104'/>
<dependency_failed type='unique_concrete_method' ctxk='org/w3c/dom/
Document' x='com/sun/org/apache/xerces/internal/dom/CoreDocumentImpl
createCDATASection (Ljava/lang/String;)Lorg/w3c/dom/CDATASection;'
witness='org/w3c/dom/Document' stamp='3.104'/>
<dependency_failed type='unique_concrete_method' ctxk='org/w3c/dom/
Node' x='com/sun/org/apache/xerces/internal/dom/NodeImpl appendChild
(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;' witness='org/w3c/dom/Node'
stamp='3.104'/>
<writer thread='1104'/>
<dependency_failed type='unique_concrete_method' x='java/util/Vector
add (Ljava/lang/Object;)Z' witness='com/sun/enterprise/deployment/
OrderedSet' stamp='3.276'/>
<dependency_failed type='unique_concrete_method' ctxk='org/w3c/dom/
Element' x='com/sun/org/apache/xerces/internal/dom/ElementImpl
getAttributeNode (Ljava/lang/String;)Lorg/w3c/dom/Attr;' witness='org/
w3c/dom/Element' stamp='3.388'/>
<dependency_failed type='unique_concrete_method' ctxk='org/w3c/dom/
NamedNodeMap' x='com/sun/org/apache/xerces/internal/dom/
NamedNodeMapImpl getLength ()I' witness='org/w3c/dom/NamedNodeMap'
stamp='3.404'/>
<dependency_failed type='unique_concrete_method' ctxk='org/w3c/dom/
NamedNodeMap' x='com/sun/org/apache/xerces/internal/dom/
NamedNodeMapImpl getNamedItem (Ljava/lang/String;)Lorg/w3c/dom/Node;'
witness='org/w3c/dom/NamedNodeMap' stamp='3.404'/>
<dependency_failed type='unique_concrete_method' ctxk='org/w3c/dom/
NamedNodeMap' x='com/sun/org/apache/xerces/internal/dom/
NamedNodeMapImpl getLength ()I' witness='org/w3c/dom/NamedNodeMap'
stamp='3.404'/>
<dependency_failed type='unique_concrete_method' ctxk='org/w3c/dom/
NamedNodeMap' x='com/sun/org/apache/xerces/internal/dom/
NamedNodeMapImpl getNamedItem (Ljava/lang/String;)Lorg/w3c/dom/Node;'
witness='org/w3c/dom/NamedNodeMap' stamp='3.404'/>
<dependency_failed type='leaf_type' ctxk='com/sun/org/apache/xerces/
internal/xni/QName' witness='com/sun/org/apache/xerces/internal/impl/
dv/xs/QNameDV$XQName' stamp='3.432'/>
<dependency_failed type='leaf_type' ctxk='com/sun/org/apache/xerces/
internal/xni/QName' witness='com/sun/org/apache/xerces/internal/impl/
dv/xs/QNameDV$XQName' stamp='3.432'/>
<dependency_failed type='leaf_type' ctxk='com/sun/org/apache/xerces/
internal/xni/QName' witness='com/sun/org/apache/xerces/internal/impl/
dv/xs/QNameDV$XQName' stamp='3.432'/>
<dependency_failed type='leaf_type' ctxk='com/sun/org/apache/xerces/
internal/xni/QName' witness='com/sun/org/apache/xerces/internal/impl/
dv/xs/QNameDV$XQName' stamp='3.432'/>
<dependency_failed type='leaf_type' ctxk='com/sun/org/apache/xerces/
internal/xni/QName' witness='com/sun/org/apache/xerces/internal/impl/
dv/xs/QNameDV$XQName' stamp='3.432'/>
<dependency_failed type='leaf_type' ctxk='com/sun/org/apache/xerces/
internal/xni/QName' witness='com/sun/org/apache/xerces/internal/impl/
dv/xs/QNameDV$XQName' stamp='3.432'/>
<dependency_failed type='leaf_type' ctxk='com/sun/org/apache/xerces/
internal/xni/QName' witness='com/sun/org/apache/xerces/internal/impl/
dv/xs/QNameDV$XQName' stamp='3.432'/>
<dependency_failed type='leaf_type' ctxk='com/sun/org/apache/xerces/
internal/xni/QName' witness='com/sun/org/apache/xerces/internal/impl/
dv/xs/QNameDV$XQName' stamp='3.432'/>
<dependency_failed type='leaf_type' ctxk='com/sun/org/apache/xerces/
internal/xni/QName' witness='com/sun/org/apache/xerces/internal/impl/
dv/xs/QNameDV$XQName' stamp='3.432'/>
<writer thread='5716'/>
<dependency_failed type='unique_concrete_method' x='java/net/
URLStreamHandler toExternalForm (Ljava/net/URL;)Ljava/lang/String;'
witness='org/apache/naming/resources/DirContextURLStreamHandler'
stamp='4.360'/>
<dependency_failed type='unique_concrete_method' x='java/net/
URLStreamHandler toExternalForm (Ljava/net/URL;)Ljava/lang/String;'
witness='org/apache/naming/resources/DirContextURLStreamHandler'
stamp='4.360'/>
<writer thread='4508'/>
<dependency_failed type='unique_concrete_method' x='java/lang/
Throwable fillInStackTrace ()Ljava/lang/Throwable;' witness='org/jaxen/
FunctionCallException' stamp='4.946'/>
<dependency_failed type='unique_concrete_method' x='java/lang/
Throwable fillInStackTrace ()Ljava/lang/Throwable;' witness='org/jaxen/
FunctionCallException' stamp='4.946'/>
<dependency_failed type='unique_concrete_method' x='java/lang/
Throwable fillInStackTrace ()Ljava/lang/Throwable;' witness='org/jaxen/
FunctionCallException' stamp='4.946'/>
<dependency_failed type='unique_concrete_method' x='java/lang/
Throwable fillInStackTrace ()Ljava/lang/Throwable;' witness='org/jaxen/
FunctionCallException' stamp='4.946'/>
<dependency_failed type='unique_concrete_method' x='java/lang/
Throwable fillInStackTrace ()Ljava/lang/Throwable;' witness='org/jaxen/
FunctionCallException' stamp='4.946'/>
<dependency_failed type='unique_concrete_method' x='java/nio/charset/
CharsetDecoder implReset ()V' witness='sun/nio/cs/UnicodeDecoder'
stamp='5.161'/>
<dependency_failed type='unique_concrete_method' x='java/nio/charset/
CharsetDecoder implReset ()V' witness='sun/nio/cs/UnicodeDecoder'
stamp='5.161'/>

<<<NOTE!!!!! From here the oouput is from trying to startup the plugin
from the browser:>>>

<dependency_failed type='unique_concrete_method' x='java/net/
URLStreamHandler getDefaultPort ()I' witness='sun/net/www/protocol/
http/Handler' stamp='5.453'/>
<writer thread='4536'/>
<dependency_failed type='unique_concrete_method' x='java/io/
BufferedReader read ()I' witness='org/apache/coyote/tomcat5/
CoyoteReader' stamp='64.321'/>
<dependency_failed type='unique_concrete_method' x='java/io/
BufferedReader read ()I' witness='org/apache/coyote/tomcat5/
CoyoteReader' stamp='64.321'/>
<dependency_failed type='unique_concrete_method' x='java/io/Reader
read ([C)I' witness='org/apache/coyote/tomcat5/CoyoteReader'
stamp='64.321'/>
<dependency_failed type='unique_concrete_method' x='java/util/HashMap
remove (Ljava/lang/Object;)Ljava/lang/Object;' witness='org/apache/
catalina/util/ParameterMap' stamp='64.341'/>
<dependency_failed type='unique_concrete_method' x='java/util/HashMap
put (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;'
witness='org/apache/catalina/util/ParameterMap' stamp='64.341'/>
<dependency_failed type='unique_concrete_method' x='java/util/HashMap
put (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;'
witness='org/apache/catalina/util/ParameterMap' stamp='64.341'/>
<dependency_failed type='unique_concrete_method' x='java/util/HashMap
put (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;'
witness='org/apache/catalina/util/ParameterMap' stamp='64.341'/>
<dependency_failed type='unique_concrete_method' x='java/util/HashMap
put (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;'
witness='org/apache/catalina/util/ParameterMap' stamp='64.341'/>
<dependency_failed type='unique_concrete_method' x='java/util/HashMap
put (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;'
witness='org/apache/catalina/util/ParameterMap' stamp='64.341'/>
<dependency_failed type='unique_concrete_method' x='java/util/HashMap
put (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;'
witness='org/apache/catalina/util/ParameterMap' stamp='64.341'/>
<dependency_failed type='unique_concrete_method' x='java/util/HashMap
put (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;'
witness='org/apache/catalina/util/ParameterMap' stamp='64.341'/>
<dependency_failed type='unique_concrete_method' x='java/util/HashMap
put (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;'
witness='org/apache/catalina/util/ParameterMap' stamp='64.341'/>
<dependency_failed type='unique_concrete_method' x='java/util/HashMap
put (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;'
witness='org/apache/catalina/util/ParameterMap' stamp='64.341'/>
<dependency_failed type='unique_concrete_method' x='java/util/HashMap
put (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;'
witness='org/apache/catalina/util/ParameterMap' stamp='64.341'/>
<dependency_failed type='unique_concrete_method' x='java/util/HashMap
put (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;'
witness='org/apache/catalina/util/ParameterMap' stamp='64.341'/>
<dependency_failed type='unique_concrete_method' x='java/util/HashMap
put (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;'
witness='org/apache/catalina/util/ParameterMap' stamp='64.341'/>
<dependency_failed type='unique_concrete_method' x='java/util/HashMap
put (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;'
witness='org/apache/catalina/util/ParameterMap' stamp='64.341'/>
<dependency_failed type='unique_concrete_method' x='java/util/HashMap
put (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;'
witness='org/apache/catalina/util/ParameterMap' stamp='64.341'/>
<dependency_failed type='unique_concrete_method' x='java/util/HashMap
put (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;'
witness='org/apache/catalina/util/ParameterMap' stamp='64.341'/>
<dependency_failed type='unique_concrete_method' x='java/util/HashMap
put (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;'
witness='org/apache/catalina/util/ParameterMap' stamp='64.341'/>
<dependency_failed type='unique_concrete_method' ctxk='com/sun/org/
apache/commons/logging/Log' x='com/sun/org/apache

Raymond

unread,
Feb 1, 2008, 8:48:03 AM2/1/08
to Hermes 2.0 Discussion List
please disregard my previous post.

I am now able to log in to the hermes admin console, but I cant start
the applications (dbms and as2).

(I had to chage

From the error trace of the Ebms plugin in the browser:
(also some from the corvus.log below...)

hk.hku.cecid.piazza.commons.servlet.RequestListenerException: Error in
processing XSL pagelet
at
hk.hku.cecid.piazza.commons.pagelet.xslt.HttpXsltPageletAdaptor.processPagelet(HttpXsltPageletAdaptor.java:
64)
at
hk.hku.cecid.piazza.commons.pagelet.HttpPageletAdaptor.processTemplate(HttpPageletAdaptor.java:
142)
at
hk.hku.cecid.piazza.commons.pagelet.HttpPageletAdaptor.processRequest(HttpPageletAdaptor.java:
92)
at
hk.hku.cecid.piazza.commons.servlet.http.HttpDispatcher.processRequest(HttpDispatcher.java:
126)
at
hk.hku.cecid.piazza.commons.servlet.http.HttpDispatcher.doGet(HttpDispatcher.java:
266)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:718)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at
org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:
411)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
290)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:
271)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
202)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:
632)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:
577)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
206)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:
632)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:
577)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
571)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:
1080)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
150)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:
632)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:
577)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
571)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:
1080)
at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:
270)
at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:
637)
at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:
568)
at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:
813)
at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:
339)
at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:
261)
at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:
212)
at com.sun.enterprise.web.portunif.PortUnificationPipeline
$PUTask.doTask(PortUnificationPipeline.java:361)
at
com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:
265)
at
com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:
106)

Caused by java.lang.NullPointerException: null
at
hk.hku.cecid.ebms.admin.listener.MessageHistoryPageletAdaptor.getMessageHistory(MessageHistoryPageletAdaptor.java:
154)
at
hk.hku.cecid.ebms.admin.listener.MessageHistoryPageletAdaptor.getCenterSource(MessageHistoryPageletAdaptor.java:
44)
at
hk.hku.cecid.piazza.commons.pagelet.xslt.BorderLayoutPageletAdaptor.getPageletSource(BorderLayoutPageletAdaptor.java:
69)
at
hk.hku.cecid.piazza.commons.pagelet.xslt.HttpXsltPageletAdaptor.processPagelet(HttpXsltPageletAdaptor.java:
60)
at
hk.hku.cecid.piazza.commons.pagelet.HttpPageletAdaptor.processTemplate(HttpPageletAdaptor.java:
142)
at
hk.hku.cecid.piazza.commons.pagelet.HttpPageletAdaptor.processRequest(HttpPageletAdaptor.java:
92)
at
hk.hku.cecid.piazza.commons.servlet.http.HttpDispatcher.processRequest(HttpDispatcher.java:
126)
at
hk.hku.cecid.piazza.commons.servlet.http.HttpDispatcher.doGet(HttpDispatcher.java:
266)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:718)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at
org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:
411)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
290)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:
271)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
202)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:
632)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:
577)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
206)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:
632)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:
577)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
571)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:
1080)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
150)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:
632)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:
577)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
571)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:
1080)
at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:
270)
at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:
637)
at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:
568)
at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:
813)
at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:
339)
at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:
261)
at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:
212)
at com.sun.enterprise.web.portunif.PortUnificationPipeline
$PUTask.doTask(PortUnificationPipeline.java:361)
at
com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:
265)
at
com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:
106)

From the corvus.log:
2008-02-01 14:26:04 [l-1-thread-8] <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:
1178)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:
1007)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
4800)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:
5188)
at com.sun.enterprise.web.WebModule.start(WebModule.java:327)
at
com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:
58)
at
com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:
296)
at
com.sun.appserv.management.util.misc.RunnableBase.run(RunnableBase.java:
330)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:
441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
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:
55)
at hk.hku.cecid.piazza.commons.spa.Plugin.activate(Plugin.java:133)
... 19 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)
... 21 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)
... 22 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)
... 24 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(KeyStore.java:1185)
at
hk.hku.cecid.piazza.commons.security.KeyStoreComponent.load(KeyStoreComponent.java:
169)
... 27 more
2008-02-01 14:26:04 [l-1-thread-8] <DEBUG> <Component 'Corvus Main
Loggger' in module 'Corvus Main System Module' initialized
successfully.>
2008-02-01 14:26:04 [l-1-thread-8] <DEBUG> <Component 'Corvus Main
Properties' in module 'Corvus Main System Module' initialized
successfully.>
2008-02-01 14:26:04 [l-1-thread-8] <INFO > <Module 'Corvus Main System
Module' initialized successfully.>
2008-02-01 14:26:04 [l-1-thread-8] <DEBUG> <Component 'Housecleaning
Scheduler Task List' in module 'Housecleaning Scheduler Module'
initialized successfully.>
2008-02-01 14:26:04 [l-1-thread-8] <INFO > <Module 'Housecleaning
Scheduler Module' initialized successfully.>
2008-02-01 14:26:04 [l-1-thread-8] <DEBUG> <Resuming active monitor in
module (Housecleaning Scheduler Module). Current active threads: 0>
2008-02-01 14:26:04 [l-1-thread-8] <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:
1178)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:
1007)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
4800)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:
5188)
at com.sun.enterprise.web.WebModule.start(WebModule.java:327)
at
com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:
58)
at
com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:
296)
at
com.sun.appserv.management.util.misc.RunnableBase.run(RunnableBase.java:
330)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:
441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
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)
... 19 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)
... 20 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)
... 22 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)
... 23 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:
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)
... 25 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(KeyStore.java:1185)
at
hk.hku.cecid.piazza.commons.security.KeyStoreComponent.load(KeyStoreComponent.java:
169)
... 28 more
2008-02-01 14:26:04 [l-1-thread-8] <INFO > <HTTP request listener
'hk.hku.cecid.ebms.service.EbmsMessageStatusQueryService' registered
successfully at '/ebms/status'>
2008-02-01 14:26:04 [l-1-thread-8] <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:
1178)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:
1007)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
4800)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:
5188)
at com.sun.enterprise.web.WebModule.start(WebModule.java:327)
at
com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:
58)
at
com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:
296)
at
com.sun.appserv.management.util.misc.RunnableBase.run(RunnableBase.java:
330)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:
441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
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)
... 23 more


Please advice

Dag Høidahl

unread,
Feb 1, 2008, 9:08:50 AM2/1/08
to Hermes 2.0 Discussion List
Hi, Martin!

As you can see in another post to this thread, Raymond is picking up
where I left off, as I have been moved to another assignment. So I
just want thank for your help so far, as we've managed to get a lot
further based on your posts.

Regards,
Dag

thomas

unread,
Feb 4, 2008, 4:34:52 PM2/4/08
to Hermes 2.0 Discussion List
Hi

I think I have seen this - it about policy.jar files. When running
Hermes installer these files will be updated i classpath for Tomcat.
You will need to copy these files to glassfish classpath. I tink local
and US policy flies must be copied into glassfish.

Happy testing....

Thomas



Reply all
Reply to author
Forward
0 new messages