Subject | Re: JDBC and connectivity in an Applet - using FB 1.5.3 - baffled. |
---|---|
Author | plinehan |
Post date | 2009-03-27T11:06:07Z |
In Firebird-Java@yahoogroups.com, Roman Rokytskyy <roman@...> wrote:
See below for code - I'm using BlueJ for this, and I've piled
in every jar I can see or find into the libraries and classpaths.
See below - and also, as I said, I have this working no
problem in an app - it's just the applet I can't get
to connect (same libraries and classpaths for app - same
machine and logon in fact!)
Thanks for any help in this matter.
Rgs,
Paul...
linehanp@lg12x27:~/MyDocuments/ITProject/db$ echo $CLASSPATH
/users/ug/linehanp/MyDocuments/ITProject/db
:/users/ug/linehanp/MyDocuments/ITProject/db/jdbc
:/users/ug/linehanp/MyDocuments/Interbase/Firebird/Linux/BlueJ/bluej/lib
:/users/ug/linehanp/opt/python/bin
:/users/ug/linehanp/MyDocuments/Interbase/Firebird/Linux/dbTest
:.
:/users/ug/linehanp/paul/bin
:/usr/local/bin
:/usr/bin:/bin:/usr/games
<head>
<title>AppletCust Applet</title>
</head>
<body>
<h1>AppletCust Applet</h1>
<hr>
<applet code="AppletCust.class"
width=500
height=500
codebase="."
archive="file
:/users/ug/linehanp/MyDocuments/Interbase/Firebird/Linux/BlueJ/bluej/lib/bluejcore.jar,file
:/users/ug/linehanp/MyDocuments/Interbase/Firebird/Linux/BlueJ/bluej/lib/junit.jar,file
:/users/ug/linehanp/MyDocuments/ITProject/db/mini-j2ee.jar,file
:/users/ug/linehanp/MyDocuments/ITProject/db/jaas.jar,file
:/users/ug/linehanp/MyDocuments/ITProject/db/log4j-core.jar,file
:/users/ug/linehanp/MyDocuments/ITProject/db/jaybird-full-2.1.6.jar,file
:/users/ug/linehanp/MyDocuments/ITProject/db/"
alt="Your browser understands the <APPLET> tag but isn't running the applet, for some reason."
</applet>
<hr>
</body>
</html>
> You have to add Jaybird's jar file to the codebase parameters of theHi Roman,
> applet. Did you do this?
See below for code - I'm using BlueJ for this, and I've piled
in every jar I can see or find into the libraries and classpaths.
See below - and also, as I said, I have this working no
problem in an app - it's just the applet I can't get
to connect (same libraries and classpaths for app - same
machine and logon in fact!)
Thanks for any help in this matter.
Rgs,
Paul...
linehanp@lg12x27:~/MyDocuments/ITProject/db$ echo $CLASSPATH
/users/ug/linehanp/MyDocuments/ITProject/db
:/users/ug/linehanp/MyDocuments/ITProject/db/jdbc
:/users/ug/linehanp/MyDocuments/Interbase/Firebird/Linux/BlueJ/bluej/lib
:/users/ug/linehanp/opt/python/bin
:/users/ug/linehanp/MyDocuments/Interbase/Firebird/Linux/dbTest
:.
:/users/ug/linehanp/paul/bin
:/usr/local/bin
:/usr/bin:/bin:/usr/games
<head>
<title>AppletCust Applet</title>
</head>
<body>
<h1>AppletCust Applet</h1>
<hr>
<applet code="AppletCust.class"
width=500
height=500
codebase="."
archive="file
:/users/ug/linehanp/MyDocuments/Interbase/Firebird/Linux/BlueJ/bluej/lib/bluejcore.jar,file
:/users/ug/linehanp/MyDocuments/Interbase/Firebird/Linux/BlueJ/bluej/lib/junit.jar,file
:/users/ug/linehanp/MyDocuments/ITProject/db/mini-j2ee.jar,file
:/users/ug/linehanp/MyDocuments/ITProject/db/jaas.jar,file
:/users/ug/linehanp/MyDocuments/ITProject/db/log4j-core.jar,file
:/users/ug/linehanp/MyDocuments/ITProject/db/jaybird-full-2.1.6.jar,file
:/users/ug/linehanp/MyDocuments/ITProject/db/"
alt="Your browser understands the <APPLET> tag but isn't running the applet, for some reason."
>Your browser is ignoring the <APPLET> tag!
</applet>
<hr>
</body>
</html>
> Roman