I'm trying to use IntelliJ IDEA's (13.1) resource sync feature with JBoss AS 7. I have set the 'On Frame Deactivation : Update Resources' setting under the Runtime Configuration. However, it seems that the resource updates (ex. JSP changes) are not reflected in the exploded application deployed on JBoss 7. I have to do a full redeploy to get the changes updated.
Looking into the IntelliJ's guide (http://wiki.jetbrains.net/intellij/Developing_applications_for_JBoss_AS) I see that they have mentioned for JBoss AS 7, a redeploy is needed.
Is there any workaround for this? Why is the resource update not working for AS 7?
Configuration: IntelliJ IDEA 13.1.1 / JBoss AS 7.1.1-Final / Mac OS X 10.8.4
This is broken in JBoss 7.1.1: https://issues.jboss.org/browse/AS7-4187 - you can upgrade to fix it.
Related
I have joined a new company where they do not allow us to download anything (Eclipse Marketplace). The default installation of eclipse does not have JBoss wildfly plugin.
Currently, even if I remove a comma in my code, it take 7 to 8 minutes to build/deploy/test
I need to configure Jboss in eclipse and able to do hot deployment whenever I change code. To download the plugin, I need to raise a request. Can I raise a request for below? would it solve my purpose? Can I install this plugin to my eclipse and configure jboss server in the server tab?
https://tools.jboss.org/downloads/jbosstools/2021-03/4.19.1.Final.html#update_site
Jboss 6.1 Eclipse 4.19.0 (I have eclipse 4.2 as well)
Any other idea would be helpful
Yes if you download the update site as a zip file, you will be able to install JBoss Tools plugins in your local Eclipse even in the case you don't have access to network
I use netbeans 8.1 and glassfish 4.0.When I click persistence.xml-design tab,a warning appears like The project does not have the target server properly.Java persistence features are server-dependent ...
So I don't use JPQL on persistence.xml
Any suggestion?
I found a solution for my QUESTION. If the project has a server, you will show your server to your ejb project. ejb projcet->properties->run and define your server.
I was having the same problem but with the little difference that mine was caused by attempting to downgrade glassfish from version 5.0.1 to 5.0. I had deployed my application using 5.0.1 but some issues with the jdbc drive occurred so I need to downgrade to Glassfish 5.0 and then this appears "The project does not have the target server properly... ", I checked the run properties and everything was all right.
In order to solve: first go to "project properties" and then to "Run" in the server option select apply changes, restart netbeans, open again and change the server again to glassfish
After upgrading my Eclipse installation to Luna (from Kepler), my JBoss servers started being overly pedantic with the redeployment of my web projects: even if I change a JavaScript file, a deployment replacement begins and takes significant amount of time. The same happens for JSP files too.
I've set Publishing to Automatically publish when resources change (as it was in Kepler), I've deleted/added JBoss 7.0 several times, tried various combinations of the checkboxes in Deployment Scanners & Application Reload Behavior, the issue persists though.
Configuration:
Eclipse Luna 4.4
JBoss Tools 4.2 beta 2
JBoss server 7.0
After searching further, I found that this was a bug in the beta 2 version of JBoss Tools 4.2 for Luna.
As answered here, beta 3 of JBoss Tools fixes this issue.
When I deploy app using jboss-as-maven-plugin
mvn clean jboss-as:deploy
application works. When I try to deploy from Eclipse using e.g. "Full publish", it doesn't.
I've compared versions of application being deployed and seems that "Full publish" simply copied what has been specified in Properties > Deployment Assembly.
Is it possible to use this plugin during "Full publish" ?
I want to make use of hot deploy feature for jsp, but without properly configured automatic deployment from Eclipse I'm rather blocked.
regards
Lukas
Wildfly 8.0.0.CR1
Eclipse Keppler SR1
org.jboss.as.plugins:jboss-as-maven-plugin:7.2.Final
I just updated to wildfly, and I had to use this to deploy to jboss.
https://docs.jboss.org/wildfly/plugins/maven/latest/deploy-mojo.html
I am as troubled as you are with this.
After searching a bit more I have found these two suggestions in SO:
A: Eclipse Kepler and JBoss Wildfly hot deployment and
B: Hot deploy on JBoss - how do I make JBoss “see” the change?
In both cases I did a mvn install in order to create war file and then deployed it by right clicking the server and using add-remove. Now every time I changed something and then pressed save the console output would change informing me that 20:02:45,086 INFO [org.jboss.as.server] (DeploymentScanner-threads - 1) JBAS018565: Replaced deployment "web.war" with deployment "web.war". If I pointed my browser to the URL of my project the changes would indeed be there.
NOTE: Be careful when undeploying in the second case. I had it undeployed from eclipse but when going at: http://localhost:9990/console/App.html#deployments I could still see the war so I also had to remove it by pressing the remove button from the Management Console.
I hope this helps but I am not sure that this kind of functionality is hot deployement though.
ive just upgraded to eclipse 3.6 and i have a seam application running on jboss 5 with the latest version of jboss tools. my problem is that when i opened an xhtml page it asked me to activate the jsf components. i went ahead and did so and now my problem is that when i start jboss inside of eclipse it automatically deploys an exploded version of my app. i don't want this, i use ant to build and deploy the app and just use jboss tools to start and stop the server. i need to turn this feature off, does anyone have an idea how to do it?
Double click the server and select the radiobutton that says "Never publish automatically"
btw. you can also enable "Deploy projects as compressed archives" if your problem is that the deployment is exploded.