• 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

unable to deploy stateless session bean using weblogic 7

 
Ranch Hand
Posts: 399
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

Please help me in resolving this issue.

I am trying to deploy Stateless Session bean on weblogic 7. This is an example given in EdRoman 3rd edition.(From chapter Writing your own Bean).

When I try to deploy using Weblogic 7 (using the brower to browse the jar file ). I read no deployment found at d:\bea\user_projects\mydomain\HelloWorld.jar

Following are the contents of HelloWorld.jar

Remote Interface Hello.java
Local Interface HelloLocal.java
Home Interface HelloHome.java
Local Home Interface HelloLocalHome.java
EJB HelloBean.java
ejb-jar.xml
manifest.mf
weblogic-ejb-jar.xml

following are the contents of weblogic-ejb-jar file.

<weblogic-ejb-jar>
<weblogic-enterprise-bean>
<ejb-name>StatelessSession</ejb-name>
<jndi-name>HelloHome</jndi-name>
<local-jndi-name>HelloLocalHome</local-jndi-name>
</weblogic-enterprise-bean>
</weblogic-ejb-jar>


ejb-jar.xml
--------------

<ejb-jar>
<enterprise-beans>
<session>
<ejb-name>Hello</ejb-name>
<home>examples.HelloHome</home>
<remote>examples.Hello</remote>
<local-home>examples.HelloLocalHome</local-home>
<local>examples.HelloLocal</local>
<ejb-class>examples.HelloBean</ejb-class>
<session-type>stateless</session-type>
<transaction-type>container</transaction-type>
</session>
</enterprise-beans>
<assembly-descriptor></assembly-descriptor>
</ejb-jar>

I would appreciate any clues as to what is going wrong here. I would appreciate if any one here could point me the steps that need to be taken to deploy the statless session bean on weblogic 7.

Thanks and Best Regards

Ayub
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Tell us the steps how you tried to deployed.....
 
On my planet I'm considered quite beautiful. Thanks to the poetry in this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic