On 9 Aug 2004 at 18:34, ohaya ohaya-at-cox.net |Tomcat User List| wrote:
I'm assuming you meant Tomcat Administration, not Tomcat Manager
:)...
Sorry .. I did mean Tomcat Administration ..
Ok, if I go to where you indicated, it shows all of the tree-type
display of Contexts:
/
/admin
Can you clarify what version of Tomcat you are using?
It seems that there is a configuration change .. from Tomcat4 to Tomcat5 ..
the context goes in to \conf\Catalina\localhost\webappname.xml .. for each
webapp.
Here is a reference I found in my own digging around ..
Hola,
It seems that there is a configuration change .. from Tomcat4 to
Tomcat5 ..
NSS ;) There are definitely multiple configuration changes between the
two, it's a major release after all.
And I confirm that there is no webapps\examples\in my configuration ..
replaced, it seems, by the two
d_1,
Answers/comments below, interspersed...
Jim
d_l wrote:
Can you clarify what version of Tomcat you are using?
d_1,
I'm running Tomcat 5.0.27...
It seems that there is a configuration change .. from Tomcat4 to Tomcat5 ..
the context goes in to
On Mon, Aug 09, 2004 at 09:29:51AM -0400, ohaya wrote:
: BUT .. in my Tomcat 5.0.27 .. I only see three webappname.xml files in above
: location ..
:
: admin.xml
: balancer.xml
: manager.xml
:
: no other webappname.xml files (context.xml files) show up such as
If there is no
QM wrote:
On Mon, Aug 09, 2004 at 09:29:51AM -0400, ohaya wrote:
: BUT .. in my Tomcat 5.0.27 .. I only see three webappname.xml files in above
: location ..
:
: admin.xml
: balancer.xml
: manager.xml
:
: no other webappname.xml files (context.xml files) show up such as
If
On 9 Aug 2004 at 9:29, ohaya ohaya-at-cox.net |Tomcat User List| wrote:
As to your implied question above of why do I have all the .XML files,
whereas you only have 3?, is it possible that whoever built the Tomcat
installation created it that way?
My 5.0.27 binary was straight out of the can
From: d_l [EMAIL PROTECTED]
Date: 2004/08/09 Mon AM 10:24:12 EDT
To: [EMAIL PROTECTED]
Subject: Re: Newbie - JDBC problem Name is not bound in this context
On 9 Aug 2004 at 9:29, ohaya ohaya-at-cox.net |Tomcat User List| wrote:
As to your implied question above of why do I have all
On Mon, Aug 09, 2004 at 10:14:04AM -0400, ohaya wrote:
: 1) Any idea why d_l has only the 3 .xml files in
: [tomcat]/conf/[...], whereas I have a bunch? As I indicated in an
: earlier msg, I didn't create them.
: 2) When you and others refer to context.xml, are you referring to a
: file that
On 9 Aug 2004 at 12:37, QM qm300-at-brandxdev.net |Tomcat User Li wrote:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html
My previous message will make more sense then, and both of your
questions should be answered.
I referred to that same link in an earlier
d_l wrote:
On 9 Aug 2004 at 12:37, QM qm300-at-brandxdev.net |Tomcat User Li wrote:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html
My previous message will make more sense then, and both of your
questions should be answered.
I referred to that same link
On Mon, Aug 09, 2004 at 05:00:22PM -0400, ohaya wrote:
: I just got back, and as I mentioned earlier, I unzipped the original
: .ZIP file, and I guess at least PART of the mystery is solved.
: Immediately after unzipping the file, I checked in the
: conf\Catalina\localhost directory, and there
On 9 Aug 2004 at 17:00, ohaya ohaya-at-cox.net |Tomcat User List| wrote:
Now the thing that I'm wondering is where did those others come from.
At this point, it's clear that Tomcat must've created them (I'm 100%
sure I didn't create them), at some point. I'm just not sure when or
why...
There are 2 ways for the {tomcat}/conf/{...}.xml files to be created:
1/ META-INF/context.xml is extracted from a WAR file when it is deployed
and copied there.
(Unless the matching XML file already exists under conf/, in which case
the WAR file's context.xml is ignored)
2/ The
d_l wrote:
On 9 Aug 2004 at 17:00, ohaya ohaya-at-cox.net |Tomcat User List| wrote:
Now the thing that I'm wondering is where did those others come from.
At this point, it's clear that Tomcat must've created them (I'm 100%
sure I didn't create them), at some point. I'm just not sure
Hi,
I just got Tomcat 5.0.27 installed (with Apache 2.0.50), and am trying
to get a simple JDBC JSP working. The JSP is called 'test.jsp'.
I have the JDBC-ODBC bridge installed and am going through that. I've
been using the bridge driver from standalone Java applications, so I
think that is
On 8/7/2004 8:24 AM, ohaya wrote:
Hi,
I just got Tomcat 5.0.27 installed (with Apache 2.0.50), and am trying
to get a simple JDBC JSP working. The JSP is called 'test.jsp'.
I have the JDBC-ODBC bridge installed and am going through that. I've
been using the bridge driver from standalone Java
I'm not a JNDI expert but you can try this:
Context ic = new InitialContext();
Context ctx = (Context) ic.lookup(java:comp/env);
DataSource ds = (DataSource) ic.lookup(jdbc/jimnew);
Hi Dennis,
I've been wrestling with this problem for most of today, and at this
point, I don't think the
Add a resourcelink to your context definition.
-Original Message-
From: ohaya [mailto:[EMAIL PROTECTED]
Sent: Sat Aug 07 18:07:42 2004
To: Tomcat Users List
Subject:Re: Newbie - JDBC problem Name is not bound in this context
I'm not a JNDI expert but you can try
D'Alessandro, Arthur wrote:
Add a resourcelink to your context definition.
Arthur,
I'm kind of (well, really) new to Tomcat, so could you clarify?
Am I right that you mean to add that to the server.xml?
At least with the distribution that I installed, which I posted with my
original
folder..
-Original Message-
From: ohaya [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 07, 2004 8:11 PM
To: Tomcat Users List
Subject: Re: Newbie - JDBC problem Name is not bound in this context
D'Alessandro, Arthur wrote:
Add a resourcelink to your context definition.
Arthur
D'Alessandro, Arthur wrote:
Context cachingAllowed=true docBase=yourwebappname.war debug=99
path=/yourwebappname privileged=false reloadable=true
swallowOutput=true
ResourceLink name=jdbc/jimnew global=jdbc/jimnew
type=javax.sql.DataSource/
/Context
Either in your server.xml, or as
]
Subject: JDBC Problem
To: [EMAIL PROTECTED]
Message-id: [EMAIL PROTECTED]
MIME-version: 1.0
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 8BIT
Importance: Normal
Hi all,
I am having a problem making the MySQL JDBC driver version 3
work with Tomcat correctly. I had previously used MySQL JDBC driver
version 1 and developed a couple of programs to access my MySQL
database. The programs worked just fine with this version of the
driver. When I went
are you using com.mysql.jdbc.Driver?
-Original Message-
From: Jason Lanpher [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 05, 2003 11:08 AM
To: 'Tomcat Users List'
Subject: Tomcat JDBC problem
Hi all,
I am having a problem making the MySQL JDBC driver version 3
work
10 types of people in this world. Those who
understand Binary and those who don't.
-Original Message-
From: Pitre, Russell [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 05, 2003 10:25 AM
To: Tomcat Users List
Subject: RE: Tomcat JDBC problem
are you using com.mysql.jdbc.Driver
Message-
From: Jason Lanpher [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 05, 2003 11:38 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat JDBC problem
Yes I am using com.mysql.jdbc.Driver
Here is the rest of the version numbers of the system.
RedHat 7.2 system
MySQL
Hi Everybody
I am using tomcat on Mac OS X. One of my servlets does the following:
1. I am creating a table ROLE as follows:
___
stmt.executeUpdate( CREATE TABLE ROLE ( +
ID INTEGER
To: Tomcat List
Subject: Tomcat, PreparedStatement JDBC problem
Hi Everybody
I am using tomcat on Mac OS X. One of my servlets does the following:
1. I am creating a table ROLE as follows
I just downloaded the latest mySQL JDBC driver and have placed the directory
that the jar extracts into the CLASSPATH.
I am trying to load the driver with this line:
Class.forName(org.gjt.mm.mysql.Driver).newInstance();
All I have done is set the CLASSPATH and restart tomcat.
Is there
tomcat ignores the classpath setting. place the .jar file in
$TOMCAT_HOME/webapps/root/web-inf/lib
i hope that'll work
dominik
-Ursprüngliche Nachricht-
Von: Ryan [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 25. September 2002 09:32
An: [EMAIL PROTECTED]
Betreff: JDBC problem
I
12:34 AM
Subject: AW: JDBC problem
tomcat ignores the classpath setting. place the .jar file in
$TOMCAT_HOME/webapps/root/web-inf/lib
i hope that'll work
dominik
-Ursprüngliche Nachricht-
Von: Ryan [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 25. September 2002 09:32
An: [EMAIL
Ryan wrote:
Thank you, this worked!
However, now, the next line of code gives me problems:
Connection C = DriverManager.getConnection(jdbc:mysql://localhost/tob,
user, pass);
Gives me the error :
javax.servlet.ServletException: Invalid authorization specification: Access
denied for
great, thanx couldn't quite get the grants changed right, so I found
that 127.0.0.1 worked fine.
-gratzie
ryan
- Original Message -
From: Martin Jacobson [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, September 25, 2002 1:34 AM
Subject: Re: JDBC problem
Hi,
I'm having problems connecting to mysql from tomcat when (only when) going
via the warp connector. (with roller in this example - I'm assuming it's not
app specific)
I point a browser to http://localhost:8080/roller/ and everything works - db
access no problem.
I point a browser to
:
08/01/02 04:38 PMSubject: warp / jdbc problem
Please respond to
Tomcat
Hello everyone,
I'm running tomcat on a linux system. My test JSP-Page runs fine, but if I
try to connect to a mySQL-database, all I get is a Class loading error .
Does anyone know what this could mean? Is some class missing? what do I need
to run JDBC? Do I need to configure tomcat to access a
do you have the jdbc driver for the mySQL?
At 12:52 PM 4/2/2002, subceero wrote:
Hello everyone,
I'm running tomcat on a linux system. My test JSP-Page runs fine, but if I
try to connect to a mySQL-database, all I get is a Class loading error .
Does anyone know what this could mean? Is some
On Tue, Apr 02, 2002 at 07:52:44PM +0200, subceero wrote:
Hello everyone,
I'm running tomcat on a linux system. My test JSP-Page runs fine, but if I
try to connect to a mySQL-database, all I get is a Class loading error .
Does anyone know what this could mean? Is some class missing? what do
]
Sent: Tuesday, April 02, 2002 7:58 PM
Subject: Re: jakarta + MySQL / JDBC Problem
On Tue, Apr 02, 2002 at 07:52:44PM +0200, subceero wrote:
Hello everyone,
I'm running tomcat on a linux system. My test JSP-Page runs fine, but if
I
try to connect to a mySQL-database, all I get is a Class
On Tue, Apr 02, 2002 at 09:26:59PM +0200, subceero wrote:
Unfortunately, it still doesn't run. I have no idea where tomcat expects
those jar file to be ( I have downloaded the JDBC-Driver for mysql, the file
is named
mm.mysql-2.0.4-bin.jar) and copied it to $JAKARTA_HOME/common/lib, but
I am experiencing a JDBC problem.
I am attempting to execute the Java servlet from chapter 13 of the book
entitled JSP, Servlets, and MySQL by David Harms; ISBN: 0764547879.
But in Tomcat I get error message org.gjt.mm.mysql.Driver which is the
name of the mm jdbc driver.
The following
, February 07, 2002 5:03 PM
Subject: JDBC Problem
I am experiencing a JDBC problem.
I am attempting to execute the Java servlet from chapter 13 of the book
entitled JSP, Servlets, and MySQL by David Harms; ISBN: 0764547879.
But in Tomcat I get error message org.gjt.mm.mysql.Driver which is the
name
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: Re: JDBC Problem
Mark,
Try to put the mysql-driver jar file in the WEB-INF\lib
directory which will under tomcat\webapps\Your application
directory.This
maybe a classpath problem.
Karthik
- Original Message -
From
Mailinglist [EMAIL PROTECTED]
Sent: Wednesday, October 24, 2001 3:26 AM
Subject: JDBC Problem
When I want to open a connection to the oracle database I get a sql
exception and the message that the Network Adapter could not establish the
connection.
I use following
Hi there !
I got the following problem :
Our Tomcat 3.2.1 (RH 6.2) server is located in New York.
twz1jdbcForMysql-1.0.4-GA is installed.
Our mySQL 3.23. (RH 6.1) server is located in Baltimore.
Remote '%' access is enabled.
I'm trying to access from our NY server to the mySQL db in
Baltimore
When I want to open a connection to the oracle database I get a sql exception and the
message that the Network Adapter could not establish the connection.
I use following :
- oracle.jdbc.driver.OracleDriver
- jdbc:oracle:thin://hostname/dbname
Can anyone help?
Dennis
Make a difference, help
Analyst/Architect
London, UK
[EMAIL PROTECTED]
+44 7990 624899
-Original Message-
From: James Radvan [mailto:[EMAIL PROTECTED]]
Sent: 03 July 2001 14:07
To: '[EMAIL PROTECTED]'
Subject: RE: JDBC Problem with Ultradev
2001 05:46
To: [EMAIL PROTECTED]
Subject: Re: JDBC Problem with Ultradev
And this has what to do with tomcat?
Click here to visit the Argos home page http://www.argos.co.uk
The information contained in this message or any
I am attempting to connect to my MySQL install using Ultradev4 and I am
having not luck. I am using a Linux/MySQL/Apache/Tomcat combo on my server.
MySQL works fine, so does Apache Tomcat, and they are configure to work
together and serve up JSP's with no problems. I also have the 2.04
And this has what to do with tomcat? Last i checked this was a tomcat
list, not a jdbc or ultradev list, whatever ultradev is.
If your problem is tomcat-specific, you'll find many helping hands here,
but please do not post unrelated problems to this list, as it just
clutters up everyones
when I run tomcat as a nt service, I have problems connecting to the
database. It gives me jdbc not found error. But if I stop the service
and run it as an application it has no problems connecting to the database.
can anyone help.
Rohit
Could be one of two problems. When you run it as a service, it probably
is running as system but when you run it as an app, it runs with your
user id. Check the privieleges!
Or it could be the jdk1.3 problem. It won't run as a service - shuts
down when you log off! I'm not sure it is fixed in
), Tomcat will ignore your CLASSPATH
variable when run as a service.
Hope this helps you!
-Jeff
-Original Message-
From: rohit kamath [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 06, 2001 11:56 AM
To: [EMAIL PROTECTED]
Subject: jdk1.3.0_02 tomcat 3.2.1 jdbc problem
when I run tomcat
Hi
I have a small problem with setting a connection to an oracle database
every time that I start the tomcat with the following code I cant get the server to
start
this is the code within the server.xml :
+ADw-RequestInterceptor className+AD0AIg-org.apache.tomcat.request.JDBCRealm+ACI-
55 matches
Mail list logo