help: tomcat IIS integration. repeat.

2002-05-27 Thread Simon Weaver
Have any of you good people managed to get ISAPI_REDIRECT.DLL working when IIS is on a different physical machine to the tomcat instance? thanks in advance Simon Weaver Translucis Ltd London [EMAIL PROTECTED] http://www.translucis.com *

listing directory contents of a webapp-directory

2002-05-27 Thread Joerg Miesner
hi, I'm using Tomcat 3.3.1 and want to precompile all XSL-stylesheets which are in the /WEB-INF/xsl -directory. Therefore I have to get a list of all files and subdirectories in that directory. How do I get this list if I don't want to access the filesystem directly via the servlet-context's g

TC4 loaded twice when path != docBase

2002-05-27 Thread Brett Porter
Hi, I am using Tomcat 4.0.4b3. I have a single context defined like so: However, when I start the container, it loads the context correctly, but then also attempts to create a context /finserv, presumably using the automatic deployment. This is successful, accept that my startup relies on

RE: Help on mmmySQL/JDBC/Tomcat

2002-05-27 Thread Lee Chin Khiong
You should place your .jar file under Tomcat_home/common/lib. -Original Message- From: Ying Zhang [mailto:[EMAIL PROTECTED]] Sent: Saturday, May 25, 2002 6:03 PM To: [EMAIL PROTECTED] Subject: Help on mmmySQL/JDBC/Tomcat Hi, I am trying to connect mysql database in jsp file. Mysql

AW: unanswered questions: Multiple Tomcat Instances

2002-05-27 Thread Ralph Einfeldt
I don't know if it's the minimal set, but it works for me: ${CATALINA_BASE}/conf ${CATALINA_BASE}/conf/server.xml ${CATALINA_BASE}/conf/tomcat-users.xml ${CATALINA_BASE}/conf/web.xml ${CATALINA_BASE}/conf/catalina.policy ${CATALINA_BASE}/webapps/ // Replace with the name of your // Context (

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 my

RE: 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: fails! > > > Help. In Tomcat 4.0.3 > > T

Tomcat hangs.

2002-05-27 Thread Rajesh Mishra
Hi guys, I'm facing a strange problem with Tomcat and Apache.I'm using mod_jk and Ajp12 protocol with Tomcat3.2 and Apache1.3.12. After stress testing for 2 hours , website becomes inaccessible(it hanngs).I even couldn't access the Apache's home page . But I could still access the website

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: myapp/servlet-name> //it should be /test //there's an extra / before test? >= Original Message From Tomcat Users List <[EMAIL PROTECTED]> = >I was trying to set up the Tomcat 4 in order to create

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 &" 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 environmen

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 ad

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. Regar

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

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: For additional commands, e-mail:

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 Webl

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: /

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: > I

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 www.

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 S

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: For additional commands, e-mail:

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: For additional commands, e-mail:

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 -0

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]> > T

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

Re: tomcat config

2002-05-27 Thread DC Yin
Hi Terrence, My server.xml about connector defination like this: where I add maxProcessors? I find in tomcat.properties file, there is parameter called security.maxConnections=50. Dose it parameter work if I increase it? By the way, I use SSL and Apache with tomcat. thanks Yin --- Terrence Sz

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: For additional commands, e-mail:

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 >th

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 /somedir/dev01

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).

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) From: DC Yin <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: tomcat config Date: Mon, 27 May 2002 15:03:14 -04

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: For addition

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 for

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 i

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

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 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 JSESSIONI

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 To

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 keyst

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 s

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: myapp myapp.jsp myapp/servlet-name> /test Is there anything wrong? -- To unsubscribe, e-mail:

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

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 apa

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 +08

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: 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]> >S

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

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 > , > tomcat 4.0.3, and mod_jk2 from RPMs in >

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

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 , tomcat 4.0.3, and mod_jk2 from RPMs in I am trying to use a .war create

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 > , > mod_jk2 from the RPM in > > Wh

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: After this task, ant responds: OK - installed application at context path /mshop When i look in the

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 hap

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

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 yo

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