I don't know if it's the minimal set, but it works for me:
${CATALINA_BASE}/conf
${CATALINA_BASE}/conf/server.xml
${CATALINA_BASE}/conf/tomcat-users.xml
${CATALINA_BASE}/conf/web.xml
${CATALINA_BASE}/conf/catalina.policy
${CATALINA_BASE}/webapps/Context
// Replace Context with the name of your
You should place your .jar file under Tomcat_home/common/lib.
-Original Message-
From: Ying Zhang [mailto:[EMAIL PROTECTED]]
Sent: Saturday, May 25, 2002 6:03 PM
To: [EMAIL PROTECTED]
Subject: Help on mmmySQL/JDBC/Tomcat
Hi,
I am trying to connect mysql database in jsp file. Mysql
hi,
I'm using Tomcat 3.3.1 and want to precompile all XSL-stylesheets which are
in the /WEB-INF/xsl -directory.
Therefore I have to get a list of all files and subdirectories in that
directory.
How do I get this list if I don't want to access the filesystem directly via
the servlet-context's
Have any of you good people managed to get ISAPI_REDIRECT.DLL working when
IIS is on a different physical machine to the tomcat instance?
thanks in advance
Simon Weaver
Translucis Ltd
London
[EMAIL PROTECTED]
http://www.translucis.com
Steinar Bang [EMAIL PROTECTED]:
Steinar Bang [EMAIL PROTECTED]:
Perhaps my JkMount statements aren't included into httpd2.conf.
Hmm... I don't think that's it, either... I get the following message,
when I'm starting apache:
# /etc/init.d/httpd2 start
Starting httpd2: XXX Create dir
I was reading a howto that emphasiszes that tomcat
needs to be started before apache. Is this really
true and if yes then why? I was able to run some
servlets by starting apache first.
Thanks,
Neil
--
To unsubscribe, e-mail:
mailto:tomcat-user-[EMAIL PROTECTED]
For additional commands,
Platform: Intel PIII, RedHat 7.2, apache 2.0.35 from the RPM in URL
http://ftp.falsehope.com/home/gomez/apache2/,
tomcat 4.0.3, and mod_jk2 from RPMs in
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.3/rpms/
[trying to use a .war created for
Hi Jc,
Ok I'll give it a shot...
IIS web front end with IIS 5.0. (web-portal) (port 7070)
Tomcat 4.0.2 applciation server on win2k (portalnode2) (port 8080)
I have isapi_redirect installed locally on web-portal, installed as an isapi
filter with the registry patched appropriately to point at
Put the isapi_redirect.dll on IIS machine, workers.properties too.
You must have the iis_redirect.reg on IIS machine too.
Have you config and load it on IIS machine?
Have you a green arrow on Isapi Filter under IIS?
Good luck.
Jc
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For
Hi
How to configure Tomcat that jsp pages are compiled with the -deprecation flag on ?
Thanks for your help
Claudio
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Hi !
I have a problem with Apache and Tomcat. I am using mod_webapp to
connect
my webapp app to the root of my apache /. My application has a
structure
like
/app/public
/app/secure
/app/WEB-INF
Now I want apache to restrict all requests to http://server/app/secure/
to
some valid
Quoting Ken Hu [EMAIL PROTECTED]:
Dear All:
My platform is Tomcat 4.0.3 and Jakarta-commons-clooections,dbcp and
poll installed.
I have setted up the server.xml and web.xml and created a testing jsp
file that can
get a connection from DataSource resource.
My question is how can I make
Try JFreeChart from objectrefinery.com. It is Oprn Source...
-prabhakar
We need to display graphs on our web pages based on our data reports. We
guess we need a set of API to create the GIF/JPEG files dynamically in
servlets. I read
Anyone using tomcat/jboss (in diferents
machines) and JAAS what's loginmodule is using (tomcat/jboss)?
Emerson Cargnin - MSASICREDI - Ramal
3358-4860
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Hello Tomcat experts
I'm experiencing a weird cases of Tomcat for download server. Tomcat. is somehow
auto-shutdown at night on my customer machine. All tomcat logs, including application
log doesn't show any crashes and the only traces we can see are last messages
that we
hi there,
I performed the windows update today Tue May 28th 2002 and now when I
try to get the filter to redirect to one of my tomcat files it doesn't work
complaining that I don't have permission/authorisation to view this file.
Has anyone else encountering the same problem.
It's http
Hi,
where can be found some README files or description of jni_connect module ?
I've searched tomcat section on jakarta's website and found only binary file
jni_connect.dll.
What is purpose of this module ?
-thanks for any help, Jan Peknik
---
Odchozí zpráva neobsahuje viry.
Hello,
I've been trying to get the tomcat jboss combination
working properly together for a few days (downloaded from
jboss site). I'm having problems running some of the JBoss
example code which currently gives Exceptions concerning
some of the library files (javax/net/Socket).
I'm sure this
I found the class under the path $CATALINA_HOME/server/lib in the jar
file tomcat-util.jar. Is it not the case that that this is in the
server's
JVM classpath? Or do I need to change my applications classpath, which
seems
to be the wrong route to take.
As I understand it there is a
I'm having a problem getting Tomcat to forward to my
error page when an exception is thrown. I have setup
the error page im web.xml, but when any of my servlets
throw an Exception, I go to Tomcat's error page, not
my customized error page. It seems to work ok if a JSP
throws an exception from
Thanks,
I can't believe that was it, I was concentrating on the first D and
totalling ignored the S. Thanks again. This is what I get for coding on
Friday! :-)
Dean Chen
-Original Message-
From: Phillip Morelock [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 24, 2002 6:06 PM
To: Tomcat
I'm having a problem getting Tomcat to forward to my
error page when an exception is thrown. I have setup
the error page im web.xml, but when any of my servlets
throw an Exception, I go to Tomcat's error page, not
my customized error page. It seems to work ok if a JSP
throws an exception from
The datasource issue was solved, but I get this:
java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getDriver(DriverManager.java:243)
at
tyrex.jdbc.xa.EnabledDataSource.getConnection(EnabledDataSource.java:233)
at
You might look at the jakarta-commons Digester component.
It allows you to fairly easily rip through an xml doc without writing
your own sax/dom processor.
Larry
[EMAIL PROTECTED] 05/27/02 01:53AM
is there a way of loading or access the web.xml from a non-servlet
class?
Hello,
I have two systems:
'Dev' is running Windows 2000 and Tomcat 4.0.3.
'Live' is running Windows NT 4.0 and Tomcat 4.0.3.
Both copies of Tomcat have identical configurations and are running Java 2
SDK 1.4.0.
I have a login page to authenticate users. On Dev the login works fine and
the
De: Pekník Jan [mailto:[EMAIL PROTECTED]]
Enviado el: 28 de mayo de 2002 15:49
jni_connect.dll.
What is purpose of this module ?
This is used when Tomcat 3.3.1 is started in process, this dll is used
for communications between tomcat and jk..
Saludos ,
Ignacio J. Ortega
--
To
just a correction with the url:
http://www.object-refinery.com/jfreechart/
At 07:47 02/05/28 -0400, you wrote:
Try JFreeChart from objectrefinery.com. It is Oprn Source...
-prabhakar
We need to display graphs on our web pages based on our data reports. We
guess we need a set of API
thanks. will give it a look.
At 08:56 02/05/28 -0600, you wrote:
You might look at the jakarta-commons Digester component.
It allows you to fairly easily rip through an xml doc without writing
your own sax/dom processor.
Larry
[EMAIL PROTECTED] 05/27/02 01:53AM
is there a way of loading
are the configuration files the same for 'dev' and 'live'?
it may be possible that url rewritting is turned on in 'live'...
At 10:08 02/05/28 -0500, you wrote:
Hello,
I have two systems:
'Dev' is running Windows 2000 and Tomcat 4.0.3.
'Live' is running Windows NT 4.0 and Tomcat 4.0.3.
Both
I just copied the Tomcat configuration files from dev to live and the
problem still exists.
Jonathan
|-+
| | tek1 |
| | [EMAIL PROTECTED] |
| ||
| |
Just some ideas:
-Did you restart tomcat on your production machine after copying the files?
- Are you using the same browser to view both machines? Is there a reason
cookies wouldn't be accepted when you're browsing the production site?
Hamish
-Original Message-
From: [EMAIL PROTECTED]
Per Craig's post yesterday session ids are *path* parameters, not *query*
parameters. Designated by the separation using a ';' instead of '?'.
This is per the servlet specification so that sessions can be tracked on
clients that don't have cookies turned on.
You probably should look at finding
Thank you all for your responses.
The curious thing is that I am using the same browser to view the exact
same files on both servers. Nothing is changing, as far as I can tell.
I did restart the Tomcat service on the Live machine after copying the
configuration files and both servers are on
I was able to get ride of the one ServerCookie error and now have
moved on to the next error :-). Any suggestions would be appreciated.
The code is attached below. The error is given as
Starting service Tomcat-Standalone
Apache Tomcat/4.0.3
Starting service Tomcat-Apache
Apache Tomcat/4.0.3
Hi all,
I have been trying to integrate the apache web server with tomcat 4, but
the following message is displayed when I start the apache web server:
--
Syntax error on line 209 of /usr/local/apache/conf/httpd.conf:
Invalid command 'LoadModule', perhaps mis-spelled or defined by a module not
IT looks like the location of the module might be your problem.
Were is the module located on your box?
LoadModule jk_module modules/mod_jk.so
AddModule mod_jk.c
-p
-Original Message-
From: Mauricio Tia Ni Gong Lin [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 28, 2002 8:59 AM
To:
Hi,
i have some strange problem in tomcat 4.0. My jsp page
is calling one class method and that class method is
calling another class method.
The problem which i have to tomcat 4.0 is that when
class method is try to call another class method it is
giving error ClassNotFoundException.
Same
You should really use the lifecycle listener approach and roll your own
hashtable- or list-based implementation, depending on your needs. Going for
the internals is cool, but it is a non-portable hack.
HttpSessionListener is the way to go, IMHO.
fillup
On 5/27/02 3:13 PM, Mats Nyberg [EMAIL
Howdy,
Same application is working fine in tomcat 3.2.4. i
try to keep that jar file in classes and
common/classes directory in catalina_home but still
JAR files belong in the /lib directories. If the contents of the JAR
file are required only by one web application, put in under the
did you try the standalone approach?
fillup
On 5/28/02 6:53 AM, Scott C Strecker [EMAIL PROTECTED] wrote:
I found the class under the path $CATALINA_HOME/server/lib in the jar
file tomcat-util.jar. Is it not the case that that this is in the
server's
JVM classpath? Or do I need to change
Do you have this at top of pages:
%@ page errorPage=errorPage.jsp %
I'm pretty new to this but I believe you need to have this at top of all
pages that you want sent to your web page. That page in turn must have:
%@ page isErrorPage=true %
Ken
-Original Message-
From: [EMAIL
Hi,
I know this has been covered before, and I've searched the archives, but
none of the solutions posted seemed to work. Am I missing something?
I am using Tomcat 4.03, JDK 1.4, and Sybase JConn 5.5
Here's what I did:
I installed the appropriate applications.
I put jconn2.jar in
Has anyone figured out how to setup Virtual Servers using the
jboss-3.0.0RC1_tomcat-4.0.3?
I've had nothing but problems with this. Please someone tell me it's
something stupid that I'm doing incorrectly.
I'm currently running jboss-3.0.0RC1_tomcat-4.0.3 with Apache and would
like to setup
I did not try it. But I did find the cause. I am on a UNIX box so I use
the startup.sh script. This script calls another script setclass.sh.
This
file is missing the #!/bin/sh first line that all the other *.sh files
have.
I my case my shell is csh. The net effect was to cause a failure without
Hello all.
I'm trying to integrate tomcat with iPlanet web server.
My final destination is to cause the iPlanet get .jsp request from a client,
forwarding it to tomcat (running
on the same machine), let the tomcat execute it and getting back the results to the
client, all that transparent
to
hi,
i would like to monitor the tomcat status: how many threads there are,
the number of threads for tomcat itself, currently serving requests, and
waiting for requests.
i would also like to know the number of rejected requests and delayed
requests (because the maxProcessors limit or the
Hi All,
For us novices just getting into Tomcat and Java, is there any one document that
explains where all the various files should be placed when setting up for JSP-based
applications? A step-by-step white paper or document would be nice that talks about
Tomcat environment setup; what
Is there a reason why you aren't using iPlanet's jsp/servlet engine?
Besides the obvious fact iPlanet's implementation is out of date.
iPlanet ent 6 is much better than iPlanet 4. Perhaps try the newer
version of iPlanet? that might be more fruitful than trying to integrate
tomcat with iPlanet
I think I know what you're trying to say.
but where does HttpSessionListern go?
do I just make it a private variable in a JSP page? Or make a class to
implement it.
then, what actually fires the HttpSessionBindingEvent to it?
and how does the HttpSessionBinding Event know when a user has timed
Can I simultaneously run tomcat 4.02 and 3.2 on one web server for
testing purposes? If so are there any 'special' configuration issues?
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Hello,
I have a Tomcat Server running on Solaris as JSP and WEB server. After
executing for a while, the Tomcat just Hangs-UP and the only way of
restarting it is to kill the Tomcat process.
My configuration is the following:
- SunOS 5.8
- Solaris 8
- JRE 1.3.1_03
- Tomcat 4.0.3
1. Follow the documentation on the website to get tomcat running in
standalone mode (the main install document).
2. Go to http://localhost:8080/
3. Click on the documentation link. You'll see. Of course, all of this
stuff is on the jakarta website anyway...
fillup
#1 is available at:
Thanks!
Did you just copy the files under ${CATALINA_BASE}/conf from the
corresponding ones in ${CATALINA_HOME}/conf or do these need to
be altered in one way or another?
Also, I am assuming that you are placing your java and class
files under ${CATALINA_HOME}/webapps/Context/WEB-INF/classes
Is
Hey Phillip,
works great
thanks alot for your help
Terrence
From: Phillip Morelock [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: Listing all currently logged users
Date: Tue, 28 May 2002 11:15:40 -0700
MIME-Version: 1.0
Hi... Hope there is someone out there who can help with this!
We are attempting to connect 50 clients to Tomcat 4.03 (running stand-alone)
simultaneously.
After several minutes, we get the error java.lang.OutOfMemoryError and all threads
terminate, however it would appear that we have plenty
Maybe you have some instances of classes that never die and colapse the
memory . Try using some tool to check the objects of your aplication. I had
a similar problem and used OptimizedIt (www.vmgear.com) a free demo to check
the behavior of the classes and the Tomcat.
Hi Phil... No this is not the situation. Our application is a combination of servlet
and jsp pages which uses a bean
interface to talk to a separate proprietary server.
Lisa
-Original Message-
From: Phillip Morelock [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 28, 2002 5:06 PM
To:
Hi do I make root point to the c: drive??
**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying
Could any one tell me how to configure them to let them work together? That
means to let them use the same domain and port (like 80), or at least same
domain.
Thanks!
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Has anyone figured out how to setup Virtual Servers using the
jboss-3.0.0RC1_tomcat-4.0.3?
I've had nothing but problems with this. Please someone tell me it's
something stupid that I'm doing incorrectly.
I'm currently running jboss-3.0.0RC1_tomcat-4.0.3 with Apache and would
like to setup
I was able to connect by doing:
Class.forName(com.sybase.jdbc2.jdbc.SybDriver);
conn = DriverManager.getConnection();
However, still doesn't work if I do ds.getConnection();
How can I check to see if the datasource is loaded correctly besides
checking if it's null or not.
Thanks,
Dean
I am using Tomcat 4.0.3 and have 2 servlet contexts running in the same JVM.
Session SA is created when I visit a page served by servlet context A.
Session SB is created when I visit a page served by servlet context B. Now,
when I revisit a page served by context A, a new session is created! I
Here, we have the same problem!!! What can it be?
Our configuration:
- SunOS 5.8;
- Solaris 8;
- Dual UltraSparc 400Mhz;
- J2SE SUN 1.4;
- Tomcat 4.0.3;
- We are using -Xmx1024 -Xms512;
- MaxProcessors=250, MinProcessors=10, acceptCount=250;
- Oracle Thin JDBC;
PS 1: we are not having
I'm running Win 2000...
-Original Message-
From: Arzhang Saman [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 28, 2002 10:57 AM
To: 'Tomcat Users List'
Subject: Running Tomcat 4.02 and 3.2
Can I simultaneously run tomcat 4.02 and 3.2 on one web server for
testing purposes? If so are
This is happening because browsers associate cookies with the name of the
server, whereas Session ID's among tomcat contexts do not cross over.
Since the cookie / identifier for the session is something like JSESSIONID
and is associated in the client browser with your server, this property gets
I guess tomcat supports connection to external webservers using the AJP protocol.
I can see that tomcat has IIS and apache redirectors that talks to the AJP connector
is Tomcat?
Does it have redirectors for other webservers like IPlanet and Websphere?
Thanx
Ganesh
--
To unsubscribe, e-mail:
can you provide a little more of the code surrounding the line that you provided?
what is the type of sPage?
is it possible that you define the variable i elsewhere in the method?
perhaps it's complaining of a duplicate declaration?
At 12:16 02/05/29 +1000, you wrote:
Generated servlet
You need to check for null parameter first:
String sPage = request.getParameter(Page);
if (sPage != null !.equals(sPage)) {
ChrisC
-Original Message-
From: Nicholas Orr [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 29, 2002 12:41 PM
To: Tomcat Users List
Subject: Dictate what
do something like this
String queryString = request.getQueryString();
if (queryString == null)
{
// do something
iPage = 1;
iBackPage = 0;
iNextPage = 2;
Thanks for your help,
All I needed to do was see if there was a value for the querry string.
Thanks for pointing that out.
if(sPage == null) is all I needed, it works fine now
**
The information contained in this e-mail is
- Original Message -
From: Phillip Morelock [EMAIL PROTECTED]
It's a feature of the Servlet specification if you will...actually it's
somewhat of an accident of nature, given the way browsers are specified to
work WRT cookies.
- Cookies are (in the world of Web browsers)
Set-Cookie: JSESSIONID=D4F42E4F346F947DDB409C0B8F6BDA19;Path=/
However, telnetting to a context such as http://www.mydomain.com/context/
and I'll get this sent back:
Set-Cookie: JSESSIONID=D128650F08DCF7B371FCC29E79E87AD7;Path=/context
Of course, but do you know of a browser that
- Original Message -
From: Phillip Morelock [EMAIL PROTECTED]
Set-Cookie: JSESSIONID=D4F42E4F346F947DDB409C0B8F6BDA19;Path=/
However, telnetting to a context such as
http://www.mydomain.com/context/
and I'll get this sent back:
Set-Cookie:
I'm attempting to set up mod_webapp with Tomcat 4.0.3, but it segfaults.
At least, I'm getting notifications of childern segfaulting in the error
log, the webapp keeps restarting based on the initialization output, and
submitting a request to Apache that is handled through the webapp
On Wed, 29 May 2002, James Williamson wrote:
Date: Wed, 29 May 2002 05:28:56 +0100
From: James Williamson [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: Cannot retrieve session after visiting a different
You must use Isapi Filter in IIS named isapi_redirector.dll
For more information you can use the Tomcat-IIS howTo in Jakarta
Documentation.
You could also follow instructions on
http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
Are you shure that the url is right ?
jdbc:sybase:Tds:servername:4946/database
I thought it should be
jdbc:sybase:Tds:servername:4946?ServiceName=database
(Although my information might be a bit outdated)
-Ursprüngliche Nachricht-
Von: Chen, Dean (Zhun) [mailto:[EMAIL PROTECTED]]
77 matches
Mail list logo