AW: Tomcat refusing jsessionid's

2002-05-27 Thread Ralph Einfeldt
The syntax for the session id is wrong. Since Servlet Spec 2.2 the session id is not a part of the query string but part of the url. http://www.reseller.com:10001/anacreon/servlet/CustomerIndexServlet;jses sionid=A4A0314540585318A4F5E327F1457375 You should better disable cookies and use

Re: PROPOSAL for Connectors

2002-05-27 Thread @Basebeans.com
Subject: Re: PROPOSAL for Connectors From: Bruno V [EMAIL PROTECTED] === I really agree with that, we need to capitalise thoses informations to avoid all the mail about connector's problems. Somehow, I began with a page referencing Guides and howto. I saw that it makes about

problem of running Apache Xalan sample code on Tomcat

2002-05-27 Thread Ken Hu
Dear All: I try to run the sample code (SimpleXSLTServlet) of Apache's Xalan XSLT. The document said : To run this servlet: place spec.xsl and trax.xml (from the samples/AppletXMLtoHTML directory) in the directory where

Tomcat Application CVS

2002-05-27 Thread @Basebeans.com
Subject: Tomcat Application CVS From: Rohit Peyyeti [EMAIL PROTECTED] === Hello All: Can anybody tell me what would be the best way to create tomcat applications under CVS repository? Is there any standard way for managing tomcat applications under CVS? If so, why and what? Any help will be

Re: Use Worker MPM with mod_webapp

2002-05-27 Thread Simon Stewart
On Fri, May 24, 2002 at 10:07:50AM +0800, Steve Wong wrote: BUT, when I run ./configure --with-apxs=. FOR mod_webapp It says that I cannot mix the gcc and native cc. AND the configuration failed. The configuration success if I use Solaris's ld to make Apache. Why will this happen

install/remove via manager (ant)

2002-05-27 Thread Marc Logemann
Hi, i am using (or trying) to use ant for redeploying my applications on my development-site. Perhaps you can help me with the following tasks: 1. i want to install a webapplication, so i do: tcinstall url=${catalina.url} username=${catalina.username} password=${catalina.password}

Re: undefined symbol apt_pool_create when loading mod_jk2.so

2002-05-27 Thread Steinar Bang
Steinar Bang [EMAIL PROTECTED]: Platform: Intel PIII, RedHat 7.2, apache 2.0.35 from the RPM in URL http://ftp.falsehope.com/home/gomez/apache2/, mod_jk2 from the RPM in http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.3/rpms/ When I try

Problems using a tomcat 3.3 .war file with tomcat 4.0.3

2002-05-27 Thread Steinar Bang
Platform: Intel PIII, RedHat 7.2, apache 2.0.35 from the RPM in URL http://ftp.falsehope.com/home/gomez/apache2/, tomcat 4.0.3, and mod_jk2 from RPMs in http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.3/rpms/ I am trying to use a .war created

Re: Problems using a tomcat 3.3 .war file with tomcat 4.0.3

2002-05-27 Thread Peter Davison
Sounds like your web.xml file has a problem in it somewhere. Sometimes the messages you get from the parser don't necessarily point you to the actual problem (much like compilers I guess). Can you post the contents of your web.xml so that we can have a look? Pete On Mon, 27 May 2002 14:05:48

Re: Problems using a tomcat 3.3 .war file with tomcat 4.0.3

2002-05-27 Thread Steinar Bang
Steinar Bang [EMAIL PROTECTED]: Platform: Intel PIII, RedHat 7.2, apache 2.0.35 from the RPM in URL http://ftp.falsehope.com/home/gomez/apache2/, tomcat 4.0.3, and mod_jk2 from RPMs in http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.3/rpms/ I

Re: Problems using a tomcat 3.3 .war file with tomcat 4.0.3

2002-05-27 Thread Steinar Bang
Peter Davison [EMAIL PROTECTED]: Sounds like your web.xml file has a problem in it somewhere. Yep, it did. Sometimes the messages you get from the parser don't necessarily point you to the actual problem (much like compilers I guess). Can you post the contents of your web.xml so that we

Re: AW: Tomcat refusing jsessionid's

2002-05-27 Thread Jiger Java
I tried doing that already but invain. Anyways I have used a work around to overcome this problem but if anyone can provide some hints then well. Jiger From: Ralph Einfeldt [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: AW:

Re: 1 IP

2002-05-27 Thread @Basebeans.com
Subject: Re: 1 IP From: Dan Paraschiv [EMAIL PROTECTED] === I think that for your problem the best answer is a valve component, for more details see: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/valve.html Good luck, Dan [EMAIL PROTECTED] -- To unsubscribe, e-mail:

Re: Use Worker MPM with mod_webapp

2002-05-27 Thread Tino Dai
Steve, Could you do the following on your Solaris machine: env | grep PATH which cc which gcc which ld This should give us a better idea what is going wrong with your compile. Thanks! -Tino On Mon, 2002-05-27 at 06:05, Simon Stewart wrote: On Fri, May 24, 2002 at 10:07:50AM

Re: Problems using a tomcat 3.3 .war file with tomcat 4.0.3

2002-05-27 Thread Steinar Bang
Steinar Bang [EMAIL PROTECTED]: But this was masking the real problem, which is that I get 404 not found on the webapp URLs. Perhaps my JkMount statements aren't included into httpd2.conf. Hmm... I don't think that's it, either... I get the following message, when I'm starting apache: #

tomcat won't run standalone on NT4

2002-05-27 Thread Barbara Post
Hello, despite all my efforts and the fact that WEB-INF has the correct case (saw with command prompt) Tomcat 4.0.3 won't see anything in the WEB-INF directory... it cannot find web.xml so nor the action mapping. Does anyone have an idea ? It *at least* does find it (WEB-INF and subfolders) when

Alias for JSP Files

2002-05-27 Thread Mauricio Tia Ni Gong Lin
I was trying to set up the Tomcat 4 in order to create an alias for my aplication myapp.jsp, but it does not work. I used the following in the web.xml file: servlet servlet-namemyapp/servlet-name jsp-filemyapp.jsp/jsp-file /servlet servlet-mapping

Re: clean-up when stopping tomcat

2002-05-27 Thread Michael Reutter
Am Freitag, 24. Mai 2002 18:06 schrieben Sie: Another option might be the Runtime.getRuntime().addShutdownHook() method. From JDK 1.3: A shutdown hook is simply an initialized but unstarted thread. When the virtual machine begins its shutdown sequence it will start all registered shutdown

RE: WELCOME to tomcat-user@jakarta.apache.org

2002-05-27 Thread Leng, Jialing
Hi I have been trying to set up Tomcat for SSL communication, but could get through the very first step -- connecting to https:\\localhost:8443 Here are my environment and settings: 1) Windows NT 2) Tomcat4.0.3 3) JDK 1.4 used by Tomcat 4) created the CA and

Re: tomcat 2nd instance stopping when i log out - on Solaris.

2002-05-27 Thread chas
Have you try nohup'ing the process? That might work (don't have a solaris box to test that on). Thanks Tino, that did indeed do the trick - don't know why this is only required on Solaris (as far as I can tell). cheers, chas On Fri, 2002-05-24 at 11:03, chas wrote: I have a second Tomcat

Re: Tomcat refusing jsessionid's

2002-05-27 Thread Craig R. McClanahan
On Sat, 25 May 2002, tek1 wrote: Date: Sat, 25 May 2002 23:45:12 +0900 From: tek1 [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Tomcat refusing jsessionid's is it possible for a client to append JSESSIONID=sessionId

Re: [Proposal] Tomcat and Cactus (Repost)

2002-05-27 Thread Nikola Milutinovic
Vincent Massol wrote: I'm reposting in the secret hope that I got no response to this email I sent last week because no one saw it in the flood of Tomcat emails ! If I get no answer this time, I will understand that no one finds this of interest and will try again in 6 months - 1 year :-)

Re: Tomcat newbie: multiuser installation

2002-05-27 Thread Neil Zanella
On Sun, 26 May 2002, Phillip Morelock wrote: I don't know about the ~ stuff but I do know the probable reason you have to be root to do what you're doing: To bind to a port 1024 on linux you must be root. If you've bound tomcat to a port lower than 1024, you'll have to be root to start

Re: Tomcat newbie: multiuser installation

2002-05-27 Thread Andre van Dijk
Op ma 27-05-2002, om 00:06 schreef Neil Zanella: but every time I recompile a servlet placed under the /usr/local/jakarta-tomcat-4.0.3/webapps/ROOT/WEB-INF/classes/ directory I have to restart the Tomcat server as root in order for the changes to take effect. I need to set up Tomcat in

Listing all currently logged users

2002-05-27 Thread Terrence Szeto
Is it possible to list all the users who are currently logged in? I'm using FORM authentication with a JDBC Realm. Basically what I want is for users to be able to see who's currently online (other users). Is there a simple way of approaching this? and if I were to have to write something

tomcat config

2002-05-27 Thread DC Yin
I need to config tomcat to increase the number of connection to tomcat stimulately. How should I do it? Yin __ Find, Connect, Date! http://personals.yahoo.ca -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

Re: tomcat config

2002-05-27 Thread Terrence Szeto
With your server.xml file, change your maxProcessors from 75 to your desired amount. (excerpt from server.xml file) !-- Define a non-SSL HTTP/1.1 Connector on port 8080 -- Connector className=org.apache.catalina.connector.http.HttpConnector port=8080 minProcessors=5

A new version of a sample webApp with DB (using Struts)

2002-05-27 Thread @Basebeans.com
Subject: A new version of a sample webApp with DB (using Struts) From: Vic C [EMAIL PROTECTED] === A new version of Struts/MVC webApp training up available for download on StrutsPLUS.com (also the host of news.baseBeans.com news groups suchs SOAP, JDO, SQL, Strtus, Jakarta, etc aka webPIM).

AW: Tomcat newbie: multiuser installation

2002-05-27 Thread Ralph Einfeldt
Have a look at RUNNING.txt: (4) Advanced Configuration - Multiple Tomcat 4 Instances ... Example: Install tomcat at /usr/local/java/jakarta-tomcat-4.0.3 Install an instance at /somedir/dev01 (follow the given paragraph) Create directory /somedir/dev01/bin Define the file

Re: Tomcat refusing jsessionid's

2002-05-27 Thread tek1
just to confirm, jsessionid can be used regardless of whether or not one is using GET or POST? thanks. At 10:33 02/05/27 -0700, you wrote: Sessions work just fine with both GET and POST -- but they are guaranteed to fail if used in the manner you described above. The reason for this is that

Re: AW: Tomcat newbie: multiuser installation

2002-05-27 Thread Neil Zanella
On Mon, 27 May 2002, Ralph Einfeldt wrote: Have a look at RUNNING.txt: (4) Advanced Configuration - Multiple Tomcat 4 Instances Thanks! Neil -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: tomcat config

2002-05-27 Thread DC Yin
Hi Terrence, My server.xml about connector defination like this: !-- Normal HTTP-- !-- Connector className=org.apache.tomcat.service.PoolTCpConnector Parameter name=handler value=org.apache.tomcat.service.http.HttpConnectionHandler Parameter name=port value=8080 /connector --

Re: tomcat config

2002-05-27 Thread Terrence Szeto
what version of tomcat is that? I'm running 4.0.3 and I don't see anything like PoolTCpConnector on my server.xml From: DC Yin [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: tomcat config Date: Mon, 27 May 2002 15:53:37

Re: tomcat config

2002-05-27 Thread DC Yin
I use tomcat 3.2.2 --- Terrence Szeto [EMAIL PROTECTED] wrote: what version of tomcat is that? I'm running 4.0.3 and I don't see anything like PoolTCpConnector on my server.xml From: DC Yin [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List

Re: tomcat config

2002-05-27 Thread Terrence Szeto
Sorry, I'm not too familiar with tomcat 3.2.2.. um... maybe try the docs? good luck with it.. Terrence From: DC Yin [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: tomcat config Date: Mon, 27 May 2002 16:01:20 -0400

tomcat.log

2002-05-27 Thread DC Yin
How can make tomcat.log is apend message not overwrite? yin __ Find, Connect, Date! http://personals.yahoo.ca -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

loading web.xml file from own class?

2002-05-27 Thread tek1
hello. is there a way of loading or access the web.xml from a non-servlet class? thanks. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Listing all currently logged users

2002-05-27 Thread Ben Walding
I'm not sure if this is the best way, but I added a HttpSessionListener to find out when sessions were created / destroyed and just maintained a list. It is probably more portable than hacking your way into Catalina internals. See the servlet spec for details on lifecycle listeners. Terrence

Re: Listing all currently logged users

2002-05-27 Thread Juan José Velázquez Garcia
You can create a boolean field in the user's table (logged), when the user logs, it is setted to true and when the session ends or the user logsout, set it to false, then create a query that extracts all user where logged=true. +-+ Juan Jose Velazquez Garcia

Re: Listing all currently logged users

2002-05-27 Thread Mats Nyberg
not beeing the expert I'd take any suitable Realm-interceptor (e.g.* org.apache.tomcat.request.SimpleRealm*, or whatever you use depending on your source of userdata). I'd subclass it only to maintain a list of people logging in. should be done in a jiffy, eh ;) ~mats Ben Walding wrote:

problems shutting down tomcat 4.0.3: java.net.ConnectException

2002-05-27 Thread Neil Zanella
Hello, Sometimes, when I try to shut down tomcat I get the following errors, other times I do not. I am on Red Hat 7.3 with sun jdk 1.4. These errors show up roughly 50% of the time. # $CATALINA_HOME/bin/startup.sh Using CATALINA_BASE: /usr/local/jakarta-tomcat-4.0.3 Using CATALINA_HOME:

Problems Running Tomcat 4.0.3 with Weblogic 6.1

2002-05-27 Thread Bo Min Jiang
I'm trying to use Tomcat 4.0.3 as my JSP/servlet container, with Weblogic 6.1 as my EJB container. When I login to my app, I either get a NoClassDefFoundError or NoSuchMethodError from Tomcat - I suspect that this is a result of the ClassLoader being confused with libraries between Tomcat and

startup question

2002-05-27 Thread Neil Zanella
I was reading a howto that emphasiszes that tomcat needs to be started before apache. Is this really true and if yes then why? I was able to run some servlets by starting apache first. Thanks, Neil -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

unanswered questions: Multiple Tomcat Instances

2002-05-27 Thread Neil Zanella
Hello, I am still trying to setup tomcat for multiple instances. I read RUNNING.txt but it is rather incomplete in section (4) as it does not describe what a minimal set of files and their contents in ${CATALINA_BASE} would consist of in this case... As a regular user I created a new directory

Re: JSP Session

2002-05-27 Thread RaymondPau
Hi Mauricio, No, you don't have to use JavaBeans to use the implicit session object. As long as you have session enabled for your webapp, you will get a session object. As for your second question, you really should think what will happen when more than 2 request arrive at the same time.

Tomcat on Linux (Mandrake)

2002-05-27 Thread Ian Verga
Has anyone used Tomcat on linux environment before? I am currently using Mandrake Linux (i think, second to the latest release). When I started tomcat on a terminal session(shell), it does not show a new window (like the one in windows). I am using(and testing) tomcat 4.0.1 and 4.0.3. Thanks in

Re: Tomcat on Linux (Mandrake)

2002-05-27 Thread David Crooke
Unix processes don't in general start new windows unless designed to - you can do xterm -e tomcat command if you want to have stdout / stderr in another window, but most people prefer to background appservers and capture output to a log file. Ian Verga wrote: Has anyone used Tomcat on linux

RE: Alias for JSP Files

2002-05-27 Thread Mostafa Al-Mallawani
this is a cheap shot at the problem but u have a mistake in this part: servlet-mapping servlet-namemyapp/servlet-name //it should be /servlet-name url-pattern/test/url-pattern //there's an extra / before test? /servlet-mapping = Original Message From Tomcat Users List

RE: jsp:include page=%=page_name_string_variable% / fails!

2002-05-27 Thread Chris Campbell
JSP 1.1 spec says 'the flush attribute is mandatory and only accepts the value true' ChrisC -Original Message- From: Keith Glen Bjorndahl [mailto:[EMAIL PROTECTED]] Sent: Monday, May 27, 2002 12:19 AM To: [EMAIL PROTECTED] Subject: jsp:include page=%=page_name_string_variable% /

How can I make sure that the DBCP really works ?

2002-05-27 Thread Ken Hu
Dear All: My platform is Tomcat 4.0.3 and Jakarta-commons-clooections,dbcp and poll installed. I have setted up the server.xml and web.xml and created a testing jsp file that can get a connection from DataSource resource. My question is how can I make sure it is a real connection pooling ? In