Beginner Has Problem With Loading JDBC Driver Using MySQL
Hi, I am having problem with loading JDBC driver, and need your diagnotic help.
1. I have installed MySQL (C:\mysql), created a databse (soup), and created a littel table (VIDEOS). I am able to see the table in the console:
sql> select * from videos
2. I have downloaded the latest version of Connector/J (mysql-connector-java-3.1.0-alpha.zip), and unzip the zip file into my C:\ directory.
3. I copied the mysql-connector-java-3.1.0-alpha-bin.jar to the C:\j2sdk1.4.1_02\jre\lib\ext folder and it is in my CLASSPATH
4. MySQL server is running
C:\> C:\mysql\bin\mysqld-nt --standalone
5. open another DOS window and use the database
mysql>USE SOUP
6. succesfully compiled a Java program (javac Test.java):
import java.sql.* ;
public class Test
public static void main( String[] args )
try
Class.forName("org.gjt.mm.mysql.Driver").newInstance();
try
Connection con = DriverManager.getConnection( "jdbc:mysql://localhost:3306/soup" );
try
Statement statement = con.createStatement();
ResultSet rs = statement.executeQuery("SELECT TITLE FROM VIDEOS");
while ( rs.next() )
System.out.println( rs.getString( "TITLE" ) );
rs.close();
statement.close();
catch ( SQLException e )
System.out.println( "JDBC error: " + e );
finally
con.close();
catch( SQLException e )
System.out.println( "could not get JDBC connection: " + e );
catch( Exception e )
System.out.println( "could not load JDBC driver: " + e );
7. when I run the Java program (java Test), I got
the message:
could not load JDBC driver: java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver
What am I missing?
Hi,
I missed to specify test in my last post.
Try running your program by explicitly setting the classspath when
running your program . java -classpath c:\mysql-connector-java-3.1.0-alpha-bin.jar test
Make sure your jar file contains org.gjt.mm.mysql.Driver class
Similar Messages
-
Problem with type 4 driver using oracle 10g
HI,
I am unable to establish a type 4 connection with oracle 10g.
Specs:
Driver used: OracleDriver that comes with the ojdbc14.jar along with oracle 10g
JDK used: Tried using both j2sdk1.4.2 and using JDK 5.0
JRE: Again, JRE that was shipped with j2sdk 1.4.2 and JRE 5.0
OS: Windows XP sp2
I am able to compile the following piece of code, so there is no classpath problem, etc.
When I try to run the program, the exception thrown is "No Suitable Driver"
There is no problem with the TNSListener, etc...even if all Oracle related services in 'services.msc' are Started/Stopped, the error remains.
I am, however, able to establish the connection using type1 driver.
Please Help!
import java.sql.*;
import java.io.*;
class TestConn
Connection connection;
Statement statement;
ResultSet resultset;
public void testConn() throws SQLException, ClassNotFoundException
DriverManager.registerDriver(new oracle.jdbc.driver.OracleStatement());
//DriverManager.registerDriver(new sun.jdbc.odbc.JdbcOdbcDriver());
connection = DriverManager.getConnection("oracle:jdbc:thin:@127.0.0.1:1521", "scott", "tiger");
//connection = DriverManager.getConnection("jdbc:odbc:dsn1", "scott", "tiger");
System.out.println("Connection Established");
statement = connection.createStatement();
resultset = statement.executeQuery("select ename from emp");
while(resultset.next())
System.out.println(resultset.getString(1));
class Test
public static void main(String args[]) throws SQLException, ClassNotFoundException
TestConn obj = new TestConn();
obj.testConn();
};The JDBC URL should include the database SID. For example, if the database SID is Orcl
connection = DriverManager.getConnection("oracle:jdbc:thin:@127.0.0.1:1521:Orcl", "scott", "tiger"); -
Problem with Oracle jdbc driver and jdk1.4
Hi
I have some java code which uses Oracle jdbc driver.
This code works with java 1.1.8, 1.2 & 1.3 but not with java 1.4 !
I have that exception :
java.sql.SQLException: The Network Adapter could not establish the connection
at oracle/jdbc/dbaccess/DBError.check_error(DBError.java)
at oracle/jdbc/driver/OracleConnection.<init>(OracleConnection.java)
at oracle/jdbc/driver/OracleDriver.getConnectionInstance(OracleDriver.java)
at oracle/jdbc/driver/OracleDriver.connect(OracleDriver.java)
at java/sql/DriverManager.getConnection(DriverManager.java:529)
at java/sql/DriverManager.getConnection(DriverManager.java:179)
at SimpleQuery.<init>(SimpleQuery.java:21)
at SimpleQuery.main(SimpleQuery.java:56)
when I try a getConnection...
I've tried all the jdbc drivers provided by Oracle, but it's still the same problem !
Any Idea ?
ThanksHave you tried the drivers shipped with Oracle9i Db R2? they should work against JDK 1.4
Kuassi
Hi
I have some java code which uses Oracle jdbc driver.
This code works with java 1.1.8, 1.2 & 1.3 but not with java 1.4 !
I have that exception :
java.sql.SQLException: The Network Adapter could not establish the connection
at oracle/jdbc/dbaccess/DBError.check_error(DBError.java)
at oracle/jdbc/driver/OracleConnection.<init>(OracleConnection.java)
at oracle/jdbc/driver/OracleDriver.getConnectionInstance(OracleDriver.java)
at oracle/jdbc/driver/OracleDriver.connect(OracleDriver.java)
at java/sql/DriverManager.getConnection(DriverManager.java:529)
at java/sql/DriverManager.getConnection(DriverManager.java:179)
at SimpleQuery.<init>(SimpleQuery.java:21)
at SimpleQuery.main(SimpleQuery.java:56)
when I try a getConnection...
I've tried all the jdbc drivers provided by Oracle, but it's still the same problem !
Any Idea ?
Thanks -
Problems with Oracle jdbc Driver
Hi... I'm trying to connect to my Oracle Database and I get the folowing error:
"package oracle.jdbc.driver does not exist"
I have installed Oracle 9.1.0.2 Database...
The value of the Classpath variable is:
".;c:\oracle\ora92\jdbc\lib"
What could be the problem???...
Thanks in advance.-
Alberto.-Are you building your application from the command line? Or using a GUI? GUI's will frequently overwrite your CLASSPATH environment variable...
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC -
Problem with GenericCatalogDAO JDBC Resultset using parameters not working
Hello
I have a problem with Petstore GenericCatalogDAO. java. The problem is the behaviour of the resultset object when retrieving data from the database.Below are two synareos one that
works (when) hard coded and one that does not work when parameter values passed into the the result set.
1. The code the WORKS.
statement = connection.prepareStatement("select a.productid , name, descn from product a, product_details b
where a.productid = b.productid and locale= 'en_US' and a.catid = 'FISH' order by name"
,ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY);
resultSet = statement.executeQuery();
resultSet.absolute(1);
String s = resultSet.getString(1);
The code that gives me a 'exhausted resultset' error which I think means no results
String[] parameterValues = new String[] { locale.toString(), categoryID };(For example parameters are 'en_US' and 'FISH')
statement = connection.prepareStatement("select a.productid , name, descn from product a, product_details b
where a.productid = b.productid and locale=? and a.catid =? order by name"
,ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY);
for (int i = 0; i < parameterValues.length; i++) {
statement.setString(i + 1, parameterValues[i]);
resultSet = statement.executeQuery();
resultSet.absolute(1);
String s = resultSet.getString(1);
There is obviously a problem using these named parametevalues with these preparedstatement resultset, Does anybody know anything about this and a fix for it????
Cheers. RogerWhich version of PetStore are you using?
-Larry -
InDesign CS2 has problems with multiple hard drives
I have a mac pro that has two external hard drives attached to it. One is connected through usb and the other firewire. When ever I try to open an inDesign file on the hard drive that mounted second I get an error message. However I the hard drive that mounted first works just fine.
The error message is: "Cannot open the document xxx. You may not have permission or the document may be open already. For multi-user access, close the file and then lock it using the File > Get Info command in the Finder."
Any help would be greatly appreciated.I've not had any such problem. It's been a while since I used CS2, but I definitely used it on computers with more than one disk attached. I don't think I had a mix of FireWire and USB drives though.
Dave -
Problem with Sender JDBC adapter using StoredProcedures
Hi All,
I am facing some prblem when i am using StoredProcedure. Please look at the error which i observe in the traces when i try to execute a stored procedure using Sender JDBC channel.
SQLException during query 'execute MAG_C0210.dbo.biz_mag_ubicaciones @data="MAG_C0210" , @idciclovida=" ", @idmaestro=" ", @idtiporeplicacion=" "':com.microsoft.sqlserver.jdbc.SQLServerException: The statement did not return a result set
Please help me in this regard ASAP.
Cheers,
SooryaHi Praveen,
It is working fine when i executed the same in the SQL editor but when I use with XI it is failing with error
mentioned earlier. Please check this and help in solving this asap.
Regards,
Soorya -
Problems with loading source model using omw from sql server 7 into oracle 9i
I am migrating data from sql servr 7 into oracle 9i. when doing capture phase i get the following error.
==>failed to load source model.[microsoft][odbc sql server][sql server]select permission
denied on column 'password' of object 'syslogins', database master, owner dbo.
Why is this so...is it bcz of something with my odbc link...
also is there any way to load only tables and not system tables when doing capture phase.
any help asap will be much appreciated.
thanksHi,
You must ensure that you have the correct password to login to SQL Server.
The Workbench requires some of the tables in the Master database.
Regards
John -
Firefox has problems with images.
In sites like deviantART or ImageShack with full-view option, images that are not in full size/thumbnails get slightly pixelated e.g. http://img251.imageshack.us/f/screenshot2tq.jpg/
Long images get completely messed up if full-viewed e.g. http://img689.imageshack.us/f/screenshot5z.jpg/ (though if the file is only big, it loads just fine)
Also, thumbnails in some sites get messed up e.g. http://img201.imageshack.us/f/screenshotyr.jpg/
And in general, Firefox has more 'glitches' like not allowing to add more search engines. It wasn't like that before and I can only assume that it got messed up somewhere with updates, but I'm not really sure.
I've tried cleaning out cache, re-installing Firefox (multiple times) and even downloaded Firefox 4 beta, but the problem remains.
I use Ubuntu.
Does anyone else have similar problems? Or know where the problem lies?Do you have the latest driver for your graphics display card?
Create a new profile as a test to check if your current profile is causing the problems.
See [[Basic Troubleshooting#Make_a_new_profile|Basic Troubleshooting: Make a new profile]]
If that new profile works then you can transfer some files from the old profile to that new profile (be careful not to copy corrupted files)
See http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox -
Every time I try to open photoshop I get a window that pops up and says:
"Photoshop has encountered a problem with the display driver, and has temporarily disabled GPU enhancements. Check the video card manufacturer's website for the latest software.
GPU enhancements can be enable in the Performance panel of Preferences."
Then windows shuts the program down. The details of the problem are:
"Files that help describe the problem:
C:\Users\Owner\AppData\Local\Temp\WER70AD.tmp.WERInternalMetadata.xml
C:\Users\Owner\AppData\Local\Temp\WER9389.tmp.appcompat.txt
C:\Users\Owner\AppData\Local\Temp\WER9407.tmp.hdmp"
I'm on a custom Asus
I'm using Win7 Home Premium 64-bit
16GB RAM
Nvidia Geforce GTX 560 2GB video card
Intel i7 core 2.2 GHz
12 GB of memory
The error happens so quickly that I don't have time to do anything. Please help. >.< I've been on hold for *checks phone* 2 hours exactly. Wow. It is a legit copy and was working last month with no trouble. I've updated the drivers and tried a few solutions that have worked for other people that I found on Google (such as disabling CUDA and setting my "power management mode" to "prefer maximum performance" on my video card) but so far nothing has worked.
Thanks in advance!It has stopped crashing because somehow it turned off "Enable GL Drawing" on its own because I could never even get a menu open. Not sure how it did that but I am grateful. I still get the error when I open Photoshop up but at least it hasn't crashed yet. At the time when it was crashing I never would have been able to get you the system info due to the speed that it was crashing upon just opening the program. In case you still need it:
Adobe Photoshop Version: 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch]) x64
Operating System: Windows 7 64-bit
Version: 6.1 Service Pack 1
System architecture: Intel CPU Family:6, Model:10, Stepping:7 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2
Physical processor count: 8
Processor speed: 2394 MHz
Built-in memory: 16361 MB
Free memory: 13322 MB
Memory available to Photoshop: 14694 MB
Memory used by Photoshop: 60 %
Image tile size: 128K
Image cache levels: 4
OpenGL Drawing: Disabled.
OpenGL Drawing Mode: Basic
OpenGL Allow Normal Mode: True.
OpenGL Allow Advanced Mode: False.
OpenGL Crash File: Detected.
OpenGL Allow Old GPUs: Not Detected.
Video Card Vendor: NVIDIA Corporation
Video Card Renderer: GeForce GTX 560M/PCIe/SSE2
Display: 1
Display Bounds:= top: 0, left: 0, bottom: 1080, right: 1920
Video Card Number: 1
Video Card: NVIDIA GeForce GTX 560M
Driver Version: 9.18.13.697
Driver Date: 20121002000000.000000-000
Video Card Driver: nvd3dumx.dll,nvwgf2umx.dll,nvwgf2umx.dll,nvd3dum,nvwgf2um,nvwgf2um
Video Mode: 1920 x 1080 x 4294967296 colors
Video Card Caption: NVIDIA GeForce GTX 560M
Video Card Memory: -2047 MB
Serial number: 92628077745082451425
Application folder: C:\Program Files\Adobe\Adobe Photoshop CS5.1 (64 Bit)\
Temporary file path: C:\Users\Owner\AppData\Local\Temp\
Photoshop scratch has async I/O enabled
Scratch volume(s):
C:\, 931.4G, 511.4G free
Primary Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS5.1 (64 Bit)\Plug-ins\
Additional Plug-ins folder: not set
Installed components:
A3DLIBS.dll A3DLIB Dynamic Link Library 9.2.0.112
ACE.dll ACE 2010/12/13-23:37:10 64.449933 64.449933
adbeape.dll Adobe APE 2011/01/17-12:03:36 64.452786 64.452786
AdobeLinguistic.dll Adobe Linguisitc Library 5.0.0
AdobeOwl.dll Adobe Owl 2010/06/03-13:43:23 3.0.93 61.433187
AdobeOwlCanvas.dll Adobe Owl Canvas 3.0.68 61.2954
AdobePDFL.dll PDFL 2010/12/13-23:37:10 64.341419 64.341419
AdobePIP.dll Adobe Product Improvement Program 5.5.0.1265
AdobeXMP.dll Adobe XMP Core 5.0 64.140949
AdobeXMPFiles.dll Adobe XMP Files 5.0 64.140949
AdobeXMPScript.dll Adobe XMP Script 5.0 64.140949
adobe_caps.dll Adobe CAPS 4,0,42,0
adobe_OOBE_Launcher.dll Adobe OOBE Launcher 2.0.0.36 (BuildVersion: 2.0; BuildDate: Mon Jan 24 2011 21:49:00) 1.000000
AFlame.dll AFlame 2011/01/10-23:33:35 64.444140 64.444140
AFlamingo.dll AFlamingo 2011/01/10-23:33:35 64.436825 64.436825
AGM.dll AGM 2010/12/13-23:37:10 64.449933 64.449933
ahclient.dll AdobeHelp Dynamic Link Library 1,6,0,20
aif_core.dll AIF 2.0 53.422628
aif_ogl.dll AIF 2.0 53.422628
amtlib.dll AMTLib (64 Bit) 4.0.0.21 (BuildVersion: 4.0; BuildDate: Mon Jan 24 2011 21:49:00) 1.000000
amtservices.dll AMTServices (64 Bit) 4.0.0.21 (BuildVersion: 4.0; BuildDate: Mon Jan 24 2011 21:49:00) 1.000000
ARE.dll ARE 2010/12/13-23:37:10 64.449933 64.449933
asneu.dll AsnEndUser Dynamic Link Library 1, 7, 0, 1
AXE8SharedExpat.dll AXE8SharedExpat 2011/01/10-23:33:35 64.436825 64.436825
AXEDOMCore.dll AXEDOMCore 2011/01/10-23:33:35 64.436825 64.436825
Bib.dll BIB 2010/12/13-23:37:10 64.449933 64.449933
BIBUtils.dll BIBUtils 2010/12/13-23:37:10 64.449933 64.449933
boost_threads.dll DVA Product 5.0.0
cg.dll NVIDIA Cg Runtime 2.0.0015
cgGL.dll NVIDIA Cg Runtime 2.0.0015
CoolType.dll CoolType 2010/12/13-23:37:10 64.449933 64.449933
data_flow.dll AIF 2.0 53.422628
dvaadameve.dll DVA Product 5.0.0
dvacore.dll DVA Product 5.0.0
dvaui.dll DVA Product 5.0.0
ExtendScript.dll ExtendScript 2011/01/17-17:14:10 61.452840 61.452840
FileInfo.dll Adobe XMP FileInfo 5.0 64.140949
icucnv36.dll International Components for Unicode 2009/06/17-13:21:03 Build gtlib_main.9896
icudt36.dll International Components for Unicode 2009/06/17-13:21:03 Build gtlib_main.9896
image_flow.dll AIF 2.0 53.422628
image_runtime.dll AIF 2.0 53.422628
JP2KLib.dll JP2KLib 2010/12/13-23:37:10 64.181312 64.181312
libifcoremd.dll Intel(r) Visual Fortran Compiler 10.0 (Update A)
libmmd.dll Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler 10.0
LogSession.dll LogSession 2.1.2.1263
MPS.dll MPS 2010/12/13-23:37:10 64.450375 64.450375
msvcm80.dll Microsoft® Visual Studio® 2005 8.00.50727.6195
msvcm90.dll Microsoft® Visual Studio® 2008 9.00.30729.4940
msvcp80.dll Microsoft® Visual Studio® 2005 8.00.50727.6195
msvcp90.dll Microsoft® Visual Studio® 2008 9.00.30729.4940
msvcr80.dll Microsoft® Visual Studio® 2005 8.00.50727.6195
msvcr90.dll Microsoft® Visual Studio® 2008 9.00.30729.4940
pdfsettings.dll Adobe PDFSettings 1.04
Photoshop.dll Adobe Photoshop CS5.1 CS5.1
Plugin.dll Adobe Photoshop CS5 CS5
PlugPlug.dll Adobe(R) CSXS PlugPlug Standard Dll (64 bit) 2.5.0.232
PSArt.dll Adobe Photoshop CS5.1 CS5.1
PSViews.dll Adobe Photoshop CS5.1 CS5.1
SCCore.dll ScCore 2011/01/17-17:14:10 61.452840 61.452840
tbb.dll Threading Building Blocks 2, 1, 2009, 0201
TfFontMgr.dll FontMgr 9.3.0.113
TfKernel.dll Kernel 9.3.0.113
TFKGEOM.dll Kernel Geom 9.3.0.113
TFUGEOM.dll Adobe, UGeom© 9.3.0.113
updaternotifications.dll Adobe Updater Notifications Library 2.0.0.15 (BuildVersion: 1.0; BuildDate: BUILDDATETIME) 2.0.0.15
WRServices.dll WRServices Thursday January 21 2010 12:13:3 Build 0.11423 0.11423
wu3d.dll U3D Writer 9.3.0.113
Installed plug-ins:
3D Studio 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
Accented Edges 12.0
ADM 3.11x01
Angled Strokes 12.0
Average 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
Bas Relief 12.0
BMP 12.0.2
Camera Raw 6.7
Chalk & Charcoal 12.0
Charcoal 12.0
Chrome 12.0
Cineon 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
Clouds 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
Collada 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
Color Halftone 12.0.2
Colored Pencil 12.0
CompuServe GIF 12.0.2
Conté Crayon 12.0
Craquelure 12.0
Crop and Straighten Photos 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
Crop and Straighten Photos Filter 12.0.2
Crosshatch 12.0
Crystallize 12.0.2
Cutout 12.0
Dark Strokes 12.0
De-Interlace 12.0.2
Dicom 12.0
Difference Clouds 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
Diffuse Glow 12.0
Displace 12.0.2
Dry Brush 12.0
Eazel Acquire 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
Embed Watermark 4.0
Entropy 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
Extrude 12.0.2
FastCore Routines 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
Fibers 12.0.2
Film Grain 12.0
Filter Gallery 12.0
Fresco 12.0
Glass 12.0
Glowing Edges 12.0
Google Earth 4 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
Grain 12.0
Graphic Pen 12.0
Halftone Pattern 12.0
HDRMergeUI 12.0
IFF Format 12.0.2
Ink Outlines 12.0
JPEG 2000 2.0
Kurtosis 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
Lens Blur 12.0
Lens Correction 12.0.2
Lens Flare 12.0.2
Lighting Effects 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
Liquify 12.0.1
Matlab Operation 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
Maximum 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
Mean 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
Measurement Core 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
Median 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
Mezzotint 12.0.2
Minimum 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
MMXCore Routines 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
Mosaic Tiles 12.0
Multiprocessor Support 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
Neon Glow 12.0
Note Paper 12.0
NTSC Colors 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
Ocean Ripple 12.0
OpenEXR 12.0.2
Paint Daubs 12.0
Palette Knife 12.0
Patchwork 12.0
Paths to Illustrator 12.0.2
PCX 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
Photocopy 12.0
Photoshop 3D Engine 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
Picture Package Filter 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
Pinch 12.0.2
Pixar 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
Plaster 12.0
Plastic Wrap 12.0
PNG 12.0.2
Pointillize 12.0.2
Polar Coordinates 12.0.2
Portable Bit Map 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
Poster Edges 12.0
Radial Blur 12.0.2
Radiance 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
Range 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
Read Watermark 4.0
Reticulation 12.0
Ripple 12.0.2
Rough Pastels 12.0
Save for Web & Devices 12.0
ScriptingSupport 12.1
Shear 12.0.2
Skewness 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
Smart Blur 12.0.2
Smudge Stick 12.0
Solarize 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
Spatter 12.0
Spherize 12.0.2
Sponge 12.0
Sprayed Strokes 12.0
Stained Glass 12.0
Stamp 12.0
Standard Deviation 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
Sumi-e 12.0
Summation 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
Targa 12.0.2
Texturizer 12.0
Tiles 12.0.2
Torn Edges 12.0
Twirl 12.0.2
U3D 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
Underpainting 12.0
Vanishing Point 12.0
Variance 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
Variations 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
Water Paper 12.0
Watercolor 12.0
Wave 12.0.2
Wavefront|OBJ 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
WIA Support 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
Wind 12.0.2
Wireless Bitmap 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
ZigZag 12.0.2
Plug-ins that failed to load: NONE
Flash:
Mini Bridge
Kuler
Access CS Live
CS Review
Installed TWAIN devices: NONE -
Cannot load JDBC Driver Class in Tomcat5.5 using struts.
Hello to all,
I'm working in the struts environment using Esclipse3.2 IDE.
And I have installed Tomcat5.5 server.I have created the LoginForm
in struts.Now i like to connect my LoginForm with MySql database.I
have also created the database in MySql naming strutsdatabase.
I had also download the mysql-connector-java-3.0.16-ga-bin.jar and
save that in C:/tomcat/commons/lib directory.
While running I have got the below error:
org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:766)
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.setLogWriter(BasicDataSource.java:598)
at org.apache.struts.action.ActionServlet.initModuleDataSources(ActionServlet.java:808)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:335)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
Caused by: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
javax.servlet.UnavailableException: Initializing application data source org.apache.struts.action.DATA_SOURCE
at org.apache.struts.action.ActionServlet.initModuleDataSources(ActionServlet.java:812)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:335)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
And I have attached my struts-config.xml:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE struts-config PUBLIC "-//Apache Software
Foundation//DTD Struts Configuration 1.2//EN"
"http://struts.apache.org/dtds/struts-config_1_2.dtd">
<struts-config>
<data-sources>
<data-source
type="org.apache.tomcat.dbcp.dbcp.BasicDataSource">
<set-property property="url"
value="jdbc:mysql://localhost:3306/strutsdatabase?autoReconnect
=true"/>
<set-property property="driverClassName"
value="com.mysql.jdbc.Driver"/>
<set-property property="username" value=""/>
<set-property property="password" value=""/>
<set-property property="maxActive" value="10"/>
<set-property property="validationQuery" value="SELECT
COUNT(*) FROM test"/>
<set-property property="maxWait" value="5000"/>
<set-property property="defaultAutoCommit" value="false"/>
</data-source>
</data-sources>
<form-beans>
<form-bean name="LoginForm"
type="fino.web.struts.action.LoginForm"/>
</form-beans>
<global-exceptions/>
<global-forwards/>
<action-mappings>
<action name="LoginForm" path="/login" scope="request"
type="fino.web.struts.action.LoginAction" validate="true">
<forward name="success" path="/success.jsp"/>
<forward name="failure" path="/failure.jsp"/>
</action>
</action-mappings>
<controller/>
<message-resources null="false"
parameter="org.apache.struts.action.ActionResources"/>
</struts-config>
Friends,please help me to find solution to this problem.Note: This thread was originally posted in the [Java Compiler|http://forums.sun.com/forum.jspa?forumID=7] forum, but moved to this forum for closer topic alignment.
-
Photoshop has encountered a problem with the display driver
I rummaged around in here looking at opengl topics and others associated with the above error, but I'm not seeing what I'm encountering (or I am and I don't recognize it!).....
I bought CS4 a week or so ago, and installed it on a system running XP32 with service pack 3, 4GB of ram withe the /3GB switch set, nVidia 8600 GT card (which according to the list is supported), and multiple spindles for images, scratch, applications, and so on. I found other topics earlier so I downloaded the most recent drivers for my video card.
I'm not crashing and burning, but I'm getting some messages...
I opened an image, and while working on it I wanted to do a transform/warp. I got the message that Photoshop couldn't perform the operation because there wasn't enough memory. It didn't crash but I had to shut down CS4 and restart it to do the warp.
Most recently I opened a couple images for a panorama, and while doing the merge I got the message that "Photoshop has encountered a problem with the display driver and has temporarily disabled gpu enhancements." It tells me to check for the latest drivers - I've ALREADY got the lastest drivers. Again, no crash, just the warning. It completed the panorama.
There have been a couple other occurrences of messages of this type, so I'm curious if there's some set of preferences or system settting I need to adjust to optimize things? I've alrady adjusted the nVidia settings because I also run Lightroom and they're having problems too.
I've read the tech notes for the video and such and didn't find any set of optimizations there so is there a set of adjustments beyond the preferences that needs to be adjusted to improve memory and video performance? And if so, can someone point me to them.As I understand it (suspect at best) XP32 can address 4 gig of memory. the /3gb switch lets the applications get at 3 gig of that. If my video card takes the first 256MB, and XP is guaranteed the other 750 of the 1st gig, and in the CS4 performance preferences I should be giving it from 1462 - 1895 MB (I've given it around 1890), that leaves me with another gig or so... Is that limited to applications or can XP use it? In any case, I'm not crashing, I just get the message every so often about being out of memory. I don't recall ever seeing this with CS3, but new version, new oddities...
-
Problem with Progress DB while using to connect using JDBC Adapter
Hi,
I am facing Problem with Progress DB while using to connect using JDBC Adapter. I am getting the following error in auditlog file like,
Error during database connection to the database URL jdbc:JdbcProgress:T:156.5.31.65:2545:/mfgprodev/devbadb
/devsche/i_apoext.db using the JDBC driver "com.progress.sql.jdbc.JdbcProgressDriver" : com.sap.aii.adapter.jdbc.sql.DriverManagerException: Unable to locate a suitable JDBC driver to establish a connection to URL " jdbc:JdbcProgress:T:156.5.31.65:2545:/mfgprodev/devbadb
/devsche/i_apoext.db "
I tried using the following all URLs,
1. jdbc:JdbcProgress:T:156.5.31.65:2545:i_apoext.
2. jdbc:JdbcProgress:T:156.5.31.65:2545:i_apoext.db
3.
jdbc:JdbcProgress:T:156.5.31.65:2545:/mfgprodev/devbadb
/devsche/i_apoext.
4.
jdbc:JdbcProgress:T:156.5.31.65:2545:/mfgprodev/devbadb
/devsche/i_apoext.db.
Can anyone please help me out in solving this issue.
May be the cause for this is :
1) The Wrong URL format
2) CLASSPATH is not setted properly..
Can you look more into this stuff.
Thanks,
Soorya.Hi,
To access any database fromm XI, using the JDBC adapter, the corresponding drivers have to be installed on the XI server.
Just check this note 831162.
Also, check this PDF to install Drivers in XI,
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10 -
FYI: MS-7125 BIOS has problem with Hard Drives withNative Command Queuing (NCQ)
For those the have messed my two treads on which both ended up being cause by K8N Neo4 BIOS problem with HD's with NCQ.
Will wonders never cease? MSI Support finally conceded the BIOS has a problem with Hard Drives with NCQ and they have forwarded the problem to their programming department.
However, do not look for any results for above two weeks.
RogerThe problem that this thread has been trying to follow is the incapability of the nVidia RAID Controller with Serial ATA Type 2.5 drives. I know the threads has been hard to follow and part of that is because when I started the thread I had what appeared to be three totally un related problems, but all three were traced down the common problem of the incapability of RAID Controller with Serial ATA Type 2.5 drives.
The title of this thread is MS-7125 BIOS has problem with Hard Drives with Native Command Queuing(NCQ). The statement was true at the time it was written and has nothing to do with memory problems.
Sense the thread was started MSI has fixed the BIOS part of the problem, but we have sense learned the nVidia RAID Controller Command software and its driver has problems too. I have been working MSI Support, they have been using me to test pre-beta BIOS and Drivers soon. Of the testing I have done the pre-beta BIOS worked and the Pre-beta 32-bit driver works. I am assuming that the latest BIOS V1.B had as part of it included fixes was the needed fixes for working with the nVidia RAID Controller as I have test the pre-beta RAID Driver with BIOS Version V1.B as the Raid array function fine windows XP Pro 32-bit Edition. As I have had no communications with MSI support of over a week now I am hoping for a release of 32-bit and 64-bit RAID Drivers. But, nobody should get the hopes up, because through other backdoor sources nVidia is having a hell of a time. One reason for this I heard is that the nVidia RAID Controller is fully software, no hardware other than the electrical drive interfaces. Their problem started when they tried using the old 32-bit code Controller with new 64-bit hardware drivers and now they are having to totally rewrite the controller core in 64-bit code. But, knowing my source, it may all be fiction.
The RAID Array you say is up and running, are the drives full specification SATA 2.5 in other words do the both have 3Gb/s speed and NCQ. If you send me the full part numbers I will check the specifications a get back to you. Because if you have nVidia RAID 0 Array you working you will be the first to have done it and there about 230 people around the world that would like to know how you did it, even MSI, who's pre-beta nVidia RAID Drivers that will work with BIOS V1.B for 32-bit Windows only and nothing for Windows XP 64, would like to know.
Roger -
Pdf reader X has problems with small pdf and printer with post script driver
Hi friends.
I have installed new Reader X and then i saw that, when i print a very small pdf with about 50 kb and i print it on a Laserjet 4000 printer the printer has problem with the amount of data that reader 10 produces.
When i install a Postscript driver for the printer my computer makes up to 3.5MB printer data from a 50kb pdf.
When i install a PCL driver for the printer my computer makes only 350kb from the same 50kb pdf file!!!!
When i install Reader 9.3 the 50kb file becomes also only 350kb on the printer with post script driver, and i can print without problems also.
my printer has 8 MB Ram and that should be enough for 3.5MB printer data.
But when i print the pdf with 1 side only, the printer created a side who is only filled with 50% of the text, then there comes out a second page with the message.....not enough memory in the printer.
i can not change the postscript driver to a pcl driver cause our ERP System can not handle printer with PCL drivers.
Can someone help me please.........are there settings in Reader X who can solve my problem ???
Thank you very much for help!put ? after rwcgi60.exe
Maybe you are looking for
-
I've just installed Oracle Oracle Developer Suite 10g (9.0.4) over RedHat and i'm doing this, 1) i run the script, $ORACLE_HOME/j2ee/DevSuit/startinst.sh 2) i created a report through the report builder wizard, when i use "run paper layout" the repor
-
How to get project server in provisioning state?
Hi All, We are working in project server 2013 and integrated it with Microsoft TFS 2010 successfully, but the problem we are getting since two days is we are not able to create or update projects or tasks in project server and Queue is not utilizing
-
How do I access iwork for ios docs stored in icloud on all ios devices
How do I access ios-iwork icloud docs on all my ios devices? ios 7.1.2 on all ios devices. Have zero access to my icloud docs on mobile devices since ios 7.0.
-
Is this apple email fake?
Hi got sent this a few times today! Checked my order history and nothing is listed but I'm still abit worried... Your Apple ID was just used to download Football Manager Handheld 2014 from the App Store on a computer or device that had not previously
-
Hi All, How to handle erroneous records in PSA. Should I consult R/3 consultants to correct them...