Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1
    • Component/s: None
    • Labels:
      None

      Description

      This is a place holder for the request to produce a war packaging of Nexus

        Issue Links

          Activity

          Hide
          juven Juven Xu added a comment -

          added a missing index.html, now works in tomcat-6

          Show
          juven Juven Xu added a comment - added a missing index.html, now works in tomcat-6
          Hide
          juven Juven Xu added a comment -

          removed index.html and welcome-page configuration in web.xml, then it works in Tomcat 6

          Show
          juven Juven Xu added a comment - removed index.html and welcome-page configuration in web.xml, then it works in Tomcat 6
          Hide
          juven Juven Xu added a comment -

          on Tomcat, the problem is:
          'http://localhost:8080/nexus/' works
          'http://localhost:8080/nexus' doesn't
          so the last slash is critical

          Show
          juven Juven Xu added a comment - on Tomcat, the problem is: 'http://localhost:8080/nexus/' works 'http://localhost:8080/nexus' doesn't so the last slash is critical
          Hide
          juven Juven Xu added a comment -

          The war doesn' t work on Glassfish, got exception like:

          2008-10-31 00:14:27.023 ERROR [Thread-23:] - javax.enterprise.system.container.web: WebModule[/nexus]nexus: Error during the starting of the Restlet Application
          java.lang.NullPointerException
          at com.sun.enterprise.web.logger.LoggerBase.write(LoggerBase.java:215)
          at com.sun.enterprise.web.logger.LoggerBase.log(LoggerBase.java:172)
          at org.apache.catalina.core.ApplicationContext.log(ApplicationContext.java:824)
          at org.apache.catalina.core.ApplicationContextFacade.log(ApplicationContextFacade.java:307)
          at com.noelios.restlet.ext.servlet.ServletLogger.log(ServletLogger.java:70)
          at java.util.logging.Logger.doLog(Logger.java:494)
          at java.util.logging.Logger.log(Logger.java:517)
          at java.util.logging.Logger.info(Logger.java:1036)
          at org.sonatype.plexus.rest.PlexusRestletApplicationBridge.configure(PlexusRestletApplicationBridge.java:133)
          at org.sonatype.plexus.rest.PlexusRestletApplicationBridge.createRoot(PlexusRestletApplicationBridge.java:112)
          at org.restlet.Application.getRoot(Application.java:303)
          at com.noelios.restlet.application.ApplicationHelper.start(ApplicationHelper.java:139)
          at org.restlet.Application.start(Application.java:490)
          at com.noelios.restlet.ext.servlet.ServerServlet.init(ServerServlet.java:815)
          at javax.servlet.GenericServlet.init(GenericServlet.java:254)
          at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1178)
          at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1007)
          at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4800)
          at org.apache.catalina.core.StandardContext.start(StandardContext.java:5188)
          at com.sun.enterprise.web.WebModule.start(WebModule.java:327)
          at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:973)
          at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:957)
          at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:688)
          at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1581)
          at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1222)
          at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:182)
          at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:278)
          at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:974)
          at com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:961)
          at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:464)
          at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:176)
          at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:308)
          at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:226)
          at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:298)
          at com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(ApplicationStartPhase.java:132)
          at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
          at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919)
          at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:591)
          at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:635)
          at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:744)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:597)
          at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:375)
          at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:358)
          at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:464)
          at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
          at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
          at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:597)
          at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90)
          at $Proxy1.invoke(Unknown Source)
          at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)
          at com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)
          at com.sun.enterprise.deployment.client.DeploymentClientUtils.startApplication(DeploymentClientUtils.java:145)
          at com.sun.enterprise.deployment.client.DeployAction.run(DeployAction.java:537)
          at java.lang.Thread.run(Thread.java:619)

          Show
          juven Juven Xu added a comment - The war doesn' t work on Glassfish, got exception like: 2008-10-31 00:14:27.023 ERROR [Thread-23:] - javax.enterprise.system.container.web: WebModule [/nexus] nexus: Error during the starting of the Restlet Application java.lang.NullPointerException at com.sun.enterprise.web.logger.LoggerBase.write(LoggerBase.java:215) at com.sun.enterprise.web.logger.LoggerBase.log(LoggerBase.java:172) at org.apache.catalina.core.ApplicationContext.log(ApplicationContext.java:824) at org.apache.catalina.core.ApplicationContextFacade.log(ApplicationContextFacade.java:307) at com.noelios.restlet.ext.servlet.ServletLogger.log(ServletLogger.java:70) at java.util.logging.Logger.doLog(Logger.java:494) at java.util.logging.Logger.log(Logger.java:517) at java.util.logging.Logger.info(Logger.java:1036) at org.sonatype.plexus.rest.PlexusRestletApplicationBridge.configure(PlexusRestletApplicationBridge.java:133) at org.sonatype.plexus.rest.PlexusRestletApplicationBridge.createRoot(PlexusRestletApplicationBridge.java:112) at org.restlet.Application.getRoot(Application.java:303) at com.noelios.restlet.application.ApplicationHelper.start(ApplicationHelper.java:139) at org.restlet.Application.start(Application.java:490) at com.noelios.restlet.ext.servlet.ServerServlet.init(ServerServlet.java:815) at javax.servlet.GenericServlet.init(GenericServlet.java:254) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1178) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1007) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4800) at org.apache.catalina.core.StandardContext.start(StandardContext.java:5188) at com.sun.enterprise.web.WebModule.start(WebModule.java:327) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:973) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:957) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:688) at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1581) at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1222) at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:182) at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:278) at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:974) at com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:961) at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:464) at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:176) at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:308) at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:226) at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:298) at com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(ApplicationStartPhase.java:132) at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108) at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919) at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:591) at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:635) at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:744) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:375) at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:358) at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:464) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761) at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90) at $Proxy1.invoke(Unknown Source) at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304) at com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174) at com.sun.enterprise.deployment.client.DeploymentClientUtils.startApplication(DeploymentClientUtils.java:145) at com.sun.enterprise.deployment.client.DeployAction.run(DeployAction.java:537) at java.lang.Thread.run(Thread.java:619)
          Hide
          koconnor Kristine O'Connor added a comment -

          The war file has been successfully tested and validated using Tomcat 5.5, Tomcat 6, and Resin application servers. Testing was done on glassfish, but there were problems when launching the UI. That defect will be linked to this one for reference.

          Show
          koconnor Kristine O'Connor added a comment - The war file has been successfully tested and validated using Tomcat 5.5, Tomcat 6, and Resin application servers. Testing was done on glassfish, but there were problems when launching the UI. That defect will be linked to this one for reference.

            People

            • Assignee:
              Unassigned
              Reporter:
              brianf Brian Fox
              Last Updated By:
              Rich Seddon
            • Votes:
              55 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 36h
                36h