Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Getting error while creating jar with weblogic appc on weblogic10 server  RSS feed

 
vika mishra
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to build ejb jar with weblogic appc on weblogic10 server .although i have checked ejb-jar.xml is present in my META-INF.Can you suggest me what changes I need to make it read. :-


[jar] Building jar: D:\portal\build\jars\portal-ejb-temp-wl10.jar
[java] <Jan 21, 2011 7:42:13 PM IST> <Error> <J2EE> <BEA-160197> <Unable to load descriptor D:\portal\build\jars\portal-ejb-temp-wl10.jar/META-INF/ejb-jar.xml of module portal-ejb-temp-wl10.jar. The error is java.io.IOException
[java] at weblogic.descriptor.internal.MarshallerFactory.<init>(MarshallerFactory.java:50)
[java] at weblogic.descriptor.BasicDescriptorManager.getMarshallerFactory(BasicDescriptorManager.java:131)
[java] at weblogic.descriptor.BasicDescriptorManager.getDescriptorFactory(BasicDescriptorManager.java:165)
[java] at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:289)
[java] at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:260)
[java] at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:774)
[java] at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:395)
[java] at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:745)
[java] at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:754)
[java] at weblogic.ejb.spi.EjbJarDescriptor.getEjbJarBean(EjbJarDescriptor.java:131)
 
Dhiraj Mahapatro
Greenhorn
Posts: 12
Eclipse IDE Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
vika mishra wrote:

[jar] Building jar: D:\portal\build\jars\portal-ejb-temp-wl10.jar
[java] <Jan 21, 2011 7:42:13 PM IST> <Error> <J2EE> <BEA-160197> <Unable to load descriptor D:\portal\build\jars\portal-ejb-temp-wl10.jar/META-INF/ejb-jar.xml of module portal-ejb-temp-wl10.jar. The error is java.io.IOException


Check the build.xml.

ejb-jar.xml is referred from the jar itself which you are working on/building.
The path D:\portal\build\jars\portal-ejb-temp-wl10.jar would be the out come of the build process.

D:\portal\build\jars\portal-ejb-temp-wl10.jar/META-INF/ejb-jar.xml doesn't seem like a location for the ejb-jar.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!