Tomcat hosting provider needed

2003-03-13 Thread Hostmaster of the day
Depends on the requested Tomcat version.

Here are three examples of our Tomcat
program on three different server :

Tomcat 3.3.1
RH 7.2
Coldfusion
Zope
20 Sub-Domains
20 FTP-User
200 POP3
10 mySQL with RemoteAccess, ODBC, JDBC
PHP4, WebMail, WebFTP
Quota 200 MB
for US$ 9,98 a month

or

Tomcat 4.0.3
RH 7.3
Coldfusion
PostgreSQL with JDBC
20 Sub-Domains
20 FTP-User
200 POP3
10 mySQL with RemoteAccess, ODBC, JDBC
PHP4, WebMail, WebFTP
Quota 200 MB
for US$ 14,98 a month

or

Tomcat 3.2.3
RH 6.5
ChiliSoft ASP
PostgreSQL with JDBC
30 FTP-User
30 POP3
10 mySQL with RemoteAccess, ODBC, JDBC
PHP4, WebMail
Quota 30 MB
for US$ 6,95 a month

Traffic : charge free
Setup fee : none
Test-Account : possible
IP-address : yes

But normally this mailing list is for
technical purposes, only.

Good luck,
HotD*


 Greetings,
 
 Can anyone recommend a good Tomcat hosting provider? I thought
there was a list somewhere, but I can't seem to find it.
 
 Thanks,
 Steve
 
 Steven Turoff
 Peoples Health Network
 200 W. Esplanade Ave., Suite 600
 Kenner, Louisiana 70065
 tel: 504.461.9800 ext. 4363
 
 
 CONFIDENTIAL HEALTH INFORMATION
 
 This email message and any accompanying attachments are
confidential and privileged. This information is intended solely for
the addressee; access by anyone else is unauthorized. No
confidentiality or privilege is waived or lost by mistransmission. If
you are not the intended recipient, any forwarding, opening of
attachments, disclosure, copying, distribution, or other action, is
strictly prohibited. If you have received this electronic message in
error, please delete it and any attachments and notify the sender at
Peoples Health Network immediately.
 
 

-
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Mime-Type

2003-03-03 Thread Hostmaster of the day
Ladies and Gentleman,

.jsp (e.g. index.jsp) is indeed a MIME type.

Apache will know this MIME type by the following
code if you are using mod_jk as module:

JkMount /*.jsp ajp13

--Dave



 
 Howdy,
 Typically, text/html as that's what the browser sees.
 
 However, in a JSP (since it's really a servlet), you can set the
 response content type to whatever you want, e.g. gzip or
 application/ms-excel.
 
 Yoav Shapira
 Millennium ChemInformatics
 
 
 -Original Message-
 From: Anthony Smith [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 03, 2003 10:36 AM
 To: Tomcat Users List
 Subject: Mime-Type
 
 I did not know where ask to else this question.
 
 Is there a mime-type for a jsp? If so, what is it?
 

-
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail:
[EMAIL PROTECTED]
 
 
 
 
 This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary and/or privileged.  This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an)
intended recipient, please immediately delete this e-mail from your
computer system and notify the sender.  Thank you.
 
 

-
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Mime-Type

2003-03-03 Thread Hostmaster of the day
Mime Type Overview

Mime types tell browsers how to handle specific extensions. Most Mime
types are set globally on the server. For example, the text/html Mime
type equates to htm, html, and shtml extensions on most servers, and
this tells your browser to interpret all files with those extensions
as HTML files. You can alter or add new Mime types specifically for
your site (note that you can not alter the global Mime type values,
only add to them). Mime types are often used to handle new
technologies as they appear. When WAP technology first appeared
no-one had these extensions set up on their server. With Mime types,
however, you could have set it up yourself and begun serving WAP
pages immediately.

Warning: Make sure you check the list of pre-existing Mime types
before adding new ones. Check with your hosting administrator before
adding a Mime type, as they can easily alter the correct functioning
of your web site.

Note: People often get confused as to the difference between Mime
types and Apache handlers. Basically, Mime types tell your browser
how to handle files, while Apache handlers tell the server how to
handle files.

JkMount /*.jsp ajp13 is an Apache handler not a MIME type. Isn't it.


 Uh, mime-type doesn't have anything to do with a file extension.
If I have
 a tiff image it doesn't matter what the extension is, it's still a
tiff
 file.  Determining mime-type based based on file extensions is a
windows
 stupidism.  Now, I'll admit there are certian conventions, but you
can't
 100% count on them.
 
 --mikej
 -=-
 mike jackson
 [EMAIL PROTECTED]
 
  -Original Message-
  From: Hostmaster of the day [mailto:[EMAIL PROTECTED]
  Sent: Monday, March 03, 2003 8:25 AM
  To: [EMAIL PROTECTED]
  Subject: RE: Mime-Type
 
 
  Ladies and Gentleman,
 
  .jsp (e.g. index.jsp) is indeed a MIME type.
 
  Apache will know this MIME type by the following
  code if you are using mod_jk as module:
 
  JkMount /*.jsp ajp13
 
  --Dave
 
 
 
  
   Howdy,
   Typically, text/html as that's what the browser sees.
  
   However, in a JSP (since it's really a servlet), you can set the
   response content type to whatever you want, e.g. gzip or
   application/ms-excel.
  
   Yoav Shapira
   Millennium ChemInformatics
  
  
   -Original Message-
   From: Anthony Smith [mailto:[EMAIL PROTECTED]
   Sent: Monday, March 03, 2003 10:36 AM
   To: Tomcat Users List
   Subject: Mime-Type
   
   I did not know where ask to else this question.
   
   Is there a mime-type for a jsp? If so, what is it?
   
  
 
-
   To unsubscribe, e-mail:
[EMAIL PROTECTED]
   For additional commands, e-mail:
  [EMAIL PROTECTED]
  
  
  
  
   This e-mail, including any attachments, is a confidential
business
  communication, and may contain information that is confidential,
  proprietary and/or privileged.  This e-mail is intended only for
the
  individual(s) to whom it is addressed, and may not be saved,
copied,
  printed, disclosed or used by anyone else.  If you are not the(an)
  intended recipient, please immediately delete this e-mail from
your
  computer system and notify the sender.  Thank you.
  
  
  
 
-
   To unsubscribe, e-mail:
[EMAIL PROTECTED]
   For additional commands, e-mail:
[EMAIL PROTECTED]
  
 
 
 
-
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail:
[EMAIL PROTECTED]
 
 
 
 

-
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: how to get apache-tomcat virtual host work?

2003-02-28 Thread Hostmaster of the day
John,

where is your reply ?

how to get apache-tomcat virtual host work? is an easy
question as long as you are using Tomcat 3.2.3 or Tomcat 3.3.1.

Although I'm working very successfully with virtual hosts 
and Tomcat 3.2.3 + 3.3.1 I was up to now unable to get virtual 
hosts running with Tomcat 4.

Only the default virtual host is running. It doesn't matter
which virtual host I'm using.

I'm not alone and still working on it.

--Dave

 

Is this a glitch?  Did my first reply to this post get lost?

John


 I have redhat linux 7.3 
  
  i have two virtual host in my machine www.host1.com and
www.host2.com
  www.host1.com is the default one.
  I have installed apache-tomcat on my machine
  apache-tomcat runs fine with the www.host1.com  one.
  i mean both http://www.host1.com:8080/examples and 
 http://www.host1.com/examples  come to same 
 result which is
  good.
  i want www.host2.com work same way as www.host1.com in term 
 of running
  apache-tomcat i did following to server.xml
   
  
  I add host dirctive like this
  
 **
 *
   Host name=host2.com debug=0 appBase=/home/www/zhujp98
unpackWARs=true
 
Listener
   className=org.apache.ajp.tomcat4.config.ApacheConfig
 append=true  /
 
 !-- Normally, users must authenticate themselves to 
 each web app
  individually.  Uncomment the following entry if you
would
   like
  a user to be authenticated the first time they 
 encounter a
  resource protected by a security constraint, and 
 then have
that
  user identity maintained across *all* web applications
  contained
  in this virtual host. --
 !--
 Valve 
 className=org.apache.catalina.authenticator.SingleSignOn
debug=0/
 --
 
 !-- Access log processes all requests for this 
 virtual host.  By
  default, log files are created in the logs directory
  relative to
  $CATALINA_HOME.  If you wish, you can specify a
different
  directory with the directory attribute.  
 Specify either a
  relative
  (to $CATALINA_HOME) or absolute path to the desired
   directory.
 --
 Valve className=org.apache.catalina.valves.AccessLogValve
  directory=logs  prefix=localhost_access_log.
  suffix=.txt
  pattern=common/
 
 !-- Logger shared by all Contexts related to this 
 virtual host.
 By
  default (when using FileLogger), log files are 
 created in the
   logs
  directory relative to $CATALINA_HOME.  If you 
 wish, you can
   specify
  a different directory with the directory attribute.
  Specify either a
  relative (to $CATALINA_HOME) or absolute path to 
 the desired
  directory.--
 Logger className=org.apache.catalina.logger.FileLogger
  directory=logs  prefix=localhost_log. 
 suffix=.txt
 timestamp=true/
 
 !-- Define properties for each web application.  This is
only
needed
  if you want to set non-default properties, or have web
  application
  document roots in places other than the virtual host's
  appBase
  directory.  --
 
 !-- Tomcat Root Context --
 !--
   Context path= docBase=ROOT debug=0/
 --
 
  Context path=/servlets 
 docBase=/home/www/zhujp98/servlets
  debug=0
 reloadable=true/
  /Host
 
 **
 
 
 after that I can access servlets using 
http://www.host2.com:8080/servlets

but fails when i use http://www.host2.com/servlets

it seems that apache did not connect to tomcat in terms of
www.host2.com

how can i fix this problem?
Thanks

j.p 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: how to get apache-tomcat virtual host work?

2003-02-28 Thread Hostmaster of the day
Dear Xiongfei Wang,

this httpd.conf entry seems to be wrong :

JkMount /servlets ajp13
JkMount /servlets/* ajp13

Correct entry should be :

JkMount /*.jsp ajp13
JkMount /servlet/* ajp13

--Dave


 John,
 Thank you very much for your response.
 
 after i chang host2.com to www.host2.com and restart tomacat apache
 
 My mod_jk.conf is like:
 ***
 VirtualHost www.host2.com
 ServerName www.host2.com
 
 JkMount /servlets ajp13
 JkMount /servlets/* ajp13
 
 JkMount /manager ajp13
 JkMount /manager/* ajp13
 /VirtualHost
 
 VirtualHost www.host1.com
 ServerName www.host1.com
 
 JkMount /webdav ajp13
 JkMount /webdav/* ajp13
 
 JkMount /mlogin ajp13
 JkMount /mlogin/* ajp13
 
 JkMount /login ajp13
 JkMount /login/* ajp13
 
 JkMount /examples ajp13
 JkMount /examples/* ajp13
 
 JkMount /tomcat-docs ajp13
 JkMount /tomcat-docs/* ajp13
 
 JkMount /manager ajp13
 JkMount /manager/* ajp13
 /VirtualHost
 
 
  But it still not working.
 
 Thanks for any futher suggestion.
 
 
 
 
 
 
 
 
 
 On Fri, 28 Feb 2003, Turner, John wrote:
 
  
  What are the contents of mod_jk.conf?
  
  Did you restart Apache so that it could pick up the changes?
  
  Is there a VirtualHost container in mod_jk.conf for www.host2.com?
  
  In your Host container in server.xml, you list the name as
host2.com, not
  www.host2.com.   Is this a typo?  The two are different.
Either change it
  to www.host2.com or use Alias within the Host container to
alias
  www.host2.com to host2.com.
  
  John
  
   -Original Message-
   From: Hostmaster of the day [mailto:[EMAIL PROTECTED]
   Sent: Friday, February 28, 2003 11:36 AM
   To: [EMAIL PROTECTED]
   Subject: RE: how to get apache-tomcat virtual host work?
   
   
   John,
   
   where is your reply ?
   
   how to get apache-tomcat virtual host work? is an easy
   question as long as you are using Tomcat 3.2.3 or Tomcat 3.3.1.
   
   Although I'm working very successfully with virtual hosts 
   and Tomcat 3.2.3 + 3.3.1 I was up to now unable to get virtual 
   hosts running with Tomcat 4.
   
   Only the default virtual host is running. It doesn't matter
   which virtual host I'm using.
   
   I'm not alone and still working on it.
   
   --Dave
   

   
   Is this a glitch?  Did my first reply to this post get lost?
   
   John
   
   
I have redhat linux 7.3 
 
 i have two virtual host in my machine www.host1.com and
   www.host2.com
 www.host1.com is the default one.
 I have installed apache-tomcat on my machine
 apache-tomcat runs fine with the www.host1.com  one.
 i mean both http://www.host1.com:8080/examples and 
http://www.host1.com/examples  come to same 
result which is
 good.
 i want www.host2.com work same way as www.host1.com in term 
of running
 apache-tomcat i did following to server.xml
  
 
 I add host dirctive like this
 
**
*
  Host name=host2.com debug=0 appBase=/home/www/zhujp98
   unpackWARs=true

   Listener
   
className=org.apache.ajp.tomcat4.config.ApacheConfig
append=true  /

!-- Normally, users must authenticate themselves to 
each web app
 individually.  Uncomment the following entry if
you
   would
  like
 a user to be authenticated the first time they 
encounter a
 resource protected by a security constraint, and 
then have
   that
 user identity maintained across *all* web
applications
 contained
 in this virtual host. --
!--
Valve 
className=org.apache.catalina.authenticator.SingleSignOn
   debug=0/
--

!-- Access log processes all requests for this 
virtual host.  By
 default, log files are created in the logs
directory
 relative to
 $CATALINA_HOME.  If you wish, you can specify a
   different
 directory with the directory attribute.  
Specify either a
 relative
 (to $CATALINA_HOME) or absolute path to the
desired
  directory.
--
Valve
className=org.apache.catalina.valves.AccessLogValve
 directory=logs
prefix=localhost_access_log.
 suffix=.txt
 pattern=common/

!-- Logger shared by all Contexts related to this 
virtual host.
By
 default (when using FileLogger), log files are 
created in the
  logs
 directory relative

Apache Tomcat/4.0.3 - HTTP Status 404 - /servlet/SnoopServlet is not available.

2002-03-14 Thread Hostmaster of the day
)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)
at
org.apache.catalina.core.StandardService.start(StandardService.java:38
8)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:506)
at
org.apache.catalina.startup.Catalina.start(Catalina.java:781)
at
org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at
org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at java.lang.reflect.Method.invoke(Native Method)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)

2002-03-14 09:45:11 ContextConfig[]: Marking this application
unavailable due to previous error(s)
2002-03-14 09:45:11 StandardContext[]: Error initializing naming
context for context
2002-03-14 09:45:11 StandardContext[]: Context startup failed due to
previous errors
2002-03-14 09:45:11 StandardContext[]: Error initializing naming
context for context
2002-03-14 09:45:11 WebappLoader[]: Deploying class repositories to
work directory /var/tomcat4/work/domain2.com/_
2002-03-14 09:45:11 WebappLoader[]: Reloading checks are enabled for
this Context
2002-03-14 09:45:11 StandardManager[]: Seeding random number
generator class java.security.SecureRandom
2002-03-14 09:45:11 StandardManager[]: Seeding of random number
generator has been completed



/var/log/httpd/error_log got no information regarding
Tomcat errors.

All Tomcat-Apache logs are generated by Tomcat
/var/tomcat4/logs/...

I'll provide you with new logs dated March 14, 2002
tomorrow.

Something changed since I moved the server.xml host tags to
the right place within the Tomcat-Apache part.

I already receive the HTTP Status 404 if I use
http://www.domain.com

The domain directory is no longer accessible through
http. That's very strange.

As soon as I remove the following line
WebAppDeploy /var/www/host2/html/ conn /
from the virtual host section of that
domain http is alright again.

--Mark


 Could you provide the error page.
 
 Do you know if it was generate by Apache or Tomcat?
 
 Does the access log for Tomcat show that the request is being
forwarded to
 Tomcat?
 
 -Original Message-
 From: Hostmaster of the day [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, March 13, 2002 9:39 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Apache Tomcat/4.0.3 - HTTP Status 404 -
 /servlet/SnoopServlet is not available.
 
 
 My fault ;-( Thank you !
 
 I changed the server.xml and placed the host tags
 correctly within the Tomcat-Apache part :
 
 Then 
 tomcat4 stop
 tomcat4 start
 apache stop
 apache start
 
 and ... the problem still persists.
 Unbelievable but true. The same 404 status.
 
 I'm so sorry,
 --Mark
 
 
 - Original Message - 
 From: [EMAIL PROTECTED]
 To: Hostmaster of the day [EMAIL PROTECTED]
 Sent: Wednesday, March 13, 2002 4:02 PM
 Subject: Re: Apache Tomcat/4.0.3 - HTTP Status 404 -
 /servlet/SnoopServlet is not available.
 
 
  
  I just checked your server.xml that you attached. The Host.../
 tags are
  present within the Service name=Tomcat-Standalone. You need to
 put them
  within the   Service name=Tomcat-Apache tag since you have
 associated
  the Connector className
  =org.apache.catalina.connector.warp.WarpConnector.../ with
  Tomcat-Apache.
  So just cut and paste the Host tags from the Tomcat-Standalone to
  Tomcat-Apache.
  
  **
  
  So eventually your server.xml will read like this:
  
Service name=Tomcat-Apache
  
  Connector
 className=org.apache.catalina.connector.warp.WarpConnector
   port=8008 minProcessors=5 maxProcessors=75
   enableLookups=true appBase=webapps
   acceptCount=10 debug=0/
  
  !-- Replace localhost with what your Apache ServerName is
 set to
  --
  Engine
 className=org.apache.catalina.connector.warp.WarpEngine
   name=Apache debug=0
  
!-- Global logger unless overridden at lower levels --
Logger className=org.apache.catalina.logger.FileLogger
prefix=apache_log. suffix=.txt
timestamp=true/
  
!-- Because this Realm is here, an instance will be shared
 globally
  --
Realm className=org.apache.catalina.realm.MemoryRealm /
  
  !-- Roshan - Here's where your Host tags will go. --
Host name=domain.com
Context path= docBase=/var/www/host2/html reloadable=true
 debug
  =0/
/Host
  !-- You may not require this. I'll leave it to you to decide. But
 I've
  commented it out.
Host name=111.111.111.0
Context path= docBase=/var/www/host2/html reloadable=true
 debug
  =0/
/Host
  --
Host name=domain2.com
Context path= docBase=/var/www/host3/html reloadable=true
 debug
  =0/
/Host
  !-- You may not require this. I'll leave it to you to decide. But
 I've
  commented it out.
Host name=222.222.222.0
Context path= docBase=/var/www/host3/html reloadable=true
 debug
  =0/
/Host
  --
  /Engine

Re: Apache Tomcat/4.0.3 - HTTP Status 404 - /servlet/SnoopServlet is not available.

2002-03-14 Thread Hostmaster of the day

Hi RS !

I replaced the standard server.xml file by your
server.xml file.

The 404 problem still persists. Additional I'm no longer
able to stop Tomcat4. 

Error message :
 
PARSE error at line 3 column 2 of /var/tomcat4/conf/server.xml
org.xml.sax.SAXParseException: The markup in the document preceding
the root element must be well-formed.
Catalina.stop: org.xml.sax.SAXParseException: The markup in the
document preceding the root element must be well-formed.
org.xml.sax.SAXParseException: The markup in the document preceding
the root element must be well-formed.
at
org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1213)
at
org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XML
DocumentScanner.java:570)
at
org.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.dispat
ch(XMLDocumentScanner.java:857)
at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentSc
anner.java:381)
at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
at
org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:362)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:301)
at
org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:228)
at
org.apache.catalina.startup.Catalina.stop(Catalina.java:822)
at
org.apache.catalina.startup.Catalina.execute(Catalina.java:683)
at
org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at java.lang.reflect.Method.invoke(Native Method)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)

No domainDotCom_tomcatApache_log.txt or
domainTwoDotCom_tomcatApache_log.txt
have been created.

Normally both should be created.

--Mark

- Original Message - 
From: [EMAIL PROTECTED]
To: Hostmaster of the day [EMAIL PROTECTED]
Sent: Thursday, March 14, 2002 3:21 PM
Subject: Re: Apache Tomcat/4.0.3 - HTTP Status 404 -
/servlet/SnoopServlet is not available.


 
 Mark,
 I've updated your server.xml (attached as server.txt. rename to
 server.xml).  Replace the current server.xml you are using with
this new
 one. If you look under the Service tag for Tomcat-Apache, you'll
notice
 that I've added the Logger element for each virtual host. This will
create
 the following logs for each host when Tomcat is started, namely:
 domainDotCom_tomcatApache_log.txt- for host domain.com
 and
 domainTwoDotCom_tomcatApache_log.txt- for host domain2.com
 
 Restart Tomcat. Restart Apache. Try accessing a web page using the
URL:
 http://domain.com/yourFileName
 Check the logs for errors. In case you don't figure out the error
attach
 them in an email.
 
 Thanks.
 RS
 
 (See attached file: server.txt)
 
 
 
 
 
 
 Hostmaster of the day [EMAIL PROTECTED] on 03/14/2002
03:18:42 AM
 
 To:   [EMAIL PROTECTED]
 cc:
 
 Subject:  Apache Tomcat/4.0.3 - HTTP Status 404 -
/servlet/SnoopServlet  is
   not available.
 
 
 And the modified server.xml
 
 server.txt (15877 bytes) has been removed from this note.
 server.txt (15877 bytes) has been removed from this note.
 
 
 


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Apache Tomcat/4.0.3 - HTTP Status 404 - /servlet/SnoopServlet is not available.

2002-03-14 Thread Hostmaster of the day

Thank you ! Status 404 persists :-((
Here the first domainDotCom_tomcatApache_log.2002-03-14.txt :

2002-03-14 22:40:03 WebappLoader[]: Deploying class repositories to
work directory /var/tomcat4/work/domain.com/_
2002-03-14 22:40:03 WebappLoader[]: Reloading checks are enabled for
this Context
2002-03-14 22:40:03 StandardManager[]: Seeding random number
generator class java.security.SecureRandom
2002-03-14 22:40:03 StandardManager[]: Seeding of random number
generator has been completed
2002-03-14 22:40:03 ContextConfig[] Configuration error in
application web.xml
java.lang.IllegalArgumentException: addChild:  Child name 'default'
is not unique
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779
)
at
org.apache.catalina.core.StandardContext.addChild(StandardContext.java
:1276)
at java.lang.reflect.Method.invoke(Native Method)
at
org.apache.catalina.util.xml.AddChild.end(XmlMapper.java:811)
at
org.apache.catalina.util.xml.XmlMapper.matchEnd(XmlMapper.java:419)
at
org.apache.catalina.util.xml.XmlMapper.endElement(XmlMapper.java:119)
at
org.xml.sax.helpers.XMLReaderAdapter.endElement(XMLReaderAdapter.java:
347)
at
org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1403)
at
org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLVal
idator.java:1550)
at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispa
tch(XMLDocumentScanner.java:1149)
at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentSc
anner.java:381)
at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
at
org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:362)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:137)
at
org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:275)
at
org.apache.catalina.startup.ContextConfig.applicationConfig(ContextCon
fig.java:256)
at
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:824
)
at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig
.java:224)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycle
Support.java:155)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:33
45)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at
org.apache.catalina.core.StandardHost.start(StandardHost.java:614)

at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)
at
org.apache.catalina.core.StandardService.start(StandardService.java:38
8)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:506)
at
org.apache.catalina.startup.Catalina.start(Catalina.java:781)
at
org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at
org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at java.lang.reflect.Method.invoke(Native Method)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)

2002-03-14 22:40:03 ContextConfig[]: Marking this application
unavailable due to previous error(s)
2002-03-14 22:40:03 StandardContext[]: Error initializing naming
context for context
2002-03-14 22:40:03 StandardContext[]: Context startup failed due to
previous errors
2002-03-14 22:40:03 StandardContext[]: Error initializing naming
context for context

--Mark


- Original Message - 
From: [EMAIL PROTECTED]
To: Hostmaster of the day [EMAIL PROTECTED]
Sent: Thursday, March 14, 2002 10:26 PM
Subject: Re: Apache Tomcat/4.0.3 - HTTP Status 404 -
/servlet/SnoopServlet is not available.


 
 Shoot! I'm sorry. Here's the new server.xml.
 (See attached file: server.txt)
 rename it to server.xml and then replace.
 
 Thanks.
 RS
 
 
 
 
 
 
 Hostmaster of the day [EMAIL PROTECTED] on 03/14/2002
02:56:47 PM
 
 To:   [EMAIL PROTECTED]
 cc:
 
 Subject:  Re: Apache Tomcat/4.0.3 - HTTP Status 404 -
/servlet/SnoopServlet
   is not available.
 
 Hi RS !
 
 I replaced the standard server.xml file by your server.xml file.
 
 The 404 problem still persists. Additional I'm no longer able to
stop
 Tomcat4.
 
 Error message :
 
 PARSE error at line 3 column 2 of /var/tomcat4/conf/server.xml
 org.xml.sax.SAXParseException: The markup in the document preceding
 the root element must be well-formed.
 Catalina.stop: org.xml.sax.SAXParseException: The markup in the
 document preceding the root element must be well-formed.
 org.xml.sax.SAXParseException: The markup in the document preceding
 the root element must be well-formed.
 at

org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1213

Apache Tomcat/4.0.3 - HTTP Status 404 - /servlet/SnoopServlet is not available.

2002-03-13 Thread Hostmaster of the day

Here they are :

a) httpd.conf got the following entries :

LoadModule webapp_module   modules/mod_webapp.so
AddModule mod_webapp.c

IfModule mod_webapp.c
 WebAppConnection warpConnection warp localhost:8008
 WebAppDeploy ROOT warpConnection /tomcat/
 WebAppDeploy examples warpConnection /examples/
/IfModule

vhost.conf :

VirtualHost 100.100.100.100
ServerName domain.com
DocumentRoot /var/www/host2/html
User host2user
Group users
ScriptAlias /cgi-bin/ /var/www/host2/html/cgi-bin/
WebAppConnection conn warp localhost:8008
WebAppDeploy /var/www/host2/html/ conn /
php_admin_value open_basedir /var/www/host2
php_admin_value upload_tmp_dir /var/www/host2/phptmp
CustomLog /var/www/host2/log/access_log
/VirtualHost

b) I'm using the standard web.xml file of the Tomcat4.0.3
 distribution. I changed nothing.

c) please find the server.xml file attached as server.txt

Is it necessary to create a webapps directory within
a virtual host directory ?

It would be the greatest day in my life if this error could
be found and fixed. I never have had so much trouble.

Thanks,
--Mark

 
  Line 2 looks ok to me. If you could send in the virtual host section of the
  httpd.conf, the Host/Context part of your server.xml, and the appropriate
  part of your web.xml then maybe someone could figure out the problem.
 
  RS
 
 
 
  Hostmaster of the day [EMAIL PROTECTED] on 03/12/2002 01:36:22 PM
 
  Please respond to Tomcat Users List [EMAIL PROTECTED]
 
  To: [EMAIL PROTECTED]
  cc:
 
  Subject: pache Tomcat/4.0.3 - HTTP Status 404 - /servlet/SnoopServlet is
  not available.
 
  You are welcome !
 
  Yes I have :
 
  WebAppConnection conn warp localhost:8008
  WebAppDeploy /var/www/host2/html/ conn /
 
  Could line 2 be the error ?
 
  --Mark
 
  
   OK let's try once again :-) Apologize for the previous dumb email.
   Anyway, maybe a stupid question :-) but have you configured your
  virtual
   host in the httpd.conf. Something like this
  
   VirtualHost 100.100.100.100
   ServerAdmin [EMAIL PROTECTED]
   DocumentRoot /var/www/host2/html
   ServerName domain.com
   WebAppConnection conn warp localhost:8008
   WebAppDeploy _ conn /
   ErrorLog logs/domain.com-error_log
   CustomLog logs/domain.com-access_log common
   /VirtualHost
  
   And your server.xml (atleast for domain.com):
   Host name=domain.com
   Context path= docBase=/var/www/host2/html reloadable=true
  debug
   =0/
   /Host
  
  
   Hope this helps.
   RS
  
  
  
  
  
   Hostmaster of the day [EMAIL PROTECTED] on 03/12/2002
  11:35:23 AM
  
   Please respond to Tomcat Users List
  [EMAIL PROTECTED]
  
   To: [EMAIL PROTECTED]
   cc:
  
   Subject: Apache Tomcat/4.0.3 - HTTP Status 404 -
  /servlet/SnoopServlet is
   not available.
  
   Hello ...
  
   I'm writing again asking again for some help.
  
   In the meanwhile I changed from mod_jk to mod_webapps
   but I still receive the same error message. The logs in
   /var/tomcat4/logs/. are looking pretty good.
  
   http://localhost:8080 is working great.
   Tomcat 4.0.3 is working great.
   Apache 1.3.20 is working great.
  
   But http://IP-address/servlet/SnoopServlet
   or http://www.domain.com/servlet/SnoopServlet
   not at all ! Status 404 = description
   The requested resource (/servlet/SnoopServlet) is not available.
  
   It is there ... definetely - uurgh
  
   Please don't let me down. I'll loose my job if
   I'm unable to fix that stupid problem.
  
   Thanks,
   Mark Wollner
  
   ---
  
   Hi there !
  
   The installation of Tomcat 4.0.3 either as RPM or tar.gz
   is a very easy job. But only for the serverhost.
  
   During the past three days I tried to implement two
   virtual hosts into Tomcat-Apache without any success.
  
   Error message :
  
   Apache Tomcat/4.0.3 - HTTP Status 404 -
   /servlet/SnoopServlet is not available.
  
   I'm using mod_jk and AJP 13 on Port 8009.
  
   The server.xml file got the following entries :
  
   --
  
   Host name=domain.com
   Context path= docBase=/var/www/host2/html reloadable=true
   debug=0/
   /Host
   Host name=100.100.100.100 = the static IP-address of domain
   Context path= docBase=/var/www/host2/html reloadable=true
   debug=0/
   /Host
   Host name=domain2.com
   Context path= docBase=/var/www/host3/html reloadable=true
   debug=0/
   /Host
   Host name=200.200.200.200 = the static IP-address of domain2
   Context path= docBase=/var/www/host3/html reloadable=true
   debug=0/
   /Host
  
  
   mod_jk.conf :
  
   IfModule mod_jk.c
  
   JkWorkersFile /etc/httpd/conf/workers.properties
   JkLogFile /var/log/httpd/mod_jk.log
   JkLogLevel error
  
   # Root context mounts for Tomcat
   #
   JkMount /*.jsp ajp13
   JkMount /servlet/* ajp13
   JkMount /examples/* ajp13
  
   workers.properties :
  
   workers.tomcat_home=/var/tomcat4
   workers.java_home=/usr/java/jdk1.3.1_02
  
   worker.ajp13.port=8009
   worker.ajp13.host=localhost
   worker.ajp13.type=ajp13
  
   httpd.conf :
  
   LoadModule jk_module modules/mod_jk.so

Re: Apache Tomcat/4.0.3 - HTTP Status 404 - /servlet/SnoopServlet is not available.

2002-03-13 Thread Hostmaster of the day

My fault ;-( Thank you !

I changed the server.xml and placed the host tags
correctly within the Tomcat-Apache part :

Then 
tomcat4 stop
tomcat4 start
apache stop
apache start

and ... the problem still persists.
Unbelievable but true. The same 404 status.

I'm so sorry,
--Mark


- Original Message - 
From: [EMAIL PROTECTED]
To: Hostmaster of the day [EMAIL PROTECTED]
Sent: Wednesday, March 13, 2002 4:02 PM
Subject: Re: Apache Tomcat/4.0.3 - HTTP Status 404 -
/servlet/SnoopServlet is not available.


 
 I just checked your server.xml that you attached. The Host.../
tags are
 present within the Service name=Tomcat-Standalone. You need to
put them
 within the   Service name=Tomcat-Apache tag since you have
associated
 the Connector className
 =org.apache.catalina.connector.warp.WarpConnector.../ with
 Tomcat-Apache.
 So just cut and paste the Host tags from the Tomcat-Standalone to
 Tomcat-Apache.
 
 **
 
 So eventually your server.xml will read like this:
 
   Service name=Tomcat-Apache
 
 Connector
className=org.apache.catalina.connector.warp.WarpConnector
  port=8008 minProcessors=5 maxProcessors=75
  enableLookups=true appBase=webapps
  acceptCount=10 debug=0/
 
 !-- Replace localhost with what your Apache ServerName is
set to
 --
 Engine
className=org.apache.catalina.connector.warp.WarpEngine
  name=Apache debug=0
 
   !-- Global logger unless overridden at lower levels --
   Logger className=org.apache.catalina.logger.FileLogger
   prefix=apache_log. suffix=.txt
   timestamp=true/
 
   !-- Because this Realm is here, an instance will be shared
globally
 --
   Realm className=org.apache.catalina.realm.MemoryRealm /
 
 !-- Roshan - Here's where your Host tags will go. --
   Host name=domain.com
   Context path= docBase=/var/www/host2/html reloadable=true
debug
 =0/
   /Host
 !-- You may not require this. I'll leave it to you to decide. But
I've
 commented it out.
   Host name=111.111.111.0
   Context path= docBase=/var/www/host2/html reloadable=true
debug
 =0/
   /Host
 --
   Host name=domain2.com
   Context path= docBase=/var/www/host3/html reloadable=true
debug
 =0/
   /Host
 !-- You may not require this. I'll leave it to you to decide. But
I've
 commented it out.
   Host name=222.222.222.0
   Context path= docBase=/var/www/host3/html reloadable=true
debug
 =0/
   /Host
 --
 /Engine
 
   /Service
 
 /Server
 
 **
 
 Thanks.
 RS
 
 
 
 
 
 Hostmaster of the day [EMAIL PROTECTED] on 03/13/2002
08:35:56 AM
 
 To:   [EMAIL PROTECTED]
 cc:
 
 Subject:  Apache Tomcat/4.0.3 - HTTP Status 404 -
/servlet/SnoopServlet  is
   not available.
 
 
 Here they are :
 
 a) httpd.conf got the following entries :
 
 LoadModule webapp_module   modules/mod_webapp.so
 AddModule mod_webapp.c
 
 IfModule mod_webapp.c
  WebAppConnection warpConnection warp localhost:8008
  WebAppDeploy ROOT warpConnection /tomcat/
  WebAppDeploy examples warpConnection /examples/
 /IfModule
 
 vhost.conf :
 
 VirtualHost 100.100.100.100
 ServerName domain.com
 DocumentRoot /var/www/host2/html
 User host2user
 Group users
 ScriptAlias /cgi-bin/ /var/www/host2/html/cgi-bin/
 WebAppConnection conn warp localhost:8008
 WebAppDeploy /var/www/host2/html/ conn /
 php_admin_value open_basedir /var/www/host2
 php_admin_value upload_tmp_dir /var/www/host2/phptmp
 CustomLog /var/www/host2/log/access_log
 /VirtualHost
 
 b) I'm using the standard web.xml file of the Tomcat4.0.3
  distribution. I changed nothing.
 
 c) please find the server.xml file attached as server.txt
 
 Is it necessary to create a webapps directory within
 a virtual host directory ?
 
 It would be the greatest day in my life if this error could
 be found and fixed. I never have had so much trouble.
 
 Thanks,
 --Mark
 
  
   Line 2 looks ok to me. If you could send in the virtual host
section of
 the
   httpd.conf, the Host/Context part of your server.xml, and the
 appropriate
   part of your web.xml then maybe someone could figure out the
problem.
  
   RS
  
  
  
   Hostmaster of the day [EMAIL PROTECTED] on 03/12/2002
01:36:22
 PM
  
   Please respond to Tomcat Users List
[EMAIL PROTECTED]
  
   To: [EMAIL PROTECTED]
   cc:
  
   Subject: pache Tomcat/4.0.3 - HTTP Status 404 -
/servlet/SnoopServlet is
   not available.
  
   You are welcome !
  
   Yes I have :
  
   WebAppConnection conn warp localhost:8008
   WebAppDeploy /var/www/host2/html/ conn /
  
   Could line 2 be the error ?
  
   --Mark
  
   
OK let's try once again :-) Apologize for the previous dumb
email.
Anyway, maybe a stupid question :-) but have you configured
your
   virtual
host in the httpd.conf. Something like this
   
VirtualHost 100.100.100.100
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /var/www/host2/html
ServerName domain.com
WebAppConnection conn warp localhost:8008
WebAppDeploy

pache Tomcat/4.0.3 - HTTP Status 404 - /servlet/SnoopServlet is not available.

2002-03-13 Thread Hostmaster of the day

It is part of the main httpd.conf file
and is working great as long as I use
http://localhost:8080

But no virtual host is running.
Status 404 all the time.

That's the problem.

--Mark 

- Original Message - 
From: PELOQUIN,JEFFREY (Non-HP-Boise,ex1)
[EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Wednesday, March 13, 2002 4:10 PM
Subject: RE: Apache Tomcat/4.0.3 - HTTP Status 404 -
/servlet/SnoopServlet is not available.


 Have you tried mapping the ROOT as
  WebAppDeploy ROOT warpConnection /
 
 within your virtual host or as part of the main httpd.comf file?
 
 When I add it to my httpd.conf I get the root context of Tomcat in
place of
 my default
 Apache htdocs directory
 
 
 
 
 -Original Message-
 From: Hostmaster of the day [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, March 13, 2002 7:36 AM
 To: [EMAIL PROTECTED]
 Subject: Apache Tomcat/4.0.3 - HTTP Status 404 -
/servlet/SnoopServlet
 is not available.
 
 
 Here they are :
 
 a) httpd.conf got the following entries :
 
 LoadModule webapp_module   modules/mod_webapp.so
 AddModule mod_webapp.c
 
 IfModule mod_webapp.c
  WebAppConnection warpConnection warp localhost:8008
  WebAppDeploy ROOT warpConnection /tomcat/
  WebAppDeploy examples warpConnection /examples/
 /IfModule
 
 vhost.conf :
 
 VirtualHost 100.100.100.100
 ServerName domain.com
 DocumentRoot /var/www/host2/html
 User host2user
 Group users
 ScriptAlias /cgi-bin/ /var/www/host2/html/cgi-bin/
 WebAppConnection conn warp localhost:8008
 WebAppDeploy /var/www/host2/html/ conn /
 php_admin_value open_basedir /var/www/host2
 php_admin_value upload_tmp_dir /var/www/host2/phptmp
 CustomLog /var/www/host2/log/access_log
 /VirtualHost
 
 b) I'm using the standard web.xml file of the Tomcat4.0.3
  distribution. I changed nothing.
 
 c) please find the server.xml file attached as server.txt
 
 Is it necessary to create a webapps directory within
 a virtual host directory ?
 
 It would be the greatest day in my life if this error could
 be found and fixed. I never have had so much trouble.
 
 Thanks,
 --Mark
 
  
   Line 2 looks ok to me. If you could send in the virtual host
section of
 the
   httpd.conf, the Host/Context part of your server.xml, and the
appropriate
   part of your web.xml then maybe someone could figure out the
problem.
  
   RS
  
  
  
   Hostmaster of the day [EMAIL PROTECTED] on 03/12/2002
01:36:22
 PM
  
   Please respond to Tomcat Users List
[EMAIL PROTECTED]
  
   To: [EMAIL PROTECTED]
   cc:
  
   Subject: pache Tomcat/4.0.3 - HTTP Status 404 -
/servlet/SnoopServlet is
   not available.
  
   You are welcome !
  
   Yes I have :
  
   WebAppConnection conn warp localhost:8008
   WebAppDeploy /var/www/host2/html/ conn /
  
   Could line 2 be the error ?
  
   --Mark
  
   
OK let's try once again :-) Apologize for the previous dumb
email.
Anyway, maybe a stupid question :-) but have you configured
your
   virtual
host in the httpd.conf. Something like this
   
VirtualHost 100.100.100.100
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /var/www/host2/html
ServerName domain.com
WebAppConnection conn warp localhost:8008
WebAppDeploy _ conn /
ErrorLog logs/domain.com-error_log
CustomLog logs/domain.com-access_log common
/VirtualHost
   
And your server.xml (atleast for domain.com):
Host name=domain.com
Context path= docBase=/var/www/host2/html
reloadable=true
   debug
=0/
/Host
   
   
Hope this helps.
RS
   
   
   
   
   
Hostmaster of the day [EMAIL PROTECTED] on 03/12/2002
   11:35:23 AM
   
Please respond to Tomcat Users List
   [EMAIL PROTECTED]
   
To: [EMAIL PROTECTED]
cc:
   
Subject: Apache Tomcat/4.0.3 - HTTP Status 404 -
   /servlet/SnoopServlet is
not available.
   
Hello ...
   
I'm writing again asking again for some help.
   
In the meanwhile I changed from mod_jk to mod_webapps
but I still receive the same error message. The logs in
/var/tomcat4/logs/. are looking pretty good.
   
http://localhost:8080 is working great.
Tomcat 4.0.3 is working great.
Apache 1.3.20 is working great.
   
But http://IP-address/servlet/SnoopServlet
or http://www.domain.com/servlet/SnoopServlet
not at all ! Status 404 = description
The requested resource (/servlet/SnoopServlet) is not
available.
   
It is there ... definetely - uurgh
   
Please don't let me down. I'll loose my job if
I'm unable to fix that stupid problem.
   
Thanks,
Mark Wollner
   
---
   
Hi there !
   
The installation of Tomcat 4.0.3 either as RPM or tar.gz
is a very easy job. But only for the serverhost.
   
During the past three days I tried to implement two
virtual hosts into Tomcat-Apache without any success.
   
Error message :
   
Apache Tomcat/4.0.3 - HTTP Status 404 -
/servlet/SnoopServlet is not available.
   
I'm using mod_jk and AJP 13

RE: Apache Tomcat/4.0.3 - HTTP Status 404 - /servlet/SnoopServlet is not available.

2002-03-13 Thread Hostmaster of the day

/var/log/httpd/error_log got no information regarding
Tomcat errors.

All Tomcat-Apache logs are generated by Tomcat
/var/tomcat4/logs/...

I'll provide you with new logs dated March 14, 2002
tomorrow.

Something changed since I moved the server.xml host tags to
the right place within the Tomcat-Apache part.

I already receive the HTTP Status 404 if I use
http://www.domain.com

The domain directory is no longer accessible through
http. That's very strange.

As soon as I remove the following line
WebAppDeploy /var/www/host2/html/ conn /
from the virtual host section of that
domain http is alright again.

--Mark


 Could you provide the error page.
 
 Do you know if it was generate by Apache or Tomcat?
 
 Does the access log for Tomcat show that the request is being
forwarded to
 Tomcat?
 
 -Original Message-
 From: Hostmaster of the day [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, March 13, 2002 9:39 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Apache Tomcat/4.0.3 - HTTP Status 404 -
 /servlet/SnoopServlet is not available.
 
 
 My fault ;-( Thank you !
 
 I changed the server.xml and placed the host tags
 correctly within the Tomcat-Apache part :
 
 Then 
 tomcat4 stop
 tomcat4 start
 apache stop
 apache start
 
 and ... the problem still persists.
 Unbelievable but true. The same 404 status.
 
 I'm so sorry,
 --Mark
 
 
 - Original Message - 
 From: [EMAIL PROTECTED]
 To: Hostmaster of the day [EMAIL PROTECTED]
 Sent: Wednesday, March 13, 2002 4:02 PM
 Subject: Re: Apache Tomcat/4.0.3 - HTTP Status 404 -
 /servlet/SnoopServlet is not available.
 
 
  
  I just checked your server.xml that you attached. The Host.../
 tags are
  present within the Service name=Tomcat-Standalone. You need to
 put them
  within the   Service name=Tomcat-Apache tag since you have
 associated
  the Connector className
  =org.apache.catalina.connector.warp.WarpConnector.../ with
  Tomcat-Apache.
  So just cut and paste the Host tags from the Tomcat-Standalone to
  Tomcat-Apache.
  
  **
  
  So eventually your server.xml will read like this:
  
Service name=Tomcat-Apache
  
  Connector
 className=org.apache.catalina.connector.warp.WarpConnector
   port=8008 minProcessors=5 maxProcessors=75
   enableLookups=true appBase=webapps
   acceptCount=10 debug=0/
  
  !-- Replace localhost with what your Apache ServerName is
 set to
  --
  Engine
 className=org.apache.catalina.connector.warp.WarpEngine
   name=Apache debug=0
  
!-- Global logger unless overridden at lower levels --
Logger className=org.apache.catalina.logger.FileLogger
prefix=apache_log. suffix=.txt
timestamp=true/
  
!-- Because this Realm is here, an instance will be shared
 globally
  --
Realm className=org.apache.catalina.realm.MemoryRealm /
  
  !-- Roshan - Here's where your Host tags will go. --
Host name=domain.com
Context path= docBase=/var/www/host2/html reloadable=true
 debug
  =0/
/Host
  !-- You may not require this. I'll leave it to you to decide. But
 I've
  commented it out.
Host name=111.111.111.0
Context path= docBase=/var/www/host2/html reloadable=true
 debug
  =0/
/Host
  --
Host name=domain2.com
Context path= docBase=/var/www/host3/html reloadable=true
 debug
  =0/
/Host
  !-- You may not require this. I'll leave it to you to decide. But
 I've
  commented it out.
Host name=222.222.222.0
Context path= docBase=/var/www/host3/html reloadable=true
 debug
  =0/
/Host
  --
  /Engine
  
/Service
  
  /Server
  
  **
  
  Thanks.
  RS
  
  
  
  
  
  Hostmaster of the day [EMAIL PROTECTED] on 03/13/2002
 08:35:56 AM
  
  To:   [EMAIL PROTECTED]
  cc:
  
  Subject:  Apache Tomcat/4.0.3 - HTTP Status 404 -
 /servlet/SnoopServlet  is
not available.
  
  
  Here they are :
  
  a) httpd.conf got the following entries :
  
  LoadModule webapp_module   modules/mod_webapp.so
  AddModule mod_webapp.c
  
  IfModule mod_webapp.c
   WebAppConnection warpConnection warp localhost:8008
   WebAppDeploy ROOT warpConnection /tomcat/
   WebAppDeploy examples warpConnection /examples/
  /IfModule
  
  vhost.conf :
  
  VirtualHost 100.100.100.100
  ServerName domain.com
  DocumentRoot /var/www/host2/html
  User host2user
  Group users
  ScriptAlias /cgi-bin/ /var/www/host2/html/cgi-bin/
  WebAppConnection conn warp localhost:8008
  WebAppDeploy /var/www/host2/html/ conn /
  php_admin_value open_basedir /var/www/host2
  php_admin_value upload_tmp_dir /var/www/host2/phptmp
  CustomLog /var/www/host2/log/access_log
  /VirtualHost
  
  b) I'm using the standard web.xml file of the Tomcat4.0.3
   distribution. I changed nothing.
  
  c) please find the server.xml file attached as server.txt
  
  Is it necessary to create a webapps directory within
  a virtual host directory ?
  
  It would be the greatest day

Apache Tomcat/4.0.3 - HTTP Status 404 - /servlet/SnoopServlet is not available.

2002-03-12 Thread Hostmaster of the day

Hello ... 

I'm writing again asking again for some help.

In the meanwhile I changed from mod_jk to mod_webapps
but I still receive the same error message. The logs in
/var/tomcat4/logs/. are looking pretty good.

http://localhost:8080 is working great.
Tomcat 4.0.3 is working great.
Apache 1.3.20 is working great.

But http://IP-address/servlet/SnoopServlet
or http://www.domain.com/servlet/SnoopServlet
not at all ! Status 404 = description 
The requested resource (/servlet/SnoopServlet) is not available.

It is there ... definetely - uurgh

Please don't let me down. I'll loose my job if
I'm unable to fix that stupid problem.

Thanks,
Mark Wollner

---

Hi there !

The installation of Tomcat 4.0.3 either as RPM or tar.gz
is a very easy job. But only for the serverhost.

During the past three days I tried to implement two
virtual hosts into Tomcat-Apache without any success.

Error message :

Apache Tomcat/4.0.3 - HTTP Status 404 - 
/servlet/SnoopServlet is not available.

I'm using mod_jk and AJP 13 on Port 8009.

The server.xml file got the following entries :

--

  Host name=domain.com
  Context path= docBase=/var/www/host2/html reloadable=true
debug=0/
  /Host
  Host name=100.100.100.100 = the static IP-address of domain
  Context path= docBase=/var/www/host2/html reloadable=true
debug=0/
  /Host
  Host name=domain2.com
  Context path= docBase=/var/www/host3/html reloadable=true
debug=0/
  /Host
  Host name=200.200.200.200 = the static IP-address of domain2 
  Context path= docBase=/var/www/host3/html reloadable=true
debug=0/
  /Host


mod_jk.conf :

IfModule mod_jk.c

JkWorkersFile /etc/httpd/conf/workers.properties
JkLogFile /var/log/httpd/mod_jk.log
JkLogLevel error

# Root context mounts for Tomcat
#
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13
JkMount /examples/* ajp13

workers.properties :

workers.tomcat_home=/var/tomcat4
workers.java_home=/usr/java/jdk1.3.1_02

worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13

httpd.conf :

LoadModule jk_module   modules/mod_jk.so
AddModule mod_jk.c

IfModule mod_jk.c
Include /etc/httpd/conf/mod_jk.conf
/IfModule

# Setup Tomcat
Location ~ .*/WEB-INF/
  AllowOverride None
  deny from all
/Location

I created in each virtual host directory
WEB-INF
WEB-INF/classes
WEB-INF/lib
and copied the web.xml to
WEB-INF/web.xml

The SnoopServlet.class is located here :
/var/www/host2/html/WEB-INF/classes/SnoopServlet.class

It's not running. I have no success :-(

What's my fault ?

I would say Tomcat cannot allocate the servlet instance for path 
/servlet/SnoopServlet

Why ?

Thank you,
Mark Wollner


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




pache Tomcat/4.0.3 - HTTP Status 404 - /servlet/SnoopServlet is not available.

2002-03-12 Thread Hostmaster of the day

You are welcome !

Yes I have :

WebAppConnection conn  warp  localhost:8008
WebAppDeploy /var/www/host2/html/ conn /

Could line 2 be the error ?

--Mark

 
 OK let's try once again :-) Apologize for the previous dumb email.
 Anyway, maybe a stupid question :-) but have you configured your
virtual
 host in the httpd.conf. Something like this
 
 VirtualHost 100.100.100.100
 ServerAdmin [EMAIL PROTECTED]
 DocumentRoot /var/www/host2/html
 ServerName domain.com
 WebAppConnection conn warp localhost:8008
 WebAppDeploy _ conn /
 ErrorLog logs/domain.com-error_log
 CustomLog logs/domain.com-access_log common
 /VirtualHost
 
 And your server.xml (atleast for domain.com):
 Host name=domain.com
 Context path= docBase=/var/www/host2/html reloadable=true
debug
 =0/
 /Host
 
 
 Hope this helps.
 RS
 
 
 
 
 
 Hostmaster of the day [EMAIL PROTECTED] on 03/12/2002
11:35:23 AM
 
 Please respond to Tomcat Users List
[EMAIL PROTECTED]
 
 To:   [EMAIL PROTECTED]
 cc:
 
 Subject:  Apache Tomcat/4.0.3 - HTTP Status 404 -
/servlet/SnoopServlet is
   not available.
 
 Hello ...
 
 I'm writing again asking again for some help.
 
 In the meanwhile I changed from mod_jk to mod_webapps
 but I still receive the same error message. The logs in
 /var/tomcat4/logs/. are looking pretty good.
 
 http://localhost:8080 is working great.
 Tomcat 4.0.3 is working great.
 Apache 1.3.20 is working great.
 
 But http://IP-address/servlet/SnoopServlet
 or http://www.domain.com/servlet/SnoopServlet
 not at all ! Status 404 = description
 The requested resource (/servlet/SnoopServlet) is not available.
 
 It is there ... definetely - uurgh
 
 Please don't let me down. I'll loose my job if
 I'm unable to fix that stupid problem.
 
 Thanks,
 Mark Wollner
 
 ---
 
 Hi there !
 
 The installation of Tomcat 4.0.3 either as RPM or tar.gz
 is a very easy job. But only for the serverhost.
 
 During the past three days I tried to implement two
 virtual hosts into Tomcat-Apache without any success.
 
 Error message :
 
 Apache Tomcat/4.0.3 - HTTP Status 404 -
 /servlet/SnoopServlet is not available.
 
 I'm using mod_jk and AJP 13 on Port 8009.
 
 The server.xml file got the following entries :
 
 --
 
   Host name=domain.com
   Context path= docBase=/var/www/host2/html reloadable=true
 debug=0/
   /Host
   Host name=100.100.100.100 = the static IP-address of domain
   Context path= docBase=/var/www/host2/html reloadable=true
 debug=0/
   /Host
   Host name=domain2.com
   Context path= docBase=/var/www/host3/html reloadable=true
 debug=0/
   /Host
   Host name=200.200.200.200 = the static IP-address of domain2
   Context path= docBase=/var/www/host3/html reloadable=true
 debug=0/
   /Host
 
 
 mod_jk.conf :
 
 IfModule mod_jk.c
 
 JkWorkersFile /etc/httpd/conf/workers.properties
 JkLogFile /var/log/httpd/mod_jk.log
 JkLogLevel error
 
 # Root context mounts for Tomcat
 #
 JkMount /*.jsp ajp13
 JkMount /servlet/* ajp13
 JkMount /examples/* ajp13
 
 workers.properties :
 
 workers.tomcat_home=/var/tomcat4
 workers.java_home=/usr/java/jdk1.3.1_02
 
 worker.ajp13.port=8009
 worker.ajp13.host=localhost
 worker.ajp13.type=ajp13
 
 httpd.conf :
 
 LoadModule jk_module   modules/mod_jk.so
 AddModule mod_jk.c
 
 IfModule mod_jk.c
 Include /etc/httpd/conf/mod_jk.conf
 /IfModule
 
 # Setup Tomcat
 Location ~ .*/WEB-INF/
   AllowOverride None
   deny from all
 /Location
 
 I created in each virtual host directory
 WEB-INF
 WEB-INF/classes
 WEB-INF/lib
 and copied the web.xml to
 WEB-INF/web.xml
 
 The SnoopServlet.class is located here :
 /var/www/host2/html/WEB-INF/classes/SnoopServlet.class
 
 It's not running. I have no success :-(
 
 What's my fault ?
 
 I would say Tomcat cannot allocate the servlet instance for path
 /servlet/SnoopServlet
 
 Why ?
 
 Thank you,
 Mark Wollner
 
 
 --
 To unsubscribe:
mailto:[EMAIL PROTECTED]
 For additional commands:
mailto:[EMAIL PROTECTED]
 Troubles with the list:
mailto:[EMAIL PROTECTED]
 
 
 
 
 
 
 
 
 
 --
 To unsubscribe:
mailto:[EMAIL PROTECTED]
 For additional commands:
mailto:[EMAIL PROTECTED]
 Troubles with the list:
mailto:[EMAIL PROTECTED]
 


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Apache Tomcat/4.0.3 - HTTP Status 404 - /servlet/SnoopServlet is not available.

2002-03-11 Thread Hostmaster of the day

Hi there !

The installation of Tomcat 4.0.3 either as RPM or tar.gz
is a very easy job. But only for the serverhost.

During the past three days I tried to implement two
virtual hosts into Tomcat-Apache without any success.

Error message :

Apache Tomcat/4.0.3 - HTTP Status 404 - 
/servlet/SnoopServlet is not available.

I'm using mod_jk and AJP 13 on Port 8009.

The server.xml file got the following entries :

--

  Host name=domain.com
  Context path= docBase=/var/www/host2/html reloadable=true
debug=0/
  /Host
  Host name=100.100.100.100 = the static IP-address of domain
  Context path= docBase=/var/www/host2/html reloadable=true
debug=0/
  /Host
  Host name=domain2.com
  Context path= docBase=/var/www/host3/html reloadable=true
debug=0/
  /Host
  Host name=200.200.200.200 = the static IP-address of domain2 
  Context path= docBase=/var/www/host3/html reloadable=true
debug=0/
  /Host


mod_jk.conf :

IfModule mod_jk.c

JkWorkersFile /etc/httpd/conf/workers.properties
JkLogFile /var/log/httpd/mod_jk.log
JkLogLevel error

# Root context mounts for Tomcat
#
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13
JkMount /examples/* ajp13

workers.properties :

workers.tomcat_home=/var/tomcat4
workers.java_home=/usr/java/jdk1.3.1_02

worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13

httpd.conf :

LoadModule jk_module   modules/mod_jk.so
AddModule mod_jk.c

IfModule mod_jk.c
Include /etc/httpd/conf/mod_jk.conf
/IfModule

# Setup Tomcat
Location ~ .*/WEB-INF/
  AllowOverride None
  deny from all
/Location

I created in each virtual host directory
WEB-INF
WEB-INF/classes
WEB-INF/lib
and copied the web.xml to
WEB-INF/web.xml

The SnoopServlet.class is located here :
/var/www/host2/html/WEB-INF/classes/SnoopServlet.class

It's not running. I have no success :-(

What's my fault ?

I would say Tomcat cannot allocate the servlet instance for path 
/servlet/SnoopServlet

Why ?

Thank you,
Mark Wollner


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Apache Tomcat/4.0.3 - HTTP Status 503 - Servlet SendMailServlet is currently unavailable

2002-03-05 Thread Hostmaster of the day

Apache Tomcat/4.0.3 - HTTP Status 503 - 
Servlet SendMailServlet is currently unavailable

Tomcat 4.0.3 is very nice. The best you can
get 6,000 miles around. Thank you very much.

But where is the SendMailServlet ?

Forgotten ?

Cheers,
Mark Wollner


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Tomcat 3.3a

2002-02-27 Thread Hostmaster of the day

I installed Tomcat 3.3 several times successfully
on RedHat 7.2 systems.

Tomcat 3.3a against it got the following error messages :

/etc/init.d/tomcat3: /etc/tomcat3/conf/tomcat3.conf: line 27: 
unexpected EOF while looking for matching `'
/etc/init.d/tomcat3: /etc/tomcat3/conf/tomcat3.conf: line 37: 
syntax error: unexpected end of file

I've never seen such error before.

What can I do to get rid of that problem.

I can't find an error on line 27 or 37 :-(

-- Mark Wollner


P.S.: Are there no Tomcat archives available ?


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Tomcat 4.0.1 and Cold Fusion 5 Server

2001-12-19 Thread Hostmaster of the day

Cold Fusion 5 Server is installed on our new RH 7.2 machine.

I'd like to install Tomcat 4.0.1, too.

Is this problemfree possible or do I have to expect
heavy software conflicts.

Thank you for some advice.

--Mark


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




javax.servlet.ServletException

2001-11-03 Thread Hostmaster of the day

I'm still trying to remote access to our mySQL database in Baltimore.

The following error occurs

Cannot connect to MySQL server on www.domain.com:3306. Is there a
MySQL server running on the machine/port you are trying to connect
to? (java.security.AccessControlException)

Yes of course it is.

I tried to modify the tomcat.policy file as follows :

permission java.net.SocketPermission
IP-address:1024-,accept,listen,resolve;

But this code gets lost after the next Tomcat 3.2.1 restart

I don't know what I could do to get rid of that problem.

Your help would really be appreciated.

Thank you very much,
Mark (HotD*)


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




JSP-JDBC-Problem

2001-10-25 Thread Hostmaster of the day

Hi there !

I got the following problem :

Our Tomcat 3.2.1 (RH 6.2) server is located in New York.
twz1jdbcForMysql-1.0.4-GA is installed.

Our mySQL 3.23. (RH 6.1) server is located in Baltimore.
Remote '%' access is enabled.

I'm trying to access from our NY server to the mySQL db in
Baltimore using : 

databaseURL =
jdbc:z1MySQL://www.domain.com:3306/database?user=correctuserpassword=
**;

All I get is an Internal Servlet Error
javax.servlet.ServletException: The url cannot be null

I don't know what this mean.

What is my fault and what can I do against it.

Thank you,
HotD*