Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

java:comp/env namespace is only available from within J2EE component

Status
Not open for further replies.

hoctro

Technical User
Mar 29, 2001
34
US
Author: hoctro1
Oct 12, 2001 12:35 PM


HI
I am writing a standalone application program to access the bean using jdk1.3.1 and it's giving me the namespace error.
I deployed the bean and included the .jar file in CLASSPATH. In the program, I specify the correct namespace to lookup since it's already
registered through deployment
When I run the application, I get the exception error with namespace only available withing j2ee component.

Does anyone know what's the problem?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top