[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 
login.htm  XML
Forum Index » Mango installation
Author Message
skunkworks

Initiate

Joined: 21/03/2010 06:27:06
Messages: 9
Offline

Trying to install on ubuntu.. but the only messages i get then i go to the page is

type Status report

message /mango/login.htm

description The requested resource (/mango/login.htm) is not available.

Any?
mlohbihler

Master
[Avatar]

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

Are there any messages in the tomcat console when you start it up?

Best regards,
Matthew Lohbihler
skunkworks

Initiate

Joined: 21/03/2010 06:27:06
Messages: 9
Offline

I start using /etc/init.d/tomcat6 and no error.

There is no login.htm in the mango dir.. Is that normal?
mlohbihler

Master
[Avatar]

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

Yes, that's normal. It's a virtual page.

Can you check the Tomcat log files?

Best regards,
Matthew Lohbihler
skunkworks

Initiate

Joined: 21/03/2010 06:27:06
Messages: 9
Offline

/var/log/tomcat6 is empty..

Right now i am reinstalling tomcat and mango. Then i look in the forum is there diffren info about Ubuntu..

The test page for tomcat was working..
mlohbihler

Master
[Avatar]

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

There is also a <tomcat_home>/logs directory.

Best regards,
Matthew Lohbihler
skunkworks

Initiate

Joined: 21/03/2010 06:27:06
Messages: 9
Offline

I have looked everyware no logg files... Time to RTFM..

Is there any setting for debug info?

This message was edited 1 time. Last update was at 21/03/2010 16:16:30

skunkworks

Initiate

Joined: 21/03/2010 06:27:06
Messages: 9
Offline

the Mango app is not in the manager.. Is that OK??
apl

Initiate

Joined: 08/05/2009 13:22:03
Messages: 175
Offline

Hi,

/var/lib/tomcat6 is not writable by user tomcat6 so creating of the derby database will fail!.

workaroud :
Edit /var/lib/tomcat6/webapps/ROOT/WEB-INF/classes/env.properties
change the line
db.url=~/../../mangoDB

to
db.url=~/../../mangoDB/mangoDB


Edit /var/lib/tomcat6/webapps/ROOT/WEB-INF/classes/log4j.xml
change the line
<param name="File" value="../logs/mango.log"/>

to the absolute path
<param name="File" value="/var/lib/tomcat6//logs/mango.log"/>


make sure that tomcat runs with no security and with the sun-jdk both configured in /etc/init.d/tomcat6

restrat tomcat


open mango with:
http://localhost:8080/login.htm

this should work, if not clear out /var/lib/tomcat6//logs and restart tomcat.
look for hints in the log or post them.

Arnr
skunkworks

Initiate

Joined: 21/03/2010 06:27:06
Messages: 9
Offline

this
http://192.168.73.5:8080/manager/reload?path=/mango/

Gives this

FAIL - No context exists for path /mango/

OK??
apl

Initiate

Joined: 08/05/2009 13:22:03
Messages: 175
Offline

If you want to do it this way try:

Try http://192.168.73.5:8080/manager/reload?path=/

there is no path mango if you unpack mango in ROOT it is the root.

what happens if you follow the (setup) steps from my last post?

Arne
apl

Initiate

Joined: 08/05/2009 13:22:03
Messages: 175
Offline

@mlohbihler

Maybe you change the line

<param name="File" value="../logs/mango.log"/>


to the CATALANIA_BASE path

<param name="File" value="${catalina.base}/logs/mango.log"/>

this should work on all systems - base points to the running instance of tomcat whereas ${catalina.home} points to the shared directory. ON Window both dirs should be the same... Someon may check these.

Arne
mlohbihler

Master
[Avatar]

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

Sure, we'll give it a try.

Best regards,
Matthew Lohbihler
skunkworks

Initiate

Joined: 21/03/2010 06:27:06
Messages: 9
Offline

Tanks for the support!!

I have tried everything but still no mongo..

In the log i now have two files
localhost.{date}.log <-- Empty

catalina.{date}.log

------------------------------
micke@wilma:/var/log/tomcat6$ sudo cat catalina.2010-03-22.log
2010-mar-22 17:54:19 org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/i386:/lib:/usr/lib
2010-mar-22 17:54:19 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
2010-mar-22 17:54:19 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1097 ms
2010-mar-22 17:54:19 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
2010-mar-22 17:54:19 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
2010-mar-22 17:54:20 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
2010-mar-22 17:54:20 org.apache.jk.common.ChannelSocket init
INFO: Port busy 8009 java.net.BindException: Address already in use
2010-mar-22 17:54:20 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8010
2010-mar-22 17:54:20 org.apache.jk.server.JkMain start
INFO: Jk running ID=1 time=0/102 config=null
2010-mar-22 17:54:20 org.apache.catalina.startup.Catalina start
INFO: Server startup in 1362 ms
2010-mar-22 18:00:57 org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
2010-mar-22 18:00:58 org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
2010-mar-22 18:00:58 org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
2010-mar-22 18:01:10 org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/i386:/lib:/usr/lib
2010-mar-22 18:01:10 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
2010-mar-22 18:01:10 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1095 ms
2010-mar-22 18:01:10 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
2010-mar-22 18:01:10 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
2010-mar-22 18:01:11 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
2010-mar-22 18:01:11 org.apache.jk.common.ChannelSocket init
INFO: Port busy 8009 java.net.BindException: Address already in use
2010-mar-22 18:01:11 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8010
2010-mar-22 18:01:11 org.apache.jk.server.JkMain start
INFO: Jk running ID=1 time=0/102 config=null
2010-mar-22 18:01:11 org.apache.catalina.startup.Catalina start
INFO: Server startup in 1383 ms
micke@wilma:/var/log/tomcat6$
mlohbihler

Master
[Avatar]

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

INFO: Port busy 8009 java.net.BindException: Address already in use


Do you have another application running that is listening on port 8009?

This message was edited 1 time. Last update was at 22/03/2010 13:05:43


Best regards,
Matthew Lohbihler
 
Forum Index » Mango installation
Go to:   
Powered by JForum 2.1.9 © JForum Team