Discussion:
[jboss-user] [Beginner's Corner] - Accessing jboss admin console returns "Http 400 Bad Request" error
Santosh Sharma
2013-06-06 10:02:00 UTC
Permalink
Santosh Sharma [https://community.jboss.org/people/sasha77] created the discussion

"Accessing jboss admin console returns "Http 400 Bad Request" error"

To view the discussion, visit: https://community.jboss.org/message/821658#821658

--------------------------------------------------------------
Hi,

I have recently installed Jboss AS version 4.2.3.GA on a Linux platform.
the server has started successfully without any errors, but trying to access either the jmx console app or jboss /status page is returning a Http 400 Bad Request page.
i have looked in both server and boot log but have not found anything which might help debug this issue.
struggling with this issue since last two days but still not been able to make any headway.

can someone please advise what might be the pottential issue leading to this.

Thanks in advance.

2013-06-06 05:21:12,558 INFO  [org.jboss.system.server.Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)] Started in 17s:593ms

regards
Sunny
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/821658#821658]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
Santosh Sharma
2013-06-06 11:43:55 UTC
Permalink
Santosh Sharma [https://community.jboss.org/people/sasha77] created the discussion

"Re: Accessing jboss admin console returns "Http 400 Bad Request" error"

To view the discussion, visit: https://community.jboss.org/message/821685#821685

--------------------------------------------------------------
Addition to the earlier update, i am running the server on address 0.0.0.0 to permit a remote connect.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/821685#821685]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
Santosh Sharma
2013-06-07 09:23:19 UTC
Permalink
Santosh Sharma [https://community.jboss.org/people/sasha77] created the discussion

"Re: Accessing jboss admin console returns "Http 400 Bad Request" error"

To view the discussion, visit: https://community.jboss.org/message/821905#821905

--------------------------------------------------------------
am i on a wrong forum, its been almost 12 hours but no response yet :(
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/821905#821905]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
erasmo2 marciano2
2013-06-07 10:20:04 UTC
Permalink
erasmo2 marciano2 [https://community.jboss.org/people/erasmomarciano] created the discussion

"Re: Accessing jboss admin console returns "Http 400 Bad Request" error"

To view the discussion, visit: https://community.jboss.org/message/821919#821919

--------------------------------------------------------------
Hi

How did you run JBoss?
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/821919#821919]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
Santosh Sharma
2013-06-10 05:48:55 UTC
Permalink
Santosh Sharma [https://community.jboss.org/people/sasha77] created the discussion

"Re: Accessing jboss admin console returns "Http 400 Bad Request" error"

To view the discussion, visit: https://community.jboss.org/message/822203#822203

--------------------------------------------------------------
With the run.sh startup script. and port 0.0.0.0
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/822203#822203]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
Wolf-Dieter Fink
2013-06-10 06:15:58 UTC
Permalink
Wolf-Dieter Fink [https://community.jboss.org/people/wdfink] created the discussion

"Re: Accessing jboss admin console returns "Http 400 Bad Request" error"

To view the discussion, visit: https://community.jboss.org/message/822206#822206

--------------------------------------------------------------
Hello Santosh,

a word regarding
Post by Santosh Sharma
am i on a wrong forum, its been almost 12 hours but no response yet
the forum is mostly driven by volunteers, there is no guarantee that someone respond, especially not with a small response time. If you need such response times you need to use a https://access.redhat.com/support/ Red Hat subscription where you have such guarantees.

Regarding your questions.
Could you provide a bit more informations, I.e. the complete start command, the environment, the server.log and how do you connect the server?
Is it possible to connect 'localhost:8080' in a browser at the same system?
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/822206#822206]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
Santosh Sharma
2013-06-10 08:32:05 UTC
Permalink
Santosh Sharma [https://community.jboss.org/people/sasha77] created the discussion

"Re: Accessing jboss admin console returns "Http 400 Bad Request" error"

To view the discussion, visit: https://community.jboss.org/message/822230#822230

--------------------------------------------------------------
Post by Wolf-Dieter Fink
the forum is mostly driven by volunteers, there is no guarantee that someone respond, especially not with a small response time. If you need such response times you need to use a https://access.redhat.com/support/ Red Hat subscription where you have such guarantees.
Hi Wolf, Appreciate your efforts on this.
This is the startup script 
nohup ./run.sh -b 0.0.0.0 &
I am able to access the jboss index page using wget on this machine.
the logs are not indicating any errors.
I am running jboss on the following Red Hat version.
Red Hat Enterprise Linux Server release 6.3 (Santiago)

regards
Santosh
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/822230#822230]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
jaikiran pai
2013-06-10 09:05:59 UTC
Permalink
jaikiran pai [https://community.jboss.org/people/jaikiran] created the discussion

"Re: Accessing jboss admin console returns "Http 400 Bad Request" error"

To view the discussion, visit: https://community.jboss.org/message/822236#822236

--------------------------------------------------------------
What exact URL gives you the 404 error?
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/822236#822236]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
Santosh Sharma
2013-06-10 10:10:25 UTC
Permalink
Santosh Sharma [https://community.jboss.org/people/sasha77] created the discussion

"Re: Accessing jboss admin console returns "Http 400 Bad Request" error"

To view the discussion, visit: https://community.jboss.org/message/822243#822243

--------------------------------------------------------------
I mentioned, I am getting a *Http 400 Bad Request* error and not a 404.
http:// http://<namedServerAddress>:8080/
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/822243#822243]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
erasmo2 marciano2
2013-06-10 10:26:21 UTC
Permalink
erasmo2 marciano2 [https://community.jboss.org/people/erasmomarciano] created the discussion

"Re: Accessing jboss admin console returns "Http 400 Bad Request" error"

To view the discussion, visit: https://community.jboss.org/message/822248#822248

--------------------------------------------------------------
May  you post last ten rows the server.log
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/822248#822248]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
Santosh Sharma
2013-06-10 11:53:33 UTC
Permalink
Santosh Sharma [https://community.jboss.org/people/sasha77] created the discussion

"Re: Accessing jboss admin console returns "Http 400 Bad Request" error"

To view the discussion, visit: https://community.jboss.org/message/822274#822274

--------------------------------------------------------------
2013-06-10 07:50:52,074 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] No FacesServlet found in deployment descriptor - bypassing configuration
2013-06-10 07:50:52,075 DEBUG [org.jboss.web.tomcat.filters.ReplyHeaderFilter] Adding header name: X-Powered-By='Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)/JBossWeb-2.0'
2013-06-10 07:50:52,083 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] Initialized: {WebApplication: /home/msoft/Jboss/jboss-4.2.3.GA/server/default/deploy/jmx-console.war/, URL: file:/home/msoft/Jboss/jboss-4.2.3.GA/server/default/deploy/jmx-console.war/, classLoader: ***@2798797:41518999} jboss.web:j2eeType=WebModule,name=//localhost/jmx-console,J2EEApplication=none,J2EEServer=none
2013-06-10 07:50:52,083 DEBUG [org.jboss.web.WebModule] Started jboss.web.deployment:war=jmx-console.war,id=-2123004132
2013-06-10 07:50:52,083 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: jboss.web.deployment:war=jmx-console.war,id=-2123004132 dependent components: []
2013-06-10 07:50:52,100 DEBUG [org.jboss.deployment.MainDeployer] End deployment start on package: jmx-console.war
2013-06-10 07:50:52,100 DEBUG [org.jboss.deployment.MainDeployer] Deployed package: file:/home/msoft/Jboss/jboss-4.2.3.GA/server/default/deploy/jmx-console.war/
2013-06-10 07:50:52,100 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Watch URL for: file:/home/msoft/Jboss/jboss-4.2.3.GA/server/default/deploy/jmx-console.war/ -> file:/home/msoft/Jboss/jboss-4.2.3.GA/server/default/deploy/jmx-console.war/WEB-INF/web.xml
2013-06-10 07:50:52,106 DEBUG [org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread] Notified that enabled: true
2013-06-10 07:50:52,106 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Started jboss.deployment:type=DeploymentScanner,flavor=URL
2013-06-10 07:50:52,106 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: jboss.deployment:type=DeploymentScanner,flavor=URL dependent components: []
2013-06-10 07:50:52,174 DEBUG [org.jboss.deployment.MainDeployer] End deployment start on package: jboss-service.xml
2013-06-10 07:50:52,174 DEBUG [org.jboss.deployment.MainDeployer] Deployed package: file:/home/msoft/Jboss/jboss-4.2.3.GA/server/default/conf/jboss-service.xml
2013-06-10 07:50:52,175 DEBUG [org.jboss.web.tomcat.service.JBossWeb] Saw org.jboss.system.server.started notification, starting connectors
2013-06-10 07:50:52,181 INFO  [org.apache.coyote.http11.Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
2013-06-10 07:50:52,196 INFO  [org.apache.coyote.ajp.AjpProtocol] Starting Coyote AJP/1.3 on ajp-0.0.0.0-8009
2013-06-10 07:50:52,205 INFO  [org.jboss.system.server.Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)] Started in 18s:571ms
2013-06-10 07:50:52,205 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] Periodic recovery - first pass <Mon, 10 Jun 2013 07:50:52>
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/822274#822274]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
Wolf-Dieter Fink
2013-06-10 15:32:59 UTC
Permalink
Wolf-Dieter Fink [https://community.jboss.org/people/wdfink] created the discussion

"Re: Accessing jboss admin console returns "Http 400 Bad Request" error"

To view the discussion, visit: https://community.jboss.org/message/822327#822327

--------------------------------------------------------------
As wget succeeds I suppose there is some network stuff in between that avoid a correct connection.

Could you describe a bit more or your network environment?
Are you able to use a browser on a machine which is connected to the same network?
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/822327#822327]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
Santosh Sharma
2013-06-12 18:11:33 UTC
Permalink
Santosh Sharma [https://community.jboss.org/people/sasha77] created the discussion

"Re: Accessing jboss admin console returns "Http 400 Bad Request" error"

To view the discussion, visit: https://community.jboss.org/message/822832#822832

--------------------------------------------------------------
Hmm. convincing the network guys that this is a firewall issue is tough. But still i wanted to rule out all the options before i see guidance from them.
thanks for your help, will revert with update once i have a solutions.

cheers
Santosh
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/822832#822832]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
Loading...