This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes JBoss - configuration & deployment questions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBoss - configuration & deployment questions" Watch "JBoss - configuration & deployment questions" New topic
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: 10146
    
165

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]
 
GeeCON Prague 2014
 
subject: JBoss - configuration & deployment questions