archiva-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Tran" <dant...@gmail.com>
Subject Re: Run as NT Service?
Date Wed, 20 Feb 2008 23:21:51 GMT
you need to run with local admin ( not local system, not domain account).

Dont recall what was the problem thou, but local admin account solved my problem

-D


On Wed, Feb 20, 2008 at 12:24 PM, Robert Simmons <rsimmons@icat.com> wrote:
> Nope. Running as the system user and installed from admin.
>
> -- Robert
>
>
>
> On 2/20/08 1:22 PM, "Brett Porter" <brett@apache.org> wrote:
>
> > The error doesn't seem to be related, but most often when I have
> > problems with services starting it's because the user it ends up
> > running as doesn't have the right permissions for it. Could that be
> > the case?
> >
> > - Brett
> >
> > On 21/02/2008, at 6:35 AM, Simmons, Robert wrote:
> >
> >> Im having a lot of problems runnign archiva as an NT service. I am
> >> using
> >> the latest release offered for download. What I want to do is be
> >> able to
> >> set the JDK to use since there are about 10 applications running on
> >> the
> >> server where I want to use archiva and not all of them are JDK 1.6
> >> Compatible. I added set.JAVA_HOME=C:\jdk1.6.0_01 to the NT service
> >> configuration in an attempt to set the JDK and it seemed to start but
> >> then I got the error:
> >>
> >> INFO   | jvm 1    | 2008/02/20 12:02:28 | Feb 20, 2008 12:02:28 PM
> >> org.mortbay.jetty.servlet.ServletHandler$Context log
> >> INFO   | jvm 1    | 2008/02/20 12:02:28 | INFO: ********** FATAL ERROR
> >> STARTING UP PLEXUS-WEBWORK INTEGRATION **********
> >> INFO   | jvm 1    | 2008/02/20 12:02:28 | Looks like the Plexus
> >> listener
> >> was not configured for your web app!
> >> INFO   | jvm 1    | 2008/02/20 12:02:28 | You need to add the
> >> following
> >> to web.xml:
> >> INFO   | jvm 1    | 2008/02/20 12:02:28 |
> >> INFO   | jvm 1    | 2008/02/20 12:02:28 |     <listener>
> >> INFO   | jvm 1    | 2008/02/20 12:02:28 |
> >> <listener-class>org.codehaus.plexus.xwork.PlexusLifecycleListener</
> >> liste
> >> ner-class>
> >> INFO   | jvm 1    | 2008/02/20 12:02:28 |     </listener>
> >> INFO   | jvm 1    | 2008/02/20 12:02:28 | Feb 20, 2008 12:02:28 PM
> >> org.mortbay.jetty.servlet.ServletHandler$Context log
> >> INFO   | jvm 1    | 2008/02/20 12:02:28 | INFO: Plexus container
> >> already
> >> in context.
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 | 2008-02-20 12:02:29,037
> >> [WrapperSimpleAppMain] WARN  JPOX.JDO  - Property
> >> org.jpox.validateSchema unknown - will be ignored
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 | [ERROR] Error while
> >> deploying
> >> appserver archiva-plexus-application-1.0.1.jar.
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 |
> >> org.codehaus.plexus.appserver.ApplicationServerException: Error in the
> >> app server lifecycle post-app-container-init-service-call phase.
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 |  at
> >> org
> >> .codehaus.plexus.appserver.application.deploy.DefaultApplicationDeplo
> >> yer.deployJar(DefaultApplicationDeployer.java:119)
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 |  at
> >> org
> >> .codehaus.plexus.appserver.application.deploy.DefaultApplicationDeplo
> >> yer.deploy(DefaultApplicationDeployer.java:88)
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 |  at
> >> org
> >> .codehaus.plexus.appserver.lifecycle.phase.ApplicationDeploymentPhase
> >> $1.onJarDiscovered(ApplicationDeploymentPhase.java:44)
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 |  at
> >> org
> >> .codehaus.plexus.appserver.supervisor.DefaultSupervisor.scanDirectory
> >> (DefaultSupervisor.java:100)
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 |  at
> >> org
> >> .codehaus.plexus.appserver.supervisor.DefaultSupervisor.scan(DefaultS
> >> upervisor.java:73)
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 |  at
> >> org
> >> .codehaus.plexus.appserver.lifecycle.phase.ApplicationDeploymentPhase
> >> .execute(ApplicationDeploymentPhase.java:58)
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 |  at
> >> org
> >> .codehaus.plexus.appserver.DefaultApplicationServer.start(DefaultAppl
> >> icationServer.java:218)
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 |  at
> >> org
> >> .codehaus.plexus.personality.plexus.lifecycle.phase.StartPhase.execut
> >> e(StartPhase.java:33)
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 |  at
> >> org
> >> .codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLif
> >> ecycleHandler.java:128)
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 |  at
> >> org
> >> .codehaus.plexus.component.manager.AbstractComponentManager.startComp
> >> onentLifecycle(AbstractComponentManager.java:142)
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 |  at
> >> org
> >> .codehaus.plexus.component.manager.AbstractComponentManager.createCom
> >> ponentInstance(AbstractComponentManager.java:132)
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 |  at
> >> org
> >> .codehaus.plexus.component.manager.ClassicSingletonComponentManager.g
> >> etComponent(ClassicSingletonComponentManager.java:90)
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 |  at
> >> org
> >> .codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponen
> >> tLookupManager.java:147)
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 |  at
> >> org
> >> .codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponen
> >> tLookupManager.java:69)
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 |  at
> >> org
> >> .codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer
> >> .java:297)
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 |  at
> >> org
> >> .codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer
> >> .java:291)
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 |  at
> >> org
> >> .codehaus.plexus.appserver.PlexusApplicationHost.start(PlexusApplicat
> >> ionHost.java:155)
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 |  at
> >> org
> >> .codehaus.plexus.appserver.PlexusApplicationHost.start(PlexusApplicat
> >> ionHost.java:85)
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 |  at
> >> org
> >> .codehaus.plexus.appserver.PlexusApplicationHost.main(PlexusApplicati
> >> onHost.java:289)
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 |  at
> >> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 |  at
> >> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 |  at
> >> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 |  at
> >> java.lang.reflect.Method.invoke(Unknown Source)
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 |  at
> >> org
> >> .codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launche
> >> r.java:289)
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 |  at
> >> org
> >> .codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:2
> >> 29)
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 |  at
> >> org
> >> .codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launc
> >> her.java:408)
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 |  at
> >> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
> >> 351
> >> )
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 |  at
> >> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 |  at
> >> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 |  at
> >> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 |  at
> >> java.lang.reflect.Method.invoke(Unknown Source)
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 |  at
> >> org
> >> .tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:24
> >> 0)
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 |  at
> >> java.lang.Thread.run(Unknown Source)
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 | Caused by:
> >> org
> >> .codehaus.plexus.appserver.application.deploy.lifecycle.AppDeployment
> >> Exception: Error calling service in pre-app init phase.
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 |  at
> >> org
> >> .codehaus.plexus.appserver.application.deploy.lifecycle.phase.AfterAp
> >> pStartServiceSetupPhase.execute(AfterAppStartServiceSetupPhase.java:
> >> 32)
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 |  at
> >> org
> >> .codehaus.plexus.appserver.application.deploy.DefaultApplicationDeplo
> >> yer.deployJar(DefaultApplicationDeployer.java:107)
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 |  ... 32 more
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 | Caused by:
> >> org.codehaus.plexus.appserver.service.PlexusServiceException: Error
> >> while starting the context /archiva
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 |  at
> >> org
> >> .codehaus.plexus.service.jetty.JettyPlexusService.afterApplicationSta
> >> rt(JettyPlexusService.java:252)
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 |  at
> >> org
> >> .codehaus.plexus.appserver.application.deploy.lifecycle.phase.AfterAp
> >> pStartServiceSetupPhase.execute(AfterAppStartServiceSetupPhase.java:
> >> 28)
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 |  ... 33 more
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 | Caused by:
> >> org.codehaus.plexus.jetty.ServletContainerException: Error while
> >> starting the context /archiva
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 |  at
> >> org
> >> .codehaus.plexus.jetty.AbstractJettyServletContainer.startApplication
> >> (AbstractJettyServletContainer.java:213)
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 |  at
> >> org
> >> .codehaus.plexus.service.jetty.JettyPlexusService.afterApplicationSta
> >> rt(JettyPlexusService.java:248)
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 |  ... 34 more
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 | Caused by:
> >> org.mortbay.util.MultiException[java.lang.NullPointerException,
> >> javax.servlet.ServletException: Unable to lookup role
> >> [org.codehaus.plexus.redback.system.SecuritySystem]]
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 |  at
> >> org
> >> .mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationCo
> >> ntext.java:486)
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 |  at
> >> org.mortbay.util.Container.start(Container.java:72)
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 |  at
> >> org
> >> .codehaus.plexus.jetty.AbstractJettyServletContainer.startApplication
> >> (AbstractJettyServletContainer.java:209)
> >> INFO   | jvm 1    | 2008/02/20 12:02:29 |  ... 35 more
> >>
> >> The application server starts but archiva doesnt.
> >>
> >> Any ideas?
> >>
> >> Robert Simmons Jr
> >> Senior Software Engineer
> >> ICAT Managers LLC <http://www.icat.com/>
> >> W: +1 (303) 447-1155 x2431
> >> M: +1 (720) 346-3868
> >>
> >
> > --
> > Brett Porter
> > brett@apache.org
> > http://blogs.exist.com/bporter/
> >
> >
>
>
> Confidentiality Note: This message contains information that may be confidential and/or
privileged. If you are not the intended recipient, you should not use, copy, disclose, distribute
or take any action based on this message. If you have received this message in error, please
advise the sender immediately by reply email and delete this message. Although ICAT Managers,
LLC scans e-mail and attachments for viruses, it does not guarantee that either are virus-free
and accepts no liability for any damage sustained as a result of viruses.  Thank you.
>
>

Mime
View raw message