-
1. Re: Hot Deployment Please help
rob.stryker Oct 19, 2010 6:34 AM (in response to vickyb2084)You shouldn't have to restart all of JBoss... you should just have to full-publish the ejb deployment project.
-
2. Re: Hot Deployment Please help
maxandersen Oct 19, 2010 7:00 AM (in response to rob.stryker)Exactly - ejb3.0's in AS 4 (and 5) unfortuantely does not support hotdeploy but you do not need to restart the full server - just redeploy the app.
-
3. Re: Hot Deployment Please help
vickyb2084 Oct 19, 2010 7:23 AM (in response to maxandersen)some parts am using ejb 2.0o too ejb3.0 and ejb2.0 dont exists in the same package where ever am using ejb2.0 can i just create jar file and deploy in the exploded earfile and i heared that we have to configure in jboss-service.xml for hot deployment in last mbean
<mbean code="org.jboss.deployment.scanner.URLDeploymentScanner"
name="jboss.deployment:type=DeploymentScanner,flavor=URL">
<depends optional-attribute-name="Deployer">jboss.system:service=MainDeployer</depends>
<attribute name="URLComparator">org.jboss.deployment.DeploymentSorter</attribute>
<attribute name="FilterInstance"
attributeClass="org.jboss.deployment.scanner.DeploymentFilter"
serialDataType="javaBean">
<!-- Files starting with theses strings are ignored -->
<property name="prefixes">#,%,\,,.,_$</property>
<!-- Files ending with theses strings are ignored -->
<property name="suffixes">#,$,%,~,\,v,.BAK,.bak,.old,.orig,.tmp,.rej,.sh</property>
<!-- Files matching with theses strings are ignored -->
<property name="matches">.make.state,.nse_depinfo,CVS,CVS.admin,RCS,RCSLOG,SCCS,TAGS,core,tags</property>
</attribute>
<attribute name="ScanPeriod">60000</attribute><!-- A flag to disable the scans -->
<attribute name="ScanEnabled">true</attribute>
<attribute name="URLs">
deploy/
</attribute>
<attribute name="RecursiveSearch">True</attribute></mbean>
as i said am not using default/deploy directory
am using node***
what are the changes i need to make please help
-
4. Re: Hot Deployment Please help
maxandersen Oct 19, 2010 7:38 AM (in response to vickyb2084)what do you mean by
"am using node***" ?
-
5. Re: Hot Deployment Please help
vickyb2084 Oct 19, 2010 7:41 AM (in response to vickyb2084)there is D:\vinay\jboss\server\default\deploy
am not deploying there
i hvae separate dir
D:\vinay\jboss\server\node8080\deploy
this where am doing it
and jboss 4.3.0 ga does not support hot depolyment for ejb3.0
-
6. Re: Hot Deployment Please help
vickyb2084 Oct 20, 2010 5:33 AM (in response to vickyb2084)Lets forget about node please tell me if we can hot depoly ejb3.0
-
7. Re: Hot Deployment Please help
maxandersen Oct 20, 2010 6:07 AM (in response to vickyb2084)hotdeploy of individual classes that are EJBs ? No, that is not possible.
hotdeploy of a single module/archive ? Yes, that is possible - simply redeploy it (right click, full publish) or touch the descriptor (in JBT there is the "touch" button to do this)
You do *not* need to restart the full appserver if your app is clean (i.e. no usage of classes from the bootclasspath)
-
8. Re: Hot Deployment Please help
vickyb2084 Oct 20, 2010 7:04 AM (in response to maxandersen)Thanks for the reply i have two more question i dont know what is meant by
(right click, full publish) or touch the descriptor (in JBT there is the "touch" button to do this) as i am new to jboss and sorry this may be dump question what i did was i simply copied archive file i.e jar file of a module and pasted into lib folder where it was originally there as cannot deleted ( i get message that it is being used) and simply touched application.xml file altough application was reployed but dint reflect any changes please give some more insight.