harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Neeti Agarwal <neetiagarwal...@gmail.com>
Subject Problem in running Geronimo with HDK
Date Tue, 22 Jun 2010 06:37:52 GMT
Hi All,

I am trying to run HDK (harmony-5.0-hdk-946978) with
geronimo-tomcat6-javaee5-2.1.4 but I am getting "java.lang.Error:
java.lang.NullPointerException" and the server is not able to start.

Whereas few months back I downloaded hdk-751364 and ran with
geronimo-tomcat6-javaee5-2.1.4(with some changes in config.xml file) and I
was able to start the server.
Is there any problem with harmony-5.0-hdk-946978? because I am using the
same configured geronimo which I used for hdk-751364.

Please find the error below in detail:

===============================================================================================================================================================


C:\geronimo-tomcat6-javaee5-2.1.4\bin>geronimo run
Using GERONIMO_HOME:   C:\geronimo-tomcat6-javaee5-2.1.4
Using GERONIMO_TMPDIR: var\temp
Using JRE_HOME:        C:\HarmonyJava\harmony-5.0-hdk-946978_17June\jdk\jre
"C:\HarmonyJava\harmony-5.0-hdk-946978_17June\jdk\jre\bin\java"
"C:\HarmonyJava\harmony-5.0-hdk-946978_17June\jdk\jre\bin\java"
"C:\HarmonyJava\harmony-5.0-hdk-946978_17June\jdk\jre\bin\java"
-XDjit.arg.log=info
-Djava.endorsed.dirs="C:\geronimo-tomcat6-javaee5-2.1.4\lib\endorsed;C:\HarmonyJava\harmony-5.0-hdk-946978_17June
\jdk\jre\lib\endorsed"
-Djava.ext.dirs="C:\geronimo-tomcat6-javaee5-2.1.4\lib\ext;C:\HarmonyJava\harmony-5.0-hdk-946978_17June\jdk\jre\lib\ext"
-Dorg.apache.geronimo.home.dir="C:\geronimo-tomcat6-java
ee5-2.1.4" -Djava.io.tmpdir="var\temp" -jar
"C:\geronimo-tomcat6-javaee5-2.1.4"\bin\server.jar
Booting Geronimo Kernel (in Java 1.5.0)...
Starting Geronimo Application Server v2.1.4
[*****                                   ]  13%  16s Starting
org.apache.ger...Created MBeanServer with ID:
UID[52f58f3:1295919ffb8:-7fff]:T61DEC181108:1
[******                                  ]  17%  17s Starting
org.apache.ger...RMIConnectorServer started at: service:jmx:rmi://
0.0.0.0:9999/jndi/rmi://0.0.0.0:1099/JMXConnector
[********                                ]  21%  18s  Loading
org.apache.ger...2010-06-21 11:32:45,859 WARN  [SystemProperties] Existing
Property=java.naming.factory.url.pkgs is already set to Value=o
rg.apache.harmony.jndi.provider
[**********                              ]  25%  20s Starting
org.apache.ger...2010-06-21 11:32:47,703 WARN  [DerbySystem] Failed
2010-06-21 11:32:47,703 ERROR [GBeanInstanceState] Error while starting;
GBean is now in the FAILED state:
abstractName="org.apache.geronimo.configs/system-database/2.1.4/car?J2EEApplication=null,Reso
urceAdapterModule=org.apache.geronimo.configs/system-database/2.1.4/car,j2eeType=GBean,name=DerbySystem"
java.lang.Error: java.lang.NullPointerException
        at mx4j.server.MBeanMetaData$Factory.create(MBeanMetaData.java:181)
        at
mx4j.server.MX4JMBeanServer.createMBeanMetaData(MX4JMBeanServer.java:779)
        at
mx4j.server.MX4JMBeanServer.registerMBeanImpl(MX4JMBeanServer.java:764)
        at mx4j.server.MX4JMBeanServer.access$000(MX4JMBeanServer.java:97)
        at mx4j.server.MX4JMBeanServer$3.run(MX4JMBeanServer.java:796)
        at
java.security.AccessController.doPrivilegedImpl(AccessController.java:112)
        at
java.security.AccessController.doPrivileged(AccessController.java:75)
        at
mx4j.server.MX4JMBeanServer.privilegedRegisterMBean(MX4JMBeanServer.java:792)
        at mx4j.server.MX4JMBeanServer.<init>(MX4JMBeanServer.java:175)
        at
mx4j.server.MX4JMBeanServerBuilder.newMBeanServer(MX4JMBeanServerBuilder.java:53)
        at
javax.management.MBeanServerBuilder.newMBeanServer(MBeanServerBuilder.java:54)
        at
javax.management.MBeanServerFactory.createMBeanServerImpl(MBeanServerFactory.java:207)
        at
javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:44)
        at
javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:39)
        at
java.lang.management.ManagementFactory.getPlatformMBeanServer(ManagementFactory.java:299)
        at
org.apache.derby.impl.services.jmx.JMXManagementService$3.run(Unknown
Source)
        at
org.apache.derby.impl.services.jmx.JMXManagementService$3.run(Unknown
Source)
        at
java.security.AccessController.doPrivilegedImpl(AccessController.java)
        at
java.security.AccessController.doPrivileged(AccessController.java:53)
        at
org.apache.derby.impl.services.jmx.JMXManagementService.findServer(Unknown
Source)
        at
org.apache.derby.impl.services.jmx.JMXManagementService.boot(Unknown Source)
        at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown
Source)
        at
org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
        at
org.apache.derby.impl.services.monitor.BaseMonitor.startModule(Unknown
Source)
        at
org.apache.derby.iapi.services.monitor.Monitor.startSystemModule(Unknown
Source)
        at
org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(Unknown
Source)
        at org.apache.derby.impl.services.monitor.FileMonitor.<init>(Unknown
Source)
        at
org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Unknown Source)
        at org.apache.derby.iapi.jdbc.JDBCBoot.boot(Unknown Source)
        at org.apache.derby.jdbc.EmbeddedDriver.boot(Unknown Source)
        at org.apache.derby.jdbc.EmbeddedDriver.<clinit>(Unknown Source)
        at
org.apache.geronimo.derby.DerbySystemGBean.doStart(DerbySystemGBean.java:64)
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:998)
        at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268)
        at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
        at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:555)
        at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
        at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456)
        at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:188)
        at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:563)
        at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
        at java.lang.reflect.Method.invoke(Method.java:316)
        at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
        at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:832)
        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.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$3621a8e7.startConfiguration(<generated>)
        at
org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:162)
        at
org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:79)
        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.daemon.DaemonCLI.main(DaemonCLI.java:30)
        at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
        at java.lang.reflect.Method.invoke(Method.java:316)
        at org.apache.harmony.vm.JarRunner.main(JarRunner.java:89)
Uncaught exception in main:
java.lang.reflect.InvocationTargetException
        at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
        at java.lang.reflect.Method.invoke(Method.java:316)
        at org.apache.harmony.vm.JarRunner.main(JarRunner.java:89)
Caused by: java.lang.Error: java.lang.NullPointerException
        at mx4j.server.MBeanMetaData$Factory.create(MBeanMetaData.java:181)
        at
mx4j.server.MX4JMBeanServer.createMBeanMetaData(MX4JMBeanServer.java:779)
        at
mx4j.server.MX4JMBeanServer.registerMBeanImpl(MX4JMBeanServer.java:764)
        at mx4j.server.MX4JMBeanServer.access$000(MX4JMBeanServer.java:97)
        at mx4j.server.MX4JMBeanServer$3.run(MX4JMBeanServer.java:796)
        at
java.security.AccessController.doPrivilegedImpl(AccessController.java:112)
        at
java.security.AccessController.doPrivileged(AccessController.java:75)
        at
mx4j.server.MX4JMBeanServer.privilegedRegisterMBean(MX4JMBeanServer.java:792)
        at mx4j.server.MX4JMBeanServer.<init>(MX4JMBeanServer.java:175)
        at
mx4j.server.MX4JMBeanServerBuilder.newMBeanServer(MX4JMBeanServerBuilder.java:53)
        at
javax.management.MBeanServerBuilder.newMBeanServer(MBeanServerBuilder.java:54)
        at
javax.management.MBeanServerFactory.createMBeanServerImpl(MBeanServerFactory.java:207)
        at
javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:44)
        at
javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:39)
        at
java.lang.management.ManagementFactory.getPlatformMBeanServer(ManagementFactory.java:299)
        at
org.apache.derby.impl.services.jmx.JMXManagementService$3.run(Unknown
Source)
        at
org.apache.derby.impl.services.jmx.JMXManagementService$3.run(Unknown
Source)
        at
java.security.AccessController.doPrivilegedImpl(AccessController.java)
        at
java.security.AccessController.doPrivileged(AccessController.java:53)
        at
org.apache.derby.impl.services.jmx.JMXManagementService.findServer(Unknown
Source)
        at
org.apache.derby.impl.services.jmx.JMXManagementService.boot(Unknown Source)
        at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown
Source)
        at
org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
        at
org.apache.derby.impl.services.monitor.BaseMonitor.startModule(Unknown
Source)
        at
org.apache.derby.iapi.services.monitor.Monitor.startSystemModule(Unknown
Source)
        at
org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(Unknown
Source)
        at org.apache.derby.impl.services.monitor.FileMonitor.<init>(Unknown
Source)
        at
org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Unknown Source)
        at org.apache.derby.iapi.jdbc.JDBCBoot.boot(Unknown Source)
        at org.apache.derby.jdbc.EmbeddedDriver.boot(Unknown Source)
        at org.apache.derby.jdbc.EmbeddedDriver.<clinit>(Unknown Source)
        at
org.apache.geronimo.derby.DerbySystemGBean.doStart(DerbySystemGBean.java:64)
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:998)
        at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268)
        at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
        at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:555)
        at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
        at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456)
        at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:188)
        at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:563)
        at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
        at java.lang.reflect.Method.invoke(Method.java:316)
        at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
        at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:832)
        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.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$3621a8e7.startConfiguration(<generated>)
        at
org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:162)
        at
org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:79)
        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.daemon.DaemonCLI.main(DaemonCLI.java:30)
        at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
        ... 2 more
[**********                              ]  25% 1278s Starting
org.apache.ger...RMIConnectorServer stopped at: service:jmx:rmi://
0.0.0.0:9999/jndi/rmi://0.0.0.0:1099/JMXConnector
Terminate batch job (Y/N)? y

C:\geronimo-tomcat6-javaee5-2.1.4\bin>
====================================================================================================================================================================

Thanks

Neeti Agarwal

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message