geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carla Cremers" <crem...@azulsystems.com>
Subject RE: Petstore : No configuration with id
Date Thu, 03 Nov 2005 23:26:52 GMT
One step I left out was blowing off the repository prior to doing the clean
geronimo build.  I get the same thing when I remove petstore and
re-unzip/patch/build/etc.  This is on a Linux RedHat 2.6.12-1.1372_FC3smp
system, but it also happens on Solaris 9.   

cremers@qax2005: % maven -o petstore:start
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

You are working offline so the build will continue, but
geronimo-derby-1.0-SNAPSHOT.jar may be out of date!
You are working offline so the build will continue, but
geronimo-common-1.0-SNAPSHOT.jar may be out of date!
You are working offline so the build will continue, but
geronimo-kernel-1.0-SNAPSHOT.jar may be out of date!
You are working offline so the build will continue, but
geronimo-deployment-1.0-SNAPSHOT.jar may be out of date!
You are working offline so the build will continue, but
geronimo-deploy-jsr88-1.0-SNAPSHOT.jar may be out of date!
You are working offline so the build will continue, but
geronimo-system-1.0-SNAPSHOT.jar may be out of date!
build:start:

petstore:start:
    [echo] Waiting for server at:
/home/cremers/java_apps/web_servers/geronimo_tot/nov_1/geronimo_nov_1/sandbox
/petstore/target/geronimo-1.0-SNAPSHOT
Booting Geronimo Kernel (in Java 1.4.2_03)...
Geronimo startup failed:
org.apache.geronimo.kernel.config.NoSuchConfigException: No configuration
with id: org/apache/geronimo/PetStore1.3.2
        at
org.apache.geronimo.kernel.config.ConfigurationManagerImpl.load(Configuration
ManagerImpl.java:111)
        at
org.apache.geronimo.kernel.config.ConfigurationManagerImpl.loadRecursive(Conf
igurationManagerImpl.java:178)
        at
org.apache.geronimo.kernel.config.ConfigurationManagerImpl.loadRecursive(Conf
igurationManagerImpl.java:167)
        at
org.apache.geronimo.kernel.config.ConfigurationManagerImpl$$FastClassByCGLIB$
$fbed85d2.invoke(<generated>)
        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
        at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.
java:38)
        at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:1
18)
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:779
)
        at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
        at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvok
er.java:36)
        at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethod
Interceptor.java:96)
        at
org.apache.geronimo.kernel.config.ConfigurationManager$$EnhancerByCGLIB$$4c75
ac8.loadRecursive(<generated>)
        at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:232)
        at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:78)
        at org.apache.geronimo.system.main.Daemon.main(Daemon.java:320)
Server shutdown begun             
├┐
BUILD FAILED
File......
/home/cremers/java_apps/web_servers/geronimo_tot/nov_1/geronimo_nov_1/sandbox
/petstore/maven.xml
Element... deploy:waitForStarted
Line...... 168
Column.... 53
Configuration is not yet started
├┐Total time: 45 seconds
Finished at: Thu Nov 03 15:20:33 PST 2005

cremers@qax2005: %  
cremers@qax2005: % uname -r 
2.6.12-1.1372_FC3smp

-----Original Message-----
From: Jacek Laskowski [mailto:jlaskowski@apache.org] 
Sent: Wednesday, November 02, 2005 1:51 PM
To: user@geronimo.apache.org
Subject: Re: Petstore : No configuration with id

Carla Cremers wrote:

> pushd ../../../../modules/assembly/target/geronimo-1.0-SNAPSHOT 

I didn't know the command - pushd - existed. Thanks!

> maven -o > & maven.out 

What operating system are you working on? It's not MS Windows, is it?

> /home/cremers/java_apps/web_servers/geronimo_tot/nov_1
> /geronimo_nov_1/sandbox/petstore/src/sql/petstore1.3.2.sql
>     [sql] 13 of 13 SQL statements executed successfully
> BUILD SUCCESSFUL
> 
> Getting it to start, 

Excellent!

> though : tried starting Petstore from
> console/Applications/Application Ears : 
> 
> 15:58:18,594 ERROR [GBeanInstanceState] Error while starting; GBean is now
in
> th
> e FAILED state:
> objectName="geronimo.config:name="org/apache/geronimo/PetStore1.
> 3.2""

I have never done it before, so I can't comment on the issue. If you 
could pinpoint the root cause I'd be more than happy ;)

> org.apache.geronimo.kernel.GBeanNotFoundException:
> geronimo.config:name="org/apa
> che/geronimo/PetStoreDataSource1.3.2" not found

I'd bet it's because of some earlier errors, but I'm just guessing.

> Tried starting using "maven -o petstore:start" : once with server up, once
> with server down : 

Well, the petstore:start command starts up a Geronimo instance and waits 
till it's up. You don't need to start it up manually before the command 
is executed. Anyway, it should work, too.

> petstore:start:
>     [echo] Waiting for server at:
> /home/cremers/java_apps/web_servers/geronimo_t
> ot/nov_1/geronimo_nov_1/sandbox/petstore/target/geronimo-1.0-SNAPSHOT
> Booting Geronimo Kernel (in Java 1.4.2_03)...
> Geronimo startup failed:
> org.apache.geronimo.kernel.config.NoSuchConfigException: No configuration
> with i
> d: org/apache/geronimo/PetStore1.3.2

Since I'm running it without any troubles, especially such bizarre ones, 
would you rebuild the petstore module once again and run it without 
first executing it via the console? I have no idea what might cause it, 
and the less it's different than I usually do the better.

Jacek

Mime
View raw message