Re: Help with Filters

2002-10-25 Thread Kristian A. Leth
I've got a blockfilter, that blocks all access to anything but the only url that's allowed and reroutes to an errorservlet. I've also got a method filter that blocks invalid http methods, but when a request to an invalid url is forwarded to an errorservlet, it's not filtered through my

Re: HTTP Connection Pool grows continuously

2002-10-25 Thread Kristian A. Leth
You got a pretty high connection timeout on (120) 20min. Try setting it to something like 15000 or even lower. You could also fix your min and max heapsize to get more continously garbagecollection It could also be due to problems in your code, delaying, stopping or killing threads.

Help Needed to configure servlets

2002-10-25 Thread Anitha K Rao
Hello, I'm Anitha, working on JSP/Servlet. In simple sentence... I want to create a Directory called AppDir under webapps. Then i need to configure my servlets. The Directory Structure looks like this.. webapps --- AppDir - JSP file --- Web-inf

Re: HTTP Connection Pool grows continuously

2002-10-25 Thread Kwok Peng Tuck
If you change this value: maxProcessors=-1 to some value like 20 what happens? Kristian A. Leth wrote: You got a pretty high connection timeout on (120) 20min. Try setting it to something like 15000 or even lower. You could also fix your min and max heapsize to get more continously

Re: Help Needed to configure servlets

2002-10-25 Thread Kwok Peng Tuck
The classes go under WEB-INF , either under classes (if they are .class don't forget their package if they have any), or the directory lib if they are jars. Define your servlet in the web.xml of your web application. How? It's in the tomcat documentation as well as the examples that came with

Re: Help Needed to configure servlets

2002-10-25 Thread Anitha K Rao
Yes, but i want it under a directory called AppDir, which i need not under examples directory. Where do i configure this?? - Original Message - From: Kwok Peng Tuck [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, October 25, 2002 12:18 PM Subject: Re: Help

Re: Help Needed to configure servlets

2002-10-25 Thread Kwok Peng Tuck
Just deploy your .war file as AppDir so you will have http://covington:8080/AppDir/*.jsp or servlets The .war file should be put under the {CATALINA_HOME}/webapps/ It will be autodeployed when tomcat is restarted. Or you can use the webapp manager. Again, read the docs on how to use the webapp

Missing optional package Extension...

2002-10-25 Thread Eung-ju Park
I put all required jars to WEB-INF/lib. but tomcat says missing optional packages. excalibur-container.jar require avalon-framework extension package. I have all required packages. WEB-INF/lib is incorrect place for optional packages? Why tomcat throws exception for just optional package? I don't

Help to Configure Apache and Tomcat to use mod_jk!

2002-10-25 Thread Hai To Thanh
Hi, I get trouble when I try to make communication between Tomcat and Apache. I follow following steps: 1, I get mod_jk.so. 2, To Configure Apache using mod_jk: I put the following include directive at the end of your Apache httpd.conf file: Include /usr/local/jakarta-

how do I invoke servlet from a servlet in different web application?

2002-10-25 Thread Jason Novotny
Hi, I would like to know how I can invoke a servlet in one web application from a servlet in another web application? Also, how would I do this if the other servlet is hosted in another servlet container on another machine? My goal is to provide a web application framework that other

Tomcat autostart on Linux

2002-10-25 Thread neal
Anyone know how to make Tomcat automatically startup when Linux is rebooted? As you can probably tell I'm not a Linux expert. :( Thanks. Neal -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail:

Re: how do I invoke servlet from a servlet in different web application?

2002-10-25 Thread Anthony Geoghegan
You could try a client-side redirect. response.sendRedirect(..URL..); Best Regards, Anthony Geoghegan. J2EE Developer CPS Ireland Ltd. - Original Message - From: Jason Novotny [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, October 25, 2002 10:05 AM Subject: how do I invoke servlet

Re: Tomcat autostart on Linux

2002-10-25 Thread Mr. Cristian Romanescu
It depends on how it's installed, also Linux distro If you have RedHat and istalled via rpm distro, you should have in /etc/init.d/ a script named tomcat4 that launches Tomcat @ statup. 4 -rwxr-xr-x1 root root 3055 Mar 4 2002 tomcat4 (I'm not also a linux expert, but I

Re: Tomcat autostart on Linux

2002-10-25 Thread Kwok Peng Tuck
Or you could take the rpm script and configure for you tomcat location. make sure add the script using chkconfig. neal wrote: Anyone know how to make Tomcat automatically startup when Linux is rebooted? As you can probably tell I'm not a Linux expert. :( Thanks. Neal -- To unsubscribe,

RE: Tomcat autostart on Linux

2002-10-25 Thread neal
Cool thanks! :) Neal -Original Message- From: Kwok Peng Tuck [mailto:pengtuck;makmal.com] Sent: Friday, October 25, 2002 1:47 AM To: Tomcat Users List Subject: Re: Tomcat autostart on Linux Or you could take the rpm script and configure for you tomcat location. make sure add the

Re: linux tomcat startup prob

2002-10-25 Thread sonam singh
u can use find or it should bi in the tomcat_home/bin regards Sonam Singh [EMAIL PROTECTED] --- maninder s batth [EMAIL PROTECTED] wrote: hii am new to linux. i installed tomcat but 4.1.12 and the docs mentioned there would be startup.sh and shutdown.sh in $CATALINA_HOME/bin , all i found

Re: where to put servlet classes

2002-10-25 Thread sonam singh
--- Kennedy, Ed [EMAIL PROTECTED] wrote: I am a new Tomcat user and I am having trouble accessing my servlet classes. I am getting the following error: The requested resource (/servlets/authenticate.jsp) is not available Any help you can give would be appreciated. Thanks

RE: Tomcat's connection pooling

2002-10-25 Thread sonam singh
--- Shapira, Yoav [EMAIL PROTECTED] wrote: Hi, One of the main points of connection pooling is to bound the number of connections you have. It's a bad design to define a connection pool that doesn't meet expected loads. If you know your app will need 10 connections concurrently, define 10

tomcat4.1/apache2

2002-10-25 Thread james
Hi, I have the following setup using a normal socket connector config : Redhat 8 Apache 2.0.43 Tomcat 4.1.12 mod_jk2-2.0.43.so jkjni-2.0.so Questions: What are the difference between the normal socket, AF unix, and JNI? Pros/cons when to use or when not to use? I didn't see any info on this on

plz help, I cannot determine why this is not working????

2002-10-25 Thread Edmund Smith
I have so far tried many times to make a program work at another location. Now I am totally lost for ideas. The program works at home but when I try it in a networked computer everything fails. I do not know why. I would be grateful if someone would look at my code and test it. Please reply to

tomcat 4.1.12 compilation error

2002-10-25 Thread Nirav . Shah
Dear All, I am just newbie for tomcat 4.1.12 version. Recently I have installed it on my NT Server. Now I have a problem to access classes through JSP files of my Application. Following is the structure of my application webapps\myapp\*.jsp webapps\myapp\WEB-INF\classes\*.class Following is

Re: plz help, I cannot determine why this is not working????

2002-10-25 Thread Mr. Cristian Romanescu
In my oppinion it's your application fault and not Tomcat's. It would be helpful to send the code snippet from place where your code throws NullPointer... But first you should try to put some System.outs. out there and see where the code hangs...as that exception doesn't give (me) a clue about

Re: tomcat 4.1.12 compilation error

2002-10-25 Thread Tim Funk
Put your custom java classes in a package and recompile. Old class: Login New class: fooPackage.Login New location: webapps\myapp\WEB-INF\classes\fooPackage\Login.class Tomcat 4 doesn't looking for classes without a package. [EMAIL PROTECTED] wrote: Dear All, I am just newbie for tomcat

RE: plz help, I cannot determine why this is not working????

2002-10-25 Thread Ralph Einfeldt
Have a look in the generated java file in the work directory that caused this exception (processviewfiles_dir_4.java) to find the corresponding location in your jsp. If you don't see the error post the code around that line. -Original Message- From: Edmund Smith

Re: plz help, I cannot determine why this is not working????

2002-10-25 Thread Tim Funk
See ... Root cause: java.lang.NullPointerException at jsp.portal_0002dproject.processviewfiles_dir_4._jspService(processviewfiles_dir_4.java:133) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119) You are getting a java.lang.NullPointerException Look for

HttpProcessor not recycling connections / bug 5181 ?

2002-10-25 Thread Graham King
Dear all, I'm running Tomcat 4.0.3 with Java 1.4 on Linux, and we are getting lots of 'IOException: Connection reset by peer' (see stack trace at bottom of mail), which I understand is the user hitting 'stop' or closing the window before the load completes. After several hours of running our

tomcat or java problem?

2002-10-25 Thread chad kellerman
Hello, I am running tomcat 4.0.X with Java 1.4.1. on a red hat 6.2 apache 1.3.x. I am using the WarpConnector to allow tomcat and apache to communicate and for Virtual Hosts. I have a few ( about 16) Virtual Hosts on the box. What I am noticing is that when tomcat starts and the

USING SSL with VIRTUAL HOST and TOMCAT STANDALONE

2002-10-25 Thread Donie Kelly
Hi all I'm trying to configure my server.xml with multiple hosts on Tomcat 4.0.4 and I want to use a different SSL certificate for each host entry. I AM NOT USING APACHE! JUST TOMCAT STANDALONE (sorry for shouting but this is important) Does anybody have an example of how to do

Re: HttpProcessor not recycling connections / bug 5181 ?

2002-10-25 Thread Remy Maucherat
Graham King wrote: Dear all, I'm running Tomcat 4.0.3 with Java 1.4 on Linux, and we are getting lots of 'IOException: Connection reset by peer' (see stack trace at bottom of mail), which I understand is the user hitting 'stop' or closing the window before the load completes. After

Send code 401 instead of 403

2002-10-25 Thread Johann Uhrmann
Hi, when using basic authentication with tomcat, tomcat sends a 401 response code if the user is accessing the page for the first time. This makes the browser show a login window and retry the request with the username/password provided by the user. However, if there is already a username and

RE: Help with Filters

2002-10-25 Thread Cox, Charlie
the filter is only applied on teh original request, not for forward() or include() /* will match all files /mydir/* will only match the files in /mydir *.do will match all 'do' files - reguardless of path /*.do - invalid, you cannot mix path and wildcard. Charlie -Original Message-

Re: HttpProcessor not recycling connections / bug 5181 ?

2002-10-25 Thread Graham King
Remy Maucherat wrote: Graham King wrote: Dear all, I'm running Tomcat 4.0.3 with Java 1.4 on Linux, and we are getting lots of 'IOException: Connection reset by peer' (see stack trace at bottom of mail), which I understand is the user hitting 'stop' or closing the window before the load

Re: HttpProcessor not recycling connections / bug 5181 ?

2002-10-25 Thread Felipe Schnack
Wow, asking to upgrade to 4.1.x to solve a bug isn't just too much? Personally I'm waiting 4.1.x to get more stable before upgrading it. On Fri, 2002-10-25 at 09:21, Remy Maucherat wrote: Graham King wrote: Dear all, I'm running Tomcat 4.0.3 with Java 1.4 on Linux, and we are

Re: Tomcat and 401 custom page how?

2002-10-25 Thread Johann Uhrmann
On Thu, 2002-10-24 at 16:24, Kristján Bjarni Guðmundsson wrote: I use custom error pages for various error codes (404. etc), all of them work except 401 error. If I go to a protected page the browser just displays the 401 page without prompting me to log in. What am I doing wrong? Short

RE: Tomcat 4.1.12 ClassNotFoundException

2002-10-25 Thread Cox, Charlie
sounds like you need to allow the WEB-INF/classes permission in your catalina.policy file Charlie -Original Message- From: Jeremy Cavagnolo [mailto:jcavagnolo;hotmail.com] Sent: Wednesday, October 23, 2002 12:31 PM To: [EMAIL PROTECTED] Subject: Tomcat 4.1.12 ClassNotFoundException

RE: Apache-Tomcat

2002-10-25 Thread Turner, John
I only know the inelegant, brute force way, which is to check the request object for the request type, and if it's http when it should be https, do a redirect to the same URL but with https prepended. There's probably a much more robust and correct way to do this using Tomcat security

RE: Apache+Tomcat Configuration problems

2002-10-25 Thread Turner, John
Yup, ditto Milt and Robert. You've got JK directives but you're loading JK2. To get rid of your Apache config error, use mod_jk.so instead of mod_jk2.so, or keep mod_jk2.so and change your config to a JK2 config. John -Original Message- From: J.F. Noonan [mailto:jfn;msc.com] Sent:

RE: linux tomcat startup prob

2002-10-25 Thread Turner, John
Are you sure you have CATALINA_HOME set correctly? By I installed tomcat what do you mean? From source? From an RPM? From a binary package? John -Original Message- From: maninder s batth [mailto:anywhereinfo;netscape.net] Sent: Thursday, October 24, 2002 4:37 PM To: [EMAIL

Re: Apache-Tomcat

2002-10-25 Thread Graham King
See javax.servlet.ServletRequest.isSecure() This should do it: if ( request.isSecure() ) { // All is well } else { // Redirect to https site } Turner, John wrote: I only know the inelegant, brute force way, which is to check the request object for the request type, and if it's

RE: Help to Configure Apache and Tomcat to use mod_jk!

2002-10-25 Thread Turner, John
You have to load the module into Apache before you can use it. Look in httpd.conf for lines that look like this: LoadModule Then add one that looks like this: LoadModule jk_module wherever_you_put_it/mod_jk.so John -Original Message- From: Hai To Thanh

RE: Apache-Tomcat

2002-10-25 Thread Turner, John
Thanks, but I think there is a better way to do it, such that the request never even gets to the servlet or JSP page if it isn't secure when it should be. I just don't know it. John -Original Message- From: Graham King [mailto:graham;gointernet.co.uk] Sent: Friday, October 25, 2002

RE: Apache Tomcat URLs - don't want port 8080

2002-10-25 Thread Turner, John
I don't have a 3.3.1 install available, so I'm not sure how much more I can help. What do your Apache logs say when you make a request for that URL? What does mod_jk.log say? John -Original Message- From: Stephen Graham [mailto:sg3;bigpond.com] Sent: Thursday, October 24, 2002 8:45

RE: Help Needed to configure servlets

2002-10-25 Thread Shapira, Yoav
Hi, webapps --- AppDir - JSP file --- Web-inf - web.xml file -- classes - My Servlet Class files http://localhost:port/AppDir/Servletclass In the above configuration, if you have the invoker servlet mapping enabled

Re: Java Logger problem with Tomcat4 web apps on Unix platforms...

2002-10-25 Thread Warren Sweetman
do you mean that the the tomcat user has to have write priveledge for the directory being written to ?? On Thursday, Oct 24, 2002, at 21:44 Etc/GMT, Sexton, George wrote: Sounds like a permissions problem to me. -Original Message- From: Vijay KN [mailto:KNVIJAY;novell.com] Sent:

RE: tomcat 4.1.12 compilation error

2002-10-25 Thread Frédéric LEFRANC
Just put on CLASSPATH c:\jdk1.3\lib\tools.jar and c:\jdk1.3\lib\dt.jar it will be better fred -Message d'origine- De : [EMAIL PROTECTED] [mailto:Nirav.Shah;arvindmills.com] Envoyé : vendredi 25 octobre 2002 12:44 À : Tomcat Users List Objet : tomcat 4.1.12 compilation error Importance :

Re: connector and tomcat 4.1.12 !!

2002-10-25 Thread Max
Thanks. But i don't understand why tomcat need to get its classpath in apache configuration file and how specifie in tomcat where is this file ... Where can i find documentation on this subject ? there is few documentation on http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2 but very light ...

RE: XML Parser for Tomcat 4.1.12

2002-10-25 Thread Ujwal Oswal
Thanks a lot for your responce. Here's the error I am getting when I put my xerces.jar version 1.1 in the common/endorsed directory. UO. INFO] Registry - -Loading registry information [INFO] Registry - -Creating new Registry instance

VerifyError when creating action

2002-10-25 Thread Steinar Bang
Platform: Intel PIII, RedHat 7.2, apache 1.3.20, ajp1.3 tomcat 4.1.12, BlackDown Java SDK 1.3.1 When I run with tomcat 3.3 my webapp run as expected, but when I try it with tomcat 4.1.12, I get a VerifyError when creating one of the webapp's Action beans. The error output is attached

tomcat4, which ajp1.3 connector to use? (Coyote? plain?)

2002-10-25 Thread Steinar Bang
Platform: Intel PIII, RedHat 7.2, apache 1.3.20, ajp1.3 tomcat 4.1.12, BlackDown Java SDK 1.3.1 The tomcat4 server.xml file came with the Coyote/JK2 Ajp 1.3 Connector enabled and the normal(?) Ajp 1.3 connector disabled (the class is org.apache.ajp.tomcat4.Ajp13Connector). I had to

Re: Tomcat Scalability - Long

2002-10-25 Thread Glenn Nielsen
I have the following in production: Tomcat 4.1, JDK 1.3.1, and MySQL on a Dual CPU Sun 250 app server and Apache using mod_jk 1.2 on a separate server. We are now getting 4 weeks continuous uptime. I stop and restart Tomcat once each month because the minimum memory the java heap uses over time

RE: HTTP Connection Pool grows continuously

2002-10-25 Thread Michael . Bombyk
If I set a maxProcessors value, Tomcat gives me new connection threads until it reaches the limit, and then connection requests fail. The high timeout value is an end user requirement for the app. In any case, I know that Tomcat is allocating many more threads - upwards of a thousand - than I

jspc pre-compiled pages distributed with .war file?

2002-10-25 Thread Thomas Heller
hi there, i am migrating my projects from php to java and began to set up a development server that ideally does all the dev work once a project is marked release i just call an ant task to deploy the project to one or more (load balanced) production servers. i have written an ant build.xml to

RE: Oracle connection pooling

2002-10-25 Thread Sinclair, Alan (CORP, GEAccess)
Yoav, Did you mean setting maxWait to 0 ? thanks -Original Message- From: Shapira, Yoav [mailto:Yoav.Shapira;mpi.com] Sent: Thursday, October 24, 2002 7:15 AM To: Tomcat Users List Subject: RE: Oracle connection pooling Hi, parameter namemaxActive/name

RE: Oracle connection pooling

2002-10-25 Thread Shapira, Yoav
Hi, Did you mean setting maxWait to 0 ? No. I meant that setting maxActive to 5, maxIdle to 3, and maxWait to -1 does not mean there will be 3 connections on startup. It's up to the connection pool implementation to decide if it wants to pre-create the connections on startup, or not. Some

Re: Tag object pooling and immutability in the servlet spec

2002-10-25 Thread Glenn Nielsen
Mr. Tomcat wrote: Is there a way to turn off tag object pooling? Object pooling was a cool performance technique in earlier versions of Java, but now object creation is very fast, so it no longer serves a performance function, and it introduces extra complexity into tag object design. Is this

Re: Tomcat Scalability - Long

2002-10-25 Thread Felipe Schnack
I would say Tomcat 4.1.x probably would be good for you mainly if you uses lots of Taglibs, if they actually will work on it. Btw, I'm still using 4.0.x... how everybody is doing with 4.1.x? I heard is too much buggy for production right now. On Fri, 2002-10-25 at 12:20, Glenn Nielsen wrote:

Virtual Hosts

2002-10-25 Thread Curt LeCaptain
Okay... so, I've redone my complete Tomcat/Apache setup according to instructions on John Turner's website: http://www.johnturner.com/howto/apache1-tomcat404-howto.html Everything works as it should! :) Now... I'm completely baffled as to how to set up a virtual host in server.xml, I'm not

4.1.x In Production [Was: Re: Tomcat Scalability - Long]

2002-10-25 Thread Shapira, Yoav
Hi, I would say Tomcat 4.1.x probably would be good for you mainly if you uses lots of Taglibs, if they actually will work on it. Btw, I'm still using 4.0.x... how everybody is doing with 4.1.x? I heard is too much buggy for production right now. We're using 4.1.10-LE and 4.1.12-LE in

Re: Tomcat Scalability - Long

2002-10-25 Thread Renato
I'm using Tomcat 4.1.12 on a production site with more than 150 clients and it looks like to me is better that 4.0.x. On 25 Oct 2002 11:42:14 -0200, Felipe Schnack [EMAIL PROTECTED] escreveu : De: Felipe Schnack [EMAIL PROTECTED] Data: 25 Oct 2002 11:42:14 -0200 Para: Tomcat Users List

Re: Virtual Hosts

2002-10-25 Thread Curt LeCaptain
Now, what I'm wondering, is since (according to your HOWTO) Tomcat is setup to create the Virtualhost directive for Apache, will setting up just my server.xml do it for me, or will I need to setup Apache also? Curt - Original Message - From: Turner, John [EMAIL PROTECTED] To: 'Tomcat

RE: Virtual Hosts

2002-10-25 Thread Turner, John
Nope, just setting up server.xml should be enough. You will need to restart Tomcat to regen a new mod_jk.conf, then either restart apache or do `APACHE_HOME/bin/apachectl graceful`. John -Original Message- From: Curt LeCaptain [mailto:lecaptainc;itol.com] Sent: Friday, October 25,

RE: jspc pre-compiled pages distributed with .war file?

2002-10-25 Thread John Trollinger
The jspc command does not put real package names on the jsp.class files. What happens is each jsp page gets its own classloader so if you have 2 index.jsp files they will still run. To do what you want to do you have to have each jsp generated .java file have a real package name so that when you

RE: jspc pre-compiled pages distributed with .war file?

2002-10-25 Thread Felipe Schnack
I created an ANT script to generate the class files, and I'm with the same problemas Thomas have. But about this jspc option to generate web.xml... I think ant doesn't support it, does it? (I'm using Ant 1.5) On Fri, 2002-10-25 at 13:29, John Trollinger wrote: The jspc command does not put

JNDI Datasource is null, again

2002-10-25 Thread Steltner, Jörn HTC/DE/ESS
Hallo, I read that the problem was described many times here, but I cecked all solutions and got the error again. Please may someone give me a hint. Attached my config and the exception print. I don't know where I should look ... I use Tomcat 4.1.12 and J2SDK 1.4.1_01. my code: /* *

RE: JNDI Datasource is null, again

2002-10-25 Thread Short, Dave
I noticed you have the following code in your server.xml file within your w2k context: Resource name=jdbc/w2k auth=Container type=javax.sql.DataSource/ I don't have this in mine. Not sure if it's needed. I can connect just fine without it. Take it out and see if it works. -Original

RE: JNDI Datasource is null, again

2002-10-25 Thread Steltner, Jörn HTC/DE/ESS
sorry, doesn't work! -Original Message- From: Short, Dave [mailto:dave.short;pfizer.com] Sent: Freitag, 25. Oktober 2002 17:56 To: 'Tomcat Users List' Subject: RE: JNDI Datasource is null, again I noticed you have the following code in your server.xml file within your w2k context:

RE: JNDI Datasource is null, again

2002-10-25 Thread Short, Dave
In the past, I've found that I received this type of exception when any of my connection parameters were wrong (username/password, driver name , etc.). I'd suggest you review connection parameters carefully to make sure that isn't the problem. You do have your JDBC diver class jar file loaded in

JDBC error only on non-local URL

2002-10-25 Thread Greg Bullough
I've set up the MySQL example in the JNDI Datasource HOW-TO located in .../tomcat-docs/jndi-datasource-examples-howto.html Works great called from a local browser on URL http://localhost:8080/DBTest/DBtest.jsp Works great called from a local browser on URL

RE: JNDI Datasource is null, again

2002-10-25 Thread Steltner, Jörn HTC/DE/ESS
username/password -- are right, I checked with MySQL-Front :-) driver -- is right and in the directory (mm.mysql-2.0.14-bin.jar) drivername -- parameternamedriverClassName/namevalueorg.gjt.mm.mysql.Driver/value /parameter -Original Message- From: Short, Dave

Thank ?????

2002-10-25 Thread Correo
can one web-server run on windows 98 ? Where I download web server ? Thank for all Fernando. -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org

RE: JNDI Datasource is null, again

2002-10-25 Thread Mehdi . Nejad
i cant see any descrepency between my own and yours.. only diff i see is the was you do your lookup in one step Context initContext = new InitialContext(); Context envContext = (Context)initContext.lookup(java:/comp/env); DataSource ds =

jvm_route in jsessionid

2002-10-25 Thread johannes . grumboeck
Hi everybody, If I do loadbalacing with Apache 2.0.40, mod_jk 1.2.0 und Tomcat 4.1.10 I have to enter the ajp13-connector-name into the jvm_route parameter of each tomcat engine (in server.xml). mod_jk does the session-true balancing with the help of the jvm_route which is somehow encoded into

New to war files

2002-10-25 Thread Trickel, EE Erik (3946)
I am new to using war files, and I have run into a problem. I tried searching the archives and I didn't see an answer to my problem. I am building the war file from an ant build script. I have tested this on the pre-war directory and it works fine. The issue I am running into involves

tomcat/EJBs

2002-10-25 Thread Grant C. Peters
Can anyone answer a question for me? Does Tomcat work as an EJB container, or do I need to plugin something like openEJB? thanks Grant C. Peters [EMAIL PROTECTED] phone : 415.948.7030 -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands,

Re: Thank ?????

2002-10-25 Thread Andreas Probst
Hi Fernando, On 24 Oct 2002 at 19:51, Correo wrote: can one web-server run on windows 98 ? Yes, but I wouldn't recommend this as Win98 is too instable. Where I download web server ? Tomcat as application server: http://jakarta.apache.org/tomcat Apache as web server: maybe

RE: tomcat/EJBs

2002-10-25 Thread Short, Dave
Tomcat does not work as an EJB container. -Original Message- From: Grant C. Peters [mailto:grantcpeters;earthlink.net] Sent: October 25, 2002 9:38 AM To: Tomcat Users List Subject: tomcat/EJBs Can anyone answer a question for me? Does Tomcat work as an EJB container, or do I need to

RE: tomcat/EJBs

2002-10-25 Thread Grant C. Peters
thanks Grant C. Peters [EMAIL PROTECTED] phone : 415.948.7030 -Original Message- From: Short, Dave [mailto:dave.short;pfizer.com] Sent: Friday, October 25, 2002 12:37 To: 'Tomcat Users List' Subject: RE: tomcat/EJBs Tomcat does not work as an EJB container. -Original Message-

RE: jspc pre-compiled pages distributed with .war file?

2002-10-25 Thread John Trollinger
I created my own ant task that does all the jspc.bat does. I have tried to relay the code to the ant community with no luck.. -Original Message- From: Felipe Schnack [mailto:felipes;ritterdosreis.br] Sent: Friday, October 25, 2002 10:36 AM To: Tomcat Users List Subject: RE: jspc

Form-based authentication assistance

2002-10-25 Thread Scott Purcell
Hello, I am trying to understand how the built-in forms validation works in tomcat 4.03 on win. I believe that I have my web.xml file correct, (below). All appears good. If I put in a bad username and passoword, I go to the error page, but if I successed, it throws up an error, [Invalid

RE: Oracle connection pooling

2002-10-25 Thread Sinclair, Alan (CORP, GEAccess)
I setup debug=99 and also set the verbosity=debug for the Logger. I still do not get any JDBC log information. I am stumped as to what I can do to debug the pooling mechanism. One would expect some kind of message in the catalina log as -Original Message- From: Shapira, Yoav

Re: Thank ?????

2002-10-25 Thread micael
Yes. Jakarta-Tomcat downloads, for one. At 07:51 PM 10/24/2002 -0500, you wrote: can one web-server run on windows 98 ? Where I download web server ? Thank for all Fernando. -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail:

JSP's and J2SDK1.4 assert statement

2002-10-25 Thread Oliver Jonas
Form-based authentication assistanceHi, I'm trying to use the new assert statement in my JSP's. So, I set my JAVA_OPTS environment variable to -source 1.4 -enableassertions (w/o quotes) but the catalina startup script doesn't like it. And exists immediately without starting Tomcat. I'm using

how use the ajp13 connector between hosts

2002-10-25 Thread Sigurður Bjarnason
Hi all.. I have i small problem.. I have Apache on host 1 and Tomcat on host 2.. how do i get the connector to talk between the two ? ..that is what do i change do i set virualhost in apache for host2 or is this configured somewere else ?! i use ajp13 regards Siggi -- To unsubscribe,

Re: Tag object pooling and immutability in the servlet spec

2002-10-25 Thread Craig R. McClanahan
On 24 Oct 2002, Mr. Tomcat wrote: Date: 24 Oct 2002 17:37:36 -1000 From: Mr. Tomcat [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Tag object pooling and immutability in the servlet spec Is there a way to turn off tag object pooling?

RE: how use the ajp13 connector between hosts

2002-10-25 Thread Turner, John
In workers.properties, set worker.worker-name.host to the FQDN of host 2. VirtualHost in Apache should be whatever virtual host is in the URL, not the hostname of the machine hosting Tomcat. Ditto in server.xml...the Host container should have the name of the virtual host in the URL. John

RE: tomcat/EJBs

2002-10-25 Thread Jerry Birchler
Check out JBOSS at www.jboss.org goto the downloads link and check this out JBoss-3.0.3_Tomcat-4.1.12.zip. It might be what you're looking for. -Original Message- From: Grant C. Peters [mailto:grantcpeters;earthlink.net] Sent: Friday, October 25, 2002 11:38 AM To: Tomcat Users List

Re: JSP's and J2SDK1.4 assert statement

2002-10-25 Thread Craig R. McClanahan
On Fri, 25 Oct 2002, Oliver Jonas wrote: Date: Fri, 25 Oct 2002 18:59:02 +0200 From: Oliver Jonas [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: JSP's and J2SDK1.4 assert statement Form-based authentication assistanceHi,

RE: JSP's and J2SDK1.4 assert statement

2002-10-25 Thread John Trollinger
Which implies you're putting code in scriptlets, right? Sheesh ... Java code to implement business logic belongs in Java classes, not intermixed with your presentation markup in a JSP page. If only more people would listen to this! -- To unsubscribe, e-mail:

RE: JSP's and J2SDK1.4 assert statement

2002-10-25 Thread Oliver Jonas
Hi Craig, I also tried CATALINA_OPTS... same thing happens. Thinking about it -source 1.4 isn't actually a valid option for java, only for javac. (Maybe that's why it fails because it starts fine if I only put -enableassertions in JAVA_OPTS. So I guess I need to tell Jasper to use the option

Re: Tomcat JSPs not loading

2002-10-25 Thread eric scroger
Attached is the server.xml config. If you think you want additional config files, please tell me which files you think would help. Eric Robert L Sowders wrote: Won't be able to pinpoint a problem in the configuration without seeing the configuration. Post your configs and we'll see what we

Help to me !! !! !! !!

2002-10-25 Thread Correo
I all. I'm using Tomcat on win98 Have a problem when call my class error:404 My class are in : Tomcat 4.1/webapps/servlet1/web-inf/classes/st/Servlet1.class How call in a brobser my class? Where put Servlet1.shtml? I send Servlet1.java and web.xml to you see. I'm new in Tomcat !!

Re: jspc pre-compiled pages distributed with .war file?

2002-10-25 Thread Andy Wagg
Tomcat requires the servlet and servlet mappings in the web.xml, this is the way it works. Essentially, servlets are generated for the jsp pages. I modified my web application this week to precompile the jsp files and no longer include these in my war. The JspC compiler when used with the

Re: Virtual Hosts

2002-10-25 Thread Curt LeCaptain
Question about appBase... What exactly would I set that to? I've got dev.infinity-tech.com as what I want for my website... I want everything served out of /www/docs/dev.infinity-tech.com/ Is that what I would set as my appBase? Also, I'm a bit shaky on what the ROOT context is. Curt L --

RE: Virtual Hosts

2002-10-25 Thread Shapira, Yoav
Hi, What exactly would I set that to? Depends on what you want to accomplish. We typically leave it as webapps and specify different (absolute) docBases for individual webapps as necessary. If you have several webapps under the same location, you can change just the appBase to point to that

Servlet running/not running

2002-10-25 Thread SAmhed
Hi all, I'm a newbie at Tomcat and would appreciate the help. I have installed Tomcat 4.1.12. I have this directory structure for a servlet. C:\Tomcat\webapps\myApp\WEB-INF\classes and the servlet name is test. OK. When I try to see this servlet by http://localhost:8080/myApp/servlet/test, I get

Re: Help to me !! !! !! !! - DON'T ATTACH FILES!!

2002-10-25 Thread Burt Johnson
PLEASE DON'T attach files to this list!! -- - Burt Johnson MindStorm, Inc. [EMAIL PROTECTED] http://www.mindstorm-inc.com -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org

RE: Help to me !! !! !! !!

2002-10-25 Thread Jim Urban
Tomcat 4.1/webapps/servlet1/web-inf/classes/st/Servlet1.class Tomcat is case sensitive. Your directory must be Tomcat 4.1/webapps/servlet1/WEB-INF/classes/st/Servlet1.class the web-inf must be WEB-INF. Windows Explorer has a problem with this. Use the command line if need be. Also, I assume

RE: Servlet running/not running

2002-10-25 Thread Shapira, Yoav
Hi, I have installed Tomcat 4.1.12. I have this directory structure for a servlet. C:\Tomcat\webapps\myApp\WEB-INF\classes and the servlet name is test. OK. When I try to see this servlet by http://localhost:8080/myApp/servlet/test, I get this; The requested resource (/myApp/servlet/test) is not

Re: Apache 1.3.23 and Tomcat 4 - connect??

2002-10-25 Thread John B. Moore
Still encountering some issues.. First I am following the howto's by John Turner.. (thanks much..BTW) Before doing anything I'm seeing the following output when starting tomcat === INFO: Initializing Coyote HTTP/1.1 on port 8080 mod_jk location: libexec/mod_jk.so Make sure it is

Bug?

2002-10-25 Thread chad kellerman
Hey everyone, Check this out. So I am getting this java exception: 2002-10-25 13:53:40 [org.apache.catalina.connector.warp.WarpConnection] Exception on socket java.io.IOException: Premature packet header end at

  1   2   >