You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Julien OIX <ju...@presidence.univ-nantes.fr> on 2001/12/18 15:39:59 UTC

looking for solutions ...

hi,

   I can't find the solution ....
    May U help me ?


My environment:
    Linux RedHat 7.1
    and these RPMs

        apache-1.3.22-1.7.1

        tomcat4-4.0-1
        tomcat4-webapps-4.0-1
        mod_webapp-1.0-1

        jdk-1.3.1_01-fcs

Some important lines of my httpd.conf

    WebAppConnection warpConnection warp localhost:8008
    WebAppDeploy examples warpConnection /examples/
    WebAppDeploy manager warpConnection /manager/
    WebAppDeploy webdav warpConnection /webdav/

    ServerName localhost
    Port 80
    Port 8008

some lines of my server.xml

<Service name="Tomcat-Apache">

    <Connector
className="org.apache.catalina.connector.warp.WarpConnector"
     port="8008" minProcessors="5" maxProcessors="75"
     enableLookups="true"
     acceptCount="10" debug="0"/>

    <!-- Replace "localhost" with what your Apache "ServerName" is set
to -->
    <Engine className="org.apache.catalina.connector.warp.WarpEngine"
     name="Apache" defaultHost="localhost" debug="0" appBase="webapps">


         when I enter "http://localhost:8008"  or
"http://localhost:8008/examples" in my browser, the connection is
waiting and nothing happens ("blue screen ");

here is  what comes in my apache_log.txt

2001-12-18 15:21:05 [org.apache.catalina.connector.warp.WarpConnection]
Exception on socket
java.io.IOException: Premature packet header end
        at
org.apache.catalina.connector.warp.WarpConnection.recv(WarpConnection.java)

        at
org.apache.catalina.connector.warp.WarpRequestHandler.handle(WarpRequestHandler.java)

        at
org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java)

        at java.lang.Thread.run(Thread.java:484)

2001-12-18 15:23:18 [org.apache.catalina.connector.warp.WarpConnection]
Exception on socket
java.io.IOException: Premature packet payload end
        at
org.apache.catalina.connector.warp.WarpConnection.recv(WarpConnection.java)

        at
org.apache.catalina.connector.warp.WarpConfigurationHandler.handle(WarpConfigurationHandler.java)

        at
org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java)

        at java.lang.Thread.run(Thread.java:484)

thanks

--
Julien OIX
Service Informatique de Gestion
Tél: 02 40 99 83 65
mail: julien.oix@presidence.univ-nantes.fr



Manager: How to remotely get operating system etc. info

Posted by Hans Schlenker <ha...@first.fraunhofer.de>.
Hi!

We want to develop some distributed service based on Apache-TOMCAT 4.0.
We plan to use the amazing manager-service for remote installation of
new services, because we want to use off-the-shelf TOMCAT, installed by
some user and manually added some configuration to server.xml. Our
service itself should then be completely remote installed.

Our service needs a native (i.e. non-Java) library, that we need to
install remotely (this installation can be done by just copying files,
this is not the very problem). Two things are currently unclear:

- Is it possible to remotely install a new web application *containing
native libraries*?

- How can we remotely get the OS type TOMCAT is running on, to be able
to install the correct native libraries? (BTW: The more general solution
to this problem, to send an empty "GET / HTTP/1.0" request to any
standard HTTP server and to scan the info the server returns, does not
work with TOMCAT since it only returns TOMCAT version info.)

Any help would be appreciated!

Best regards,

Hans

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>