geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <david_jen...@yahoo.com>
Subject Re: Spring petclinic sample application (from Srping 2.5.1) on Geronimo 2.0.2?
Date Tue, 29 Jan 2008 22:38:29 GMT
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:
> <?xml version="1.0" encoding="UTF-8"?>
> <web-app
>     xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.1">
>     <environment>
>         <moduleId>
>             <groupId>org.springframework.samples</groupId>
>             <artifactId>petclinic</artifactId>
>             <version>1.0</version>
>         </moduleId>
>         <dependencies></dependencies>
>     </environment>
>
>     <context-root>/petclinic</context-root>
> </web-app>
>
> 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/petclinic/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/1201644415049/car,PersistenceUnitModule=WEB-INF/lib/ 
> petclinic- 
> domain.jar,WebModule=petclinic.war,j2eeType=PersistenceUnit,name=PetCl 
> inic
> 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/petclinic/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/1201644940768/car,PersistenceUnitModule=WEB-INF/lib/ 
> petclinic- 
> domain.jar,WebModule=petclinic.war,j2eeType=PersistenceUnit,name=PetCl 
> inic
>
>
>
> 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 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 <input-plan> <output-plan>
>
> 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
>>
>>
>>
>
>


Mime
View raw message