| Author |
Deployment of helloWorld bean in Weblogic7.0
|
Savitha Kulkarni
Greenhorn
Joined: Jul 14, 2002
Posts: 6
|
|
hi friends, i have created my jar file jar -cvf Hello.jar *.class META-INF and war file jar -cvf Hello.war *.jsp META-INF and i have updated my files to bea\user_project\mydomain\applications(.jar & .war) in this folder Then i started my server while starting it gave an error like Deployment not Found? what may be the reason............
|
 |
ezc ezc
Greenhorn
Joined: Jul 08, 2002
Posts: 7
|
|
first try to come for conclusion that weather u want to run ur application in exploded format or archive format?if ur intrested to make it .ear than u need to make an .ear with weblogic specified format.after that u can deploy it.what exactly the error ur getting?post me that so that i can respond .if ur intrested to deploy ur jar's than u have to do weblogic.ejbc for ur standard jars and u can plcae it in applications directory.than weblogic will automatically deploy it. any way post me ur error.. thx.. ezc ezc
|
 |
Savitha Kulkarni
Greenhorn
Joined: Jul 14, 2002
Posts: 6
|
|
i have created jar of Remote,Home & Bean Class including META-INF directory in which i have added ejb-jar.xml and weblogic-eib-jar.xml Then i have checked it for ejbc it gave EJBC successfull Then i have an jsp file i have created war file if it jar -cvf First.war *.jsp META-INF Then i put this jar and war files in to c:\bea\user_project\mydomain\Applications directory It gave an Error like like First.war Deployment Not possible because No DeploymentFound it is giving Or if u have any examples pls send me and i have to able to call the bean using JSP. PLsssss send me how can i proceed step by step to deploy and run it using IE.(URL)
|
 |
Savitha Kulkarni
Greenhorn
Joined: Jul 14, 2002
Posts: 6
|
|
The error was like this weblogic.management.ApplicationException: No deployment found at C:\bea\user_ashok\Ashok\Client.war. at weblogic.j2ee.J2EEApplicationContainerFactory.initializeDeployment(J2EEApplicationContainerFactory.java:350) at weblogic.management.deploy.DeployerRuntime.unprotectedActivate(DeployerRuntime.java:350) at weblogic.management.deploy.DeployerRuntime.access$0(DeployerRuntime.java:282) at weblogic.management.deploy.DeployerRuntime$1.run(DeployerRuntime.java:947) at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:721) at weblogic.management.deploy.DeployerRuntime.checkAndPerformDeployerActions(DeployerRuntime.java:941) at weblogic.management.deploy.DeployerRuntime.activate(DeployerRuntime.java:279) at java.lang.reflect.Method.invoke(Native Method) at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:717) at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:699) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:920) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:470) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:198) at $Proxy50.activate(Unknown Source) at weblogic.management.console.actions.mbean.ConfigureAppWizardAction.commit(ConfigureAppWizardAction.java:248) at weblogic.management.console.actions.mbean.ConfigureAppWizardAction.perform(ConfigureAppWizardAction.java:100) at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171) at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:945) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:332) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:242) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5363) at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:721) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3043) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2466) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133) --------------- nested within: ------------------ weblogic.management.ManagementException: Unable to activate application, Client, from source, C:\bea\user_ashok\Ashok\Client.war. Reason: No deployment found at C:\bea\user_ashok\Ashok\Client.war. - with nested exception: [weblogic.management.ApplicationException: No deployment found at C:\bea\user_ashok\Ashok\Client.war.] at weblogic.management.deploy.DeployerRuntime.unprotectedActivate(DeployerRuntime.java:384) at weblogic.management.deploy.DeployerRuntime.access$0(DeployerRuntime.java:282) at weblogic.management.deploy.DeployerRuntime$1.run(DeployerRuntime.java:947) at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:721) at weblogic.management.deploy.DeployerRuntime.checkAndPerformDeployerActions(DeployerRuntime.java:941) at weblogic.management.deploy.DeployerRuntime.activate(DeployerRuntime.java:279) at java.lang.reflect.Method.invoke(Native Method) at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:717) at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:699) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:920) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:470) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:198) at $Proxy50.activate(Unknown Source) at weblogic.management.console.actions.mbean.ConfigureAppWizardAction.commit(ConfigureAppWizardAction.java:248) at weblogic.management.console.actions.mbean.ConfigureAppWizardAction.perform(ConfigureAppWizardAction.java:100) at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171) at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:945) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:332) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:242) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5363) at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:721) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3043) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2466) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133) --------------- nested within: ------------------ weblogic.management.console.actions.ActionException: Unable to activate application, Client, from source, C:\bea\user_ashok\Ashok\Client.war. Reason: No deployment found at C:\bea\user_ashok\Ashok\Client.war. - with nested exception: [weblogic.management.ManagementException: Unable to activate application, Client, from source, C:\bea\user_ashok\Ashok\Client.war. Reason: No deployment found at C:\bea\user_ashok\Ashok\Client.war. - with nested exception: [weblogic.management.ApplicationException: No deployment found at C:\bea\user_ashok\Ashok\Client.war.]] at weblogic.management.console.actions.ErrorAction.(ErrorAction.java:38) at weblogic.management.console.actions.mbean.ConfigureAppWizardAction.commit(ConfigureAppWizardAction.java:286) at weblogic.management.console.actions.mbean.ConfigureAppWizardAction.perform(ConfigureAppWizardAction.java:100) at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171) at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:945) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:332) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:242) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5363) at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:721) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3043) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2466) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
|
 |
Savitha Kulkarni
Greenhorn
Joined: Jul 14, 2002
Posts: 6
|
|
The error was like this weblogic.management.ApplicationException: No deployment found at C:\bea\user_savitha\savitha\Client.war. at weblogic.j2ee.J2EEApplicationContainerFactory.initializeDeployment(J2EEApplicationContainerFactory.java:350) at weblogic.management.deploy.DeployerRuntime.unprotectedActivate(DeployerRuntime.java:350) at weblogic.management.deploy.DeployerRuntime.access$0(DeployerRuntime.java:282) at weblogic.management.deploy.DeployerRuntime$1.run(DeployerRuntime.java:947) at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:721) at weblogic.management.deploy.DeployerRuntime.checkAndPerformDeployerActions(DeployerRuntime.java:941) at weblogic.management.deploy.DeployerRuntime.activate(DeployerRuntime.java:279) at java.lang.reflect.Method.invoke(Native Method) at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:717) at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:699) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:920) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:470) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:198) at $Proxy50.activate(Unknown Source) at weblogic.management.console.actions.mbean.ConfigureAppWizardAction.commit(ConfigureAppWizardAction.java:248) at weblogic.management.console.actions.mbean.ConfigureAppWizardAction.perform(ConfigureAppWizardAction.java:100) at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171) at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:945) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:332) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:242) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5363) at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:721) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3043) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2466) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133) --------------- nested within: ------------------ weblogic.management.ManagementException: Unable to activate application, Client, from source, C:\bea\user_savitha\savitha\Client.war. Reason: No deployment found at C:\bea\user_savitha\savitha\Client.war. - with nested exception: [weblogic.management.ApplicationException: No deployment found at C:\bea\user_savitha\savitha\Client.war.] at weblogic.management.deploy.DeployerRuntime.unprotectedActivate(DeployerRuntime.java:384) at weblogic.management.deploy.DeployerRuntime.access$0(DeployerRuntime.java:282) at weblogic.management.deploy.DeployerRuntime$1.run(DeployerRuntime.java:947) at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:721) at weblogic.management.deploy.DeployerRuntime.checkAndPerformDeployerActions(DeployerRuntime.java:941) at weblogic.management.deploy.DeployerRuntime.activate(DeployerRuntime.java:279) at java.lang.reflect.Method.invoke(Native Method) at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:717) at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:699) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:920) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:470) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:198) at $Proxy50.activate(Unknown Source) at weblogic.management.console.actions.mbean.ConfigureAppWizardAction.commit(ConfigureAppWizardAction.java:248) at weblogic.management.console.actions.mbean.ConfigureAppWizardAction.perform(ConfigureAppWizardAction.java:100) at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171) at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:945) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:332) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:242) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5363) at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:721) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3043) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2466) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133) --------------- nested within: ------------------ weblogic.management.console.actions.ActionException: Unable to activate application, Client, from source, C:\bea\user_ashok\Ashok\Client.war. Reason: No deployment found at C:\bea\user_savitha\savitha\Client.war. - with nested exception: [weblogic.management.ManagementException: Unable to activate application, Client, from source, C:\bea\user_savitha\savitha\Client.war. Reason: No deployment found at C:\bea\user_savitha\savitha\Client.war. - with nested exception: [weblogic.management.ApplicationException: No deployment found at C:\bea\user_savitha\savitha\Client.war.]] at weblogic.management.console.actions.ErrorAction.(ErrorAction.java:38) at weblogic.management.console.actions.mbean.ConfigureAppWizardAction.commit(ConfigureAppWizardAction.java:286) at weblogic.management.console.actions.mbean.ConfigureAppWizardAction.perform(ConfigureAppWizardAction.java:100) at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171) at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:945) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:332) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:242) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5363) at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:721) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3043) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2466) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
|
 |
Michael Pearson
Ranch Hand
Joined: Mar 11, 2001
Posts: 351
|
|
Savitha, Welcome to JavaRanch. Please change your name to comply with the naming policy to which you agreed when you registered. You can change your name here: here You can also find the naming policy here: http://www.javaranch.com/name.jsp Thank You!
|
 |
Graham Thorpe
Ranch Hand
Joined: Mar 25, 2002
Posts: 264
|
|
|
Why don`t u download the weblogic7.0.This version have own tool there deploy ..
|
 |
ezc ezc
Greenhorn
Joined: Jul 08, 2002
Posts: 7
|
|
hi... here the mistake u did is while creating war ur using jar-cv0f x.war urjsp meta-inf instead of meta-inf u have to specify web-inf,and in this web-inf ur web.xml should be placed. when ur intrested to deploy ur application in archive format why dont u try to make .ear with ur jar and war files.if u r able to make .ear waith jar and war u can easily deploy ur .ear.. any way here is an excellent link from weblogic about ur problem: http://edocs.bea.com/wls/docs61/programming/packaging.html goahead with this still u have any problem write me ur problems.. or else send me ur mail id...so that i can contact u.. thx.. ezc ezc
|
 |
 |
|
|
subject: Deployment of helloWorld bean in Weblogic7.0
|
|
|