I use Sun One Application Server v8.1
I tried the example tutorial providede by sun site to explain how to deploy applications in sun server 8.1
I followed the below site
http://java.sun.com/j2ee/1.4/docs/tutorial-update6/doc/index.html and the tutorial used in this site atlast i deployed the application and got the client jar
But while i try to run,i get the following error:
Caught an unexpected exception!
java.lang.ClassCastException
at com.sun.corba.ee.impl.javax.rmi.PortableRemoteObject.narrow(PortableR
emoteObject.java:229)
at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137)
at ConverterClient.main(ConverterClient.java:44)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:23
7)
at com.sun.enterprise.appclient.Main.<init>(Main.java:426)
at com.sun.enterprise.appclient.Main.main(Main.java:97)
Caused by: java.lang.ClassCastException: Object is not of remote type converter.
ConverterHome
at com.sun.corba.ee.impl.javax.rmi.PortableRemoteObject.narrow(PortableR
emoteObject.java:221)
... 9 more
Actually after deployement the client jar is returned to the specific dir and when i verify
j2ee compliance for the application the result shows a
result
Error verifying:c:\...\..\ApplicationClient.ear:null
is returned
please help mme use the below site to follow my problem
http://java.sun.com/j2ee/1.4/docs/tutorial-update6/doc/index.html