You are not logged in.

#1 2011-02-07 21:00:58

greengold
Member
Registered: 2010-01-30
Posts: 199

JBoss

hi!
I did install this package form AUR.
but when I start daemon in /etc/rc.d/ I can't log to jboss web interface on localhost:8080
I found solution to run it from /opt/ where it resides with

-Djboss.service.binding.set=ports-01

argument and then it works but... why its not working as it is suposed to work?
port 8080 seems to be unused:

[root@timeline32 tepo]# ps aux | grep 8080
root      4501  0.0  0.0   3972   832 pts/1    S+   21:57   0:00 grep 8080
[root@timeline32 tepo]#

thank you for answers!

Offline

#2 2011-02-11 22:34:51

greengold
Member
Registered: 2010-01-30
Posts: 199

Re: JBoss

still would be nice to slove this issue

Offline

#3 2011-02-11 22:40:43

andr3as
Member
Registered: 2008-10-06
Posts: 53

Re: JBoss

What do you mean by "... argument and then it works but... why its not working as it is suposed to work?"?

Your ps output does not mean that port 8080 is unused, only that there is no process with the id 8080.

Offline

#4 2011-02-12 20:59:01

greengold
Member
Registered: 2010-01-30
Posts: 199

Re: JBoss

I mean... I have Jboss as daemon in /etc/rc.d/jboss and it can be started by 'start'... so why, when I start jboss as daemon it does not deploy my project located at ${JBOSS_HOME}/server/default/deploy ? ..strange about ti is that jboss starts successfully this way...but what had been started? because on localhost:8080 I have nothing

when I start jboss like

/opt/jboss/bin/run.sh -c default

I get hundreds lines of errors form which I figured out that problem is in porting so starting jboss with '-Djboss.service.binding.set=ports-01' argument solves this issue and project is successfully deployed.
btw. :

# netstat -nap | grep 8080
[root@timeline32 tepo]#

so the first of all my questions are: what has started when I run It as daemon? and why it does not starts without '-Djboss.service.binding.set=ports-01'  ?

second thing is:
even when I start jboss like:

/opt/jboss/bin/run.sh -c default -Djboss.service.binding.set=ports-01

and project is successfully deployed, without errors and can be reached at localhost:8180/some_project
when I attempt to access servlet within this project I got error with class loading. And this I found as serious issue about package in AUR because when did download original jboss form apache's site then there is no problem with accessing that servlet I have ment before.
is it possible that there is some kind of bug in AUR package? I find it as only explanation..

Last edited by greengold (2011-02-12 21:00:35)

Offline

#5 2011-02-16 22:09:55

greengold
Member
Registered: 2010-01-30
Posts: 199

Re: JBoss

bumppp...

Offline

Board footer

Powered by FluxBB