aspose file tools*
The moose likes JBoss/WildFly and the fly likes Configuration problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Configuration problem" Watch "Configuration problem" New topic

Configuration problem

Srinivas Genji
Ranch Hand

Joined: May 04, 2004
Posts: 37
I`ve extracted the jboss4.0 zip file and set JBoss_Home and Java_Home, and then i started the run.bat which listed several things in the console window and then i started the browser with the port 8080 mentioned in the URL but the still i get the page cannot be displayed thing.
Can anyone pull me out of it and any good resources to go through will be appreciated.

Genji B Srinivas<br />M.Tech (IT) Aus
sayan maity

Joined: Mar 03, 2005
Posts: 28
Can you give the details what the screen is showing when you are entering the URL as http://localhost:8080?
Srinivas Genji
Ranch Hand

Joined: May 04, 2004
Posts: 37
page cannot be displayed is appearing (404 error code).
Prakash Chicka

Joined: Mar 09, 2005
Posts: 23
check out which jdk version you are using...jboss 4.0 will work for jdk 1.4 and hiegher version and the same has to be set in the Java_Home environment variable.

Srinivas Genji
Ranch Hand

Joined: May 04, 2004
Posts: 37
Thanks for ur Reply Prakash,
I`m using JDK1.5 and set Java_home and JBoss_home in the environment variables and i do set the classpath and path for jdk.
i`m still facing the problem(page cannot be displayed).
Tim VanderMann

Joined: Apr 25, 2005
Posts: 2
I'm not sure what problem you are having exactly, but on UNIX based systems I believe you need to be logged in as the superuser. That was a problem that I had.
Sanju Thomas
Ranch Hand

Joined: Dec 29, 2004
Posts: 243
How did you set that JAVA_HOME ? No need if JBOSS_HOME any way.
Check out your JAVA_HOME entry, it should be something like this

JAVA_HOME=C:\j2sdk1.4.2_04 don't put bin with it.

if you got a console window with out any exception and a it is ending with
"15:17:17,920 INFO [Server] JBoss (MX MicroKernel) [4.0.0 (build: CVSTag=JBoss_4
_0_0 date=200409200418)] Started in 16s:141ms" message then your server is successfully started.

Now you need to see http://localhost:8080/jmx-console
and http://localhost:8080/web-console

if you are not getting the console windows, then see the server.xml file in the jboss/server/default/deploy/jbossweb-tomcat50.sar directory.

go the http connector port configuration part

<!-- A HTTP/1.1 Connector on port 8080 -->
<Connector port="8080" address="${jboss.bind.address}"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true"/>

make sure that http connector port is 8080.

still you are not getting then some other software may be blocking the 8080 port. so please change the port and try.
It is sorta covered in the JavaRanch Style Guide.
subject: Configuration problem