wood burning stoves 2.0*
The moose likes JBoss/WildFly and the fly likes Can I hot deploy a simple .jar file to JBoss? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Can I hot deploy a simple .jar file to JBoss?" Watch "Can I hot deploy a simple .jar file to JBoss?" New topic

Can I hot deploy a simple .jar file to JBoss?

oren deviloper

Joined: Aug 15, 2011
Posts: 1

I am trying to figure how to enable hot -deployment of a simple jar (which contains a single java class) into JBoss.

I have attempted to deploy to the common/deploy directory, but without success...

Is plain jar deployment even supported on JBoss? (some references say it is and some say it's not... a bit confused here).

Should the jar contain any jboss.xml or some other property file, besides the .class? I created the jar using my eclipse environment...

Thanks in advance for shedding light on this issue.

Peter Johnson

Joined: May 14, 2008
Posts: 5812

If the JAR contains EJBs, then it will be deployed. Otherwise it will be ignored. JARs without EJBs should be placed into an app (WAR, EAR, etc) or into common/lib or server/xxx/lib.

Also, please see your private messages regarding an important administrative matter.

JBoss In Action
I agree. Here's the link: http://aspose.com/file-tools
subject: Can I hot deploy a simple .jar file to JBoss?
Similar Threads
problem using Tomcat with Jboss
EJB 5.0 deploy
help!!! Change SessionBean, need redeployment?
EJBs and dynamic deployment
Procedure forSimple Stateless Session Bean Deployment in weblogic8.1