• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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 ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic