-
1. Re: How to deploy JAR onto server?
jaikiran May 8, 2008 2:29 AM (in response to thomas2008ch)Simply copy the JAR under \jboss-4.2.1.GA\server\default\deploy ?
Yes. -
2. Re: How to deploy JAR onto server?
thomas2008ch May 8, 2008 2:39 AM (in response to thomas2008ch)I wonder why JBoss Server doesn't look like as the other servers such as Geronimo, BEA Weblogic etc. where one can deploy files in AdminConsole?
-
3. Re: How to deploy JAR onto server?
jaikiran May 8, 2008 2:42 AM (in response to thomas2008ch)"thomas2008ch" wrote:
I wonder why JBoss Server doesn't look like as the other servers such as Geronimo, BEA Weblogic etc. where one can deploy files in AdminConsole?
The free (community) version of JBoss does not have this feature. From what i have read in these forums, the paid version of JBoss has this facility. -
4. Re: How to deploy JAR onto server?
thomas2008ch May 8, 2008 3:43 AM (in response to thomas2008ch)"jaikiran" wrote:
The free (community) version of JBoss does not have this feature. From what i have read in these forums, the paid version of JBoss has this facility.
This is not good. :-)
Besides, how can I undeploy the deployed JAR? Simply delete it? Should I stop the server first? -
5. Re: How to deploy JAR onto server?
jaikiran May 8, 2008 4:06 AM (in response to thomas2008ch)"thomas2008ch" wrote:
"jaikiran" wrote:
The free (community) version of JBoss does not have this feature. From what i have read in these forums, the paid version of JBoss has this facility.
This is not good. :-)
Actually, when i said that JBoss does not have a admin console, i meant that there is no UI from where you can configure/start/stop the application or do some other advanced settings. However, even in the free version of JBoss, there is the jmx-console http://localhost:8080/jmx-console which has a MainDeployer MBean. This MBean has deploy/undeploy operations which you can use."thomas2008ch" wrote:
Besides, how can I undeploy the deployed JAR? Simply delete it? Should I stop the server first?
As mentioned above, using the jmx-console is one option. The other option is to delete the jar from the deploy folder (you need not stop the server for undeploying). -
6. Re: How to deploy JAR onto server?
thomas2008ch May 8, 2008 5:11 AM (in response to thomas2008ch)Many thanks to your reply!
By the way, I've installed the JBoss 4.2 as a server in Eclipse 3.4. How can I deploy my ejb-project onto the JBoss server?
I click "Run on server" but it seems not works. -
7. Re: How to deploy JAR onto server?
jaikiran May 8, 2008 5:30 AM (in response to thomas2008ch)"thomas2008ch" wrote:
By the way, I've installed the JBoss 4.2 as a server in Eclipse 3.4. How can I deploy my ejb-project onto the JBoss server?
I click "Run on server" but it seems not works.
I won't be able to comment on this. I don't use any IDE for deploying to JBoss. Maybe someone who has experience with this will be able help you. -
8. Re: How to deploy JAR onto server?
dsal3034 May 20, 2008 10:09 PM (in response to thomas2008ch)I use jboss with eclipse and would highly recommend using the exploded war format for deploying during development.
So eclipse does all the compile/building for you, and changes I make to any jsp, java file in either the war or ejb are deployed instantly (no wait time at all). Plus no ant scripts for building or deployment at all!
I have 2 projects 1 war, 1 ejb. Each project has a folder called 'deploy' with explode war/jar directories under them.
I configure jboss to use these folders as additional deploy directories.
I configure eclipse to compile all classes in the exploded war to WEB-INF/classes directory, and all classes in the exploded jar to its root (myejb.jar).
That's it, you are basically working with your deployed files.
dsal