Configuring Hermes for embedded messaging of WAS 6.1

Using Hermes with the Embedded JMS from WebSphere AS 6.0 and above.

Configuring Hermes for embedded messaging of WAS 6.1

Postby guschra » Mon Jun 04, 2007 12:01 pm

It seems to be clear that Hermes can connect to the embedded JMS messaging of Websphere 6.1. But how do I have to configure it so that it will connect? I still get the "hermes.HermesException Failed to initialize the ORB
javax.naming.NamingException: Failed to initialize the ORB" The stack trace of the exception is:
Code: Select all
[Root exception is java.lang.ClassCastException: com.sun.corba.se.impl.orb.ORBImpl]
   at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:318)
   at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:392)
   at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:117)
   at com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.java:712)
   at com.ibm.ws.naming.util.WsnInitCtx.getNameInNamespace(WsnInitCtx.java:702)
   at javax.naming.InitialContext.getNameInNamespace(InitialContext.java:497)
   at hermes.browser.model.tree.ContextTreeNode.setContext(ContextTreeNode.java:92)
   at hermes.browser.model.tree.ContextTreeNode.<init>(ContextTreeNode.java:65)
   at hermes.browser.model.tree.ContextTreeNode.<init>(ContextTreeNode.java:70)
   at hermes.browser.components.ContextTreeModelFactory.create(ContextTreeModelFactory.java:60)
   at hermes.browser.tasks.JNDIBrowseTask.invoke(JNDIBrowseTask.java:59)
   at hermes.browser.tasks.TaskSupport.run(TaskSupport.java:175)
   at hermes.browser.tasks.ThreadPool.run(ThreadPool.java:170)
   at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.ClassCastException: com.sun.corba.se.impl.orb.ORBImpl
   at com.ibm.ws.orb.GlobalORBFactory.init(GlobalORBFactory.java:86)
   at com.ibm.ejs.oa.EJSORBImpl.initializeORB(EJSORBImpl.java:179)
   at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:83)
   at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:59)
   at com.ibm.ejs.oa.EJSORB.init(EJSORB.java:102)
   at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:309)
   ... 13 more
2007-06-04 15:04:31,187 [Hermes ThreadPool-3] ERROR hermes.browser.tasks.HermesBrowserTaskListener - Failed to initialize the ORB
hermes.HermesException: Failed to initialize the ORB
   at hermes.browser.model.tree.ContextTreeNode.setContext(ContextTreeNode.java:174)
   at hermes.browser.model.tree.ContextTreeNode.<init>(ContextTreeNode.java:65)
   at hermes.browser.model.tree.ContextTreeNode.<init>(ContextTreeNode.java:70)
   at hermes.browser.components.ContextTreeModelFactory.create(ContextTreeModelFactory.java:60)
   at hermes.browser.tasks.JNDIBrowseTask.invoke(JNDIBrowseTask.java:59)
   at hermes.browser.tasks.TaskSupport.run(TaskSupport.java:175)
   at hermes.browser.tasks.ThreadPool.run(ThreadPool.java:170)
   at java.lang.Thread.run(Thread.java:595)
javax.naming.NamingException: Failed to initialize the ORB [Root exception is java.lang.ClassCastException: com.sun.corba.se.impl.orb.ORBImpl]
   at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:318)
   at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:392)
   at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:117)
   at com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.java:712)
   at com.ibm.ws.naming.util.WsnInitCtx.getNameInNamespace(WsnInitCtx.java:702)
   at javax.naming.InitialContext.getNameInNamespace(InitialContext.java:497)
   at hermes.browser.model.tree.ContextTreeNode.setContext(ContextTreeNode.java:92)
   at hermes.browser.model.tree.ContextTreeNode.<init>(ContextTreeNode.java:65)
   at hermes.browser.model.tree.ContextTreeNode.<init>(ContextTreeNode.java:70)
   at hermes.browser.components.ContextTreeModelFactory.create(ContextTreeModelFactory.java:60)
   at hermes.browser.tasks.JNDIBrowseTask.invoke(JNDIBrowseTask.java:59)
   at hermes.browser.tasks.TaskSupport.run(TaskSupport.java:175)
   at hermes.browser.tasks.ThreadPool.run(ThreadPool.java:170)
   at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.ClassCastException: com.sun.corba.se.impl.orb.ORBImpl
   at com.ibm.ws.orb.GlobalORBFactory.init(GlobalORBFactory.java:86)
   at com.ibm.ejs.oa.EJSORBImpl.initializeORB(EJSORBImpl.java:179)
   at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:83)
   at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:59)
   at com.ibm.ejs.oa.EJSORB.init(EJSORB.java:102)
   at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:309)
   ... 13 more
.
I did the following to catch this exception - using Hermes 1.12:
  • Options->Configuration->
    • Class:hermes.JNDIConnectionFactory; Loader: WAS 6.1
  • Options->Configuration->Providers
    • ClasspathGrup: WAS 6.1
    • Library:
      • C:\Programme\IBM\SDP70\runtimes\base_v61\plugins\com.ibm.ws.sib.server_2.0.0.jar
      • C:\Programme\IBM\SDP70\runtimes\base_v61\plugins\com.ibm.ws.sib.utils_2.0.0.jar
      • C:\Programme\IBM\SDP70\runtimes\base_v61\plugins\com.ibm.ws.sib.wccm_2.0.0.jar
      • C:\Programme\IBM\SDP70\runtimes\base_v61\runtimes\com.ibm.ws.admin.client_6.1.0.jar
      • C:\Programme\IBM\SDP70\runtimes\base_v61\java\jre\lib\ibmorb.jar
  • put com.ibm.CORBA.ORBInit=com.ibm.ws.sib.client.ORB in a property file which is referenced in the configuration (next bullet point).
    • loader: WAS 6.1
    • providerURL: iiop://localhost:2809
    • initialContextFactory: com.ibm.websphere.naming.WsnInitialContextFactory
    • userPropertiesFile: C:\ApplicationDeveloper\workspace\hermesJMS\was61.properties (see above)
So what is wrong?

Thanks for your help!

Regards, Gunnar
guschra
 
Posts: 8
Joined: Sat Jun 02, 2007 10:55 pm

Re: Configuring Hermes for embedded messaging of WAS 6.1

Postby Colin » Mon Jun 04, 2007 2:22 pm

Hi,

I noticed this:

ftp://ftp.software.ibm.com/software/web ... arted.html

It says:

If it is not possible to programmatically create an ORB instance as required by the “java.naming.corba.orb” property then an alternative is to specify the property:

env.put("com.ibm.CORBA.ORBInit",com.ibm.ws.sib.client.ORB);


So try adding those properties to the user properties file as it seems “java.naming.corba.orb” needs to be an ORB instance rather than the class to instantiate whereas "com.ibm.CORBA.ORBInit" is the class name.

Regards,

Colin.
Colin
Site Admin
 
Posts: 835
Joined: Sun Sep 19, 2004 4:49 pm
Location: London, UK

Re: Configuring Hermes for embedded messaging of WAS 6.1

Postby guschra » Mon Jun 04, 2007 3:16 pm

Hm, I didn't get it.
As I mentioned already, I put
com.ibm.CORBA.ORBInit=com.ibm.ws.sib.client.ORB
in a poperties file. I also tried
java.naming.corba.orb=org.omg.CORBA.ORB.init((String[])null,null)
But it is always the same error. Even if the user properties file is left blank. No difference!
So where is the problem?

Regards, Gunnar
guschra
 
Posts: 8
Joined: Sat Jun 02, 2007 10:55 pm

Re: Configuring Hermes for embedded messaging of WAS 6.1

Postby Colin » Tue Jun 05, 2007 10:22 am

Sorry, I didn't properly read your last mail.

Is there anything useful in your hermes.log file?

If you take the latest SNAPSHOT build from the below link, you may find some more logging than the version you're currently using, for example is should print out the properties being passed in to create the JNDI context. Its currently uploading but I seem to have a sloow connection today so check back later when it should be there.

http://hermesjms.com/builds

Colin.
Colin
Site Admin
 
Posts: 835
Joined: Sun Sep 19, 2004 4:49 pm
Location: London, UK

Re: Configuring Hermes for embedded messaging of WAS 6.1

Postby guschra » Tue Jun 05, 2007 9:16 pm

Hi,
I think I posted the interesting things of the hermes.log already. Nevertheless I put an extract below, perhaps there is somebody who could see more than me.
Thank you also for the link to 1.13 version. Unfortunately there is still only a littly piece of 711 kB. So I hope that you will get a better connection soon.

Regards and thanks again,
guschra

Hermes.log
Code: Select all
2007-06-04 19:02:06,593 [main] DEBUG hermes.browser.HermesBrowser - Hermes Browser v1.12 starting...
2007-06-04 19:02:07,468 [AWT-EventQueue-0] DEBUG hermes.browser.HermesBrowser - props={java.naming.provider.url=\.hermes\hermes-config.xml, java.naming.factory.initial=hermes.HermesInitialContextFactory, hermes.loader=hermes.JAXBHermesLoader}
2007-06-04 19:02:07,484 [AWT-EventQueue-0] DEBUG hermes.HermesInitialContextFactory - loader=hermes.JAXBHermesLoader
2007-06-04 19:02:07,500 [AWT-EventQueue-0] DEBUG hermes.JAXBHermesLoader - attempting to load from URL: \.hermes\hermes-config.xml
2007-06-04 19:02:07,500 [AWT-EventQueue-0] INFO  hermes.JAXBHermesLoader - failed to load configuration from \.hermes\hermes-config.xml, attempting to load as a file...
2007-06-04 19:02:07,500 [AWT-EventQueue-0] DEBUG hermes.JAXBHermesLoader - trying to load from file: hermes-config.xml
2007-06-04 19:02:09,296 [AWT-EventQueue-0] DEBUG hermes.impl.SimpleClassLoaderManager - adding new ClasspathGroupConfig WAS 6.1
2007-06-04 19:02:09,406 [AWT-EventQueue-0] DEBUG hermes.impl.LoaderSupport - skipping C:\Programme\IBM\SDP70\runtimes\base_v61\plugins\com.ibm.ws.sib.server_2.0.0.jar
2007-06-04 19:02:09,406 [AWT-EventQueue-0] DEBUG hermes.impl.LoaderSupport - skipping C:\Programme\IBM\SDP70\runtimes\base_v61\plugins\com.ibm.ws.sib.utils_2.0.0.jar
2007-06-04 19:02:09,406 [AWT-EventQueue-0] DEBUG hermes.impl.LoaderSupport - skipping C:\Programme\IBM\SDP70\runtimes\base_v61\plugins\com.ibm.ws.sib.wccm_2.0.0.jar
2007-06-04 19:02:09,406 [AWT-EventQueue-0] DEBUG hermes.impl.LoaderSupport - skipping C:\Programme\IBM\SDP70\runtimes\base_v61\runtimes\com.ibm.ws.admin.client_6.1.0.jar
2007-06-04 19:02:09,406 [AWT-EventQueue-0] DEBUG hermes.impl.LoaderSupport - skipping C:\Programme\IBM\SDP70\runtimes\base_v61\java\jre\lib\ibmorb.jar
2007-06-04 19:02:10,343 [AWT-EventQueue-0] DEBUG hermes.impl.ConfigHelper - {hermes.ext.openjms.OpenJMSAdminFactory=hermes-openjms.jar,OpenJMS, hermes.ext.sap.SAPJMSAdminFactory=hermes-sapjms.jar,SAP, hermes.ext.jbossmq.JBossMQAdminFactory=hermes-jbossmq.jar,JBossMQ, hermes.ext.joram.JoramAdminFactory=hermes-joram.jar,ObjectWeb JORAM, hermes.ext.fiorano.FioranoAdminFactory=hermes-fiorano.jar,FioranoMQ, hermes.ext.ems.TibcoEMSAdminFactory=hermes-ems.jar,Tibco EMS, hermes.ext.weblogic.WebLogicJMSAdminFactory=hermes-weblogic.jar,BEA WebLogic, admin.factories=hermes.ext.ems.TibcoEMSAdminFactory,hermes.ext.mq.MQSeriesAdminFactory,hermes.ext.jbossmq.JBossMQAdminFactory,hermes.ext.arjuna.ArjunaMSAdminFactory,hermes.ext.weblogic.WebLogicJMSAdminFactory,hermes.ext.joram.JoramAdminFactory,hermes.ext.wme.WMEAdminFactory,hermes.ext.openjms.OpenJMSAdminFactory,hermes.ext.fiorano.FioranoAdminFactory,hermes.ext.sonicmq.SonicMQAdminFactory,hermes.ext.sap.SAPJMSAdminFactory,hermes.ext.jeus.JeusMQAdminFactory,hermes.ext.activemq.ActiveMQAdminFactory,hermes.ext.seebeyond.ican.SeeBeyondICANAdminFactory,hermes.ext.seebeyond.jcaps.SeeBeyondJCAPSAdminFactory, hermes.ext.activemq.ActiveMQAdminFactory=hermes-activemq.jar,ActiveMQ, hermes.ext.jeus.JeusMQAdminFactory=hermes-jeus.jar,TmaxSoft JeusMQ, hermes.ext.seebeyond.ican.SeeBeyondICANAdminFactory=hermes-seebeyond.jar,SeeBeyond ICAN, hermes.ext.sonicmq.SonicMQAdminFactory=hermes-sonicmq.jar,SonicMQ, hermes.ext.mq.MQSeriesAdminFactory=hermes-webspheremq.jar,IBM WebSphereMQ, hermes.ext.seebeyond.jcaps.SeeBeyondJCAPSAdminFactory=hermes-seebeyond.jar,SeeBeyond JCAPS, hermes.ext.wme.WMEAdminFactory=hermes-wme.jar,WebMethods Enterprise, hermes.ext.arjuna.ArjunaMSAdminFactory=hermes-arjuna.jar,ArjunaMQ}
2007-06-04 19:02:10,343 [AWT-EventQueue-0] DEBUG hermes.impl.ConfigHelper - factory=hermes.ext.ems.TibcoEMSAdminFactory
2007-06-04 19:02:10,375 [AWT-EventQueue-0] DEBUG hermes.impl.ConfigHelper - Tibco EMS(hermes.ext.ems.TibcoEMSAdminFactory) lives in C:\Programme\HermesJMS\lib.weaved/hermes-ems.jar
2007-06-04 19:02:10,375 [AWT-EventQueue-0] DEBUG hermes.impl.ConfigHelper - factory=hermes.ext.mq.MQSeriesAdminFactory
2007-06-04 19:02:10,375 [AWT-EventQueue-0] DEBUG hermes.impl.ConfigHelper - IBM WebSphereMQ(hermes.ext.mq.MQSeriesAdminFactory) lives in C:\Programme\HermesJMS\lib.weaved/hermes-webspheremq.jar
2007-06-04 19:02:10,375 [AWT-EventQueue-0] DEBUG hermes.impl.ConfigHelper - factory=hermes.ext.jbossmq.JBossMQAdminFactory
2007-06-04 19:02:10,375 [AWT-EventQueue-0] DEBUG hermes.impl.ConfigHelper - JBossMQ(hermes.ext.jbossmq.JBossMQAdminFactory) lives in C:\Programme\HermesJMS\lib.weaved/hermes-jbossmq.jar
2007-06-04 19:02:10,375 [AWT-EventQueue-0] DEBUG hermes.impl.ConfigHelper - factory=hermes.ext.arjuna.ArjunaMSAdminFactory
2007-06-04 19:02:10,375 [AWT-EventQueue-0] DEBUG hermes.impl.ConfigHelper - ArjunaMQ(hermes.ext.arjuna.ArjunaMSAdminFactory) lives in C:\Programme\HermesJMS\lib.weaved/hermes-arjuna.jar
2007-06-04 19:02:10,375 [AWT-EventQueue-0] DEBUG hermes.impl.ConfigHelper - factory=hermes.ext.weblogic.WebLogicJMSAdminFactory
2007-06-04 19:02:10,390 [AWT-EventQueue-0] DEBUG hermes.impl.ConfigHelper - BEA WebLogic(hermes.ext.weblogic.WebLogicJMSAdminFactory) lives in C:\Programme\HermesJMS\lib.weaved/hermes-weblogic.jar
2007-06-04 19:02:10,390 [AWT-EventQueue-0] DEBUG hermes.impl.ConfigHelper - factory=hermes.ext.joram.JoramAdminFactory
2007-06-04 19:02:10,437 [AWT-EventQueue-0] DEBUG hermes.impl.ConfigHelper - ObjectWeb JORAM(hermes.ext.joram.JoramAdminFactory) lives in C:\Programme\HermesJMS\lib.weaved/hermes-joram.jar
2007-06-04 19:02:10,437 [AWT-EventQueue-0] DEBUG hermes.impl.ConfigHelper - factory=hermes.ext.wme.WMEAdminFactory
2007-06-04 19:02:10,468 [AWT-EventQueue-0] DEBUG hermes.impl.ConfigHelper - WebMethods Enterprise(hermes.ext.wme.WMEAdminFactory) lives in C:\Programme\HermesJMS\lib.weaved/hermes-wme.jar
2007-06-04 19:02:10,468 [AWT-EventQueue-0] DEBUG hermes.impl.ConfigHelper - factory=hermes.ext.openjms.OpenJMSAdminFactory
2007-06-04 19:02:10,484 [AWT-EventQueue-0] DEBUG hermes.impl.ConfigHelper - OpenJMS(hermes.ext.openjms.OpenJMSAdminFactory) lives in C:\Programme\HermesJMS\lib.weaved/hermes-openjms.jar
2007-06-04 19:02:10,484 [AWT-EventQueue-0] DEBUG hermes.impl.ConfigHelper - factory=hermes.ext.fiorano.FioranoAdminFactory
2007-06-04 19:02:10,484 [AWT-EventQueue-0] DEBUG hermes.impl.ConfigHelper - FioranoMQ(hermes.ext.fiorano.FioranoAdminFactory) lives in C:\Programme\HermesJMS\lib.weaved/hermes-fiorano.jar
2007-06-04 19:02:10,484 [AWT-EventQueue-0] DEBUG hermes.impl.ConfigHelper - factory=hermes.ext.sonicmq.SonicMQAdminFactory
2007-06-04 19:02:10,484 [AWT-EventQueue-0] DEBUG hermes.impl.ConfigHelper - SonicMQ(hermes.ext.sonicmq.SonicMQAdminFactory) lives in C:\Programme\HermesJMS\lib.weaved/hermes-sonicmq.jar
2007-06-04 19:02:10,484 [AWT-EventQueue-0] DEBUG hermes.impl.ConfigHelper - factory=hermes.ext.sap.SAPJMSAdminFactory
2007-06-04 19:02:10,484 [AWT-EventQueue-0] DEBUG hermes.impl.ConfigHelper - SAP(hermes.ext.sap.SAPJMSAdminFactory) lives in C:\Programme\HermesJMS\lib.weaved/hermes-sapjms.jar
2007-06-04 19:02:10,484 [AWT-EventQueue-0] DEBUG hermes.impl.ConfigHelper - factory=hermes.ext.jeus.JeusMQAdminFactory
2007-06-04 19:02:10,484 [AWT-EventQueue-0] ERROR hermes.impl.ConfigHelper - cannot find C:\Programme\HermesJMS\lib.weaved/hermes-jeus.jar for hermes.ext.jeus.JeusMQAdminFactory
2007-06-04 19:02:10,484 [AWT-EventQueue-0] DEBUG hermes.impl.ConfigHelper - factory=hermes.ext.activemq.ActiveMQAdminFactory
2007-06-04 19:02:10,484 [AWT-EventQueue-0] DEBUG hermes.impl.ConfigHelper - ActiveMQ(hermes.ext.activemq.ActiveMQAdminFactory) lives in C:\Programme\HermesJMS\lib.weaved/hermes-activemq.jar
2007-06-04 19:02:10,484 [AWT-EventQueue-0] DEBUG hermes.impl.ConfigHelper - factory=hermes.ext.seebeyond.ican.SeeBeyondICANAdminFactory
2007-06-04 19:02:10,484 [AWT-EventQueue-0] DEBUG hermes.impl.ConfigHelper - SeeBeyond ICAN(hermes.ext.seebeyond.ican.SeeBeyondICANAdminFactory) lives in C:\Programme\HermesJMS\lib.weaved/hermes-seebeyond.jar
2007-06-04 19:02:10,484 [AWT-EventQueue-0] DEBUG hermes.impl.ConfigHelper - factory=hermes.ext.seebeyond.jcaps.SeeBeyondJCAPSAdminFactory
2007-06-04 19:02:10,484 [AWT-EventQueue-0] DEBUG hermes.impl.ConfigHelper - SeeBeyond JCAPS(hermes.ext.seebeyond.jcaps.SeeBeyondJCAPSAdminFactory) lives in C:\Programme\HermesJMS\lib.weaved/hermes-seebeyond.jar
2007-06-04 19:02:10,500 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils - BeanUtils.populate(null.MyConfig: bytesIsObject=false, bytesIsObjectBufferSize=65536, toStringOnObjectMessage=false, messageCache=100, bytesIsString=false, {bytesIsObjectBufferSize=65536, messageCache=100, bytesIsObject=false, bytesIsString=false, toStringOnObjectMessage=false})
2007-06-04 19:02:10,500 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils -   setProperty(null.MyConfig: bytesIsObject=false, bytesIsObjectBufferSize=65536, toStringOnObjectMessage=false, messageCache=100, bytesIsString=false, bytesIsObjectBufferSize, 65536)
2007-06-04 19:02:10,500 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.ConvertUtils - Convert string '65536' to class 'int'
2007-06-04 19:02:10,500 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.ConvertUtils -   Using converter org.apache.commons.beanutils.converters.IntegerConverter@8997d1
2007-06-04 19:02:10,515 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.PropertyUtils - setSimpleProperty: Invoking method public void hermes.renderers.DefaultMessageRenderer$MyConfig.setBytesIsObjectBufferSize(int) with value 65536 (class java.lang.Integer)
2007-06-04 19:02:10,515 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils -   setProperty(null.MyConfig: bytesIsObject=false, bytesIsObjectBufferSize=65536, toStringOnObjectMessage=false, messageCache=100, bytesIsString=false, messageCache, 100)
2007-06-04 19:02:10,515 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.ConvertUtils - Convert string '100' to class 'int'
2007-06-04 19:02:10,515 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.ConvertUtils -   Using converter org.apache.commons.beanutils.converters.IntegerConverter@8997d1
2007-06-04 19:02:10,515 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.PropertyUtils - setSimpleProperty: Invoking method public void hermes.renderers.DefaultMessageRenderer$MyConfig.setMessageCache(int) with value 100 (class java.lang.Integer)
2007-06-04 19:02:10,515 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils -   setProperty(null.MyConfig: bytesIsObject=false, bytesIsObjectBufferSize=65536, toStringOnObjectMessage=false, messageCache=100, bytesIsString=false, bytesIsObject, false)
2007-06-04 19:02:10,515 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.ConvertUtils - Convert string 'false' to class 'boolean'
2007-06-04 19:02:10,515 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.ConvertUtils -   Using converter org.apache.commons.beanutils.converters.BooleanConverter@1c1f5b2
2007-06-04 19:02:10,531 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.PropertyUtils - setSimpleProperty: Invoking method public void hermes.renderers.DefaultMessageRenderer$MyConfig.setBytesIsObject(boolean) with value false (class java.lang.Boolean)
2007-06-04 19:02:10,531 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils -   setProperty(null.MyConfig: bytesIsObject=false, bytesIsObjectBufferSize=65536, toStringOnObjectMessage=false, messageCache=100, bytesIsString=false, bytesIsString, false)
2007-06-04 19:02:10,531 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.ConvertUtils - Convert string 'false' to class 'boolean'
2007-06-04 19:02:10,531 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.ConvertUtils -   Using converter org.apache.commons.beanutils.converters.BooleanConverter@1c1f5b2
2007-06-04 19:02:10,531 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.PropertyUtils - setSimpleProperty: Invoking method public void hermes.renderers.DefaultMessageRenderer$MyConfig.setBytesIsString(boolean) with value false (class java.lang.Boolean)
2007-06-04 19:02:10,531 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils -   setProperty(null.MyConfig: bytesIsObject=false, bytesIsObjectBufferSize=65536, toStringOnObjectMessage=false, messageCache=100, bytesIsString=false, toStringOnObjectMessage, false)
2007-06-04 19:02:10,531 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.ConvertUtils - Convert string 'false' to class 'boolean'
2007-06-04 19:02:10,531 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.ConvertUtils -   Using converter org.apache.commons.beanutils.converters.BooleanConverter@1c1f5b2
2007-06-04 19:02:10,531 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.PropertyUtils - setSimpleProperty: Invoking method public void hermes.renderers.DefaultMessageRenderer$MyConfig.setToStringOnObjectMessage(boolean) with value false (class java.lang.Boolean)
2007-06-04 19:02:10,890 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils - BeanUtils.populate(hermes.renderers.fix.FIXMessageRenderer$MyConfig@457d21, {displayValueWithEnum=true, displayHeaderAndTrailer=true, messageCache=100})
2007-06-04 19:02:10,890 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils -   setProperty(hermes.renderers.fix.FIXMessageRenderer$MyConfig@457d21, displayValueWithEnum, true)
2007-06-04 19:02:10,890 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.ConvertUtils - Convert string 'true' to class 'boolean'
2007-06-04 19:02:10,890 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.ConvertUtils -   Using converter org.apache.commons.beanutils.converters.BooleanConverter@1c1f5b2
2007-06-04 19:02:10,890 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.PropertyUtils - setSimpleProperty: Invoking method public void hermes.renderers.fix.FIXMessageRenderer$MyConfig.setDisplayValueWithEnum(boolean) with value true (class java.lang.Boolean)
2007-06-04 19:02:10,890 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils -   setProperty(hermes.renderers.fix.FIXMessageRenderer$MyConfig@457d21, displayHeaderAndTrailer, true)
2007-06-04 19:02:10,890 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.ConvertUtils - Convert string 'true' to class 'boolean'
2007-06-04 19:02:10,890 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.ConvertUtils -   Using converter org.apache.commons.beanutils.converters.BooleanConverter@1c1f5b2
2007-06-04 19:02:10,890 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.PropertyUtils - setSimpleProperty: Invoking method public void hermes.renderers.fix.FIXMessageRenderer$MyConfig.setDisplayHeaderAndTrailer(boolean) with value true (class java.lang.Boolean)
2007-06-04 19:02:10,890 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils -   setProperty(hermes.renderers.fix.FIXMessageRenderer$MyConfig@457d21, messageCache, 100)
2007-06-04 19:02:10,890 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.ConvertUtils - Convert string '100' to class 'int'
2007-06-04 19:02:10,890 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.ConvertUtils -   Using converter org.apache.commons.beanutils.converters.IntegerConverter@8997d1
2007-06-04 19:02:10,890 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.PropertyUtils - setSimpleProperty: Invoking method public void hermes.renderers.fix.FIXMessageRenderer$MyConfig.setMessageCache(int) with value 100 (class java.lang.Integer)
2007-06-04 19:02:10,890 [AWT-EventQueue-0] DEBUG hermes.renderers.RendererManager - renderer chain:
2007-06-04 19:02:10,890 [AWT-EventQueue-0] DEBUG hermes.renderers.RendererManager - Payload: hermes.renderers.DefaultMessageRenderer
2007-06-04 19:02:10,890 [AWT-EventQueue-0] DEBUG hermes.renderers.RendererManager - Header: hermes.renderers.DefaultMessageHeaderRenderer
2007-06-04 19:02:10,890 [AWT-EventQueue-0] DEBUG hermes.renderers.RendererManager - toString: hermes.renderers.ToStringMessageRenderer
2007-06-04 19:02:10,890 [AWT-EventQueue-0] DEBUG hermes.renderers.RendererManager - Hex: hermes.renderers.HexMessageRenderer
2007-06-04 19:02:10,890 [AWT-EventQueue-0] DEBUG hermes.renderers.RendererManager - XML: hermes.renderers.XMLMessageRenderer
2007-06-04 19:02:10,890 [AWT-EventQueue-0] DEBUG hermes.renderers.RendererManager - FIX: hermes.renderers.fix.FIXMessageRenderer
2007-06-04 19:02:10,890 [AWT-EventQueue-0] DEBUG hermes.browser.tasks.ThreadPool - growing threadpool to 5
2007-06-04 19:02:10,890 [AWT-EventQueue-0] DEBUG hermes.impl.SimpleClassLoaderManager - createClassLoader id=WAS 6.1 extConfig=hermes.ext.DefaultHermesAdminFactory
2007-06-04 19:02:11,109 [AWT-EventQueue-0] DEBUG hermes.impl.LoaderSupport - URLClassLoader: file:/C:/Programme/IBM/SDP70/runtimes/base_v61/plugins/com.ibm.ws.sib.server_2.0.0.jar, file:/C:/Programme/IBM/SDP70/runtimes/base_v61/plugins/com.ibm.ws.sib.utils_2.0.0.jar, file:/C:/Programme/IBM/SDP70/runtimes/base_v61/plugins/com.ibm.ws.sib.wccm_2.0.0.jar, file:/C:/Programme/IBM/SDP70/runtimes/base_v61/runtimes/com.ibm.ws.admin.client_6.1.0.jar, file:/C:/Programme/IBM/SDP70/runtimes/base_v61/java/jre/lib/ibmorb.jar, file:/C:/Programme/HermesJMS/lib.weaved/hermes-ems.jar, file:/C:/Programme/HermesJMS/lib.weaved/hermes-webspheremq.jar, file:/C:/Programme/HermesJMS/lib.weaved/hermes-jbossmq.jar, file:/C:/Programme/HermesJMS/lib.weaved/hermes-arjuna.jar, file:/C:/Programme/HermesJMS/lib.weaved/hermes-weblogic.jar, file:/C:/Programme/HermesJMS/lib.weaved/hermes-joram.jar, file:/C:/Programme/HermesJMS/lib.weaved/hermes-wme.jar, file:/C:/Programme/HermesJMS/lib.weaved/hermes-openjms.jar, file:/C:/Programme/HermesJMS/lib.weaved/hermes-fiorano.jar, file:/C:/Programme/HermesJMS/lib.weaved/hermes-sonicmq.jar, file:/C:/Programme/HermesJMS/lib.weaved/hermes-sapjms.jar, file:/C:/Programme/HermesJMS/lib.weaved/hermes-activemq.jar, file:/C:/Programme/HermesJMS/lib.weaved/hermes-seebeyond.jar, file:/C:/Programme/HermesJMS/lib.weaved/hermes-seebeyond.jar
2007-06-04 19:02:11,203 [AWT-EventQueue-0] DEBUG hermes.impl.SimpleClassLoaderManager - getting existing classLoader for WAS 6.1
2007-06-04 19:02:13,000 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils -   setProperty(hermes.JNDIConnectionFactory@d9896e, initialContextFactory, com.ibm.websphere.naming.WsnInitialContextFactory)
2007-06-04 19:02:13,000 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.ConvertUtils - Convert string 'com.ibm.websphere.naming.WsnInitialContextFactory' to class 'java.lang.String'
2007-06-04 19:02:13,000 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.ConvertUtils -   Using converter org.apache.commons.beanutils.converters.StringConverter@789869
2007-06-04 19:02:13,000 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.PropertyUtils - setSimpleProperty: Invoking method public void hermes.JNDIContextFactory.setInitialContextFactory(java.lang.String) with value com.ibm.websphere.naming.WsnInitialContextFactory (class java.lang.String)
2007-06-04 19:02:13,000 [AWT-EventQueue-0] DEBUG hermes.impl.LoaderSupport - set hermes.JNDIConnectionFactory initialContextFactory=com.ibm.websphere.naming.WsnInitialContextFactory
2007-06-04 19:02:13,062 [AWT-EventQueue-0] DEBUG hermes.JNDIContextFactory - properties: {java.naming.factory.initial=com.ibm.websphere.naming.WsnInitialContextFactory}
2007-06-04 19:02:13,078 [AWT-EventQueue-0] DEBUG hermes.JAXBHermesLoader - SESSION IS Files
2007-06-04 19:02:13,718 [AWT-EventQueue-0] DEBUG hermes.ext.ExtensionFinderImpl - creating extension hermes.ext.DefaultHermesAdminFactory for hermes.JNDIConnectionFactory
2007-06-04 19:02:13,718 [AWT-EventQueue-0] DEBUG hermes.impl.SimpleClassLoaderManager - getting existing classLoader for WAS 6.1
2007-06-04 19:02:13,718 [AWT-EventQueue-0] DEBUG hermes.ext.ExtensionFinderImpl - loading from DebugClassLoader: file:/C:/Programme/IBM/SDP70/runtimes/base_v61/plugins/com.ibm.ws.sib.server_2.0.0.jar, file:/C:/Programme/IBM/SDP70/runtimes/base_v61/plugins/com.ibm.ws.sib.utils_2.0.0.jar, file:/C:/Programme/IBM/SDP70/runtimes/base_v61/plugins/com.ibm.ws.sib.wccm_2.0.0.jar, file:/C:/Programme/IBM/SDP70/runtimes/base_v61/runtimes/com.ibm.ws.admin.client_6.1.0.jar, file:/C:/Programme/IBM/SDP70/runtimes/base_v61/java/jre/lib/ibmorb.jar, file:/C:/Programme/HermesJMS/lib.weaved/hermes-ems.jar, file:/C:/Programme/HermesJMS/lib.weaved/hermes-webspheremq.jar, file:/C:/Programme/HermesJMS/lib.weaved/hermes-jbossmq.jar, file:/C:/Programme/HermesJMS/lib.weaved/hermes-arjuna.jar, file:/C:/Programme/HermesJMS/lib.weaved/hermes-weblogic.jar, file:/C:/Programme/HermesJMS/lib.weaved/hermes-joram.jar, file:/C:/Programme/HermesJMS/lib.weaved/hermes-wme.jar, file:/C:/Programme/HermesJMS/lib.weaved/hermes-openjms.jar, file:/C:/Programme/HermesJMS/lib.weaved/hermes-fiorano.jar, file:/C:/Programme/HermesJMS/lib.weaved/hermes-sonicmq.jar, file:/C:/Programme/HermesJMS/lib.weaved/hermes-sapjms.jar, file:/C:/Programme/HermesJMS/lib.weaved/hermes-activemq.jar, file:/C:/Programme/HermesJMS/lib.weaved/hermes-seebeyond.jar, file:/C:/Programme/HermesJMS/lib.weaved/hermes-seebeyond.jar
2007-06-04 19:02:13,734 [AWT-EventQueue-0] DEBUG hermes.impl.SimpleClassLoaderManager - creating new classLoader for  System
2007-06-04 19:02:13,734 [AWT-EventQueue-0] DEBUG hermes.JNDIContextFactory - properties: {}
2007-06-04 19:02:13,734 [AWT-EventQueue-0] DEBUG hermes.JAXBHermesLoader - SESSION IS newSession
2007-06-04 19:02:13,734 [AWT-EventQueue-0] DEBUG hermes.ext.ExtensionFinderImpl - creating extension hermes.ext.DefaultHermesAdminFactory for hermes.JNDITopicConnectionFactory
2007-06-04 19:02:13,734 [AWT-EventQueue-0] DEBUG hermes.impl.SimpleClassLoaderManager - creating new classLoader for  System
2007-06-04 19:02:13,734 [AWT-EventQueue-0] DEBUG hermes.ext.ExtensionFinderImpl - loading from sun.misc.Launcher$AppClassLoader@a39137
2007-06-04 19:02:26,390 [AWT-EventQueue-0] DEBUG hermes.browser.jython.JythonManager - Unable to locate a hermesrc.py
2007-06-04 19:02:27,593 [Hermes ThreadPool-0] DEBUG hermes.browser.tasks.ThreadPool - task hermes.browser.tasks.UpdateMessageStoresTask@1372fcf starting
2007-06-04 19:02:30,562 [AWT-EventQueue-0] DEBUG hermes.browser.HermesBrowser - setting maxThreadPoolSize
2007-06-04 19:02:32,312 [Hermes ThreadPool-0] DEBUG hermes.store.StoreUtils - looking for statement for derby
2007-06-04 19:02:34,812 [Hermes ThreadPool-0] DEBUG hermes.store.schema.DefaultJDBCAdapter - executing: create table storeInfo (storeid varchar (64) not null constraint storeInfo_cid unique )
2007-06-04 19:02:36,296 [Hermes ThreadPool-0] ERROR hermes.store.schema.DefaultJDBCAdapter - Table/View 'STOREINFO' already exists in Schema 'APP'. Query: create table storeInfo (storeid varchar (64) not null constraint storeInfo_cid unique ) Parameters: []
2007-06-04 19:02:36,296 [Hermes ThreadPool-0] DEBUG hermes.store.schema.DefaultJDBCAdapter - executing: create table stores (storeid varchar(64) not null, destination varchar(256) not null, domain integer not null, messageid varchar(256) not null)
2007-06-04 19:02:36,687 [Hermes ThreadPool-0] ERROR hermes.store.schema.DefaultJDBCAdapter - Table/View 'STORES' already exists in Schema 'APP'. Query: create table stores (storeid varchar(64) not null, destination varchar(256) not null, domain integer not null, messageid varchar(256) not null) Parameters: []
2007-06-04 19:02:36,687 [Hermes ThreadPool-0] DEBUG hermes.store.schema.DefaultJDBCAdapter - executing: create index stores_didx on stores(destination)
2007-06-04 19:02:37,156 [Hermes ThreadPool-0] DEBUG hermes.store.schema.DefaultJDBCAdapter - executing: create index stores_sidx on stores(storeid)
2007-06-04 19:02:37,171 [Hermes ThreadPool-0] DEBUG hermes.store.schema.DefaultJDBCAdapter - executing: create index stores_midx on stores(messageid)
2007-06-04 19:02:37,171 [Hermes ThreadPool-0] DEBUG hermes.store.schema.DefaultJDBCAdapter - executing: create index stores_smidx on stores(storeid, messageid)
2007-06-04 19:02:37,187 [Hermes ThreadPool-0] DEBUG hermes.store.schema.DefaultJDBCAdapter - executing: create table messages (messageid varchar(256) not null, message clob(1048576) not null)
2007-06-04 19:02:37,359 [Hermes ThreadPool-0] ERROR hermes.store.schema.DefaultJDBCAdapter - Table/View 'MESSAGES' already exists in Schema 'APP'. Query: create table messages (messageid varchar(256) not null, message clob(1048576) not null) Parameters: []
2007-06-04 19:02:37,359 [Hermes ThreadPool-0] DEBUG hermes.store.schema.DefaultJDBCAdapter - executing: create index messages_midx on messages(messageid)
2007-06-04 19:02:37,828 [Hermes ThreadPool-0] DEBUG hermes.impl.pool.ObjectPool - checkOutObject: pool is empty, creating new object...
2007-06-04 19:02:38,156 [Hermes ThreadPool-0] DEBUG hermes.store.schema.DefaultJDBCAdapter - swallowing The statement was aborted because it would have caused a duplicate key value in a unique or primary key constraint or unique index identified by 'STOREINFO_CID' defined on 'STOREINFO'. Query: insert into storeInfo values ( ? ) Parameters: [jitMessageStore]
2007-06-04 19:02:38,156 [Hermes ThreadPool-0] DEBUG hermes.impl.pool.ObjectPool - checkOutObject: pool is empty, creating new object...
2007-06-04 19:02:38,390 [Hermes ThreadPool-0] DEBUG hermes.browser.tasks.ThreadPool - task hermes.browser.tasks.UpdateMessageStoresTask@1372fcf  stopped
2007-06-04 19:02:50,234 [Hermes ThreadPool-1] DEBUG hermes.browser.tasks.ThreadPool - task hermes.browser.tasks.JNDIBrowseTask@1f622fa starting
2007-06-04 19:02:50,234 [Hermes ThreadPool-1] DEBUG hermes.impl.SimpleClassLoaderManager - getting existing classLoader for WAS 6.1
2007-06-04 19:02:50,234 [Hermes ThreadPool-1] DEBUG org.apache.commons.beanutils.BeanUtils -   setProperty(hermes.JNDIContextFactory@141ce14, providerURL, iiop://localhost:2809)
2007-06-04 19:02:50,234 [Hermes ThreadPool-1] DEBUG org.apache.commons.beanutils.ConvertUtils - Convert string 'iiop://localhost:2809' to class 'java.lang.String'
2007-06-04 19:02:50,234 [Hermes ThreadPool-1] DEBUG org.apache.commons.beanutils.ConvertUtils -   Using converter org.apache.commons.beanutils.converters.StringConverter@140c244
2007-06-04 19:02:50,234 [Hermes ThreadPool-1] DEBUG org.apache.commons.beanutils.PropertyUtils - setSimpleProperty: Invoking method public void hermes.JNDIContextFactory.setProviderURL(java.lang.String) with value iiop://localhost:2809 (class java.lang.String)
2007-06-04 19:02:50,234 [Hermes ThreadPool-1] DEBUG hermes.impl.LoaderSupport - set hermes.JNDIContextFactory providerURL=iiop://localhost:2809
2007-06-04 19:02:50,234 [Hermes ThreadPool-1] DEBUG org.apache.commons.beanutils.BeanUtils -   setProperty(hermes.JNDIContextFactory@141ce14, initialContextFactory, com.ibm.websphere.naming.WsnInitialContextFactory)
2007-06-04 19:02:50,234 [Hermes ThreadPool-1] DEBUG org.apache.commons.beanutils.ConvertUtils - Convert string 'com.ibm.websphere.naming.WsnInitialContextFactory' to class 'java.lang.String'
2007-06-04 19:02:50,234 [Hermes ThreadPool-1] DEBUG org.apache.commons.beanutils.ConvertUtils -   Using converter org.apache.commons.beanutils.converters.StringConverter@140c244
2007-06-04 19:02:50,234 [Hermes ThreadPool-1] DEBUG org.apache.commons.beanutils.PropertyUtils - setSimpleProperty: Invoking method public void hermes.JNDIContextFactory.setInitialContextFactory(java.lang.String) with value com.ibm.websphere.naming.WsnInitialContextFactory (class java.lang.String)
2007-06-04 19:02:50,234 [Hermes ThreadPool-1] DEBUG hermes.impl.LoaderSupport - set hermes.JNDIContextFactory initialContextFactory=com.ibm.websphere.naming.WsnInitialContextFactory
2007-06-04 19:02:50,234 [Hermes ThreadPool-1] DEBUG org.apache.commons.beanutils.BeanUtils -   setProperty(hermes.JNDIContextFactory@141ce14, userPropertiesFile, C:\ApplicationDeveloper\workspace\hermesJMS\was61.properties)
2007-06-04 19:02:50,234 [Hermes ThreadPool-1] DEBUG org.apache.commons.beanutils.ConvertUtils - Convert string 'C:\ApplicationDeveloper\workspace\hermesJMS\was61.properties' to class 'java.io.File'
2007-06-04 19:02:50,234 [Hermes ThreadPool-1] DEBUG org.apache.commons.beanutils.ConvertUtils -   Using converter hermes.browser.HermesBrowser$2@920d5d
2007-06-04 19:02:50,234 [Hermes ThreadPool-1] DEBUG org.apache.commons.beanutils.PropertyUtils - setSimpleProperty: Invoking method public void hermes.JNDIContextFactory.setUserPropertiesFile(java.io.File) with value C:\ApplicationDeveloper\workspace\hermesJMS\was61.properties (class java.io.File)
2007-06-04 19:02:50,234 [Hermes ThreadPool-1] DEBUG hermes.impl.LoaderSupport - set hermes.JNDIContextFactory userPropertiesFile=C:\ApplicationDeveloper\workspace\hermesJMS\was61.properties
2007-06-04 19:02:50,234 [Hermes ThreadPool-1] DEBUG hermes.JNDIContextFactory - properties: {com.ibm.CORBA.ORBInit=com.ibm.ws.sib.client.ORB, java.naming.provider.url=iiop://localhost:2809, java.naming.factory.initial=com.ibm.websphere.naming.WsnInitialContextFactory}
2007-06-04 19:02:50,703 [Hermes ThreadPool-1] DEBUG hermes.browser.model.tree.ContextTreeNode - Searching context WAS 6.1...
2007-06-04 19:02:51,421 [Hermes ThreadPool-1] ERROR hermes.browser.model.tree.ContextTreeNode - Failed to initialize the ORB
javax.naming.NamingException: Failed to initialize the ORB [Root exception is java.lang.ClassCastException: com.sun.corba.se.impl.orb.ORBImpl]
   at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:318)
   at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:392)
   at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:117)
   at com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.java:712)
   at com.ibm.ws.naming.util.WsnInitCtx.getNameInNamespace(WsnInitCtx.java:702)
   at javax.naming.InitialContext.getNameInNamespace(InitialContext.java:497)
   at hermes.browser.model.tree.ContextTreeNode.setContext(ContextTreeNode.java:92)
   at hermes.browser.model.tree.ContextTreeNode.<init>(ContextTreeNode.java:65)
   at hermes.browser.model.tree.ContextTreeNode.<init>(ContextTreeNode.java:70)
   at hermes.browser.components.ContextTreeModelFactory.create(ContextTreeModelFactory.java:60)
   at hermes.browser.tasks.JNDIBrowseTask.invoke(JNDIBrowseTask.java:59)
   at hermes.browser.tasks.TaskSupport.run(TaskSupport.java:175)
   at hermes.browser.tasks.ThreadPool.run(ThreadPool.java:170)
   at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.ClassCastException: com.sun.corba.se.impl.orb.ORBImpl
   at com.ibm.ws.orb.GlobalORBFactory.init(GlobalORBFactory.java:86)
   at com.ibm.ejs.oa.EJSORBImpl.initializeORB(EJSORBImpl.java:179)
   at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:83)
   at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:59)
   at com.ibm.ejs.oa.EJSORB.init(EJSORB.java:102)
   at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:309)
   ... 13 more
2007-06-04 19:02:51,437 [Hermes ThreadPool-1] ERROR hermes.browser.tasks.HermesBrowserTaskListener - Failed to initialize the ORB
hermes.HermesException: Failed to initialize the ORB
   at hermes.browser.model.tree.ContextTreeNode.setContext(ContextTreeNode.java:174)
   at hermes.browser.model.tree.ContextTreeNode.<init>(ContextTreeNode.java:65)
   at hermes.browser.model.tree.ContextTreeNode.<init>(ContextTreeNode.java:70)
   at hermes.browser.components.ContextTreeModelFactory.create(ContextTreeModelFactory.java:60)
   at hermes.browser.tasks.JNDIBrowseTask.invoke(JNDIBrowseTask.java:59)
   at hermes.browser.tasks.TaskSupport.run(TaskSupport.java:175)
   at hermes.browser.tasks.ThreadPool.run(ThreadPool.java:170)
   at java.lang.Thread.run(Thread.java:595)
javax.naming.NamingException: Failed to initialize the ORB [Root exception is java.lang.ClassCastException: com.sun.corba.se.impl.orb.ORBImpl]
   at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:318)
   at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:392)
   at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:117)
   at com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.java:712)
   at com.ibm.ws.naming.util.WsnInitCtx.getNameInNamespace(WsnInitCtx.java:702)
   at javax.naming.InitialContext.getNameInNamespace(InitialContext.java:497)
   at hermes.browser.model.tree.ContextTreeNode.setContext(ContextTreeNode.java:92)
   at hermes.browser.model.tree.ContextTreeNode.<init>(ContextTreeNode.java:65)
   at hermes.browser.model.tree.ContextTreeNode.<init>(ContextTreeNode.java:70)
   at hermes.browser.components.ContextTreeModelFactory.create(ContextTreeModelFactory.java:60)
   at hermes.browser.tasks.JNDIBrowseTask.invoke(JNDIBrowseTask.java:59)
   at hermes.browser.tasks.TaskSupport.run(TaskSupport.java:175)
   at hermes.browser.tasks.ThreadPool.run(ThreadPool.java:170)
   at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.ClassCastException: com.sun.corba.se.impl.orb.ORBImpl
   at com.ibm.ws.orb.GlobalORBFactory.init(GlobalORBFactory.java:86)
   at com.ibm.ejs.oa.EJSORBImpl.initializeORB(EJSORBImpl.java:179)
   at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:83)
   at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:59)
   at com.ibm.ejs.oa.EJSORB.init(EJSORB.java:102)
   at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:309)
   ... 13 more
2007-06-04 19:02:51,453 [Hermes ThreadPool-1] DEBUG hermes.browser.tasks.ThreadPool - task hermes.browser.tasks.JNDIBrowseTask@1f622fa  stopped
2007-06-04 19:02:57,593 [AWT-EventQueue-0] DEBUG hermes.impl.SimpleClassLoaderManager - getting existing classLoader for WAS 6.1
2007-06-04 19:02:57,593 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils - Describing bean: hermes.JNDIConnectionFactory
2007-06-04 19:02:57,609 [AWT-EventQueue-0] DEBUG hermes.impl.SimpleClassLoaderManager - creating new classLoader for  System
2007-06-04 19:02:57,609 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils - Describing bean: hermes.JNDITopicConnectionFactory
2007-06-04 19:02:57,609 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils - Describing bean: hermes.JNDITopicConnectionFactory
2007-06-04 19:02:57,609 [AWT-EventQueue-0] DEBUG hermes.impl.SimpleClassLoaderManager - creating new classLoader for  System
2007-06-04 19:02:57,609 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils - Describing bean: hermes.JNDITopicConnectionFactory
2007-06-04 19:02:57,609 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils - Describing bean: hermes.JNDITopicConnectionFactory
2007-06-04 19:02:57,609 [AWT-EventQueue-0] DEBUG hermes.browser.dialog.PreferencesDialog - refocusing on Files
2007-06-04 19:02:57,703 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils - Describing bean: hermes.renderers.DefaultMessageRenderer
2007-06-04 19:02:57,703 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils - BeanUtils.populate(null.MyConfig: bytesIsObject=false, bytesIsObjectBufferSize=65536, toStringOnObjectMessage=false, messageCache=100, bytesIsString=false, {panelMap={}, config=null.MyConfig: bytesIsObject=false, bytesIsObjectBufferSize=65536, toStringOnObjectMessage=false, messageCache=100, bytesIsString=false, class=class hermes.renderers.DefaultMessageRenderer, displayName=Payload})
2007-06-04 19:02:57,703 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils -   setProperty(null.MyConfig: bytesIsObject=false, bytesIsObjectBufferSize=65536, toStringOnObjectMessage=false, messageCache=100, bytesIsString=false, panelMap, {})
2007-06-04 19:02:57,703 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils -   setProperty(null.MyConfig: bytesIsObject=false, bytesIsObjectBufferSize=65536, toStringOnObjectMessage=false, messageCache=100, bytesIsString=false, config, null.MyConfig: bytesIsObject=false, bytesIsObjectBufferSize=65536, toStringOnObjectMessage=false, messageCache=100, bytesIsString=false)
2007-06-04 19:02:57,703 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils -   setProperty(null.MyConfig: bytesIsObject=false, bytesIsObjectBufferSize=65536, toStringOnObjectMessage=false, messageCache=100, bytesIsString=false, class, class hermes.renderers.DefaultMessageRenderer)
2007-06-04 19:02:57,703 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils - Skipping read-only property
2007-06-04 19:02:57,703 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils -   setProperty(null.MyConfig: bytesIsObject=false, bytesIsObjectBufferSize=65536, toStringOnObjectMessage=false, messageCache=100, bytesIsString=false, displayName, Payload)
2007-06-04 19:02:57,703 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils - Describing bean: hermes.renderers.DefaultMessageHeaderRenderer
2007-06-04 19:02:57,703 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils - Describing bean: hermes.renderers.ToStringMessageRenderer
2007-06-04 19:02:57,718 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils - Describing bean: hermes.renderers.HexMessageRenderer
2007-06-04 19:02:57,718 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils - Describing bean: hermes.renderers.XMLMessageRenderer
2007-06-04 19:02:57,718 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils - Describing bean: hermes.renderers.fix.FIXMessageRenderer
2007-06-04 19:02:57,718 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils - BeanUtils.populate(hermes.renderers.fix.FIXMessageRenderer$MyConfig@acc95, {panelMap={}, config=hermes.renderers.fix.FIXMessageRenderer$MyConfig@457d21, class=class hermes.renderers.fix.FIXMessageRenderer, displayName=FIX})
2007-06-04 19:02:57,718 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils -   setProperty(hermes.renderers.fix.FIXMessageRenderer$MyConfig@acc95, panelMap, {})
2007-06-04 19:02:57,718 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils -   setProperty(hermes.renderers.fix.FIXMessageRenderer$MyConfig@acc95, config, hermes.renderers.fix.FIXMessageRenderer$MyConfig@457d21)
2007-06-04 19:02:57,718 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils -   setProperty(hermes.renderers.fix.FIXMessageRenderer$MyConfig@acc95, class, class hermes.renderers.fix.FIXMessageRenderer)
2007-06-04 19:02:57,718 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils - Skipping read-only property
2007-06-04 19:02:57,718 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils -   setProperty(hermes.renderers.fix.FIXMessageRenderer$MyConfig@acc95, displayName, FIX)
2007-06-04 19:02:57,718 [AWT-EventQueue-0] DEBUG hermes.impl.SimpleClassLoaderManager - getting existing classLoader for WAS 6.1
2007-06-04 19:02:57,718 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils - Describing bean: hermes.JNDIConnectionFactory
2007-06-04 19:02:57,718 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils - Describing bean: hermes.JNDIConnectionFactory
2007-06-04 19:02:57,718 [AWT-EventQueue-0] DEBUG hermes.impl.SimpleClassLoaderManager - getting existing classLoader for WAS 6.1
2007-06-04 19:02:57,718 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils - Describing bean: hermes.JNDIConnectionFactory
2007-06-04 19:02:57,718 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils - Describing bean: hermes.JNDIConnectionFactory
2007-06-04 19:02:57,718 [AWT-EventQueue-0] DEBUG hermes.impl.SimpleClassLoaderManager - getting existing classLoader for WAS 6.1
2007-06-04 19:02:57,718 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils - Describing bean: hermes.ext.DefaultHermesAdminFactory
2007-06-04 19:02:57,734 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils - Describing bean: hermes.ext.DefaultHermesAdminFactory
2007-06-04 19:02:57,734 [AWT-EventQueue-0] DEBUG hermes.browser.dialog.HermesAdminFactoryConfigPanel - bean= {configDynamic=false, class=class hermes.ext.DefaultHermesAdminFactory}
2007-06-04 19:02:57,734 [AWT-EventQueue-0] DEBUG hermes.browser.dialog.PreferencesDialog - refocusing on Files
2007-06-04 19:02:57,750 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils - Describing bean: hermes.renderers.DefaultMessageRenderer
2007-06-04 19:02:57,750 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils - BeanUtils.populate(null.MyConfig: bytesIsObject=false, bytesIsObjectBufferSize=65536, toStringOnObjectMessage=false, messageCache=100, bytesIsString=false, {panelMap={}, config=null.MyConfig: bytesIsObject=false, bytesIsObjectBufferSize=65536, toStringOnObjectMessage=false, messageCache=100, bytesIsString=false, class=class hermes.renderers.DefaultMessageRenderer, displayName=Payload})
2007-06-04 19:02:57,750 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils -   setProperty(null.MyConfig: bytesIsObject=false, bytesIsObjectBufferSize=65536, toStringOnObjectMessage=false, messageCache=100, bytesIsString=false, panelMap, {})
2007-06-04 19:02:57,750 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils -   setProperty(null.MyConfig: bytesIsObject=false, bytesIsObjectBufferSize=65536, toStringOnObjectMessage=false, messageCache=100, bytesIsString=false, config, null.MyConfig: bytesIsObject=false, bytesIsObjectBufferSize=65536, toStringOnObjectMessage=false, messageCache=100, bytesIsString=false)
2007-06-04 19:02:57,750 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils -   setProperty(null.MyConfig: bytesIsObject=false, bytesIsObjectBufferSize=65536, toStringOnObjectMessage=false, messageCache=100, bytesIsString=false, class, class hermes.renderers.DefaultMessageRenderer)
2007-06-04 19:02:57,750 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils - Skipping read-only property
2007-06-04 19:02:57,750 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils -   setProperty(null.MyConfig: bytesIsObject=false, bytesIsObjectBufferSize=65536, toStringOnObjectMessage=false, messageCache=100, bytesIsString=false, displayName, Payload)
2007-06-04 19:02:57,750 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils - Describing bean: hermes.renderers.DefaultMessageHeaderRenderer
2007-06-04 19:02:57,750 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils - Describing bean: hermes.renderers.ToStringMessageRenderer
2007-06-04 19:02:57,750 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils - Describing bean: hermes.renderers.HexMessageRenderer
2007-06-04 19:02:57,750 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils - Describing bean: hermes.renderers.XMLMessageRenderer
2007-06-04 19:02:57,750 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils - Describing bean: hermes.renderers.fix.FIXMessageRenderer
2007-06-04 19:02:57,750 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils - BeanUtils.populate(hermes.renderers.fix.FIXMessageRenderer$MyConfig@166a551, {panelMap={}, config=hermes.renderers.fix.FIXMessageRenderer$MyConfig@457d21, class=class hermes.renderers.fix.FIXMessageRenderer, displayName=FIX})
2007-06-04 19:02:57,750 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils -   setProperty(hermes.renderers.fix.FIXMessageRenderer$MyConfig@166a551, panelMap, {})
2007-06-04 19:02:57,750 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils -   setProperty(hermes.renderers.fix.FIXMessageRenderer$MyConfig@166a551, config, hermes.renderers.fix.FIXMessageRenderer$MyConfig@457d21)
2007-06-04 19:02:57,750 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils -   setProperty(hermes.renderers.fix.FIXMessageRenderer$MyConfig@166a551, class, class hermes.renderers.fix.FIXMessageRenderer)
2007-06-04 19:02:57,750 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils - Skipping read-only property
2007-06-04 19:02:57,750 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils -   setProperty(hermes.renderers.fix.FIXMessageRenderer$MyConfig@166a551, displayName, FIX)
2007-06-04 19:03:23,531 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils -   setProperty(hermes.JNDIContextFactory@1b0ed81, providerURL, iiop://localhost:2809)
2007-06-04 19:03:23,531 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.ConvertUtils - Convert string 'iiop://localhost:2809' to class 'java.lang.String'
2007-06-04 19:03:23,531 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.ConvertUtils -   Using converter org.apache.commons.beanutils.converters.StringConverter@140c244
2007-06-04 19:03:23,531 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.PropertyUtils - setSimpleProperty: Invoking method public void hermes.JNDIContextFactory.setProviderURL(java.lang.String) with value iiop://localhost:2809 (class java.lang.String)
2007-06-04 19:03:23,531 [AWT-EventQueue-0] DEBUG hermes.impl.LoaderSupport - set hermes.JNDIContextFactory providerURL=iiop://localhost:2809
2007-06-04 19:03:23,531 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils -   setProperty(hermes.JNDIContextFactory@1b0ed81, initialContextFactory, com.ibm.websphere.naming.WsnInitialContextFactory)
2007-06-04 19:03:23,531 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.ConvertUtils - Convert string 'com.ibm.websphere.naming.WsnInitialContextFactory' to class 'java.lang.String'
2007-06-04 19:03:23,531 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.ConvertUtils -   Using converter org.apache.commons.beanutils.converters.StringConverter@140c244
2007-06-04 19:03:23,531 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.PropertyUtils - setSimpleProperty: Invoking method public void hermes.JNDIContextFactory.setInitialContextFactory(java.lang.String) with value com.ibm.websphere.naming.WsnInitialContextFactory (class java.lang.String)
2007-06-04 19:03:23,531 [AWT-EventQueue-0] DEBUG hermes.impl.LoaderSupport - set hermes.JNDIContextFactory initialContextFactory=com.ibm.websphere.naming.WsnInitialContextFactory
2007-06-04 19:03:23,531 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.BeanUtils -   setProperty(hermes.JNDIContextFactory@1b0ed81, userPropertiesFile, C:\ApplicationDeveloper\workspace\hermesJMS\was61.properties)
2007-06-04 19:03:23,531 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.ConvertUtils - Convert string 'C:\ApplicationDeveloper\workspace\hermesJMS\was61.properties' to class 'java.io.File'
2007-06-04 19:03:23,531 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.ConvertUtils -   Using converter hermes.browser.HermesBrowser$2@920d5d
2007-06-04 19:03:23,531 [AWT-EventQueue-0] DEBUG org.apache.commons.beanutils.PropertyUtils - setSimpleProperty: Invoking method public void hermes.JNDIContextFactory.setUserPropertiesFile(java.io.File) with value C:\ApplicationDeveloper\workspace\hermesJMS\was61.properties (class java.io.File)
2007-06-04 19:03:23,531 [AWT-EventQueue-0] DEBUG hermes.impl.LoaderSupport - set hermes.JNDIContextFactory userPropertiesFile=C:\ApplicationDeveloper\workspace\hermesJMS\was61.properties

guschra
 
Posts: 8
Joined: Sat Jun 02, 2007 10:55 pm

Re: Configuring Hermes for embedded messaging of WAS 6.1

Postby guschra » Wed Jun 06, 2007 9:11 pm

Hi,

the good news is that I got the 1.13 snapshot version. The bad news is that it is still the same class cast exception :(
I think I have to restart the configuration from scratch. Can you help me? Together we should manage to solve the problem.
  • Which libraries do I have to add to the classpath group? There is probably no exact answer yet, but what should the libraries contain?
  • Which properties have to be set? The same as with the question before, so what needs Hermes to know through the properties?
  • com.ibm.CORBA.ORBInit",com.ibm.ws.sib.client.ORB
    is probably not valid anymore because I can't see a class com.ibm.ws.sib.client.ORB in any of my libraries.
guschra
 
Posts: 8
Joined: Sat Jun 02, 2007 10:55 pm

Re: Configuring Hermes for embedded messaging of WAS 6.1

Postby guschra » Thu Jun 07, 2007 12:56 am

Ok, I got it, I managed to connect to the JMS provider and can see in Hermes all the queues and topics. (I will post all steps soon when I get the whole thing working.) But now I can't see the content of the queues and topics. In the browsing tree which I get after connection I don't see any factories which I could use to create a seesion. So I created the session by right click on session and added properties like 'initialConnectionFactory', 'providerURL', and 'userpropertiesFile' with exactly the same values as I did with 'Options->Configuration'. Then I can see all queues and topics after right click on the newly created seesion and selection of 'Discover'. But after double click on any topic or queue I get the message "NullPointerException Provider gave no error message, check the logfile for errors."
Nevertheless I can add the topics or queues to the watch windows but there is nothin interestin to see: "No statistics currently available". And a double click on any topic or queue will result in the same NullPointerException...
The log is below. What's still wrong?
Code: Select all
2007-06-07 02:47:07,234 [Timer-14] ERROR hermes.HermesWatchManager - cannot get depth: Cannot get the depth of a topic without a plugin.
2007-06-07 02:47:07,234 [Timer-14] DEBUG org.apache.commons.beanutils.BeanUtils - Describing bean: hermes.JNDIConnectionFactory
2007-06-07 02:47:07,234 [Timer-14] DEBUG hermes.impl.jms.ConnectionSharedManager - creating connection from factory: connectionFactory class=hermes.JNDIConnectionFactory, properties={userPropertiesURL=null, dnsUrl=null, providerURL=null, class=class hermes.JNDIConnectionFactory, securityProtocol=null, language=null, port=null, objectFactories=null, referral=null, securityAuthentication=null, initialContextFactory=com.ibm.websphere.naming.WsnInitialContextFactory, urlPkgPrefixes=null, host=null, stateFactories=null, securityCredentials=null, securityPrincipal=null, batchSize=null, binding=null, authoritative=null, rmiAdaptorBinding=null, userPropertiesFile=C:\ApplicationDeveloper\workspace\hermesJMS\was61.properties}
2007-06-07 02:47:07,234 [Timer-14] DEBUG hermes.JNDIContextFactory - properties: {com.ibm.CORBA.ORBInit=com.ibm.ws.sib.client.ORB, java.naming.factory.initial=com.ibm.websphere.naming.WsnInitialContextFactory}
2007-06-07 02:47:07,234 [Timer-14] ERROR hermes.HermesWatchManager -
java.lang.NullPointerException
   at javax.naming.InitialContext.getURLScheme(InitialContext.java:228)
   at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:277)
   at javax.naming.InitialContext.lookup(InitialContext.java:351)
   at hermes.JNDIConnectionFactory.createConnection(JNDIConnectionFactory.java:69)
   at hermes.impl.jms.ConnectionManagerSupport.createConnection(ConnectionManagerSupport.java:117)
   at hermes.impl.jms.ConnectionSharedManager.connect(ConnectionSharedManager.java:79)
   at hermes.impl.jms.ConnectionSharedManager.getConnection(ConnectionSharedManager.java:92)
   at hermes.impl.jms.ConnectionSharedManager.getObject(ConnectionSharedManager.java:130)
   at hermes.impl.jms.ThreadLocalSessionManager.connect(ThreadLocalSessionManager.java:175)
   at hermes.impl.jms.ThreadLocalSessionManager.getSession(ThreadLocalSessionManager.java:555)
   at hermes.impl.jms.AbstractSessionManager.createBrowser(AbstractSessionManager.java:379)
   at hermes.impl.DefaultHermesImpl.createBrowser(DefaultHermesImpl.java:227)
   at hermes.ext.DefaultHermesAdmin.getDepth(DefaultHermesAdmin.java:61)
   at hermes.impl.HermesAdminAdapter.getDepth(HermesAdminAdapter.java:108)
   at hermes.impl.DefaultHermesImpl.getDepth(DefaultHermesImpl.java:1279)
   at hermes.HermesWatchManager.updateWatchStatistics(HermesWatchManager.java:216)
   at hermes.HermesWatchManager.doUpdate(HermesWatchManager.java:179)
   at hermes.HermesWatchManager.access$000(HermesWatchManager.java:41)
   at hermes.HermesWatchManager$1.run(HermesWatchManager.java:69)
   at java.util.TimerThread.mainLoop(Timer.java:512)
   at java.util.TimerThread.run(Timer.java:462)


Thanks for help,

guschra
guschra
 
Posts: 8
Joined: Sat Jun 02, 2007 10:55 pm

Re: Configuring Hermes for embedded messaging of WAS 6.1

Postby Colin » Thu Jun 07, 2007 8:04 am

Glad to see you're making progress, I'm wondering why this is so fiddly. I've never tried to use the embedded messaging of WAS, I'll try and give it a spin one day.

Anyway, to your problem:

You need to set the "binding" property, this is the name of the connection factory bound in JNDI that you want to use.

Also, you may want to consider creating the session in the more JNDI friendly way of creating a context, i.e. browsing the context and then selecting the connection factories to use from there. This JBoss example should give you the idea. Its less fiddly IMO:

http://hermesjms.com/confluence/display ... s+Tutorial

Let me know what else I can do to help, it would be excellent to get this document on the web for others to use? If you had the time to create a quick wink demo like the JBoss one, that would be very helpful!

Regards,

Colin.
Colin
Site Admin
 
Posts: 835
Joined: Sun Sep 19, 2004 4:49 pm
Location: London, UK

Re: Configuring Hermes for embedded messaging of WAS 6.1

Postby Colin » Thu Jun 07, 2007 12:01 pm

I've added this issue to create a more meaningful error message than the NPE from JNDI:

http://hermesjms.com/jira/browse/HJMS-37

Colin.
Colin
Site Admin
 
Posts: 835
Joined: Sun Sep 19, 2004 4:49 pm
Location: London, UK

Re: Configuring Hermes for embedded messaging of WAS 6.1

Postby guschra » Thu Jun 07, 2007 12:10 pm

Well this was exactly what I wanted to do: Browsing the context and using the connection factories I find there... And now I could do it. Thanks again for the hints. But now it remains the task which I really need to do. I have to get the depth of the topics. All the work done so far was aiming for getting the depth of the topics. How can I do that? From the JBoss example I learned that I have to set the property 'rmiAdaptorBinding' and give it the value of the top-level JMX bean. But for the 'Default' selection in the field 'Plugin' I find only the property 'configDynamic'. Do I have to set that? And if so what should be the value?

Regards,

Gunnar
guschra
 
Posts: 8
Joined: Sat Jun 02, 2007 10:55 pm

Re: Configuring Hermes for embedded messaging of WAS 6.1

Postby Colin » Sat Jun 09, 2007 7:58 am

You need some non-JMS code in a plugin to get durable subscription depths, e.g. JBoss does it via JMX.

I do not have a plugin for WAS so its not supported.

If you know the code needed to do this however - e.g. a JMX ObjectName and have the time to work with me on it I'm sure we could come up with a simple plugin that works for you quite quickly.

Regards,

Colin.
Colin
Site Admin
 
Posts: 835
Joined: Sun Sep 19, 2004 4:49 pm
Location: London, UK

Re: Configuring Hermes for embedded messaging of WAS 6.1

Postby guschra » Sat Jun 09, 2007 12:37 pm

Ok, let's do that! So what do we need? Is it something like the MBean name of the topic under consideration?
For the moment I can give you these information:
  • the WAS 6.1 JMX implementation supports JSR 160
  • JMX service URL to bootstrap to the application server: service:jmx:iiop://<host>:<port>/jndi/RMIService
  • the managemanet bean has ejb/mgmt/MEJB as JNDI name
  • the MBean documentation is attached, it can be found in directory <RAD installation>\runtimes\base_v61\web
  • I can connect with JConsole to the server, but for the moment I can see only the JVM specifica, no Websphere MBeans :(

Regards,

Gunnar
Attachments
mbeanDocs.zip
(251.57 KiB) Downloaded 421 times
guschra
 
Posts: 8
Joined: Sat Jun 02, 2007 10:55 pm

Re: Configuring Hermes for embedded messaging of WAS 6.1

Postby guschra » Mon Jun 11, 2007 12:52 pm

I don't want to put pressure on anybody ... :D
But can we go on or do we need more information? What could be the next step?

Regards,

guschra
guschra
 
Posts: 8
Joined: Sat Jun 02, 2007 10:55 pm

Re: Configuring Hermes for embedded messaging of WAS 6.1

Postby Colin » Tue Jun 12, 2007 8:10 am

Hi,

I'll take a look in the next few days when I get some spare time. I can probably use the JBoss plugin as a base.

In the meantime could you raise a JIRA request so we can track the progress there.

Regards,

Colin.
Colin
Site Admin
 
Posts: 835
Joined: Sun Sep 19, 2004 4:49 pm
Location: London, UK

Re: Configuring Hermes for embedded messaging of WAS 6.1

Postby andrisak » Tue Oct 02, 2007 10:02 am

Hi guschra,

How did you resolve the ClassCastException for the class com.sun.corba.se.impl.orb.ORBImpl? I'm facing the same problem.


/andré
andrisak
 
Posts: 1
Joined: Tue Oct 02, 2007 9:57 am

Re: Configuring Hermes for embedded messaging of WAS 6.1

Postby bjchip » Wed Apr 01, 2009 1:51 am

Was this ever finished-resolved finally? I am stuck here as well. Whatever the steps were, the correct ORB init in the properties and the correct initialization factory... I don't quite... know.

Apparently he hit on them. Do we have any more clues?

respectfully
BJ
bjchip
 
Posts: 2
Joined: Sun Mar 29, 2009 10:43 pm

Re: Configuring Hermes for embedded messaging of WAS 6.1

Postby Colin » Wed Apr 01, 2009 10:36 am

Hi,

No I never did get round to this... not finding much time for open sourcing at the moment :(

Did you try and set the property by hacking the hermes.sh/hermes.bat startup script?

Regards,

Colin.
Colin
Site Admin
 
Posts: 835
Joined: Sun Sep 19, 2004 4:49 pm
Location: London, UK


Return to IBM WebSphere Embedded JMS

Who is online

Users browsing this forum: No registered users and 1 guest