[
http://jira.xwiki.org/jira/browse/XE-144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_23377
]
Frank Zenner commented on XE-144:
---------------------------------
I have the same error message with Fedora 8,
java version "1.6.0_04" (Java(TM) SE Runtime Environment (build 1.6.0_04-b12)
Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode, sharing)
and Tomcat 5.5.
Any news about this?
> tomcat won't start
> ------------------
>
> Key: XE-144
> URL: http://jira.xwiki.org/jira/browse/XE-144
> Project: XWiki Enterprise
> Issue Type: Bug
> Components: Build & Packaging
> Affects Versions: 1.1.2
> Environment: - Fedora 7 (Linux version 2.6.22.9-91.fc7)
> - java 5
> - jre-1.5.0_14-fcs from Sun
> - I overwrote the /etc/alternatives/java softlink to point to
> /usr/java/jre1.5.0_14/bin/java
> - JAVA_HOME=/usr/java/jre1.5.0_14/
> - tomcat5 5.5.23
> - yum install tomcat5
> - mysql 5.0.45
> - yum install mysql mysql-server
> Reporter: Herta Van den Eynde
>
> Steps taken
> - extracted xwiki-web-standard-1.1.2.war in /usr/share/tomcat5/webapps/xwiki
> - http://www.xwiki.org/xwiki/bin/view/AdminGuide/InstallationTomcat mentions
> an issue with the java security manager. I searched all files in
> $CATALINA_HOME and /etc, but none of them contained a string TOMCAT5_SECURITY
> I found Stefan's suggestion on http://jira.xwiki.org/jira/browse/XWIKI-348,
> and as there isn't a /etc/tomcat5.5/policy.d/ directory, I edited
> /etc/tomcat5/catalina.policy and added these lines at the bottom:
> // These permissions apply to xwiki
> grant codeBase "file:${catalina.base}/webapps/xwiki/-" {
> permission java.security.AllPermission;
> };
> - found the remark stating that "If you are installing in a linux/unix
> environment you have to setup the xwiki.upload.tempdir parameter as explained
> in the JIRA entry (http://jira.xwiki.org/jira/browse/XWIKI-530) before
> importing anything into XWiki.", but I couldn't find *where* I should define
> this parameter. As it only comes into play when you need to upload larger
> files, I decided to go ahead for the time being
> - set up mysql as per
> http://www.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMySQL
> - the mysql database tests ok
> - connector file =
> http://www.mysql.com/products/connector/j/mysql-connector-java-5.1.5.tar.gz
> - WEB-INF/hibernate.cfg.xml already had an entry for mysql that could be
> uncommented, and I started off with that one.
> - verified that xwiki.cfg has a
> xwiki.store.hibernate.path=/WEB-INF/hibernate.cfg.xml entry
> when I start tomcat, catalina.out reports:
> 15-Nov-07 12:14:55 PM org.apache.catalina.core.StandardContext start
> SEVERE: Error in dependencyCheck
> java.util.jar.JarException: Section should start with a Name header:
> unexpected '^@'
> at gnu.java.util.jar.JarUtils.readSectionName(libgcj.so.8rh)
> at gnu.java.util.jar.JarUtils.readIndividualSections(libgcj.so.8rh)
> at gnu.java.util.jar.JarUtils.readMFManifest(libgcj.so.8rh)
> at java.util.jar.Manifest.read(libgcj.so.8rh)
> at java.util.jar.Manifest.<init>(libgcj.so.8rh)
> at java.util.jar.JarInputStream.readManifest(libgcj.so.8rh)
> at java.util.jar.JarInputStream.<init>(libgcj.so.8rh)
> at java.util.jar.JarInputStream.<init>(libgcj.so.8rh)
> at
> org.apache.catalina.util.ExtensionValidator.getManifest(catalina-5.5.23.jar.so)
> at
> org.apache.catalina.util.ExtensionValidator.validateApplication(catalina-5.5.23.jar.so)
> at org.apache.catalina.core.StandardContext.start(catalina-5.5.23.jar.so)
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(catalina-5.5.23.jar.so)
> at org.apache.catalina.core.ContainerBase.addChild(catalina-5.5.23.jar.so)
> at org.apache.catalina.core.StandardHost.addChild(catalina-5.5.23.jar.so)
> at
> org.apache.catalina.startup.HostConfig.deployDirectory(catalina-5.5.23.jar.so)
> at
> org.apache.catalina.startup.HostConfig.deployDirectories(catalina-5.5.23.jar.so)
> at
> org.apache.catalina.startup.HostConfig.deployApps(catalina-5.5.23.jar.so)
> at org.apache.catalina.startup.HostConfig.start(catalina-5.5.23.jar.so)
> at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(catalina-5.5.23.jar.so)
> at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(catalina-5.5.23.jar.so)
> at org.apache.catalina.core.ContainerBase.start(catalina-5.5.23.jar.so)
> at org.apache.catalina.core.StandardHost.start(catalina-5.5.23.jar.so)
> at org.apache.catalina.core.ContainerBase.start(catalina-5.5.23.jar.so)
> at org.apache.catalina.core.StandardEngine.start(catalina-5.5.23.jar.so)
> at org.apache.catalina.core.StandardService.start(catalina-5.5.23.jar.so)
> at org.apache.catalina.core.StandardServer.start(catalina-5.5.23.jar.so)
> at org.apache.catalina.startup.Catalina.start(catalina-5.5.23.jar.so)
> at java.lang.reflect.Method.invoke(libgcj.so.8rh)
> at org.apache.catalina.startup.Bootstrap.start(bootstrap.jar.so)
> at org.apache.catalina.startup.Bootstrap.main(bootstrap.jar.so)
> 15-Nov-07 12:14:55 PM org.apache.catalina.core.StandardContext start
> SEVERE: Error getConfigured
> 15-Nov-07 12:14:55 PM org.apache.catalina.core.StandardContext start
> SEVERE: Context [/xwiki] startup failed due to previous errors
> 15-Nov-07 12:14:55 PM org.apache.catalina.core.StandardContext stop
> INFO: Container
> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/xwiki] has
> not been sta
> rted
> Does anyone have an idea what went wrong?
> Kind regards,
> Herta
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.xwiki.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
notifications mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications