I'm working on a generic non-blocking server framework based on 1.4 nio
classes with one of its goals being implementing a generic HTTP processor
and an experimental Tomcat connector backend built on top of it. The basic
server framework (connection handling, content buffering, etc.) is already
Hello!
I used JSDK 1.3.1 with Tomcat 4.0.x and JNDI resource (DataSource,
Oracle JDBC). All worked good. But when I install JSDK 1.4, method
ctx.lookup(jdbc/myDB) return null.
How can I fix this bug?
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL
Hello,
I having some questions about Apache 1.3, mod_webapp and Tomcat4.
Maybe somebody could give me a hint.
I have managed to have access to my webapp with
http://myhost/mywebapp and everything is working fine. Inside
/mywebapp are many static *.html pages. Is Tomcat or Apache serving
AFAIK in the current state of mod_webapp
everything inside /mywebapp is served by
tomcat. Have look at the release notes.
-Ursprüngliche Nachricht-
Von: Simon Liebold [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 6. März 2002 09:35
An: Tomcat User
Betreff: Apache 1.3, mod_webapp
Hi everybody,
I tried my luck at log4j group by no help there.
Well, now I'm going upstage to tomcat
I'm facing a strange problem when using log4j under tomcat 3.3.1 on Solaris.
Log4j works with no problem for me.
However, when I use the auto-reload option of tomcat to perfrom reload to my
Thank you.
-Ursprüngliche Nachricht-
Von: Ralph Einfeldt [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 6. März 2002 09:42
An: Tomcat Users List
Betreff: AW: Apache 1.3, mod_webapp and Tomcat4
AFAIK in the current state of mod_webapp
everything inside /mywebapp is served by
Hi!
this page might help you.
http://www.jguru.com/faq/view.jsp?EID=108773
regards,
Watanabe
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]
Hi,
i'm using tomcat 3.2.3 and 3.2.4 on Linux 2.4.
I'm trying to precompile my JSPs using jspc.sh, but I only get .java
files, it does not compile the classes.
I'd like to have the classes compiled to be informed about compiler errors.
Any help ?
Oliver
--
To unsubscribe:
I'm not sure if this is the correct place to ask this question but I can't find
anyone else to help! :(
I've recently downloaded and installed Tomcat version 4.0.1 onto my
Linux webserver running Apache. The setup was successful and I can
view the Tomcat page at
See below...
- Original Message -
From: Oliver Farrnbacher [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: 2002. március 6. 10:26
Subject: JSPC
Hi,
i'm using tomcat 3.2.3 and 3.2.4 on Linux 2.4.
I'm trying to precompile my JSPs using jspc.sh, but I only get .java
files, it does not
Hello, all !
I need JSP tag(s) to draw interactive tree with non-static content.
I tried to use TICL's treeView tag, but the server-side treeView
uses javax.swing.tree.TreeModel interface and my page (whole server)
doesn't works without X-server running.
I do not want to use any X-server stub
Suddenly,when I saw Current System Resources in Linux with top
command I found out that Tomcat4 eats 96% of CPU.In regular days it eats
only 3%.
Dear gurus.
What can be the reason and how I solve it?
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
You said that you upgraded from jdk 1.3 to 1.4, but could it be that your
JVM is failing? In my case, I was running the JDK1.3.1_02 with the tomcat
4.0.2 rpm on RedHat 7.1. I installed it, and tried to run it. Tomcat would
startup and then disappear. To fix the solution, I used the command :
Hi there,
I know this question might seem a bit silly, but I am looking for a way to install
Tomcat as a CGI script inside Apache for Linux.
The reason for this question is that my isp enables CGI for my account, but does not
support servlets. I would really want to be able to execute some
hi everyone,
in some tomcat4-4.0.1.x RPM's, mail.jar is included;
but with tomcat4-4.0.2.x, it's no more.
which RPM gives them now ?
thanks in advance.
--
Julien OIX
Service Informatique de Gestion
Tél: 02 40 99 83 65
mail: [EMAIL PROTECTED]
--
To unsubscribe: mailto:[EMAIL PROTECTED]
I try to replace an application via the HTTPManager with a
newer version (newer .war file) as follows:
1. Click the remove link
(http://localhost:8080/manager/remove?path=/myapp)
2. The application disappears from the list, however the
/webapps/myapp directory still exists.
3. Delete the
Don't know.
Jim
-Original Message-
From: Nikola Milutinovic [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 06, 2002 1:17 AM
To: Tomcat Users List
Subject: Re: Who uses connection pool?
We are database independent. If you look at the
initializeDbConnectionBroker method
hello, just a test
1º message to the list
thanks
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]
hello, i installed Jacarta Tomcat v4.0.3 binaries on a linux slackware v8.0
box with J2SDK1.3.1 from blackdown (i tried with J2SDK1.4.0 from sun too )
i run it with default configurations and open it on my browser.
All examples worked fine with one exeption: the send mail example.
when i try
You will need to compile the SendMailServlet yourself for Tomcat
versions 4 through 4.0.3. There was apparently a problem with the build
script that has been resolved with Tomcat 4.0.4 B1.
Randy
-Original Message-
From: Gustavo Souza [mailto:[EMAIL PROTECTED]]
Sent:
Even if it would be possible to use tomcat this way,
I don't think that you will get far with this approach.
(Not that I think that this is impossible, but for the
efford to achieve this goal you can easily take a better
provider without looking at the price)
For this to work you need a
I came across the same problem and worked out why - miracle :) Despite
having all the correct jars and setting the classpath properly, the servlet
wouldn't compile. I downloaded the .class from one of the tomcat zips that
did have it. That didn't work - weird error about the date. I downloaded
I have a java applet that uses the jmf (java media framework). The applet
works, but I notice in the tomcat access log that there is an individual
GET for each class used in the jmf.jar file. Even worst, each time the
user interacts with the applet, all those GETS are done again. All these
Hi,
I want to define a entry point for my application. i.e. all requests to my
application be recieved by a JSP, which then redirects to the requested
resource.
How do I do that?
Thanks in advance.
Gurmeet
-Original Message-
From: Gustavo Souza [mailto:[EMAIL PROTECTED]]
Sent:
I would use a servlet rather than a JSP, since it will not have a UI. You
then point all of your servlet-mappings in the web.xml file to this servlet.
-Original Message-
From: Gurmeet [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 06, 2002 9:32 AM
To: Tomcat Users List
Subject: NEED
Rather than writing your own, maybe you should think about using the Struts
framework (also part of the Jakarta project). This allows you to configure
page flow etc centrally.
Hamish
-Original Message-
From: Gurmeet [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 06, 2002 3:32 PM
To:
Moving those jars fixed it. Thanks a bunch!
-Original Message-
From: Remy Maucherat [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 05, 2002 7:50 PM
To: Tomcat Users List
Subject: Re: XSL problem with upgrade to 4.0.3
Sorry, hit send my mistake.
Here's the exception:
- Root
Take a look at MVC architectures.
-Original Message-
From: Barney Hamish [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 06, 2002 9:41 AM
To: 'Tomcat Users List'
Subject: RE: NEED HELP TO DEFINE ENTRY POINT FOR MY APPLICATION
Rather than writing your own, maybe you should think
Jim is actually quite right. I did skip a step. It didn't even occur to me
to check the archive because I had done that on the struts archive and
reached no conclusion. With poolman unsupported (which I was of the
impression most people were using), and needing to have an alternative, I
skipped
Just a note about the connection URL. MySQL requires an amperstand between
the user and password parameters. So a correct URL (encoded for XML) will be:
connectionURL=jdbc:mysql://localhost/tomcatusers?user=tetamp;password=test
Hope it helps...
--David
On Tuesday 05 March 2002 02:17 pm,
Jim, I couldn't tell from the page - with you having some experience with
the DDConnectionBroker, I thought I'd shoot you a couple of questions:
Pool Instantiation
Do I need to create this pool in an initialization servlet and put an
instance of it in the servlet context? It looks like it's
hi everyone,
I'm using these RPM's on a Linux RedHat 7.1
apache-1.3.22-1.7.1 (with mod_throttle-3.1.2-3 mod_put-1.3-2
mod_bandwidth-2.0.3-2)
tomcat4-4.0.2-3
servletapi4-4.0.2-1
xerces-j-1.4.4-2
regexp-1.2-5
Before, I used a tomcat4-4.0.1.x RPM's, which included mail.jar and
activation.jar
in
I just posted to another thread on this eact problem issue. The example
MySQL realm in server.xml is wrong. MySQL uses an amperstand character ()
between the user and password parameters in the URL. Here is the correct URL
for making a connection to a MySQL database:
We have one servlet (our controller servlet) which we have tagged in our
web.xml as load on start up first. This servlet initializes the connection
pool. Our class which wraps the connection pool is a Singleton class which
has a public static member method to access the connection broker. This
That would still do the trick, because then the user could simply install
the certificate the first time it appears, and then the browser will not
bother him with the authority thingy..
Do you know of any way to let tomcat automatically make a self signed
certificate?
-Original
Sorry I missed that piece of the docs I guess. Thanks again for your input!
Eddie
- Original Message -
From: Jim Urban [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, March 06, 2002 9:57 AM
Subject: RE: Who uses connection pool?
We have one servlet (our
On the installation of Tomcat4.0.3 on Mac OS X, I see that some of the
scripts have the line: export JAVA_HOME=/usr. Why is that? I would have
expected the line: export
JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home.
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional
I apologize if I sent this twice.. I don't think it
went through the first time!
I have been using tomcat for several releases, and
have just upgraded my server to version 3.3a and I
have noticed a change in the behavior of the logging
mechanism.
With Tomcat 3.3a, nothing gets written to the
For performance reasons, Tomcat 3.3 uses the JspInterceptor
module instead of Jasper's JspServlet to translate and
compile JSP files. Since it was the JspServlet that was
providing most of the log output for the INFORMATION level,
you don't see any jasper log output when using JspInterceptor.
If
I got my login working with SSL and for now the use of the
tomcat-users.xml file
I would like to log all login attempts both success and failure.
What is the best way to capture the information
I only need the username from the j_username attempt
I am able to get the rest that I want from
David.
many thanks.
worked like a charm
Randy
At 07:50 AM 3/6/2002, you wrote:
I just posted to another thread on this eact problem issue. The example
MySQL realm in server.xml is wrong. MySQL uses an amperstand character ()
between the user and password parameters in the URL. Here is the
-Original Message-
From: Halfmann, Klaus [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 05, 2002 3:54 PM
To: Tomcat Users List
I could think about the following reasons:
a) a hard crash of the Java VM (may happen when using native
code)
b) Some code calls System.exit()
Larry,
Thanks very much for your help! This is invaluable
information. Do you know if it would be possible to
make Tomcat 3.3a use JspServlet instead of
JspInterceptor?
I am using the Tomcat 3.2.1 engine now for our
applications and the preformance is acceptable, so I
am assuming that if I
I have tried running with startup -f $CATALINA_HOME/logs/catalina.out in
command promot, tomcat window comes up a while den disappear, if i do it
with just startup there is no problem
using win2k btw
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Lev
You would modify the JspInterceptor entry in server.xml
to say useJspServlet=true. Unfortunately, there is a
bug in Tomcat 3.3(a) the prevents this from working
by default. This has been fixed in Tomcat 3.3.1-rc1.
The bug is that jasper.jar and tools.jar aren't made
available to the web
Hi All,
I've setup Tomcat on my Linux machine running both http and https.
I can view the default Tomcat pages OK with https via
my web browser.
I am trying to get some Java socket code using JSSE working
to connect via HTTPS to Tomcat.
I modified the SSLSocketClient sample code to connect
to
Btw i ran it this way
C:\Tomcat-4.0.2\binstartup -f $CATALINA_HOME/logs/catalina.out
Using CATALINA_BASE: C:\Tomcat-4.0.2
Using CATALINA_HOME: C:\Tomcat-4.0.2
Using CATALINA_TMPDIR: C:\Tomcat-4.0.2\temp
Using JAVA_HOME: C:\jdk1.3.1
C:\Tomcat-4.0.2\bin
-Original Message-
Hello,
I just got off the phone with the first person using Mac OS to use our
website since we upgraded to Tomcat 4.0.1 (from Tomcat 3.3). He was
unable to log into our site using Internet Explorer 5 on OS 9. We still
had an instance on a development machine that used Tomcat 3.3, on which
he
OS: RH7.1
Apache: 1.3.22
Tomcat: 4.0.1
I added the following to /conf/tomcat-users.xml in the tomcat-users block:
user name=somename password=somepass roles=manager /
I added the following to httpd.conf:
WebAppDeploy manager conn /manager/
I enter this URL:
Hi,
The problem is solved. I compiled the latest version 4.0.4.b1 version of the
tomcat-connectors and it works now.
Chad,
Thanks for your suggestion but I do not want to use mod_webapp as I want to
use SSL with Apache and mod_jk is more efficient in doing this. With
mod_webapp it is all or
Check if there is a corresponding Context/ element defined for
manager in server.xml.
There should be a manager under webapps:
Context path=/manager docBase=manager debug=0 privileged
=true/
Thanks.
RS
Mike Millson [EMAIL PROTECTED] on 03/06/2002 03:52:07 PM
Please respond to
This is probably a problem with our application, but does anyone know of any
possible misconfiguration or anything that will cause a very slow increase
in the amount of memory that Tomcat is using on Linux? If nobody has had a
similar experience, what about possible solutions to tracking down
Set up these as per this URL, JSP will be functional but no gifs in
examples:
http://www.webmasterbase.com/article.php?pid=44aid=305
Then go to
http://yourApacheServerName/examples/jsp/index.html
Images don't serve from Apache nor from Tomcat.
Apache thinks it should serve them from
Ok, a little more detail might be necessary:
I am running Tomcat 4.0.1 on Linux connecting to a mysql database. All of my
JSP pages are served without error, so I don't know where the error below is
coming from. I never receive an error while browsing the site, however this
error shows up
I followed the site below and all works ok. Basically it describes some simple changes
to
be made in server.xml
http://dcb.sun.com/practices/howtos/tomcat_apache.jsp
Peter
Set up these as per this URL, JSP will be functional but no gifs in examples:
I have redhat 7.2, I want to run java servelet on it by using the engine
tomcat, I have downloaded tomcat4-4.0.1-1.noarch.rmp,
tomcat4-4.0.1.src.rmp, tomcat4-manual-4.0.1.noarch.rmp and
tomcat4-webapps-4.01-1.noarch.rmp and installed them but I can get them
work.
can anyone give a suggestion.
IMHO, I think mod_webapp isn't very stable (don't quote me on that though :
-). I use mod_webapp and have faced problems in displaying images with jsp
pages. A few users on this list too have experienced the same difficulties.
Tomcat standalone should display images just fine. It's only when you
I downloaded the tomcat binary untared it and set JAVA_HOME to the location
of my JDK and it worked right away. I have never tried the rpm but the
binaries worked great. I am running red hat 7.2 with the same version of
tomcat as you.
-Original Message-
From: Jianping Zhu [mailto:[EMAIL
Thanks, but I'm sure that's not the reason. I can start up Tomcat and
Apache and verify that Apache loads JSPs correctly via Tomcat (through
either AJP12 or AJP13 on 8007 or 8009). Then, when I restart Apache
chrooted, I can't load the JSPs and mod_jk.log shows these errors. The
only
hello, im trying to start tomcat on linux boot...
but $CATALINA_HOME/bin/startup.sh didnt work on the rc.local
it only works when I type it on prompt..
anyone can help ?
thanks
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the
Is CATALINA_HOME set?
IS JAVA_HOME set?
what about CATALINA_BASE?
Also, I don't personally like running things as root - you might want to
install your webapps as another user (I just called it appuser), and su to
that before executing tomcat.
- Brett
-Original Message-
From: Gustavo
Hello, I have had this happen to me as well. The person who is helping me
in production with the web site cannot log on via IE on her Mac as well (OS
9 i believe)... She has no problem though using Netscape on her Mac to the
web page (it is Tomcat 4.0.1, now 4.0.2)... Her netscape is 6 i
Thank you for your advice, I also have downloaded the binary. But I have
trouble to sent the JAVA_HOME. i set JAVA_HOME by adding two lines to
/etc/profile:
JAVA_HOME=/usr/javadir/bin:$JAVA_HOME
export JAVA_HOME
and i source profile after the change and it was ok
But when i try to start servlet
I have a single host running multiple instances of
tomcat. I have configured each instance of tomcat with
the warp connector one on port 8008 and the other on
port 8009. I am trying to configure apache/ssl to
connect to both instances of tomcat using the webapp
module but I am getting a error
I have redhat 7.2.
I am istalling tomcat which need an env varible JAVA_HOME point to JDK
I need to set an env varible JAVA_HOME point to directoy /usr/java
I did this by adding 2 line to etc/profile
JAVA_HOME=/usr/java:$JAVA_HOME
export JAVA_HOME
I used source profile, it's fine.
But I try to
Try:
JAVA_HOME=/usr/java
export JAVA_HOME
- Adam
At 06:23 PM 3/6/02 -0500, you wrote:
I have redhat 7.2.
I am istalling tomcat which need an env varible JAVA_HOME point to JDK
I need to set an env varible JAVA_HOME point to directoy /usr/java
I did this by adding 2 line to etc/profile
This has always been a question of mine too. You've got to get the modified
environment variables (JAVA_HOME, CATALINA, etc) to the user session
starting Tomcat.
Often times I've had to reboot as all users get the env variables read to
them from /etc/profile at startup. Hope that answers your
I got my login working with SSL and for now the use of the
tomcat-users.xml file
I would like to log all login failed attempts .
What is the best way to capture the information
I only need the username from the j_username failed attempts
succesful logins are loaded into the cgi variables
What distro of Linux are you using?
Mike
-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 06, 2002 5:57 PM
To: 'Tomcat Users List'
Subject: RE: HOW TO start tomcat on linux boot
Is CATALINA_HOME set?
IS JAVA_HOME set?
what about CATALINA_BASE?
Can you give a bit more information, Brandon? Which Linux? What JVM? Etc.?
At 02:32 PM 3/6/02 -0600, you wrote:
This is probably a problem with our application, but does anyone know of any
possible misconfiguration or anything that will cause a very slow increase
in the amount of memory that
I am using Linux RedHat 7.1, Sun JDK 1.3.1_01. Actually, it looks like it
has gone down a bit. The memory was slowly growing all day today, up to
about 80MB for java. It has gone back down a bit, so hopefully that means
that something (gc) is working.
Do those numbers sound right for an
Hi!
regarding WebDAV, you should see jakarta-slide project
first.
there are worth of FAQs about using WebDAV with tomcat.
regards,
Watanabe
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]
Hi;
I'm using Tomcat 3.2 on Red Hat 7.2 with the jdk 1.3.1_02
I've noticed that when I make javascript changes to the jsp pages that
tomcat will not pick up the changes/use the newer version of the file
after I blow my cache and restart tomcat.
I can force tomcat to do so in this situation
After additional review, it has been discovered that the security bug fixed
in Tomcat 4.0.3 was more severe than originally though, and can be used to
remotely browse the server filesystem.
To exploit this bug, an attacker would require that some user modifiable
data (like a form POST data, or a
Thanks, Peter. I too tried this Sun article route without success on WIN2K.
Win2K doesn't like the virtual host business at all. The other article I
quoted works in Win2K except for the serving gifs etc. problem. Its not
strictly a directory problem either, having the gif in the same path
A VERY detailed explanation of the problem can be found here.
http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg43337.html
Unfortunately I failed to find response.
In short, I'm looking for a solution to allow Tomcat to handle BASIC
Authentication while utilizing W2K/IIS as a web
Hi,
I need help writing a bean inside my JSP programme. I am also attaching my JSP
programme, please check it and do the need ful changes.
% page
import=java.sql.*,java.io.*,javax.servlet.*,javax.servlet.http.*,java.util.* %
html
%!
String
this mailing list isnt one where we do your homework or code for your job,
at least, i dont. anyway, what you have pasted is a misuse of jsp. i
suggest buying a j2ee book, the wrox ones are good. from your description,
i dont think you really want to use a bean to do this...
matt
-
Yes this happened to me as well, allthough it was a tag class I changed.
You can force tomcat to recompile the page by deleting files in the
directory: $tomcathome/work/[server_name]/[application_name]/
At least this is the directory strucure in tomcat 4.0
cheers,
Bjarni
-Original
Here's a short script that may help you:
start of tomcat4.sh
#!/bin/sh -
#
# TOMCAT STARTUP CONFIG
# YOU CAN TAKE THIS OFF, IF YOU DONT WANT TO KILL OTHER
# TOMCAT INSTANCES PRIOR TO LOADING..
killall java
#FORCE THE APP TO START IN THE WEB APPS DIRECTORY
#DONE SO THE APPS CAN READ
Does anybody clue me in thsi situation?
Plus,in below situation ,when I shutdoun Tomcat4,seems after
shutting down there are some Java processes still remains.
After killing them by kill PID,
Cpu State is becoming normal.
Please help,any hints will be welcomed.
Moi wrote:
Suddenly,when I saw
I'm hoping someone can shed some light on a particular behavior I'm
experiencing with BASIC authentication and session cookies:
I've set up my servlet to use BASIC authentication and I'm my own very
simple realm implementation:
protected String getPassword(String username) { return tomcat; }
I have defined some client side objects using javascript, these objects' number and
value varies during the interaction with users. But when the user submit the form, I
want an easy way to send the objects to the server (servlet, say).
I am wondering this is doable by having a hidden field
On Wed, 6 Mar 2002, Mark Shaw wrote:
Date: Wed, 6 Mar 2002 22:37:17 -0800
From: Mark Shaw [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
Subject: BASIC Authentication Question
I'm hoping someone can shed some light on a
as far as i know servlet only retrieve String as a return from getParameter(...)
method. Plz refer to servlet docs. You can easily find it in tomcat homepage !
*
- NOTICE -
The information transmitted is intended
On 07/03/02 0:50, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
From: Scott Jones [EMAIL PROTECTED]
Date: 06 Mar 2002 13:26:47 -0800
To: Tomcat Users List [EMAIL PROTECTED]
Subject: [TC4.01] Session Not Established on Mac IE?
Hello,
I just got off the phone with the first person using Mac
86 matches
Mail list logo