R
Ray
I am running the first example Application Client (chapter 2) from the
J2EE 1.3 tutorial document from Sun and when I execute from the
command line I get the error below.
I am running j2sdk1.4.2_01 and j2sdkee1.3.1 on Redhat Linux 9.0.
The web client works fine but not the application client. I followed
the tutorial instruction carefully and did it several times with no
luck.
Any help is appreciated.
Thanks,
-Ray
Caught an unexpected exception!
javax.naming.NameNotFoundException: No object bound to name
java:comp/env/ejb/SimpleConverter
at com.sun.enterprise.naming.NamingManagerImpl.lookup(NamingManagerImpl.java:578)
at com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:90)
at ConverterClient.main(ConverterClient.java:21)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:229)
at com.sun.enterprise.appclient.Main.main(Main.java:155)
J2EE 1.3 tutorial document from Sun and when I execute from the
command line I get the error below.
I am running j2sdk1.4.2_01 and j2sdkee1.3.1 on Redhat Linux 9.0.
The web client works fine but not the application client. I followed
the tutorial instruction carefully and did it several times with no
luck.
Any help is appreciated.
Thanks,
-Ray
Caught an unexpected exception!
javax.naming.NameNotFoundException: No object bound to name
java:comp/env/ejb/SimpleConverter
at com.sun.enterprise.naming.NamingManagerImpl.lookup(NamingManagerImpl.java:578)
at com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:90)
at ConverterClient.main(ConverterClient.java:21)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:229)
at com.sun.enterprise.appclient.Main.main(Main.java:155)