derbyclient.jar-1

Hi, Has anyone heard of or has the 'derbyclient.jar-1' file? I need it to complete the Userbuild example from the fieldguide but I cannotfind this file.Can somebody help!!!Thanks
[222 byte] By [new@sun] at [2007-11-26 8:47:14]
# 1
There's a derbyclient.jar at $creator_install/SunAppServer8/derby/lib.I think this should be the one you are looking for.HTH,Sakthi
sakthivelgopal at 2007-7-6 22:34:03 > top of Java-index,Development Tools,Java Tools...
# 2
Hi, My userbuild example project asks me for "derbyclient.jar" AND THE "derbyclient.jar-1" file.My project does not run due this file not being present.
new@sun at 2007-7-6 22:34:03 > top of Java-index,Development Tools,Java Tools...
# 3

Here's what i did:

+ right clicked on the Libraries node, chose Properties

+ Removed the broken library references

+ Ensured/Added the derbyclient.jar to this list

+ Chose Run File/Project on DerbyLoginDB.java

It gave me:

Error on url jdbc:derby://localhost:21527/sample

ERROR: SQLException: Connection authorization failure occurred. Reason: userid invalid.

org.apache.derby.client.am.SqlException: Connection authorization failure occurred. Reason: userid invalid.

I have then modified the line:

String url = "jdbc:derby://localhost:" + port + "/sample";

to:

String url = "jdbc:derby://localhost:" + port + "/sample;user=dbadmin;password=dbadmin";

Reran the project, it worked fine!

HTH,

Sakthi

sakthivelgopal at 2007-7-6 22:34:03 > top of Java-index,Development Tools,Java Tools...