Peter Ivarsson wrote:
I get this error.
Catalina.start: LifecycleException: Exception opening database connection:
java.sql.SQLException: twz1.jdbc.mysql.jdbcMysqlDriver
LifecycleException: Exception opening database connection:
java.sql.SQLException: twz1.jdbc.mysql.jdbcMysqlDriver
Useing
Giuliano Gavazzi wrote:
was /usr/local a symbilic link? If so the installation might have
replaced it with a directory. so you should copy the new content to the
target and reinstate the symbilic link.
BTW Using JAVA_HOME: /usr sounds wrong to me.
No, that's right for Mac OS X
Martin
Ilja wrote:
Ok, first some configuration information:
Tomcat 5.09
MySQL Driver 3.08 stable
OS: Mac OSX 10.2.6
J2SE 1.4.2
My config is not the same (TC 4.1.24, OSX 10.2.6, MySQL 3.07), and my
parameters are different:
ResourceParams name=jdbc/EuratomDB
parameter
namefactory/name
Riaan Oberholzer wrote:
Is it possible to extend the standard Realms, or do
you have to re-do it from scratch by implementing the
interface again?
I want everything the Datasource Realm provides,
except when the authentication succeeds, I want to
update the user db table to indicate the date/time
Try this:
namefactory/name
valueorg.apache.commons.dbcp.BasicDataSourceFactory/value
The factory class you're using is not for JDBC DataSources.
HTH
Martin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Jacob Kjome wrote:
Put any Context specific stuff in a context configuration file. See
admin.xml and manager.xml in webapps for an example. You must be using
the manager app to upload a .war file since the server.xml is getting
reloaded. So, name your context configuration file context.xml
Muhammad Bilal wrote:
I want to have a synchronization between the authentication stuff. Like,
I have a web site, and every user has some role, and every user can
access some protected resource based on his role. Now I want to use JDBC
realm for this purpose with Form auth. so that user logs
Erik Weibust wrote:
Well, I have no problem using the admin tool. Could
there be anything else causing this?
The manager app uses BASIC authentication, rather than FORM (per the
admin app) - what happens if you close Netscape re-start it? FYI
Netscape 7 does not show this behaviour (on Mac OS
Werner van Mook wrote:
Hi All,
Consider me stupid.
I have a Powerbook with Mac OSX 10.2.6
It runs apache out of the box.
Now I want to connect tomcat with it.
Could somebody point out to me the right way of doing this?
I can't consider you stupid - I run Apache + Tomcat on my Powerbook!
However,
Mindaugas Genutis wrote:
a couple of days ago a post went by talking about MySQL default timeout
being set to 8 hrs for connections... betting this might be your problem...
Thanks for pointing this out. I've read the thread Tomcat problems every
morning. However, no solution was suggested in
Munteanu Gabriel wrote:
Guys, this is very interesting discussion.
I have read all the posts.
I still have another problem.
What about VERY large Result Sets?
I have a portal with 1 000 000 records[books related].
When the user searches for romance, there are more than 200 000 records
returned.
I
Anthony Roque Adriano wrote:
Sorry, i meant JDBC, all my configuration is default except for the
polling i've added at server.xml and set debug level to 9.
anyway here a sniff of the log file when i place the connector/j under my
APPLICATION/WEB-INF/lib directory or at $CATALINA_HOME/common/lib
Anthony Roque Adriano wrote:
Hi,
I've been searching the mailist but can't seem to find a problem similar to what i'm encountering.
First here's a background of my setup
MySQL server = mysql-server-3.23.54a-3
TomCat = jakarta-tomcat-4.1.18
ODBC = Connector/J 3.0.6-stable
Base OS = RedHat Linux
Tom O'Neil wrote:
After scouring the mailing list and a few forums, I'm
still at a dead end attempting to get MySql connection
pooling working with Tomcat. I'm running the following
on Windows 2000:
Tomcat 4.1.18
MySql 4.0.10
JDK 1.4.1
I've tried using both the MySql 3.0.5 and 2.0.14
drivers.
[EMAIL PROTECTED] wrote:
Is it possible to automatically redirect any http request to https in an
Apache + Tomcat environment? For example, If I enter
http://my.domain.com/mycontext http://my.domain.com/mycontext , I would be
automatically redirected to https://my.domain.com/mycontext?
Yes, I
Jose Euclides da Silva Junior - DATAPREVRJ wrote:
Hi,
i need to code a system in which there is no many business rules, but i need
data persistence in a database. Even if this system will have an enterprise
users scope, should i use EJB technology? What about only servlets/jsp?
Regards,
Euclides.
Mufaddal wrote:
Hi,
I have followed the instructions at:
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/ssl-howto.html to enable
SSL.
Problem:
when i try to access the jsp page using :
https://locahost:8443/login.jsp ... a dialogue pops up saying:
Unable to establish a secure connection
Denise Mangano wrote:
Wow. Thank you all so much for responding to this question. Its getting
quite frustrating hearing them saying CGI CGI CGI... especially since they
are looking for a 'quick' solution and haven't done any research to the
advantages/disadvantages of using one technology over
emiliano albiani wrote:
This is what I did with no success:
mysql ise
set autocommit=0;
but tyrex still have the same problem.
What am I missing?
Sorry, Emiliano, I don't use Tyrex, so I don't know how you'd do this :-(
Martin
Morgan Pyne wrote:
Hi all,
Is anybody on this list using Ant to redeploy war files to
an Apache(mod_webapp)-Tomcat setup?
I have several servlets already deployed, configured, and working
correctly on the following setup:
Apache (1.3.26), mod_webapp (machine 1)
Tomcat 4.1.12 (machine 2)
The
emiliano albiani wrote:
HI, I'm trying configuring tyrex in my tomcat installation to use MySql
xa driver.
I did it as described in tomcat documentation:
http://jakarta.apache.org/tomcat/to...les-howto.html,
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html,
Steve R Burrus wrote:
Hi Ralph, whoever the hell you are, or supposed to be! Why do you damned people
always have such a holier-than-thou attitude towards people like myself who want
nothing more or less than to have our questions answered!!! I'm quite sorry if I
didn't seem to ask the questions
Nathan McMinn wrote:
When trying to get a connection pool set up, tomcat spits this exception
back out. Nowhere in the code do I reference this class. Can anyone point
me to a good HOWTO on connection pooling in tomcat 4.0.6?
TyrexDataSourceFactory: Cannot create DataSource, Exception
Craig R. McClanahan wrote:
On Wed, 8 Jan 2003, Turner, John wrote:
Date: Wed, 8 Jan 2003 11:31:16 -0500
From: Turner, John [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
Subject: DTD for server.xml??
Hello -
I notice that the top
Chris McCabe wrote:
This new release made no difference in the behavior of the JK2 connector
with an https connection, so my question remains:
Does anyone know the secret formula to get a JK2 connector to work with
both the http and https connection of the Apache2 web server? I get a
404 Not
Elisabeth Julg wrote:
Hi, Bonjour,
- Root Cause -
java.io.IOException: Le chemin d'accès spécifié est introuvable
at java.io.WinNTFileSystem.createFileExclusively(Native Method)
at java.io.File.checkAndCreate(File.java:1313)
at java.io.File.createTempFile(File.java:1401)
at
Ola Berg wrote:
I have this problem with using my own (URLClassLoader) class loader
in a servlet of mine.
The thing is that I am writing a web front end to domain name
services (automatic registration of .org, .com. .biz, .info etc
domains).
Depending on the top level domain, I need to use
faisal shabbir wrote:
Hi,
I have just implemented ssl on tomcat4.0 by using jsse. Now
on running my application i found that ssl is working on all of the
pages. Problem is that i want ssl to work on the pages that contains
sensitive information. How can i turn ON and OFF ssl on jsp pages.
Mark Walker wrote:
I have 4.1.12 installed on a Wallstreet G3 Powerbook and it is running
great!
There's a document in Apple's Developer Forum
(http://developer.apple.com/internet/java/tomcat1.html) that covers
installing Tomcat on the Mac. It refers to 4.0.1 but should work fine
for you.
[EMAIL PROTECTED] wrote:
Hi,
I need to store an object in the application context and this object has to
be instatiated when the application is deployed.
I am thinking about a solution but I would like confirmation that it is a
good practice to do :
- declare a servlet that would have a
[EMAIL PROTECTED] wrote:
OK,
Perhaps then a session is not what is required here. I wish to
make available upon startup of the server, some simple string values. They
must be accessible to all clients, auto initialised when the service
starts up. This is something similar to a posting
Felipe Schnack wrote:
Anyone have experience with Tomcat on MacOS X servers? Or with java in
general? I would like to know if these machines are good options for
serving jsp or I should stick with PCs...
I'm running Apache + mod_jk + Tomcat 4.1.12 + OpenSSL + MySQL on Mac OS
10.2 and it all
Turner, John wrote:
Hello -
We have an app running on 4.1.12.
In stand-alone mode, this URL works perfectly:
http://some.server.com:8080/myApp
http://some.server.com:8080 also works perfectly (myApp is the default app)
With Apache (2.0.43), using JK, the GIF images on the page show as
Justin Ruthenbeck wrote:
Write a servlet that calls each of the startup classes you need to run
and set it up in your web.xml. Maximum portability, minimum work.
justin
At 06:23 PM 11/19/2002, you wrote:
Hi All,
I am using tomcat 4.1. I am a newbie to tomcat. We are
off-loading most of our
Juergen Weber wrote:
Hello,
we have a portal. Now the marketing people want that
on the portal page be a form with user and password
field. After submitting the user should be logged in.
First this looked like a very easy to do feature.
We use container managed security to protect some
pages.
First off, some encouragement I have Mac OS X 10.1.5, Apache 2.0.43,
mod_jk.so (the latest), and Tomcat 4.1.12, and it works for me!
There may be differences with OS X 10.2, plus I installed Tomcat in
/usr/local so my workers.properties file looks like this:
# BEGIN workers.properties
#
#
Turner, John wrote:
snip
On that note, there is no need to build the Java side of the connectors when
building. All you need is the Apache side, and this can be done with
./configurethere is no need to run ant or anything else to get a
connector binary, as the JAR binaries of the
John B. Moore wrote:
Martin,
I you like I would be VERY glad to review your howto...G I'm
working on setting this up on my iBook right now...
Thanks much...
John..
I shall write it up in more detail Real Soon... but, in essence, you
will need to download the mod_jk.so binary for
I have tc4.1.12, Apache 2.0.43 mod_ssl and mod_jk set up and working
successfully on my Mac (OS X 10.1.5), but tweaking the Apache config to
get it to work was... involved, let's say :-)
Users enter the site (using http: protocol) at /drs/home. This contains
a button labelled Login that takes
, John wrote:
That is strange...the binary package is the same for all platforms. If they
weren't in yours, they wouldn't be in any others.
John
-Original Message-
From: Martin Jacobson [mailto:martin_j;libero.it]
Sent: Thursday, October 24, 2002 3:33 AM
To: Tomcat Users List
Subject: Re
John B. Moore wrote:
Ian,
Cool, Thanks... you are right that mod_webapp stuff is a pain.. I
followed a HowTo I found for OS X and I could never to get it to work..
keep getting errors
I'll get the book !!
John..
I *did* get mod_webapp to work on Mac OS X, but abandonned it
shawn wrote:
Thanks for the input Steve,
I agree that it SHOULDN'T be dbpc, but it looks as if it is. Actually
the driver does support it quite nicely. Everything works great if I
create my connection manually. Things only break if I retrieve the
connection from jndi ( and thus dbpc ).
Craig R. McClanahan wrote:
The biggest problem with the general approach you suggest is that you are
mixing Java logic into your pages, which means you need a Java programmer
to maintain them. A much better strategy is to use a
model-view-controller (MVC) style architecture that has
Hi,
I'm running 4.0.4b3 4.1.12 on Mac OS X 10.1.5. I had SSL working
correctly, but now, suddenly, it doesn't any more :-(
I suspect that there is something wrong external to tomcat, but this is
the stack trace I get:
[INFO] Http11Protocol - -Initializing Coyote HTTP/1.1 on port 80
Robert L Sowders wrote:
I've just about completed a new site and I've been wondering about a few
things, specifically how does the public see it. It's an ArcIMS site and
I know it will appear to load a bit slow, (that's just how ArcIMS works).
I'm hosting the front end in one place and
HAVENS,PETER (HP-Cupertino,ex3) wrote:
I am using form based authentication on my Tomcat 4.0.4 server and I am
trying to figure out how to set up a security constraint that would apply
only to the login page. My global web.xml has a security constraint that
points to a login.jsp page as the
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
neal wrote:
Thanks but this is actually specific to tomcat 3. The configuration for
Tomcat 4 is a bit different. :(
Some good overall SSL info though. I'll pass this to the SysAdmin to see if
this tips him off to anything.
Thanks.
Neal
Hi Neal,
I'm using 4.0.4b3 with SSL working
Keith Pemberton wrote:
Hi everyone...
I have been trying to use MySQL and JSP,Servlets to interact with
my tomcat server. So far I have had a lot of frustration and little
luck. Anyway, I was just wonder what the majority of ppl are using as a
database and scripting language. Your
Richard Chamberlain wrote:
Hi Martin,
We do have it on pretty much every page. Once the user is logged the
form gets replaced with a kind of member control panel.
If you look at slashdot.org they do a similar thing with a member login
on each page in the right column - it's doesn't take
Richard Chamberlain wrote:
After I sent my previous message I played around a bit and it became
clear that I was misinterpreting how to use form login.
I'll explain what I want to do and perhaps somebody would be kind
enough to point me in the right direction.
I have a page that I only
Robert Dunn wrote:
Hi all,
I am attempting to get a connection to the JDBC entry from the server.xml
file and keep getting the error Cannot load JDBC driver class 'null'. The
error occurs when I attempt to call ds.getConnection();. I have placed all
of the Interbase JAR files in the
garrett smith wrote:
Still having troubles?
On Mac OS, the OS will add an extra extension based on file type. This is done
to make the computer more user-friendly, although it is exactly the opposite:
it is counter-intuitive.
I had to check Show Info on right-click menu and remove the
[EMAIL PROTECTED] wrote:
Vance,
Good eye. It use to be driverName but got changed along the way to URL.
Probably when I started following the 4.1 how-to. In any case, I changed
back to driverName and, alas, same problem.
Vance, do you get the same error?
Felipe Schnack wrote:
I asked this one time in this list but no reply... let's try again.
When we use the pool configuration indicated in tomcat docs, we use
the javax.sql.DataSource interface to get the java.sql.Connection
instances.
To have connection pooling we shouldn't use
neal wrote:
Do you guys prefer Tomcat JNDI over PoolMan?
It is looking like (from the multiple installs and the significant
configuration details) that Poolman is a lot easier to setup and use that
Tomcat's JNDI option. Anyone have an opinion?
Thanks.
Neal
Last time I looked,
Jonathan Zhang wrote:
Everything is in default condition as provided by apache tomcat 4.0. People
in foreign countries such as hk and china can not view it while people in US
can. if it helps here's my ip addr:
http://64.161.27.180:8080/index.html
thanks for the help
-jonathan
I
Jim Bartram wrote:
I'm using Tomcat 4.0 in a very simple way, hosting some straightforward
.jsp files. Instead of the client seeing files served with the *.jsp
extension, I'd like to be able to substitue anothe extension instead --
like *.html :-). Is there a way to do that in Tomcat ? If
Marc Logemann wrote:
Hi,
i just read
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html
and saw that dbcp uses username as a property for their DataSource Implementation.
I allways thought that the specs say that one should use user.
Shouldnt this be
Marc Logemann wrote:
Hi,
I have posted several times regarding this! In answer to your question,
sorry to bother you :)
I wasn't complaining - it was merely an observation; I 'discovered' this
a month back, and have posted several replies to people in difficulty.
it ought to be,
Matt Preston wrote:
That's not the way to do it! :-)
All that was neccessary for me was to set two environment variables:
JAVA_HOME = /usr
CATALINA_HOME = path to tomcat
In my case, I have multiple tomcat versions installed, and I set a
symbolic link to the one I want to use in
Jack Park wrote:
Thank you!
I've now got even more food for thought. You used JDBCRealm. Here is
what the Tomcat how-to on that says:
This document describes how to configure Tomcat to support container
managed security, by connecting to an existing database of usernames,
passwords,
Matt Preston wrote:
Hi,
I have just installed Tomcat 4.0.4 on Mac OSX (10.1) and have had a hell of
a time. Firstly I had the problem with not using gnutar (documented on this
list), but that was relatively simple to work around.
The big problem was with the classloaders. It proved
Jack Park wrote:
I continue to get the sql exception using the above software and
mm.mysql 2.0.8 drivers.
MySql is 3.23.51 downloaded from entropy.ch
I have granted permission to the program for both localhost (a guess)
and localhost.localdomain (which I needed on wintel and linux).
Aldo Bergamini wrote:
Peter Werno is believed to have said:
Hello Aldo,
this is more guessing than knowing, but the Apple MRJ / JDK isn't Java
2. If tomcat 3.3.x uses some Java 2 commands then you'd need to
upgrade to OS X (which runs any kind of Tomcat just fine)
You should probably
Douglas, Rory wrote:
Hi there
I had some problems using the DBCP connection pool with 4.1.6 and the MS
SQL Server JDBC drivers. I couldn't get the pool to use the user
parameter specified in server.xml, I ended up having to include the
username and password as part of the JDBC URL.
Les Hughes wrote:
Ignore the remove // comment - I was looking at my oracle notes :-)
I really have no idea why it's trying to load the hsql driver if there's no
ref in your
server.xml
Post your server.xml and web.xml and we'll both have a look.
I struggled for weeks (on and off)
Remy Maucherat wrote:
Remy,
I'm sure you're a busy guy, but I'd really appreciate an assist here; I
moved to TC4.1 in order to have a working implementation of a JNDI
DataSource, but in the process I have lost a working SSL implementation,
which is *vital* for my application (this is medical
Remy Maucherat wrote:
It mentions an sslImplementation as being null, but I don't find any
mention of such an attribute in the docs. Is this the problem? And if
so, what do I need to put?
BTW, I didn't really want to be on the bleeding edge of development -
but I do need a JNDI
Reynir Hübner wrote:
You can get 4.1.5 though, 4.1.5 has issues regarding jasper2 (tag-pooling), so I
would download 4.1.5 and use jasper2 from 4.1.3.
on the other hand I dont know of any other problems with tc.4.1.5 (there might be as
it's only in a test-release).
Remy Maucherat wrote:
Martin Jacobson wrote:
My logs give me the same errors as previously posted - does anyone
have a working Coyote https connector - maybe there are undocumented
parameters I don't know about?
With JDK 1.3, this works for me:
- create a key with the default
Remy Maucherat wrote:
Martin Jacobson wrote:
My logs give me the same errors as previously posted - does anyone
have a working Coyote https connector - maybe there are undocumented
parameters I don't know about?
With JDK 1.3, this works for me:
- create a key with the default
Jakarta Tomcat Newsgroup (@Basebeans.com) wrote:
Subject: Tomcat 4.0.4 MyApp as default context - ClassNotFoundException:
org.hsql.jdbcDriver
From: Matt Raible [EMAIL PROTECTED]
===
I have an entry for my web-application in server.xml so I can use a
JDBCRealm and a JNDI Datasource. When
Since moving to TC4.1.3, I get this:
2002-06-24 14:48:22 HttpProcessor[80][4] process.invoke
java.util.EmptyStackException
at java.util.Stack.peek(Stack.java:82)
at java.util.Stack.pop(Stack.java:64)
at
Remy Maucherat wrote:
The old HTTP/1.1 connector is unsupported (and apparently, a bug was
introduced in there). Try using Coyote HTTP/1.1 instead. You can look at
the default configuration file to see how to configure it.
Remy
Thanks for the quick response! Have tried that, but I
[EMAIL PROTECTED] wrote:
Hi,
did anyone of you get any furter?
thanks anthony
I've posted a solution see Generic DataSource Resource Factory
Available. JDBC Data Source
and Les Hughes for your tutorials. I still could not succeed.
Did anyone try to figure out why we do not get a
John Gregg wrote:
Hi all.
I've been thinking about how the j2ee front controller pattern (used by
Struts et al.) does/does not take advantage of url-based authorization
constraints in web.xml. I want to avoid having to check roles in my own
code as much as possible. At first I thought I
Jacob Kjome wrote:
The definitive solution has been provided by Leslie Hughes
[EMAIL PROTECTED] here:
snip
So, please, do yourselves a favor and ignore the docs for a bit on this
one. Copy the configuration line for line that Leslie has provided.
Then, of course, change the values
anthony.dodd wrote:
Hi
I've posted a solution see Generic DataSource Resource Factory
Available. JDBC Data Source on the tomcat user maillist.
Tony
Yes, but...
Like many others on this list, I too have been unable to get the std
JNDI DataSource thingy working; as an interim
Knutsen Jeffrey S wrote:
YES! You've hit it! I AM asking the question about how fast the car will
go. At this time, I DON'T care about the type of car or engine! My question
is being analyzed far too deeply by the diligent developers on this mail
list.
snip
Well, although I agree with
[EMAIL PROTECTED] wrote:
I recently downloaded
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.1/bin/jakar
ta-tomcat-4.0.1.tar.gz but the servlet examples did not work (error 404).
Looking at the files in the logs/ folder showed there was a problem with
loading
Jakarta Tomcat Newsgroup (@Basebeans.com) wrote:
Subject: Tyrex/Warp JDBC NamingContext problem
From: Hermod Opstvedt [EMAIL PROTECTED]
===
Hi all
I have looked all over the place, and come across several people that are
experiencing the same as me. When I access my .jsp's directly to
82 matches
Mail list logo