Page 1 of 1

I'm stuck at "...Started in 1m:5s:823ms"

PostPosted:Thu Nov 05, 2009 3:21 pm
by LuckyStrike
Hi, I\'d like to test OpenKM. I must mention I am not very good with unix-like systems.
I am trying to install it on ubuntu server 9.04 on vmware.
I tried to run the script a thousand times and it always gets stuck.

I tried:
Code: Select all
/opt/OpenKM-3.0_JBoss-4.2.2.GA/bin/run.sh
and
Code: Select all
sh /opt/OpenKM-3.0_JBoss-4.2.2.GA/bin/run.sh -b 0.0.0.0
as someone suggested (i dont know why)

Below are the last lines I see when running the script.
Code: Select all
...
10:06:00,375 INFO  [WSDLFilePublisher] WSDL published to: file:/opt/OpenKM-3.0_JBoss-4.2.2.GA/server/default/data/wsdl/OpenKM.ear/OpenKM.war/OKMFolderService700316752230733247.wsdl
10:06:00,449 INFO  [WSDLFilePublisher] WSDL published to: file:/opt/OpenKM-3.0_JBoss-4.2.2.GA/server/default/data/wsdl/OpenKM.ear/OpenKM.war/OKMPropertyGroupService8963299952830926214.wsdl
10:06:00,776 INFO  [EARDeployer] Started J2EE application: file:/opt/OpenKM-3.0_JBoss-4.2.2.GA/server/default/deploy/OpenKM.ear
10:06:01,070 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
10:06:01,145 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-0.0.0.0-8009
10:06:01,219 INFO  [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)] Started in 1m:5s:823ms
Started in 1m:5s:823ms
any ideas what do I have to do for the script to finish running?

Re:I'm stuck at "...Started in 1m:5s:823ms"

PostPosted:Fri Nov 06, 2009 2:52 pm
by jllort
the second running with -b option looks better to set the service in all network interfaces. Which is the problem, seems log indicates OpenKM is running well ? you can not view on browser ? after starting server ... that\'s appears in log, have you tried to view OpenKM in browser ?

Re:I'm stuck at "...Started in 1m:5s:823ms"

PostPosted:Fri Nov 06, 2009 3:49 pm
by LuckyStrike
The problem is (I believe) that after the last line:

10:06:01,219 INFO [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)] Started in 1m:5s:823ms Started in 1m:5s:823ms

I don\'t get a prompt. Th cursor ( _ ) keeps blinking as if the process is not finished.

Yes I tried visiting:
http://192.168.1.53:8080/OpenKM

and I get a 404 as if the server is not running.
I can ssh to that machine so I don\'t think there is a network problem.

What else can I try?

Re:I'm stuck at "...Started in 1m:5s:823ms"

PostPosted:Sat Nov 07, 2009 8:16 am
by jllort
have you started with -b 0.0.0.0 option. I\'m sure the service is start up because server indicates that has started well. try accesing for example to 8080/jmx-console for example or 8080/ might appears jboss

If not appears take a look at your firewall server configuration, probably there\'s some problem there, not on starting service, if you don\'t connect to server it\'s normal log not generate any other entry and cursor appears stoped.

Re:I'm stuck at "...Started in 1m:5s:823ms"

PostPosted:Mon Nov 09, 2009 5:53 am
by LuckyStrike
have you started with -b 0.0.0.0 option. I\'m sure the service is start up because server indicates that has started well. try accesing for example to 8080/jmx-console for example or 8080/ might appears jboss
8080/ gives me a 404 and so does 8080/jmx-console

I don\'t think the firewall is a problem since I;m working within the local LAN. Anyway, just for fun I installed nginx in that machine and I can access that server within the LAN.

Gosh, the reason I\'m using Ubuntu is b/c I tried installing OpenKM on a windows machine with java5 and it also fails to run the .bat file.

Is all this bad luck? I\'m really anxious now.

Re:I'm stuck at "...Started in 1m:5s:823ms"

PostPosted:Mon Nov 09, 2009 2:38 pm
by LuckyStrike
Ok, don\'t ask me what happened, but I tried to run the script again this morning and it worked!!!

Its weird because I did nothing differently.

Thank you for the help jllort!

Luke!