Here's the exact sequence of commands : tried starting from ground 0 :
setenv J2EE_HOME ~/j2ee1.4sdk
setenv JAVA_HOME /usr/local/j2sdk1.4.2_03
setenv MAVEN_OPTS -Xmx1024m
svn checkout https://svn.apache.org/repos/asf/geronimo/trunk geronimo_nov_1
Checked out revision 330145.
cd geronimo_nov_1
maven m:fresh-checkout
maven m:rebuild-all
died in openejb with out of memory error when running
org.openejb.test.entity.cmp.CmpTestSuite
cd openejb
maven -o -Dmaven.test.skip=true -Dmaven.itest.skip=true
cd ../sandbox/petstore
unzip ~/downloads/petstore-1_3_2.zip
patch -p0 < src/etc/petstore1.3.2.diff
cd petstore1.3.2/src
./build.sh
pushd ../../../../modules/assembly/target/geronimo-1.0-SNAPSHOT
java -jar bin/server.jar
when server came up :
pushd
maven -o > & maven.out
] Preprocessing petstore1.3.2-security-plan.xml
[echo] Preprocessing opc1.3.2.ear-plan.xml
[echo] Preprocessing petstore1.3.2-db-ra-plan.xml
[echo] Preprocessing supplier1.3.2.ear-plan.xml
[echo] Preprocessing petstore1.3.2-jms-ra-plan.xml
[echo] Preprocessing petstore1.3.2.ear-plan.xml
[echo] Preprocessing petstoreadmin1.3.2.ear-plan.xml
[echo] Building Security Configuration
[java] Distributed org/apache/geronimo/PetStoreSecurity1.3.2
[java]
[echo] Building JMS Configuration
[java] Distributed org/apache/geronimo/PetStoreJMS1.3.2
[java]
[echo] Building Database Configuration
[java] Distributed org/apache/geronimo/PetStoreDataSource1.3.2
[java]
[echo] Distributing Java Pet Store Application
[java] Distributed org/apache/geronimo/PetStore1.3.2
[java]
[echo] Distributing Java Pet Store Supplier Application
[java] Distributed org/apache/geronimo/Supplier1.3.2
[java]
[echo] Distributing Java Pet Store OPC Application
[java] Distributed org/apache/geronimo/OPC1.3.2
[java]
[echo] Distributing Java Pet Store Admin Application
[java] Distributed org/apache/geronimo/PetStoreAdmin1.3.2
[java]
[echo] Creating Java Pet Store Database Schema
[sql] Executing file:
/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, 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""
org.apache.geronimo.kernel.GBeanNotFoundException:
geronimo.config:name="org/apa
che/geronimo/PetStoreDataSource1.3.2" not found
at
org.apache.geronimo.kernel.basic.BasicRegistry.getGBeanInstance(Basic
Registry.java:110)
at
org.apache.geronimo.kernel.basic.BasicKernel.getAttribute(BasicKernel
.java:165)
at
org.apache.geronimo.kernel.config.Configuration.getClassLoaders(Confi
guration.java:365)
at
org.apache.geronimo.kernel.config.Configuration.doStart(Configuration
.java:290)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanI
nstance.java:913)
at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
(GBeanInstanceState.java:325)
at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta
nceState.java:110)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.j
ava:499)
at
org.apache.geronimo.kernel.basic.BasicKernel.startGBean(BasicKernel.j
ava:205)
at
org.apache.geronimo.kernel.config.ConfigurationManagerImpl.loadGBeans
(ConfigurationManagerImpl.java:122)
at
org.apache.geronimo.kernel.config.ConfigurationManagerImpl.start(Conf
igurationManagerImpl.java:130)
at
org.apache.geronimo.kernel.config.ConfigurationManagerImpl$$FastClass
ByCGLIB$$fbed85d2.invoke(<generated>)
at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
Invoker.java:38)
at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
n.java:118)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
java:779)
( snip )
Tried starting using "maven -o petstore:start" : once with server up, once
with server down :
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.2
You are working offline so the build will continue, but
geronimo-derby-1.0-SNAPS
HOT.jar may be out of date!
You are working offline so the build will continue, but
geronimo-common-1.0-SNAP
SHOT.jar may be out of date!
You are working offline so the build will continue, but
geronimo-kernel-1.0-SNAP
SHOT.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-SNAP
SHOT.jar may be out of date!
build:start:
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
at
org.apache.geronimo.kernel.config.ConfigurationManagerImpl.load(Confi
gurationManagerImpl.java:111)
at
org.apache.geronimo.kernel.config.ConfigurationManagerImpl.loadRecurs
ive(ConfigurationManagerImpl.java:178)
at
org.apache.geronimo.kernel.config.ConfigurationManagerImpl.loadRecurs
ive(ConfigurationManagerImpl.java:167)
at
org.apache.geronimo.kernel.config.ConfigurationManagerImpl$$FastClass
ByCGLIB$$fbed85d2.invoke(<generated>)
at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
Invoker.java:38)
at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
n.java:118)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
java:779)
at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
7)
at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
ionInvoker.java:36)
at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
xyMethodInterceptor.java:96)
at
org.apache.geronimo.kernel.config.ConfigurationManager$$EnhancerByCGL
IB$$4c75ac8.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
Server shutdown completed
ΓΏ
BUILD FAILED
-----Original Message-----
From: Jacek Laskowski [mailto:eljotpl@gmail.com]
Sent: Tuesday, November 01, 2005 12:31 AM
To: user@geronimo.apache.org
Subject: Re: Petstore : No configuration with id
2005/11/1, Carla Cremers <cremers@azulsystems.com>:
> org.apache.geronimo.kernel.config.NoSuchConfigException: No
> configuration with id: org/apache/geronimo/PetStore1.3.2
Oh, it couldn't be. Could you follow the steps described in Geronimo
Wiki about PetStore - http://wiki.apache.org/geronimo/PetStore? Let us
know how it goes.
Jacek
|