-
1. Re: Cannot see page
peterj Oct 12, 2006 1:55 PM (in response to angbellavia)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? -
2. Re: Cannot see page
angbellavia Oct 12, 2006 2:06 PM (in response to angbellavia)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.
Thanks, -
3. Re: Cannot see page
peterj Oct 12, 2006 2:29 PM (in response to angbellavia)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? -
4. Re: Cannot see page
angbellavia Oct 12, 2006 2:35 PM (in response to angbellavia)The file name is: jboss-4.0.4.GA.zip
And in that folder there are:
2 folders:
manager
WEB-INF
and 4 files:
favico.ico
index.html
jboss.css
logo.gif
Thanks, -
5. Re: Cannot see page
peterj Oct 12, 2006 2:40 PM (in response to angbellavia)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? -
6. Re: Cannot see page
angbellavia Oct 12, 2006 2:53 PM (in response to angbellavia)This is weird.
Currently I had the environment variable named JAVA_HOME set to:
C:\Program Files\Java\jdk1.5.0_09
I changed this location and the environment variable location to:
C:\jdk1.5.0_09
And now everything works fine!!!....:)
So I guess I'm up and running... -
7. Re: Cannot see page
peterj Oct 12, 2006 3:05 PM (in response to angbellavia)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. -
8. Re: Cannot see page
angbellavia Oct 12, 2006 3:24 PM (in response to angbellavia)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:
c:\jboss\server\all\deploy
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>
-
-
<web-uri>web-app.war</web-uri>
<context-root>/hello</context-root>
Any ideas?
Thanks again, -
9. Re: Cannot see page
peterj Oct 12, 2006 4:29 PM (in response to angbellavia)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?