aspose file tools*
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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
Author

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

oren deviloper
Greenhorn

Joined: Aug 15, 2011
Posts: 1
Hi,

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.

Best,
Oren.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5779
    
    7

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
help!!! Change SessionBean, need redeployment?
Procedure forSimple Stateless Session Bean Deployment in weblogic8.1
EJBs and dynamic deployment
EJB 5.0 deploy
problem using Tomcat with Jboss