Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-3003

Nexus war fails to deploy in ubuntu tomcat6

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:

      1. You can customize the location of sonatype-work folder here, like: (remove the comment mark #)

      2. nexus=/usr/share/tomcat6/sonatype-work/nexus
      3. Also, you can set this path using system property or environment variables
      4. The key for nexus system property is "plexus.nexus-work"
      5. The key for nexus environment variable is "PLEXUS_NEXUS_WORK"
      6. If none of the above exist, the default value will be ${user.home}/sonatype-work/nexus
      7. The priority order is plexus.properties > system property > environment variables > default
        #
      8. Uncomment this to use the debug js files
      9. index.template.file=templates/index-debug.vm

      Does not work.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dodtsair Mike Power
            Peter Lynch Peter Lynch
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 10m Original Estimate - 10m
                10m
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 0.25h
                0.25h

                tigCommentSecurity.panel-title