• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB & Websphere community edition 1.1 & GBean

 
divya sharma
Ranch Hand
Posts: 87
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am writting my project on myeclipse and application server as websphere community edition 1.1 whe I deploye my EAR application then 1st it show me an error for gerinimo-web.xml when I wrote it like this :
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.1">
<environment xmlns="http://geronimo.apache.org/xml/ns/deployment-1.1">
<moduleId>
<groupId>geronimo</groupId>
<artifactId>Customer</artifactId>
<version>1.1</version>
<type>war</type>
</moduleId>
</environment>
<context-root>/Customer</context-root>
</web-app>
(I dont know it write or wrong but find it while searching on google as a sample) now it showing me an error for GBean ... Here is my error :

Server started.
16:12:03,281 ERROR [GBeanInstance] Problem in doFail of default/JRECS/1192396322421/car?J2EEApplication=default/JRECS/1192396322421/car,j2eeType=WebModule,name=JRECSWeb.war
java.lang.RuntimeException: java.lang.NullPointerException
at org.apache.geronimo.tomcat.TomcatContainer.removeContext(TomcatContainer.java:327)
at org.apache.geronimo.tomcat.TomcatContainer$$FastClassByCGLIB$$9370b073.invoke(<generated>
at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)

Please help me !!!

Thanks,

divya
 
Shailesh Kini
Ranch Hand
Posts: 153
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Divya,

Does you ear file have an application.xml and geronimo-application.xml file?

Link URL=http://cwiki.apache.org/GMOxDOC11/geronimo-applicationxml.html]deploying ear [/url] should help.
[ October 17, 2007: Message edited by: Shailesh Kini ]
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic