RE: tomcat v. resin

2002-09-07 Thread Martin Cooper
-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.

javax.servlet.ServletException: Name java:comp is not bound in this Context

2002-09-07 Thread Richard Chamberlain
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

onLoad Servlet

2002-09-07 Thread neal
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

Re: onLoad Servlet

2002-09-07 Thread Ben Walding
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

Autodeploy oddity (bug?) in 4.1.10 (TomCat deploys same webapp to2 contexts instead of 1)

2002-09-07 Thread Ben Walding
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

JRE and JSP

2002-09-07 Thread RAJESH KANNAN
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

Re: tomcat v. resin

2002-09-07 Thread Dionisio Ruiz de Zarate
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

Re: Autodeploy oddity (bug?) in 4.1.10 (TomCat deploys same webapp to 2contexts instead of 1)

2002-09-07 Thread Robert L Sowders
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:

How to configure tc-4.1.10 to use Jikes?

2002-09-07 Thread Zsolt Koppany
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

Issue with Filtering after restart

2002-09-07 Thread Arjen Smedes
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)

Memory Consumed by NT Service does not come down if Tomcat 4.1.9 is run as a Service in W2K

2002-09-07 Thread Sankar B
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:

Where to place JAR file???

2002-09-07 Thread Michael Petres
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

Post operation failure in Apache/Tomcat 4.0.3 load balancing

2002-09-07 Thread Xiaoyu Zhang
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

passing a session from non-SSL to SSL

2002-09-07 Thread Joshua Szmajda
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

Re: Where to place JAR file???

2002-09-07 Thread Ben Walding
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

webapss.so for tomcat 4.1.10

2002-09-07 Thread Dionisio Ruiz de Zarate
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]

Re: How to configure tc-4.1.10 to use Jikes?

2002-09-07 Thread Glenn Nielsen
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

Re: Autodeploy oddity (bug?) in 4.1.10 (TomCat deploys same webappto 2 contexts instead of 1)

2002-09-07 Thread Ben Walding
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

Re: Bringing up DBCP pooling again

2002-09-07 Thread Nikola Milutinovic
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

Problems getting roles in JNDI Realm

2002-09-07 Thread Mark R. Diggory
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;

PLEASE: Setting Virtual Hosts ClassPaths with Tomcat 3.3

2002-09-07 Thread Joshua D. Drake
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

Off topis - building pc's

2002-09-07 Thread Ron Day
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]

404 errors with new context

2002-09-07 Thread Steve
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

Re: Problems getting roles in JNDI Realm (more info)

2002-09-07 Thread Mark R. Diggory
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);

Re: Off topis - building pc's

2002-09-07 Thread Paul DuBois
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]

Re[2]: Bringing up DBCP pooling again

2002-09-07 Thread Rick Reumann
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

Re: onLoad Servlet

2002-09-07 Thread micael
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

RE: onLoad Servlet

2002-09-07 Thread neal
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:

Re: Problems getting roles in JNDI Realm (This *IS* a problem.)

2002-09-07 Thread Mark R. Diggory
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

RE: Tomcat standalone Versus Apache

2002-09-07 Thread neal
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?

RE: Tomcat standalone Versus Apache

2002-09-07 Thread micael
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

RE: Tomcat standalone Versus Apache

2002-09-07 Thread neal
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

RE: Tomcat standalone Versus Apache

2002-09-07 Thread 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

RE: Tomcat standalone Versus Apache

2002-09-07 Thread micael
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

On Resin, Tomcat and Apache.

2002-09-07 Thread Sriram N
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

How to set tomcat to use port 80...

2002-09-07 Thread Keith Pemberton
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

Re: passing a session from non-SSL to SSL

2002-09-07 Thread Milt Epstein
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

RE: How to set tomcat to use port 80...

2002-09-07 Thread neal
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.

RE: Tomcat standalone Versus Apache

2002-09-07 Thread Milt Epstein
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

Re: How to set tomcat to use port 80...

2002-09-07 Thread Rick Reumann
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

RE: How to set tomcat to use port 80...

2002-09-07 Thread Keith Pemberton
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