Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 38442 invoked from network); 30 Jan 2008 17:09:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Jan 2008 17:09:51 -0000 Received: (qmail 81302 invoked by uid 500); 30 Jan 2008 17:09:41 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 80736 invoked by uid 500); 30 Jan 2008 17:09:40 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 80725 invoked by uid 99); 30 Jan 2008 17:09:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jan 2008 09:09:40 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jpmlpool@hotmail.com designates 65.54.246.105 as permitted sender) Received: from [65.54.246.105] (HELO bay0-omc1-s33.bay0.hotmail.com) (65.54.246.105) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jan 2008 17:09:11 +0000 Received: from hotmail.com ([65.54.168.80]) by bay0-omc1-s33.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 30 Jan 2008 09:09:17 -0800 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 30 Jan 2008 09:09:17 -0800 Message-ID: Received: from 24.86.123.169 by BAY113-DAV8.phx.gbl with DAV; Wed, 30 Jan 2008 17:09:16 +0000 X-Originating-IP: [24.86.123.169] X-Originating-Email: [jpmlpool@hotmail.com] X-Sender: jpmlpool@hotmail.com From: "jpmlpool" To: References: <83f101b30801291213p5ccf3b7do35384217c6151636@mail.gmail.com> <83f101b30801291421j8014e17m2e9e66b8a4fb2a43@mail.gmail.com> <1C2A631A-BB82-4904-A78D-11E7FEE9B362@yahoo.com> <83f101b30801291449m3d6da3e4y1bc6fc4036c682a8@mail.gmail.com> <73a75e430801291504l7cfcaf97r5102edc4931e2211@mail.gmail.com> Subject: Re: Spring petclinic sample application (from Srping 2.5.1) on Geronimo 2.0.2? Date: Wed, 30 Jan 2008 09:09:14 -0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0036_01C8631F.C8D64240" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1914 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1914 X-OriginalArrivalTime: 30 Jan 2008 17:09:17.0325 (UTC) FILETIME=[D8AD73D0:01C86362] X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------=_NextPart_000_0036_01C8631F.C8D64240 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Hi Jason, I often get OutOfMemoryError, although I have 1.5GB memory and only run Eclipse, Geronimo, MySQL and Firefox. Would you like to give me more details about how to setup MaxPermSize, which file ? The next is my eclipse.ini. Do you mean this file? -showsplash org.eclipse.platform --launcher.XXMaxPermSize 256m -vmargs -Xms256m -Xmx256m Thanks. John ----- Original Message ----- From: Jason Warner To: user@geronimo.apache.org Sent: Tuesday, January 29, 2008 3:04 PM Subject: Re: Spring petclinic sample application (from Srping 2.5.1) on Geronimo 2.0.2? Paul, One thing that jumps out is the OutOfMemoryError. Try increasing your PermGen space. Set -XX:MaxPermSize=256M at startup and see if that helps anything. ~Jason 2008/1/29 Paul Wong : David, I believe you are right. It looks like I have persistence issues here: I am using the default Spring PetClinic application which uses HSQL as the database. Please find the applicationContext-jdbc.xml and web.xml attached. Thanks a lot. Paul **************************************************************** Geronimo Application Server started 14:39:24,862 WARN [MetaData] No setter was found for method new in type org.spr ingframework.samples.petclinic.BaseEntity while searching for persistent propert ies. This method will be ignored. If you intended for this to be persistent, ple ase add a corresponding setter, or switch to field access for this type hierarch y. 14:39:24,877 WARN [MetaData] No setter was found for method specialties in type org.springframework.samples.petclinic.Vet while searching for persistent proper ties. This method will be ignored. If you intended for this to be persistent, pl ease add a corresponding setter, or switch to field access for this type hierarc hy. 14:39:24,877 WARN [MetaData] No setter was found for method nrOfSpecial ties in type org.springframework.samples.petclinic.Vet while searching for persistent pr operties. This method will be ignored. If you intended for this to be persistent , please add a corresponding setter, or switch to field access for this type hie rarchy. 14:39:24,877 WARN [MetaData] No setter was found for method pets in type org.sp ringframework.samples.petclinic.Owner while searching for persistent properties. This method will be ignored. If you intended for this to be persistent, please add a corresponding setter, or switch to field access for this type hierarchy. 14:39:24,955 WARN [MetaData] No setter was found for method visits in type org. springframework.samples.petclinic.Pet while searching for persistent properties. This method will be ignored. If you intended for this to be persistent, please add a corresponding setter, or switch to field access for this type hierarchy. 14:39:25,065 WARN [Enhance] Detected the following possible violations of the r estrictions placed on property access persistent types: "org.springframework.samples.petclinic.BaseEntity" uses property access, but its field "id" is accessed directly in method "isNew" defined in "org.springframewo rk.samples.petclinic.BaseEntity". 14:39:25,112 WARN [Enhance] Detected the following possible violations of the r estrictions placed on property access persistent types: "org.springframework.samples.petclinic.Owner" uses property access, but its fiel d "city" is accessed directly in method "toString" defined in "org.springframewo rk.samples.petclinic.Owner". "org.springframework.samples.petclinic.Owner" uses property access, but its fiel d "telephone" is accessed directly in method "toString" defined in "org.springfr amework.samples.petclinic.Owner". "org.springframework.samples.petclinic.Owner" uses property access, but its fiel d "address" is accessed directly in method "toString" defined in "org.springfram ework.samples.petclinic.Owner". 14:40:53,049 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception java.lang.OutOfMemoryError: PermGen space 14:40:55,283 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception java.lang.OutOfMemoryError: PermGen space 14:40:55,283 ERROR [0]] Exception Processing ErrorPage[exceptionType=java.lang.E xception, location=/WEB-INF/jsp/uncaughtException.jsp] javax.servlet.ServletException: java.lang.OutOfMemoryError: PermGen space at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:274) at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:206) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp atcher.java:654) at org.apache.catalina.core.ApplicationDispatcher.processRequest(Applica tionDispatcher.java:447) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD ispatcher.java:379) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis patcher.java:292) at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.j ava:424) at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValv e.java:271) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:142) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:104) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:109) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java: 563) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav a:261) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java :844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce ss(Http11Protocol.java:581) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44 7) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.OutOfMemoryError: PermGen space 14:41:51,190 ERROR [[/console-standard]] StandardWrapper.Throwable java.lang.OutOfMemoryError: PermGen space 14:41:51,205 ERROR [[LogManager]] Allocate exception for servlet LogManager java.lang.OutOfMemoryError: PermGen space 14:41:51,205 ERROR [PortletInvokerImpl] PortletInvokerImpl.render() - Error whil e dispatching portlet. java.lang.OutOfMemoryError: PermGen space 14:41:53,408 ERROR [ColumnFragment_jsp]] Servlet.service() for servlet jsp.WEB_0 02dINF.aggregation.ColumnFragment_jsp threw exception java.lang.OutOfMemoryError: PermGen space 14:41:53,408 ERROR [RowFragment_jsp]] Servlet.service() for servlet jsp.WEB_002d INF.aggregation.RowFragment_jsp threw exception java.lang.OutOfMemoryError: PermGen space 14:41:53,424 ERROR [PageFragment_jsp]] Servlet.service() for servlet jsp.WEB_002 dINF.aggregation.PageFragment_jsp threw exception java.lang.OutOfMemoryError: PermGen space 14:41:53,424 ERROR [PageFragment_jsp]] Servlet.service() for servlet jsp.WEB_002 dINF.aggregation.PageFragment_jsp threw exception java.lang.OutOfMemoryError: PermGen space 14:41:53,424 ERROR [RootFragment_jsp]] Servlet.service() for servlet jsp.WEB_002 dINF.aggregation.RootFragment_jsp threw exception java.lang.OutOfMemoryError: PermGen space 14:41:53,424 ERROR [Servlet] Exception caught: 14:41:55,627 ERROR [[se-console]] Servlet.service() for servlet se-console threw exception java.lang.OutOfMemoryError: PermGen space **************************************************************** On Jan 29, 2008 2:38 PM, David Jencks wrote: The plan doesn't have anything obvious wrong. Can you look in var/config/geronimo.log and find the stack trace for the first exception? Just the message line doesn't have enough info. Is there a persistence.xml file in this app? If so could you post it? Most likely you have to configure datasources for it to use. thanks david jencks On Jan 29, 2008, at 2:21 PM, Paul Wong wrote: Hi All, I have modified the geronimo-web.xml to the following: org.springframework.samples petclinic 1.0 /petclinic I got the following error after deployment: I think I might just miss something in my deployment file(s). If it is not too much trouble, please help. Thanks a lot. 6851 total message(s) in log file. 10 matched your criteria (number of results capped). 6621: 14:07:03,893 ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="default/petclinic/1201644415049/car?J2EEApplication=default/pe tclinic/1201644415049/car,j2eeType=WebModule,name=petclinic.war" 6669: 14:07:03,955 ERROR [GBeanInstance] Problem in doStop of default/petclinic/1201644415049/car?J2EEApplication=default/petclinic/120164 4415049/car,PersistenceUnitModule=WEB-INF/lib/petclinic-domain.jar,WebModule =petclinic.war,j2eeType=PersistenceUnit,name=PetClinic 6712: 14:15:51,424 ERROR [ContextLoader] Context initialization failed 6714: 14:15:51,424 ERROR [[/petclinic]] Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener 6716: 14:15:51,424 ERROR [StandardContext] Error listenerStart 6717: 14:15:51,424 ERROR [StandardContext] Context [/petclinic] startup failed due to previous errors 6718: 14:15:52,612 ERROR [ContainerBase] ContainerBase.addChild: start: 6766: 14:15:52,627 WARN [TomcatWebAppContext] TomcatWebAppContext failed 6767: 14:15:52,627 ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="default/petclinic/1201644940768/car?J2EEApplication=default/pe tclinic/1201644940768/car,j2eeType=WebModule,name=petclinic.war" 6815: 14:15:52,627 ERROR [GBeanInstance] Problem in doStop of default/petclinic/1201644940768/car?J2EEApplication=default/petclinic/120164 4940768/car,PersistenceUnitModule=WEB-INF/lib/petclinic-domain.jar,WebModule =petclinic.war,j2eeType=PersistenceUnit,name=PetClinic On Jan 29, 2008 1:14 PM, David Jencks wrote: Could you give us more info on exactly where you found this app and where the geronimo plan is? We might want to try to get the plan upgraded to a less obsolete version. The geronimo 1.0 plans were not compatible with later geronimo releases. In geronimo 1.1 we included a plan upgrader, but it seems to have disappeared from later geronimo releases. The simplest way to use it is I believe to download a copy of geronimo 1.1 from http://geronimo.apache.org/apache-geronimo-v11-release.html, unpack it, and run java -jar bin/upgrade.jar This is less than desirable.... but this is also the first anyone has noticed that the upgrader has gone missing. thanks david jencks On Jan 29, 2008, at 12:13 PM, Paul Wong wrote: hey all: I am trying to deploy the Spring petclinic sample application (from Srping 2.5.1) on Geronimo 2.0.2 and i get this error: org.apache.geronimo.common.DeploymentException: Cannot handle web plan with namespace http://geronimo.apache.org/xml/ns/j2ee/web-1.0 -- expecting http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1 or...... Any suggestion to get this going? Thanks a lot for your great help. Paul ------=_NextPart_000_0036_01C8631F.C8D64240 Content-Type: text/html; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable
 
Hi Jason,
 
    I often get = OutOfMemoryError, although I have = 1.5GB
memory and only run Eclipse, = Geronimo, MySQL=20 and Firefox.
Would you like to give me = more details=20 about how  to setup
MaxPermSize, which file ?
 
    The next is = my=20 eclipse.ini. Do you mean this file?
 
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize<= BR>256m
-vmargs
-Xms256m
-Xmx256m
 
    = Thanks.
 
John
 
    =
----- Original Message ----- =
From:=20 Jason = Warner=20
To: user@geronimo.apache.org =
Sent: Tuesday, January = 29, 2008=20 3:04 PM
Subject: Re: Spring = petclinic=20 sample application (from Srping 2.5.1) on Geronimo 2.0.2?

Paul,

One thing that jumps out is the=20 OutOfMemoryError.  Try increasing your PermGen space.  Set=20 -XX:MaxPermSize=3D256M at startup and see if that helps = anything.

~Jason=20

2008/1/29 Paul Wong <tgalways@gmail.com>:
David,

I=20 believe you are right.
It looks like I have persistence issues = here:
I=20 am using the default Spring PetClinic application which uses HSQL as = the=20 database.
Please find the applicationContext-jdbc.xml and web.xml = attached.

Thanks a=20 = lot.

Paul

*************************************************= ***************
Geronimo=20 Application Server started
14:39:24,862 WARN  [MetaData] No = setter=20 was found for method new in type=20 org.spr
ingframework.samples.petclinic.BaseEntity while searching = for=20 persistent propert
ies. This method will be ignored. If you = intended for=20 this to be persistent, ple
ase add a corresponding setter, or = switch to=20 field access for this type hierarch
y.
14:39:24,877 WARN  = [MetaData] No setter was found for method specialties in=20 type
 org.springframework.samples.petclinic.Vet while = searching for=20 persistent proper
ties. This method will be ignored. If you = intended for=20 this to be persistent, pl
ease add a corresponding setter, or = switch to=20 field access for this type hierarc
hy.
14:39:24,877 WARN  = [MetaData] No setter was found for method nrOfSpecialties in
type = org.springframework.samples.petclinic.Vet while searching for = persistent=20 pr
operties. This method will be ignored. If you intended for = this to be=20 persistent
, please add a corresponding setter, or switch to = field access=20 for this type hie
rarchy.
14:39:24,877 WARN  [MetaData] = No setter=20 was found for method pets in type=20 org.sp
ringframework.samples.petclinic.Owner while searching for=20 persistent properties.
 This method will be ignored. If you = intended=20 for this to be persistent, please
add a corresponding setter, or = switch=20 to field access for this type hierarchy.
14:39:24,955 WARN =20 [MetaData] No setter was found for method visits in type=20 org.
springframework.samples.petclinic.Pet while searching for = persistent=20 properties.
 This method will be ignored. If you intended = for this=20 to be persistent, please
add a corresponding setter, or switch to = field=20 access for this type hierarchy.
14:39:25,065 WARN  [Enhance] = Detected the following possible violations of the r
estrictions = placed on=20 property access persistent=20 types:
"org.springframework.samples.petclinic.BaseEntity" uses = property=20 access, but its
 field "id" is accessed directly in method = "isNew"=20 defined in=20 = "org.springframewo
rk.samples.petclinic.BaseEntity".
14:39:25,112=20 WARN  [Enhance] Detected the following possible violations of = the=20 r
estrictions placed on property access persistent=20 types:
"org.springframework.samples.petclinic.Owner" uses = property=20 access, but its fiel
d "city" is accessed directly in method = "toString"=20 defined in=20 = "org.springframewo
rk.samples.petclinic.Owner".
"org.springframewor= k.samples.petclinic.Owner"=20 uses property access, but its fiel
d "telephone" is accessed = directly in=20 method "toString" defined in=20 = "org.springfr
amework.samples.petclinic.Owner".
"org.springframewor= k.samples.petclinic.Owner"=20 uses property access, but its fiel
d "address" is accessed = directly in=20 method "toString" defined in=20 "org.springfram
ework.samples.petclinic.Owner".
14:40:53,049 = ERROR=20 [[jsp]] Servlet.service() for servlet jsp threw=20 exception
java.lang.OutOfMemoryError: PermGen = space
14:40:55,283 ERROR=20 [[jsp]] Servlet.service() for servlet jsp threw=20 exception
java.lang.OutOfMemoryError: PermGen = space
14:40:55,283 ERROR=20 [0]] Exception Processing = ErrorPage[exceptionType=3Djava.lang.E
xception,=20 = location=3D/WEB-INF/jsp/uncaughtException.jsp]
javax.servlet.ServletEx= ception:=20 java.lang.OutOfMemoryError: PermGen=20 space
        at=20 = org.apache.jasper.servlet.JspServlet.service(JspServlet.java:274)
&nbs= p;      =20 at=20 = javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
 &nb= sp;     =20 at=20 = org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
= icationFilterChain.java:290)
       = ;=20 at=20 = org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
= ilterChain.java:206)
       =20 at=20 = org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
= atcher.java:654)
       =20 at=20 = org.apache.catalina.core.ApplicationDispatcher.processRequest(Applica
= tionDispatcher.java:447)
       =20 at=20 = org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD
= ispatcher.java:379)
       =20 at=20 = org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis
= patcher.java:292)
       =20 at=20 = org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.j
= ava:424)
       =20 at=20 = org.apache.catalina.core.StandardHostValve.throwable(StandardHostValv
= e.java:271)
       =20 at=20 = org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
= ava:142)
       =20 at=20 = org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
= ava:104)
       =20 at=20 = org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
= ve.java:109)
       =20 at=20 = org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
= 563)
       =20 at=20 = org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
= a:261)
       =20 at=20 = org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
= :844)
       =20 at=20 = org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
= ss(Http11Protocol.java:581)
       = =20 at=20 = org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
= 7)
       =20 at java.lang.Thread.run(Thread.java:595)
Caused by:=20 java.lang.OutOfMemoryError: PermGen space
14:41:51,190 ERROR=20 [[/console-standard]]=20 StandardWrapper.Throwable
java.lang.OutOfMemoryError: PermGen=20 space
14:41:51,205 ERROR [[LogManager]] Allocate exception for = servlet=20 LogManager
java.lang.OutOfMemoryError: PermGen = space
14:41:51,205=20 ERROR [PortletInvokerImpl] PortletInvokerImpl.render() - Error = whil
e=20 dispatching portlet.
java.lang.OutOfMemoryError: PermGen=20 space
14:41:53,408 ERROR [ColumnFragment_jsp]] Servlet.service() = for=20 servlet jsp.WEB_0
02dINF.aggregation.ColumnFragment_jsp threw=20 exception
java.lang.OutOfMemoryError: PermGen = space
14:41:53,408 ERROR=20 [RowFragment_jsp]] Servlet.service() for servlet=20 jsp.WEB_002d
INF.aggregation.RowFragment_jsp threw=20 exception
java.lang.OutOfMemoryError: PermGen = space
14:41:53,424 ERROR=20 [PageFragment_jsp]] Servlet.service() for servlet=20 jsp.WEB_002
dINF.aggregation.PageFragment_jsp threw=20 exception
java.lang.OutOfMemoryError: PermGen = space
14:41:53,424 ERROR=20 [PageFragment_jsp]] Servlet.service() for servlet=20 jsp.WEB_002
dINF.aggregation.PageFragment_jsp threw=20 exception
java.lang.OutOfMemoryError: PermGen = space
14:41:53,424 ERROR=20 [RootFragment_jsp]] Servlet.service() for servlet=20 jsp.WEB_002
dINF.aggregation.RootFragment_jsp threw=20 exception
java.lang.OutOfMemoryError: PermGen = space
14:41:53,424 ERROR=20 [Servlet] Exception caught:
14:41:55,627 ERROR [[se-console]]=20 Servlet.service() for servlet se-console=20 threw
 exception
java.lang.OutOfMemoryError: PermGen=20 = space

************************************************************= ****


On Jan 29, 2008 2:38 PM, David Jencks = <david_jencks@yahoo.com> wrote:
The plan doesn't have anything obvious wrong.

Can you look in var/config/geronimo.log and find the stack = trace for=20  the first exception?  Just the message line doesn't = have enough=20 info.

Is there a persistence.xml file in this app?  If so = could you=20 post it?  Most likely you have to configure datasources for = it to=20 use.
thanks
david jencks

On Jan 29, 2008, at 2:21 PM, Paul Wong wrote:

Hi All,

I have modified the=20 geronimo-web.xml to the following:
<?xml version=3D"1.0"=20 encoding=3D"UTF-8"?>
<web-app
    = xmlns=3D"http://geronimo.apache.org/xml/ns/j2ee/web-1.1">   =20 <environment>
       =20 <moduleId>
       =20    =20 = <groupId>org.springframework.samples</groupId>
  = ; =20        =20 = <artifactId>petclinic</artifactId>
   =20        =20 <version>1.0</version>
   =20     </moduleId>
   =20    =20 <dependencies></dependencies>   =20    
   =20 </environment>
       =20
   =20 = <context-root>/petclinic</context-root>
</web-app>&n= bsp;  =20

I got the following error after deployment:
I think I = might=20 just miss something in my deployment file(s). 
If it is = not too=20 much trouble, please help.  Thanks a lot.

6851 total message(s) in log file. 10 matched your = criteria=20 (number of results capped).
6621: 14:07:03,893 ERROR [GBeanInstanceState] Error = while=20 starting; GBean is now in the FAILED state:=20 = abstractName=3D"default/petclinic/1201644415049/car?J2EEApplication=3Ddef= ault/petclinic/1201644415049/car,j2eeType=3DWebModule,name=3Dpetclinic.wa= r"
6669: 14:07:03,955 ERROR [GBeanInstance] Problem in = doStop of=20 = default/petclinic/1201644415049/car?J2EEApplication=3Ddefault/petclinic/1= 201644415049/car,PersistenceUnitModule=3DWEB-INF/lib/petclinic-domain.jar= ,WebModule=3Dpetclinic.war,j2eeType=3DPersistenceUnit,name=3DPetClinic
6712: 14:15:51,424 ERROR [ContextLoader] Context=20 initialization failed
6714: 14:15:51,424 ERROR [[/petclinic]] Exception = sending=20 context initialized event to listener instance of class=20 org.springframework.web.context.ContextLoaderListener
6716: 14:15:51,424 ERROR [StandardContext] Error=20 listenerStart
6717: 14:15:51,424 ERROR [StandardContext] Context=20 [/petclinic] startup failed due to previous = errors
6718: 14:15:52,612 ERROR [ContainerBase]=20 ContainerBase.addChild: start:
6766: 14:15:52,627 WARN [TomcatWebAppContext]=20 TomcatWebAppContext failed
6767: 14:15:52,627 ERROR [GBeanInstanceState] Error = while=20 starting; GBean is now in the FAILED state:=20 = abstractName=3D"default/petclinic/1201644940768/car?J2EEApplication=3Ddef= ault/petclinic/1201644940768/car,j2eeType=3DWebModule,name=3Dpetclinic.wa= r"
6815: 14:15:52,627 ERROR [GBeanInstance] Problem in = doStop of=20 = default/petclinic/1201644940768/car?J2EEApplication=3Ddefault/petclinic/1= 201644940768/car,PersistenceUnitModule=3DWEB-INF/lib/petclinic-domain.jar= ,WebModule=3Dpetclinic.war,j2eeType=3DPersistenceUnit,name=3DPetClinic



On Jan 29, 2008 1:14 PM, David Jencks = <david_jencks@yahoo.com> wrote:
Could you give us more info on exactly where you found = this app=20 and where the geronimo plan is?  We might want to try to = get the=20 plan upgraded to a less obsolete version.  The geronimo = 1.0 plans=20 were not compatible with later geronimo releases.

In geronimo 1.1 we included a plan upgrader, but it seems = to have=20 disappeared from later geronimo releases.  The simplest = way to=20 use it is I believe to download a copy of geronimo 1.1 = from http://geronimo.apache.org/apache-geronimo-v11-release.ht= ml,=20 unpack it, and run

java -jar bin/upgrade.jar <input-plan>=20 <output-plan>

This is less than desirable.... but this is also the = first anyone=20 has noticed that the upgrader has gone missing.

thanks
david jencks



On Jan 29, 2008, at 12:13 PM, Paul Wong wrote:

hey all:


 

I am trying to deploy the Spring petclinic sample = application=20 (from Srping 2.5.1) on Geronimo 2.0.2 and i get this = error:


 

org.apache.geronimo.common.DeploymentException: Cannot = handle web=20 plan

with namespace http://geronimo.apache.org/xml/ns/j2ee/web-1.0=20 --

expecting http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1=20 or......


 

Any suggestion to get this going?


 

Thanks a lot for your great help.


 

Paul


 
=

 





------=_NextPart_000_0036_01C8631F.C8D64240--