File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Cannot deploy" Watch "Cannot deploy" New topic

Cannot deploy

Dean Pullen
Ranch Hand

Joined: May 30, 2003
Posts: 58

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(
at org.jnp.server.NamingServer.getBinding(
at org.jnp.server.NamingServer.getObject(
at org.jnp.server.NamingServer.lookup(
at org.jnp.interfaces.NamingContext.lookup(
at org.jnp.interfaces.NamingContext.lookup(
at javax.naming.InitialContext.lookup(

Even though previously the deploy worked.
I agree. Here's the link:
subject: Cannot deploy
It's not a secret anymore!