A few questions:
1) Which OS are you running?
2) What JVM are you running? Enter "java -version" at a command prompt and post the reply.
3) Which version of JBoss are you running?
4) How did you install JBoss? Did you:
a) Download an unzip the binary zip file, or
b) Download and run the installer jar file
If you installed using the installer jar, what options did you select?
OS is Windows XP (for now)
JVM is 1.5.0._09
I just downloaded JBoss yesterday so I am assuming the newest version.
I uncompressed the files to C:\jboss (did not use the installer)
When I run jboss I was told to run like: ...\bin\run -c all
This seems to work fine and in the end says that the server is started.
What was the name of the file that you downloaded? Was it jboss-4.0.4.GA.zip?
What files are in this directory: c:/jboss/server/all/deploy/jbossweb-tomcat55.sar/ROOT.war?
The file name is: jboss-4.0.4.GA.zip
And in that folder there are:
and 4 files:
This is very curious. The index.html file that you listed is the default home page for JBoss. So it is sitting there in the correct location. So you should be able to view it in the browser.
Were there any errors in the command window during startup?
Are you running a firewall on your XP box? Such as the built-in firewal or Zone Alarm?
Finally, if you run the default configuration (simply enter: run), can you see the home page?
This is weird.
Currently I had the environment variable named JAVA_HOME set to:
I changed this location and the environment variable location to:
And now everything works fine!!!....:)
So I guess I'm up and running...
No, it is not wierd. I am not sure why Sun decided that it was a good idea to place the JDK into "Program Files" by default because many Java libraries have issues with spaces in the path.
Glad you are up and running.
I have a follow up question:
I'm trying to create a helloworld app to test.
I put the helloworld.ear file that I created into:
but when I go to "http://localhost:8080/hello" it does not run and says page cannot be found.
my application.xml file in my META-INF folder of my helloworld app contains the following:
<?xml version="1.0" ?>
<display-name>Hello Java EE World!</display-name>
I think the < context-root > should be simply 'hello', without the slash (/) prefix.
Do you have a < welcome-file-list > in your web.xml file?