Hi Marty,
I am very new at this. I have tomcat running and I can view the
index.jsp in my browser set to localhost: 8080
That's a good start.
Now I want to deploy or install (not sure which one) a .war I
put the .war in webapps and tried to use the manager command of
both deploy and
To fix a IllegalStateException with Apache 1.3.23 and Tomcat 4.0.4 I have
ended up with apache 2.0.42 and Tomcat 4.1.12. I finally got tomcat 4.1.12
to display it's index.jsp on localhost. I changed the host names to my
domain name (www.roamware.com) and added a Context for my war file. Now I
get
Hi,
I want to use a jdbc realm with my application in tomcat 4.1
the problem is that I want to utilise a connection pool for authentication, but only
want the
connection pool jar file to have web app scope (in a war file).
I can go DriverManager.getConnection(poolURL) once I have loaded the
David Wynter wrote:
To fix a IllegalStateException with Apache 1.3.23 and Tomcat 4.0.4 I have
ended up with apache 2.0.42 and Tomcat 4.1.12. I finally got tomcat 4.1.12
to display it's index.jsp on localhost. I changed the host names to my
domain name (www.roamware.com) and added a Context
Hi,
Over the last 4 days I have tried coyote, mod_jk and was one of the first to
use the release 1.2.0. I had built the 1.2.0 from scratch 3 days ago and
used th enew binary yesterday. I am not sure that is where the problems lie.
I am happy to forgo using the connector at all and just let a
for mysql jdbc driver, I just copied mysql-connector-java-2.0.14-bin.jar
to the tomcat/common/lib directory and restart tomcat. the application
can find the driver without a problem. Is this the right way to install
the jdbc driver? or shall it copy it to the application's own
WEB-INF/lib
Hello all, I need some pretty urgent help/assistance with installing tomcat!!! I
am trying, specifically, to install the version 4.1.12 of it. I keep on getting a
damned error message when I try to start it up in DOS saying that the
CATALINA_HOME environment variable is either not properly set
Hi All.
This is a bit out of context, please do not take offence.
I managed to stream documents of various docFlavour into and out of BLOBs e.g .doc,
.gif, .jpg etc but have difficulties getting Ora's CLOB to write the content from the
database to a file. Both BLOB and CLOB fields are in the
Hi All,
I would really appreciate some help this... I am on an NT box with
Tomcat 4.1.12. My problem is that I am having trouble deploying
servlets in Tomcat. Worse, I seem to go through this each time I upgrade
to a new version of Tomcat. Friday night I upgraded to version 4.1.12.
Each
Hello everybody!
I have Tomcat 4.x as Web Server and I would like to to the following two
things but I don't know how to do:
1) I need to share the same Servlet Context MyContext between
all the servlets and jsp-pages of my web application.
2) I would like that my web server does something
Hi Steve,
You set the environment variables in NT by going to the control panel
and then selecting System and then Environment. Other Windows
environments should work in a similar manner. Once you select the
Environment tab you should see a variable input area and value input
area. In the
I addes these lines to my web.xml
error-page
exception-typejava.lang.Exception/exception-type
location/ponto/error.jsp/location
/error-page
With this, any thrown exception must be redirected to
/ponto/error.jsp, right?
Well, it seems that when an Servlet generates an
David Wynter wrote:
Hi,
Over the last 4 days I have tried coyote, mod_jk and was one of the first to
use the release 1.2.0. I had built the 1.2.0 from scratch 3 days ago and
used th enew binary yesterday. I am not sure that is where the problems lie.
I am happy to forgo using the connector
Steven,
Couple of things to try, no spaces in the directory structure to Tomcat.
Don't set any env vars except JAVA_HOME which should point to the base
directory of you're jdk.
Run startup.bat in the bin directory of Tomcat from the command line.
Once the command line works then start working on
Lance, this is Steve Burrus, and I appreciate your attempt to help me. You say
that there should be no spaces in the dir. structure to tomcat, but the tomcat 4.1
installation folder is in the apache group (1 space) folder!! How do I niftily
work around this problem anyway?!
Steve,
I don't run under Apache as I run Tomcat stand alone. I overrode the
installation directory as this has been a long standing issue with Tomcat.
Not sure as this is you're problem but it has caused many issues on the
list.
Lance
-Original Message-
From: Steven Burrus [mailto:[EMAIL
I have not used Tomacat in a couple years. The last
time I used it, our companies policy was to integrate
with Apache and get Apache to do the serving duties
and just use Tomcat as the jsp processor.
With Tomact 4 is this still considered a good practice
for high traffic sites?
Thanks,
Barry
Unequivocally : yes if u r serving up only jsp and servlets !
I use 4.0.4
Barry Moore wrote:
I have not used Tomacat in a couple years. The last
time I used it, our companies policy was to integrate
with Apache and get Apache to do the serving duties
and just use Tomcat as the jsp
I'm getting complaints from my host about excessive CPU usage in my web app.
I'm unable to use
connection pooling in the servers environment so I'm using a new connection
for each DB call (and
there are quite a few). The connections are promptly closed afterwards. Is
it a better idea to use a
The default servlet invoker was disabled by default for security reasons
which is why you are getting a 404 error. It can be re-enabled by
uncommenting the mapping for the url pattern /servlet/* in
$TOMCAT_HOME/conf/web.xml. You will need to restart Tomcat after doing this.
!--
Hi David,
You app is not getting auto-deployed because you defined a context in the
server.xml. If you didn't define a context, Tomcat would expand the .war
to a directory of the same name and create a context for you. You have a
couple of options...
1. Don't define your context. You
snip
connection pooling in the servers environment so I'm using a new connection
for each DB call
I should think that's the most expensive bit : setting up a connection
each time.
connection for each session and check to see if its still valid each time it
is needed? There are many lookup
Hi David - I've not played with AJP and the mod_jk modules yet, but if
you're trying to get back to serving pages directly from Tomcat, it
looked as though you had removed the connector definition for the http
1.1 connector on port 8080 from your server.xml. Putting that section
back in
On Sat, 28 Sep 2002, Phillip Rhodes wrote:
Date: Sat, 28 Sep 2002 13:51:18 -0400
From: Phillip Rhodes [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: filter to change jsessionid cookie almost done,
but need little help
I am writing a
Hi Steve,
I'm really a bit perplexed that you are still having issues and continuing
to ask the same questions that have been answered for you by many a Tomcat
user on this list. I'll make one more attempt here, but you are going to
need to hire someone to show you the way if this doesn't
Thanks - any idea where to get a quick code sample on how to create my own
connection
pooling? I'm using MySQL as a database for the first time.
- Original Message -
From: [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Sunday, September 29, 2002 6:02 AM
Subject: Re:
Hi Jacob and thanks for your response.
I tried your suggestion regarding servlet mapping and it helped - I can
now execute servlets in the default package but I get the same message
when try to access a servlet that is not in the default packageoh
yes Tomcat is shutdown while I deploy my
I think there is no reason to use Apache.
Tomcat can do it all and it is simpler this way.
Plus Tomcat can do JSPs, etc.
V.
Barry Moore wrote:
I have not used Tomacat in a couple years. The last
time I used it, our companies policy was to integrate
with Apache and get Apache to do the
A FAQ is what is good practice for JDBC connection pooling and how to
use it with Java Beans.
My Ans, with working source code:
(A good practices is: a property that has a getter/setter in a bean, and
a bean has a DAO it delegates to.)
You could have a DAO with a class/static initialize that
On Sun, Sep 29, 2002 at 08:31:32PM -0400, V. Cekvenich wrote:
I think there is no reason to use Apache.
Tomcat can do it all and it is simpler this way.
IF you want tomcat running at root, assuming that you want tomcat to
answer requests on port 80.
I, personally, prefer to have apache on
V. Cekvenich wrote:
I think there is no reason to use Apache
Tomcat can do it all and it is simpler this way.
Apache is by far the more mature and robust of the two and was designed
with the web in mind.
Whereas it is true Tomcat can take over from Apache to some extend it
was designed as a
Hi,
I am running Tomcat 4.1.12 and using Struts 1.0
framework.
I am doing form based authentication and unable to
get the logged in user name in my servlet code.
I have tried both request.getRemoteUser() and
request.getUserPrincipal() and they return 'null'.
Please help.
Kent Perrier wrote:
On Sun, Sep 29, 2002 at 08:31:32PM -0400, V. Cekvenich wrote:
I think there is no reason to use Apache.
Tomcat can do it all and it is simpler this way.
IF you want tomcat running at root, assuming that you want tomcat to
answer requests on port 80.
I,
[EMAIL PROTECTED] wrote:
Kent Perrier wrote:
On Sun, Sep 29, 2002 at 08:31:32PM -0400, V. Cekvenich wrote:
I think there is no reason to use Apache.
Tomcat can do it all and it is simpler this way.
IF you want tomcat running at root, assuming that you want tomcat to
answer
On Sun, Sep 29, 2002 at 07:19:26PM -0500, David W Rhodes wrote:
Hi David - I've not played with AJP and the mod_jk modules yet, but if
you're trying to get back to serving pages directly from Tomcat, it
looked as though you had removed the connector definition for the http
1.1 connector on
Thanks - all of the DAO classes are static. I don't think that is the
immediate problem. I'm having
a concurrent list modification that occurs on a single record. Since there
are no nested select statement
in MySQL, I'm having to use a lot of list and select statements. It really
sucks.I just
On Sun, 29 Sep 2002 [EMAIL PROTECTED] wrote:
Kent,
I think we are on the same track , Apache was designed for that purposes
, is more robust and mature and certainly has less security related
issues.
Regarding maturity, I presume you're talking about 1.3, right? The Apache
2.0 code is
OT:
Conside postgreSQL! It is FREE, ansi SQL compliat, etc. etc.
Bill Blackmon wrote:
Thanks - all of the DAO classes are static. I don't think that is the
immediate problem. I'm having
a concurrent list modification that occurs on a single record. Since there
are no nested select statement
Unfortunately, my host doesn't support it. Next time I will if I ever get
this finished!
- Original Message -
From: V. Cekvenich [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, September 29, 2002 9:59 PM
Subject: Re: JDBC Connection pool sample code; was Re: Best practices for
I'm getting the following error for all of my bean classes under Tomcat:
2002-09-29 20:28:37 StandardManager[/EGPS] IOException while loading
persisted sessions: java.io.WriteAbortedException: Writing aborted by
exception; java.io.NotSerializableException: com.egps.beans.GroupFocusBean
I installed the 4.1.10 rpm, but it didn't seem to have any of the
examples. I downloaded the 4.1.12 tar file and moved the webapps
directory into place. I have restarted tomcat4 several time but I can
not get any othe the examples to run.
The web pages displayes the following;
Sun, 29 Sep 2002 18:39:54 -0700 (PDT) Craig R. McClanahan [EMAIL PROTECTED] said:
IMHO, anyone who goes to all the extra effort of configuring
Apache+Tomcat, instead of Tomcat alone, is nuts unless they need it.
Valid reasons to need it include:
I am pondering one more: reducing interruption
Hi,
I hope the tite is descriptive enough.
I was wondering what people are using for Connection Pooling /w multiple
pools shared by all servlets/jsp's, within one webapp (context), not tomcat
(host).
Is there a project or something (poolman, dbConnectionBrpker, etc) that
anyone knows
I am STILL having or encountering no success whatsoever in getting Tomcat 4.1 up
and running!!! Here is the whole error msg., in its' entirety, in DOS when I
tried/attempted to activate it:
C:\Apache Group\Tomcat 4.1\binstartup
The JAVA_HOME environment variable is not defined correct
This
Hi Steve.
Firstly, remove the ; from the JAVA_HOME env variable, it's not needed.
Secondly, as previously mentioned, tomcat shouldn't be in a directory
that
has spaced in the path. I have in the past seen applications install
themselves
in directories like this, and then fail to run... makes
If you have stuck servlets (which I take to mean you've got bugs in your
app that causes your servlets to stop responding), how would calling those
exact same servlets through Apache be any different? If the problem is
really the servlet, it's going to cause runaway threads (without a
concise
46 matches
Mail list logo