JBossAS 4.2.2; HermesJMS 1.13; Searching context...

Using Hermes with JBoss

JBossAS 4.2.2; HermesJMS 1.13; Searching context...

Postby egfesser » Thu Feb 07, 2008 8:43 am

Attempting to browse the InitialContext results in perpetual "Searching context JBoss..." message that does not result in JNDI tree like that shown in the demo. Has anyone seen this?
egfesser
 
Posts: 2
Joined: Thu Feb 07, 2008 8:35 am

Re: JBossAS 4.2.2; HermesJMS 1.13; Searching context...

Postby Colin » Thu Feb 07, 2008 9:32 am

I've certainly never seen it.

Which JMS are you using? What are your JNDI parameters? Is there anything in hermes.log?

Regards,

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

Re: JBossAS 4.2.2; HermesJMS 1.13; Searching context...

Postby egfesser » Thu Feb 07, 2008 11:18 am

Colin, I am using JBossMQ. Standard JNDI parameters as that in the JBossAS demo, with no security credentials, and the port has been changed to 1097. The hermes.log file does not seem to show anything:

2008-02-07 02:38:59,421 [Hermes ThreadPool-3] DEBUG hermes.browser.tasks.ThreadPool - task hermes.browser.tasks.JNDIBrowseTask@15cd69c starting
2008-02-07 02:38:59,421 [Hermes ThreadPool-3] DEBUG hermes.impl.SimpleClassLoaderManager - getting existing classLoader for JBossAS
2008-02-07 02:38:59,421 [Hermes ThreadPool-3] DEBUG hermes.impl.LoaderSupport - set hermes.JNDIContextFactory providerURL=jnp://localhost:1097
2008-02-07 02:38:59,421 [Hermes ThreadPool-3] DEBUG hermes.impl.LoaderSupport - set hermes.JNDIContextFactory initialContextFactory=org.jnp.interfaces.NamingContextFactory
2008-02-07 02:38:59,421 [Hermes ThreadPool-3] DEBUG hermes.JNDIContextFactory - properties: {java.naming.provider.url=jnp://localhost:1097, java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory}
2008-02-07 02:38:59,421 [Hermes ThreadPool-3] DEBUG hermes.browser.model.tree.ContextTreeNode - Searching context JBoss...

Any point in the right direction is appreciated.
egfesser
 
Posts: 2
Joined: Thu Feb 07, 2008 8:35 am

Re: JBossAS 4.2.2; HermesJMS 1.13; Searching context...

Postby Colin » Mon Feb 11, 2008 10:39 am

Seems odd. Try and get a stack dump:

1. Change the way the Java VM is launched in hermes.bat to:

"%JAVA_HOME%\bin\java" -Xmx1024m -Dhermes.home="%HERMES_HOME%" %HERMES_OPTS% -Dlog4j.configuration="file:%HERMES_HOME%\bin\log4j.props" -Dsun.java2d.noddraw=true -Dhermes="%HERMES_CONFIG%\hermes-config.xml" -Dhermes.libs="%HERMES_LIBS%" hermes.browser.HermesBrowser 2> hermes.err > hermes.out

Note the redirect. When running this hermes.out and hermes.err end up in your .hermes directory.

2. Start Hermes

3. CTRL-BREAK in the empty dos box will send the stack dump to hermes.out. Do it a few times.

If a thread is stuck in a loop somewhere this should tell us.

Whats the CPU like?

Could it just be that nothing is bound into the context?

Regards,

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


Return to JBoss

Who is online

Users browsing this forum: No registered users and 1 guest

cron