Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applet ClassNotFoundException

 
Aaron Ehrensberger
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm trying to run an applet. My app server is Jboss.

I only want to put my one main applet class in the jar that resides in the war file and then have the utility classes reside in a common area so that other .ears can see them as well. Originally, I thought this would be in the server lib directory, but I believe that I see that the files need to go into the client directory to be accessed by the applet. The problem is that the applet class is not finding my utility classes and throwing a ClassNotFoundException.

Thoughts on things to try? Is my thinking off base on whether or not this should work? Do I need to somehow specify what's in the lib directory?

The archive tag in the applet looks like this...

ARCHIVE = "Applet.jar, log4j.jar, jboss-client.jar, jboss-j2ee.jar, jbosssx-client.jar, jnp-client.jar, jndi.jar, jaas.jarjboss-j2ee.jar, jsse.jar, jboss-common-client.jar, jnp-client.jar, jnet.jar, jboss-transaction-client.jar, Oromatcher.jar, quicktable2swing11.jar, SimShopAppNonEJB.jar"

With SimShopAppNonEJB.jar containing my utility class. I thought that just putting it in the same directory with these other jboss classes would work, but apparently I'm still off base.

Thoughts?

Thanks,
Aaron
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic