[opencms-dev] Problems with setup

Juanjo Cuadrado jjcuadrado at gmail.com
Mon Nov 27 18:11:20 CET 2006


Now yes....

For some reason, sometimes, the Tomcat default installation doesn't includes
the tools.jar library in the classpath. We must add this library to the
Tomcat classpath: %JAVA_HOME%\lib\tools.jar. Then, we can install OpenCms
without problems.

2006/11/27, Juanjo Cuadrado <jjcuadrado at gmail.com>:
>
> Hi,
> I have achieved it.... I had to uninstall the tomcat (it were installed
> like a service) and I had to re-installed Tomcat form a zip file... only.
>
> 2006/11/27, Juanjo Cuadrado < jjcuadrado at gmail.com>:
> >
> > Hi Jon,
> >
> >     I have instaled the JDK. In fact both jdk and jre are instaled in my
> > PC. I have a environment variable JAVA_HOME=c:\java\jdk_1.5 .... Tomcat work
> > fine, MySql work fine...
> >     I am sure that I have installed correctly the JDK.... uf... I don't
> > understand what is happening
> >
> >     Thanks for your time.
> >
> > 2006/11/27, Jonathan Woods < jonathan.woods at scintillance.com>:
> > >
> > >  The 'setup wizard is still enabled' error may be ignored - it seems
> > > to say this even when the setup wizard _needs_ to be enabled, i.e.
> > > just before you go through the set-up process!
> > >
> > > As for the javac Exception: it looks as though you're running using
> > > the JRE rather than the full JDK.  Make sure that you have the JDK installed
> > > and that executing 'java' at the command line reaches a copy of Java in the
> > > JDK location.
> > >
> > > Jon
> > >
> > >  ------------------------------
> > > *From:* opencms-dev-bounces at opencms.org [mailto:
> > > opencms-dev-bounces at opencms.org] *On Behalf Of *Juanjo Cuadrado
> > > *Sent:* 27 November 2006 15:40
> > > *To:* opencms-dev at opencms.org
> > > *Subject:* [opencms-dev] Problems with setup
> > >
> > > Hi,
> > >
> > >     I'm trying to run the install of OpenCMS. I have installed java,
> > > tomcat and mysql. I have put the opencms.war file into wepapp
> > > directory. But when I put "http://localhost:8080/opencms/setup " it
> > > give me the follow error:
> > >
> > > 2006-11-27 15:56:59 StandardContext[/opencms]Servlet /opencms threw
> > > load() exception
> > > javax.servlet.ServletException: Critical error during OpenCms
> > > initialization: The OpenCms setup wizard is still enabled.
> > >     at org.opencms.main.OpenCmsServlet.init(OpenCmsServlet.java:241)
> > >     at org.apache.catalina.core.StandardWrapper.loadServlet(
> > > StandardWrapper.java:1029)
> > >     at org.apache.catalina.core.StandardWrapper.load(
> > > StandardWrapper.java :862)
> > >     at org.apache.catalina.core.StandardContext.loadOnStartup(
> > > StandardContext.java:4013)
> > >     at org.apache.catalina.core.StandardContext.start(
> > > StandardContext.java:4357)
> > >     at org.apache.catalina.core.ContainerBase.addChildInternal (
> > > ContainerBase.java: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 (
> > > StandardHostDeployer.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.check(HostConfig.java
> > > :1083)
> > >     at org.apache.catalina.startup.HostConfig.lifecycleEvent(
> > > HostConfig.java:327)
> > >     at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (
> > > LifecycleSupport.java:119)
> > >     at org.apache.catalina.core.StandardHost.backgroundProcess(
> > > StandardHost.java:800)
> > >     at
> > > org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren
> > > (ContainerBase.java :1619)
> > >     at
> > > org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren
> > > (ContainerBase.java:1628)
> > >     at
> > > org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run
> > > (ContainerBase.java :1608)
> > >     at java.lang.Thread.run(Unknown Source)
> > >
> > > 2006-11-27 15:57:26 StandardContext[/manager]HTMLManager: list:
> > > Listing contexts for virtual host 'localhost'
> > > 2006-11-27 15:57:34 StandardWrapperValve[jsp]: Servlet.service() for
> > > servlet jsp threw exception
> > > Unable to find a javac compiler;
> > > com.sun.tools.javac.Main is not on the classpath.
> > > Perhaps JAVA_HOME does not point to the JDK
> > >     at
> > > org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(
> > > CompilerAdapterFactory.java:106)
> > > ...
> > >
> > >     Any idea?
> > >
> > >
> > > _______________________________________________
> > > 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
> > >
> > >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20061127/ee8a6eb1/attachment.htm>


More information about the opencms-dev mailing list