RE: tomcat apache configuration

2002-01-09 Thread Michael Wentzel

> I am encountering a problem with tomcat 3.2.3 running 
> standalone on windows
> NT
> 
> In all jsp I have some gif images and some js files being accessed...
> now on the Tomcat console window, the below mentioned kind of 
> exception is
> being displayed though on the browser there is no problem on the page
> 
> Like on this page I am accessing 2 files date-picker.js  and
> ValidateESRSearch.js 
> 2002-01-09 17:16:44 - Ctx( /testapp ): IOException in: R( /testapp +
> /Validatelogin.js + null) socket write error (code=10053)
> 2002-01-09 17:16:44 - Ctx( /testapp ): IOException in: R( /testapp +
> /scripts/ValidateESR.js + null) socket write error (code=10053)
> 
> Now the problem is how to suppress theze exception or remove it
> All the images  are in the "images" sub folder in main folder 
> "/testapp "
> All the js scripts are in the "scripts" sub folder in main 
> folder "/testapp
> "
> 
> I am unable to understand why this socket write error is 
> being displayed

The reason for the exception is the browser determines it can use a cached
version of the file and ends the request for that file.  Tomcat has no way
of knowing if the problem is an error or not so it displays the IOException.

I'm not sure what logging level to use but I believe changing the logging
verbosity can remove these messages.


---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: tomcat apache configuration

2002-01-09 Thread Singal, Hemant (CAP, GCF, SATYAM, CONTRACTOR)

I am encountering a problem with tomcat 3.2.3 running standalone on windows
NT

In all jsp I have some gif images and some js files being accessed...
now on the Tomcat console window, the below mentioned kind of exception is
being displayed though on the browser there is no problem on the page

Like on this page I am accessing 2 files date-picker.js  and
ValidateESRSearch.js 
2002-01-09 17:16:44 - Ctx( /testapp ): IOException in: R( /testapp +
/Validatelogin.js + null) socket write error (code=10053)
2002-01-09 17:16:44 - Ctx( /testapp ): IOException in: R( /testapp +
/scripts/ValidateESR.js + null) socket write error (code=10053)

Now the problem is how to suppress theze exception or remove it
All the images  are in the "images" sub folder in main folder "/testapp "
All the js scripts are in the "scripts" sub folder in main folder "/testapp
"

I am unable to understand why this socket write error is being displayed



--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: tomcat apache configuration

2002-01-09 Thread Michael Wentzel

> Hello, 
> I had earlier tomcat 3.2.3 standalone with me running fine 
> where in I could
> all the application context in server.xml file.
> now I want to upgrade to Tomcat 3.3  but I find there is no 
> place where I
> can add the context for the new webapps in th server.xml config file
> also I am intersted in configuring Apache1.3.22 with Tomcat3.3
> Pls let me know  step by step procedure for the same

I think you need to start by reading the documentation!  First off if
you don't understand the basics of configuring Tomcat you will never
be able to fine tune it to your specific needs.  Secondly, all of this
information is provided in the docs therefore no reason to repeat it
here.

Sorry if this seems harsh but that's the facts.  The true purpose, at
least in my opinion, of this list is for help with problems not tutorials.


---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: Tomcat-Apache configuration

2001-06-18 Thread Sam Newman

Read the mod_jk howto included with the documentation. Its fairly
straightforward. If you have problems after following the docs, post to the
list - loads of us have done this so there will be plenty of people around
who can help.

sam
- Original Message -
From: "Shicheng TIAN(CMS)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 18, 2001 2:33 PM
Subject: Tomcat-Apache configuration


>
> Hello there,
> We have installed Tomcat 4.0 on our PC running Win2000;
> Tomcat works fine itself.
>
> We have the following two queries and would like to get advice from the
list:
>
> 1. How to configure Tomcat so that it can work together
> with the Web server running at the same PC, which is Apache 1.3,
> i.e. Apache would pass servlet calls to Tomcat which would process the
calls
> and then return the result bact to Apache?
>
> 2. Tomcat is installed on the PC at: C:\tomcat and its doc root at:
> C:\tomcat\webapps\ROOT;
> we wonder how to configure a remote mapping so that we can put some test
> files/code on
> another drive of the same PC, e.g. on the D drive at: D:\Test
>
> Thanks,
>
> Shicheng
>




RE: Tomcat-Apache configuration

2001-06-18 Thread David DELGRANCHE

Just read the documentation on Tomcat all these things are explained!

-Message d'origine-
De: Shicheng TIAN(CMS) [SMTP:[EMAIL PROTECTED]]
Date:   lundi 18 juin 2001 15:34
A:  [EMAIL PROTECTED]
Objet:  Tomcat-Apache configuration


Hello there,
We have installed Tomcat 4.0 on our PC running Win2000;
Tomcat works fine itself.

We have the following two queries and would like to get advice from the list:

1. How to configure Tomcat so that it can work together
with the Web server running at the same PC, which is Apache 1.3,
i.e. Apache would pass servlet calls to Tomcat which would process the calls
and then return the result bact to Apache?

2. Tomcat is installed on the PC at: C:\tomcat and its doc root at:
C:\tomcat\webapps\ROOT;
we wonder how to configure a remote mapping so that we can put some test
files/code on
another drive of the same PC, e.g. on the D drive at: D:\Test

Thanks,

Shicheng 




Re: Tomcat-Apache configuration (mod_jk)

2000-12-03 Thread jun xu sun

hi, there, when I tried to compile mod_jk.so on Solaris, I got error:

apxs:Break: Command failed with rc=16777215
how come to this? who can help me?
thanks a lot.

rgds
brent

-Original Message-
From: Dave Emerson <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Sunday, December 03, 2000 8:01 AM
Subject: Tomcat-Apache configuration (mod_jk)


>I'm having a problem getting mod_jk to work for me.  I've carefully
>followed all the steps in mod_jk-howto, tomcat-apache-howto, etc and I've
>had it all working in the past.  Tomcat works fine via port 8080.  Apache
>also seems to work fine.  My configuration is:
>
>Win2K
>Apache 1.3.14
>Tomcat 3.2
>
>httpd.conf, server.xml, and workers.properties are only minimally changed
>from the distribution version.
>
>I get the following to stderr when I try to access
http://localhost/servlet/ :
>
>2000-12-03 08:12:10 - Ctx(  ): 404 R(  + /servlet/ + null) null
>
>Does anybody have a suggestion on where I should look next?
>Thanks.
>




RE: TOMCAT-APACHE configuration problem. (fwd)

2000-11-29 Thread Stubenrauch,Andreas

As the old saying goes: ClassNotFound is always right!

Your tomcat can't find the class coreservlets.ShowParameters you are trying
to use.
Put it in a propper place. See various discussions about "classpath" in
archives

Beside that your errorlogs look like you have a major config jam (look at
those file not founds)

> -Original Message-
> From: Shriranga K Kulkarni [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 29, 2000 11:49 AM
> To: [EMAIL PROTECTED]
> Subject: TOMCAT-APACHE configuration problem. (fwd)
> 
> 
> 
> Hello All,
> 
>   I am getting the following error while loading a servlet through
> TOMCAT-APACHE configuration. Following is the configuration 
> file in which
> the error is also highlighted. Can any one help me in solving this.
> Thanks in advance
> Sriranga.
> 
> 
> Context log: path="/examples" Adding context path="/examples" 
>  docBase="webapps
> /examples"
> Context log: path="" Adding context path=""  docBase="webapps/ROOT"
> Context log: path="/test" Adding context path="/test"  
> docBase="webapps/test"
> Starting tomcat install="/sriranga/tomcat/jakarta-tomcat" 
> home="/sriranga/tomcat/jakarta-tomcat" classPath=".:
> /sriranga/tomcat/jakarta-tomcat/lib/ant.jar:/sriranga/tomcat/j
> akarta-tomcat/
> lib/jasper.jar:/sriranga/tomcat/jakarta-tomcat/lib/servlet.jar
> :/sriranga/
> tomcat/jakarta-tomcat/lib/test:/sriranga/tomcat/jakarta-tomcat/lib/
> webserver.jar:/sriranga/tomcat/jakarta-tomcat/lib/xml.jar:
> /sriranga/jdk1.2.2/lib/tools.jar:/sriranga/jdk1.2.2/lib/tools.jar"
> Context log: path="/admin" Automatic context load 
> docBase="/sriranga/tomcat/
> jakarta-tomcat/webapps/admin"
> Context log: path="/admin" Adding context path="/admin"  
> docBase="/sriranga/
> tomcat/jakarta-tomcat/webapps/admin"
> Context log: path="/coreservlets" Automatic context load 
> docBase="/sriranga/
> tomcat/jakarta-tomcat/webapps/coreservlets"
> Context log: path="/coreservlets" Adding context 
> path="/coreservlets"  docBase=
> "/sriranga/tomcat/jakarta-tomcat/webapps/coreservlets"
> Context log: path="/admin" File not found /sriranga/tomcat/
> jakarta-tomcat/webapps/admin/WEB-INF/web.xml, using only defaults
> Context log: path="/examples" File not found 
> /sriranga/tomcat/jakarta-tomcat/
> webapps/examples/WEB-INF/web.xml, using only defaults
> Context log: path="/coreservlets" File not found /sriranga/tomcat/
> jakarta-tomcat/webapps/coreservlets/WEB-INF/web.xml, using 
> only defaults
> Context log: path="/test" File not found 
> /sriranga/tomcat/jakarta-tomcat/
> webapps/test/WEB-INF/web.xml, using only defaults
> Context log: path="" File not found 
> /sriranga/tomcat/jakarta-tomcat/webapps/
> ROOT/WEB-INF/web.xml, using only defaults
> Starting endpoint port="8080" handler="org.apache.tomcat.service.http.
> HttpConnectionHandler" 
> Starting endpoint port="8007" 
> handler="org.apache.tomcat.service.connector.
> Ajp12ConnectionHandler" 
> Context log: path="" Class Not Found in init
>  java.lang.ClassNotFoundException: coreservlets.ShowParameters
>   at 
> org.apache.tomcat.loader.AdaptiveClassLoader.loadClass(Adaptiv
> eClassLoader.java:450)
>   at 
> org.apache.tomcat.loader.AdaptiveServletLoader.loadClass(Adapt
> iveServletLoader.java:141)
>   at 
> org.apache.tomcat.core.ServletWrapper.initServlet(ServletWrapp
> er.java:294)
>   at 
> org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWra
> pper.java:445)
>   at 
> org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWra
> pper.java:597)
>   at 
> org.apache.tomcat.servlets.InvokerServlet.service(InvokerServl
> et.java:257)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>   at 
> org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWra
> pper.java:503)
>   at 
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
>   at 
> org.apache.tomcat.service.http.HttpConnectionHandler.processCo
> nnection(HttpConnectionHandler.java:160)
>   at 
> org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEnd
> point.java:338)
>   at java.lang.Thread.run(Thread.java:475)
>   
> 
> 
> 
> 



RE: Tomcat-Apache configuration

2000-11-22 Thread GOMEZ Henri



 

  Hi. I'm trying to get the latest Tomcat and 
  Apache running together on a Red Hat Linux 7.0 server. Although I have gone 
  over the online documentation plenty of times, I am not sure where to find the 
  mod_jserv.so or the mod_jk.so files that the Tomcat-Apache HOWTO html says I 
  need to get. It says that the files "are 
  available for Linux and Win32 under the bin directory where you obtained the 
  Tomcat distribution file."
   
  Does anyone happen to know where either of these 
  files are located?
   
  I'm producing RPMs 
  for at least 6 month for misc Apache projects (cocoon, xalan, xerces, 
  tomcat).
  As a Redhat users 
  (Mandrake and Suse are welcome), you could use DIRECTLY my RPM 
  :-)
   
  http://rpmized.free.fr
   
   
  REGARDS
   


Re: Tomcat-Apache configuration

2000-11-22 Thread Jeremy Howard

Matt,

Here is the link on apache's site.

http://jakarta.apache.org/builds/tomcat/release/v3.2-beta-8/bin/linux/i386

Jeremy Howard


On Tue, 21 Nov 2000, you wrote:
> 
> Hi. I'm trying to get the latest Tomcat and Apache running together on a Red Hat 
>Linux 7.0 server. Although I have gone over the online documentation plenty of times, 
>I am not sure where to find the mod_jserv.so or the mod_jk.so files that the 
>Tomcat-Apache HOWTO html says I need to get. It says that the files "are available 
>for Linux and Win32 under the bin directory where you obtained the Tomcat 
>distribution file."
> 
> Does anyone happen to know where either of these files are located?
> 
> Thanks!
> 
> 
> 
> 
> Matt Becker
> 
> 


Content-Type: text/html; name="unnamed"
Content-Transfer-Encoding: quoted-printable
Content-Description: 




Re: Tomcat-Apache configuration

2000-11-22 Thread Boszormenyi Laszlo

Hi!

On Tue, 21 Nov 2000, Matt Becker wrote:

> Does anyone happen to know where either of these files are located?
 http://jakarta.apache.org/builds/tomcat/release/v3.1/bin/linux/i386/
If you have Linux, and you mean the last _stable_ release of tomcat.

Bye, Laszlo