users@glassfish.java.net

Re: deployment issues

From: Hong Zhang <hong.hz.zhang_at_oracle.com>
Date: Wed, 17 Oct 2012 09:07:40 -0400

Looking at the server.log, the application failed to load in web
container due to an exception when instantiating the bean
"startupServiceImpl":

17T12:29:45.575+0000|SEVERE|glassfish3.1.2|javax.enterprise.system.tools.admin.org.glassfish.deployment.admin|_ThreadID=23;_ThreadName=Thread-2;|Exception
while loading the app : java.lang.IllegalStateException:
ContainerBase.addChild: start: org.apache.catalina.LifecycleException:
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'startupServiceImpl': Instantiation of bean failed;
nested exception is
org.springframework.beans.BeanInstantiationException: Could not
instantiate bean class
[com.jmsolutions.chiro.service.impl.StartupServiceImpl]: Constructor
threw exception; nested exception is java.lang.NullPointerException|#]

maybe you could you check your bean constructor code, to see when/why
the bean would fail to instantiate?


On 10/17/2012 7:57 AM, forums_at_java.net wrote:
> I have an app that runs just fine from eclipse, but once I WAR it up
> and put
> it on a glassfish hosted on a cloud it will not deploy properly. Can
> anyone
> please help? I am green with glassfish. So far I am liking it, but
> this may
> be a deal breaker. Thanks for the help in advanced. I attached the
> server.log
> file.
>
> --
>
> [Message sent by forum member 'TheGreenO']
>
> View Post: http://forums.java.net/node/891515
>
>