May be this question was asked several times,
How can I deploy an EJB without stopping the weblogic server ? Is it possible when the server is running in Production mode ?
Thanx
-
EJB Deployment (4 messages)
- Posted by: Sudhir Kethamakka
- Posted on: October 28 2002 10:11 EST
Threaded Messages (4)
- EJB Deployment by Dave C on October 28 2002 10:35 EST
- EJB Deployment by Sudhir Kethamakka on October 29 2002 11:48 EST
- EJB Deployment by Dave C on October 29 2002 01:54 EST
- EJB Deployment by Sudhir Kethamakka on October 29 2002 11:48 EST
- EJB Deployment by Sudhir Kethamakka on October 29 2002 11:48 EST
-
EJB Deployment[ Go to top ]
- Posted by: Dave C
- Posted on: October 28 2002 10:35 EST
- in response to Sudhir Kethamakka
If you want Weblogic to auto-deploy your beans (for 6.1 and up), you have to be in Production mode. YOu copy the jar output from ejbc to the applications directory of your domain (for 6.1 it would be $BEA_HOME/wlserver6.1/your_domain/applications).
In production mode, though, you should be able to go into the console, select the EJB, undeploy it, and then redeploy it manually.
What I've done is when I update the production server, and have added or removed EJBs, bounce it in development mode so it sucks everything up and configures all the EJBs and then bounce it again in production mode. -
EJB Deployment[ Go to top ]
- Posted by: Sudhir Kethamakka
- Posted on: October 29 2002 11:48 EST
- in response to Dave C
Thanks for you response.
I tried to do the second step you have mention (undeploy/deploy through console), but my new jar never got picked up. Then, I completly deleted the jar and tried to re-install, that failed too.
Is you third step (bounce) a must. if so can you explain that more detailed.
Thanks
-
EJB Deployment[ Go to top ]
- Posted by: Dave C
- Posted on: October 29 2002 13:54 EST
- in response to Sudhir Kethamakka
Hmmm, that is peculiar. When I did 6.1 before I knew about the development mode thing, I would just bounce (stop/restart) the server. Why is development mode not an option? That would be the preferable way to do it. I really don't know why undeploy/redploy via the console doesn't work. It works for webapps.
Sorry, I'm afraid I can't give you much more info except to try development mode or to just deal with restarting the server if you can't use development mode.
The only other thing I can think of is to implement and test your EJBs as plain classes with static methods or something, and then when you have them working, convert them to EJBs. That is kindof a hack, but you could at least do most of your development and debugging outside Weblogic....
-
EJB Deployment[ Go to top ]
- Posted by: Sudhir Kethamakka
- Posted on: October 29 2002 11:48 EST
- in response to Dave C
Thanks for you response.
I tried to do the second step you have mentioned(undeploy/deploy through console), but my new jar never got picked up. Then, I completly deleted the jar and tried to re-install, that failed too.
Is you third step (bounce) a must. if so can you explain that more detailed.
Thanks