-Original Message-
From: micael [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 06, 2002 10:52 PM
To: Tomcat Users List
Subject: Re: tomcat v. resin
Resin is, I think, noticeably faster in my limited
experience. But, Resin
has serious features restrictions for me.
Hello,
I'm struggling setting up a database resource.
I've copied the xml pretty much verbatim from the docs in the JNDI
Datasource HOW-TO.
However when I try and access the database I get a ServletException as
follows:
javax.servlet.ServletException: Name java:comp is not bound in this
In a previous thread someone mentioned that it is possible to set a servlet
to run as Tomcat is started.
Could someone please provide me with a syntactical example of how to set
this up?
I have searched the documentation, I've searched for exmaples in the web.xml
files, and I've scoured the
You're probably searching for the wrong thing!
From web.xml (see http://java.sun.com/dtd/web-app_2_3.dtd)
!--
The load-on-startup element indicates that this servlet should be
loaded (instantiated and have its init() called) on the startup
of the web application. The optional contents of
these
I've found a minor oddity when using auto deployment in 4.1.10.
Take a simple web application (called montage), create a
montage_prod.war and montage_prod.xml for it and copy them to the
webapps directory. However before doing that, change the path i.e.
Context path=/montage
Hi all,
We have a special requirement which warrants the use of tomcat with only
JRE. (Not JDK).
In our web application we have JSPs also in addition to Java classes.
Is there any way by which we can operate TOMCAT only with JRE. (which
supports JSP execution).
We are using TOMCAT-4.0.3
i am usin tomcat and resin.
my opinion, only my opinion, is thar resins is faster and easy for configure
than tomcat. this with the old versions.
but i have see the tomcat 4.1.10 and tomcat is more fast.
but i can say that is, resin, more easy for configure.
Else i have see that there is some
Does this still happen if you don't copy it to the webapps directory and
instead deploy it using the manager?
rls
Ben Walding [EMAIL PROTECTED]
09/07/2002 01:28 AM
Please respond to Tomcat Users List
To: Tomcat Users List [EMAIL PROTECTED]
cc:
Subject:
Hi,
I try to configure tc-4.1.10 to use Jikes to compile jsp files. The configure
below in web.xml does work with tc-4.0.4. Why doesn't it work tc-4.1.10? I
don't have any errors, just jikes it not called.
init-param
param-namejspCompilerPlugin/param-name
Hi,
I am encountering the following problem. I have a filter wrapping a HttpRequest in a
MultipartWrapper (extending HttpServletRequestWrapper). After a restart of Tomcat
(4.0.4), the first time I hit a page calling a servlet with something like this :
if (request instanceof MultipartWrapper)
Dear All,
Im new to this list. Ive not subscribed anywhere. I
dont know whether Ill get reply if i mail to this id
[EMAIL PROTECTED] I got this id in
JGuru Forum. Please help me out.
The details given by tomcat in its manager application
are as follows:
Apache Tomcat/4.1.9 JVM Version:
Hello,
I have a problem that is probably silly if you know tomcat well
I have configured tomcat to load a context (eBMF). In order to avoid loading
the servlet twice I have set the appBase in the server.xml file to an
empty string and I have placed the applet related stuff in a directory at
Hi All,
I have set up Apache 1.3.29 distribute loads across 2 Catalina 4.0.3. For
http get operation, every thing works fine. For HTTP post operation, apache
can figure out the righ server to send the request, however catalina 4.0.3
can not identify the correct session, it can not find the data
Hi all,
I'm upgrading an application from Tomcat 3.2 to Tomcat 4.0, and I'm
noticing that my application is now losing track of its sessions when I
switch from non-SSL to SSL. The code worked fine in Tomcat 3.2.. I was
wondering if there's something I'm missing. My server.xml has a single
Anything under WEB-INF is invisible to a web user, it's just the way
things are.
Hence, I believe that you are going to need to put the library.jar in
two places, once in the WEB-INF/lib and once in the same dir as
applet.jar (but not under WEB-INF)
Michael Petres wrote:
Hello,
I have a
Hello.
can anybody says me where can i find the webapp.so file for linux for the
new tomcat 4.1.10 vesion?
or how can i generate?
thanks
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Tomcat 4.1 uses Jasper 2.
Jasper 2 was changed to use Ant to compile JSP pages and no longer supports
the config below for using Jikes.
But you can tell Ant to use jikes for compiling by defining the following
property to java when starting Tomcat:
-Dbuild.compiler=jikes
Regards,
Glenn
Using the manager, I deployed the application (removed it from webapps
dir first and restarted tomcat).
/montage was then available (no /montage_prod)
Stopping restarting tomcat made /montage disappear as expected.
It's seems like the auto deploy system doesn't check if you had a
context
Andrew Conrad wrote:
You might get more responses if you post it to
[EMAIL PROTECTED]
If anyone gets an answer to this question, could it be circulated here, as well?
Most of us would like to know. A DB server rebooting scenario is not all that
impossible. And if it happens on Saturday
I'm trying to get a realm set up via JNDI to an Openldap server. Here is
my current server.xml config.
Realm
className=org.apache.catalina.realm.JNDIRealm debug=99
connectionURL=ldap://vdc.fas.harvard.edu:389;
Hello,
I am running RedHat 7.3, Apache 1.3.26 and Tomcat-3.3.1. I am having
problems getting Tomcat to pick up new
classpaths for virtual hosts. We can successfully run jsp files from the
virtual hosts but once we try to add a class
(for JavaBeans in this case) it fails. Here is the exact
Sorry its off topic
Anyone have a good site for how to build a PC ??
Ron
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Hi;
I'm using Tomcat 4.03 with Red Hat 7.3.
I'm having trouble setting up a Context for a web application and I
was hoping someone could give me a clue to what I missed in reading the
manual.
First I set up a test web app like this:
Context path=/Projects docBase=/home/srussell/Projects
I know my request should work at the LDAP Server through JNDI because
the following does work when I make a request to the LDAP server. I do
get back the groups.
%
Hashtable env = new Hashtable();
env.put(DirContext.INITIAL_CONTEXT_FACTORY,com.sun.jndi.ldap.LdapCtxFactory);
At 14:09 -0500 9/7/02, Ron Day wrote:
Sorry its off topic
Anyone have a good site for how to build a PC ??
Ron
I imagine you can get tons of good information for that on the Tomcat
mailing list. That's what they discuss there, right?
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
On Saturday, September 7, 2002, 10:15:04 AM, Nikola Milutinovic wrote:
NM Andrew Conrad wrote:
You might get more responses if you post it to
[EMAIL PROTECTED]
I posted my question there. Not a very active list. Only received
like 3 e-mails over the past two days. Of course no answer
Hi, neal,
I am going to do my best to state this without being offensive, which I
don't intend to be. You really need to look at what I am saying, however
you take this, neal.
The problem you are having is why I asked the questions which,
unfortunately, you took as insults. I thought you
Micael,
Thank you and that was not offensive at all. Actually, that is a good
point. I will look at the Struts web.xml file (presumably in the example
app). I just didn't know what I was looking for. :)
Thanks!
neal
-Original Message-
From: micael [mailto:[EMAIL PROTECTED]]
Sent:
Looking over the JNDIRealm Code I notice that in the bindAsUser method
that the users principle and credentials are stripped out of the
context. It is after this point that the JNDI search request is made to
gather the roles from the ldap server. Shouldn't it be *after* the
search for the
By static content, you mean HTML files probably, right?
I read recently that thanks to the recently advanced JIT compilers that a
typical JSP can be served nearly s quickly as a standard HTML file. That
said, should Apache serving HTML really be way, way, way faster than
Tomcat sreving JSPs?
I did the comparison about a year ago, and things change. I have no heard
of a change in this regard. That would be a huge, unprecedented change for
Tomcat, and I have been following Tomcat daily. I notice that no one
disputed the suggestions I made, so I assume the tests are still at least
Yeah, you're right ... no one was refuting that. If anything, several
people said the same thing you did. I guess I just don't understand why or
to what extent that's true. I'll look into it some more and let you know
anything I find.
:)
Neal
-Original Message-
From: micael
Here is a benchmark test. I don't know if it is generally reliable, but it
fits with experience I have had where they match up.
http://www.chamas.com/bench/index.html
At 05:07 PM 9/7/2002 -0700, you wrote:
Yeah, you're right ... no one was refuting that. If anything, several
people said
Keep in mind, neal, that the servlet created in the work directory is
really what is doing the work. I don't know in these tests what some of
the configurations are either. If they did not, for example, turn off the
reloadable attribute, then that would be really
unfair. UNFAIR! lol! The
Hi all,
I saw the past few days' posts on resin vs tomcat, and tomcat vs apache.
I just went over to resin's site, and here's what they have to say:
Resin includes a full-featured HTTP/1.1 web server dedicated to serving fast
Java dynamic content. While Resin is tuned for dynamic content, its
Ok, so I want tomcat to use port 80 so that I don't have to type in
http://url:8080 all the time and can just accesses it with the straight
url. I have changed the server.xml file to read port 80 in replace of
the 8080 that was there originally under the HttpConnector. Is there
anything else
On Fri, 6 Sep 2002, Joshua Szmajda wrote:
Hi all,
I'm upgrading an application from Tomcat 3.2 to Tomcat 4.0, and
I'm noticing that my application is now losing track of its sessions
when I switch from non-SSL to SSL. The code worked fine in Tomcat
3.2.. I was wondering if there's
That's all I did ... change the port from 8080 to 80 and that worked for me
on both Windows and Linux. As to the permissions issue I don't really know
enough to comment per se ... but someone mentioned in a prior conversation
that in order for Tomcat to run on any port 1024 it must run as root.
On Sat, 7 Sep 2002, micael wrote:
I did the comparison about a year ago, and things change. I have no
heard of a change in this regard. That would be a huge,
unprecedented change for Tomcat, and I have been following Tomcat
daily. I notice that no one disputed the suggestions I made, so I
On Saturday, September 7, 2002, 11:19:41 PM, Keith Pemberton wrote:
KP I keep getting Permission Denied messages
KP when I type tomcat4 run as the root user. That command does
KP work, though, if I change the port back to 8080. Any insights
KP would be much appreciated! Thanks!
Could
tomcat4 run is a script file that I can run to start and stop tomcat4
because I installed an rpm version on tomcat. I found the solution and
thanks for everyone that was trying to help me out. Turns out that the
tomcat4.conf file has a line TOMCAT_USER which was assigned to tomcat4.
When I
41 matches
Mail list logo