Problems starting jboss

744 views
Skip to first unread message

antonio.ro...@gmail.com

unread,
Mar 1, 2013, 5:37:56 PM3/1/13
to openmobs...@googlegroups.com
Hi Sohil,

I followed the steps as described in your tutorial and I am getting the following problem. Do you any idea of the reason? 
Thanks a lot.

Antonio.

DEPLOYMENTS MISSING DEPENDENCIES:
  Deployment "jboss.web.deployment:war=/console" is missing the following dependencies:
    Dependency "jboss.web:service=WebServer" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.web:service=WebServer' **")
  Deployment "jboss.web.deployment:war=/o" is missing the following dependencies:
    Dependency "jboss.web:service=WebServer" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.web:service=WebServer' **")

DEPLOYMENTS IN ERROR:
  Deployment "WebServer" is in error due to the following reason(s): LifecycleException:  Protocol handler initialization failed: java.net.BindException: Address already in use /192.168.178.39:80
  Deployment "jboss.web:service=WebServer" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.web:service=WebServer' **

23:35:46,047 INFO  [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221053)] Started in 42s:704ms
 

Sohil Shah

unread,
Mar 1, 2013, 5:43:41 PM3/1/13
to openmobs...@googlegroups.com
Hi Antonio,

Look at this: handler initialization failed: java.net.BindException: Address already in use /192.168.178.39:80

It looks like there is already something else running on port 80 on that IP address. Try binding to another IP address when you start JBoss or stop the process that is using the port 80 if you know which one it is.

Good Luck
Sohil

 

--
You received this message because you are subscribed to the Google Groups "OpenMobster Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openmobster-us...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

antonio.ro...@gmail.com

unread,
Mar 1, 2013, 5:45:51 PM3/1/13
to openmobs...@googlegroups.com, antonio.ro...@gmail.com
Hi Sohil,
Stopping Apache it works. I thought it was using the port 1502 instead of 80 by default. Where can I change the default port? 

Antonio.

Sohil Shah

unread,
Mar 1, 2013, 6:19:07 PM3/1/13
to openmobs...@googlegroups.com
It uses port 80 for the Management Console web app. The OpenMobster backend uses port 1500 and 1502. To change port 80 you will have to do it in the jbossweb.sar/server.xml file. Look at:

<!-- A HTTP/1.1 Connector on port 8080 -->

      <Connector protocol="HTTP/1.1" port="80" address="${jboss.bind.address}" 

               connectionTimeout="20000" redirectPort="8443" />

Here you can change the port to 8080 if you like.

Thanks

Sohil


--

Sohil Shah

unread,
Mar 1, 2013, 6:37:55 PM3/1/13
to openmobs...@googlegroups.com
Hi Antonio,

Additionally if you change the http port of the system you will need to change the http port config within OpenMobster system as well (There is no way to read this info from the jbossweb.sar service afaik).

To do this you will have to explode the openmobster.last/openmobster-sar-2.4-M2.jar file.

In there look for META-INF/openmobster-config.xml. If you open that up, changing the httpPort value is self-explanatory. You can then re-package the jar and restart the server.

The OpenMobster system should now pick that new value up. On the device side, just re-activate your device and it will pull down the new configuration.

You will need the http Port stuff on the device side only when using the Corporate App Store to install Apps from the Cloud server. I believe this is covered in the tutorial.

Anyways, let me know if you need more info

Thanks
Sohil

kim....@gmail.com

unread,
Mar 18, 2015, 11:45:18 PM3/18/15
to openmobs...@googlegroups.com
Hi Sohil,

Could you detail about directory and location OpenMobster  system directory ,because I not found it in drive C .

I would like to know " OpenMobster " contain JBoss Folder or Drive C ?
I used oracle for my database it has default port : 8080 ,but now i change follow you in joboss to port 8080 ,it worked ,but my oracle database not work again . when I tried type:  http://127.0.0.1:8080/apex/f?p=4950 to Login my database in oracle it not work ,also before change port Jboss I stop service oracle ,but now i start up service oracle ,but it still not work . because when I tried to type URL above it link to Jboss .
Reply all
Reply to author
Forward
0 new messages