geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tina Li (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GERONIMO-5909) daytrader: java.lang.NullPointerException
Date Thu, 05 May 2011 09:54:03 GMT

    [ https://issues.apache.org/jira/browse/GERONIMO-5909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13029255#comment-13029255
] 

Tina Li commented on GERONIMO-5909:
-----------------------------------

Tried on build:2011.05.04-22:24:47.468+0800-3.0-SNAPSHOT
1.Deployed via "deployer" on admin console,error message appeared on the admin console:
	The application was not deployed.

The application was not deployed.
Unable to create configuration for deployment: dependencies: null
org.apache.geronimo.common.DeploymentException: Unable to create configuration for deployment:
dependencies: null
	at org.apache.geronimo.deployment.DeploymentContext.createTempConfiguration(DeploymentContext.java:212)
	at org.apache.geronimo.deployment.DeploymentContext.initializeConfiguration(DeploymentContext.java:192)
	at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:634)
	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:252)
	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:138)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
	at java.lang.reflect.Method.invoke(Method.java:611)
	at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
	at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:872)
	at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
	at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
	at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
	at java.lang.Thread.run(Thread.java:736)
Caused by: org.eclipse.osgi.framework.internal.core.Framework$DuplicateBundleException: Bundle
"org.apache.geronimo.daytrader.daytrader-streamer-client-DEPLOYMENT" version "0.0.0.__project_version_"
has already been installed from: reference:file:/D:/testServer/0504/geronimo-tomcat7-javaee6-3.0-SNAPSHOT/var/temp/geronimo-fileutils3830888200328707550.tmpfile
	at org.eclipse.osgi.framework.internal.core.Framework.createAndVerifyBundle(Framework.java:714)
	at org.eclipse.osgi.framework.internal.core.Framework.installWorkerPrivileged(Framework.java:922)
	at org.eclipse.osgi.framework.internal.core.Framework$1.run(Framework.java:837)
	at java.security.AccessController.doPrivileged(AccessController.java:251)
	at org.eclipse.osgi.framework.internal.core.Framework.installWorker(Framework.java:888)
	at org.eclipse.osgi.framework.internal.core.Framework.installBundle(Framework.java:832)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:167)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:161)
	at org.apache.geronimo.deployment.DeploymentContext.createTempConfiguration(DeploymentContext.java:204)
	... 15 more
2.Deployed via cmd:
the above messaged also appeared on the server console window and the cmd window displayed
the message:
2011-05-05 17:49:00,312 ERROR [DeployTool] Error:
org.apache.geronimo.common.DeploymentException: Unable to deploy daytrader-ear-2
.1.1.5.ear: Unable to create configuration for deployment: dependencies: null
        Bundle "org.apache.geronimo.daytrader.daytrader-streamer-client-DEPLOYME
NT" version "0.0.0.__project_version_" has already been installed from: referenc
e:file:/D:/testServer/0504/geronimo-tomcat7-javaee6-3.0-SNAPSHOT/var/temp/geroni
mo-fileutils3830888200328707550.tmpfile

        at org.apache.geronimo.deployment.cli.CommandDeploy.runCommand(CommandDe
ploy.java:43)
        at org.apache.geronimo.deployment.cli.CommandDistribute.executeOnline(Co
mmandDistribute.java:148)
        at org.apache.geronimo.deployment.cli.CommandDistribute.execute(CommandD
istribute.java:124)
        at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java
:167)
        at org.apache.geronimo.system.main.MainBridge.execute(MainBridge.java:64
)
        at org.apache.geronimo.main.Bootstrapper.execute(Bootstrapper.java:65)
        at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
        at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:32
)

> daytrader: java.lang.NullPointerException
> -----------------------------------------
>
>                 Key: GERONIMO-5909
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5909
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: sample apps
>    Affects Versions: 3.0
>         Environment: Windows XP SP3 x86
> sun jdk 1.6.0_23
> Geronimo build on 20110415
>            Reporter: Jacky Liu
>            Assignee: Shawn Jiang
>            Priority: Minor
>              Labels: samples
>             Fix For: 3.0
>
>         Attachments: daytrader.rar
>
>
> 1. start Geronimo v3.0 server
> 2. cd %Geronimo Home%\bin in cmd
> 3. input "deploy deploy ..\daytrader\modules\ear\target\daytrader-ear-2.1.1.5.ear ..\daytrader\plans\src\main\resources\daytrader-derby-xa-plan.xml"
in cmd
> 4. ERROR OCCURS!
> org.apache.geronimo.common.DeploymentException: Unable to deploy daytrader-ear-2.1.1.5.ear:

> java.lang.NullPointerException
>         null
>         at org.apache.geronimo.deployment.cli.CommandDeploy.runCommand(CommandDeploy.java:43)
>         at org.apache.geronimo.deployment.cli.CommandDistribute.executeOnline(CommandDistribute.java:148)
>         at org.apache.geronimo.deployment.cli.CommandDistribute.execute(CommandDistribute.java:124)
>         at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:167)
>         at org.apache.geronimo.system.main.MainBridge.execute(MainBridge.java:64)
>         at org.apache.geronimo.main.Bootstrapper.execute(Bootstrapper.java:65)
>         at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
>         at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31)
> You can open README.txt in daytrader folder to get more details.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message