File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
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: 5827
    
    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?