Re: Windows 2008 and Java Connector
Posted by: Volker Jahns
Date: July 31, 2012 02:48AM

Exception in thread "AWT-EventQueue-2" java.lang.ExceptionInInitializerError
01 at com.mysql.jdbc.Util.stackTraceToString(Util.java:355)
02 at com.mysql.jdbc.Util.<clinit>(Util.java:120)
03 at com.mysql.jdbc.NonRegisteringDriver.parseURL(NonRegisteringDriver.java:764)
04 at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:325)
05 at java.sql.DriverManager.getConnection(Unknown Source)
06 at java.sql.DriverManager.getConnection(Unknown Source)
07 at javaSQL.connect(javaSQL.java:115)
08 at javaTAS.RTK_00logon(javaTAS.java:5921)
09 at javaTAS.RTK_00initAppl(javaTAS.java:2237)

I think the relevant part start with line numer 07.
Here my one JAVA app ends and uses the system parts.... my URL connect string is: jdbc:mysql://192.168.56.176:3306/myDatabase?user=abc&password=123 *1
And it works now from the Netbean environment but not from own App?!?!?

My App is an older APPLET and it is all on the same server with the same IP number. Also the mysql server is listing on IP 192.168.56.176.

It must be somthing simple - but I don't see it...

*1 user and pwd is for real different....

Options: ReplyQuote


Subject
Written By
Posted
Re: Windows 2008 and Java Connector
July 31, 2012 02:48AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.