[opencms-dev] Open 7.0.3 setup install hanging on agree to

Seth Gottlieb sggottlieb at gmail.com
Tue Jan 15 13:59:40 CET 2008


I have been seeing how long I can go without enabling the root account
on my mac :)

On Jan 15, 2008 7:40 AM,  <arash.kaffamanesh at pomegranate.de> wrote:
>
>
>
>  Hi Seth,
>
> congratulations!
>
> But I think if you use:
>
> $ su - root
>
> and run tomcat from  /opt/local/share/java/tomcat5/bin
>
> it should work too (without sudo).
>
> Kind Regards,
>
> Arash
>
>  On Tue Jan 15 12:28:52 CET 2008, Seth Gottlieb <sggottlieb at gmail.com> wrote
> I seem to have fixed the problem by copying my tomcat5 directory into
> my home directory and running the server as my own user using
> startup.sh rather than tomcatctl.
>
> Thanks everyone for helping me zero in on a work around.
>
> --Seth
>
> On Jan 14, 2008 7:21 PM, Seth Gottlieb wrote:
> > Hi Arash,
> >
> > Thanks for the idea. My Tomcat instance is under
> > /opt/local/share/java/tomcat5 and I am hoping not to do another
> > install because I have a couple of other apps working in there. I did
> > change the permissions on that log directory but got no success.
> > However, when I was poking around in that directory, I did see the
> > OpenCms log that had this message:
> >
> > 14 Jan 2008 16:57:01,222 INFO [ org.opencms.main.OpenCmsCore:1621] .
> > 14 Jan 2008 16:57:01,222 INFO [ org.opencms.main.OpenCmsCore:1622] .
> > 14 Jan 2008 16:57:21,919 INFO [ org.opencms.main.CmsLog: 122] .
> > Log4j config file :
> >
> /opt/local/share/java/tomcat5/webapps/opencms/WEB-INF/classes/log4j.properties
> > 14 Jan 2008 16:57:21,950 INFO [.opencms.i18n.CmsLocaleManager: 333] .
> > i18n configuration : the JVM default locale is "en_US"
> > 14 Jan 2008 16:57:21,950 INFO [.opencms.i18n.CmsLocaleManager: 333] .
> > i18n configuration : the JVM default locale is "en_US"
> > 14 Jan 2008 16:57:21,964 INFO [ org.opencms.main.OpenCmsCore:2229] .
> > Runlevel change : Switching from 1 to 2
> > 14 Jan 2008 16:57:21,971 ERROR [ org.opencms.main.OpenCmsCore: 326]
> > Critical error during OpenCms initialization: The OpenCms setup wizard
> > is still enabled.
> > org.opencms.main.CmsException: Critical error during OpenCms
> > initialization: The OpenCms setup wizard is still enabled.
> > at org.opencms.main.OpenCmsCore.setErrorCondition(OpenCmsCore.java:326)
> > at
> org.opencms.main.CmsInitException.setErrorCondition(CmsInitException.java:120)
> > at org.opencms.main.CmsInitException.(CmsInitException.java:78)
> > at org.opencms.main.CmsInitException.(CmsInitException.java:64)
> > at org.opencms.main.OpenCmsCore.initContext(OpenCmsCore.java:1250)
> > at org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:1729)
> > at
> org.opencms.main.OpenCmsListener.contextInitialized(OpenCmsListener.java:87)
> > at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
> > at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
> > at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
> > at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
> > at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
> > at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:809)
> > at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698)
> > at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
> > at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
> > at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
> > at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
> > at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
> > at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
> > at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
> > at
> org.apache.catalina.core.StandardService.start(StandardService.java:450)
> > at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
> > at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > at java.lang.reflect.Method.invoke(Method.java:585)
> > at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > at java.lang.reflect.Method.invoke(Method.java:585)
> > at
> org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:177)
> >
> > On Jan 14, 2008 4:59 PM, Arash Kaffamanesh
> >
> > wrote:
> > >
> > > Seth Gottlieb wrote:
> > > > Hello OpenCms'ers
> > > >
> > > > I am trying to install OpenCms 7.0.3 on my laptop (Mac OSX Leopard,
> > > > Tomcat 5, Java 1.5.0_13, MySQL 5). For some reason, the application
> > > > seems to hang after I accept the terms and click continue. The only
> > > > clue that I was able to find is that there were a bunch of entries in
> > > > catalina.out saying "log4j:ERROR Error occured while converting date."
> > > > Then I get a big Java error:
> > > >
> > > > Shutting down OpenCms, version 7.0.3 in web application "null"
> > > > Shutdown completed, total uptime was 00:14:18.
> > > >
> > > > log4j:ERROR setFile(null,true) call failed.
> > > > java.io.FileNotFoundException: opencms_init.log (Permission denied)
> > > >
> > > > I am running Tomcat as root (sudo).
> > > >
> > > > I don't know where OpenCms is trying to put this file. I tried to fix
> > > > by doing a chmod -R a+w on the tomcat directory but that did no seem
> > > > to work.
> > > >
> > > > Any ideas?
> > > >
> > > > Thanks,
> > > >
> > > > Seth
> > > >
> > > > _______________________________________________
> > > > This mail is sent to you from the opencms-dev mailing list
> > > > To change your list options, or to unsubscribe from the list, please
> visit
> > > > http://lists.opencms.org/mailman/listinfo/opencms-dev
> > > >
> > > >
> > > Hi Seth,
> > >
> > > It seems OpenCms is trying to create opencms_init.log under
> > > /Users//Tomcat/webapps/opencms/WEB-INF/log ???, check the
> > > owner and permissions there.
> > > In general it is a bad idea to run tomcat as root wit sudo on mac ;o)
> > > anyway, what happens if you run tomcat under your own account?
> > > Tip: put tomcat under /Users//Tomcat5.5.x, and run it with
> > > your own account, it shall work (at least it works here on tiger with
> > > the same environment as yours).
> > >
> > > HTH,
> > > Kind Regards,
> > > Arash
> > >
> > >
> > >
> > > _______________________________________________
> > > This mail is sent to you from the opencms-dev mailing list
> > > To change your list options, or to unsubscribe from the list, please
> visit
> > > http://lists.opencms.org/mailman/listinfo/opencms-dev
> > >
> >
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
>
>
>  Hi Seth,
>
> congratulations!
>
> But I think if you use:
>
> $ su - root
>
> and run tomcat from  /opt/local/share/java/tomcat5/bin
>
> it should work too (without sudo).
>
> Kind Regards,
>
> Arash
>
>  On Tue Jan 15 12:28:52 CET 2008, Seth Gottlieb <sggottlieb at gmail.com>
> wrote
>  I seem to have fixed the problem by copying my tomcat5 directory into
> my home directory and running the server as my own user using
> startup.sh rather than tomcatctl.
>
> Thanks everyone for helping me zero in on a work around.
>
> --Seth
>
> On Jan 14, 2008 7:21 PM, Seth Gottlieb   wrote:
> > Hi Arash,
> >
> > Thanks for the idea.  My Tomcat instance is under
> > /opt/local/share/java/tomcat5 and I am hoping not to do another
> > install because I have a couple of other apps working in there.  I did
> > change the permissions on that log directory but got no success.
> > However, when I was poking around in that directory, I did see the
> > OpenCms log that had this message:
> >
> > 14 Jan 2008 16:57:01,222  INFO [  org.opencms.main.OpenCmsCore:1621] .
> > 14 Jan 2008 16:57:01,222  INFO [  org.opencms.main.OpenCmsCore:1622] .
> > 14 Jan 2008 16:57:21,919  INFO [       org.opencms.main.CmsLog: 122] .
> > Log4j config file    :
> >
> /opt/local/share/java/tomcat5/webapps/opencms/WEB-INF/classes/log4j.properties
> > 14 Jan 2008 16:57:21,950  INFO [.opencms.i18n.CmsLocaleManager: 333] .
> > i18n configuration   : the JVM default locale is "en_US"
> > 14 Jan 2008 16:57:21,950  INFO [.opencms.i18n.CmsLocaleManager: 333] .
> > i18n configuration   : the JVM default locale is "en_US"
> > 14 Jan 2008 16:57:21,964  INFO [  org.opencms.main.OpenCmsCore:2229] .
> > Runlevel change      : Switching from 1 to 2
> > 14 Jan 2008 16:57:21,971 ERROR [  org.opencms.main.OpenCmsCore: 326]
> > Critical error during OpenCms initialization: The OpenCms setup wizard
> > is still enabled.
> > org.opencms.main.CmsException: Critical error during OpenCms
> > initialization: The OpenCms setup wizard is still enabled.
> >         at
> org.opencms.main.OpenCmsCore.setErrorCondition(OpenCmsCore.java:326)
> >         at
> org.opencms.main.CmsInitException.setErrorCondition(CmsInitException.java:120)
> >         at org.opencms.main.CmsInitException.
> (CmsInitException.java:78)
> >         at org.opencms.main.CmsInitException.
> (CmsInitException.java:64)
> >         at
> org.opencms.main.OpenCmsCore.initContext(OpenCmsCore.java:1250)
> >         at
> org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:1729)
> >         at
> org.opencms.main.OpenCmsListener.contextInitialized(OpenCmsListener.java:87)
> >         at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
> >         at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
> >         at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
> >         at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
> >         at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
> >         at
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:809)
> >         at
> org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698)
> >         at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
> >         at
> org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
> >         at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
> >         at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> >         at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
> >         at
> org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
> >         at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
> >         at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
> >         at
> org.apache.catalina.core.StandardService.start(StandardService.java:450)
> >         at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
> >         at
> org.apache.catalina.startup.Catalina.start(Catalina.java:551)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:585)
> >         at
> org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:585)
> >         at
> org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:177)
> >
> > On Jan 14, 2008 4:59 PM, Arash Kaffamanesh
> >
> >   wrote:
> > >
> > > Seth Gottlieb wrote:
> > > > Hello OpenCms'ers
> > > >
> > > > I am trying to install OpenCms 7.0.3 on my laptop (Mac OSX
> Leopard,
> > > > Tomcat 5, Java 1.5.0_13, MySQL 5).  For some reason, the
> application
> > > > seems to hang after I accept the terms and click continue.
> The only
> > > > clue that I was able to find is that there were a bunch of
> entries in
> > > > catalina.out saying "log4j:ERROR Error occured while
> converting date."
> > > >  Then I get a big Java error:
> > > >
> > > > Shutting down OpenCms, version 7.0.3 in web application
> "null"
> > > > Shutdown completed, total uptime was 00:14:18.
> > > >
> > > > log4j:ERROR setFile(null,true) call failed.
> > > > java.io.FileNotFoundException: opencms_init.log (Permission
> denied)
> > > >
> > > > I am running Tomcat as root (sudo).
> > > >
> > > > I don't know where OpenCms is trying to put this file.  I
> tried to fix
> > > > by doing a chmod -R a+w on the tomcat directory but that did
> no seem
> > > > to work.
> > > >
> > > > Any ideas?
> > > >
> > > > Thanks,
> > > >
> > > > Seth
> > > >
> > > > _______________________________________________
> > > > This mail is sent to you from the opencms-dev mailing list
> > > > To change your list options, or to unsubscribe from the list,
> please visit
> > > > http://lists.opencms.org/mailman/listinfo/opencms-dev
> > > >
> > > >
> > > Hi Seth,
> > >
> > > It seems OpenCms is trying to create opencms_init.log under
> > > /Users/ /Tomcat/webapps/opencms/WEB-INF/log ???, check the
> > > owner and permissions there.
> > > In general it is a bad idea to run tomcat as root wit sudo on mac
> ;o)
> > > anyway, what happens if you run tomcat under your own account?
> > > Tip: put tomcat under /Users/ /Tomcat5.5.x, and run it with
> > > your own account, it shall work (at least it works here on tiger
> with
> > > the same environment as yours).
> > >
> > > HTH,
> > > Kind Regards,
> > > Arash
> > >
> > >
> > >
> > > _______________________________________________
> > > This mail is sent to you from the opencms-dev mailing list
> > > To change your list options, or to unsubscribe from the list,
> please visit
> > > http://lists.opencms.org/mailman/listinfo/opencms-dev
> > >
> >
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>



More information about the opencms-dev mailing list