Hello,
On my development machine, I have created quite a few contexts or webapp
instances, and due to that fact, the startup time is increasing. I do not want
to remove any of the contexts as they all mean something to me, but I would
like to be able to mark them so they do not start up. And
Hello,
Is there a quick reference, or somewhere one can go to get a listing of the
element order for the 2.4 dtd?
I already have a bunch of elements in my web.xml and I want to add a
listener but I forgot where it goes and I can't seem to google it up today?
Anyone know?
Thanks,
Scott
Hello,
I was showing someone my website the other day, and when they started playing
with the URL, they could see the jsp files, html files, and files under the
WEB-INF directory.
Is created a welcome-file-list in the web.xml, but I guess if someone plays
with the url and tries to get a look
Hello,
I want to say thanks for the links yesterday in regards to my pooling problem.
After reading the docs, I have a better handle on how this will work.
I am ready to test, and I was able to get the following to work within a JSP
page.
But I would really like to create a Singleton class
Hello,
To start off with, I hand rolled a database pooling class to handle database
pooling for a ecommerce site I am writing. The application is web-based so of
course I am using Tomcat 5.5 and all was going well. But in my implementation,
I occasionally get errors when the connection has not
Hello,
I have configured two Hosts in my server.xml for two different sites.
The one I am having issues with is as follows:
Host name=www.theuniquepear.com appBase=webapps/unique/
unpackWARs=true autoDeploy=true
xmlValidation=false xmlNamespaceAware=false
Context path=
Actually I am getting no errors. Basically some of the images and includes do
not show up unless I take out the unique from the querystring. That is why I
am confused.
Originally, while building the application, I did not have an entry in the
host element. I just used something like this:
it?
You may need to ensure your static resource uris like images reference the
context name, e.g src=/unique/images/pic.gif
Allistair.
-Original Message-
From: Scott Purcell [mailto:[EMAIL PROTECTED]
Sent: 12 August 2005 15:43
To: tomcat-user@jakarta.apache.org
Subject: Virtual Host
Hello,
I have the need install Verisign Certificate on my Tomcat 5.5 running on XP.
I am not that familiar with SSL, and was hoping someone may of done this, and
could give me a high-level of the complexivity.
I would like to have this running by Friday and could use any links, help.
Thanks,
Hello,
I am running Tomcat 5.5 on a PC.
Up until a week ago, the machine was a local machine basically for my
development. So I would hit the machine like so for sites:
http://localhost/site1
or
http://localhost/site9
On Monday, I purchased a staticIP and a DNS entry. I had register.com bind
List'
Subject: RE: Virtual host, routing, problems with localhost
Do you have a host entry in your server.xml with the name of localhost?
George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
-Original Message-
From: Scott Purcell [mailto:[EMAIL PROTECTED
Hello,
I am sure this topic has been beaten to death, but I am having trouble
understanding how the Log4J works, and how I can configure it on my localbox.
First off, I am running Tomcat 5.5 and I have created two webapp contexts. One
is a dev site, and the other is a production site. I am
.[Catalina].[localhost][/webappname]=DEBUG,
R
-Original Message-
From: Scott Purcell [mailto:[EMAIL PROTECTED]
Sent: 02 August 2005 14:22
To: tomcat-user@jakarta.apache.org
Subject: Logging With Tomcat 5.5
Hello,
I am sure this topic has been beaten to death, but I am
having
Hello,
I have created a web-site using Struts framework. I have created it on a dev
box, and I am finally ready to deploy it to the world.
My goal is to create 3-4 web sites, and I am going to have one static IP
address to the machine. I currently have two web sites, and dns names. I am
mean? I've seen web apps in tomcat stress
tested with 20.000 requests per day (doing relatively complicated db
queries) and doing very well.
Regards,
Marius
-Original Message-
From: Scott Purcell [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 28, 2005 4:31 PM
To: tomcat-user
Hello,
I have a webapp that is running on Tomcat 5.5. I have always developed just
using Tomcat. Now I want to take a site, and host it. The site will also run
certificates for SSL. Should I wrap my site around Apache now. Meaning should I
install apache and put tomcat inside? Or however this
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html
Hello,
I have just read this document about tomcat 5.5 ability to use logger. From
the example there show putting the log4j.properties into the common/classes
folder. But doing this of course, puts all logging here.
I really ...
Hello,
I am trying to configure a javax.sql.DataSource to work with the JDBC pooling
stuff.
I have been screwing with this stuff quite a while now and could use some help.
In my Servlet I want to use the JNDI and something like this for a connection:
Context ctx = new InitialContext();
Hello,
I deployed a war file for a new project a couple of weeks back. The war
extracted, and the manager saw it, and all is good. But now I need to replace
that webapp, with a new war file. Now the other day, I went to the manager,
undeployed the webapp, turned off Tomcat and deleted the
a 2.3 spec
web.xml file. The full spec can be found at
http://www.jcp.org/en/jsr/detail?id=154
--David
Scott Purcell wrote:
Hello,
I am trying to use the DBCP features of Tomcat 5.5.7. I created a webapp named
testDB and put it under $CATALINA_HOME/webapps/testDB. Then I created a
testDB.xml
Hello,
I am still configuring my Tomcat 5.5.7 on a PC. I am configuring a Context
element and would like to put it in the META-INF/context.xml for my webapp. The
docs say this would be fine.
My question is, so I need anytype of doctype heading for this, since it is a
xml file?
Or do I just
Hello,
I am trying to get the logging to work for a webapp I am working on. I am using
Tomcat 5.5.7 and I am here:
http://localhost/tomcat-docs/logging.html
I followed the instructions but do not get what I assume is proper behavior.
1) created the log4j.properties file and placed under
Hello,
I am following the information here to add DBCP to my application.
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-datasource-examples-howto.html
I am reading to add the Context path=/DBTest ... from the above docs. The
instructions say to .
Configure the JNDI DataSource in
5.5.7
Hi.
Take a look at this for where to put Context elements:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html
This is new with Tomcat 5.0 and is continued in Tomcat 5.5
--David
Scott Purcell wrote:
Hello,
I am following the information here to add DBCP to my application
Hello,
I am new at using the 5-5.7 Tomcat servlet engine, and I just noticed something
unique from the older versions. If I update a class file, I can see that the
class gets reloaded, but my session does not expire like in previous versions.
So my question is, is this correct and if so,
I just installed Tomcat 5-5.7 and used the installer on a PC. It installed and
all is good. I went to the manager and poked around.
I need to create a new web application (it is not a war). So I have a directory
that I am ready to drop into the /webapps directory.
Before I do this, I have a
First time using the manager application. I deployed a war file into my
webapps, and all is good. Problem is, if I update class file in newly created
webapp, it does not recompile automatically like my old 4x did. I had to do a
reload from the manager to see the changes.
If my new webapp is
Hello,
I am running Tomcat 4.1.31 at work (dev) and I have a 5.0.28 at home. I have
been working with Tomcat for quite some time, and ran into a problem trying to
set up a webapp. At work on my 4.1.31, when create a new web-app, I edit the
server.xml file and add my Context (see context
Hello,
I am having trouble with a filter. Code below.
What I am trying to achieve is as follows: We have a current web-site, with a
lot of jsp pages, etc. We are moving the code to a load-balanced environment,
and I would like to put a hidden IP address into each display page. This way
I can
Hello,
I have a web site that I want accessed using the dns name:
eg:
http://www.purcell.com
I have a welcome-file entry which says go to index.jsp.
Of course the page loads and the url looks like this:
http://www.purcell.com/index.jsp
Is there anyway to remove the index.jsp, but display
Hello,
A while back, I was learning Tomct 4.1.31. Anyway, back then I used a web-based
admin tool to load war files, etc.
I did not save my notes, and I forgot what the url was to launch this admin
helper.
Could someone help me out with this?
Thanks,
Scott
I am trying to configure database pooling in Tomcat 4.1.31. I found some
excellent documentation here
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html
I followed this exactly for mysql (top article).
I created the DBTest web-app precisely, and all folders
Tomcat Running on Win2000, Tomcat 4.1.3
1. Tomcat is running on port 80 independent of Apache.
2. I have changed the server.xml file as below;
!-- Define the default virtual host --
Host name=my_IP_address debug=0 appBase=webapps
unpackWARs=true autoDeploy=true
3. When I run netstat -an
No I am not using Apache as a front end, I am using just Tomcat.
Is this bad?
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 09, 2004 10:18 AM
To: Tomcat Users List
Subject: RE: Problems With Configuring IP
Hi,
My specific IP address never
The deployment descriptor will allow the following:
error-page
error-code404/error-code
location/errorpage.jsp/location
/error-page
Give this a try and all 404 errors caught by the context will be sent to the
errorpage.jsp file. Also check the docs, as there are other attributes that get
I am developing a mid-sized application, which will use JSP Model 2
Architecture. Currently I have a class that does Database Pooling, but I am
curious about some threads I see time to time.
I have noticed that some developers on this list refer to Tomcats Database
Pooling. It looks like
I have just installed Tomcat 4.1_05 on my win2000 box and I am having trouble
adding web Contexts.
Here is the original server.xml entry.
Context path=/ docBase=ROOT debug=0 reloadable=true /
Now, on all my old Tomcat installs, when I needed to add a new Context I would
add another line like
I am stressing and writing the wrong info. I apologize
Here is the startup info
C:\Documents and Settings\spurcell%CATALINA_HOME%\bin\startu
Using CATALINA_BASE: C:\jakarta-tomcat-4.1.31
Using CATALINA_HOME: C:\jakarta-tomcat-4.1.31
Using CATALINA_TMPDIR: C:\jakarta-tomcat-4.1.31\temp
Using
I am running Apache Tomcat/4.1.31 on Win2000. Yesterday I tried to deploy some war
files and had no luck. I added a
Context path=/myapp docBase=myapp debug=0 reloadable=true /
stopped and started tomcat and it never worked.
Anyway, a person in the group recommended me using the Tomcat Manager.
Hello,
I am using Tomcat 4.1 on Win2000. I have a web application that has been running for a
while that has an entry in the server.xml file for reloading etc.
Anyway, I am beginning to create a .war file for the code, using ant. I have read the
docs, and it seems easy that one should put the
call it from the cmd line?
Thanks,
Scott
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Monday, November 01, 2004 2:05 PM
To: Tomcat Users List
Subject: Re: deploy war file
From: Scott Purcell [EMAIL PROTECTED]
Anyway, I am beginning to create a .war file
Hello,
I am running Tomcat 4.06 on Windows, and had run into an problem that I am trying to
figure out. I have created a download application that enables end-users to gather
images, zip them up and let them download them. Pretty simple. All is happy during
testing if three users download at
I am migrating from a IIS box to Tomcat, and we had enabled the write function to a
designated site, so I could accept PUT data. I tried using existing code, but I am
getting a 403, which tells me I need to somehow turn PUT on within the Tomcat.
I am running Tomcat 4.0.6 on Win2000.
Thanks,
how to enable this 'PUT'.
Thanks,
Scott
-Original Message-
From: Scott Purcell
Sent: Tuesday, September 30, 2003 12:24 PM
To: [EMAIL PROTECTED]
Subject: enable GET within Tomcat
I am migrating from a IIS box to Tomcat, and we had enabled the write function to a
designated site, so I
Hello,
I am running Tomcat 4.0.6 on Win 2000, and I have three web apps running.
I would like to turn off directory listing, but cannot figure out how. I have searched
google, but have came up empty. Could someone please let me know how to turn
'directory listing' off.
[eg
http://site/webapp
/faq/misc.html#listing
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Scott Purcell [mailto:[EMAIL PROTECTED]
Sent: Friday, September 26, 2003 12:24 PM
To: [EMAIL PROTECTED]
Subject: Directory Listing
Hello,
I am running Tomcat 4.0.6 on Win 2000, and I have three web
If Tomcat is unable to set a cookie to the browser, it should do url rewriting. Are
you seeing that?
-scott
-Original Message-
From: Frank Diakovasilis [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 20, 2003 9:47 AM
To: [EMAIL PROTECTED]
Subject: XP and session persistence
I have run
class and immediately executes
its init.
Scott Purcell
Vertis Corporation
-Original Message-
From: Chandra Gottipati [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 29, 2003 9:45 AM
To: Tomcat Users List
Subject: Starting a Clean-up program
I have a static method that starts a thread
It looks like it cannot find the following:
root cause
java.lang.NoClassDefFoundError: org/apache/jasper/compiler/JspRuntimeContext
at org.apache.jasper.servlet.JspServlet.init(JspServlet.java, Compiled
Code)
Which tell me it cannot find a certain class I think Denise is right, I
to hack on things to get them to work. It is like a mission.
Thanks,
Scott
-Original Message-
From: Charles Baker [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 13, 2003 5:52 PM
To: Tomcat Users List
Subject: Re: Perl And Tomcat
--- Scott Purcell [EMAIL PROTECTED] wrote:
Hello,
I
I don't get it. I had trouble installing 4.1.18 on my Win 2000 box also. I dropped
down to 4.0.6 and it went right up.
You may want to try removing that tomcat, and trying another ...
Wish I could be of better help. I know on the 4.0.6, I just defined the JAVA_HOME
variable and it just worked.
Hello,
I am trying to run some CGI scripts (perl cgi's) on my Tomcat 4.0.3 under Win 2000.
I followed the documentation showing:
Rename $CATALINA_BASE/server/lib/servlets-cgi.renametojar to
$CATALINA_BASE/server/lib/servlets-cgi.jar.
and
Remove the XML comments from around the CGI servlet and
That sounds good, you could probably create a small app with threads which uses the
url class to connect to your tomcat, try and read a url. If that throws a error, your
down, else your up. I use the url class quite a bit to ensure servers are alive before
using xml-rpc on them.
Scott
Hello,
I have been beating my head on a wall all afternoon, trying to get Perl to work with
Tomcat.
I can call up the CGIServlet, and it shows that the tomcat side is working. The
problem is in the fact that I cannot seem to get a perl cgi to run.
Has anyone out there ever ran perl on Tomcat?
Hello,
I have a new box that I am configuring.
I installed java jdk1.3.1_06 and set JAVA_HOME to C:\jdk1.3.1_06. and set the path to
its existance. I can call java or javac and all is happy.
Then I downloaded jakarta-tomcat-4.0.6 on D:\
I unzipped the application and set my path to its lib.
Hello,
I am getting a little farther into my non-starting tomcat.
Here is the error I am now getting. To me it appears that there is another server
running on port 80, but there is not.
Using CATALINA_BASE: ..
Using CATALINA_HOME: ..
Using CATALINA_TMPDIR: ..\temp
Using JAVA_HOME:
I got the server up. It was a port issue. In the server.xml there is a line:
I think it is the first non-comment line
Server port=8005 shutdown=SHUTDOWN debug=0
That line messed me up. Is that stating that it is using port 8005 for the jvm
connection? If anyone gets this, could you fill me in a
Running Tomcat 4.1.12 on Win2000.
Problem 1) I created a site under webapps in which only servlets will run. I created a
web-xml file: (see Below): All works good.
Question: When I hit the URL http://localhost/site I see a directory listing. I do not
want this. I thought the welcome-file-list
Hello,
I am trying to get a servlet Initialization block to initialize but I cannot seem to
get it to work. I am running a new install of Tomcat 4.1.12 on win2000.
I have created a webapp called cybrary, and I have put that into the server xml with
the following line:
Context
not initializing?
Hi,
Did you check the $CATALINA_HOME/logs/catalina.out log? By default, it
swallows System.out and System.err statements.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Scott Purcell [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 06, 2002 2:34 PM
To: [EMAIL
Subject: RE: init() block not initializing?
Hi,
Did you check the $CATALINA_HOME/logs/catalina.out log? By default, it
swallows System.out and System.err statements.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Scott Purcell [mailto:[EMAIL PROTECTED]]
Sent: Friday
Hello,
I was just wondering if there is a way on win2000 Tomcat 4.1.12 to take the output
that is going to the localhost_log_timestamp.txt to stdout?
Thanks,
Scott
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
form-login-config
form-login-page/loginpage.html/form-login-page
form-error-page/errorpage.html/form-error-page
/form-login-config
/login-config
security-role
role-namemanager/role-name
/security-role
Scott Purcell | Developer | VERTIS
It works on my tomcat on NT. We use a lot of jars, but it it someties hard to
uncompress and compress the jars with changes, so I just put the updated class in the
classes dir and all works out well. When we go to production, I just jar them all back.
Scott
-Original Message-
From:
:
Context path= docBase=ROOT debug=0 reloadable=true /
Context path= docBase=/newapp debug=0 reloadable=true /
But it dies on startup. I cannot even find the error: The black startup screen just
dies a quiet death. I checked typing and I do not believe it is that.
How do I add a new context?
Scott
Hello,
I am trying to send a (request, response) object to a server that lives at another IP
(or URL). I have the need to pass parameters that are in the request object, but I
cannot seem to forward the request to the other servlet. I keep getting a error:
java.lang.IllegalArgumentException:
)
at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012)
at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
at java.lang.Thread.run(Thread.java:484)
Scott Purcell | Developer | VERTIS | 555 Washington Ave. 4th Floor | St. Louis, MO
63101 |
T
Hello,
I have Tomcat 4.0.3 running on my NT box. I do mostly servlet work, but I have the
need to run a Perl CGI for a web project. I have put some .pl files and .cgi files
into the docroot, but they do not execute properly. Is there a way to allow Perl to
run with Tomcat? Could someone advise
Have you updated any record using Toad?
I updated some records in toad and forgot to hit commit, and it screwed me up for
hours. My code that worked earlier stopped working and I was getting all kinds of
wierd problems. I went back to toad, hit commit, and all problems disappeared.
Andryc
Web Systems Engineer
MISER
http://www.umass.edu/miser/
Phone: (413)-545-3460
[EMAIL PROTECTED]
-Original Message-
From: Scott Purcell [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 12, 2002 03:36 PM
To: Tomcat Users List
Subject: RE: Database locked by Tomcat
Have you updated any
localhost_access_log
localhost_examples_log
localhost_log
I have been tailing each of those, but I never see my messages. Also, they do not go
to stdout, as I am starting tomcat in a cmd window, and the log() does not go there.
Thanks,
Scott Purcell
--
To unsubscribe, e-mail: mailto:[EMAIL
Check out the O'Reilly site or servlets.com. They have a multipart parser that does
uploading, and handles anysize upload.
Scott
-Original Message-
From: pascal GEND [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 17, 2002 9:07 AM
To: [EMAIL PROTECTED]
Subject: uploading files software
I have been running Tomcat 4.0.3 on my NT box for a few months, and I am pretty
familiar with it. I set the server.xml to run on port 80 not 8080.
I tried to install cocoon 2.0.2 and ran into a problem. I read the install guide, and
it basically said to place the cocoon.war file under my
Hello,
I am running Tomcat 4.0.3 on NT, and I am going to upgrade the version. Up to this
point, when I upgraded, I basically copied my old version to a bak.version and copied
the web-apps folder over. Is this the best way to do a upgrade, or is the sw
intelligent enough to just upgrade on
was
perfect. So All should be good.
*jsp:useBean id=formHandler scope=request class=com.MoniTestBean/
I bet that works. I talked to my teacher about it before and he believes that all
beans have to be in a named package.
I always worked for me.
good luck
Scott Purcell
Vertis Corporation
I think it is servletContext now. Check out the j2ee for servletContext that may be
what you are looking for.
my o'reilly book shows
public String ServletContext.getServerInfo()
if that don't fly, I can dig deeper, just yell
Scott
-Original Message-
From: Eichfelder, Frank
Hello,
I have the need to parse out a query from a running .jar file.
The .jar is a servlet that does some queries to a local DB. I want to grab the
querystring that is being sent to the
DB somehow when I am running the servlet.
Is there anyway to achieve this goal??
--
To unsubscribe:
there is a system table called V$SQLAREA that
holds this information.
-Original Message-
From: Scott Purcell [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 12, 2002 10:17 AM
To: [EMAIL PROTECTED]
Subject: Want to grab SQL stmt from executing servlet
Hello,
I have the need to parse out a query from
Hello,
I somehow foobared my Tomcat on NT install. I did not touch the server.xml file, but
did play with the class path.
When I try and do a start : startup at the command line, if just begins it tries to
start and dies.
I checked my java_home and it is good. I can't figure out why its
79 matches
Mail list logo