Differences Between Apache and Tomcat

2004-01-06 Thread Kapil Sharma
Hi All Can you all plz give me any url where I can find the fundamental differences between Apache and Tomcat.(If there r any). Thanks Kapil Sharma H/P 00-6-0125678120 http://hindiadventure.tripod.com http://sget.tripod.com _ Free t

Re: Differences Between Apache and Tomcat

2004-01-06 Thread Spam
Hi, Apache is a web server (mainly support static html). Tomcat is a servlet container (mainly support servlets, and by the way jsp, but don't support EJBs). JBoss is an EJB container (support EJBs, and is using tomcat as embedded component to support servlets and jsp). All of them can work tog

Re: Tomcat and Apache on Separate servers

2004-01-06 Thread Camron G . Levanger
It's a great idea, what you want to do is configure as normal, and then edit the workers.properties to point to the remote tomcat. Camron G. Levanger The Dreamlab www.dreamlabmedia.com (866) 890-3705 On Jan 5, 2004, at 11:36 PM, Richard Wray wrote: Hi All, I have what I hope will be a simple que

Tomcat don't receive the right URL from mod_jk2 (or mod_jk) with IIS 6.0 on Win 2003 Server?

2004-01-06 Thread Spam
Hi all, I've followed the instructions found at: http://virtualict.net/support/kb/iis6-Tomcat5-JK2.html But, I get ' The page cannot be displayed ' when trying to reach: http://localhost/examples/ Looking at the asapi.log file, it seems that "/examples/" is found to be redirected to ajp1

Re: Differences Between Apache and Tomcat

2004-01-06 Thread Camron G . Levanger
apache.org jakarta.apache.org Apache is a web server. Tomcat is a servlet container that happens to have a built in web server, you most likely want to use the two in conjunction. Camron G. Levanger The Dreamlab www.dreamlabmedia.com (866) 890-3705 On Jan 6, 2004, at 1:59 AM, Kapil Sharma wro

Apache redirection to Tomcat, but with JDBC security realms

2004-01-06 Thread Tang Wern Chait
Has anyone tried Apache redirection to Tomcat, on Java code that makes uses of JDBD security realms? Assuming the redirection from Apache to Tomcat works fine when I type 'http://localhost/examples/servlets/index.html' But for my own code, I include url 'alerts.do' inside securi

Question on using Tomcat 5 in production environment; using multi ple instances or not?

2004-01-06 Thread Marco Pas
Hi, I cannot find a suitable answer on the situation and questions below: Situation: I want to use Tomcat in a high available environment, using 2 machines behind a load-balancer. On these machines several tomcat applications should be running. Requirements are: - maximum speed - ease of setup

Re: Telnet test for Tomcat?

2004-01-06 Thread srevilak
> I'm trying to access Tomcat from a remote location > through a DLink 614+ Wireless Hub and firewall. > > I have SSH and FTP port forwaring working fine. > > I know Tomcat is up and running. I can also use > "links" to browse Tomcat from the command line. > > I cannot seem to access Tomcat from my

Re: jk2_init() Can't find child xxxx in none of the 1024 scoreboard slots

2004-01-06 Thread George Shafik
Hi Nikola, > Consult docs at http://jakarta.apache.org -> Tomcat -> Documentation. Ok after consulting the doco I'm now getting : 6/01/2004 21:31:14 org.apache.commons.digester.Digester startElement SEVERE: Begin event threw exception java.lang.ClassNotFoundException: org.apache.coyote.tomcat4.C

java.lang.VerifyError

2004-01-06 Thread Rahul Toraskar
Hi, I am using Tomcat 5.0. I am getting an error as java.lang.VerifyError: (class: org/apache/xalan/xpath/xdom/XercesLiaison, method: parse signature: (Lorg/xml/sax/InputSource;)V) Incompatible object argument for function call is anybody aware of it? Thanks, Rahul Toraskar.

Persistent User Login

2004-01-06 Thread Chris Ward
Hi, I was asking about this subject on this list a while back http://www.mail-archive.com/tomcat-user%40jakarta.apache.org/msg111700.h tml but I've not managed to get it working yet. In short. I'm working on an intranet application and I want my users to only have to log in once. If

RES: how to deploy ejb in tomcat

2004-01-06 Thread Jose Euclides da Silva Junior - DATAPREVRJ
Even praying, its impossible.Unless a miracle happens..Try to use JBoss, it works fine with tomcat.. Jose Euclides Junior Projeto DOP201 Infra-estrutura J2EE para as aplicacoes corporativas da Previdencia Social -Mensagem original- De: Shapira, Yoav [mailto:[EMAIL PROTECTED] Enviada em:

RE: NoClassDefFoundError : Digester

2004-01-06 Thread Hume, John - NA US HQ Delray
No webapps can see any JARs in server/lib. I'm not familiar with Balancer, but I would guess Digester will need to move to common/lib. -john. -Original Message- From: 29djeo [mailto:[EMAIL PROTECTED] Sent: Monday, January 05, 2004 4:29 PM To: [EMAIL PROTECTED] Subject: NoClassDefFoundEr

RE: catch-all host mapping

2004-01-06 Thread Hume, John - NA US HQ Delray
Can you just specify this as the defaultHost in the Engine? That is, something like ... ... -Original Message- From: Marco Pöhler [mailto:[EMAIL PROTECTED] Sent: Monday, January 05, 2004 4:49 PM To: Tomcat Users List Subject: AW: catch-all host mapping Yes, I expec

Re: Telnet test for Tomcat?

2004-01-06 Thread Brian Baxter
Yes. Telnet to the port on which Tomcat (or the HTTP connector is listening) -- i.e., telnet Nothing special about HTTP that you are missing. Make sure you are running the HTTP connector on the same port your firewall is forwarding to -- default would be port 80 for HTTP ... Tomcat HTTP conne

Re:syntax error when Apache is started

2004-01-06 Thread annimandary
Hi to everyone who replied the mail I originally sentthough most of you didn't exactly reply to help me solve my problem :) I guess I need to give you some explanations . . . except that I don't have any explanation!!! I don't know what happened with the mail address. My email address is "[EMA

JSP developer mailing list address! Please

2004-01-06 Thread GuptaD
Hi everyone, I know I can't use this list for asking a jsp question. Plesae send me the address for the Jsp mailing list. I will really appreciate it. Thanks & Regards, Divya Divya Gupta --- Software Engineer 5-A, Cumberland House, Fenian Street, Dublin-2 PH:

RE: Differences Between Apache and Tomcat

2004-01-06 Thread Shapira, Yoav
Howdy, As always, I would say start with tomcat by itself. It's the simplest setup -- don't add Apache until you're sure you need it. Tomcat will serve your static HTML pages just fine and fast. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Camron G. Levanger [mai

RE: java.lang.VerifyError

2004-01-06 Thread Shapira, Yoav
Howdy, You mucked your XML parser libraries ;( Are you getting this error in your own webapp, or one of tomcat's defaults? Did you modify the contents of the endorsed library directory? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Rahul Toraskar [mailto:[EMAIL PR

Re: JSP developer mailing list address! Please

2004-01-06 Thread Chris Wahl
I recommend: borland.public.jbuilder.servlets-jsp (news server: newsgroups.borland.com) BTW: use google group service : http://groups.google.com/advanced_group_search?hl=en - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 06, 2004 9:03 PM Sub

RE: NoClassDefFoundError : Digester

2004-01-06 Thread Shapira, Yoav
Howdy, The balancer webapp requires digester. In the default setup, balancer is a privileged webapp, so it can and does use the copy of digester in server/lib (what Mr. Hume said is wrong). Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Hume, John - NA US HQ Delray

RE: Question on using Tomcat 5 in production environment; using multiple instances or not?

2004-01-06 Thread Shapira, Yoav
Howdy, For minimum interference, run one instance of tomcat per application per machine. So if you have five apps and two machines, that's ten instances of tomcat. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Marco Pas [mailto:[EMAIL PROTECTED] >Sent: Tuesday, Jan

Re: JSP developer mailing list address! Please

2004-01-06 Thread Ben Souther
Did you look here? http://forum.java.sun.com/ JSP: http://forum.java.sun.com/forum.jsp?forum=45 Servlet: http://forum.java.sun.com/forum.jsp?forum=33 On Tuesday 06 January 2004 08:38 am, Chris Wahl wrote: > I recommend: > borland.public.jbuilder.servlets-jsp > (news server: newsgroups.borland.c

adding new jars to classpath

2004-01-06 Thread sushma
Hi, I added new jars to the classpath in setclasspath.sh(using tomcat 4.1.27) but these are not being picked up. I got a CNF error. I copied these jars to common/lib and then it worked fine. These jars are used by the custom realm classes placed at server/lib. why am I not able to modify the clas

Re: adding new jars to classpath

2004-01-06 Thread Tim Funk
http://jakarta.apache.org/tomcat/faq/classnotfound.html Especially read the link for Tomcat 4.1 Classloader HOWTO -Tim sushma wrote: Hi, I added new jars to the classpath in setclasspath.sh(using tomcat 4.1.27) but these are not being picked up. I got a CNF error. I copied these jars to commo

java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver

2004-01-06 Thread Sachdeva, Devinder
All- I'm getting the following error ,though Oracle driver classes(zip)are in tomcat/common/lib placed. java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver Any clue---> Thanks Devinder -- Notice: This e-m

Tomcat session

2004-01-06 Thread thuret olivier
hi, i want to know if it's possible to share the session of a context to another context in the same instance of tomcat (server.xml)? thanks a lot

cannot get Filters to work with Tomcat 5.0.16

2004-01-06 Thread Patrick Scheuerer
Hi, I cannot get Filters to work with Tomcat 5.0.16. Here are my filter definitions in web.xml: UserFilter ch.ctc.support.common.UserFilter AdminFilter ch.ctc.support.common.AdminFilter UserFilter /* AdminFilter /admin/* Every time Tomcat tries to start the

UnsatisfiedLinkError

2004-01-06 Thread Annette Strupp-Adams
When my Sun machine is rebooted, it automatically starts Tomcat (version 4.1.18) and Apache in a start-up script. After the machine has rebooted, and I try to instantiate an object that accesses a database, I get the following error: UnsatisfiedLinkError: no osjisc in java.library.path It is

RE: java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver

2004-01-06 Thread Chakravarthy, Sundar
Trying renaming classes12.zip to classes12.jar -Original Message- From: Sachdeva, Devinder [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 06, 2004 10:10 AM To: [EMAIL PROTECTED] Subject: java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver All- I'm getting the following erro

RE: java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver

2004-01-06 Thread Dick Brooks
I'm using Oracle 9i and have no problems. I placed the oracle classes12.jar within the common/lib directory and use a resource description within the server.xml to identify the database where I store XML and other documents within a generic event logging framework with no problem. Here are a few i

RE: Tomcat session

2004-01-06 Thread Shapira, Yoav
Howdy, No. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: thuret olivier [mailto:[EMAIL PROTECTED] >Sent: Tuesday, January 06, 2004 10:29 AM >To: Tomcat Users List >Subject: Tomcat session > >hi, > >i want to know if it's possible to share the session of a context to

RE: cannot get Filters to work with Tomcat 5.0.16

2004-01-06 Thread Shapira, Yoav
Howdy, Your first filter-mapping is mapping to a servlet-name /*?? ;) Either put a defined servlet name there or map to url-pattern /*. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Patrick Scheuerer [mailto:[EMAIL PROTECTED] >Sent: Tuesday, January 06, 2004 10:29

Re: cannot get Filters to work with Tomcat 5.0.16

2004-01-06 Thread Patrick Scheuerer
Shapira, Yoav wrote: > Howdy, > Your first filter-mapping is mapping to a servlet-name /*?? Either > put a defined servlet name there or map to url-pattern /*. I'll try copy/paste this time. Here's the filter declaration: UserFilter ch.ctc.support.common.UserFilter AdminFilter

RE: JSP config question from a newbie

2004-01-06 Thread Steve Carson-Rowland
Hi Schalk, Do I need to install J2EE as well? I thought if I was using Tomcat, this was handling the server side instead. I have the latest J2SE - 1.4.2 and have set JAVA_HOME and CLASSPATH. Thanks Steve -Original Message- From: Schalk [mailto:[EMAIL PROTECTED] Sent: Tuesday, 30 Decembe

Re: Persistent User Login

2004-01-06 Thread Jeanfrancois Arcand
J2EE 1.4 SDK (which contains Tomcat 5) uses the Single Sign on feature and it is working fine. So just add the SingleSignOn valve in your server.xml. -- Jeanfrancois Chris Ward wrote: Hi, I was asking about this subject on this list a while back http://www.mail-archive.com/tomcat-user%40j

RE: RE: virtual hosting? anyone succeed?

2004-01-06 Thread 29djeo
so you have two instances of tomcat running? Otherwise how do you have two root contexts? I was thinking of running two tomcats and fronting them with apache as a way to achieve virtual hosting. That way I could have seperate jvms handle my servlet requests. ---Original Message

RE: cannot get Filters to work with Tomcat 5.0.16

2004-01-06 Thread Shapira, Yoav
Howdy, Looks good. Did you try either one of the filters individually to see if it works by itself? Do you have any other errors in your logs? Anything else in web.xml? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Patrick Scheuerer [mailto:[EMAIL PROTECTED] >Sent

RE: JSP config question from a newbie

2004-01-06 Thread Shapira, Yoav
Howdy, You don't need to install J2EE, that's wrong advice. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Steve Carson-Rowland [mailto:[EMAIL PROTECTED] >Sent: Wednesday, January 07, 2004 4:51 AM >To: 'Tomcat Users List' >Subject: RE: JSP config question from a newb

Re: Differences Between Apache and Tomcat

2004-01-06 Thread David Wall
> As always, I would say start with tomcat by itself. It's the simplest > setup -- don't add Apache until you're sure you need it. Tomcat will > serve your static HTML pages just fine and fast. It's important to realize that Apache is basically C code rather than Java code, so it tends to run fa

RE: RE: virtual hosting? anyone succeed?

2004-01-06 Thread George Sexton
Using the Admin application, click on the service (Generally, "Service (Catalina)"). From the service actions dropdown, select the option to create a new host. -Original Message- From: 29djeo [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 06, 2004 8:56 AM To: George Sexton Cc: [EMAIL

RE: Differences Between Apache and Tomcat

2004-01-06 Thread Chakravarthy, Sundar
Any thoughts on using apache-tomcat(s) for load-balancing/failover VS tomcat-tomcat(s)? Thanks -Original Message- From: David Wall [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 06, 2004 11:00 AM To: Tomcat Users List Subject: Re: Differences Between Apache and Tomcat > As always, I

RE: Persistent User Login

2004-01-06 Thread Chris Ward
Thanks. I should have mentioned that I am running Tomcat 4.1.24 with jdk1.3.0_02. I did want to make use of the Tomcat features for authentication (i.e. FROM method, Realm using user/roles DB tables, web.xml configuration etc.) to replace existing code that I wrote for the task. I'm losing the

ajp13 errors

2004-01-06 Thread Steve Harris
Hi all, Has anyone encountered errors similar to the following in the catalina_log file ? If so - any ideas as to the cause. Cheers - Steve = He didn't administer a reign of terror, just the occasional light shower. -Terry Pratchett, Sourcery =

RE: Differences Between Apache and Tomcat

2004-01-06 Thread Shapira, Yoav
Howdy, >It's important to realize that Apache is basically C code rather than Java >code, so it tends to run faster and of course is much more mature. Because Sure, but back that up with benchmarks specific to your application before blindly picking one or the other based on "tends to run faster

Re: cannot get Filters to work with Tomcat 5.0.16

2004-01-06 Thread Patrick Scheuerer
Shapira, Yoav wrote: Howdy, Looks good. Did you try either one of the filters individually to see if it works by itself? Do you have any other errors in your logs? Anything else in web.xml? I tried both filters individually. Same thing. If i delete the filter stuff, everything works like a char

RE: cannot get Filters to work with Tomcat 5.0.16

2004-01-06 Thread Shapira, Yoav
Howdy, OK, now that's the 3rd different version of the filter elements in your web.xml ;) You shouldn't have both servlet-name and url-pattern children of filter-mapping, only one of them. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Patrick Scheuerer [mailto:[EMA

RE: cannot get Filters to work with Tomcat 5.0.16

2004-01-06 Thread Ralph Einfeldt
There is an unneeded . As I understand the error message you have to use either or . (Not shure if this is the problem, as I havn't used filters by now) > -Original Message- > From: Patrick Scheuerer [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 06, 2004 5:32 PM > To: Tomcat Users

Re: cannot get Filters to work with Tomcat 5.0.16

2004-01-06 Thread Patrick Scheuerer
Shapira, Yoav wrote: Howdy, OK, now that's the 3rd different version of the filter elements in your web.xml ;) You shouldn't have both servlet-name and url-pattern children of filter-mapping, only one of them. I tried to add the filters with the Struts Studio Web Deployment Editor just as anothe

CVS on windows

2004-01-06 Thread Kumar, Sumit
I am trying to configure CVS on windows 2000 machine running tomcat 4.1. Is there a place I can get instructions on how to do that. thanks -sumit - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: cannot get Filters to work with Tomcat 5.0.16

2004-01-06 Thread Jeanfrancois Arcand
To be sure your web.xml is correct, turn xml validation on. In server.xml, replace: by That may help next time you see such problem. -- Jeanfrancois Patrick Scheuerer wrote: Shapira, Yoav wrote: Howdy, OK, now that's the 3rd different version of the filter elements in your web.xm

Re: CVS on windows

2004-01-06 Thread StokesP
configure in what way? www.cvshome.org (doccos) also see cederqvist (google / should also be on cvshome) or just search google for your specific issue. Pete.

Warning of session timeout.

2004-01-06 Thread Michael Cardon
Hello, When I'm doing online banking over the internet, I get a popup notice telling me my session is about to expire and asking me if I want to stay logged in or not. How do they do this? I would like to offer the same kind of message on our web site to our users when the session is about to ex

RE: Warning of session timeout.

2004-01-06 Thread Chris Ward
I guess you could get the desired result using JavaScript locally to count down from when the page is last sent. Just a suggestion. Best regards Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

RE: Warning of session timeout.

2004-01-06 Thread Shapira, Yoav
Howdy, Probably a simple javascript function that fires off a popup a few minutes before the configured session timeout. Trivial (and not specific to java) to implement. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Michael Cardon [mailto:[EMAIL PROTECTED] >Sent: T

RE: JSP developer mailing list address! Please

2004-01-06 Thread Mike Curwen
There's also the javaranch. http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=forum&f=50 > -Original Message- > From: Ben Souther [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 06, 2004 7:45 AM > To: Tomcat Users List > Subject: Re: JSP developer mailing list address! Please

jvm.cfg, mem heap size

2004-01-06 Thread John Beamon
I need to raise the amount of memory my jvm buffers for its use. I've seen docs on JavaHotSpot and JRun and a bunch of other things, but never just j2sdk. Even at java.sun.com, there were more docs for iPlanet tuning than j2sdk jvm tuning. I'm looking for the syntax for adding "-Xms128m -Xmx

Re: Telnet test for Tomcat?

2004-01-06 Thread Shortt, Kevin
> Yes, one can test http servers via telnet. The command line version > looks something like this: > > $ telnet HOSTNAME PORT > GET / HTTP/1.0 > I would like to be able to do the same type of test to my mod_jk connector. I have been unable to find a spec or RFC that lays out the AJP 1.3

RE: jvm.cfg, mem heap size

2004-01-06 Thread Shapira, Yoav
Howdy, You probably want to read and bookmark this page and the performance docs pages linked from it: http://java.sun.com/docs/hotspot/VMOptions.html. (This issue has also been raised and discussed many times on this list, you can search the archives). Yoav Shapira Millennium ChemInformatics

Re: adding new jars to classpath

2004-01-06 Thread sushma
I checked the faq and also see the same java.lang.NoClassDefFoundError: javax/servlet/Filter Error message. I verified that there is only one servlet.jar in common/lib. The new jars that I added in the classpath depend on servlet.jar. So is the error due to this ? -sushma --- Tim Funk <[EMAIL

webapp works through Apache, not Tomcat directly

2004-01-06 Thread Jerry Ford
I have a webapp deployed in Tomcat 4.1.27 which I am able to reach through Apache 1/3/27 (via mod_jk; sorry, didn't build it myself, obtained it as a binary and don't know version---how can I tell?) but cannot reach it by going directly to Tomcat. Tomcat is configured to listen directly on port

RE: How to prevent HTTPS access?

2004-01-06 Thread Sonny Sukumar
Hey Joe, Thanks for very much for your ideas on how to solve my problem. I'll make sure to check out apache.org for further details. Thanks again! Sonny --- joe <[EMAIL PROTECTED]> wrote: > One method is to use the mod_rewrite module. You > place the rewrite lines inside _def

invoker servlet, tomcat 4.1.29, apache 2.0.48 and connector jk2

2004-01-06 Thread Maxime Pelletier
Hi, We upgraded our tomcat to 4.1.29 and apache to 2.0.48 recently and we have lost access to all servlet invoked in the following form http://address/servlet/MyServlet the apache does no longer pass the request to the tomcat and result in a 404 error (processed by apache). When I use the tomca

RE: cannot get Filters to work with Tomcat 5.0.16

2004-01-06 Thread Giuliano Gavazzi
At 11:36 am -0500 2004/01/06, Shapira, Yoav wrote: Howdy, OK, now that's the 3rd different version of the filter elements in your web.xml ;) You shouldn't have both servlet-name and url-pattern children of filter-mapping, only one of them. that's much better said then the original error message:

Tomcat 5 - Cannot load JDBC driver class 'null' SQL state: null

2004-01-06 Thread christopher justin
A solution to this problem would be greatly appreciated. I have now spent over 10 hours investigating this problem, and still have no solution. We have installed Tomcat 5 and the latest MySQl ConnectorJ driver on 3 different platforms, and experience this annoying, what seems to be common pro

load test suite - apache-tomcat

2004-01-06 Thread Steve
We are trying to run some load test on an app hitting apache-tomcat which also uses weblogic for its backend auth ejb to an oracle db. Currently we using loadrunner 7.51 to simulate a login to the app with about 200 virtual users.. LR is having lots of problems giving us many different result

RE: webapp works through Apache, not Tomcat directly

2004-01-06 Thread Chakravarthy, Sundar
Could be a permission issue: docBase="/usr/local/webserver/webapps/MyApp Tomcat is unable to read directory under ="/usr/local/webserver/webserver. -Original Message- From: Jerry Ford [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 06, 2004 1:44 PM To: Tomcat Users List Subject: web

Re: jvm.cfg, mem heap size

2004-01-06 Thread Robert Hall
And for tuning gc in the 1.4 JVM: http://java.sun.com/docs/hotspot/gc1.4.2/ Robert Shapira, Yoav wrote: Howdy, You probably want to read and bookmark this page and the performance docs pages linked from it: http://java.sun.com/docs/hotspot/VMOptions.html. (This issue has also been raised and disc

Re: adding new jars to classpath

2004-01-06 Thread Tim Funk
Read the Tomcat 4.1 Classloader again. Classes in the System classloader won't be able to see classes down the chain such as the common or webapp classloader. Realm classes need to go into the server classloader. -Tim sushma wrote: I checked the faq and also see the same java.lang.NoClassDef

Re: invoker servlet, tomcat 4.1.29, apache 2.0.48 and connector jk2

2004-01-06 Thread Tim Funk
http://jakarta.apache.org/tomcat/faq/misc.html#invoker -Tim Maxime Pelletier wrote: Hi, We upgraded our tomcat to 4.1.29 and apache to 2.0.48 recently and we have lost access to all servlet invoked in the following form http://address/servlet/MyServlet the apache does no longer pass the reques

Re: load test suite - apache-tomcat

2004-01-06 Thread Tim Funk
seige (www.joedog.org) jmeter -Tim Steve wrote: We are trying to run some load test on an app hitting apache-tomcat which also uses weblogic for its backend auth ejb to an oracle db. Currently we using loadrunner 7.51 to simulate a login to the app with about 200 virtual users.. LR is having

Re: load test suite - apache-tomcat

2004-01-06 Thread jean-philippe . belanger
Loadrunner is one nice tool for creating script for web load testing. You can do absolutly anything with that tool. I tried lots of other load testing suite opensource or not and I`m still having a hard time finding a tool as complet as LR. You can try openSTA. Havn't worked much with it but it's

RE: load test suite - apache-tomcat

2004-01-06 Thread Shapira, Yoav
Howdy, I don't like LoadRunner as much. I had a tough time getting authentication to work. I really like JMeter and some other tools, found them easier to use and nearly as comprehensive. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: [EMAIL PROTECTED] [mailto:je

Problem with Validator Task on TC5 client deployer

2004-01-06 Thread Carl Bailey
Hi, I am trying to run the tc5 client deployer standalone to pre-compile a web application , the application compiles fine, however the validator task throws the following error. I have checked that the build directory contains a valid web.xml under the WEB-INF directory, and that the correct pat

starting server

2004-01-06 Thread Jason Roscoe
I am new to Tomcat. I just downloaded 4.1.29 and have it started up in Windows XP. When I got to http://localhost:8080 it is giving me the error "The page cannot be displayed". I tried changing the port and that did not help. I have the catalina_home and java_home variables set up. Can someon

Re: invoker servlet, tomcat 4.1.29, apache 2.0.48 and connector jk2

2004-01-06 Thread Justin Ruthenbeck
Since you're able to hit your servlets through the invoker when pointing to Tomcat directly, this sounds like a connector problem. Check your workers[2].properties to make sure you're passing requests for "/servlet" through to Apache. justin At 11:47 AM 1/6/2004, you wrote: http://jakarta.apa

Re: webapp works through Apache, not Tomcat directly

2004-01-06 Thread Jerry Ford
Chakravarthy, Sundar wrote: Could be a permission issue: docBase="/usr/local/webserver/webapps/MyApp Tomcat is unable to read directory under ="/usr/local/webserver/webserver. Both /usr/local/webserver/webapps where MyApp is located and $TOMCAT_HOME/webapps where examples are located are wor

Re: Differences Between Apache and Tomcat

2004-01-06 Thread Mike Coughlan
> Can you all plz give me any url where I can find the > fundamental differences > between Apache and Tomcat.(If there r any). Take a look at all the modules for Apahce, such as mod_perl and mod_php. Now ask yourself why you would want such things when you have the power of servlets in Tomcat.

RE: invoker servlet, tomcat 4.1.29, apache 2.0.48 and connector jk2

2004-01-06 Thread Maxime Pelletier
Hi, My workers2.properties file have the following entries : [uri:/*.jsp] info=Map to Tomcat All *.jsp In Default Context # context=/ # group=channel.un:/var/log/tomcat/intranet/intranet_jk2.socket group=ajp13:/var/log/tomcat/intranet/intranet_jk2.socket debug=0 disable=0 [uri:/*/.jsp] info=Map

Re: how to deploy ejb in tomcat

2004-01-06 Thread Mike Coughlan
I made the same mistake. This matrix will help to clarify the issue. http://www.theserverside.com/reviews/matrix.jsp The funny thing is that Sun now bundles the J2EE SDK with the Netbeans IDE. The Netbeans IDE in turn comes with Tomcat bundled inside for easy local development. And yet Tomca

RE: how to deploy ejb in tomcat

2004-01-06 Thread alan sparago
I haven't used it and don't know much about it but you might be able to use Tomcat with OpenEJB. http://openejb.sourceforge.net/tomcat.html -Original Message- From: Mike Coughlan [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 06, 2004 1:35 PM To: Tomcat Users List Subject: Re: how to

Re: webapp works through Apache, not Tomcat directly

2004-01-06 Thread Daniel Gibby
Maybe you are using a symbolic link and tomcat 4 doesn't follow them by default because of performance. Daniel Gibby Jerry Ford wrote: I have a webapp deployed in Tomcat 4.1.27 which I am able to reach through Apache 1/3/27 (via mod_jk; sorry, didn't build it myself, obtained it as a binary a

RE: Problem with Validator Task on TC5 client deployer

2004-01-06 Thread Shapira, Yoav
Howdy, Can you post your web.xml? Is it a 2.4 version with the schema specified? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Carl Bailey [mailto:[EMAIL PROTECTED] >Sent: Tuesday, January 06, 2004 3:15 PM >To: [EMAIL PROTECTED] >Subject: Problem with Validator Tas

Re: webapp works through Apache, not Tomcat directly

2004-01-06 Thread Jerry Ford
The symbolic link is to $TOMCAT_HOME (in /usr/local/webserver, I've defined symbolic links to both tomcat and apache: tomcat -> jakarta.tomcat-4.1.27, and apache->apache_1.3.27), and Tomcat has no problem using it. It just won't run my webapp when called directly through port 8080. The webap

RE: invoker servlet, tomcat 4.1.29, apache 2.0.48 and connector jk2

2004-01-06 Thread Justin Ruthenbeck
This looks correct. What version of Tomcat and Apache did you upgrade from? Are you *sure* you can hit your /servlet/* URLs going directly to Tomcat? Just to be sure: you're aware of the invoker servlet changes that Tim sent a URL to, right (that the invoker is disabled by default)? justin

Tomcat 5 & Custom Tag Variable Problems

2004-01-06 Thread Richard Wareing
Well, I finally got around to playing with Tomcat 5, and everything seems to work well except for my custom tags (which is to say my whole web app broke :) ). My problem is when tomcat tries to process my custom tags I get an error as follows: org.apache.jasper.JasperException: /index.jsp(13,0)

Problem configuring SSL in Tomcat 5.0.16

2004-01-06 Thread Mike Batting
I downloaded the src project and did a full ant build of Tomcat 5. I am running a SUN JDK version 1.4.1. I have run the java keytool to create a simple certificate keystore. I have used essetnially the standard server.xml file and have uncommented the SSL connector. I have tried using both SS

RE: Problem with Validator Task on TC5 client deployer

2004-01-06 Thread Carl Bailey
Hi, Unfortunatley the web.xml is too large for posting, but the header is as follows:- http://java.sun.com/dtd/web-app_2_3.dtd";> web.xml file for Services GenericServices my.domain.gls.servlet.GenericServices . . . The web.xml currently conforms to 2.3 spec Your questi

RE: invoker servlet, tomcat 4.1.29, apache 2.0.48 and connector jk2

2004-01-06 Thread Maxime Pelletier
I can definitly access the servlets with the tomcat port. Using the following addresses : Tomcat url work http://XX.X.X.XX:8081/servlet/com.wanted.cobrandpropertyeditor.servlet.TextE ditServlet Apache/jk2/tomcat does not work http://XX.X.X.XX/servlet/com.wanted.cobrandpropertyeditor.servlet.Text

RE: invoker servlet, tomcat 4.1.29, apache 2.0.48 and connector jk2

2004-01-06 Thread Justin Ruthenbeck
Hmm -- everything looks correct (though I don't use the invoker servlet personally). If you're able to hit the servlet directly on Tomcat, then all of this shouldn't matter. Seems like it has to be a connector issue. (1) Can you get *anything* from Tomcat through Apache? Try the examples web

Newbie needing help in deploying servlet

2004-01-06 Thread David
I'm trying tomcat-4.1.24 out and have it up and running ok. But when I try to deploy a new servlet it is not seen (404) by tomcat. I have it like this: $CATALINA_HOME/webapps/testapp/form.html $CATALINA_HOME/webapps/testapp/WEB-INF/classes/Testservlet.class I can access the form.html-page on htt

RE: Retrieving the context path from a standalone class

2004-01-06 Thread Kent Boogaart
Hi Shapira, Please see below for my responses. Regards, Kent Howdy, You're missing a few things: 1. The context path is (according to the spirit of the servlet spec) to be decided by the server administrator, just like the port on which the webapp will run. Your application should be complet

Re: Newbie needing help in deploying servlet

2004-01-06 Thread Jerry Ford
David: Try this; In your server.xml, add this context to the Host element: Create your web.xml in testapp/WEB_INF as follows: http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";> test app My test web application. Testservlet

Re: Newbie needing help in deploying servlet

2004-01-06 Thread Jerry Ford
Perhaps I mispoke about prevserving "servlet" in the URL; instead of replacing the asterisk in my sample web.xml, add servlet to it: /servlet/* Jerry Jerry Ford wrote: David: Try this; In your server.xml, add this context to the Host element: prefi

jdk14Logger.log NoSuchMethodError

2004-01-06 Thread sushma
I added some of the jdk logging classes from 1.4 to the bootclasspath in catalina.sh. JAVA_OPTS = "-Xbootclasspath/a:/tmp/lib/jdk_logging.jar". Now the server fails to start. Using tomcat 4.1.27 and jdk 1.3.1. The exception message is java.lang.NoSuchMethodError at org.apache.commons.loggi

Re: webapp works through Apache, not Tomcat directly

2004-01-06 Thread FRANCOIS Dufour
FOR MEE I AD TO SHARE FILES THAT I WANT TO BEE ACESS FROM THE WEB VIA:8080 IF I DONT SHARE THE FILE IT COMME OUT THE RESOURCE IS NOT AVAILABLE COULD IT BEE THIS ON YOUR PLATFORM TOO WONDERING ON OS=XP ITS LIKE THAT [EMAIL PROTECTED] crazy-wilys webmaster From: Daniel Gibby <[EMAIL PROTECTED

Re: webapp works through Apache, not Tomcat directly

2004-01-06 Thread Jerry Ford
The linux equivalent of shared files is to make them world readable, which the webapp directory and all files in it are: drwxr-xr-x Still doesn't work. Jerry FRANCOIS Dufour wrote: FOR MEE I AD TO SHARE FILES THAT I WANT TO BEE ACESS FROM THE WEB VIA:8080 IF I DONT SHARE THE FILE IT COMME OU

Re: webapp works through Apache, not Tomcat directly

2004-01-06 Thread Ben Souther
Are the files in a particular user's directory? I.E: /home/someUser On Tuesday 06 January 2004 09:28 pm, you wrote: > The linux equivalent of shared files is to make them world readable, > which the webapp directory and all files in it are: drwxr-xr-x > > Still doesn't work. > > Jerry > > FRANC

Re: webapp works through Apache, not Tomcat directly

2004-01-06 Thread Jerry Ford
No. /usr/local/webserver/webapps/MyApp Jerry Ben Souther wrote: Are the files in a particular user's directory? I.E: /home/someUser On Tuesday 06 January 2004 09:28 pm, you wrote: The linux equivalent of shared files is to make them world readable, which the webapp directory and all files

Tomcat 5.0.16 in XP Profesional

2004-01-06 Thread foongkim
Dear all, I have install Tomcat 5.0.16 in my XP Professional with JVM1.4_02 I wonder, do i need to set the "JAVA_HOME" and "CATALINA_HOME" in the Global Environment Setting ? I know i have to do this at Win98 or Wind95, but not sure is it necessary to do it in XP or more higher OS version? Th

  1   2   >