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