File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss and the fly likes JBoss - configuration & deployment questions Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Mongo DB Applied Patterns this week in the MongoDB forum
or a resume review from Five Year Itch in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » JBoss
Reply 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: 8141
    
  52

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]
 
I agree. Here's the link: http://jrebel.com/download
 
subject: JBoss - configuration & deployment questions
 
Similar Threads
Pet Store
Url of web aplpication
Servlet
Monitoring jboss
How to access the end-point URL in jboss