[JBoss-user] [Beginners Corner] - hot deploy fails to reload connection factory
Hi I'm using JBoss 4.0.2 on Sun JDK 1.5.0_06, alternately on JRockit 1.5.0_04 build 26. The same problem I'll describe happens on both. We have an application deployed as an EAR. Deployment from a cold JBoss start has no problems, however, when using hot deployment, most of the time JBoss will a- unbind our datasource b- start loading services c- not find the datasource, and blow up I think it should first unbind the datasource, then re-bind it, then proceed. For some reason this only happens on (few) hot deployments. Any way to track this down further? Thanks Patrick View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3918103#3918103 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3918103 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Hot deploy fails with interface problem
Hello all. I have been given the job of splitting our EAR file into its seperate JARS as we need to hot deploy individual JARS. If I delete the EAR, place all the JARS from the EAR into the deploy area and then start JBoss all is OK. But when I then try to hot deploy a JAR individually I get the following: 14:24:46,026 WARN [verifier] EJB spec violation: Bean : AreaCode Method : public abstract AreaCode create() throws CreateException, RemoteException Section: 6.8 Warning: The create method of a stateless session bean home interface must return the session bean's remote interface. 14:24:46,026 WARN [verifier] EJB spec violation: Bean : AreaCode Method : public abstract AreaCode create() throws CreateException, RemoteException Section: 6.10.6 Warning: The return type for a create(...) method must be the session bean's remote interface type. I get this for all the beans contained in the JAR, and even though it is a warning the deploy fails with: 14:24:46,666 ERROR [MainDeployer] could not create deployment: file:/C:/JBoss/server/default/deploy/Traders.jar org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages. at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:491) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:786) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605) at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy6.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:458) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191) If I re-start JBoss though I don't get any errors? I'm pretty much at the mercy of you guys so thanks in advance for any help on this. Andy View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3873449#3873449 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3873449 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Hot Deploy
Hi All, I'm starting to play with JBoss and I read that there is a Hot Deploy feature. It is very nice to use if you are in a Development Box, but IMHO, it's not that interesting when we are in a Production Box. So my question is: is there a way to turn off the Hot Deploy feature? Thanks in advance, Marco Campelo View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855106#3855106 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855106 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user