geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From HRito <hugo.r...@gmail.com>
Subject Re: Problem Installing DayTrader Trunk in Linux
Date Wed, 01 Oct 2008 21:20:54 GMT
Hi Jason,

On Wed, Oct 1, 2008 at 6:12 PM, Jason Warner <jaw981@gmail.com> wrote:

> Hi Hugo,
>
> Based on that stack trace, it seems you have a missing dependency.
>

Yeah, it seemed so. After sending the email, a friend of mine added this
patch:

===================================================================
> --- modules/ejb/pom.xml (revision 700768)
> +++ modules/ejb/pom.xml (working copy)
> @@ -38,6 +38,12 @@
>      </scm>
>      <dependencies>
>          <dependency>
> +            <groupId>org.apache.geronimo.specs</groupId>
> +            <artifactId>geronimo-jta_1.1_spec</artifactId>
> +            <version>1.1</version>
> +            <scope>provided</scope>
> +        </dependency>
> +        <dependency>
>              <groupId>org.apache.geronimo.daytrader</groupId>
>              <artifactId>daytrader-wsappclient</artifactId>
>              <version>${pom.version}</version>

 And it worked, although now it fails again on jetty (also on tomcat) with a
null pointer exception:

[INFO]
> ------------------------------------------------------------------------
>
> [INFO] Building Daytrader ::
> Jetty
>
> [INFO]    task-segment:
> [install]
>
> [INFO]
> ------------------------------------------------------------------------
>
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository//org/apache/tomcat/jasper/6.0.18-G678601/jasper-6.0.18-G678601.pom
>
> Downloading:
> http://repo1.maven.org/maven2/org/apache/tomcat/jasper/6.0.18-G678601/jasper-6.0.18-G678601.pom
>
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository//org/apache/tomcat/jasper-el/6.0.18-G678601/jasper-el-6.0.18-G678601.pom
> Downloading:
> http://repo1.maven.org/maven2/org/apache/tomcat/jasper-el/6.0.18-G678601/jasper-el-6.0.18-G678601.pom
>
> [INFO] [enforcer:enforce {execution:
> default}]
>
> [INFO] [remote-resources:process {execution:
> default}]
>
> [INFO]
> [resources:resources]
>
> [INFO] Using default encoding to copy filtered
> resources.
>
> [INFO]
> [car:validate-configuration]
>
> [INFO]
> [car:prepare-plan]
>
> [INFO] Generated:
> /home/knuckles/projects/daytrader/trunk/daytrader-jetty/target/resources/META-INF/plan.xml
>
> [INFO]
> [car:verify-no-dependency-change]
>
> [INFO]
> [car:package]
>
> [INFO] Packaging module configuration:
> /home/knuckles/projects/daytrader/trunk/daytrader-jetty/target/resources/META-INF/plan.xml
>
> [INFO] Started deployer:
> org.apache.geronimo.framework/geronimo-gbean-deployer/2.2-SNAPSHOT/car
>
> [INFO] Started deployer:
> org.apache.geronimo.configs/j2ee-deployer/2.2-SNAPSHOT/car
>
> [INFO] Started deployer:
> org.apache.geronimo.configs/jetty6-deployer/2.2-SNAPSHOT/car
>
> [INFO] Started deployer:
> org.apache.geronimo.configs/jasper-deployer/2.2-SNAPSHOT/car
>
> [INFO] Started deployer:
> org.apache.geronimo.configs/openejb-deployer/2.2-SNAPSHOT/car
>
> [INFO] Started deployer:
> org.apache.geronimo.configs/persistence-jpa10-deployer/2.2-SNAPSHOT/car
>
> [INFO] Started deployer:
> org.apache.geronimo.configs/axis-deployer/2.2-SNAPSHOT/car
>
> [INFO] Started deployer:
> org.apache.geronimo.configs/client-deployer/2.2-SNAPSHOT/car
>
> [ERROR] Deployment failed due
> to
>
> java.lang.NullPointerException
>
>
> org.apache.xmlbeans.impl.schema.SchemaPropertyImpl.getType(SchemaPropertyImpl.java:92)
>
>
> org.apache.xmlbeans.impl.schema.SchemaTypeImpl.createElementType(SchemaTypeImpl.java:965)
>
>
> org.apache.xmlbeans.impl.values.XmlObjectBase.create_element_user(XmlObjectBase.java:893)
>
>     org.apache.xmlbeans.impl.store.Xobj.getUser(Xobj.java:1657)
>     org.apache.xmlbeans.impl.store.Xobj.find_element_user(Xobj.java:2062)
>
> org.apache.geronimo.xbeans.geronimo.client.impl.GerResourceTypeImpl.getConnector(Unknown
> Source)
>
> org.apache.geronimo.client.builder.AppClientModuleBuilder.createModule(AppClientModuleBuilder.java:371)
>
> org.apache.geronimo.client.builder.AppClientModuleBuilder.createModule(AppClientModuleBuilder.java:235)
>
> org.apache.geronimo.j2ee.deployment.EARConfigBuilder.addModules(EARConfigBuilder.java:807)
>
> org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getEarPlan(EARConfigBuilder.java:402)
>
> org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getDeploymentPlan(EARConfigBuilder.java:295)
>     org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:227)
>     sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     java.lang.reflect.Method.invoke(Method.java:585)
>
> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
>
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130)
>
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:850)
>
> org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:237)
>
> org.apache.geronimo.mavenplugins.car.PackageMojo.invokeDeployer(PackageMojo.java:480)
>
> org.apache.geronimo.mavenplugins.car.PackageMojo.buildPackage(PackageMojo.java:306)
>
> org.apache.geronimo.mavenplugins.car.PackageMojo.execute(PackageMojo.java:206)
>
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
>     org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>     org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>     org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>     sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     java.lang.reflect.Method.invoke(Method.java:585)
>     org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>     org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>     org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>     org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] could not package plugin
>
> Embedded error: java.lang.NullPointerException
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1 minute 11 seconds
> [INFO] Finished at: Wed Oct 01 22:06:48 WEST 2008
> [INFO] Final Memory: 90M/161M
> [INFO]
> ------------------------------------------------------------------------
>
I omitted some dependency errors similar to that of ejb, but now I'm stuck
with this null pointer.
Any idea?

Hugo Rito

Mime
View raw message