[jboss-user] [Beginner's Corner] - Re: Shutting jboss

Peter Johnson do-not-reply at jboss.com
Mon Jun 6 09:42:01 EDT 2011


Peter Johnson [http://community.jboss.org/people/peterj] created the discussion

"Re: Shutting jboss"

To view the discussion, visit: http://community.jboss.org/message/608756#608756

--------------------------------------------------------------
Here is the root cause:

>>Caused by: java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory

That class appears in several JAR file but I suspect that shutdown will use the one from client/jnp-client.jar (or perhaps client/jbossjmx-ant.jar) based on the classpath set on line 67 of shutdown.sh.

I suspect that there is something wrong in your setup. I would look at the following:

1) Did you make any changes to shutdown.sh?

2) Verify that the two JAR files I mentioned exist.

3) Do you have JBOSS_HOME set? If so, unset it! The shutdown script will set it automatically.

4) Determine the full command line passed to the java process (for shutdown). You can do this by either running ps while the java process is running (could be tricky, it won't run long), or by editing the shutdown.sh to echo the command.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/608756#608756]

Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110606/6cb6cd14/attachment-0001.html 


More information about the jboss-user mailing list