RE: persistent problem

2003-07-02 Thread Paul Wallace
Hi, I thought I described what I meant..yes, the page was visible regardless of numerous actions, even going to the lengths of physically removing the class! Can you please extrapolate what on 'Webapp mangaer'? Thanks Paul. What do you mean by persisting? Session issue? Or is it the

Re: persistent problem

2003-07-02 Thread Kwok Peng Tuck
I think it is fairly self-explanatory: http://[your ip]:8080/manager/ If you have installed the rpm copy of tomcat then you may need to download another file to get the manager webapp. The windows installer has it by default. The document which describes this is over here :

RE: url-pattern in filters

2003-07-02 Thread Abid Ali Teepo
Yes i did, thank you but i can't get the filter to take action on all requests with (/*), so i need to figure out how the url-pattern works -Original Message- From: Cox, Charlie [mailto:[EMAIL PROTECTED] Sent: 1. juli 2003 18:55 To: 'Tomcat Users List' Subject: RE: url-pattern in

commited data not available for a few seconds (connection pool misconfiguration ?)

2003-07-02 Thread Andreas Wüst
Hi, i have a small problem with the connection pool that comes along with tomcat. I have the following scenario : i have an webapp with with i can modify some userdata in a oracle db. after creating some new userdata the webapp does not find the new userdata immediately when i start a new search.

Problem in starting tomcat

2003-07-02 Thread Jenty C
Hi, I just starting to learn JSP. I have installed the Apache 2.0, J2SDK1.4, and finally the TOMCAT4.1 The apache server is running, I have also set the environment variable and the path for JAVA_HOME and CATALINA_HOME, but when I tried to startup from DOS prompt, I got an error message,

How to configure Jakarta 4.1.24 as NT service?

2003-07-02 Thread Emil-Gerhard Frank
Hi, I installed Jakarta 4.1.24 from ZIP file on W2K. How can I configure it to run as a NT service? Thanks, Emil BTW: Using Jakarta 4.1.12 the command below worked but this doesn't work with 4.1.24: %CATALINA_HOME%\bin\tomcat.exe -install FA-Tomcat %JAVA_HOME%\jre\bin\client\jvm.dll

Jk and Webapp module

2003-07-02 Thread Zully Yineth Romero
Hi. I've had problems when I try to integrate tomcat with httpd because I don't know what's the module that I most use for this situation (mod_jk or mod_webapp). I'm working in a machine where is installed redhat8 and the httpd version is 2.0.40 and I installed tomcat4-4.1.24. I need to know

RE: How to configure Jakarta 4.1.24 as NT service?

2003-07-02 Thread Pieter Janse van Rensburg
Hi, When I installed my Tomcat there was an option on install to also onstall as a service. When this is ticked the installation ndoes it automatically. I used version 4.1.24 Regards Pieter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02,

RE: Problem in starting tomcat

2003-07-02 Thread Abid Ali Teepo
I'm not sure what caused that error. But if you are just starting to learn jsp, you don't really need apache configured or installed. And it will very well complicate configuration issues. I suggest you go with a clean installation of JDK first, and then install tomcat. I've never had problems

RE: Problem in starting tomcat

2003-07-02 Thread Abid Ali Teepo
You need to set the JAVA_HOME to the directory where you installed the JDK. If you don't know how or where to find the environment variables, follow this guide : 1. Right click My Computer on your desktop 2. Select properties. 3. Go to the advanced Pane 4. Click on environment variables 5. Click

RE: Can't get DefaultContext value

2003-07-02 Thread Collins, Jim
Any ideas at all folks? -Original Message- From: Collins, Jim [mailto:[EMAIL PROTECTED] Sent: 01 July 2003 17:30 To: 'Tomcat Users List' Subject: RE: Can't get DefaultContext value I am deploying my app using the manager servlet. -Original Message- From: Collins, Jim

Re: How to configure Jakarta 4.1.24 as NT service?

2003-07-02 Thread Bikash Paul
Hi, Use below command and should be in one line. tomcat -install TomcatServer C:\j2sdk1.4.1_03\jre\bin\server\jvm.dll -Xmx256m -Xms128m -Djava.class.path=d:\jakarta-tomcat-4.1.24\bin\bootstrap.jar -Dcatalina.home=d:\jakarta-tomcat-4.1.24 -start org.apache.catalina.startup.BootstrapService

Tomcat4.1.24 and Apache2.0

2003-07-02 Thread Damnish
Hello I am using linux9.0 and jdk1.4. I have installed tomcat4.1.24 and Apche2.0, I successfully connected them using mod_jk. I added a listener object in server.xml for communication between these two. Listener className=org.apache.ajp.tomcat4.config.ApacheConfig

tomcat 4.1.24 installation problem

2003-07-02 Thread vilpesh mistry
hi can any one (who has successfully installed tomcat 4.1.24 on a Windows 2000 server) provide me the steps required to install Tomcat 4.1.24. or suggest me any help url where i can get the required steps. thanks

Running Tomcat 4.0.4 on Multiple CPUs. Problem?

2003-07-02 Thread Andoni
Hello, I am going to move my Tomcat 4.0.4 installation over to a machine which has 4 CPUs. I am just wondering if there are any known issues with this. Has anybody had any problems which were directly attributable to a move to multiple CPUs? Thanks, Andoni.

Can any body help me?

2003-07-02 Thread B.A.S.Perumal
Hi guys, In the build process, I am getting the following stack trace error, while i am compiling 4200 java files. I made the changes in ant.bat as of the following %_JAVACMD% -Xms256m -Xmx384m -classpath %LOCALCLASSPATH% -Dant.home=%ANT_HOME% %ANT_OPTS% org.apache.tools.ant.Main

RE: Can any body help me?

2003-07-02 Thread Bodycombe, Andrew
The sun java compiler (javac) seems to run out of memory fairly quickly when compiling a large number of files. I found that using jikes from IBM got round this problem. Andy -Original Message- From: B.A.S.Perumal [mailto:[EMAIL PROTECTED] Sent: 02 July 2003 11:53 To: [EMAIL PROTECTED]

debug ant Task using netbeans IDE 3.4

2003-07-02 Thread B.A.S.Perumal
Hi All, I need to debug all my Task associated with the build process using Netbeans. Can any one tell me , how to add the ant project in netbeans IDE 3.4. What are the steps invoved ? how to debug Task using netbeans? waiting for ur early reply. with luv bas

RE: Can any body help me?

2003-07-02 Thread B.A.S.Perumal
Hi andrew, I even tried with jikes also.. still i am getting stack trace error.. my jikes settings goes like this. :runAntWithJikes %_JAVACMD% -Xms256m -Xmx384m -classpath %LOCALCLASSPATH% -Dant.home=%ANT_HOME% -Djikes.class.path=%JIKESPATH% %ANT_OPTS% org.apache.tools.ant.Main

Re: ant build fails due to /usr/local/LICENSE (Permission denied)

2003-07-02 Thread Tim Funk
Look at build.properties (or build.properties.default) and override as needed. -Tim Thomas Gagné wrote: I tried it as root anyway and it got further, but eventually failed. I need some help on this one. build-catalina-optional: [javac] Compiling 1 source file to

Re: How to configure Jakarta 4.1.24 as NT service?

2003-07-02 Thread Tim Funk
The easy way is to use this handy tool: http://web.bvu.edu/staff/david/tcservcfg/ From http://jakarta.apache.org/tomcat/faq/windows.html -Tim Emil-Gerhard Frank wrote: Hi, I installed Jakarta 4.1.24 from ZIP file on W2K. How can I configure it to run as a NT service? Thanks, Emil BTW: Using

RE: How to synchronize based on session? (Prevent multiple submissions of forms)

2003-07-02 Thread Stefan Radzom
-Original Message- From: Raiden [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 4:42 AM To: Tomcat Users List Subject: RE: How to synchronize based on session? (Prevent multiple submissions of forms) On Wed, 2 Jul 2003, Stefan Radzom wrote: IMHO, Justin's

RE: Can any body help me?

2003-07-02 Thread Bodycombe, Andrew
Did you set your build.compiler property to jikes? -Original Message- From: B.A.S.Perumal [mailto:[EMAIL PROTECTED] Sent: 02 July 2003 12:01 To: Tomcat Users List Subject: RE: Can any body help me? Hi andrew, I even tried with jikes also.. still i am getting stack trace error.. my

RE: Can any body help me?

2003-07-02 Thread B.A.S.Perumal
Hi Andrew, I even tried with jikes, still i am getting the same problem. My jikes settings goes like this :runAntWithJikes %_JAVACMD% -Xms256m -Xmx384m -classpath %LOCALCLASSPATH% -Dant.home=%ANT_HOME% -Djikes.class.path=%JIKESPATH% %ANT_OPTS% org.apache.tools.ant.Main %ANT_CMD_LINE_ARGS%

RE: Can any body help me?

2003-07-02 Thread B.A.S.Perumal
Hi, I dont know, I am new to this build process... Could you please tell me how to set that attribute. bas Bodycombe, Andrew [EMAIL PROTECTED] wrote: Did you set your build.compiler property to jikes? -Original Message- From: B.A.S.Perumal [mailto:[EMAIL PROTECTED] Sent: 02 July

Re: Running Tomcat 4.0.4 on Multiple CPUs. Problem?

2003-07-02 Thread Tom Cole
Mine runs fine on a dual Xeon 2.4GHz, but it was installed there, not moved, if that matters. - Original Message - From: Andoni [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 6:13 AM Subject: Running Tomcat 4.0.4 on Multiple CPUs. Problem?

Re: tomcat 4.1.24 installation problem

2003-07-02 Thread Tom Cole
I used these: Integrating with IIS: http://www.onjava.com/pub/a/onjava/2002/12/18/tomcat.html With Apache: http://www.onjava.com/pub/a/onjava/2002/11/20/tomcat.html - Original Message - From: vilpesh mistry [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 6:06 AM

Need your suggestion

2003-07-02 Thread Cui Xiaojing-a13339
Hello All, We plan to develop two web applications. Now we have two solutions for them and only one solution could be chosen for the two applications, that means the two application must use same solution. The two solutions are: 1. Oracle JServer+Oracle 9iAS 1.0.2 2. Tomcat + Apache Could

RE: Can any body help me?

2003-07-02 Thread B.A.S.Perumal
Hi, I am new to this build process I dont know how to set it... cud u please let me know on how to set all the properties. bas Bodycombe, Andrew [EMAIL PROTECTED] wrote: Did you set your build.compiler property to jikes? -Original Message- From: B.A.S.Perumal [mailto:[EMAIL

RE: Can any body help me?

2003-07-02 Thread Bodycombe, Andrew
I have a line in the build.xml file: property name=build.compiler value=jikes/ -Original Message- From: B.A.S.Perumal [mailto:[EMAIL PROTECTED] Sent: 02 July 2003 12:21 To: Tomcat Users List Subject: RE: Can any body help me? Hi, I dont know, I am new to this build process...

MOD_JK

2003-07-02 Thread Damnish
Hello I am using linux9.0 and jdk1.4. I have installed tomcat4.1.24 and Apche2.0, I successfully connected them using mod_jk. I added a listener object in server.xml for communication between these two. Listener className=org.apache.ajp.tomcat4.config.ApacheConfig

How to run as a startup application!!!

2003-07-02 Thread RamKumar
Hi All, I want to run a java class in a separate daemon thread whenever the tomcat starts.How to do this?. This class is neither a servlet nor a Java Main Application. It is plain java class without main(string ar[]) method. Any idea?.. thanks, Ramkumar

Problems to configure Tomcat working with literal IPv6 address

2003-07-02 Thread Sheng JIANG
Hi, I am runngin a tomcat server with Java SDK1.4 (which provides IPv6 support under linux). I succeeded to access the tomcat web content using the IPv6 DNS name and in the Tomcat log file IPv6 address is recorded. But when I used a literal IPv6 address to access the same server. The tomcat

RE: url-pattern in filters

2003-07-02 Thread Cox, Charlie
that is the correct mapping. look at the examples web.xml and it is used in there. The source for the sample filters is also included inthe examples context. do you have any errors in the logs? -Original Message- From: Abid Ali Teepo [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02,

Re: Problems to configure Tomcat working with literal IPv6 address

2003-07-02 Thread Tim Funk
IPv6 support is sketchy at best. There is an open bug report on it and some patches have been applied to the connectors to attempt to use IPv6. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9351 -Tim Sheng JIANG wrote: Hi, I am runngin a tomcat server with Java SDK1.4 (which provides IPv6

tomcat and xp

2003-07-02 Thread bernd pier
hi, i`ve installed tomcat 5.0 on windows xp, using j2sdk1.4.2. i´ve set JAVA_HOME and CATALINA_HOME, but tomcat won`t start. i have use the installer from tomcat, so i try to run tomcat from the command line and from the startmenu, but when try to connect http://lodalhost:8080/ i got

Re: How to run as a startup application!!!

2003-07-02 Thread Tom Cole
Write a wrapper with a main class that launches your app, then install it as a service, making it dependent on Apache Tomcat service. - Original Message - From: RamKumar [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 7:45 AM Subject: How to run as

Re: mod_jk and Coyote connector

2003-07-02 Thread John Turner
Yes, CoyoteConnector fully supports JK. Its what I use in production. I would avoid Ajp13Connector, unless you need it. I would use the actual source for the connectors: http://jakarta.apache.org/builds/jakarta-tomcat-connectors/ If you want ot post your JK problems to the list, we can help.

prompting user for password at startup

2003-07-02 Thread Mark W. Webb
Has anyone ever developed any code that would prompt a user for a password upon startup? I have read on the mailing list about many people configuring tomcat to perform mutually authenticated SSL, so I think a password would be required in order to open up the key information. How are people

Session.getInstance(props) causes catalina compile error

2003-07-02 Thread Thomas Gagné
Tim Funk wrote: Look at build.properties (or build.properties.default) and override as needed. build.properties fixed the /usr/local/LICENSE problem, but I don't see anything that would fix the compile errror, getInstance(java.util.Properties,javax.mail.Authenticator) in javax.mail.Session

Re: Tomcat4.1.24 and Apache2.0

2003-07-02 Thread John Turner
Add forwardAll=false to your ApacheConfig Listener entity in your Host container in server.xml. John On 02 Jul 2003 13:55:48 +0530, Damnish [EMAIL PROTECTED] wrote: Hello I am using linux9.0 and jdk1.4. I have installed tomcat4.1.24 and Apche2.0, I successfully connected them using mod_jk. I

Re: How to run as a startup application!!!

2003-07-02 Thread RamKumar
Hi Tom, Could you please more specific on this topic?..How to install as service and how to make it dependent on tomcat? thanks, -Ramkumar - Original Message - From: Tom Cole [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 5:45 PM

Re: Need your suggestion

2003-07-02 Thread John Turner
#2 because its free and based on the GPL. 'Nuf said. John On Wed, 2 Jul 2003 19:29:51 +0800, Cui Xiaojing-a13339 [EMAIL PROTECTED] wrote: Hello All, We plan to develop two web applications. Now we have two solutions for them and only one solution could be chosen for the two applications,

Re: Jk and Webapp module

2003-07-02 Thread John Turner
Complete HOWTO: http://www.johnturner.com/howto Note that mod_webapp is no longer actively developed, is buggy, and does not allow separation of static and dynamic content. Note also that Red Hat's Apache 2.0.40 is a munged distribution, you will most likely have problems finding a mod_jk.so

RE: Dreaded java.lang.NoClassDefFoundError

2003-07-02 Thread Shapira, Yoav
Howdy, Count the number of mail.jar files you have in your tomcat installation, including $CATALINA_HOME/common/lib and your webapp's WEB-INF/lib directory. There should only be one. If there are two, remove one. Yoav Shapira Millennium ChemInformatics -Original Message- From: [EMAIL

Re: How to run as a startup application!!!

2003-07-02 Thread RamKumar
Hi Tom, thanks for your idea. We should support linux also. In this case what should we do?. thanks, -Ramkumar - Original Message - From: Tom Cole [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 6:18 PM Subject: Re: How to run as a

org.apache.catalina.core.StandardServer problem - Help1

2003-07-02 Thread ThePrahs
Hi All, I am trying to start tomcat in IntelliJ Idea 3.0 and I keep on receiving the following ClassNotFoundException exception : 02.07.2003 14:46:22 org.apache.commons.digester.Digester startElement SCHWERWIEGEND(FATAL ERROR): Begin event threw exception java.lang.ClassNotFoundException:

RE: ant build fails due to /usr/local/LICENSE (Permission denied)

2003-07-02 Thread Phillip Qin
I can tell by Session.getInstance that you are not using Tomcat's mail session which is simpler. I have two suggestions. 1. Use Tomcat's mail session I don't know Tomcat 4.0.x. For 4.1.x, do not add mail jar or activation jar, whether Tomcat's or jdk's, to your environment variable CLASSPATH.

Session.getInstance(props) causes catalina compile error

2003-07-02 Thread Thomas Gagné
Tim Funk wrote: Look at build.properties (or build.properties.default) and override as needed. build.properties fixed the /usr/local/LICENSE problem, but I don't see anything that would fix the compile errror, getInstance(java.util.Properties,javax.mail.Authenticator) in javax.mail.Session

Re: Problems to configure Tomcat working with literal IPv6 address

2003-07-02 Thread Sheng JIANG
I donwload the jakarta-tomcat-connector-4.1.24. But the compiling failed, even the original source code without the patch. Another question: Should I apply call this patches in that bugzilla or just the one for connector? And what do I suppose to do if I want to use tomcat-4.1.24 Thanks a lot.

RE: Problems to configure Tomcat working with literal IPv6 address

2003-07-02 Thread Shapira, Yoav
Howdy, These patches that Tim mentioned are for tomcat 5. The next alpha build of tomcat 5 (5.0.4), will hopefully support IPv6 more fully. As to the apache connectors, I don't know, but tomcat standalone might be good enough for your needs anyways. Yoav Shapira Millennium ChemInformatics

repost: JSP Compile Fails

2003-07-02 Thread Nathan McMinn
I recently upgraded to tomcat 4.1.24 from 4.1.18. After performing this upgrade, whenever I try to deploy a new version of a JSP page on the server, the compile fails. I have tracked this down to this bit of the stack trace: Caused by: java.io.IOException: CreateProcess: javac.exe -classpath

Re: How to run as a startup application!!!

2003-07-02 Thread Tom Cole
I know nothing about Linux. I haven't bought into it... Didn't even know it had services. - Original Message - From: RamKumar [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 9:01 AM Subject: Re: How to run as a startup application!!! Hi Tom,

Re: repost: JSP Compile Fails

2003-07-02 Thread Tom Cole
Spaces in your install path for Tomcat will cause ANT to fail. You should reinstall with a new path that does not include spaces. - Original Message - From: Nathan McMinn [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 9:41 AM Subject: repost: JSP

Re: How to run as a startup application!!!

2003-07-02 Thread John Turner
Yeah, it has services. That's where Microsoft got the idea. ;) John On Wed, 2 Jul 2003 09:43:36 -0400, Tom Cole [EMAIL PROTECTED] wrote: I know nothing about Linux. I haven't bought into it... Didn't even know it had services. - Original Message - From: RamKumar [EMAIL PROTECTED] To:

Re: repost: JSP Compile Fails

2003-07-02 Thread Nathan McMinn
There are no spaces. The system runs on win2k, and the install path for tomcat is d:\tomcat418. I don;'t think this is a problem related to ant bug 10499 (spaces in install path), I think it is something different. It appears as though the classpath ant is trying to use is simply too long.

RE: repost: JSP Compile Fails

2003-07-02 Thread Matthew Mamet
Nathan, I ran into this problem when Tomcat was trying to use a diff JVM then the one I specified in JAVA_HOME. I had a JRE installed at one point, then later installed the SDK. Tomcat was using the sdk as it's JAVA_HOME, but was getting confused and pointing to the JRE from the first install.

Session Persistence + tomcat 4.1.24

2003-07-02 Thread Dipl.Ing. Torsten Liermann
Hi, I would like to use persistent sessions with tomcat 4.1.24, but I wonder why the tomcat session cookie is only a browser session cookie. How can I configure the expiry date of the session cookies? Thanks Torsten - To

RE: Session Persistence + tomcat 4.1.24

2003-07-02 Thread Shapira, Yoav
Howdy, Modify session-config in web.xml. -1 (never expire) is a possible legal value. See the Servlet Specification for more details. Yoav Shapira Millennium ChemInformatics -Original Message- From: Dipl.Ing. Torsten Liermann [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2003

Re: Session.getInstance(props) causes catalina compile error

2003-07-02 Thread Thomas Gagné
I'm using the 1.4.2 SDK: tgagne:/home/tgagne which javac /opt/j2sdk_nb/j2sdk1.4.2/bin/javac Are you suggesting I need to download a new/different jar file? Tim Funk wrote: Do you have the right jar file for javax.mail.Session?

Struts in welcome-file-list

2003-07-02 Thread Jeroen Breedveld
Hi all, I tried to get a page from my Struts application as default page in the welcome file list (see below) but it doesn't work, it keeps going to index.html. Am I doing something wrong or is it simply not possible? I did this: welcome-file-list welcome-filestart.do/welcome-file

RE: Struts in welcome-file-list

2003-07-02 Thread Raible, Matt
As part of the servlet 2.2/2.3 spec, you are not allowed to use a servlet/action as a welcome-file - only .html or .jsp (I think). This is changing in the servlet 2.4 spec. Matt -Original Message- From: Jeroen Breedveld [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 8:28 AM

connection pooling - how to verify it's in use

2003-07-02 Thread Geralyn M Hollerman
I have a question about connection pooling I can't seem to answer after reading the Tomcat FAQ or either JNDI HOW-TO. I'm using TC 4.1.24 and have followed all the instructions on setting up a connection pool thru Tomcat for an application (this one uses an EDBC driver) - and I can see how I can

Re: Session.getInstance(props) causes catalina compile error

2003-07-02 Thread Thomas Gagné
I downloaded javamail-1.3, added it and its /lib to my CLASSPATH, and ant still complains. Perhaps I'm supposed to install it somewhere else? It almost appears as if the problem is inside the Jakarta directory somehwere. build-catalina-optional: [javac] Compiling 1 source file to

Re: Session Persistence + tomcat 4.1.24

2003-07-02 Thread Dipl.Ing. Torsten Liermann
Yes, I have this session-config session-timeout-1/session-timeout!-- no timeout -- /session-config but the session cookie is always a browser session cookie. :( On Wed, 2 Jul 2003 10:12:06 -0400 Shapira, Yoav [EMAIL PROTECTED] wrote: Howdy, Modify session-config in web.xml.

Re: repost: JSP Compile Fails

2003-07-02 Thread Nathan McMinn
Worked like a charm. You rock! --Nathan McMinn - Original Message - From: Matthew Mamet [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 9:03 AM Subject: RE: repost: JSP Compile Fails Nathan, I ran into this problem when Tomcat was trying to

Re: ant build fails due to /usr/local/LICENSE (Permission denied)

2003-07-02 Thread Thomas Gagné
Phillip Qin wrote: snip In your Ant build.xml, add following lines Which build.xml? There are several: tgagne:/home/tgagne/work/jakarta-tomcat-4.0.6-src find . -name build.xml ./jakarta-tomcat-5/resources/build.xml ./jakarta-tomcat-5/resources/deployer/build.xml

Re: connection pooling - how to verify it's in use

2003-07-02 Thread Christopher Prince
I had a problem like this. I had an application that didn't use connection pooling and i was converting it over. In Windows is used the netstat command with the auto repeat option. It shows all of the active network connections and i watched the list et shorter as components where switched

RE: Session.getInstance(props) causes catalina compile error

2003-07-02 Thread Phillip Qin
Looks like you are build tomcat. Am I correct? Read building.txt carefully. It tells you which package you need to download and *unpack*. -Original Message- From: Thomas Gagné [mailto:[EMAIL PROTECTED] Sent: July 2, 2003 10:39 AM To: Tomcat Users List Subject: Re:

RE: connection pooling - how to verify it's in use

2003-07-02 Thread Gregory, Carlton
Are you trying to see the (total connections available -- total connections used) info? -Original Message- From: Christopher Prince [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 10:54 AM To: Tomcat Users List Subject: Re: connection pooling - how to verify it's in use I had

RE: ant build fails due to /usr/local/LICENSE (Permission denied)

2003-07-02 Thread Phillip Qin
Please disregard this message since you seem to build tomcat which is another story. -Original Message- From: Thomas Gagné [mailto:[EMAIL PROTECTED] Sent: July 2, 2003 10:55 AM To: Tomcat Users List Subject: Re: ant build fails due to /usr/local/LICENSE (Permission denied) Phillip Qin

Redirecting JSP output to a file

2003-07-02 Thread Manuel Mall
I need to capture the output of a JSP invocation to a file so that I can later serve it as a static HTML file. I am thinking of providing my own JspWriter implementation and overwrite the out member variable at the beginning of the JSP script but that appears to me as a very crude solution. The

Re: Session.getInstance(props) causes catalina compile error

2003-07-02 Thread Thomas Gagné
Phillip Qin wrote: Looks like you are build tomcat. Am I correct? Read building.txt carefully. It tells you which package you need to download and *unpack*. Yes, I'm trying to build Tomcat. I want to explore JSP and servlet programming in Java. The instructions I was following are from

RE: Session.getInstance(props) causes catalina compile error

2003-07-02 Thread Phillip Qin
You don't really need to build tomcat from source. Download a binary distribution, install it, then explore the examples. -Original Message- From: Thomas Gagné [mailto:[EMAIL PROTECTED] Sent: July 2, 2003 11:20 AM To: Tomcat Users List Subject: Re: Session.getInstance(props) causes

Tomcat 3.2.4 and J2SE 1.4.2 compatibility

2003-07-02 Thread Govinda Rao, Ragavendiran
Hi, We intend to migrate our Java application to J2SE 1.4.2 from 1.3.1. I would like to know whether I need to upgrade Tomcat 3.2.4 also at the same time. Thanks, Raga -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: 02 July 2003 16:22 To: 'Tomcat Users List'

Server has closed the current connection...

2003-07-02 Thread Andy Meadows
In the catalina.out log file, we're receiving the following warning: [WARN] ChannelSocket - -server has closed the current connection (-1) This warning seems to eventually lead to the unavailability of the application. Does anyone know what this warning means and how to fix whatever it's upset

Apache-Tomcat configuration question

2003-07-02 Thread Atreya Basu
Hello, Is it possible to have a directory where all the HTML files and file permissions etc. are handled by Apache and all the JSPs and servlets handled by Tomcat? I have Tomcat and Apache working successfully using JK2. What I want to do is the following: Say I have a directory: /mydirectory

Re: Apache-Tomcat configuration question

2003-07-02 Thread John Turner
Use a map. JK example: JkMount /*.jsp ajp13 JK2 example [uri:/examples/*.jsp] worker=ajp13:localhost:8009 John On Wed, 02 Jul 2003 12:28:18 -0300, Atreya Basu [EMAIL PROTECTED] wrote: Hello, Is it possible to have a directory where all the HTML files and file permissions etc. are handled

Re: Session.getInstance(props) causes catalina compile error

2003-07-02 Thread Thomas Gagné
OK. I downloaded three RPMS for 4.1.24, installed them, edited /etc/tomcat4/tomcat4.conf, and started tomcat inside /etc/rc.d/init.d using tomcat4 start. I've now connected to localhost:8080 and gotten the Tomcat welcome page. Thank you for the advice. Phillip Qin wrote: You don't really

RE: Apache-Tomcat configuration question

2003-07-02 Thread Atreya Basu
Could I ask you to elaborate a bit more? Say I have the following, would it be correct? [httpd.conf] Alias /myDir /var/web/someDir [server.xml] context path=/myDir docBase=/var/web/someDir / [workers2.proeprties] [uri:/myDir/*.jsp] worker=ajp13:localhost:8009 context=myDir In that case what

Starting a sevlet automatically when Tomcat starts

2003-07-02 Thread Hamidene, Anis Ben
Hi, i need to start a servlet automatically when tomcat starts (could be a windows NT service). How is this possible with Tomcat 4.1.2? Thanks Best Regards anis

Re: Apache-Tomcat configuration question

2003-07-02 Thread John Turner
Most people don't mix servlets and JSP, in which case you would use something like [uri:/myDir/servlet/*] worker=ajp13:localhost:8009 In the case of something like Struts, servlets are mapped to URLs ending in *.do, so you would do the same as with JSP: [uri:/myDir/*.do]

Re: Starting a sevlet automatically when Tomcat starts

2003-07-02 Thread John Turner
The LifecycleListener interface might be what you want. Check the docs: http://jakarta.apache.org/tomcat/tomcat-4.1- doc/config/context.html John On Wed, 2 Jul 2003 17:46:43 +0200, Hamidene, Anis Ben [EMAIL PROTECTED] wrote: Hi, i need to start a servlet automatically when tomcat starts

Digester error/SEVERE Parse starting point

2003-07-02 Thread J. W. Ballantine
Hello, When I start tomcat 4.1.24 I get the following error messages: Jul 2, 2003 11:11:45 AM org.apache.commons.modeler.Registry loadRegistry INFO: Loading registry information Jul 2, 2003 11:11:45 AM org.apache.commons.modeler.Registry getRegistry INFO: Creating new Registry instance Jul 2,

RE: Digester error/SEVERE Parse starting point

2003-07-02 Thread Mike Curwen
It's in the stacktrace... SEVERE: Parse Error at line 14 column 12: The content of element type servlet must match ... SEVERE: Parse Error at line 23 column 20: The content of element type servlet-mapping must match ... You have two errors in web.xml possibly three... [Fatal Error] :-1:-1:

RE: Apache-Tomcat configuration question

2003-07-02 Thread Atreya Basu
Could I do the following: [uri:myDir/Servlet/*] context=myDir Context path=/myDir docRoot =.. / Is that the proper use of the URI directive? _ Atreya Basu Developer, Greenfield Research Inc. e-mail: atreya (at) greenfieldresearch (dot) ca -Original

RE: connection pooling - how to verify it's in use

2003-07-02 Thread Geralyn M Hollerman
Gregory, Carlton wrote: Are you trying to see the (total connections available -- total connections used) info? No. All I want to do is be able to show someone that connection pooling is indeed being used, rather than what we've been using to connect to a database. I can have a message

RE: Starting a sevlet automatically when Tomcat starts

2003-07-02 Thread Shapira, Yoav
Howdy, How about just adding load-on-startup / to the servlet tag in your web.xml? Yoav Shapira Millennium ChemInformatics -Original Message- From: Hamidene, Anis Ben [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 11:47 AM To: [EMAIL PROTECTED] Subject: Starting a sevlet

RE: mod_jk and Coyote connector

2003-07-02 Thread James Courtney
Thanks John, So you don't think that using the src distribution of the connectors provided with Tomcat 4.1.24 is advisable? I'll see if I can get some log information representing my lack of functionality but honestly mod_jk seems even less verbose than mod_jk2 with logging errors even

RE: Need your suggestion

2003-07-02 Thread Goehring, Chuck Mr., RCI - San Diego
Cui, Tomcat is non-proprietary, so, if you are a little careful, anything you write could outlive any product commercial or otherwise. Same with the knowledge/skill you develop. If you start with Tomcat and something better comes along, you can switch without feeling guilty about spending

Re: Apache-Tomcat configuration question

2003-07-02 Thread John Turner
I don't use JK2. It looks good to me, the easiest answer is test it and see. John On Wed, 02 Jul 2003 13:05:15 -0300, Atreya Basu [EMAIL PROTECTED] wrote: Could I do the following: [uri:myDir/Servlet/*] context=myDir Context path=/myDir docRoot =.. / Is that the proper use of the URI

RE: PLEASE HELP - Apache mod_jk2 loses communication with Tomcat

2003-07-02 Thread James Courtney
Eric, Isn't the ajp13 specified in the workers2.properties simply a designation of protocol and not telling the client (Apache mod_jk2) which connector to use on the tomcat side. It should only know host, port, protocol (ajp13 vs ajp12). Again, although I see the sytax

RE: Need your suggestion

2003-07-02 Thread Eric J. Pinnell
Oracle AS is an OEM'd version of the orion server with Oracle specific hooks. You can download orion from http://www.orionserver.com. I think it's free but there is some licenseing issues. I'd stick with Tomcat since it is GPL'd and it is the basis that Sun uses to develop the JSP and Servlet

Re: mod_jk and Coyote connector

2003-07-02 Thread John Turner
Development on the connectors, especially the C side, happens separately from Tomcat development. Keep in mind that there are two types of connectors. There are Tomcat connectors, which are in server.xml (like CoyoteConnector) and are written in Java. There are Apache HTTP connectors, which

Re: connection pooling - how to verify it's in use

2003-07-02 Thread Tim Funk
Nope :( (It's on my wish list too) But DBCP is used as the connection pooling machanism. So when you get your datasource - just cast it the the appropriate DBCP class and get your stats. http://jakarta.apache.org/commons/dbcp/ -Tim Geralyn M Hollerman wrote: I have a question about

HELP with mod_jk

2003-07-02 Thread Dumisani Nlebgwa
Hi, I am having trouble integrating tomcat and apache 2.0.40 I am using mod_jk, and I mounted my examples directory to see if I could get it working. I have no problem accessing static files under my examples directory however, the problem is that when I try access a jsp page through a browser, I

Re: HELP with mod_jk

2003-07-02 Thread John Turner
Deja vu! This exact message was already posted and resolved earlier today. John On Wed, 2 Jul 2003 12:38:01 -0400 (EDT), Dumisani Nlebgwa [EMAIL PROTECTED] wrote: Hi, I am having trouble integrating tomcat and apache 2.0.40 I am using mod_jk, and I mounted my examples directory to see if I

Re: HELP with mod_jk

2003-07-02 Thread Dumisani Nlebgwa
No it wasn't! Deja vu! This exact message was already posted and resolved earlier today. John On Wed, 2 Jul 2003 12:38:01 -0400 (EDT), Dumisani Nlebgwa [EMAIL PROTECTED] wrote: Hi, I am having trouble integrating tomcat and apache 2.0.40 I am using mod_jk, and I mounted my

RE: Insufficient quota

2003-07-02 Thread Reis, Tom
I am new to Tomcat and I am responsible for the server. We are using Tomcat version 4.03. Could you tell me how to change the quota. Thanks. -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 4:26 PM To: Tomcat Users List Subject: Re: Insufficient

Re: HELP with mod_jk

2003-07-02 Thread John Turner
You sure? What does the mod_jk log say? What URL are you using? Are the directives you posted contained in a Virtual Host container in httpd.conf? Do you ever actually load mod_jk.so at Apache start? Does /path/to/apache/bin/apachectl configtest return Syntax OK? Where did you get your

  1   2   >