Hi
I set up my tomcat server from home and then went to school to try access.
for a while it was ok, but after repeatly doing many database queries and
processing, suddenly i wasnt able to access the server. It returned a
gateway timeout error. I den went home just now and realise the Tomcat
htmlheadtitleApache Tomcat/4.0.2 - Error
report/titleSTYLE!--H1{font-family : sans-serif,Arial,Tahoma;color
: white;background-color : #0086b2;} BODY{font-family :
sans-serif,Arial,Tahoma;color : black;background-color : white;} B{color
: white;background-color : #0086b2;} HR{color : #0086b2;}
Hi,
You configure SSL with TC4 in the server.xml file. the configuration is very
simple. The steps can be found at:
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/ssl-howto.html
Amine,
- Original Message -
From: Wiwi Wiwi [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 01,
[ISAPI redirector for Tomcat 4.0.2 does not work but Version 3.3 works]
I've got the same problem. I think the problem are
the different names of the filter.
My solution is:
Rename the filter for 4.0.2 to isapi_redirect.dll
or change the name in the registry
[HKEY_LOCAL_MACHINE\SOFTWARE\
Frederic
# Define an entry to base role searches on
dn: dc=roles,dc=mycompany,dc=com
cn: roles
objectClass: person
sn: Roles Entry
This entry has the wrong object class - should be dcObject. Probably it has
not been created in the directory, so the role search is failing
Hi,
-Original Message-
From: Bernhard Wraase [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 28, 2002 6:59 PM
To: [EMAIL PROTECTED]
Subject: virtual hosts/certificates
Hello,
is it possible to use several certificates in one tomcat?
I would like to configure a different
By any chance are you using JNI in your webapp?
-Original Message-
From: Steve Wong [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 01, 2002 3:10 PM
To: Tomcat Users List
Subject: RE: Jetty .vs. tomcat
Hi mingfai,
I am trying other application servers because I have some
Yes, I have used JNI.
What's the problem??
-Original Message-
From: Manish Bhatnagar [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 01, 2002 6:35 PM
To: Tomcat Users List
Subject: RE: Jetty .vs. tomcat
By any chance are you using JNI in your webapp?
-Original Message-
From:
Stop using the JDBC-ODBC bridge. Its not thread safe and will crash
Tomcat (or any other JVM for that matter) that attempts concurrent database
access.
Randy
-Original Message-
From: Keith Ng [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 01, 2002 4:19 AM
To:
-Original Message-
From: Julien OIX [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 01, 2002 4:25 AM
To: Tomcat list
Subject: Tomcat 4.0.2 exception triying to access a Jsp ...
/pre/ppbroot cause/b prejava.lang.NoClassDefFoundError:
sun/tools/javac/Main
.
any ideas ...
Good morning, afternoon, and evening,
Just one little clarification.
If I want apache to handle all html, php, cgi requests, I use:
Connector className=org.apache.catalina.connector.http.HttpConnector
port=8080 minProcessors=5 maxProcessors=50
Partly Wrong.
With the HttpConnector you can use tomcat as a stand alone web server.
So this hasn't much to do with apache. (It's just a replacement for
apache if you don't need the features of apache)
The web_app module connects apache with tomcat.
To use mod_webapp you need some settings in
No, I don't think you can get Apache to do anything from inside server.xml.
That file only impacts the configuration of Tomcat. The HttpConnector
settings basically says Tomcat will handle http requests on port 8080. The
WarpConnector settings basically say Tomcat will handle Warp requests on
Hello, im trying to use mod_webapp, with
Tomcat 4.0.2
Apache 1.3.22
Debian Woody i386
I have tried with all mod_webapp.so files i could find on the jakarta
site, but i always get the same error in Apache's
error.log
[Fri Mar 1 14:14:12 2002] [notice] child pid 4657 exit signal
Segmentation
Thanks for the reply Randy...
Randy Layman wrote:
The HTTP Protocol says requests must be formatted as:
GET /resource
and you are sending:
GET http://server/...;
and you want to know if these should be reformatted before they get to
Tomcat? The should be reformatted before
I don't think this is exactly true. I have an app using the mediator design
pattern, in which there is only one servlet handling all requests (all of my
servlet mappings point to the same servlet). It in turn hands the requests
off to various classes and/or JSP pages for actual processing.
Randy,
The servlet is defined once in web.xml - one servlet tag, that is. In
addition it is mapped to the root URL with a statement of the form:
servlet-mapping
servlet-nameMessageDispatcherServlet/servlet-name
url-pattern//url-pattern
/servlet-mapping
Are you saying the servlet
Mark,
This sounds kinda similar to what my servlet is for - the overall
application is a testing tool that sometimes acts as a client, sending
messages out, and sometimes as a server. The servlet that's giving me
problems does two main things - it kicks off the tests in its init()
method (which
I guess what I said has led to some confusion. I meant that each
servlet tag creates an instance.
Here are the possible reasons for getting multiple instances:
1. Multiple servlet tags in web.xml
2. One or more servet tag(s) in web.xml and using /servlets/ to
Hi everybody,
i have a strange Problem, i have developed a servlet in which i can create
new records in a mysql database and where i can list these records in a
htmlpage.
Now the strange behaviour:
If i try to get the list of records Tomcat throws an NullPointerException
although the source
Randy,
Thanks for clarifying what you meant.
1. Multiple servlet tags in web.xml
Nope.
2. One or more servet tag(s) in web.xml and using
/servlets/ to access your servlet
Nope.
3. Having the same context loaded multiple times.
This generally happens because the
Since Tomcat knows nothing about MySQL (or your database in
particular), I would be willing to be that you have a problem in your code.
You probably want to look at the line where the NullPointer is being thrown.
A random guess - you only create your Connection or Statement
Sounds like a servlet problem. To determine the cause of your problem we
will need to see the servlet source code (at least the part that builds the
list).
Jim
-Original Message-
From: Stephan Mülhaus [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 01, 2002 8:28 AM
To: Tomcat Users
3. Having the same context loaded multiple times.
This generally happens because the AutoContextLoader (or
whatever its called) is still enabled and an explicit Context
is also defined, making two contexts (and two instances of
the servlets).
Maybe. I do have a context
A random guess - you only create your Connection or Statement object
when you create a new record and not for select.
Another guess...
Do you have fields in your table(s) which allow nulls? If so, the result
set will return a null when you get the contents of one of these fields and
the
I guess I can deploy to somewhere besides webapps - that
should do it, huh?
I'll try that and let all know.
That did the trick. Thanks for the pointers, Randy and Mark.
-
Scott
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with
okay, here is the part that builds the list:
//My Query to get all records from my table
r = s.executeQuery(SELECT * FROM fahrzeuge ORDER BY kaufdatum);
//a loop to parse the content of my records in my htmlpage
//chtml is my htmlpage as a String
//helpers.StrTran is a method to replace my
Well, i don't get any linenumbers where the problem occurs...
No, my Connection is correct, i made this in several servlet and i don't
have any problems with them.
Since Tomcat knows nothing about MySQL (or your database in
particular), I would be willing to be that you have a problem in your
No, i don't allow any nulls in my fields.
Stephan
At 08:43 01.03.2002 -0600, you wrote:
A random guess - you only create your Connection or Statement object
when you create a new record and not for select.
Another guess...
Do you have fields in your table(s) which allow nulls? If
Oooh I didnt noe tat matters. So wat about other drivers? which is thread
safe and which is not?
I also realise i do have many problems regarding database access.
Im using MSSQL 2000 btw. whcih driver do u recommend?
-Original Message-
From: Randy Layman [mailto:[EMAIL PROTECTED]]
Hello
I would like to have a JSP page loaded by Tomcat 3.3 when it starts up.
I have added load-on-startup to the web.xml file and my JSP page looks
like this:
%@ page import=java.io.* contentType=text/xml %
%!
public void
Init(){
System.out.println(Hello World);
}
%
%
Hi,
I know within an EJB container you mustn't use threads although in some you
can either. How is that topic related to TC.
I know I can use threads within TC but what does the spec. says about
threads ? I want to start some within a servlet's init() and stop those
using the destroy() method.
Doesn't work thus getLastModified() on a XSL file using URLConnection always
return 0 - at least in my case :-).
Oliver
AXA eSolutions GmbH
AXA Konzern AG Germany
Oliver Lauer
Web Architect
Wörthstraße 34
D-50668 Köln
Germany
Tel.: +49 221 148 31277
Fax: +49 221 148 43963
Mobil: +49
Works fine...thanks !
Oliver
AXA eSolutions GmbH
AXA Konzern AG Germany
Oliver Lauer
Web Architect
Wörthstraße 34
D-50668 Köln
Germany
Tel.: +49 221 148 31277
Fax: +49 221 148 43963
Mobil: +49 179 59 064 59
e-Mail: [EMAIL PROTECTED]
_
Stephan,
I don't see any glaring errors in this code, granted chtml, your statement
and any of the columns returned by your result set are not null. You need
to compile your application with debug (-g) so you can examine the stack
trace produced by the exception. This will at least show you
Hi All,
I am running Tomcat 4.0 on a Redhat 7.1 machine.
Everything is fine, except the startup/shutdown
scripts do not seem to work reliably.
I installed Tomcat from the RPM, so use the script
/etc/init.d/tomcat4 {shutdown|start}.
Sometimes they work, sometimes they don't.
I can always restart
Just a thought. Try the most current Production JDK (1.4) and the most
current Tomcat (4+). That JDK version is a bit old. I am not preaching
always do the latest and greatest or Use Beta Stuff in Prod.
Also, It might not hurt to check your code. It is possible to introduce
a memory leak
Mark,
This is a bug in Tomcat 3.3. See:
http://nagoya.betaversion.org/bugzilla/show_bug.cgi?id=5390
It is fixed in Tomcat 3.3.1-b1.
Cheers,
Larry
-Original Message-
From: Mark Lines-Davies [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 01, 2002 10:21 AM
To: [EMAIL PROTECTED]
It would be hard to identify your specific problem based on what you have
written here, but there some places you can start looking. First, check your
log files, specifically the 'catalina.out' file for startup and shutdown
errors. Typcially it takes tomcat 4-5 seconds to startup or shutdown on
What does your web.xml file look like for this tag? (Please include
the entire servlet declaration.)
Randy
-Original Message-
From: Mark Lines-Davies [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 01, 2002 10:21 AM
To: [EMAIL PROTECTED]
Subject: FW: jspInit and
On Fri, 1 Mar 2002, Lauer, Oliver wrote:
Date: Fri, 1 Mar 2002 16:41:17 +0100
From: Lauer, Oliver [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List (E-Mail) [EMAIL PROTECTED]
Subject: Own Threads within TC ?
Hi,
I know within an EJB container you
Hello,
I am using Tomcat 4.0.1, JDK1.3.1_02, Sybase for user authenication, when
I start Transmit I receive the following error from the jdbc driver
java.sql.SQLException: JZ001: User name property 'user_dbo:password=pass_dbo' too
long. Maximum length is 30.
In the server.xml I have
Realm
I think you're absolutely correct. I was using a .reg file created from the
documentation for AJP, which has the old name for the .dll.
Thanks,
Bryan Baker
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 01, 2002 1:33 AM
To: Tomcat Users List
Larry
I've downloaded 3.3.1 and it works as expected.
many, many thanks
Mark
-Original Message-
From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
Sent: 01 March 2002 16:18
To: 'Tomcat Users List'
Subject: RE: jspInit and load-on-startup
Mark,
This is a bug in Tomcat 3.3. See:
Hi Randy
My web.xml file is as below, but it turns out to be a bug in Tomcat 3.3, and
3.3.1 has fixed it.
cheers
Mark
?xml version=1.0 encoding=ISO-8859-1?
!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN
http://java.sun.com/j2ee/dtds/web-app_2_2.dtd;
Thanks, good to know, is it ok to reference my ServletContext within 'my'
threads ?
Oliver
AXA eSolutions GmbH
AXA Konzern AG Germany
Oliver Lauer
Web Architect
Wörthstraße 34
D-50668 Köln
Germany
Tel.: +49 221 148 31277
Fax: +49 221 148 43963
Mobil: +49 179 59 064 59
e-Mail:
On Fri, 1 Mar 2002, Lauer, Oliver wrote:
Date: Fri, 1 Mar 2002 17:47:11 +0100
From: Lauer, Oliver [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Subject: AW: Own Threads within TC ?
Thanks, good to know, is it ok to reference my
Craig, I did it in the Servlet's init() and destroy() ??
Oliver
AXA eSolutions GmbH
AXA Konzern AG Germany
Oliver Lauer
Web Architect
Wörthstraße 34
D-50668 Köln
Germany
Tel.: +49 221 148 31277
Fax: +49 221 148 43963
Mobil: +49 179 59 064 59
e-Mail: [EMAIL PROTECTED]
Has anyone successfully got JNDI Connection pooling to work with Tomcat
(vers 4.0.2) and Postgres?
I think my server.xml must be wrong. It's got:
Resource name=jdbc/LiveDb auth=Container
type=tyrex.jdbc.ServerDataSource /
ResourceParams name=jdbc/LiveDb
Hi,
send us ( or me ) your server configuration file (/conf/server.xml)
- Original Message -
From: Dieter Lunn [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 01, 2002 6:25 PM
Subject: Can someone help me please?
Hi,
I downloaded the nightly build and it started fine
Hi
tat msSql jdbc driver is for both 7 and 2000?
-Original Message-
From: Reynir Hübner [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 01, 2002 11:23 PM
To: Tomcat Users List
Subject: RE: TOMCAT 4.0.2 server crash
Microsoft licensed the Merant msSQL JDBC driver, it´s downloadable for
Here is the file. I also want to have the apache integration which doesn't
start
On March 1, 2002 11:32 am, you wrote:
Hi,
send us ( or me ) your server configuration file (/conf/server.xml)
- Original Message -
From: Dieter Lunn [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent:
Hi,
how can I create a link (A HREF...) to a file with blank in either the
directory or in the filename?
I mean for example: A HREF=/images/a b.gifOpen/A
I tried to create the link using URLEncoder.encode(..) but the created link
didn't work either.
Zsolt
--
Zsolt Koppany
--
To
Using Tomcat 4, I am trying to accomplish writing logs (preferrably via
System.out and System.err) that have a timestamp on each and every write.
Iplanet and JavaWebServer did this automatically. It is important to write
to these logs and have them timestamped, WITHOUT writing code that is in
try to replace your blanks by the character '%'
- Original Message -
From: Zsolt Koppany [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 01, 2002 6:22 PM
Subject: URL Problem with blanks in names
Hi,
how can I create a link (A HREF...) to a file with blank in either the
is my mailer down or your attachment is really empty?
- Original Message -
From: Dieter Lunn [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, March 01, 2002 6:40 PM
Subject: Re: Can someone help me please?
Here is the file. I also want to have the apache
Jay Wright wrote:
...
I'm hesitant to use the logger since I'm unfamiliar with whether or not
that code would be portable to other web servers?
have a look at log4j !
anyway, configurations in tomcat wouldn't break your code either.
markus
--
To unsubscribe: mailto:[EMAIL
sorry, it's %20 instead of %
- Original Message -
From: j-y ciccoli [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, March 01, 2002 6:46 PM
Subject: Re: URL Problem with blanks in names
try to replace your blanks by the character '%'
- Original Message
Nelson Yip wrote:
Hi,
I finally installed tomcat but I want to start up tomcat with a
different user and not root.
I created a user called tomcat and I want this user to startup tomcat
automatically. What is the best way to do it?
Have Apache run on port 80 and have it delegate requests for
Julien OIX wrote:
org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java:194)
at java.lang.Thread.run(Thread.java:498)
/pre/ppbroot cause/b prejava.lang.NoClassDefFoundError:
sun/tools/javac/Main
Make sure that the java compiler is in Catalina's classpath. the
Hi!
I'm just trying to test a simple .CLASS file wich is imported by one of
my servlets. So, because of this, I put some System.out.println lines
to see the results... but the problem is that I can't find the messages
I'm sending in these lines on the log files neither in the console.. The
only
Hi, people!
Someone can help me ?? I don't understand where I can
deploy my .class files or .jar ...
I don't know which dir in TomCat structure I have to put
these files ...
thanks so much
dark.Wizzard
__
Quer ter seu
Must be the mailer
On March 1, 2002 11:50 am, you wrote:
is my mailer down or your attachment is really empty?
- Original Message -
From: Dieter Lunn [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, March 01, 2002 6:40 PM
Subject: Re: Can someone help me
Thanks brian !
Brian Adams wrote:
nope! no container.
some people use JBoss (http://www.jboss.org)
B
-Original Message-
From: Gustavo Mejia [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 01, 2002 12:18 PM
To: [EMAIL PROTECTED]
Subject: Tomcat 4, just a simple question.
Hi
Here it is anyway:
!-- Example Server Configuration File --
!-- Note that component elements are nested corresponding to their
parent-child relationships with each other --
!-- A Server is a singleton element that represents the entire JVM,
which may contain one or more Service
Hey everybody,
I've been running tomcat 4.0.2 with jdk 1.3.1 and poolman 2.0.4 supported JDBC Realms
for a while now with no problems. I recently tried to switch to jdk 1.4 (Something
that I think I need to do for it's Headless support on my Linux box) and it gave me
the following exception
Hi,
I'm trying to build webapp on Red Hat 7.2 to use with Apache 2.0. All
the documentation refers to the output being a .so file but I don't get one.
I get a .o .la .slo and a .lo (which is pointing to the .o file). I took a
look at the make file, and it doesn't make any mention of .so. I
I believe the makefile is wrong. I had to look at the output of the make command and
find a command near the end that was run in the base/apache-2.0 dir that was linking
mod_webapp.la. I then copies that command, added the -shared flag and changed the
output to mod_webapp.so.
This worked for
Hi Craig,
Thanks for the response; however, perhaps I could provide you
with a concrete use-case example to motivate why I might want
to share from ${CATALINA_BASE}. Alternatively, perhaps you
could advise me on the correct way to address this situation:
We develop several related webapps
I've been trying to install tomcat4 onto my apache server today(windows
98). I downloaded the executable installed and installed tomcat. I then
ran it, and it worked at port 8080 of my machine. I then downloaded the
mod_webapp package and installed it as per its instructions. I then added
the
Hi Daniel,
1. have you looked at the logs on apache and tomcat?
2. FYI, start tomcat first then start apache
3. there may be a bug that is affecting you (not sure)
when you restart try
http://localhost/examples/jsp/num/numguess.jsp
there are binary images(jpg) that would crash the web_app
jGuru maintains FAQs and Forums on Servlets, JSP, and Tomcat (as well as
many other Java topics). Here is an automated update on recent postings to
Tomcat-related FAQs. Please direct flames and feedback to [EMAIL PROTECTED] .
- Alex
++ JavaServer Pages (JSP) FAQ:
Hi I am using tomcat 4.0.2 with form based authentication.
I works great except in one scenario.
When someone directly goes to a login page, then logs in it give the
Invalid Direct Reference to form login page error
This problem occurs when people bookmark the login page (which happens to be
I am trying to install some *.xsql pages under tomcat
4.0.2 with out luck.
I am using :
Oracle 9.0.1 rdbms
Oracle XSQL Servlet Page Processor 9.0.1.0.0
(Production)
from the 9.0.1 Linux distribution.
Redhat 7.2
Java - j2sdk1.4.0
I have:
1. copied classes12.jar, oraclexsql.jar, xsu12.jar
Hi,
we want to add some meta tags( like noindex nofollow) in the head
section of the directory listing.
The reason is we want to prevent our search engine from indexing the
directory listing itself.
In apache you can specify a template for this purpose.
Is there something similar in tomcat???
A security vulnerability affecting the sandboxing provided by the Java
Security Manager has been discovered. The request dipatcher functionality of
the Servlet API could be used by a malicious servlet or JSP page to get
access to any resource located on the server's filesystem, bypassing the
76 matches
Mail list logo