Problem

If you think that something doesn't work in Aware IM post your message here
Post Reply
bjunker
Posts: 11
Joined: Sat Jun 06, 2009 9:32 am

Problem

Post by bjunker »

I have a problem with preview and test. The configration tool works fine, but neither the test nor the preview works. I think it is a problem with Tomcat, but I do not know it exactly (i can start Tomcat - thats it...:) ). The Tomcat output in the configuration tool shows the following:

Code: Select all

INFO: Starting Servlet Engine: Apache Tomcat/5.5.26

07.06.2009 12:59:10 org.apache.catalina.core.StandardHost start

INFO: XML validation disabled

07.06.2009 12:59:11 org.apache.catalina.core.ApplicationContext log

INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]

07.06.2009 12:59:12 org.apache.coyote.http11.Http11BaseProtocol start

INFO: Starting Coyote HTTP/1.1 on http-8080

07.06.2009 12:59:12 org.apache.jk.common.ChannelSocket init

INFO: JK: ajp13 listening on /0.0.0.0:8009

07.06.2009 12:59:12 org.apache.jk.server.JkMain start

INFO: Jk running ID=0 time=0/15  config=null

07.06.2009 12:59:12 org.apache.catalina.storeconfig.StoreLoader load

INFO: Find registry server-registry.xml at classpath resource

07.06.2009 12:59:12 org.apache.catalina.startup.Catalina start

INFO: Server startup in 1594 ms

07.06.2009 12:59:12 org.apache.catalina.core.StandardServer await

SCHWERWIEGEND: StandardServer.await: create[8005]: 

java.net.BindException: Address already in use: JVM_Bind

	at java.net.PlainSocketImpl.socketBind(Native Method)

	at java.net.PlainSocketImpl.bind(Unknown Source)

	at java.net.ServerSocket.bind(Unknown Source)

	at java.net.ServerSocket.<init>(Unknown Source)

	at org.apache.catalina.core.StandardServer.await(StandardServer.java:363)

	at org.apache.catalina.startup.Catalina.await(Catalina.java:616)

	at org.apache.catalina.startup.Catalina.start(Catalina.java:576)

	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

	at java.lang.reflect.Method.invoke(Unknown Source)

	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)

	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:43
Any idea whre i have to look ???
aware_support
Posts: 7526
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Post by aware_support »

Yes, you have a port conflict on your machine. Port 8005 is used by some other application. Note these lines in the log:

SCHWERWIEGEND: StandardServer.await: create[8005]:
java.net.BindException: Address already in use: JVM_Bind

To fix it open the following file:

AwareIM/Tomcat/conf/server.xml

search for 8005 and replace it with some other value, e.g. 9670

If you are still having this problem look at the log again - there maybe other ports that have conflicts. In this case do exactly the same thing for other ports.
Aware IM Support Team
bjunker
Posts: 11
Joined: Sat Jun 06, 2009 9:32 am

Its solved

Post by bjunker »

many thanks for the quick help. It works and i have learned a little bit about basics :)
Post Reply