• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Deployment of helloWorld bean in Weblogic7.0

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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............
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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)
 
Ranch Hand
Posts: 351
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!
 
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Why don`t u download the weblogic7.0.This version have own tool there deploy ..
 
ezc ezc
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Are you here to take over the surface world? Because this tiny ad will stop you!
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic