[Logo] Serotonin Software Community
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
404 after installation  XML
Forum Index » Mango installation
Author Message
jjconti

Initiate

Joined: 05/04/2010 10:18:32
Messages: 53
Offline

I've installed java, tomcat and mango. When running tomcat, as explained in the download page, I get this error in the brwoser:

Estado HTTP 404 -

type Informe de estado

mensaje

descripción El recurso requerido () no está disponible.

Apache Tomcat/6.0.20

and this in the tomcat terminal:

INFO: Server startup in 28213 ms
05/04/2010 15:48:27 org.apache.jk.common.MsgAjp processHeader
GRAVE: BAD packet signature 18245
05/04/2010 15:48:27 org.apache.jk.common.ChannelSocket processConnection
GRAVE: Error, processing connection
java.lang.IndexOutOfBoundsException
at java.io.BufferedInputStream.read(BufferedInputStream.java:310)
at org.apache.jk.common.ChannelSocket.read(ChannelSocket.java:621)
at org.apache.jk.common.ChannelSocket.receive(ChannelSocket.java:57
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.ja
va:686)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSock
et.java:891)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:690)
at java.lang.Thread.run(Thread.java:619)

What can be happening?
mlohbihler

Master
[Avatar]

Joined: 01/03/2007 22:48:52
Messages: 1454
Offline

See here: http://www.coderanch.com/t/88061/Tomcat/Tomcat-Error-SEVERE-BAD-packet

Best regards,
Matthew Lohbihler
jjconti

Initiate

Joined: 05/04/2010 10:18:32
Messages: 53
Offline

I've looked at the page you pointed me but that couldn't help me.

When I restart Tomcat, I see this in the std output:

$ service tomcat6 restart
You need root privileges to run this script
kimera@kimi:/usr/lib/j2sdk1.6-sun$ sudo service tomcat6 restart
* Stopping Tomcat servlet engine tomcat6 [ OK ]
* Starting Tomcat servlet engine tomcat6 Using CATALINA_BASE: /var/lib/tomcat6
Using CATALINA_HOME: /usr/share/tomcat6
Using CATALINA_TMPDIR: /tmp/tomcat6-tmp
Using JRE_HOME: /usr/lib/jvm/java-6-openjdk
Using CLASSPATH: /usr/share/tomcat6/bin/bootstrap.jar
[ OK ]

Is there a problem with the value set to JRE_HOME? It's pointing to open java rather than to sun java. I tried to chage it with export but I wasnt able.
mlohbihler

Master
[Avatar]

Joined: 01/03/2007 22:48:52
Messages: 1454
Offline

I would investigate this message first:

You need root privileges to run this script

Best regards,
Matthew Lohbihler
mlohbihler

Master
[Avatar]

Joined: 01/03/2007 22:48:52
Messages: 1454
Offline

Ah, ok, so you ran it with sudo right after... Open JDK should be fine. I would suggest trying a JDK instead of the JRE. Not sure if that will help.


Best regards,
Matthew Lohbihler
jjconti

Initiate

Joined: 05/04/2010 10:18:32
Messages: 53
Offline

Solved. I was missing chwon to tomcat6.
 
Forum Index » Mango installation
Go to:   
Powered by JForum 2.1.9 © JForum Team