RE: org.xml.sax.SAXException

2002-10-07 Thread CLAIRE Celine
you must put parser.jar in lib/common I use parser crimson, and have no problem I have a question Do you know how to access database via JDBC driver with tomcat 3.3.1? thanks > -Message d'origine- > De: Chandra Sekhar [SMTP:[EMAIL PROTECTED]] > Date: mardi 8 octobre 2002 08:40 > À:

Re: AW: AW: Forwarding in servlets.

2002-10-07 Thread Kwok Peng Tuck
So I just do this ? RequestDispatcher dispatcher = request.getRequestDispatcher("/test.jsp?blah=bleh") ; if (dispatcher!=null) { dispatcher.forward(request, response) ; } Ralph Einfeldt wrote: >As forward works internally you can add parameters >to t

AW: AW: Forwarding in servlets.

2002-10-07 Thread Ralph Einfeldt
As forward works internally you can add parameters to the request. At this point this has nothing to do with GET or POST. > -Ursprüngliche Nachricht- > Von: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]] > Gesendet: Dienstag, 8. Oktober 2002 08:56 > An: Tomcat Users List > Betreff: Re: AW: F

Re: AW: Forwarding in servlets.

2002-10-07 Thread Kwok Peng Tuck
Thanks, so the question now would be like this. With the dispatcher.forward() method, is it possible to POST data instead of tacking parameters at the end of test.jsp ? Ralph Einfeldt wrote: >You can use response.sendRedirect in servlets. > >But keep in mind that this is a complette different

AW: Forwarding in servlets.

2002-10-07 Thread Ralph Einfeldt
You can use response.sendRedirect in servlets. But keep in mind that this is a complette different thing than dispatcher.forward(). redirect() forces the client to do a second request to the url. (You can see this in the browser as it will show a different URL). Forward() works internally, the

org.xml.sax.SAXException

2002-10-07 Thread Chandra Sekhar
I'm getting the following error using jakarta-tomcat-3.3.1 org.xml.sax.SAXException: System property org.xml.sax.driver not specified I'm using xalan.jar and xerces.jar in my classpath and also I've removed parser.jar from the lib. Any clue? - Chandra - Do

Forwarding in servlets.

2002-10-07 Thread Kwok Peng Tuck
Is there any way besides the following : request.setAttribute("selectedScreen", request.getServletPath()) ; RequestDispatcher dispatcher = request.getRequestDispatcher("/test.jsp") ; if (dispatcher!=null) { dispatcher.forward(request, response) ;

AW: auto deploy WAR + embedded tomcat

2002-10-07 Thread Ralph Einfeldt
Your mail client uses a from like "" <[EMAIL PROTECTED]>. The "" is an empty alias. Some mail clients (like outlook) display the name of the receiver whenever they find such a from address (see below in the line starting with Von:). So there are two problems: - Your mail client produces a cri

Classpath and Aliases on Tomcat 4

2002-10-07 Thread Matthew Smith
G'Day, I hope I'm not about to rehash an old subject here. I couldn't find a satisfactory answer in the mail archives. I have a web-based application that is not designed as a webapp. It has a single servlet as its interface to the world. This servlet, and all of its supporting classes, are i

Re: Configuring Tomcat to start with different verisons of a Web App

2002-10-07 Thread Andreas Probst
Hi Scott, you could simply have 3 Tomcats, e.g. .../tomcat1, .../tomcat2, .../tomcat3. All you need is to have 3 icons linked to the right startup script. If you run only one at a time it will work fine. Andreas On 7 Oct 2002 at 14:51, Scott Goldstein wrote: > At any one time, I have multip

NullPointerException

2002-10-07 Thread Ben Monnahan
Hi all, Does anyone have any ideas why I would get a NullPointerException when instanciating a class inside of a servlet when the class works fine when run as its own program? I am using Java 1.4.0_01 from Sun and Tomcat 4.1.10 with the invoker servlet disabled. On a separate but somewhat r

RE: Apache with Tomcat

2002-10-07 Thread sonam singh
u can use mod_jk to connect apache with tomcat . regards Sonam Singh --- "Turner, John" <[EMAIL PROTECTED]> wrote: > > Yes. Search the archives, this topic comes up all > the time. > > It's the same setup as putting Apache and Tomcat on > the same machine, except > that you change the server n

Re: Configuring Tomcat4.1 to use Apache2.0.43 win32, Doc's not clear

2002-10-07 Thread sonam singh
in order to connect the apache with tomccat there is two or three way to connecyt 1) using mod_jk 2) mod_webapps 3) mod_jserv 1) with mod_jk , create the mod_jk.dll copy it into apache/modules directory and create the two files one is mod_jk.conf & other is worker.properties mod_jk.conf look li

war file wont unpack

2002-10-07 Thread Chris Stokes
I am tinkering with 4.1.12 and have run into a problem where Tomcat won't unpack a simple war file that used to work fine on 4.0.3. I get the following error in the log file. 2002-10-08 14:10:42 HostConfig[localhost]: Expanding web application archive test.war 2002-10-08 14:10:42 HostConfig[loca

Re: Configuring Tomcat4.1 to use Apache2.0.43 win32, Doc's not clear

2002-10-07 Thread Jacob Kjome
Whoops, I didn't read your whole message before I sent the last response. You are looking for auto-generating the config for mod_jk. Try this (change any paths given to match your installation): Put the following immediately within your element: Then put the following immediately within an

RE: Session.invalidate() does not work

2002-10-07 Thread Craig R. McClanahan
On Tue, 8 Oct 2002, Gary Henson wrote: > Date: Tue, 8 Oct 2002 16:45:11 +1300 > From: Gary Henson <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: 'Tomcat Users List' <[EMAIL PROTECTED]> > Subject: RE: Session.invalidate() does not work > > I have encountered the same

Re: RE: RE: JK2 Installation

2002-10-07 Thread Malachi de AElfweald
I am using 4.6-STABLE I found something online, and did 'man pthread', and it said I just have to do 'gcc -pthread' to enable pthread support So, I am confused about it not being threaded??? How would I verify if it is? You're right about the JDK thing. I noticed there was a port collect

Re: TOmcat 4.0.1 and JDOM b8

2002-10-07 Thread Malachi de AElfweald
"Incompatible object argument for function call" Sounds like the API changed and one of your servlets expected one format, and the other servlet expected another... If you open the jars, you should be able to compare the two files Malachi 10/7/2002 2:48:00 PM, "Cyril Vidal" <[EMAIL PROTECT

Re: Configuring Tomcat4.1 to use Apache2.0.43 win32, Doc's not clear

2002-10-07 Thread Jacob Kjome
The problem is you are using the 2.0.42 mod_jk dll with Apache 2.0.43. You need a mod_jk that was compiled specifically for version 2.0.43 of Apache. This site is usually up-to-date with the binaries, but only have 2.0.42 binaries right now: http://www.acg-gmbh.de/mod_jk/ Check back for upda

RE: Session.invalidate() does not work

2002-10-07 Thread Gary Henson
I have encountered the same problem with form based authentication. -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 8 October 2002 16:39 To: Tomcat Users List Subject: Re: Session.invalidate() does not work On Mon, 7 Oct 2002, Alex Imbastari wrote:

Re: Session.invalidate() does not work

2002-10-07 Thread Craig R. McClanahan
On Mon, 7 Oct 2002, Alex Imbastari wrote: > Date: Mon, 07 Oct 2002 19:45:27 +0100 > From: Alex Imbastari <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Session.invalidate() does not work > > Hi all > I am using TOmcat 4.1 with Basic Aut

Configuring Tomcat4.1 to use Apache2.0.43 win32, Doc's not clear

2002-10-07 Thread Admin Dobsons.org
I'm trying to configure Tomcat 4.1 to run under Apache 2.0.43 on Windows 2000 Advanced server I have succesfuly installed Apache 2.0.43 j2sdk-1_4_1-windows Tomcat 4.1 I'm having trouble connecting Tomcat and Apache. I've read all the documents and everytime I think I know were to go to edit a f

Mysql DataSource with Tomcat 4.1

2002-10-07 Thread Alex Imbastari
I'm using a mysql jdbc datasource with TOmcat 4.1. Two questions 1) Does TOmcat pool database connections? If so where are the number of pooled connections specified? 2) The server seems to hang after about 3 accesses to the database. Has anyone experienced this? THanks Alex -- To unsubs

Session.invalidate() does not work

2002-10-07 Thread Alex Imbastari
Hi all I am using TOmcat 4.1 with Basic Authentication with JDBC Realm. I log off users using session.invalidate() but this doesn't seem to work. Any suggesstions would be appreciated Thanks Alex -- To unsubscribe, e-mail: For additional commands, e-mail:

Error using ajp13 protocol

2002-10-07 Thread Marc Vila Pérez
Hi! I'm trying to connect apache with tomcat, using jk (ajp13), in my mod_jk.log (debug log level), I can read this: [Tue Oct 08 02:49:20 2002] [jk_uri_worker_map.c (172)]: Into jk_uri_worker_map_t::uri_worker_map_alloc [Tue Oct 08 02:49:20 2002] [jk_uri_worker_map.c (375)]: Into jk_uri_worker_

Re: Can't deploy Custom Tag Library on Microsoth Windoz

2002-10-07 Thread Mark R. Diggory
> This doesn't seem to happen with the standard.jar and I'm totally > copying its layout and the version information at the beginning of the > file accept for the encoding being UTF-8 instead of ISO... Well, I notice that the standard jar also stores the files under thier own names and not /me

Re: Can't deploy Custom Tag Library on Microsoth Windoz

2002-10-07 Thread Mark R. Diggory
When I was working with LE versions of Tomcat I believe it was defaulting to whatever is in j2sdk1.4.0. I think this is Crimson, only because the code for Crimson is in the src.zip of j2sdk. What I saw with that was the following parsing error: PARSE error at line 1 column -1 org.xml.sax.SAXPa

Tomcat won't work with jdk 1.4.0

2002-10-07 Thread Chuck Carson
I am running the binary distribution of tomcat 4.0.5 on Solaris 8. It works with jdk1.3.1_05, but I am trying to get it running with jdk1.4.0_02 and I get the following exception in catalina.out: Exception during startup processing java.lang.reflect.InvocationTargetException at sun.refle

Know this: Dr. Watson error on Apache.exe ??

2002-10-07 Thread Bing Zhang
Anyone knows why this happens: The application(Apache.exe), generated an application error. The error occurred on 9/29/2002 @ 7:43:49.968. The exception generated was c005 at address 0x00a41f2f () The Environment is: Apache_1.3.9 with mod_ssl_2.4.9-openssl_0.9.4 Tomcat_3.1 JDK 1.3.1_0

Problem with Tomcat 4.1.12 SSL

2002-10-07 Thread Tam, Michael
Hi All, I have Tomcat 4.1.12 running with SSL enabled with self-certified keystore in place. However, I encounter the following warning message and exception. Oct 7, 2002 3:21:00 PM org.apache.coyote.http11.Http11Processor action WARNING: Exception getting SSL attributes javax.net.ssl.SSLPee

RE: tomcat 4.1.12 with apache1.3.26 and mod_jk integration error .

2002-10-07 Thread Lambert, Stephen : CO IR
Changes below completed. Apache now starts with no warning! However, result of http://localhost:8080/examples is unable to locate server localhost:8080 And result of http://localhost/examples finds the jsp examples with a URL of http://w121c20.legacyhs/examples/ What's bizarre is that the mod_j

JK2+Apache2: LogFactory java Error: NoClassDefFoundError

2002-10-07 Thread Brzezinski, Paul J
Getting an error message when I start Tomcat 4.1.12 on Solaris 8 SPARC: 15750 [main] ERROR server.JkMain - Can't create apr java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory at org.apache.jk.apr.AprImpl.(AprImpl.java:340) I'm using the Apache Tomcat/4.1.12-LE-jdk14.

Re: How to specify the location of a properties file.

2002-10-07 Thread Glenn Nielsen
Put the properties file in the /WEB-INF/classes directory and use ResourceBundle.getBundle("foo"); The name of the properties file without ".properties. Regards, Glenn Niaz Habib wrote: > Justin, > > I am facing the same problem. Your approach seems to be an elegent one. > Would you mind ele

RE: passing a session from non-SSL to SSL

2002-10-07 Thread Milt Epstein
On Mon, 7 Oct 2002, Sundar Chakravarthy wrote: > Hi, > > Does this mean I have to use pure https for my webapp ? You'll probably have to look into all the pros/cons and available alternatives to decide that. > Isnt there a > preformance hi

Re: Tomcat vs Websphere sendRedirect

2002-10-07 Thread Craig R. McClanahan
On Mon, 7 Oct 2002, Jared Reeve wrote: > Date: Mon, 7 Oct 2002 14:56:36 -0700 (PDT) > From: Jared Reeve <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Tomcat vs Websphere sendRedirect > > > In WebSphere I do a sendRedirect("/servlet/MySe

Re: JSP to Servlet source conversion

2002-10-07 Thread Jean-Francois Arcand
Hanasaki JiJi wrote: > What part of Tomcat (most interested in 4.x) does the conversion from > jsp to servlet source? org.apache.jasper.* is where the JSP compiler source is. > > > Is this code the same code as from the J2EE jar files downloaded from > Sun? Which J2EE? The J2EE RI uses or

Problem running SSL on Tomcat

2002-10-07 Thread Alvin Chin
Hi all, I am trying to enable SSL on an Apache Tomcat 4.0 server, but I get the following error: initProxy: java.security.UnrecoverableKeyException: Cannot recover key java.security.UnrecoverableKeyException: Cannot recover key at sun.security.provider.KeyProtector.recover(KeyProt

RE: tomcat 4.1.12 with apache1.3.26 and mod_jk intergration error .

2002-10-07 Thread Turner, John
In your server.xml, change the defaultHost parameter of your Engine element to "localhost". You're getting that Apache error because you have two VirtualHost definitions for w121c20.legacyhs in mod_jk.conf. There should only be one. Also, change ServerName in httpd.conf to w121c20.legacyhs. G

RE: tomcat 4.1.12 with apache1.3.26 and mod_jk intergration error .

2002-10-07 Thread Lambert, Stephen : CO IR
-Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Monday, October 07, 2002 2:50 PM To: 'Tomcat Users List' Subject: RE: tomcat 4.1.12 with apache1.3.26 and mod_jk intergration error . Post your httpd.conf, and mod_jk.conf if your JK commands are not in httpd.conf.

Tomcat vs Websphere sendRedirect

2002-10-07 Thread Jared Reeve
In WebSphere I do a sendRedirect("/servlet/MyServlet") within a servlet and it works successfully. It prepends the host and root URI. Why can't I do the same thing in Tomcat? It does not prepend the root URI. Do I not have something configured correctly? I would like to port this applicat

Tomcat 4.1.12 - AJP13 mod_jk MBean Error

2002-10-07 Thread Andrew Gilbert
Anyway, short of disabling JMX support, of dealing with the following when trying to use mod_jk (versus mod_jk2) under 4.1.12? ServerLifecycleListener: createMBeans: MBeanException java.lang.Exception: ManagedBean is not found with Ajp13Connector at org.apache.catalina.mbeans.MBeanUtils.

RE: tomcat 4.1.12 with apache1.3.26 and mod_jk intergration error.

2002-10-07 Thread Turner, John
Post your httpd.conf, and mod_jk.conf if your JK commands are not in httpd.conf. John > -Original Message- > From: Lambert, Stephen : CO IR [mailto:[EMAIL PROTECTED]] > Sent: Monday, October 07, 2002 5:48 PM > To: 'Tomcat Users List' > Subject: tomcat 4.1.12 with apache1.3.26 and mod_j

Re: TOmcat 4.0.1 and JDOM b8

2002-10-07 Thread Cyril Vidal
Yes, in fact, I've put the xerces.jar given with JDOM in $JAVA_HOME/jre/lib/ext. And I've no more the SAXNotRecognized Exception. But, it's very strange, I've got now the following error when I run another servlet that was running well before the manipulation. Here is the beggining of my very ba

tomcat 4.1.12 with apache1.3.26 and mod_jk intergration error.

2002-10-07 Thread Lambert, Stephen : CO IR
HELP!!! I'm getting an error that is very confusing when starting Apache after Tomcat: [warn] VirtualHost w121c20.legacyhs;80 overlaps with VirtualHost w121c20.legacyhs:80, ./apachectl start:httpd started The Virtual Host directive is commented out in my httpd.conf, so I'm not sure why I'm recei

RE: tomcat 4.1.12 with apache2.0.42 and mod_jk

2002-10-07 Thread Brzezinski, Paul J
Libapr.so ? Maybe in $APACHE_HOME/lib? I *added* -L/-R switches to the linker-relevant lines in the Makefile. -- mailto:[EMAIL PROTECTED] Enterprise Distributed Capabilities EDS Corporation 248-265-8283 : -Original Message- : From: Dom [mailto:[EMAIL PROTECTED]] : Sent: Monday, Oc

Reminder for others upgrading to 4.1.12...

2002-10-07 Thread Andrew Gilbert
In the process of trying to upgrade our existing application from 3.3 to 4.1.12 I suffered some pain by not reading the release notes. Reminder to others who try: The "invoker" servlet is commented out by default in TOMCAT_HOME/conf/web.xml. If you don't have servlet mappings in your WEB-INF/we

JSP to Servlet source conversion

2002-10-07 Thread Hanasaki JiJi
What part of Tomcat (most interested in 4.x) does the conversion from jsp to servlet source? Is this code the same code as from the J2EE jar files downloaded from Sun? Are their any difference in this process under classic vs server VM? Thank you -- ==

Re: tomcat 4.1.12 with apache2.0.42 and mod_jk

2002-10-07 Thread Dom
Hi all I've been able to build mod_jk2 on MDK 7.2 using JK2 2.0.1 (http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0 .1) But I still get ... /usr/bin/ld: cannot find -lapr collect2: ld returned 1 exit status make[1]: *** [../../../build/jk2/apache2/jkjni.la] Erreur 1 m

Why does one java process continue to run and take more and more CPU?

2002-10-07 Thread Brandon Cruz
Running Tomcat 3.2.4, Sun JDK 1.3.1_01, AJP13, Apache 1.3.x on Linux. One java process seems to keep running and take more and more CPU as time goes on. It just slowly keeps growing and slowing down the system. Right now, I look and it has been running for 2338 minutes and is taking 48.9% of th

Re: How to specify the location of a properties file.

2002-10-07 Thread Justin Ruthenbeck
Niaz ... The idea is to load the properties file like you would any other java resource at runtime ... this is (almost) always better, IMHO, than using something J2EE-specific like initialization parameters to a servlet. The relevant code would look something like this: InputStream inStream

Re: Can't deploy Custom Tag Library on Microsoth Windoz

2002-10-07 Thread Craig R. McClanahan
On Mon, 7 Oct 2002, Mark R. Diggory wrote: > Date: Mon, 07 Oct 2002 15:46:31 -0400 > From: Mark R. Diggory <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tag Libraries Developers List <[EMAIL PROTECTED]> > Cc: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Re: Can

Re: RE: RE: JK2 Installation

2002-10-07 Thread Robert L Sowders
Unless you're using the -current version of FreeBSD, it's not threaded. Apache2 should really only be used on Operating systems that are threaded or you don't realize any gain from it other than some new mods. You're running the linux version of the JDK because there is no native port for 1.4

conf/auto/mod_jk.conf missing double quotes

2002-10-07 Thread eric scroger
Greetings, I noticed what I think is a bug in the auto generated configuration file for mod_jk. In this file, it creates an Apache LoadModule directive, but fails to put double quotes around the path. Since Apache is installed in Program Files/Apache Group, there are two spaces in the name wh

RE: Apache with Tomcat

2002-10-07 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
You may wish to try www.itrc.hp.com, choose search and enter in virtual vault and select manuals or forum's. Jeff -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, October 07, 2002 2:34 PM To: Tomcat Users List Subject: RE: Apache with Tomcat I do tha

Re: RE: JK2 Installation

2002-10-07 Thread Malachi de AElfweald
Yes, I saw the JkMount option as well but, how would I have eoti.org/examples and corp.eoti.org/examples hosted by different workers in the same properties file? Or do I have to specify a different worker2.properties for each one? could I just make the URI in worker2.properties be something

RE: JK2 Installation

2002-10-07 Thread Turner, John
You stole my line! LOL! John > -Original Message- > From: Robert L Sowders [mailto:[EMAIL PROTECTED]] > Sent: Monday, October 07, 2002 4:41 PM > To: Tomcat Users List > Subject: RE: JK2 Installation > > > Read the Source Luke; > > mod_jk2.c > /** > * Set a property associated with

RE: JK2 Installation

2002-10-07 Thread Robert L Sowders
Read the Source Luke; mod_jk2.c /** * Set a property associated with a URI, using native * directives. * * This is used if you want to use the native mapping and * integrate better into apache. * * Same behavior can be achieved by using uri.properties and/or JkSet. * * Example: *

Re: How to specify the location of a properties file.

2002-10-07 Thread Niaz Habib
Justin, I am facing the same problem. Your approach seems to be an elegent one. Would you mind eleborating on the idea a little bit more. Some code snippet would definitely be helpful. I thank you in advance. niaz. - Original Message - From: "Justin Ruthenbeck" <[EMAIL PROTECTED]> To: "

RE: RE: RE: JK2 Installation

2002-10-07 Thread Turner, John
No problem. Obviously, I'm not a JK/JK2 developer, so I can't say what is the goal and what isn't. I just know that the entire project is extremely fluid, with things changing every day, so if the docs don't jive 100% with the code, I wouldn't be surprised. I can only add that the docs say: "F

RE: Apache with Tomcat

2002-10-07 Thread afreire
I do that in two HPUX 11, now I need to do that in ohter enviroment. I've HP Virtual Vault with apache 1.3.19 and I've the tomcat in other HPUX. I'm using Tomcat 3.2.3 or Tomcat 3.3. Anybody have idea how can I connect the Virtual Vault to the HPUX? Regards. Alejandro "Turner, John" <[EMAIL P

Re: RE: RE: JK2 Installation

2002-10-07 Thread Malachi de AElfweald
I'm sorry if that seemed a bit harsh -- it was not meant to be. I had just read a LOT of emails from you, and that was how it came across. Originally, the problem I was having with FreeBSD was that if I tried to LoadModule the mod_jk2.so, it said that pthread_mutex_unlock was unknown. I did a l

Re: TOmcat 4.0.1 and JDOM b8

2002-10-07 Thread Malachi de AElfweald
Also, make sure that an older version is not in $JAVA_HOME/jre/lib/ext cuz that would get used first Malachi 10/7/2002 1:14:36 PM, Padhu Vinirs <[EMAIL PROTECTED]> wrote: >JDOM is only a easy-to-use-wrapper for java programmers around standard >xml parsers. The 'SAXNotRecognizedOption" is an

RE: RE: JK2 Installation

2002-10-07 Thread Turner, John
OK, let's be honest if we're going to post. I certainly did not say "JK2 is in beta, not to be trusted, use something else, read the list, don't complain about the documentation, etc etc" I _did_ say JK2 is "beta". That has different meanings to different people. I'm primarily a sys-admin in c

RE: Strange differences in Apache/Tomcat configuration

2002-10-07 Thread Turner, John
Sorry, I'm fresh out of ideas. It sure sounds like a permissions issue to me, but I can't say for sure without investigation. Let us know what it was when you get it resolved. John > -Original Message- > From: Kent Perrier [mailto:[EMAIL PROTECTED]] > Sent: Monday, October 07, 2002 1

RE: newbie: Apache 1.3 TomCat 4 Win2000 RH7.3

2002-10-07 Thread Turner, John
As previously posted by Robert Sowders, on several occasions: ==quote== Naturally it depends on your choice of OS, Tomcat version, and connector choice. Try the search at http://www.mail-archive.com/tomcat-user@jakarta.apache.org/ or Google. Here is mine for windows using all the latest of e

Re: TOmcat 4.0.1 and JDOM b8

2002-10-07 Thread Padhu Vinirs
JDOM is only a easy-to-use-wrapper for java programmers around standard xml parsers. The 'SAXNotRecognizedOption" is an object in xerces.jar. make sure the xerces.jar that comes with JDOM beta 8 is in your web app's classpath. Maybe JDOM beta 8 supports a version of xerces that Tomcat is not s

Re: How to specify the location of a properties file.

2002-10-07 Thread Justin Ruthenbeck
Shaun -- Consider dynamically loading the properties file from your classpath using a class loader. This way, you can put the files anywhere you please and just include that directory in your classpath (or put them someplace already in your classpath). If you need more specifics, let me kno

RE: Reload Servlets/Classes

2002-10-07 Thread Chuck Carson
Coo, thanks. -Chuck > -Original Message- > From: Padhu Vinirs [mailto:[EMAIL PROTECTED]] > Sent: Monday, October 07, 2002 10:53 AM > To: Tomcat Users List > Subject: Re: Reload Servlets/Classes > > > > Uncomment that line and add reloadable=true. i tested this > and it works > fi

newbie: Apache 1.3 TomCat 4 Win2000 RH7.3

2002-10-07 Thread Thomas Eichberger
We try to change from TomCat 3.2.3 to TomCat 4, connected to Apache 1.3, on a Win 2000 server as well as on a Red Hat 7.3 machine. Please, where is the documentation about how to configure Apache and TomCat 4 to work together? I read about the connectors, quite complicated, there are several

TOmcat 4.0.1 and JDOM b8

2002-10-07 Thread cyril vidal
Hi, I'm using Tomcat 4.0.1 and I have such a code snippet, using JDOM beta 8: import java.io.*; import javax.servlet.*; import javax.servlet.http.*; import org.jdom.Element; import org.jdom.Document; import org.jdom.output.XMLOutputter; import org.jdom.input.SAXBuilder; import org.jdom.JDOMExcept

How to specify the location of a properties file.

2002-10-07 Thread Shaun Campbell
I've got a servlet running under Tomcat and I need to read in the contents of a properties file. There will be different properties files for each system specified using an init parameter. I'm having problems reading this property file at the moment in my java class as the way I am doing it a

RE: JK2 Installation

2002-10-07 Thread Turner, John
I use JK, not JK2, but as far as I know, everything with JK2 is done in workers2.properties and jk2.properties. The Apache side is done in workers2.properties. The specific JK2 commands are abstracted out of httpd.conf, unlike JK, and put into workers2.properties. AFAIK, just put workers2.prop

Re: RE: JK2 Installation

2002-10-07 Thread Malachi de AElfweald
Ok, I just read through 108 emails, mostly from this list. I saw 1 message from Dave, and many from John telling everyone that JK2 is in beta, not to be trusted, use something else, read the list, don't complain about the documentation, etc etc Yet, neither of you answered our questions. I

Re: Can't deploy Custom Tag Library on Microsoth Windoz

2002-10-07 Thread Mark R. Diggory
Are you testing on Windows with j2sdk1.4? Craig R. McClanahan wrote: >Works for me with no problems on all 4.0.x and 4.1.x versions of Tomcat; >but I'm not trying to use any UTF-8 characters in my TLDs either. > >Craig > > > -- To unsubscribe, e-mail: For addit

Re: Configuring Tomcat to start with different verisons of a WebApp

2002-10-07 Thread Mark R. Diggory
Sorry, I answered in the wrong thread, please ignore this message Mark R. Diggory wrote: > A, stupid me. I didn't configure CATALINA_BASE and I've moved the > location of webapps so I didn't need multiple copies of my > webapplication for testing on each version! (Mark whack's himself on >

Re: HOW TO: How do I add a global variable in server.xml readable in all webapps?

2002-10-07 Thread Rajesh . Bhabaraju
-- Sent from my BlackBerry Wireless Handheld (www.BlackBerry.net) -- To unsubscribe, e-mail: For additional commands, e-mail:

Incompatible object argument for function call

2002-10-07 Thread Cyril Vidal
Hi, I've fixed the problem with JDOM. In fact, I've had to put the xerces.jar given with the JDOM distribution in the tomcat/lib folder (to be use instead of XercesImpl.jar). But now, I have such an error message when I try to run a servlet that was workin well before to put the xerces.jar in t

RE: JK2 Installation

2002-10-07 Thread Gary Roediger
EXACTLY all that is needed is some examples ( not just snippets ). I have spent a lot of time looking through the docs on line, from the release and pouring over the hundreds of email on this list - I still do not see where the connection between Apache 2.0 httpd.conf and the worker2.properties fi

Re: Can't deploy Custom Tag Library on Microsoth Windoz

2002-10-07 Thread Mark R. Diggory
Craig R. McClanahan wrote: >>I've tried numerous encodings in my tld file, it always says UTF-8 even when I'm not >encoded in UTF-8. It was pointed out that this is a bug in an old version of Xerces. >But, when I install LE versions, I'm not using Xerces, I'm using the default Crimson >parser

RE: Apache with Tomcat

2002-10-07 Thread Turner, John
Yes. Search the archives, this topic comes up all the time. It's the same setup as putting Apache and Tomcat on the same machine, except that you change the server name in a few places to be the FQDN instead of "localhost" John > -Original Message- > From: [EMAIL PROTECTED] [mailto:[E

Re: Can't deploy Custom Tag Library on Microsoth Windoz

2002-10-07 Thread Craig R. McClanahan
On Mon, 7 Oct 2002, Mark R. Diggory wrote: > Date: Mon, 07 Oct 2002 15:18:57 -0400 > From: Mark R. Diggory <[EMAIL PROTECTED]> > Reply-To: Tag Libraries Developers List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Cc: Tag Libraries Developers List <[EMAIL PROTECTED]> > Subj

RE: Class Loading Question

2002-10-07 Thread Cox, Charlie
> -Original Message- > From: Mark R. Diggory [mailto:[EMAIL PROTECTED]] > Sent: Monday, October 07, 2002 3:08 PM > To: [EMAIL PROTECTED] > Subject: Class Loading Question > > > I'm looking in the ClassLoading documentation and I see this as the > loading order > > /WEB-INF/classes of

Re: Class Loading Question

2002-10-07 Thread Craig R. McClanahan
On Mon, 7 Oct 2002, Mark R. Diggory wrote: > Date: Mon, 07 Oct 2002 15:07:40 -0400 > From: Mark R. Diggory <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Class Loading Question > > I'm looking in the ClassLoading documentation and I see

RE: Configuring Tomcat to start with different verisons of a Web App

2002-10-07 Thread Sexton, George
Why not have 3 different web apps context1, context2, context3 and run them all in the same container? -Original Message- From: Scott Goldstein [mailto:[EMAIL PROTECTED]] Sent: 07 October, 2002 12:52 PM To: [EMAIL PROTECTED] Subject: Configuring Tomcat to start with different verisons of

Re: Configuring Tomcat to start with different verisons of a WebApp

2002-10-07 Thread Mark R. Diggory
A, stupid me. I didn't configure CATALINA_BASE and I've moved the location of webapps so I didn't need multiple copies of my webapplication for testing on each version! (Mark whack's himself on the head!) I'll try that and see if it solves the problem. -Mark Tim Moore wrote: >>-Orig

RE: Apache with Tomcat

2002-10-07 Thread Michael Schulz
You could also search the email list archive where this topic is discussed ad nauseum on an almost daily basis. (:o) It is very possible, and very well documented. Search Google for "Apache Tomcat HOWTO". -Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Se

RE: Apache with Tomcat

2002-10-07 Thread Mitchell, Edmund
Yes you can. Just follow one of the many excellent how-to's on this subject [1], and substitute hostnames/IP addresses for "lcoalhost" in the appropriate places. HTH Edmund [1] From an email to this list by Robert L Sowders > Here is mine for windows using all the latest of each. > ftp://p

Re: Apache with Tomcat

2002-10-07 Thread Catalin Constantin
you could use mod_proxy from apache ! Catalin - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, October 07, 2002 9:14 PM Subject: Apache with Tomcat Can I integrate Apahce and Tomcat if Apache is running in different machine than Tomcat?

Re: Can't deploy Custom Tag Library on Microsoth Windoz

2002-10-07 Thread Mark R. Diggory
> > >If you access your XML parser through the JAXP APIs (which Tomcat does for >its own use), there is a standard and portable mechanism for selecting the >parser implementation to be used -- see the JAXP specification for >details. > > >Craig McClanahan > > > No, this has to strictly deal wi

RE: Configuring Tomcat to start with different verisons of a Web App

2002-10-07 Thread Tim Moore
> -Original Message- > From: Scott Goldstein [mailto:[EMAIL PROTECTED]] > Sent: Monday, October 07, 2002 2:52 PM > To: [EMAIL PROTECTED] > Subject: Configuring Tomcat to start with different verisons > of a Web App > > > At any one time, I have multiple versions of a product that > I'

Apache with Tomcat

2002-10-07 Thread afreire
Can I integrate Apahce and Tomcat if Apache is running in different machine than Tomcat? Is this it possible, How can I do that? Regards. Alejandro -- To unsubscribe, e-mail: For additional commands, e-mail:

Class Loading Question

2002-10-07 Thread Mark R. Diggory
I'm looking in the ClassLoading documentation and I see this as the loading order /WEB-INF/classes of your web application /WEB-INF/lib/*.jar of your web application Bootstrap classes of your JVM System class loader classses (described above) $CATALINA_HOME/common/classes $CATALINA_HOME/common/e

POSTed pages expire in IE?

2002-10-07 Thread Jason McCormick
I'm working on an upgrade from Tomcat 3 to Tomcat 4.1.12 and I've run into a curious problem. The scenraio is a user enters data into a form and the server returns a results page. On that results page, a list of matches is presented and the user can click on one to view details. With the

Re: Pb with WarpConnector, JNDI, DBCP

2002-10-07 Thread Nikola Milutinovic
John Walstra wrote: > I used to use the WarpConnector. I just switched to mod_jk. When I used the > WarpConnector, I could not get the JNDI DataSource to work. I received the > same error you received. If I accessed my webapp using the > "Tomcat-Standalone" service it would work, but would not

Re: Can't deploy Custom Tag Library on Microsoth Windoz

2002-10-07 Thread Craig R. McClanahan
On Mon, 7 Oct 2002, Mark R. Diggory wrote: > Date: Mon, 07 Oct 2002 14:45:15 -0400 > From: Mark R. Diggory <[EMAIL PROTECTED]> > Reply-To: Tag Libraries Developers List <[EMAIL PROTECTED]> > To: Tag Libraries Developers List <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED] > Subject: Re: Can't deplo

Re: Can't deploy Custom Tag Library on Microsoth Windoz

2002-10-07 Thread Mark R. Diggory
Well, I installed 4.0.3 regular version instead of LE, now I assume I should be using the Xerces parser thats part of tomcat, but I still get the exceptions. Since j2sdk has its own installation of an xml parser (Crimson, go figure which Moron came up with the idea to default package a buggy x

Embedded Tomcat

2002-10-07 Thread Patrick Lacson
Does anybody know how what the proper API method(s) are to deploy WAR files and to auto expand the WAR file in the webapps directory? Currently doing a deployer.install(contextPath, warFile); Doesn't expand the WAR file in the webapps directory. I need to do this w/o XML files.. Thanks in a

Tomcat 4.0.1 and JDOM beta 8

2002-10-07 Thread Cyril Vidal
Hi, I'm using Tomcat 4.0.1 and I have such a code snippet, using JDOM beta 8: import java.io.*; import javax.servlet.*; import javax.servlet.http.*; import org.jdom.Element; import org.jdom.Document; import org.jdom.output.XMLOutputter; import org.jdom.input.SAXBuilder; import org.jdom.JDOMExcep

RE: auto deploy WAR + embedded tomcat

2002-10-07 Thread
Hmm.. Don't know why that is, I'm sending this question from my hotmail account which should be Patrick Lacson. -P >From: Reynir Hübner <[EMAIL PROTECTED]> >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> >To: "Tomcat Users List" <[EMAIL PROTECTED]> >Subject: RE: auto deploy WAR + embedded

Re: Reload Servlets/Classes

2002-10-07 Thread Padhu Vinirs
Uncomment that line and add reloadable=true. i tested this and it works fine. -- padhu Chuck Carson wrote: >I am wanting to do this for classes under ROOT/WEB-INF/classes > >I noticed that is commented >out, do I uncomment this entry and add the reloadable to this section? > >Thanks, >CC >

  1   2   >