Disable the welcome-content application and deploy your application at the root (/) context
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?
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.
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?
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.
cool i will try this saturday
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.