You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by "Liu, Xiaoyan" <xl...@CapitalThinking.com> on 2001/06/05 22:11:29 UTC

Always invalid command from Tomcat

Hi,

(This maybe off the track). I'm trying to run 'newapp' with 
tomcat-4.0 and Turbine 2.1b. However, I always get 'Invalid
command' from tomcat when access turbine urls like:
http://localhost:8005/site/index.html  even though 'site'
is defined in conf/server.xml.  

What's possibly going wrong?

=====================================
Using CATALINA_HOME: /home/xliu/Apache/jakarta-tomcat-4.0-b5
Starting service Tomcat-Standalone
Apache Tomcat/4.0-b5
Starting service Tomcat-Apache
Apache Tomcat/4.0-b5
StandardServer.await: Invalid command 'GET / HTTP/1.0' received
StandardServer.await: Invalid command 'GET /site/index.html HTTP/1.0'
received
======================================

Thanks.


-yan

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


Re: Always invalid command from Tomcat

Posted by John McNally <jm...@collab.net>.
port 8005 is defined as the port the server is listening on for commands
such as "Shutdown".  8080 is the port defined for listening to the http
requests related to the application.

john mcnally

Jason van Zyl wrote:
> 
> "Liu, Xiaoyan" wrote:
> >
> > Hi,
> >
> > (This maybe off the track). I'm trying to run 'newapp' with
> > tomcat-4.0 and Turbine 2.1b. However, I always get 'Invalid
> > command' from tomcat when access turbine urls like:
> > http://localhost:8005/site/index.html  even though 'site'
> 
>                    ^^^^
> 
> That's supposed to be 8080 if your using the TDK
> out of the box. Where did you get 8005?
> 
> > is defined in conf/server.xml.
> >
> > What's possibly going wrong?
> 
> >
> > =====================================
> > Using CATALINA_HOME: /home/xliu/Apache/jakarta-tomcat-4.0-b5
> > Starting service Tomcat-Standalone
> > Apache Tomcat/4.0-b5
> > Starting service Tomcat-Apache
> > Apache Tomcat/4.0-b5
> > StandardServer.await: Invalid command 'GET / HTTP/1.0' received
> > StandardServer.await: Invalid command 'GET /site/index.html HTTP/1.0'
> > received
> > ======================================
> >
> > Thanks.
> >
> > -yan
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: turbine-user-help@jakarta.apache.org
> 
> --
> jvz.
> 
> Jason van Zyl
> jvanzyl@apache.org
> 
> http://jakarta.apache.org/velocity
> http://jakarta.apache.org/turbine
> http://jakarta.apache.org/commons
> http://tambora.zenplex.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


Re: Always invalid command from Tomcat

Posted by Jason van Zyl <jv...@apache.org>.
"Liu, Xiaoyan" wrote:
> 
> Hi,
> 
> (This maybe off the track). I'm trying to run 'newapp' with
> tomcat-4.0 and Turbine 2.1b. However, I always get 'Invalid
> command' from tomcat when access turbine urls like:
> http://localhost:8005/site/index.html  even though 'site'

                   ^^^^

That's supposed to be 8080 if your using the TDK
out of the box. Where did you get 8005?

> is defined in conf/server.xml.
> 
> What's possibly going wrong?



> 
> =====================================
> Using CATALINA_HOME: /home/xliu/Apache/jakarta-tomcat-4.0-b5
> Starting service Tomcat-Standalone
> Apache Tomcat/4.0-b5
> Starting service Tomcat-Apache
> Apache Tomcat/4.0-b5
> StandardServer.await: Invalid command 'GET / HTTP/1.0' received
> StandardServer.await: Invalid command 'GET /site/index.html HTTP/1.0'
> received
> ======================================
> 
> Thanks.
> 
> -yan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org

-- 
jvz.

Jason van Zyl
jvanzyl@apache.org

http://jakarta.apache.org/velocity
http://jakarta.apache.org/turbine
http://jakarta.apache.org/commons
http://tambora.zenplex.org

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org