-
1. Re: déploiement
wdfink Sep 12, 2011 2:23 AM (in response to amien)Maybe you might use hot-deploy.
Start the server (default or all configuration) and drop your application to the deploy folder. It will be picked-up from the deploy-manager and the application is restarted.
If you will have a script you might write a wrapper sript to call the run.bat with your -b @IP option.
-
2. Re: déploiement
amien Sep 12, 2011 5:36 AM (in response to wdfink)I have not a problem with the "run.bat-b @ IP" but I do not want to do this every Start upthe server, but I want it to put that @ IP in a file configuration (I do not know it)
-
3. Re: déploiement
wdfink Sep 12, 2011 8:42 AM (in response to amien)May you edit bin\run.conf.bat and add the folowing line at the end:
set "JAVA_OPTS=%JAVA_OPTS% -Djboss.bind.address=192.168.1.2" <== <our IP
or you write a batch file (e.g. start.bat), this avoid to call the JBoss in a different manner:
-------------
rem # set my own Java settings
set "JAVA_OPTS=-Xms512M -Xmx512M -XX:MaxPermSize=256M"
rem # what ever you want
rem # avoid to start with different parameters
bin\run.bat -b 192.168.1.2 -c <yourConfig> ...
-------------
-
4. Re: déploiement
amien Sep 12, 2011 3:36 PM (in response to wdfink)yhink you so much "Wlf-Dieter Fink"
May you edit bin\run.conf.bat and add the folowing line at the end:
set "JAVA_OPTS=%JAVA_OPTS% -Djboss.bind.address=192.168.1.2" <== <our IP
I have another question : when i use this solution i access with this url http://192.168.1.2:8080/........
but i want if clients access with namedomaine exemple http://namedomaine/.............. or http://namedomaine:8080/........
I dont know if I good exprement the new problem
-
5. Re: déploiement
wdfink Sep 13, 2011 1:34 AM (in response to amien)1 of 1 people found this helpfulYou have to configure a local DNS server, I think that is the more common way if the JBoss is used internal.
For external access you have to use a public dns and route the request (e.g. mycompyny.com/MyApp) to the correct JBoss server.
-
6. Re: déploiement
amien Sep 13, 2011 5:15 AM (in response to wdfink)think you "Wolf-Dieter Fink" for all your help
-
7. Re: déploiement
amien Sep 19, 2011 4:21 PM (in response to wdfink)I use Windows 7 and I want to try my application by creating a local network.
From my Reshresh, the file DNS is used in windows server.
I found this link but I did not understand the solution.
http://docs.jboss.org/jbossas/guides/webguide/r2/en/html/ch07.html