• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

NoInitialContextException & could not create deployment: file......

 
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

Iam getting this error when running the client. Client jar file is deployed successfully.

"11:09:39,350 INFO [STDOUT] javax.naming.NoInitialContextException: Cannot insta
ntiate class: org.jnp.interfaces.NamingcontextFactory. Root exception is
11:09:39,350 INFO [STDOUT] java.lang.ClassNotFoundException: org.jnp.interfaces
.NamingcontextFactory
..................."

This error I assume is because it is not finding 'jnp-client.jar' in classpath.

I tried setting this in run.bat, but it is then giving the error
"11:14:00,265 ERROR [MainDeployer] could not create deployment: file:/C:/jboss-4.
0.0RC1/server/default/conf/jboss-service.xml
org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect
.UndeclaredThrowableException)
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
:139)......"

How to set this. Is there anything Iam missing.

Iam trying to deploy and run application which is successfully deployed and run in weblogic.
Iam using JBOSS version 4.0.0RC1. Deployment in JBoss is successfull.

Immediate help appreiciated. Thanks in advance

- Avinash
 
Could you hold this puppy for a sec? I need to adjust this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic