I have a Java swing application that accession EJB's deployed on
a Weblogic 8 server.
I've been trying to "bundle" that swing app in a .jar
so that it can be downloadable from a website using Java Web Start.
This .jar file includes the classes from weblogic.jar as well
as my application classes.
I create the jar, and I include that jar in a .ear file.
I deploy that .ear file on my Weblogic server.
I go to a browser, and access my .jnlp file.
Web Start downloads the .jar file, however the console output
shows the following error (i'll show generic classnames):
java.lang.ClassNotFoundException: mypackage.myclass_whd532_HomeImpl_813_WLStub
at com.sun.jnlp.JNLPClassLoader$1.run(Unknown source)
at java.security.AccessController.doPrivileged(Native Method)
....
Now, I have limited knowlodge J2EE apps and Weblogic.
My understanding is that WLStub classes are generated dynamically.
Does anyone know how to fix this error, or
another method for me to "distribute" a rich client that needs
to access ejb's?
Thanks
Tor Iver Wilhelmsen - 22 Sep 2004 09:41 GMT
> My understanding is that WLStub classes are generated dynamically.
Sort of. You can run ejbc yourself:
http://e-docs.bea.com/wls/docs61/ejb/EJB_utilities.html#1075296
Oh, and cross-posting between "closed" newsgroups and "open" is not
always a good idea. I've trimmed the weblogic.* group since it isn't
on the news server I use.