Hi John,

I finally got around to trying it again. Unfortunately, I didn't have much luck. I seem to have gotten past the original problem, but now I am getting a NPE.

I'll put a snippet of output for you at the end of this email.

The main reason for me to run the build is to generate the entire source code for the project. I seem to have been able to do that now, so I don't think I need to actually complete a fully successful build.

Thanks for you help. If you want me to try anything else, I can, but its not necessary for me.

Rob

multiproject:install-callback:
   [echo] Running car:install for Web console deployed on tomcat
Generated package E:\dev\projects\jsourcery\website\libs\apache\geronimo\1.0\ger
onimo-1.0-src\configs\console-tomcat\target\webconsole-tomcat-1.0.car
Copying: from 'E:\dev\projects\jsourcery\website\libs\apache\geronimo\1.0\geroni mo-1.0-src\configs\console-tomcat\target\webconsole-tomcat-1.0.car' to: 'C:\Docu ments and Settings\est\.maven\repository\geronimo\cars\webconsole-tomcat-1.0.car
'
Copying: from 'E:\dev\projects\jsourcery\website\libs\apache\geronimo\1.0\geroni mo-1.0-src\configs\console-tomcat\project.xml' to: 'C:\Documents and Settings\es
t\.maven\repository\geronimo\poms\webconsole-tomcat-1.0.pom'
+----------------------------------------
| configurations Daytrader using derby deployed on jetty
| Memory: 63M/95M
+----------------------------------------
car:prepare-plan:

car:package:

car:install:


build:end:

build:start:

multiproject:install-callback:
   [echo] Running car:install for Daytrader using derby deployed on jetty
31547 [main] ERROR org.apache.geronimo.deployment.Deployer - Deployment failed
due to
java.lang.NullPointerException
at org.apache.xmlbeans.impl.schema.SchemaLocalElementImpl.getIdentityCon
straints(SchemaLocalElementImpl.java:103)
at org.apache.xmlbeans.impl.validator.Validator.beginEvent(Validator.jav
a:611)
at org.apache.xmlbeans.impl.validator.Validator.nextEvent(Validator.java
:247)
at org.apache.xmlbeans.impl.store.Validate.emitEvent(Validate.java:172)
       at org.apache.xmlbeans.impl.store.Validate.process(Validate.java:79)
       at org.apache.xmlbeans.impl.store.Validate.<init>(Validate.java:39)
       at org.apache.xmlbeans.impl.store.Xobj.validate(Xobj.java:1780)
at org.apache.xmlbeans.impl.values.XmlObjectBase.validate(XmlObjectBase.
java:346)
at org.apache.geronimo.schema.SchemaConversionUtils.validateDD(SchemaCon
versionUtils.java:593)
at org.apache.geronimo.schema.SchemaConversionUtils.fixGeronimoSchema(Sc
hemaConversionUtils.java:365)
at org.apache.geronimo.client.builder.AppClientModuleBuilder.getGeronimo
AppClient(AppClientModuleBuilder.java:222)
at org.apache.geronimo.client.builder.AppClientModuleBuilder.createModul
e(AppClientModuleBuilder.java:175)
at org.apache.geronimo.client.builder.AppClientModuleBuilder.createModul
e(AppClientModuleBuilder.java:142)
at org.apache.geronimo.client.builder.AppClientModuleBuilder$$FastClassB
yCGLIB$$93137659.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:800)
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.j2ee.deployment.ModuleBuilder$$EnhancerByCGLIB$$1
c553afc.createModule(<generated>)
at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.addModules(EARCo
nfigBuilder.java:536)
at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getEarPlan(EARCo
nfigBuilder.java:226)
at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getDeploymentPla
n(EARConfigBuilder.java:122)
at org.apache.geronimo.j2ee.deployment.EARConfigBuilder$$FastClassByCGLI
B$$38e56ec6.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:800)
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.deployment.ConfigurationBuilder$$EnhancerByCGLIB$
$2842436e.getDeploymentPlan(<generated>)
       at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:219)
at org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.i
nvoke(<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:835)
at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:
178)
at org.apache.geronimo.plugin.packaging.PackageBuilder.invokeDeployer(Pa
ckageBuilder.java:375)
at org.apache.geronimo.plugin.packaging.PackageBuilder.execute(PackageBu
ilder.java:284)
       at sun.reflect.GeneratedMethodAccessor349.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.geronimo.plugin.packaging.PackageBuilderShell.execute(Pack
ageBuilderShell.java:222)
       at sun.reflect.GeneratedMethodAccessor336.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.commons.jelly.impl.DynamicBeanTag.doTag(DynamicBeanTag.jav
a:230)
at org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.jav
a:145)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa
g.java:79)
at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
mAction(MavenGoalTag.java:110)
       at com.werken.werkz.Goal.fire(Goal.java:639)
       at com.werken.werkz.Goal.attain(Goal.java:575)
       at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
       at com.werken.werkz.Goal.attain(Goal.java:573)
       at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttai

----Original Message Follows----
From: John Sisson <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: Rob Kenworthy <[EMAIL PROTECTED]>
CC: [email protected]
Subject: Re: Geronimo build question
Date: Fri, 20 Jan 2006 13:49:20 +1100

Hi Rob,

We found a couple of problems that prevent people building from the src distribution. Try this..

Delete your C:\Documents and Settings\yourusernamehere\.maven directory

Replace the geronimo-1.0-src\configs\j2ee-server\project.xml file with the attached file (based upon the patch in http://issues.apache.org/jira/browse/GERONIMO-1449 ).

Delete your C:\Documents and Settings\yourusernamehere\.maven directory

Rebuild.

Let us know how it goes.

John


Rob Kenworthy wrote:
Hi John,

A while back I was asking you about running the build for Geronimo. I had stopped getting responses at my hotmail account, but just realized they are all going into my junk email folder and are now lost so now I don't know what the resolution was (if there was one) to the build issue.

Did you guys ever get it sorted out?

Thanks,
Rob

----Original Message Follows----
From: John Sisson <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [email protected]
Subject: Re: Geronimo build question
Date: Thu, 12 Jan 2006 10:18:08 +1100

Rob,

The build instructions probably shouldn't say JDK1.4.x they should say JDK1.4.2 (preferably JDK1.4.2_08 or later).

Can you also send me the output of the "java -version" command.

Thanks,

John

Rob Kenworthy wrote:

Hi,

John Sisson has asked me to send an email to this list as a result of my posting on theserverside (http://www.theserverside.com/tss?service=direct/0/PostNewsReply/postReply&sp=l38463&sp=F&sp=l196734#196680)



I am having problems doing a simple Geronimo build of 1.0 final.

Here is the info that John requested:

Q: Are you using the 1.0 final release or a release candidate?
A: 1.0 Final release.

Q: What platform are you building on (Windows XP, Linux..)?
A: Windows 2000

Q: Do you want to build from the command line or were you wanting to use an IDE to debug etc? A: Command line. The BUILDING.txt file says to use Maven 1.0.2 or later and use JDK 1.4.x. So I set my path to the bin directory of Maven and set JAVA_HOME appropriately. Then run Maven from the geronimo directory. I figure that is all I should need to do.

The errors I am getting are unsatisfied class dependencies for a file called GenerateServiceXml.java. The dependencies are actually in one of the maven jars, but it doesn't seem to be in the classpath. I did try renaming the file to ...java.bak and ran it again. It got much further, but other class compilations depend on GenerateServiceXml.java, so it blew up again.

Any help would be appreciated.

Thanks,
Rob










<< project.xml >>


Reply via email to