| Author |
JBoss - configuration & deployment questions
|
Dan King
Ranch Hand
Joined: Mar 18, 2009
Posts: 84
|
|
I recently started learning/working with JBoss; while I've got it "working" I have a couple of questions:
1. How can I change the bound ip address and port of 127.0.0.1:8080?
NOTE: I searched online and the general advice was to change "bindings.xml,' but in my version of JBoss (5.1.0.GA) "bindings.xml" doesn't exist.
2. I deployed my application to /server/default/deploy/ as a directory, and when I went to the site via http://localhost:8080/web-app/index.jsp the site failed to open the index page. However, when I re-deployed the application as a WAR file, using the previously stated url I was able to view the index page. Anyone know why I wasn't able to view the index page with the directory deployment?
Thanks.
|
 |
Jaikiran Pai
Marshal
Joined: Jul 20, 2005
Posts: 8141
|
|
Dan King wrote:I recently started learning/working with JBoss; while I've got it "working" I have a couple of questions:
1. How can I change the bound ip address and port of 127.0.0.1:8080?
NOTE: I searched online and the general advice was to change "bindings.xml,' but in my version of JBoss (5.1.0.GA) "bindings.xml" doesn't exist.
Are you saying you want the server to be accessible from a remote system? If yes, then follow this http://www.jboss.org/community/wiki/JBoss42FAQ
As for changing the port(s) on 5.1.0 follow this wiki http://www.jboss.org/community/wiki/AS5ServiceBindingManager
Dan King wrote:
2. I deployed my application to /server/default/deploy/ as a directory, and when I went to the site via http://localhost:8080/web-app/index.jsp the site failed to open the index page. However, when I re-deployed the application as a WAR file, using the previously stated url I was able to view the index page. Anyone know why I wasn't able to view the index page with the directory deployment?
You can deploy it as directory (i.e. exploded deployment), but the directory's name should end with .war (or .ear or .jar depending on the type of application). See this http://www.jboss.org/community/wiki/ExplodedDeployment
|
[My Blog] [JavaRanch Journal]
|
 |
 |
|
|
subject: JBoss - configuration & deployment questions
|
|
|