404 Error - OpenEMM 5.3 on SUSE

Use this forum for questions regarding installation, upgrading and configuration of OpenEMM

Moderator: moderator

markus
Posts: 31
Joined: Tue Oct 24, 2006 1:15 pm

404 Error - OpenEMM 5.3 on SUSE

Post by markus »

Hello all

I found some time to test the new version 5.3 of openemm.
After the installation I tried to access the web admin page (port 8081).
I got an error 404 with these exceptions:

Code: Select all

javax.servlet.UnavailableException: java.net.ConnectException: Connection
refused
	at org.apache.struts.action.ActionServlet.init(ActionServlet.java:402)
	at javax.servlet.GenericServlet.init(GenericServlet.java:69)
	at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:600)
	at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:154)
	at com.caucho.server.webapp.Application.start(Application.java:1604)
	at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:621)
	at com.caucho.server.deploy.DeployController.restartImpl(DeployController.java:584)
	at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.request(StartAutoRedeployAutoStrategy.java:125)
	at com.caucho.server.deploy.DeployController.request(DeployController.java:554)
	at com.caucho.server.webapp.ApplicationContainer.getApplication(ApplicationContainer.java:867)
	at com.caucho.server.webapp.ApplicationContainer.buildInvocation(ApplicationContainer.java:707)
	at com.caucho.server.host.Host.buildInvocation(Host.java:424)
	at com.caucho.server.host.HostContainer.buildInvocation(HostContainer.java:350)
	at com.caucho.server.resin.ServletServer.buildInvocation(ServletServer.java:616)
	at com.caucho.server.dispatch.DispatchServer.buildInvocation(DispatchServer.java:198)
	at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:263)
	at com.caucho.server.port.TcpConnection.run(TcpConnection.java:389)
	at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:507)
	at com.caucho.util.ThreadPool.run(ThreadPool.java:433)
	at java.lang.Thread.run(Thread.java:619)
The bash profile seems to contain the right paths for JAVA_HOME, etc.

Code: Select all

PATH=/usr/java/default/bin:$PATH:$HOME/bin
CLASSPATH=/home/openemm/lib/openemm/xercesImpl.jar:/home/openemm/lib/openemm/xml-apis.jar:/home/openemm/lib/openemm
JAVA_HOME=/usr/java/default/
It's a newer jdk but anyway...

Code: Select all

/usr/java/default/bin/java -version
java version "1.6.0_02"
Java(TM) SE Runtime Environment (build 1.6.0_02-b05)
Java HotSpot(TM) Client VM (build 1.6.0_02-b05, mixed mode, sharing)

I've checked to console_stdout.log.

Code: Select all

2007-10-03 11:50:29,146 - Using context class [org.springframework.web.context.support.XmlWebApplicationContext] for root WebApplicationContext
2007-10-03 11:50:29,146 - Root WebApplicationContext: initialization completed in 3822 ms
[11:50:29.175]action: init
2007-10-03 11:50:29,244 -   Resource org/apache/struts/action/ActionResources_en_US.properties Not Found.
2007-10-03 11:50:29,247 -   Resource org/apache/struts/action/ActionResources_en.properties Not Found.
2007-10-03 11:50:29,252 - The /WEB-INF/web.xml was not found.
java.net.ConnectException: Connection refused
Is there a problem reading the web.xml file?? But there is a web.xml file in htdocs/WEB-INF/. Are there other logs I should check?
Or are there problems with the local jdk installation?
java can be called in the shell as shown above.
mysqld is running. There is a user called agnitas that can access the db openemm.

Thanks for any hints!
Alex
Posts: 1
Joined: Thu Oct 11, 2007 2:47 pm

Post by Alex »

Hello,

it could be a Problem with your Internet Connection.
The OpenEMM Software needs a connection to http://java.sun.com:80

If you use a HTTP Proxy to connect to the internet, you can edit the wrapper.pl script in the bin/ Directory.

Change the Varbiable

Code: Select all

$JAVA_ARGS=""
to

Code: Select all

$JAVA_ARGS="-Dhttp.proxyHost=10.11.12.13 -Dhttp.proxyPort=1234 -DproxySet=true"
Greetings
Alex
Post Reply