[opencms-dev] Re: Installation issues

cherif multxt at free.fr
Tue May 24 18:17:52 CEST 2005


Hi Ethan,
At what stape of the installation process are you getting this error?
Also you say using Tomcat 4.1.27 - from Fedora Core 2  ?
and why J2RE 1.4.2  instead of  the jdk  (some times it's better to use the
jsdk) ?

I am using

> OpenCMS 6.0beta3
> Tomcat 5.5.9
> MySQL 4.1.11 -  RPM
> jskd1_5_0_03-linux-i386
> Linux Fedora Core 3

this really should work

----- Original Message ----- 
From: <ethan at 35mmeyes.com>
To: "The OpenCms mailing list" <opencms-dev at opencms.org>
Sent: Tuesday, May 24, 2005 5:46 PM
Subject: Re: [opencms-dev] Re: Installation issues


> Ok, I ran tomcat as root. It did solve the Permission denied message, but
> the real problem is the "java.lang.Error: Not implemented" message. I
> looked in the mailing list archives for a long time before posting because
> I couldn't believe that nobody had ever run into this before. Usually I
> just copy/paste an error message into Google and I have the answer to my
> problem instantly.
>
> OpenCMS 6.0beta3
> Tomcat 4.1.27 - from Fedora Core 2
> MySQL 4.1.10a - from RPM
> J2RE 1.4.2 - from sun
> Linux 2.6.10 (Fedora Core 2)
>
> I have not edited the OC config files.
>
> Once again, here is the error:
>
> from localhost.log:
>
> 2005-05-24 10:36:55 StandardContext[/opencms]: Error configuring
> application listener of class org.opencms.main.OpenCmsListener
> java.lang.Error: Not implemented
>    at java.util.regex.Pattern.Pattern(java.lang.String, int)
> (/usr/lib64/libgcj.so.5.0.0)
>    at java.util.regex.Pattern.compile(java.lang.String, int)
> (/usr/lib64/libgcj.so.5.0.0)
>    at org.opencms.util.CmsStringUtil.<clinit>() (Unknown Source)
>    at java.lang.Class.initializeClass() (/usr/lib64/libgcj.so.5.0.0)
>    at _Jv_ResolvePoolEntry(java.lang.Class, int)
(/usr/lib64/libgcj.so.5.0.0)
>    at org.opencms.util.CmsFileUtil.normalizePath(java.lang.String, char)
> (Unknown Source)
>    at org.opencms.main.CmsLog.<clinit>() (Unknown Source)
>    at java.lang.Class.initializeClass() (/usr/lib64/libgcj.so.5.0.0)
>    at _Jv_ResolvePoolEntry(java.lang.Class, int)
(/usr/lib64/libgcj.so.5.0.0)
>    at org.opencms.main.OpenCmsListener.<clinit>() (Unknown Source)
>    at java.lang.Class.initializeClass() (/usr/lib64/libgcj.so.5.0.0)
>    at java.lang.Class.newInstance() (/usr/lib64/libgcj.so.5.0.0)
>    at org.apache.catalina.core.StandardContext.listenerStart()
> (/usr/lib64/lib-org-apache-catalina-4.1.27.so)
>    at org.apache.catalina.core.StandardContext.start()
> (/usr/lib64/lib-org-apache-catalina-4.1.27.so)
>    at
>
org.apache.catalina.core.ContainerBase.addChildInternal(org.apache.catalina.
Container)
> (/usr/lib64/lib-org-apache-catalina-4.1.27.so)
>    at
>
org.apache.catalina.core.ContainerBase.addChild(org.apache.catalina.Containe
r)
> (/usr/lib64/lib-org-apache-catalina-4.1.27.so)
>    at
>
org.apache.catalina.core.StandardHost.addChild(org.apache.catalina.Container
)
> (/usr/lib64/lib-org-apache-catalina-4.1.27.so)
>    at
> org.apache.catalina.core.StandardHostDeployer.install(java.lang.String,
> java.net.URL) (/usr/lib64/lib-org-apache-catalina-4.1.27.so)
>    at org.apache.catalina.core.StandardHost.install(java.lang.String,
> java.net.URL) (/usr/lib64/lib-org-apache-catalina-4.1.27.so)
>    at org.apache.catalina.startup.HostConfig.deployWARs(java.io.File,
> java.lang.String[]) (/usr/lib64/lib-org-apache-catalina-4.1.27.so)
>    at org.apache.catalina.startup.HostConfig.deployApps()
> (/usr/lib64/lib-org-apache-catalina-4.1.27.so)
>    at org.apache.catalina.startup.HostConfig.start()
> (/usr/lib64/lib-org-apache-catalina-4.1.27.so)
>    at
>
org.apache.catalina.startup.HostConfig.lifecycleEvent(org.apache.catalina.Li
fecycleEvent)
> (/usr/lib64/lib-org-apache-catalina-4.1.27.so)
>    at
>
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(java.lang.Strin
g,
> java.lang.Object) (/usr/lib64/lib-org-apache-catalina-4.1.27.so)
>    at org.apache.catalina.core.ContainerBase.start()
> (/usr/lib64/lib-org-apache-catalina-4.1.27.so)
>    at org.apache.catalina.core.StandardHost.start()
> (/usr/lib64/lib-org-apache-catalina-4.1.27.so)
>    at org.apache.catalina.core.ContainerBase.start()
> (/usr/lib64/lib-org-apache-catalina-4.1.27.so)
>    at org.apache.catalina.core.StandardEngine.start()
> (/usr/lib64/lib-org-apache-catalina-4.1.27.so)
>    at org.apache.catalina.core.StandardService.start()
> (/usr/lib64/lib-org-apache-catalina-4.1.27.so)
>    at org.apache.catalina.core.StandardServer.start()
> (/usr/lib64/lib-org-apache-catalina-4.1.27.so)
>    at org.apache.catalina.startup.CatalinaService.start()
> (/usr/lib64/lib-org-apache-catalina-4.1.27.so)
>    at _Jv_CallAnyMethodA(java.lang.Object, java.lang.Class, _Jv_Method,
> boolean, boolean, java.lang.Class[], jvalue, jvalue, boolean)
> (/usr/lib64/libgcj.so.5.0.0)
>    at _Jv_CallAnyMethodA(java.lang.Object, java.lang.Class, _Jv_Method,
> boolean, java.lang.Class[], java.lang.Object[])
> (/usr/lib64/libgcj.so.5.0.0)
>    at org.apache.catalina.startup.BootstrapService.start()
> (/usr/lib64/lib-org-apache-catalina-bootstrap-4.1.27.so)
>    at gnu.gcj.runtime.FirstThread.call_main() (/usr/lib64/libgcj.so.5.0.0)
>    at gnu.gcj.runtime.FirstThread.run() (/usr/lib64/libgcj.so.5.0.0)
>    at _Jv_ThreadRun(java.lang.Thread) (/usr/lib64/libgcj.so.5.0.0)
>    at _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean)
> (/usr/lib64/libgcj.so.5.0.0)
>    at JvRunMain (/usr/lib64/libgcj.so.5.0.0)
>    at __libc_start_main (/lib64/tls/libc-2.3.3.so)
>
> Thanks for your help,
> Ethan
>
>
>
> > Ethan Baldridge wrote:
> >>><ethan <at> 35mmeyes.com> writes:
> >>>>
> >>>>And in tomcat.out I see this:
> >>>>
> >>>>log4j:ERROR setFile(null,true) call failed.
> >>>>java.io.FileNotFoundException: opencms_init.log (Permission denied)
> >>>>   at java.io.FileDescriptor.open(java.lang.String, int)
> >>>>(/usr/lib64/libgcj.so.5.0.0)
> >>>>
> >>>>Does anybody know what the problem is? My boss is seriously breathing
> >>>> down
> >>>>my neck here.
> >
> > Ethan,
> >
> > Bosses do that because they think that web administration, including
> > the administration of a complex web application (such as OpenCms) is
> > trivially easy. They truly do. Why? I do not know. Perhaps they think
> > that because web administration is easy on Linux (or Unix) because it is
> > easy on Windows with respect to IIS. Maybe bosses think that installing
> > a complex web application is merely a matter of clicking on a few
> > buttons and filling in a few text boxes (as it probably is on Windows).
> >
> > The majority of the bosses that I have had thought that web
> > administration was trivially easy.  What a bunch of morons!
> >
> >>>
> >>>Perhaps review your file permissions?
> >>>
> >>>java.io.FileNotFoundException: opencms_init.log (Permission denied)
> >>>
> >>>Just guessing.
> >>
> >>
> >> Perhaps, but where? Tomcat can extract the webapp and create the
> >> directory just fine, so it's not the webapps dir that needs
> >> different permissions. I'm guessing the other error is the real one
> >> and this one is just a result of it not being configured yet. I could
> >> be wrong though.
> >
> > There should be an easy way to determine whether it is a permissions
> > problem: Run tomcat as the root user (superuser). If you do _not_
> > encounter a problem, then that result would tend to confirm that the
> > problem was a permissions problem.
> >
> > Finally, read this:
> >
> > TROUBLESHOOTING OPENCMS
> > ==================================
> >
> > Please do NOT post a request for help to this list until you have
> > searched the list's archives. Furthermore, when requesting help, try to
> > supply the information below. We are more likely to help you if we do
> > not have to prod you for information!!
> >
> > A. The most recent contents of these log files:
> >
> > 1. opencms.log
> > 2. catalina.out -- if you are using Tomcat
> > 3. The MySQL log file -- on Debian Linux, it is <hostname>.log The file
> > "mysql.err" is _different_ from this file.
> >
> > B. Your environment and configuration, in rough order of importance:
> >
> > 1. OpenCMS (OC) version number, for example (e.g.), ver. 5 or ver. 6.
> > 2. Servlet container and its version number, e.g., Tomcat (ver. 4 or
> > 5.x), Jetty, or Resin.
> > 3. RDBMS and its version number, e.g., MySQL (ver 3.2x or 4.x), Oracle,
> > or MS SQL Server.
> > 4. JDK, including both: (a) compiler and its version (e.g., Sun,
> > Blackdown, IBM's Jikes, or GCJ), and (b) JVM and its version, e.g.,
Kaffe.
> > 5. Operating system and its version, and, if using Linux, the
> > distribution and its version number, too. For example:
> >
> > a) Red Hat Enterprise Linux, ver. 3
> > b) SuSe Linux, ver. 9.1
> > c) Debian Woody or Debian Sarge ("Testing")
> >
> > 6. If you are using Linux, state whether you installed the software
> > packages above using a package management system (e.g., RPM, dpkg, Stow,
> > emerge, or "Apt for RPM") or manually instead.
> > 7. The version of the JDBC driver is probably not necessary unless you
> > have replaced the JDBC driver that the OC setup wizard installs during
> > the OC installation.
> >
> > C. Configuration files
> >
> > Sometimes, the contents of the primary OC configuration files are
> > important, especially if you have edited them:
> >
> > 1. opencms.properties
> > 2. registry.xml
> >
> > I understand that OC ver. 6 has more configuration files, but, at this
> > moment, I cannot remember their names.
> >
> >
> > _______________________________________________
> > This mail is send to you from the opencms-dev mailing list
> > To change your list options, or to unsubscribe from the list, please
visit
> > http://mail.opencms.org/mailman/listinfo/opencms-dev
> >
> >
>
>
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
>
>





More information about the opencms-dev mailing list