Hi again...I´m new here...
I´ve these piece of code and can´t find the error in
the struts-config.xml:
- !-- Data
Source Configuration
--
- data-sources
- data-source
set-property property=description value=SCIWARE
Data Source Configuration to mySQL /
Technically speaking, this is off-topic and marked as such.
Take a look at this for more info:
http://struts.apache.org/faqs/database.html
On the surface, I see a missing type attribute on the data-source
element and you should probably be using com.mysql.jdbc.Driver for the
driver class
.
56 E. Pine Street Suite 200
Orlando, FL 32801
USA
-Original Message-
From: Robert S. Jones [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 21, 2003 5:35 PM
To: [EMAIL PROTECTED]
Subject: Problem connecting to mysql database with Tomcat and JNDI
Folks,
I'm having trouble connecting
PROTECTED]
Subject: Problem connecting to mysql database with Tomcat and JNDI
Folks,
I'm having trouble connecting to a mysql database through Tomcat. I'm
using Tomcat 5.0.9a with mysql 4.0.14. I have the mysql 3.0.8 JDBC
driver in ${TOMCAT_HOME}/common/lib. I'm running RedHat 8.0
]
ClearSky Mobile Media, Inc.
56 E. Pine Street Suite 200
Orlando, FL 32801
USA
-Original Message-
From: Robert S. Jones [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 21, 2003 5:35 PM
To: [EMAIL PROTECTED]
Subject: Problem connecting to mysql database
Folks,
I'm having trouble connecting to a mysql database through Tomcat. I'm
using Tomcat 5.0.9a with mysql 4.0.14. I have the mysql 3.0.8 JDBC
driver in ${TOMCAT_HOME}/common/lib. I'm running RedHat 8.0 with a
stock kernel.
I've been able to connect to the database without JNDI services
Hi,
I have installed tomcat on HP-UX box.I have deployed my web application
on tomcat container.I have copied mysql JDBC driver under common/lib
area.
While running the application i am getting following error
Cannot load JDBC driver class 'null'
java.lang.NullPointerException:
To: [EMAIL PROTECTED]
Subject: Urgent : Error connecting to mysql Database from JSP
pagedeployed on tomcat server
While running the application i am getting following error
Cannot load JDBC driver class 'null'
java.lang.NullPointerException:
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED
I am trying to access a mysql database on a linux box.
I am getting the following error:
javax.servlet.ServletException: Unable to load class
org.gjt.mm.mysql.Driver
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:459)
at
Chad Wray wrote:
I am trying to access a mysql database on a linux box.
I am getting the following error:
javax.servlet.ServletException: Unable to load class
org.gjt.mm.mysql.Driver
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:459)
Did you include the mysql driver (the jar file) to your classpath?
-Original Message-
From: Chad Wray [SMTP:[EMAIL PROTECTED]]
Sent: Tuesday, July 31, 2001 9:22 AM
To: [EMAIL PROTECTED]
Subject: connecting to mysql database
I am trying to access a mysql database on a linux
To: [EMAIL PROTECTED]
Subject:connecting to mysql database
I am trying to access a mysql database on a linux box.
I am getting the following error:
javax.servlet.ServletException: Unable to load class
org.gjt.mm.mysql.Driver
]
Subject:connecting to mysql database
I am trying to access a mysql database on a linux
box.
I am getting the following error:
javax.servlet.ServletException: Unable to load
class
org.gjt.mm.mysql.Driver
at
org.apache.jasper.runtime.PageContextImpl.handlePageException
: connecting to mysql database
Yes - I actually put the jar file in the src directory
under tomcat and added it to my classpath. I will
double check it tomorrow by echoing my classpath. I
am setting my classpath in my .bashrc file - does
tomcat.sh overwrite the classpath? Or should I add
the jar
]
Subject:RE: connecting to mysql database
Yes - I actually put the jar file in the src
directory
under tomcat and added it to my classpath. I will
double check it tomorrow by echoing my classpath.
I
am setting my classpath in my .bashrc file - does
tomcat.sh overwrite
15 matches
Mail list logo