Subject | Re: [Firebird-Java] NoClassDefFoundError |
---|---|
Author | David Jencks |
Post date | 2003-04-29T16:59:52Z |
you need the jca classes at least from min-j2ee.jar. You might need the
concurrent jar also, I'm not sure.
david jencks
concurrent jar also, I'm not sure.
david jencks
On 2003.04.29 11:58 Marco Ferretti wrote:
> Hi there all !
> I have an applet (ment to run in an intranet ) that connects to a fb
> server via JayBird.
> If I run the applet locally everything works fine, but if I try to run it
> from the server (SuSe 8.0, Apache 1.3x) I get a
> java.lang.NoClassDefFoundError: javax/resource/ResourceException
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:140)
> ...
> doing
> ...
> String clName = "org.firebirdsql.jdbc.FBDriver";
> ...
> Class.ForName(clName);
>
> I call the applet from an html page :
> <applet ARCHIVE="./lib/JGo.jar,./lib/JGoLayout.jar,./lib/JGoSVG.jar,./lib/firebirdsql.jar,./lib/jaas.jar"
> CODE=sid.modeler.Sid.class WIDTH=900 HEIGHT=500>
> I have included jaas.jar since I wasn't sure about all of the clients ...
> Note that all other libraries work fine (I can use all the objects got
> from JGo*.jar in the applet).
> Any idea ?
> TIA
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
> <META content="MSHTML 6.00.2800.1170" name=GENERATOR>
> <STYLE></STYLE>
> </HEAD>
> <BODY bgColor=#ffffff>
>
>
> <DIV><FONT face="Comic Sans MS" color=#000080 size=2>Hi there all !
> </FONT></DIV>
> <DIV><FONT face="Comic Sans MS" color=#000080 size=2>I have an applet
> (ment to
> run in an intranet ) that connects to a fb server via JayBird.
> </FONT></DIV>
> <DIV><FONT face="Comic Sans MS" color=#000080 size=2>If I run the applet
> locally
> everything works fine, but if I try to run it from the server (SuSe 8.0,
> Apache
> 1.3x) I get a java.lang.NoClassDefFoundError:
> javax/resource/ResourceException</FONT></DIV>
> <DIV><FONT face="Comic Sans MS" color=#000080 size=2> at
> java.lang.Class.forName0(Native Method)</FONT></DIV>
> <DIV><FONT face="Comic Sans MS" color=#000080 size=2> at
> java.lang.Class.forName(Class.java:140)</FONT></DIV>
> <DIV><FONT face="Comic Sans MS" color=#000080 size=2>...</FONT></DIV>
> <DIV><FONT face="Comic Sans MS" color=#000080 size=2>doing </FONT></DIV>
> <DIV><FONT face="Comic Sans MS" color=#000080 size=2>...</FONT></DIV>
> <DIV><FONT face="Comic Sans MS" color=#000080 size=2>String clName =
> "org.firebirdsql.jdbc.FBDriver";</FONT></DIV>
> <DIV><FONT face="Comic Sans MS" color=#000080 size=2>...</FONT></DIV>
> <DIV><FONT face="Comic Sans MS" color=#000080
> size=2>Class.ForName(clName);<BR></FONT></DIV>
> <DIV><FONT face="Comic Sans MS" color=#000080 size=2>I call the applet
> from an
> html page : </FONT></DIV>
> <DIV><FONT face="Comic Sans MS" color=#000080 size=2><B><FONT
> size=1><FONT
> size=2><applet</FONT></B><FONT size=2>
> ARCHIVE=<B>"./lib/JGo.jar,./lib/JGoLayout.jar,./lib/JGoSVG.jar,./lib/firebirdsql.jar,./lib/jaas.jar"</B>
>
> CODE=sid.modeler.Sid.class WIDTH=<B>900</B> HEIGHT=<B>500></B><BR>I
> have
> included jaas.jar since I wasn't sure about all of the clients
> ...</FONT></FONT></FONT></DIV>
> <DIV><FONT face="Comic Sans MS" color=#000080 size=2><FONT size=1><FONT
> size=2>Note that all other libraries work fine (I can use all the objects
> got
> from JGo*.jar in the applet).</FONT></FONT></FONT></DIV>
> <DIV><FONT face="Comic Sans MS" color=#000080 size=2><FONT size=1><FONT
> size=2>Any idea ?</FONT></FONT></FONT></DIV>
> <DIV><FONT face="Comic Sans MS" color=#000080 size=2><FONT size=1><FONT
> size=2>TIA</FONT></DIV></FONT></FONT>
> <br>
>
> <!-- |**|begin egp html banner|**| -->
>
> <table border=0 cellspacing=0 cellpadding=2>
> <tr bgcolor=#FFFFCC>
> <td align=center><font size="-1" color=#003399><b>Yahoo! Groups
> Sponsor</b></font></td>
> </tr>
> <tr bgcolor=#FFFFFF>
> <td align=center width=470><a href="http://rd.yahoo.com/M=229633.3212141.4526654.2595810/D=egroupweb/S=1705006764:HM/A=1556779/R=0/*http://shop.store.yahoo.com/cgi-bin/clink?ftd2+shopping:dmad/M=229633.3212141.4526654.2595810/D=egroupweb/S=1705006764:HM/A=1556779/R=1/1051634390+http://us.rmi.yahoo.com/rmi/http://www.ftd.com/rmi-framed-url/http://www.ftd.com/yahoo36"><img
> src="http://us.a1.yimg.com/us.yimg.com/a/ft/ftd2/yahoogroups300x250.gif"
> alt="" width="300" height="250" border="0"></a></td>
> </tr>
> <tr><td><img alt="" width=1 height=1
> src="http://us.adserver.yahoo.com/l?M=229633.3212141.4526654.2595810/D=egroupmail/S=:HM/A=1556779/rand=283175548"></td></tr>
> </table>
>
> <!-- |**|end egp html banner|**| -->
>
>
> <br>
> <tt>
> To unsubscribe from this group, send an email to:<BR>
> Firebird-Java-unsubscribe@yahoogroups.com<BR>
> <BR>
> </tt>
> <br>
>
> <br>
> <tt>Your use of Yahoo! Groups is subject to the <a
> href="http://docs.yahoo.com/info/terms/">Yahoo! Terms of
> Service</a>.</tt>
> </br>
>
> </BODY></HTML>
>