Hi,
I'm using
JBOSS 4.0, JDK 1.5 & mysql 5.
When I'm trying to access the DB from my
JSP pages I have no problems.
But when I try to do it from an
applet I get the following error:
javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.lookup(Unknown Source)
at com.imagine.em.QOD_GW.charts.BitRateChartApplet.init(BitRateChartApplet.java:64)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
I tried to add all the jars to my CLASSPATH but it didn't help.
Anybody has any idea?
Thanks a lot,
Efrat