-
1. Re: help with hot deploying jsp changes
wdfink Jul 3, 2013 2:00 PM (in response to rathanabujji)you should set auto-deploy-exploded not to 'true' as this will enable the scanner to watch each file and deploy the application on any change.
set false and use the mwebapp.ear.dodeploy file to deploy and redeploy if necessary.
-
2. Re: help with hot deploying jsp changes
rathanabujji Jul 3, 2013 2:42 PM (in response to wdfink)Hi Wolf-Dieter,
I set the auto-exploded to 'false', changed 1 jsp file in exploded war folder and force deployed using myapp.ear.dodeploy. Still the same issue. It brings down the entire webapp and redeploys entire webapp with new jsp change. I need ways so that the entire webapp does not re-deploy but just this 1 jsp change gets 'HOT'(not Auto) deployed. Thanks
-
3. Re: help with hot deploying jsp changes
ctomc Jul 3, 2013 6:08 PM (in response to rathanabujji)7.1.1 has known issue with jsp configuration not being aplied at all.
this has been fixed few days after 7.1.1 was released, try using any version after that. i would recomend 7.2.0 / eap 6.1 alpha
-
4. Re: help with hot deploying jsp changes
rathanabujji Jul 8, 2013 12:19 PM (in response to ctomc)Hi Tomaz, Thanks for response.
I tried both 6.1.0.Alpha and 6.1.0.Final.
Here is the configuration for my web subsystem.
<subsystem xmlns="urn:jboss:domain:web:1.1" default-virtual-server="default-host" native="true">
<configuration>
<jsp-configuration development="true"/>
</configuration>
<connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"/>
<connector name="ajp" protocol="AJP/1.3" scheme="http" socket-binding="ajp"/>
<virtual-server name="default-host" enable-welcome-root="true">
<alias name="localhost"/>
<alias name="example.com"/>
</virtual-server>
</subsystem>Here is the deployed app folder structure under deployments folder
myapp.ear <--this is a folder
META-INF
mywebapp.war <--this is a folder
helloworld.jspIf auto deploy exploded setting is false, jboss does nothing when i edit a jsp in deployments folder so i am still seeing old page.
If auto deploy exploded setting is true, JBoss does a full redeploy of webapp, which i don't want. Problem with the full redeploy is that it brings down the webapp and the entire http session so i have to log back in again to test my change. This is not ideal in development time.
Pls let me know if something does not look right. Thanks.
-
5. Re: help with hot deploying jsp changes
jaikiran Jul 9, 2013 2:05 AM (in response to rathanabujji)<subsystem xmlns="urn:jboss:domain:web:1.1"
From what I see in my EAP 6 installation, the version of the web subsystem is (at least) 1.4. Make sure you have that right.
-
6. Re: help with hot deploying jsp changes
fbenvadi Jul 25, 2013 7:04 AM (in response to rathanabujji)Hi,
I have exactly the same problem.
Is there anyone that can help ?
Best Regards and Thanks