Hi, there: After upgrading to jboss3.2.6 (from 2.4.8), to run our jar application (java -jar app.jar), I got that NoInitialContextException:
| javax.naming.NoInitialContextException: Need to specify class name in environmen | t or system property, or as an applet parameter, or in an application resource f | ile: java.naming.factory.initial | in my app.jar file the class-path is set as: | Class-Path: jaxp.jar crimson.jar jboss-j2ee.jar jboss-client.jar jboss-jaas.jar jbosssx-client.jar jboss-common.jar jnp-client.jar log4j.jar jbossmq-client.jar jh.jar concurrent.jar jboss-transaction.jar jndi.properties log4j.properties | If I overwrite jnp-client.jar with old 2.4.8 version, it can find the InitialContext without any problem. So, just wonder, my class-path must set wrong, could anyone please tell me the problem? or did I miss some jboss jar files in my classpath? Highly appreciated any help and thanks a lot in advance. David View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3866707#3866707 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3866707 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
