[
https://issues.apache.org/jira/browse/GERONIMO-3183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12497916
]
toby cabot commented on GERONIMO-3183:
--------------------------------------
Chunks 5-8 fix these stack traces. They're unlikely to appear in normal
operations but might be seen during development:
[EMAIL PROTECTED]:/download$ geronimo-jetty6-minimal-2.0-SNAPSHOT/bin/deploy.sh
-o list-modules
Using GERONIMO_BASE: /download/geronimo-jetty6-minimal-2.0-SNAPSHOT
Using GERONIMO_HOME: /download/geronimo-jetty6-minimal-2.0-SNAPSHOT
Using GERONIMO_TMPDIR: var/temp
Using JRE_HOME: /usr/java/jdk1.6.0_01/jre
Error: Unable to query modules
javax.enterprise.deploy.spi.exceptions.TargetException
at
org.apache.geronimo.deployment.plugin.jmx.JMXDeploymentManager.getModules(JMXDeploymentManager.java:175)
at
org.apache.geronimo.deployment.plugin.jmx.JMXDeploymentManager.getRunningModules(JMXDeploymentManager.java:136)
at
org.apache.geronimo.deployment.cli.CommandListModules.execute(CommandListModules.java:63)
at
org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:161)
at
org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67)
at
org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31)
Caused by: java.lang.NullPointerException
at
org.apache.geronimo.deployment.plugin.jmx.JMXDeploymentManager.getModules(JMXDeploymentManager.java:149)
... 6 more
... and ...
[EMAIL PROTECTED]:/download$ geronimo-jetty6-minimal-2.0-SNAPSHOT/bin/deploy.sh
-o list-targets
Using GERONIMO_BASE: /download/geronimo-jetty6-minimal-2.0-SNAPSHOT
Using GERONIMO_HOME: /download/geronimo-jetty6-minimal-2.0-SNAPSHOT
Using GERONIMO_TMPDIR: var/temp
Using JRE_HOME: /usr/java/jdk1.6.0_01/jre
Available Targets:
Exception in thread "main" java.lang.NullPointerException
at
org.apache.geronimo.deployment.cli.CommandListTargets.execute(CommandListTargets.java:37)
at
org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:161)
at
org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67)
at
org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31)
> fix offline deployment in minimal configurations
> ------------------------------------------------
>
> Key: GERONIMO-3183
> URL: https://issues.apache.org/jira/browse/GERONIMO-3183
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: deployment
> Affects Versions: 2.0-M6
> Environment: Fedora Core 4
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
> Reporter: toby cabot
> Fix For: 2.0-M6
>
> Attachments: minimal-offline-patch.txt
>
>
> The deployer's offline mode in the jetty6-minimal and tomcat6-minimal
> assemblies throws:
> org.apache.geronimo.kernel.config.LifecycleException: load of
> org.apache.geronimo.configs/persistence-jpa10-deployer/2.0-SNAPSHOT/car failed
> at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:274)
> at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:253)
> at
> org.apache.geronimo.kernel.config.KernelConfigurationManager.loadConfiguration(KernelConfigurationManager.java:112)
> at
> org.apache.geronimo.kernel.config.KernelConfigurationManager$$FastClassByCGLIB$$b117102f.invoke()
> 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:127)
> at
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:820)
> at
> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
> at
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
> at
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
> at
> org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$26ac0679.loadConfiguration()
> at
> org.apache.geronimo.deployment.cli.OfflineDeployerStarter.startPersistentOfflineConfigurations(OfflineDeployerStarter.java:120)
> at
> org.apache.geronimo.deployment.cli.OfflineDeployerStarter.start(OfflineDeployerStarter.java:71)
> at
> org.apache.geronimo.deployment.cli.ServerConnection.startOfflineDeployer(ServerConnection.java:102)
> at
> org.apache.geronimo.deployment.cli.ServerConnection.(ServerConnection.java:90)
> at
> org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:158)
> at
> org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
> at
> org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67)
> at
> org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31)
> Caused by: org.apache.geronimo.kernel.config.NoSuchConfigException:
> org.apache.geronimo.configs/persistence-jpa10-deployer/2.0-SNAPSHOT/car
> at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfigurationData(SimpleConfigurationManager.java:457)
> at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:271)
> ... 19 more
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.