• Post Reply Bookmark Topic Watch Topic
  • New Topic

Applet ClassNotFoundException  RSS feed

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

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.


  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!