-
1. Re: root.war/ for jsps how to?
jaikiran Aug 16, 2011 10:15 AM (in response to tushar.kapila)Disable the welcome-content application and deploy your application at the root (/) context
-
2. Re: root.war/ for jsps how to?
tushar.kapila Aug 18, 2011 4:22 PM (in response to jaikiran)what i want to know is how to - have one web app / ear that is packed in a .ear file and one more that is in exploded format in the same jboss instance?
i tried to add 2 entries for scan folder - one for a exploded and other for non but that did not work deployment-scanner can only have one entry in standalone.xml
maybe i need to deploy the exploded app by default and the ear using api/ the web UI?
-
3. Re: root.war/ for jsps how to?
jaikiran Aug 19, 2011 1:36 AM (in response to tushar.kapila)Just place the .ear and the .war (and any other applications) in the JBOSS_HOME/standalone/deployments folder. You don't have to touch the standalone.xml for this.
-
4. Re: root.war/ for jsps how to?
jaikiran Aug 19, 2011 1:38 AM (in response to jaikiran)Also, take a look at the Getting Started Guide here https://docs.jboss.org/author/display/AS7/Documentation
-
5. Re: root.war/ for jsps how to?
tushar.kapila Aug 20, 2011 8:13 AM (in response to jaikiran)i know i can place multiple war and ear files.
Here is what we need
1 ear file
2 war file
and one more app or folder where we can put extracted/ exploded jsps - does not have to be root but has to be a place where we can add a new/ change existing jsp/ images
I know I can make another war with these files and re package and re deploy the war every time.
But since these change more often than our monthly prod cycle and for convienience, we used the root.wat folder on EAS 4.3
Is there a folder or can one be set up with this jboss - where we can drop jsps and other content? If yes how to?
-
6. Re: root.war/ for jsps how to?
dlofthouse Aug 22, 2011 6:28 AM (in response to tushar.kapila)Just create an exploded war in the deployments folder, name it whateveryoulike.war and add a WEB-INF folder to add a web.xml and jboss-web.xml so you can map the context-root.
To deploy the war just create a marker file in the deployments folder called whateveryoulike.war.dodeploy and JBoss will deploy the war, as it is exploded you now have your folder to drop these files in whenever you need and just re-create the whateveryoulike.war.dodeploy to deploy it again.
-
7. Re: root.war/ for jsps how to?
tushar.kapila Aug 25, 2011 5:41 PM (in response to dlofthouse)cool i will try this saturday
-
8. Re: root.war/ for jsps how to?
jlavezzo Sep 24, 2013 5:33 PM (in response to dlofthouse)This works if the folder is directly in the deployments folder. IF there are any symlinks or junctions involved on Windows, you will be able to serve static content but not JSPs. This has been my experience, at least.