File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes EJB & Websphere community edition 1.1 & GBean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB & Websphere community edition 1.1 & GBean" Watch "EJB & Websphere community edition 1.1 & GBean" New topic
Author

EJB & Websphere community edition 1.1 & GBean

divya sharma
Ranch Hand

Joined: Jan 25, 2007
Posts: 87
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


Divya
Shailesh Kini
Ranch Hand

Joined: Oct 17, 2001
Posts: 153
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 ]

Shailesh Kini.
 
jQuery in Action, 2nd edition
 
subject: EJB & Websphere community edition 1.1 & GBean