Hey,
Don't spend money and use my Redhat RPM to install tomcat on
a Redhat Linux Box (i386).
1) Go to : http://rpmized.free.fr/rpms/tomcat/
2) Download all stuff =
tomcat-3.2-beta7.1.src.rpm (tomcat RPM source)
tomcat-3.2-beta7.1.noarch.rpm (tomcat RPM with java
After working with Tomcat 3.1/apache for a while now the project
is growing and demands and complexity grow as well. I wanted to use
my first own jsp application and while trying out the examples
I find that everything that accesses the compiler doesn't work.
Since the logs are spread all over
Do you include jasper.jar and tools.jar in your classpath?
-Original Message-
From: Christoph Kukulies [mailto:[EMAIL PROTECTED]]
Sent: November 15, 2000 12:35 AM
To: [EMAIL PROTECTED]
Subject: some jsp examples fail with Error 500
After working with Tomcat 3.1/apache for a while now
I posted earlier today [ApJservMount and VirtualHost] with exactly the same
problem.
And yes, I have https enabled in apache (mod_ssl). Didn't think it was
relevant...
I'll try tomorrow and see if I can cure it by removing HTTPS.
Alistair.
-Original Message-
From: Day, Evan
first off, thanks for all the replies and sorry for responding 2 days
too late :-)
Alistair Hopkins:
A guess,
but do green threads show up in your monitoring?
if sun uses green by default, but blackdown uses native, you may not see the
green as they are internal.
Al.
Indeed you are right.
What are the permissions/ownership of the full tomcat tree?
I wonder if moving around the tree from one disk to another
using a tar pipe has messed my tomcat tree.
--
Chris Christoph P. U. Kukulies [EMAIL PROTECTED]
Christoph Kukulies wrote:
What are the permissions/ownership of the full tomcat tree?
I wonder if moving around the tree from one disk to another
using a tar pipe has messed my tomcat tree.
--
Chris Christoph P. U. Kukulies [EMAIL PROTECTED]
in my setup everything belongs to root, but
Interestingly I found this answer only in the archive but not (yet)
in my mail. Anyway, I searched further and found that tomcat issues the
following error:
Unhandled error! You might want to consider having an error page to report such errors
more gracefully
java.lang.NoClassDefFoundError:
I have been using doGet()!. So I make myself a doPost, and add in some
System.err.println,
and neither doGet or doPost is being called. :(
Craig.
- Original Message -
From: "Wyn Easton" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; "C S Carnell" [EMAIL PROTECTED]
Sent: Tuesday, November 14,
Hi,
We used a servlet with init() and destroy() methods to start the services we
wanted to run at the tomcat startup and stop when tomcat is stopped. But we
found that the servlet's init() is getting called 5 times and destroy is not
at all being called.
The xml tag we used in web.xml is
Hi Craig,
Thanks for the announcement email. Great work! :-)
How are the Apache Connectors for Tomcat 4.0 coming along ? Is there
some kind of source already available via CVS somewhere ?
Cheers,
Marcus
On Wed, 1 Nov 2000, Craig R. McClanahan
You can find it at:
http://jakarta.apache.org/builds/tomcat/release/v3.1/bin/linux/i386/
Bye!
Olivier
At 12:06 15.11.00 +0100, you wrote:
Hi all,
sorry for a dummy question. but where can i find the module to connect
tomcat to apache? i want to use apache to catch requests to static HTML
Hi all,
I can't get jdom to work.
I'm using jdom beta5 and tomcat 3.1 embedded with
apache 1.3.14. The sample servlets work just fine, and
my own servlet works too, unless it comes to the XML
parsing part.
I have included jdom.jar in the jakarta-tomcat\lib\ directory
and modified the tomcat.bat
I can't get jdom to work.
I'm using jdom beta5 and tomcat 3.1 embedded with
apache 1.3.14. The sample servlets work just fine, and
my own servlet works too, unless it comes to the XML
parsing part.
I have included jdom.jar in the jakarta-tomcat\lib\ directory
and modified the tomcat.bat
Hello,
I do not get it with this servlet.xml...
This is what I want:
I put all my static-files and jsp's into the TOMCAT_HOME\webapps\ROOT -
directory and some subdirectorys; and my classes and libs into the web-inf.
This project should be the default, so that http://localhost/ points to
Hello,
Has there been experience with installing Tomcat, with Apache mod_jk.so
on a virtual server setup.
Note, virtual server means: Each customer on the server is running there
own Apache web server. (and there own ip number).
rgds
Hans Kind.
Well, nobody else has jumped in to tell us which method will be called,
so, try putting the print statements in the servlets init() and
service() methods. Maybe that will give us something to go on.
--- carnell [EMAIL PROTECTED] wrote:
I have been using doGet()!. So I make myself a doPost, and
Hi All,
I've set up SSL on a 3.2b7 instance. Also I defined a context, say /wlss,
with a directory and a resource, say /wlss1/index.htm inside that context.
I want to configure that context in such a way that the access to
/wlss1/index.htm is only allowed if the transport is guaranteed at
I have tried to invoke EJB's from TOMCAT and get:
Internal Servlet Error:
javax.servlet.ServletException: Need to specify class name in environment or
system property:
Root cause:
javax.naming.NoInitialContextException: Need to specify class name in
environment or system property: e.t.c.
The
-Original Message-
From: Lacerda, Wellington (AFIS) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 15, 2000 7:28 AM
To: '[EMAIL PROTECTED]'
Subject: using SSL on standalone Tomcat - Urgent !
Hi All,
I've set up SSL on a 3.2b7 instance. Also I defined a context, say /wlss,
with
On Wed, Nov 15, 2000 at 12:56:33AM -0800, Kent Huo wrote:
Do you include jasper.jar and tools.jar in your classpath?
I repaired it by re-anting tomcat. JSP examples do work now again.
Unfortunately I deleted my conf directory and could hit ^C right before
build.sh clean deleted my
Sounds like apache is chunking the output stream, which seems a reasonable
thing to do. Do the headers mention anything about chunking?
What happens if you have a static image served by apache,
out of interest?
Jon
On Wed, Nov 15, 2000 at 03:13:48PM +0100, Christoph Kukulies wrote:
On Wed, Nov 15, 2000 at 12:56:33AM -0800, Kent Huo wrote:
Do you include jasper.jar and tools.jar in your classpath?
I repaired it by re-anting tomcat. JSP examples do work now again.
Unfortunately I deleted my conf
Hola Alex:
* Microsoft Access 97
* Microsoft Access ODBC driver
* JAVA 2 SDK, Standard Edition, Version 1.2.2 for the Server
Use JDK 1.3.0 for a better JDBC-ODBC Bridge, it works like a charm for
me much better than 1.2.2, despite the java services problems of 1.3.0
in Windows..
How can I use jsp in a normal html file (extension .html) with tomcat?
test.html:
html
FORM
INPUT TYPE='text'
NAME='hn'
VALUE='%= request.GetRemoteHost() %'
SIZE='15'
/FORM
/html
--
Chris Christoph P. U. Kukulies [EMAIL PROTECTED]
cheers ignacio - i'll check out jdk1.3 asap
[EMAIL PROTECTED] 11/15/00 02:35PM
Hola Alex:
* Microsoft Access 97
* Microsoft Access ODBC driver
* JAVA 2 SDK, Standard Edition, Version 1.2.2 for the Server
Use JDK 1.3.0 for a better JDBC-ODBC Bridge, it works like a charm for
me
Hi,
I work for an free web based mail service, Another.com. We are interested in
migrating our service to use either JServ or Tomcat. We currently has a
server farm with 10 web servers running Apache and a JRun on each machine.
We are interested in changing the architecture to use a small number
Hi Peter,
I think you have to add the jndi.properties file (see JONAS_ROOT
directory) to classpath. I have added it to the classpath of the
environment in which tomcat is started. I tried to put into the
WEB-INF/lib packed into a test.jar - no success
WEB-INF/classes - no
Peter,
It looks like your JNDI context info isn't initialized (stating the obvious - I
apologize).
I had a similar problem (with env-entry constructs). Tomcat 3.2 doesn't come
with any JNDI so I had to add a JNDI service
layer of my own. Prior to the servlet that makes the EJB call, the JNDI
Since this is a repost and nobody seems to give any hint, I'll give it a shot:
- The file name limits is (AFAIK) 255
- This is a limit on the file name and not the whole path
- Maybe you do not have proper access rights in d:\jdk1.3\jakarta-tomcat\work
as is indicating the error message
- Maybe
How must I configure the jakarta-tomcat 3.1 that just one Instance per
servlet is allowed? Which config file do I have to edit(server.xml,
web.xml, ? ) ?
Actually, Peter is not using JOnAS, he is using Oracle. Somewhere in the Oracle
documentation, it should say what type of environment you need to pass into the
new InitialContext() call or have in your jndi.properties file.
Typically, the parameters you will need are:
Where is jk's dir in tomcat 3.1 ?
I must be going blind, I've downloaded the 3.1 binary and source, can't find
it anywhere.
I mean the instructions for tomcat+apache are pretty simple if I could just
find jk somewhere.
Are there instructions somewhere for configuring apache + tomcat to run with
from time to time I'm getting errormessages like this from tomcat:
Reaped pid = 9003, status = 0
How come?
--
Chris Christoph P. U. Kukulies [EMAIL PROTECTED]
for the past 3 days i've been trying to get a jsp to work with an ejb of
mine.
the only problem is that jsp:setProperty / and jsp:getProperty
/ won't work.
tomcat reports: org.apache.jasper.JasperException: Attempted a bean
operation on a null object.
at
Alexander ten Bruggencate wrote:
for the past 3 days i've been trying to get a jsp to work with an ejb of
mine.
the only problem is that jsp:setProperty / and jsp:getProperty
/ won't work.
tomcat reports: org.apache.jasper.JasperException: Attempted a bean
operation on a null
You are mixing to different things.
jsp:setProperty/ works on beans.
In JSP beans have to be declared and created
with the jsp:useBean/ tag.
So your p is not a bean to JSP. To change
this you have to use the jsp:useBean/ tag.
Otherwise the only way to access it, is to
use it in expressions %=
It seems you still have the test webapp deployed. Try removing
/usr/local/build/tomcat/webapps/test AND
/usr/local/build/tomcat/webapps/test.war (otherwise it will just keep
coming back)
Mike
At 11/15/2000 05:29 PM +0100, you wrote:
In tomcat 3.1 beta (I reinstalled today) I once had
How are people performing their functional testing? Are there any tools out
there to help script/automate the process?
TIA,
Mike
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - */
Michael H. La Buddeemail: [EMAIL
How are people doing performance testing? What tools are out there to aid
in this process?
TIA,
Mike
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - */
Michael H. La Buddeemail: [EMAIL PROTECTED]
Prosoft, Inc.
You can check out JMeter from Apache. Works rather well.
How are people doing performance testing? What tools are out there to aid
in this process?
TIA,
Mike
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - */
Michael H. La
Olivier Baillard wrote:
I would kike to know if somebody already have some experience
with tomcat and PHP working as serlet (with Tomcat). If
somebody has some interest, I would be happy to exchange my
own experience. I get PHP to work with Tomcat 3.2 beta 7 on
Linux with Java extension.
C'mon... :D
Let me know how you did it, can you ? Which package do you use ?
Thanks,
Wellington
-Original Message-
From: Christian Wenz
[mailto:[EMAIL PROTECTED]]
Sent: 15 November 2000 18:39
To: [EMAIL PROTECTED]
Weird, I reinstalled Tomcat 3.1beta (changed to jdk1.2 also)
and suddenly one of my servlets crashes:
Runtime.exec crashes:
if(type.compareTo("Diff Run")==0){
out.println("Diff Run");
try {
Christian Wenz wrote:
I've tried this as well, and was really happy with
the results. However please take into account that
the windows versions of PHP are quite different in
terms of stability. Some versions just fail to
cooperate with Tomcat, crashing reproducably,
however most versions
Running Tomcat 3.2b7 on NT and SunOS 5.7 both using Apache 1.3.12, and JDK
1.2.2.
My question: How do I configure 2 instances of Tomcat (each running their
own JVM) on 2 different ports using mod_jk. I have been using a hardcoded
tomcat.conf to do this (ApJServMount /contentserver/servlet
Hello Christian,
I'am happy to see someone else in the world has tried to use PHP and Tomcat
together.
Sooo!! Which version of PHP work (or doesn't work) on Windows?
For the moment, I only really try on SUSE 7.0. with Apache. Which results
did you get?
Personally, I get the following:
-
Paul Gallagher wrote:
cheers ignacio - i'll check out jdk1.3 asap
Have a look at the following page as well, as it is about a service wrapper
that won't get the JVM killed when the user logs out... :)
http://www.alexandriasc.com/software/JavaService/
I've been using it for over a month now,
Hi Olivier,
the version not working was 4.0.1 - if I remember correctly. I tried it of course
in a very unstable environment (Win98, Microsoft's own PWS, old JDK 1.1.8) and had
no luck (however all versions from 4.0beta to 4.0.0 worked really fine, and
chances that I made some mistakes when
I've installed the tomcat filter in IIS 5.0 under WIN2000 as explained in
the documentation ( with all required registry changes ) but it just don't
seem to work. In the IIS console the filter is always marked with a red
down-arrow instead of a green up-one. What could be wrong ? Which port do I
I have never had to change the port for Tomcat in the server.xml, did you
follow the instructions at apache.org exactly? Make sure the paths and the
virtual dirs are exact, and the registry entries are spelled right!
Mark G. Franz
-Original Message-
From: Erik Vande Velde
Title: Why tomcat NT service get killed when the user log off
Please Help!!!
This is for tomcat 3.2 beta 7 on Windows NT/2000. Tomcat is registed as an NT service using 'jk_nt_service.exe' (under Systemlocal account). It's starts fine but if I log off the windows, tomcat get killed which is
Title: Why tomcat NT service get killed when the user log off
just joined list. want to test
subscription.
What you would want to do then is to use form based authentication and
enable the JDBC realm.
--Danno
p.s. please continue discussion in the tomcat-user list. The dev list
is for patches, comments about the code, etc., and not use of tomcat
itself. [EMAIL PROTECTED] is meant for the use of
Sudheshna Methuku [EMAIL PROTECTED] writes:
We used a servlet with init() and destroy() methods to start the services we
wanted to run at the tomcat startup and stop when tomcat is stopped. But we
found that the servlet's init() is getting called 5 times and destroy is not
at all being
Danijel Pajur wrote:
Where is jk's dir in tomcat 3.1 ?
I must be going blind, I've downloaded the 3.1 binary and source, can't find it
anywhere.
I mean the instructions for tomcat+apache are pretty simple if I could just find jk
somewhere.
It's not in tomcat 3.1, it comes starting from
I suggest using a static block, as shown below. No matter how many servet
instances are created, the static block will only execute once.
=
public class MyServlet
{
protected static DatabasePool dbPool=null;
static
{
try
{
dbPool=new
Title: Why tomcat NT service get killed when the user log off
Zhiping, even though jk_nt_service is being used to
launch Tomcat, there is a bug in the Java 1.3 runtime under Windows that causes
any java.exe process to be terminated when the user logs off. The bug is
that a console control
Hello all,
I'm using tomcat on a project and I have run into the following problem:
A coworker built a webapp, all his classes are in web-inf/classes, and
all his html/jsps are in the webapp root. I'm now writing an additional
module for the webapp, but I must put my classes and jsps on
Hello,
I do not get it with this servlet.xml...
This is what I want:
I put all my static-files and jsp's into the TOMCAT_HOME\webapps\ROOT -
directory and some subdirectorys; and my classes and libs into the web-inf.
This project should be the default, so that http://localhost/ points to
I am porting a web app from JServ to Tomcat on Linux. I have having trouble
configuring servlets that reside in my own packages. My test cases can
access .class files in:
/usr/local/jakarta-tomcat/webapps/myWebApp/WEB-INF/classes
I can access for example "SnoopServlet.class" in that subdir
When you unpack the distribution of Tomcat it comes with several WAR files
(inlcuding test.war admin.war and examples.war). You have to:
- get rid of the WAR files
- remove the corresponding directories
- and of course, remove the contexts from xerver.xml
(I had the same problem, but with an
David Molloy wrote:
Hi,
I'm trying to write a simple Snoop servlet for my system
and have run into a small problem while porting from JServ to Tomcat.
I have sessions working for authentication etc. - however when I use
HttpSessionContext context = session.getSessionContext();
Laurens Pit wrote:
Can someone get this to the developers? Thanks.
The most likely scenario is that JRun has a predefined MIME mapping that tells
it to download Word documents as "application/ms-word", and Tomcat doesn't. To
change this, add an appropriate mime-mapping entry in
Wyn Easton wrote:
Are you not suppose to mix URL access with a RequestDispatcher?
Thanks.
Also, in 3.2 beta 6 I could do an include() then a forward().
Now in 3.2 beta 7 I get an illegalState error on the forward()
because of an open outputstream. I'm not opening an output stream.
The
Wyn Easton wrote:
I guess it is OK by the spec. to do multiple include() method calls?
Yes.
Thanks.
Craig McClanahan
Peter Knight wrote:
I have tried to invoke EJB's from TOMCAT and get:
Internal Servlet Error:
javax.servlet.ServletException: Need to specify class name in environment or
system property:
Root cause:
javax.naming.NoInitialContextException: Need to specify class name in
environment or
Lauber Christof wrote:
How must I configure the jakarta-tomcat 3.1 that just one Instance per
servlet is allowed? Which config file do I have to edit(server.xml,
web.xml, ? ) ?
The only thing you have to "configure" is your servlet -- be sure you do
*not* implement the SingleThreadModel
I have installed Apache3.1 and TOMCAT
3.1
Inside Apache\donf\httpd.conf I have included
reference to tomcat-apache.conf file. I have also downloaded
apachemodulejserv.dll But I'm not able to run my servlets stored inside
tomcat\webapps\root\web-inf\classes directory. I'm able to run
Rasika:
Please see Tomcat development documentation in jakarta-tomcat\doc\appdev. It
has excellent approach to build your servlet/jsp applications.
In short you should
make a directory for your application. Say c:\test\cusinf where cusinf is
the application.
cd test\cusinf
mkdir src
mkdir
http://www.mySiteName.com/myWebApp/servlet/testapackage.SomePackageClass
You can also modify the web.xml under the WEB-INF so you dont have to
prefix the package
Kurt
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, November 15,
Hi all,
I would like to how to where the jar of
Tomcat in J2EE, where should I place the jsp and servlet
in J2EE, may be say, should I set the tomcat in J2EE
Yours,
LUN
Guess:
the cause is cmdarray[5]=null;
I think the arguments to exec are not null terminated
arrays is in c(++).
So you have to define the arrays with a size that meets
your argument count.
If not, what about a stacktrace?
At which line is the Exception thrown ?
All, When trying to run the struts example, it dies. We think here it's a lower level
problem than struts, but are at a loss to
figure out what.
It SEEMS the Digester.getParser() dies whenever an XML file is trying to be read (the
database.xml file can't be read and the
action.xml file seems
74 matches
Mail list logo