[opencms-dev] Installation issues

ethan at 35mmeyes.com ethan at 35mmeyes.com
Mon May 23 17:10:00 CEST 2005


I'm having issues installing opencms. Tomcat extracts the webapp fine, but
I can't connect to localhost:8080/opencms/setup or /opencms/ocsetup

In localhost.log I see this error:

2005-05-20 20:15:51 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.Container)
(/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.LifecycleEvent)
(/usr/lib64/lib-org-apache-catalina-4.1.27.so)
   at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(java.lang.String,
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)

2005-05-20 20:15:51 StandardContext[/opencms]: Skipped installing
application listeners due to previous error(s)
2005-05-20 20:15:51 StandardContext[/opencms]: Context startup failed due
to previous errors


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)
   at java.io.FileDescriptor.FileDescriptor(java.lang.String, int)
(/usr/lib64/libgcj.so.5.0.0)
   at java.io.FileOutputStream.FileOutputStream(java.lang.String, boolean)
(/usr/lib64/libgcj.so.5.0.0)
   at org.apache.log4j.FileAppender.setFile(java.lang.String, boolean,
boolean, int) (Unknown Source)
   at org.apache.log4j.RollingFileAppender.setFile(java.lang.String,
boolean, boolean, int) (Unknown Source)
   at org.apache.log4j.FileAppender.activateOptions() (Unknown Source)
   at org.apache.log4j.config.PropertySetter.activate() (Unknown Source)
   at
org.apache.log4j.config.PropertySetter.setProperties(java.util.Properties,
java.lang.String) (Unknown Source)
   at
org.apache.log4j.config.PropertySetter.setProperties(java.lang.Object,
java.util.Properties, java.lang.String) (Unknown Source)
   at
org.apache.log4j.PropertyConfigurator.parseAppender(java.util.Properties,
java.lang.String) (Unknown Source)
   at
org.apache.log4j.PropertyConfigurator.parseCategory(java.util.Properties,
org.apache.log4j.Logger, java.lang.String, java.lang.String,
java.lang.String) (Unknown Source)
   at
org.apache.log4j.PropertyConfigurator.configureRootCategory(java.util.Properties,
org.apache.log4j.spi.LoggerRepository) (Unknown Source)
   at
org.apache.log4j.PropertyConfigurator.doConfigure(java.util.Properties,
org.apache.log4j.spi.LoggerRepository) (Unknown Source)
   at org.apache.log4j.PropertyConfigurator.doConfigure(java.net.URL,
org.apache.log4j.spi.LoggerRepository) (Unknown Source)
   at
org.apache.log4j.helpers.OptionConverter.selectAndConfigure(java.net.URL,
java.lang.String, org.apache.log4j.spi.LoggerRepository) (Unknown
Source)
   at org.apache.log4j.LogManager.<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.apache.log4j.Logger.getLogger(java.lang.String) (Unknown Source)
   at org.apache.commons.logging.impl.Log4JLogger.getLogger() (Unknown
Source)



Does anybody know what the problem is? My boss is seriously breathing down
my neck here.

Thanks!
Ethan



More information about the opencms-dev mailing list