Details
-
Bug
-
Resolution: Won't Fix
-
Major
-
None
-
1.4.0
-
None
-
None
-
Ubuntu 9.04 i396 tomcat6
Description
nexus war fails to deploy into tomcat6 contain in ubuntu
INFO: Loading plexus configuration from: '/WEB-INF/plexus.xml'
Nov 14, 2009 12:48:32 AM org.apache.catalina.core.ApplicationContext log
INFO: Loading plexus context properties from: '/WEB-INF/plexus.properties'
Nov 14, 2009 12:48:32 AM org.apache.catalina.core.ApplicationContext log
INFO: Setting Plexus context variable basedir to: /var/lib/tomcat6/webapps/nexus-webapp-1.4.0/WEB-INF
Nov 14, 2009 12:48:32 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class org.sonatype.nexus.web.PlexusContainerContextListener
java.lang.RuntimeException: Could not load plexus context properties from: '/WEB-INF/plexus.properties'
...
Caused by: java.security.AccessControlException: access denied (java.util.PropertyPermission * read,write)
root@repo:/var/lib/tomcat6/webapps/nexus-webapp-1.4.0/WEB-INF# ls -lR ~tomcat6/
/usr/share/tomcat6/:
total 16
drwxr-xr-x 2 tomcat6 tomcat6 4096 2009-11-13 23:28 bin
drwxr-xr-x 2 tomcat6 tomcat6 4096 2009-11-13 23:28 lib
drwxr-xr-x 3 tomcat6 tomcat6 4096 2009-11-14 00:23 sonatype-work
drwxr-xr-x 3 tomcat6 tomcat6 4096 2009-11-13 23:59 webapps
...
/usr/share/tomcat6/sonatype-work:
total 4
drwxr-xr-x 2 tomcat6 tomcat6 4096 2009-11-14 00:23 nexus
/usr/share/tomcat6/sonatype-work/nexus:
total 0
Changing plexus.properties to:
- You can customize the location of sonatype-work folder here, like: (remove the comment mark #)
nexus=/usr/share/tomcat6/sonatype-work/nexus- Also, you can set this path using system property or environment variables
- The key for nexus system property is "plexus.nexus-work"
- The key for nexus environment variable is "PLEXUS_NEXUS_WORK"
- If none of the above exist, the default value will be ${user.home}/sonatype-work/nexus
- The priority order is plexus.properties > system property > environment variables > default
# - Uncomment this to use the debug js files
- index.template.file=templates/index-debug.vm
Does not work.