Hi,
Im not sure if this is the correct place to post this type of message but
ill try anyways.
Im trying to parse an XML file in a servlet's init(Servlet config) method on
a tomcat4.1 server. I am using a xerces SAX parser. The servlet has a
load-on-startup tag in web.xml with a value of 1.
Hi,
back again, i sent my last email without writing what standard out prints.
Here it is:
Starting service Tomcat-Standalone
Apache Tomcat/4.1.10
Sorry for re posting.
-t0bes
-Original Message-
From: Toby Saville
Sent: Monday, 23 September 2002 12:06 PM
To: 'Tomcat Users List
-
From: Toby Saville
Sent: Monday, 23 September 2002 12:06 PM
To: 'Tomcat Users List'
Subject: XML Parsing in Servlet
Hi,
Im not sure if this is the correct place to post this type of message but
ill try anyways.
Im trying to parse an XML file in a servlet's init(Servlet config) method
? Is
there an alternative?
Thanks again.
t0bes
-Original Message-
From: Toby Saville
Sent: Monday, 23 September 2002 1:37 PM
To: 'Tomcat Users List'
Subject: RE: FW: XML Parsing in Servlet
Thanks for your help Jake,
I created an inputstream the way you said and passed it to the XML parser
change the port that your HTTP10Connector runs on. This can be done in the
tomcat_install/conf/server.xml file. Search for the Http10Connector
directive.
hope it works.
-t0bes
-Original Message-
From: RNivas [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 31, 2002 5:10 PM
To:
The apache-tomcat HOWTO suggests the following:
VirtualHost 9.148.16.139
ServerName www.virtualhost.com
DocumentRoot path-to-your-docbase
ApJServMount /servlet ajp12://localhost:8007/vhostExamples
/VirtualHost
Now if you modify this to work with mod_jk and your IP's, you
It means your trying to use the JK Module to connect Apache and Tomcat. look
for LoadModule jk_module in either apache_install/conf/httpd.conf or in
tomcat_install/conf/auto/mod_jk.conf.
Or look in apache_install to see if there is a directory called libexec.
If there is, but there is no file
How do i tell tomcat (3.3.1) to use a directory other than ROOT for finding
the WEB-INF with my servlets? I want to run my website in /web/prod/webapp/
and have the servlets in WEB-INF/classes/ but tomcat keeps looking in
tomcat_install/webapps/ROOT/WEB-INF/classes/.
Also, is the webapps/
Problem
I am trying to run two separate instances of tomcat to serv production
(IP: 127.0.0.1 HOME_DIR: /web/prod ) and development (IP: 127.0.0.2
HOME_DIR: /web/dev) sites set up as virtual hosts in apache. These sites
execute servlets when i dont set the home parameter of the ContextManager