This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Cannot deploy Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Cannot deploy" Watch "Cannot deploy" New topic
Author

Cannot deploy

Dean Pullen
Ranch Hand

Joined: May 30, 2003
Posts: 58
Hi.

Using 4.2.1GA and getting a NamingException comp not bound whenever I do a redeploy of my app.
Stopping and starting JBoss ensures it runs fine without any error.

Any ideas?

Get this kind of error:

javax.naming.NameNotFoundException: comp not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:589)
at javax.naming.InitialContext.lookup(InitialContext.java:392)

Even though previously the deploy worked.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cannot deploy
 
Similar Threads
Error - PLEASE HELP
Session factory Error
JNDI question in JBoss environment
Issue with JBoss restart
Session bean not bound