powered by Jive Software

Problem with JiveMessenger after unpack it

Hi,

I have upacked the tar.gz for linux, in the /opt/ and run it.

The service works well, it listen on 9090 and 9091 port, but when I go on :

http://localhost:9090/

and

https://localhost:9091

It return me this page :

Error 404 - Not Found.

No context on this server matched or handled this request.

Contexts known to this server are:

  • WebApplicationContext[/,Jive Messenger]

The links above may not work if a virtual host is configured

/b

and on error.log file it print this :

2005.09.19 00:45:33 org.jivesoftware.messenger.container.AdminConsolePlugin.initializePlugin(AdminCo nsolePlugin.java:163) Trouble initializing admin console

org.mortbay.util.MultiException[java.lang.IllegalStateException: A server is already running]

at org.mortbay.http.HttpServer.doStart(HttpServer.java:673)

at org.mortbay.util.Container.start(Container.java:72)

at org.jivesoftware.messenger.container.AdminConsolePlugin.initializePlugin(AdminC onsolePlugin.java:130)

at org.jivesoftware.messenger.container.PluginManager.loadPlugin(PluginManager.jav a:170)

at org.jivesoftware.messenger.container.PluginManager.access$300(PluginManager.jav a:48)

at org.jivesoftware.messenger.container.PluginManager$PluginMonitor.run(PluginMana ger.java:411)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)

at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)

at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101 (ScheduledThreadPoolExecutor.java:65)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodi c(ScheduledThreadPoolExecutor.java:142)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Schedu ledThreadPoolExecutor.java:166)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java: 650)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)

at java.lang.Thread.run(Thread.java:595)

java.lang.IllegalStateException: A server is already running

at org.jivesoftware.messenger.XMPPServer.(XMPPServer.java:113)

at org.jivesoftware.messenger.XMPPBootServlet.init(XMPPBootServlet.java:29)

at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:383)

at org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:243)

at org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.java :445)

at org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplicati onHandler.java:323)

at org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.j ava:512)

at org.mortbay.util.Container.start(Container.java:72)

at org.mortbay.http.HttpServer.doStart(HttpServer.java:695)

at org.mortbay.util.Container.start(Container.java:72)

at org.jivesoftware.messenger.container.AdminConsolePlugin.initializePlugin(AdminC onsolePlugin.java:130)

at org.jivesoftware.messenger.container.PluginManager.loadPlugin(PluginManager.jav a:170)

at org.jivesoftware.messenger.container.PluginManager.access$300(PluginManager.jav a:48)

at org.jivesoftware.messenger.container.PluginManager$PluginMonitor.run(PluginMana ger.java:411)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)

at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)

at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101 (ScheduledThreadPoolExecutor.java:65)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodi c(ScheduledThreadPoolExecutor.java:142)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Schedu ledThreadPoolExecutor.java:166)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java: 650)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)

at java.lang.Thread.run(Thread.java:595)[/b]

Excuse, I forget my question

Someone have any idea ?

It looks like you already having the server started. Did you forget to shut down an old instance?

Noah

No I have no one jive messenger started, and no server runing on 9090, 9091, 5222 and 5223 port.

I don’'t understand…

does it exist a file where it says its running ? like a lock file

perhaps it think it’'s started viewing on this file ?

try to do that for you know what are the open ports in you pc:

netstat -antp

you’'ll view if 9090 or 5222 are open.

here in you log says:

"lePlugin.java:163)] Trouble initializing admin console

org.mortbay.util.MultiException[java.lang.IllegalStateException: A server is already running]"

regards,

Rodrigo.

You could also try telneting to those ports. If you can type something then you’'ve most likely have a port listening there.

Looking at the source, it looks like you’'re starting the server twice in the JVM. This piece of the server is built on http://wrapper.tanukisoftware.org/doc/english/introduction.html. This is a nifty piece of code.

Noah

There a no service running on 9090, 9091, 5222 and 5223 port…

that’‘s why it’'s strange…

Are you starting it via the rc script or from the command line?

from the command line

I find the solution, well 2 ways :

  1. I have not the classpath for root user, but logged as user doesn’'t works too…

  2. I have not the last jdk(1.5.0_05), I just update it and works well