-
1. Re: Jboss EAP 6.2 redeploy jsp automatically
ctomc Feb 4, 2015 8:52 AM (in response to profumi83)in web subsystem enable development mode for jsp.
<jsp-configuration development="true" ..
also you application needs to be deployed exploded.
-
2. Re: Re: Jboss EAP 6.2 redeploy jsp automatically
profumi83 Feb 4, 2015 9:19 AM (in response to ctomc)Thank you for reply Tornaz...
In my standalone-full.xml I have added this code:
<subsystem xmlns="urn:jboss:domain:web:1.5" default-virtual-server="default-host" native="false">
<configuration>
<jsp-configuration development="true"/>
</configuration>
<connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"/>
<virtual-server name="default-host" enable-welcome-root="true">
<alias name="localhost"/>
<alias name="example.com"/>
</virtual-server>
</subsystem>
But, if I modify my jsp (with inside ext-js), I must always to do redeploy of war on jboss as, why?
-
3. Re: Re: Jboss EAP 6.2 redeploy jsp automatically
ctomc Feb 4, 2015 9:52 AM (in response to profumi83)and you app is deployed as exploded archive?
-
4. Re: Jboss EAP 6.2 redeploy jsp automatically
profumi83 Feb 4, 2015 9:57 AM (in response to ctomc)My app is deployed through Run Configuration -> clean install jboss-as:deploy as goals.
What do you mean for "... is deployed as exploded archive?"
-
5. Re: Jboss EAP 6.2 redeploy jsp automatically
arun2arunraj Feb 4, 2015 11:31 PM (in response to profumi83)Hi Roberto,
Please refer the following articles. It will help you to understand Exploded Archives and Exploded Deployment.
Thanks & Regards,
ArunRaj. R -
6. Re: Jboss EAP 6.2 redeploy jsp automatically
profumi83 Feb 5, 2015 2:59 AM (in response to arun2arunraj)Hi Arun,
thank you for your reply...I have exploded archive...and added It in my deployments folder, but in eclipse console I see this message
"To trigger deployment create a file called camanager-console-1.0.0-SNAPSHOT.war.dodeploy"... the exploded archive name (namely folder) is camanager-console-1.0.0-SNAPSHOT.war but It's a folder not a file!!! What I do wrong?
-
7. Re: Jboss EAP 6.2 redeploy jsp automatically
profumi83 Feb 5, 2015 3:06 AM (in response to profumi83)Moreover, if I rename the folder camanager-console-1.0.0-SNAPSHOT.war in camanager-console-1.0.0-SNAPSHOT.war.dodeploy, in eclipse console I achieve this message "
Deployment of 'camanager-console-1.0.0-SNAPSHOT.war' requested, but the deployment is not present"...
-
8. Re: Jboss EAP 6.2 redeploy jsp automatically
ctomc Feb 5, 2015 9:59 AM (in response to profumi83)why don't you do exactly what log said?
"To trigger deployment create a file called camanager-console-1.0.0-SNAPSHOT.war.dodeploy"
just create empty file with name "camanager-console-1.0.0-SNAPSHOT.war.dodeploy" this will trigger deployment of exploded "camanager-console-1.0.0-SNAPSHOT.war"