• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JBoss - configuration & deployment questions

 
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
reply
    Bookmark Topic Watch Topic
  • New Topic