Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Tools / September 2004

Tip: Looking for answers? Try searching our database.

Downloading Java Swing app that will access EJB

Thread view: 
JW - 22 Sep 2004 02:35 GMT
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.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.