This week's book giveaway is in the Programmer Certification forum.
We're giving away four copies of OCP Oracle Certified Professional Java SE 21 Developer Study Guide: Exam 1Z0-830 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
  • 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

Exploded ejb and ear file structure

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I am new to weblogic8.1 . I am just stuck with the problem that how to upload exploded ejb or ear file.
How am trying is like below for ejb

ejbjarfolder
|
|--META-INF
| |
| |--ejb-jar.xml
| |--weblogic-ejb-jar.xml
|
|--classfolder
|
|--here all class files with package


Now i am trying to upload its not uploading, but giving error as...

" Exception:weblogic.management.ApplicationException: prepare failed for jar Module: jar Error: Exception preparing module: EJBModule(jar,status=NEW) Unable to deploy EJB: E:\tcexploded\jar from jar: weblogic.ejb20.WLDeploymentException: [EJB:010106]EJB : CEInvoiceLine .Unable to initialize method info for remote or home interface. The error is java.lang.NoClassDefFoundError: com/nextlinx/tc/RequestData at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:1627) at java.lang.Class.privateGetPublicMethods(Class.java:1655) at java.lang.Class.privateGetPublicMethods(Class.java:1665) at java.lang.Class.getMethods(Class.java:815) at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.initializeMethodInfos(ClientDrivenBeanInfoImpl.java:1224) at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.<init>(ClientDrivenBeanInfoImpl.java:266) at weblogic.ejb20.deployer.SessionBeanInfoImpl.<init>(SessionBeanInfoImpl.java:74) at weblogic.ejb20.deployer.BeanInfoImpl.createBeanInfoImpl
...............
..............
......... etc etc... "

And same problem I am getting while uploading exploded ear. Please suggest me the neccessary steps and thing to follow while doing this.

please some one help me what wrong is going here, or i need to puth the classpath. if i need to put classpath please tell me how to do that since i don't know. waiting for some one's help

thanks and regards
dkumar_sharma
 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

You would find it easier to build your application using ant.
Refer to : http://e-docs.bea.com/wls/docs81/programming/environment.html

Regards,
Suhaasi
 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
try a
jar -cvf <jar-namr> .

in the folder and upload the same.
 
Ranch Hand
Posts: 1066
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you develop your application with Workshop 8.1, it has an option to generate the ear file for you. Once an ear file is generated, you can unzip the contents into a directory. While deploying with admin console, you can select this directory.

I myself am new to Weblogic 8.1, so do not know if this is a recommended or followed weblogic approach.
[ October 21, 2004: Message edited by: Vishwa Kumba ]
 
For my next feat, I will require a volunteer from the audience! Perhaps this tiny ad?
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