[Anthill-pro] Persistence Strategy creation failed: Using
defaultstrategy
Hopper, Jeff
c_jeffh at qualcomm.com
Wed Sep 13 12:47:45 CDT 2006
Found the problem with this... If you point the AnthillPro working
directory to a defunct directory you will get this NullPointerException.
To reproduce this I simply edited the .anthill2.properties file in user
home directory to point to a defunct directory, got the exception in the
email thread below. Edited the .anthill2.properties file to point at
the actual AnthillPro install and then voila a clean startup. Problem
arose initially by setting the wrong AnthillPro working dir, then the
install wouldn't recover because the admin page won't load.
Probably want to provide better output if the AnthillPro working
directory is bad.
Cheers,
jeff
> -----Original Message-----
> From: anthill-pro-bounces at caladin.urbancode.com [mailto:anthill-pro-
> bounces at caladin.urbancode.com] On Behalf Of Eric Minick
> Sent: Tuesday, September 12, 2006 7:31 PM
> To: anthill-pro at caladin.urbancode.com
> Subject: Re: [Anthill-pro] Persistence Strategy creation failed: Using
> defaultstrategy
>
> Hi Jeff,
>
> I can take a look, but if this is a fresh install, is there any reason
> not to use 2.6.2?
>
> -- Eric
>
> Hopper, Jeff wrote:
>
> > I'm trying to install a fresh copy of Anthill Pro 2.4.0.18899 &
Apache
> > Tomcat/5.0.28 on Linux and I'm receiving a NullPointerException upon
> > startup. The following stack trace is taken directly from the
catalina
> > log file in my tomcat install. I've followed the install
instructions
> > issuing the ./install.sh. The tar file is extracted just fine and
then
> > I deploy AnthillPro.war behind tomcat and voila.
> >
> > Thoughts?
> >
> > 1901 [main] INFO com.urbancode.anthill2.impl.AnthillImpl -
Persistence
> > Strategy creation failed: Using default strategy
> >
> > 1905 ERROR com.urbancode.anthill2.impl.AnthillImpl -
> >
> > java.lang.NullPointerException
> >
> > at com.urbancode.anthill2.impl.AnthillImpl.if(Unknown Source)
> >
> > at com.urbancode.anthill2.impl.AnthillImpl.int(Unknown Source)
> >
> > at com.urbancode.anthill2.impl.AnthillImpl.init(Unknown Source)
> >
> > at com.urbancode.anthill2.Anthill.a(Unknown Source)
> >
> > at com.urbancode.anthill2.Anthill.getInstance(Unknown Source)
> >
> > at com.urbancode.anthill2.ui.AnthillInitServlet.init(Unknown Source)
> >
> > at
> >
>
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav
a:
> 1029)
> >
> > at
>
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
> >
> > at
> >
>
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.j
av
> a:4013)
> >
> > at
> >
>
org.apache.catalina.core.StandardContext.start(StandardContext.java:4357
)
> >
> > at
> >
>
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja
va
> :823)
> >
> > at
>
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
> >
> > at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
> >
> > at
> >
>
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeploy
er
> .java:277)
> >
> > at
org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
> >
> > at
> org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:625)
> >
> > at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:431)
> >
> > at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
> >
> > at
> >
>
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:34
9)
> >
> > at
> >
>
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
pp
> ort.java:119)
> >
> > at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
> >
> > at
org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
> >
> > at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
> >
> > at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
> >
> > at
> >
org.apache.catalina.core.StandardService.start(StandardService.java:480)
> >
> > at
>
org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
> >
> > at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
> >
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >
> > at
> >
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:
> 39)
> >
> > at
> >
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Im
> pl.java:25)
> >
> > at java.lang.reflect.Method.invoke(Method.java:324)
> >
> > at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
> >
> > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
> >
> > 1905 [main] ERROR com.urbancode.anthill2.impl.AnthillImpl -
> >
> > java.lang.NullPointerException
> >
> > at com.urbancode.anthill2.impl.AnthillImpl.if(Unknown Source)
> >
> > at com.urbancode.anthill2.impl.AnthillImpl.int(Unknown Source)
> >
> > at com.urbancode.anthill2.impl.AnthillImpl.init(Unknown Source)
> >
> > at com.urbancode.anthill2.Anthill.a(Unknown Source)
> >
> > at com.urbancode.anthill2.Anthill.getInstance(Unknown Source)
> >
> > at com.urbancode.anthill2.ui.AnthillInitServlet.init(Unknown Source)
> >
> > at
> >
>
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav
a:
> 1029)
> >
> > at
>
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
> >
> > at
> >
>
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.j
av
> a:4013)
> >
> > at
> >
>
org.apache.catalina.core.StandardContext.start(StandardContext.java:4357
)
> >
> > at
> >
>
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja
va
> :823)
> >
> > at
>
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
> >
> > at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
> >
> > at
> >
>
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeploy
er
> .java:277)
> >
> > at
org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
> >
> > at
> org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:625)
> >
> > at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:431)
> >
> > at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
> >
> > at
> >
>
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:34
9)
> >
> > at
> >
>
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
pp
> ort.java:119)
> >
> > at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
> >
> > at
org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
> >
> > at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
> >
> > at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
> >
> > at
> >
org.apache.catalina.core.StandardService.start(StandardService.java:480)
> >
> > at
>
org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
> >
> > at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
> >
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >
> > at
> >
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:
> 39)
> >
> > at
> >
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Im
> pl.java:25)
> >
> > at java.lang.reflect.Method.invoke(Method.java:324)
> >
> > at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
> >
> > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
> >
>
>-----------------------------------------------------------------------
-
> >
> >_______________________________________________
> >Anthill-pro mailing list
> >Anthill-pro at lists.urbancode.com
> >http://lists.urbancode.com/mailman/listinfo/anthill-pro
> >
> >
>
> _______________________________________________
> Anthill-pro mailing list
> Anthill-pro at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill-pro
More information about the Anthill-pro
mailing list