🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.database
Article #154

applet + mysql

#154
From: stefman
Date: Thu, 06 Apr 2006 21:31
36 lines
1971 bytes
Hello everyone,

I'm deploying an applet that connects to a MySQL Database
i'm using the connectorj 3.1.
When i deploy my applet within JBuilder all work as expected
the SQL query executed fine and the results are shown at the 
applet.
When i deployed to the web server the applet is loaded at the
web page but i'm taking the following error:

java.lang.ExceptionInInitializerError

	at com.mysql.jdbc.Connection.<init>(Connection.java:1174)

	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:264)

	at java.sql.DriverManager.getConnection(DriverManager.java:512)

	at java.sql.DriverManager.getConnection(DriverManager.java:171)

	at elcs_applet.elcs_main.jbInit(elcs_main.java:93)

	at elcs_applet.elcs_main.init(elcs_main.java:42)

	at sun.applet.AppletPanel.run(AppletPanel.java:353)

	at java.lang.Thread.run(Thread.java:534)

Caused by: java.lang.RuntimeException: Unable to initialize character set mapping tables

	at com.mysql.jdbc.CharsetMapping.<clinit>(CharsetMapping.java:73)

	... 8 more

Any ideas.Thanks Steve.
Technical Details
Message-ID: <443588aa@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsfeed.gamma.ru!Gamma.RU!news-out2.kabelfoon.nl!newsfeed.kabelfoon.nl!xindi.nntp.kabelfoon.nl!213.132.189.2.MISMATCH!multikabel.net!feed20.multikabel.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 1073da,555ae1dc4d3f0a1e,start
X-Google-Attributes: gid1073da,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "stefman" <manstef@gmail.com>
Sender: "stefman" <manstef@gmail.com>
Reply-To: "stefman" <manstef@gmail.com>
Subject: applet + mysql
Newsgroups: borland.public.jbuilder.database
X-User-Info: 195.130.67.108     
NNTP-Posting-Host: 207.105.83.66
Message-ID: <443588aa@newsgroups.borland.com>
Date: 6 Apr 2006 14:31:22 -0700
X-Trace: newsgroups.borland.com 1144359082 207.105.83.66 (6 Apr 2006 14:31:22 -0700)
Lines: 36
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsfeed.gamma.ru!Gamma.RU!news-out2.kabelfoon.nl!newsfeed.kabelfoon.nl!xindi.nntp.kabelfoon.nl!213.132.189.2.MISMATCH!multikabel.net!feed20.multikabel.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail