Did you set your CATALINA_HOME environment variable to point to the
directory you have Tomcat installed in?
Jon
- Original Message -
From: Shapira, Yoav [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, October 28, 2002 11:12 AM
Subject: RE: Anyone running 4.1.12
FYI, something is screwed up with your email application. You have no To
field in the headers.
Jon
- Original Message -
From: [EMAIL PROTECTED]
Sent: Tuesday, July 09, 2002 11:29 AM
Subject: mod_webapp and Virtual Hosts
Following the installation instructions, I have successfully
Unless your table only has one column, you need to specify which column you
are setting the value for in your INSERT statement.
You should also use the JDBC escape sequence for a date as well that way it
is DBMS independent.
INSERT INTO table1 (column1) VALUES ({d '-mm-dd'})
Jon
-
Yeah, you have to put classes that use JNI in a lib directory such as
common/lib rather than WEB-INF/lib, otherwise you will get errors when your
servlet gets reloaded. There is a note about it in the release notes.
Also, you can set CATALINA_OPTS=-Djava.library.path=path containing your
native
In the applications that I'm developing, I used to be able to click on the
Web browser back button to return to a page that contained form data that
was generated by a HTTP post. I noticed that it now gives me an error
message like Page has Expired when I try to do it. It does this in both IE
and
Yeah, I just tried my application in 4.0.1 and it doesn't expire. Something
seems to have changed in 4.0.2.
Jon
- Original Message -
From: Jonathan Eric Miller [EMAIL PROTECTED]
To: Tomcat User List [EMAIL PROTECTED]
Sent: Thursday, February 14, 2002 6:14 PM
Subject: Did the default
now,
and what was the original value?
Jon
- Original Message -
From: Remy Maucherat [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]; Jonathan Eric
Miller [EMAIL PROTECTED]
Sent: Thursday, February 14, 2002 6:26 PM
Subject: Re: Did the default HTTP expires header change in Tomcat
memory).
Jon
- Original Message -
From: Jonathan Eric Miller [EMAIL PROTECTED]
To: Remy Maucherat [EMAIL PROTECTED]; Tomcat Users List
[EMAIL PROTECTED]
Sent: Friday, February 15, 2002 11:35 AM
Subject: Re: Did the default HTTP expires header change in Tomcat?
Thanks. Is there a way
I found that in Tomcat 4.0.2 that Web browser caching is turned off for
resources that are protected by a security-constraint. Tomcat 4.0.2 does the
following.
sresponse.setHeader(Pragma, No-cache);
sresponse.setHeader(Cache-Control, no-cache);
sresponse.setDateHeader(Expires, 1);
For example,
Does anyone know if this vulnerability still exists? It says that 4.0.1
suffers from this vulnerability, but, I don't see anything out of the
ordinary when I try it on mine.
http://online.securityfocus.com/cgi-bin/vulns-item.pl?section=infoid=3199
Jon
--
To unsubscribe: mailto:[EMAIL
-
From: Jonathan Eric Miller [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 20, 2002 4:34 PM
To: Tomcat User List
Subject: Jakarta Tomcat Error Message Information Disclosure
Vulnerability?
Does anyone know if this vulnerability still exists? It says that 4.0.1
suffers from
There seems to be a bug in the Bug Database as it appears to be down right
now.
http://nagoya.apache.org/bugzilla/
Jon
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]
been implemented?? has anyone tried it??
How does it work? I mean when I authenticate using bind style why is the
password ignored? I will seach on the web but would appreciate if someone
gives me a pointer.
ThanksRegards
jay
On Sat, 16 Feb 2002 Jonathan Eric Miller wrote :
How about bind
According to the announcement, 4.0.3 is really just 4.0.2 with a security
patch applied. So, I'm pretty sure any other post 4.0.2 fixes won't be in
there.
Jon
- Original Message -
From: Andrzej Jan Taramina [EMAIL PROTECTED]
To: tomcat Users List [EMAIL PROTECTED]
Sent: Sunday, March
Does anyone know if JNDIRealm is going to be fixed up anytime soon so that
the bind as user functionality is in there?
I know someone had a patch for this. I'm wondering if that patch is going to
be integrated into the main distribution.
Jon
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For
]
To: Tomcat Users List [EMAIL PROTECTED]; Jonathan Eric
Miller [EMAIL PROTECTED]
Sent: Friday, March 15, 2002 5:14 PM
Subject: Re: JNDIRealm with bind as user functionality
On Fri, 15 Mar 2002, Jonathan Eric Miller wrote:
Date: Fri, 15 Mar 2002 15:36:09 -0600
From: Jonathan Eric Miller [EMAIL
I noticed that the following directory now exists on the Jakarta Web site.
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.4-b2/bin/
Does this mean that 4.0.4-b2 is out? Or, is that a nightly build?
Also, anyone know if this release will contain the JNDIRealm enhancements? I
Thanks!
Jon
- Original Message -
From: Remy Maucherat [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, March 26, 2002 1:00 AM
Subject: Re: Tomcat 4.0.4-b2 available?
I noticed that the following directory now exists on the Jakarta Web
site.
It is possible to use the Coyote connector for SSL connections as well?
Jon
- Original Message -
From: Remy Maucherat [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Tuesday, March 26, 2002 1:34 PM
Subject: [ANNOUNCEMENT] Tomcat 4.0.4 Beta 2 released
As far as I know, you won't be able to do this until Tomcat 4.1 is released.
In the current version of Tomcat, it binds as an administrator and then
queries for the user's password and compares it to that which was provided
by the user. This comparison takes place on the client-side. i.e. in
I don't know if you noticed, but, the password has to be stored as a hex
string rather than a base64 encoded string in the directory in order for it
to work. I think there is a patch that is supposed to fix this that I think
is supposed to be included when Tomcat 4.1 comes out. Also, there's
I think if you add something similar to the following to the web.xml file
for your application, it will make it automatically redirect from HTTP to
HTTPS.
security-constraint
web-resource-collection
web-resource-nameTomcat/web-resource-name
url-pattern/*/url-pattern
Does anyone know if this release contains the new JNDI Realm code that
allows you to authenticate users using LDAP binds instead of querying the
directory for the password and comparing?
Jon
- Original Message -
From: Remy Maucherat [EMAIL PROTECTED]
To: Tomcat Developers List [EMAIL
it does an
LDAP bind as the user himself will be implemented. I know someone had a
patch that does this. The question is whether or not that patch will be in
4.1 or not.
Jon
- Original Message -
From: Rick Fincher [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]; Jonathan Eric
Miller
I just noticed that the CoyoteConnector no longer seems to work. I'm using
the config listed below for my server.xml. This worked fine with Tomcat
4.0.4b2-01 and Coyote 1.0b5. Now, it just hangs.
Server port=8005
shutdown=SHUTDOWN
debug=0
Service name=Tomcat-Standalone
Connector
Thanks, but, unless I'm overlooking something the factory is still listed as
org.apache.catalina.net.SSLServerSocketFactory (for use with HttpConnector).
There is no example for SSL with Coyote in the provided server.xml.
Jon
- Original Message -
From: Remy Maucherat [EMAIL PROTECTED]
This question is probably for Remy.
Does the CoyoteServerSocketFactory class that you use with CoyoteConnector
to use SSL not support the keystoreType attribute? I tried it out using the
following, and it doesn't work. I receive a Catalina.start:
LifecycleException: Protocol handler
I have some Java servlet example applications that do this that I can send
you if you want. I don't know JSP, so, I don't know if you can easily
translate it to JSP or not. I would assume that you can do all the same
things using JSP that you can in servlets, just using different syntax?
Jon
Remy,
Can you tell me if org.apache.coyote.tomcat4.CoyoteServerSocketFactory when
used for SSL supports the keystoreType attribute? As far as I can tell, it
doesn't. I'm hoping to be able to use it with a PKCS12 keystore rather than
the default JKS keystore. This works fine using the old HTTP
I noticed that you will receive the following error if you do not have a
GlobalNamingResources element in your server.xml file for Tomcat 4.1.2.
IMHO, this tag shouldn't be required because sometimes you might not having
anything to put in that section. i.e. I want to use JNDIRealm, not the
I found that it looks like the nightly binary builds are broken. As you can
see, for some reason the many of the file sizes are only 45 bytes. Also, the
.zip file builds are missing.
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/nightly/
of /builds/jakarta-tomcat-4.0/nightly
Name
If you are using Tomcat 4.1.3, there are two modes that you can use for
checking roles. If you set roleSearch, it will look for search for group
objects that contain a list of users for each group. If you set
userRoleName, it will get the group information out of the user's entry
instead. i.e.
.
R Thanks,
R Ryan
R --- Jonathan Eric Miller [EMAIL PROTECTED]
R wrote:
If you are using Tomcat 4.1.3, there are two
modes
that you can use for
checking roles. If you set roleSearch, it will
look
for search for group
objects that contain a list of users for each
group
Here's a link to the Tomcat SSL How To document.
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/ssl-howto.html
This is a link to the keytool documentation in the JDK.
http://java.sun.com/j2se/1.4/docs/tooldocs/tools.html
Note, it's also now possible to use a PKCS12 keystore. This would be
When you say that you configured SSL to work, do you mean you enabled HTTPS?
You may also want to enable SSL for the JDBC connection assuming the
database server is on a different host. The problem there is that many
databases don't support SSL. It depends on which DBMS your using. If you
want
?
groupOfUniqueNames objectclass? group class? Are both
valid?
Thanks,
Cristina
--- Jonathan Eric Miller [EMAIL PROTECTED]
wrote:
Jacob,
I'm happy to say that there is a new bind as user
mode in Tomcat 4.1.3
which verifies the user password by binding as them
to the directory, rather
Have a look at these links. There is some new functionality in Tomcat 4.1
that isn't mentioned in the main end-user document yet that is in the second
link. Namely, how to get it to bind as a user to do the authentication
rather than querying for a password and comparing it.
If you want to see what the structure of AD is, run LDIFDE. LDIFDE comes
with Windows 2000 Server and will dump the contents of AD to a LDIF file.
Jon
- Original Message -
From: Chris Shen [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, June 06, 2002 4:35 PM
Josh,
You also need to put something similar to the following in your web.xml
file. i.e. the stuff you put in server.xml, just tells Tomcat where to
authenticate. The stuff in web.xml, tells Tomcat what resources are
protected and what roles are required in order to access a particular
resource.
if you're
using Apache HTTP Server on the front end.
Jon
- Original Message -
From: Jonathan Eric Miller [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, June 12, 2002 2:20 PM
Subject: Re: JNDIRealm authentication
Josh,
You also need to put something similar
The value that you have connectionName set to looks invalid. It looks like
you have it set to the name of a container rather than to the dn of the
admin account that is used to bind to the directory for querying for user
passwords and role information.
Jon
- Original Message -
From:
If I remember correctly, JAXP is optional if you are using JDK 1.4. I
remember having the same problem, but, then I realized that it was optional.
I was able to get Tomcat to build without it.
Jon
- Original Message -
From: Heap, John [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent:
This is probably a newbie question, but, it's something that I've been
meaning to find the answer to for awhile.
I'm using Tomcat 4.0.1 in standalone mode. What I want to do is be able to
assign an alias to a servlet so that a user can just enter the name of an
HTML file to access the servlet
I'm wondering if anyone knows if it is possible to have multiple virtual
hosts in Tomcat 4 standalone mode, each with a SSL enabled?
If so, do I need to somehow put more than one host name into the SSL
certificate? Or, is there a way to install multiple SSL certificates?
So, for example, say I
That worked, thanks.
Jon
- Original Message -
From: [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, December 18, 2001 2:42 PM
Subject: Re: Way to alias/redirect index.html to a servlet with Tomcat 4 in
standalone mode?
Jonathan Eric Miller [EMAIL
IMHO, I don't think it's a good idea to make customizations like this. IMHO,
all the distributions should contain the same files.
Jon
- Original Message -
From: GOMEZ Henri [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, November 09, 2001 7:13 AM
Subject: RE: No
I'm guessing that you're using Linux? I was wondering the same thing
recently and what I found is that on Linux, the ps command as well as top
list threads not processes. So, actually, there's just one process for
Tomcat, but, multiple threads. Someone else posted about a command called
pstree.
I'm having problems using ServletResponse.flushBuffer() and Tomcat 4.0b7.
The following servlet demonstrates.
What I want it to do is print out the title and the Test 1 line. Then,
pause for 10 seconds and print out the Test 2 line. It doesn't work the
first time through. However, if I then hit
I'm wondering if in Tomcat 4 there is a restart command that you can use
to restart it rather than having to stop and start it using startup and
shutdown scripts?
The problem that I have is that it takes time for it to startup and
shutdown, especially when you have SSL enabled. So, a restart
Does anyone know if there is a way to tell Tomcat 4 to reload the
tomcat-users.xml file?
I want to give users the ability to change their passwords without having to
restart Tomcat in order for the changes to take affect. I was able to this
with Apache Web Server without a problem because it
List [EMAIL PROTECTED]
Sent: Thursday, August 16, 2001 3:17 PM
Subject: Re: Tomcat 4 restart command?
On Thu, 16 Aug 2001, Jonathan Eric Miller wrote:
I'm wondering if in Tomcat 4 there is a restart command that you can
use
to restart it rather than having to stop and start it using startup
3:19 PM
Subject: Re: Way to tell Tomcat 4 to reload tomcat-users.xml without having
to restart?
On Thu, 16 Aug 2001, Jonathan Eric Miller wrote:
Does anyone know if there is a way to tell Tomcat 4 to reload the
tomcat-users.xml file?
No, although it would be technically feasible
I'm currently looking at trying to use JNDIRealm for authentication and I've
come up with a number of questions. I'm wondering if anyone knows the
answers to any of the following questions.
1. Does anyone have it working that can provide an example entry of what
should go in server.xml and also
I'm curious to know if there are a lot of people out there running Tomcat in
standalone mode versus using it with Apache Web Server or some other Web
server?
Previously, I've been using it with Apache Web server on Solaris 8 with
mod_jk. However, as of version 4, it seems like it's pretty stable
Try reading server.xml, I haven't had any problems here. All you have to do
is uncomment a few lines of code and run the keytool command that's listed
there. Also, you need to make sure you have JSSE is installed.
Jon
- Original Message -
From: Curtis Dougherty [EMAIL PROTECTED]
To:
Anyone out there using JNDIRealm?
Jon
Eric Miller [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 20, 2001 1:01 PM
To: [EMAIL PROTECTED]
Subject: Re: SSL-How-2 for Tomcat 4
Try reading server.xml, I haven't had any problems here. All you have to
do
is uncomment a few lines of code and run the keytool command that's listed
-
From: Jonathan Eric Miller [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 20, 2001 2:23 PM
To: [EMAIL PROTECTED]
Subject: Re: SSL-How-2 for Tomcat 4
Are you receiving a specific error message?
Jon
- Original Message -
From: Curtis Dougherty [EMAIL PROTECTED]
To: [EMAIL
Cool, thanks, I appreciate it. I'll give it a try. If this works, that's
good investigative work.
Jon
- Original Message -
From: Mauro Bertapelle [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 21, 2001 12:56 PM
Subject: Re: Bug in ServletResponse.flushBuffer() in Tomcat
I've ran into similar problems with Internet Explorer. Not exactly though.
Basically, I've seen IE display a cached page, even if you have caching
turned off. What I do is completely exit and restart my browser each time I
test a change to a servlet.
Jon
- Original Message -
From: John
I'm wondering if it is possible to return multiple responses/pages from a
given request?
I have a servlet that performs some processing after a form is submitted to
it. This processing sometimes takes several seconds to complete. What I want
to do is first display a page which says Processing
is to use threads for heavy tasks and
let browsers reload by meta Refresh.
References to the threads are setAttr'ed into HttpSession,
and a servlet checks on each reload whether or not the
threads complete.
Shunsuke Masuda
- Original Message -
From: Jonathan Eric Miller
- Original Message -
From: zze-messager FTM balr002 [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, August 22, 2001 2:42 AM
Subject: Jsse / SSL / Tomcat
Hello,
I need to use HTTPS
1. I've installed jsse.jar, jnet.jar and jcert.jar both in
$JDK/jre/lib/ext
and in
x2164
Fax: (630) 250-3046
-Original Message-
From: Jonathan Eric Miller [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 21, 2001 4:48 PM
To: Tomcat User List
Subject: Possible to return multiple responses/pages for a request?
I'm wondering if it is possible to return multiple
[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, August 22, 2001 8:31 AM
Subject: RE: Jsse / SSL / Tomcat
i use jdk1.2.2 (ibm)
-Message d'origine-
De : Jonathan Eric Miller [mailto:[EMAIL PROTECTED]]
Envoyé : mercredi 22 août 2001 15:29
À : [EMAIL PROTECTED]
Objet : Re: Jsse
Have you guys thought about just using Tomcat in standalone mode? That's
what I'm planning to do once 4.0 comes out. Previously, I had the same
problems as you guys with regard to building mod_jk. There were never any
Solaris binaries available by default. Once I figured it out, it wasn't too
I'm pretty sure that it's no longer recommended that people use mod_jserv. I
think mod_jk replaced it, or maybe there is something even newer?
Jon
- Original Message -
From: Rob Cartier [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, August 22, 2001 5:27 AM
Subject: Help: Can't
I think JNDIRealm will do this. However, it seems to be a pretty newly added
feature and as far as I can tell, it isn't documented very well. I've been
wondering the same thing. If you figure it out, please let me know. You
might want to do a search of the mail list archives. I saw a few messages
Yeah, that's what I'm doing and it seems to work well.
Jon
- Original Message -
From: Leandro de Oliveira e Ferreira [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, August 22, 2001 8:08 AM
Subject: Re: Sending email from servlet?
Download javamail from www.javasoft.com
Yup.
Jon
- Original Message -
From: Gregory Reddin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, August 22, 2001 6:38 PM
Subject: RE: Pre-install question
So if I only need to be able to run JSPs then all I
need is Tomcat? It's its own webserver?
-Greg
--- Rob S.
- Original Message -
From: Dmitri Colebatch [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, August 22, 2001 11:33 PM
Subject: Re: a simple ( irritating) classpath problem
hi,
There are three basic areas that classes can be put in tomcat:
WEB-INF/classes
- contains all
As far as I know, the users, roles, and user_roles tables are global and
will get used by whatever Web applications you have protected. Are you
saying that you want to have a separate set of these table, one for each Web
application? Why not just create different roles, one for each Web
Oops, actually the link is http://www.inetsoftware.de. Always forget about
that...
Jon
- Original Message -
From: Jonathan Eric Miller [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 23, 2001 11:05 AM
Subject: Re: JDBC Driver for sql server 2000
http
My guess is that this may be the same problem that I ran into while trying
to use JDBCRealm. I think you have to put the .jar file in
TOMCAT_HOME/server/lib instead of TOMCAT_HOME/lib for low-level .jar files
that get used by Tomcat itself? I'm not an expert, that just seemed to be
experience
- Original Message -
From: Jonathan Eric Miller [EMAIL PROTECTED]
To: Tomcat User List [EMAIL PROTECTED]
Sent: Thursday, August 16, 2001 5:25 PM
Subject: JNDIRealm questions
I'm currently looking at trying to use JNDIRealm for authentication and
I've
come up with a number of questions. I'm
-
From: Jonathan Eric Miller [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 23, 2001 6:05 PM
To: [EMAIL PROTECTED]
Subject: Re: JDBC Driver for sql server 2000
http://www.inetsoftware.com has a great driver IMHO. It's a
JDBC type 4
and
they seem to be very proactive about
Miller wrote:
Date: Thu, 23 Aug 2001 15:08:12 -0500
From: Jonathan Eric Miller [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: JNDIRealm questions
I did a search of the Tomcat Developer List archive and found that it
looks
like #2 is possible
: JNDIRealm questions
On Thu, 23 Aug 2001, Jonathan Eric Miller wrote:
Date: Thu, 23 Aug 2001 15:35:09 -0500
From: Jonathan Eric Miller [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: JNDIRealm questions
Thanks, can you confirm that binding
I just wanted to say, thank you, to all the developers. I think you guys are
doing a great job. I had a chance to read through the docs more thoroughly
recently and I'm starting to get an idea of all the hard work you've been
putting in. I'm looking forward to using Tomcat 4 in our production
I think it's basically just a random number that is stored either in a
cookie or using URL rewriting. You can call HttpSession.getId() to get the
value.
Jon
- Original Message -
From: Wouter Boers [EMAIL PROTECTED]
To: Tomcat-User@Jakarta. Apache. Org [EMAIL PROTECTED]
Sent: Wednesday,
John, I'm running into the same exact problem. Were you ever able to resolve
this? The reason it is intermittent is it happens when you update a servlet
and auto servlet reloading happens and you don't restart the server. The
work around that I've been using is to just restart the server after
Not sure if this is a FAQ or not, but, is there a recommended location where
to put native code that is called by a servlet?
Currently, I put code similar to the following in startup.sh to tell it
where to look.
LD_LIBRARY_PATH=/path/to/native/code
export LD_LIBRARY_PATH
Is this what everyone
Craig,
A week or so ago, you mentioned that you are in the process of re-writing
the docs on how to configure Realms. I'm wondering if you've had a chance to
do that yet? When you do, please let me know, as I'm interested in trying to
get JNDIRealm to work.
Thanks, Jon
First off, I want to thank Craig for writing up those JNDIRealm
instructions. Those worked great. That's exactly the information that I was
looking for.
I have JNDIRealm working using both clear-text and digest passwords.
However, there are a few problems that need to be resolved before I will
- Original Message -
From: Craig R. McClanahan [EMAIL PROTECTED]
To: Tomcat User List [EMAIL PROTECTED]
Sent: Thursday, September 06, 2001 4:45 PM
Subject: Re: JNDIRealm working, but, I have a few problems
On Thu, 6 Sep 2001, Jonathan Eric Miller wrote:
Date: Thu, 6 Sep 2001 15
Basically, if you are using Tomcat 4, you just have to copy your servlets to
CATALINA_HOME$/webapps/ROOT/WEB-INF/classes. I created a symlink under
CATALINA_HOME$ named servlets that is linked to
webapps/ROOT/WEB-INF/classes. So, when I copy my servlets over I just copy
them to
Completely clear your CLASSPATH. Then, install a fresh copy of Tomcat. Then,
try to access some of the sample servlets.
If that doesn't work, you might want to give Tomcat 4 a try. Tomcat 4 is due
out in mid-September. Tomcat 4 doesn't use CLASSPATH at all, so, maybe
that'll fix your problem.
One thing that you might want to look into assuming you haven't already
bought new hardware is that I think that you can get SSL hardware
accelerator cards rather than a separate box to do it? I don't know much
about it. I just know that I heard something about this where I work. They
were
Are you sure it only happens on a Mac? Maybe you don't have the image files
stored in the correct location?
Jon
- Original Message -
From: Henry Yeh [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September 06, 2001 1:03 PM
Subject: RE: mac question from yesterday
no it
Tomcat 4 doesn't use the CLASSPATH variable. So, all the .jar files that
aren't in the jakarta-tomcat directory will be ignored AFAIK. I did notice
one thing that looks odd also. servlet.jar is normally found in common\lib,
not server\lib. Not sure if that would make a difference.
Jon
-
Are you sure it only happens on a Mac? Maybe you don't have the image files
stored in the correct location?
Jon
- Original Message -
From: Henry Yeh [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September 06, 2001 1:03 PM
Subject: RE: mac question from yesterday
no it
You're kidding, right? If you changed all the 8080's in server.xml to 80,
that should have done it. You remembered to restart the server, right?
Jon
- Original Message -
From: Curtis Dougherty [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September 06, 2001 3:38 PM
Subject:
If you are using Tomcat 4, check out the following link. You don't actually
need to build Tomcat from the source code (if that's what you are trying to
do) in order to get SSL to work. It's just a matter of running a keytool
command and then uncommenting a few lines of code in server.xml. This
Are you sure it wasn't really a .c.exe file and Explorer didn't just hide
the extension. ;-)
Jon
- Original Message -
From: Pier Fumagalli [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September 06, 2001 8:09 PM
Subject: Re: New nt_service
Tim O'Neil [EMAIL PROTECTED]
If you write servlets instead of JSPs I would assume that you can get away
with only using the JRE instead of the full JDK. I've never tried it myself
though. I see that RUNNING.TXT says to download the JDK though. That could
be because they're assuming that you're setting up a development
will only be loaded when Tomcat starts, instead of everytime your servlet is
reloaded. This is with Tomcat 4. Not sure about Tomcat 3.x.
Jon
- Original Message -
From: Jonathan Eric Miller [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: Tomcat User List [EMAIL PROTECTED]
Sent: Wednesday, September 05
: Minimizing the
installation footprint of Tomcat
Actually, you'll need at least the servletapi if you want to write either
and
certainly a JDK . The
servlet api ships with Tomcat and Java Runtimes are commonly packaged with
JDK's.
Jonathan Eric Miller wrote:
If you write servlets instead of JSPs
I don't know for sure if this will help, but, if you have application
specific .jar files that are stored somewhere other than under your
WEB-INF/lib directory, you might want to try to move them there and see if
that makes a difference. What I always try to do when resolving a problem
like this
I don't know the answer to your question, but, I'm wondering if the
application actually has to run in Tomcat. It sounds like you might want to
just create a standalone application that listens on a port.
Jon
- Original Message -
From: Alex Colic [EMAIL PROTECTED]
To: Tomcat-User [EMAIL
You mean the first time you access the JSP after starting Tomcat? This is
because the JSP has to be compiled into a class before it can be executed.
Jon
- Original Message -
From: srini [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, September 07, 2001 2:14 PM
Subject: Basic
1 - 100 of 243 matches
Mail list logo