geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "rahul.soa" <rahul....@googlemail.com>
Subject Re: [geronimo-startup] NullPointerException
Date Sun, 28 Mar 2010 10:29:51 GMT
Thank you Ivan for your reply. I will get the Geronimo 2.2 back, I thought
of working on trunk so was trying it.

Kind Regards,
Rahul
On Sun, Mar 28, 2010 at 9:32 AM, Ivan <xhhsld@gmail.com> wrote:

> Hi, Rahul
>     Geronimo trunk is now under the development for OSGI, if you wish to
> check whether ws-security whether works, I would suggest to use 2.2-branch,
> it is more stable.
>
> 2010/3/28 rahul.soa <rahul.soa@googlemail.com>
>
> Hi Devs,
>>
>> I built the geronimo trunk on my linux machine, when I start the server, I
>> receive a NullPointerException after the startup. Notice, I ran geronimo
>> jetty8 module. Please find the traces here:
>>
>> //
>>
>> [rahul@localhost bin]$ ./geronimo run
>> Unable to update instance pid: System property 'storage.location' is not
>> set.
>> This property needs to be set to the full path of the instance.properties
>> file.
>> 2010-03-27 22:34:59,874 WARN  [BlueprintContainerImpl] Bundle
>> org.apache.felix.karaf.shell.log is waiting for namespace handlers
>> [(&(objectClass=org.apache.aries.blueprint.NamespaceHandler)(osgi.service.blueprint.namespace=
>> http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0)<http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0%29>),
>> (&(objectClass=org.apache.aries.blueprint.NamespaceHandler)(osgi.service.blueprint.namespace=
>> http://felix.apache.org/karaf/xmlns/shell/v1.0.0)<http://felix.apache.org/karaf/xmlns/shell/v1.0.0%29>
>> )]
>> 2010-03-27 22:34:59,981 WARN  [BlueprintContainerImpl] Bundle
>> org.apache.felix.karaf.shell.obr is waiting for namespace handlers
>> [(&(objectClass=org.apache.aries.blueprint.NamespaceHandler)(osgi.service.blueprint.namespace=
>> http://felix.apache.org/karaf/xmlns/shell/v1.0.0)<http://felix.apache.org/karaf/xmlns/shell/v1.0.0%29>
>> )]
>> 2010-03-27 22:35:00,029 WARN  [BlueprintContainerImpl] Bundle
>> org.apache.felix.karaf.jaas.modules is waiting for namespace handlers
>> [(&(objectClass=org.apache.aries.blueprint.NamespaceHandler)(osgi.service.blueprint.namespace=
>> http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0)<http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0%29>),
>> (&(objectClass=org.apache.aries.blueprint.NamespaceHandler)(osgi.service.blueprint.namespace=
>> http://felix.apache.org/karaf/xmlns/jaas/v1.0.0)<http://felix.apache.org/karaf/xmlns/jaas/v1.0.0%29>
>> )]
>> 2010-03-27 22:35:00,081 WARN  [BlueprintContainerImpl] Bundle
>> org.apache.felix.karaf.shell.packages is waiting for namespace handlers
>> [(&(objectClass=org.apache.aries.blueprint.NamespaceHandler)(osgi.service.blueprint.namespace=
>> http://felix.apache.org/karaf/xmlns/shell/v1.0.0)<http://felix.apache.org/karaf/xmlns/shell/v1.0.0%29>
>> )]
>> 2010-03-27 22:35:00,090 WARN  [BlueprintContainerImpl] Bundle
>> org.apache.felix.karaf.shell.osgi is waiting for namespace handlers
>> [(&(objectClass=org.apache.aries.blueprint.NamespaceHandler)(osgi.service.blueprint.namespace=
>> http://felix.apache.org/karaf/xmlns/shell/v1.0.0)<http://felix.apache.org/karaf/xmlns/shell/v1.0.0%29>
>> )]
>> 2010-03-27 22:35:00,099 WARN  [BlueprintContainerImpl] Bundle
>> org.apache.felix.karaf.shell.commands is waiting for namespace handlers
>> [(&(objectClass=org.apache.aries.blueprint.NamespaceHandler)(osgi.service.blueprint.namespace=
>> http://felix.apache.org/karaf/xmlns/shell/v1.0.0)<http://felix.apache.org/karaf/xmlns/shell/v1.0.0%29>
>> )]
>> 2010-03-27 22:35:00,163 WARN  [BlueprintContainerImpl] Bundle
>> org.apache.felix.karaf.shell.config is waiting for namespace handlers
>> [(&(objectClass=org.apache.aries.blueprint.NamespaceHandler)(osgi.service.blueprint.namespace=
>> http://felix.apache.org/karaf/xmlns/shell/v1.0.0)<http://felix.apache.org/karaf/xmlns/shell/v1.0.0%29>),
>> (&(objectClass=org.apache.aries.blueprint.NamespaceHandler)(osgi.service.blueprint.namespace=
>> http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0)<http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0%29>),
>> (&(objectClass=org.apache.aries.blueprint.NamespaceHandler)(osgi.service.blueprint.namespace=
>> http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0)<http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0%29>
>> )]
>> 2010-03-27 22:35:00,174 WARN  [jmx] There are no MBean servers registred,
>> can't register MBeans
>> 2010-03-27 22:35:00,202 WARN  [BlueprintContainerImpl] Bundle
>> org.apache.felix.karaf.admin.core is waiting for namespace handlers
>> [(&(objectClass=org.apache.aries.blueprint.NamespaceHandler)(osgi.service.blueprint.namespace=
>> http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0)<http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0%29>
>> )]
>>         __ __                  ____
>>        / //_/____ __________ _/ __/
>>       / ,<  / __ `/ ___/ __ `/ /_
>>      / /| |/ /_/ / /  / /_/ / __/
>>     /_/ |_|\__,_/_/   \__,_/_/
>>
>>   Apache Felix Karaf (1.5.0-SNAPSHOT)
>>
>> Hit '<tab>' for a list of available commands
>> and '[cmd] --help' for help on a specific command.
>> Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Karaf.
>>
>> karaf@root> geronimo:start-server
>> Booting Geronimo Kernel (in Java 1.6.0_12)...
>> Starting Geronimo Application Server v3.0-SNAPSHOT
>> Booting Geronimo Kernel (in Java 1.6.0_12)...
>> Starting Geronimo Application Server v3.0-SNAPSHOT
>> [**************                          ]  36%  20s  Loading
>> org.apache.ger...2010-03-27 22:35:49,084 WARN  [aries] Managed persistence
>> context support is no longer available for use with the Aries Blueprint
>> container
>> [****************                        ]  42%  24s  Loading
>> org.apache.ger...2010-03-27 22:35:53,431 WARN  [StringManager] Can't find
>> resource org.apache.pluto.driver.container.LocalStrings
>> sun.misc.Launcher$AppClassLoader@1ba34f2
>> [******************                      ]  47%  44s  Loading
>> org.apache.ger...2010-03-27 22:36:12,506 WARN  [XBeanNamespaceHandler] Could
>> not load class: org.apache.activemq.network.jms.JmsTopicConnector due to
>> org/springframework/jndi/JndiTemplate
>> 2010-03-27 22:36:12,657 WARN  [XBeanNamespaceHandler] Could not load
>> class: org.apache.activemq.spring.SpringSslContext due to
>> org/springframework/core/io/Resource
>> 2010-03-27 22:36:12,661 WARN  [XBeanNamespaceHandler] Could not load
>> class: org.apache.activemq.xbean.XBeanBrokerService due to
>> org/springframework/context/ApplicationContextAware
>> 2010-03-27 22:36:12,814 WARN  [XBeanNamespaceHandler] Could not load
>> class: org.apache.activemq.network.jms.JmsQueueConnector due to
>> org/springframework/jndi/JndiTemplate
>> [******************                      ]  47%  44s  Loading
>> org.apache.ger...2010-03-27 22:36:12,934 WARN  [XBeanNamespaceHandler] Could
>> not load class: org.apache.activemq.spring.ActiveMQXAConnectionFactory due
>> to org/springframework/beans/factory/BeanNameAware
>> 2010-03-27 22:36:13,162 WARN  [XBeanNamespaceHandler] Could not load
>> class: org.apache.activemq.store.PersistenceAdapterFactoryBean due to
>> org/springframework/beans/factory/FactoryBean
>> 2010-03-27 22:36:13,166 WARN  [XBeanNamespaceHandler] Could not load
>> class: org.apache.activemq.spring.ActiveMQConnectionFactory due to
>> org/springframework/beans/factory/BeanNameAware
>> [****************************************] 100%  51s Startup
>> complete
>>   Listening on Ports:
>>     1099 127.0.0.1 RMI Naming
>>     1527 127.0.0.1 Derby Connector
>>     8009 127.0.0.1 Jetty Connector AJP13
>>     8096 127.0.0.1 Jetty SelectChannel Connector HTTP
>>     8443 127.0.0.1 Jetty SelectChannel Connector HTTPS
>>     9999 127.0.0.1 JMX Remoting Connector
>>
>>   Started Application Modules:
>>     EAR: org.apache.geronimo.plugins/console-jetty/3.0-SNAPSHOT/car
>>     RAR: org.apache.geronimo.configs/activemq-ra/3.0-SNAPSHOT/car
>>     RAR: org.apache.geronimo.configs/system-database/3.0-SNAPSHOT/car
>>     WAR: org.apache.geronimo.configs/dojo-jetty/3.0-SNAPSHOT/car
>>     WAR: org.apache.geronimo.configs/welcome-jetty/3.0-SNAPSHOT/car
>>     WAR: org.apache.geronimo.plugins/plugin-console-jetty/3.0-SNAPSHOT/car
>>
>>   Web Applications:
>>     /
>>     /console
>>     /console-base
>>     /dojo
>>     /plugin
>>
>> *Geronimo Application Server started
>> java.lang.NullPointerException*
>>     at
>> org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:170)
>>     at
>> org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:81)
>>     at
>> org.apache.geronimo.shell.geronimo.StartServerstrapper.execute(StartServerstrapper.java:125)
>>     at
>> org.apache.geronimo.shell.geronimo.StartServerCommand.doExecute(StartServerCommand.java:79)
>>     at
>> org.apache.felix.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:41)
>>     at
>> org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:34)
>>     at
>> org.apache.felix.gogo.runtime.shell.CommandProxy.execute(CommandProxy.java:45)
>>     at
>> org.apache.felix.gogo.runtime.shell.Closure.execute(Closure.java:211)
>>     at
>> org.apache.felix.gogo.runtime.shell.Closure.executeStatement(Closure.java:146)
>>     at org.apache.felix.gogo.runtime.shell.Pipe.run(Pipe.java:91)
>>     at
>> org.apache.felix.gogo.runtime.shell.Closure.execute(Closure.java:75)
>>     at
>> org.apache.felix.gogo.runtime.shell.CommandSessionImpl.execute(CommandSessionImpl.java:71)
>>     at
>> org.apache.felix.karaf.shell.console.jline.Console.run(Console.java:174)
>>     at java.lang.Thread.run(Thread.java:619)
>> [****************************************] 100% 205s Startup
>> complete          2010-03-27 22:38:54,123 WARN  [RenderConfig] Couldn't find
>> a PageConfig for page ID: [/0/null]
>> [****************************************] 100% 316s Startup complete
>>
>>
>>
>> //
>>
>> On the server console, at http://localhost:8096/console/
>>
>> It seems, the web page is not loaded correctly, I do the see urls. Please
>> have a look at attached print screen. Please let me know if you cannot see
>> the attachment.
>>
>> Many Thanks for your reply.
>>
>> Rahul
>>
>
>
>
> --
> Ivan
>

Mime
View raw message