activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-3578) Java Wrapper Service does not Start on Windows 7 Enterprise SP1
Date Thu, 10 Nov 2011 15:28:52 GMT

    [ https://issues.apache.org/jira/browse/AMQ-3578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13147766#comment-13147766
] 

Timothy Bish commented on AMQ-3578:
-----------------------------------

I beleive when you run as a Service from an admin account you need to ensure that the temp
dir is created, C:\Windows\System32\config\systemprofile\AppData\Local\Temp

See: AMQ-2946
                
> Java Wrapper Service does not Start on Windows 7 Enterprise SP1
> ---------------------------------------------------------------
>
>                 Key: AMQ-3578
>                 URL: https://issues.apache.org/jira/browse/AMQ-3578
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Connector
>    Affects Versions: 5.5.1
>         Environment: Windows 7 Enterprise SP1, Java 1.6.x, Administrative Access enabled
on wrapper.exe
> Binary Path:  "C:\activemq" linked (junction) to C:\Program Files (x86)\Apache Software
Foundation\apache-activemq-5.5.1
>            Reporter: Robert Wojcik
>             Fix For: 5.6.0
>
>
> Service fails to start:  
> 2011-11-03 10:43:28,147 | WARN  | tmpdir | org.eclipse.jetty.util.log | WrapperSimpleAppMain
> java.io.IOException: The system cannot find the path specified
> 	at java.io.WinNTFileSystem.createFileExclusively(Native Method)
> 	at java.io.File.createTempFile(File.java:1879)
> 	at java.io.File.createTempFile(File.java:1923)
> 	at org.eclipse.jetty.webapp.WebInfConfiguration.resolveTempDirectory(WebInfConfiguration.java:279)
> 	at org.eclipse.jetty.webapp.WebInfConfiguration.preConfigure(WebInfConfiguration.java:43)
> 	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:378)
> 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
> 	at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:165)
> 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
> 	at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:92)
> 	at org.eclipse.jetty.security.SecurityHandler.doStart(SecurityHandler.java:338)
> 	at org.eclipse.jetty.security.ConstraintSecurityHandler.doStart(ConstraintSecurityHandler.java:229)
> 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
> 	at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:165)
> 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
> 	at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:92)
> 	at org.eclipse.jetty.server.Server.doStart(Server.java:242)
> 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:601)
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1536)
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477)
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1409)
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
> 	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
> 	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
> 	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
> 	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
> 	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:574)
> 	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
> 	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
> 	at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:64)
> 	at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:52)
> 	at org.apache.activemq.xbean.XBeanBrokerFactory$1.<init>(XBeanBrokerFactory.java:114)
> 	at org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:114)
> 	at org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:70)
> 	at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)
> 	at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54)
> 	at org.apache.activemq.console.command.StartCommand.startBroker(StartCommand.java:115)
> 	at org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:74)
> 	at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
> 	at org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:143)
> 	at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
> 	at org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:85)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:601)
> 	at org.apache.activemq.console.Main.runTaskClass(Main.java:251)
> 	at org.apache.activemq.console.Main.main(Main.java:107)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:601)
> 	at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
> 	at java.lang.Thread.run(Thread.java:722)
> 2011-11-03 10:43:28,213 | INFO  | ActiveMQ Message Broker (localhost, ID:WOJCIRC1-WL2-49186-1320331407588-0:1)
is shutting down | org.apache.activemq.broker.BrokerService | ActiveMQ ShutdownHook
> 2011-11-03 10:43:29,739 | INFO  | Connector openwire Stopped | org.apache.activemq.broker.TransportConnector
| ActiveMQ ShutdownHook
> 2011-11-03 10:43:29,743 | INFO  | PListStore:C:\activemq\bin\win32\..\..\data\localhost\tmp_storage
stopped | org.apache.activemq.store.kahadb.plist.PListStore | ActiveMQ ShutdownHook
> 2011-11-03 10:43:29,743 | INFO  | Stopping async queue tasks | org.apache.activemq.store.kahadb.KahaDBStore
| ActiveMQ ShutdownHook
> 2011-11-03 10:43:29,743 | INFO  | Stopping async topic tasks | org.apache.activemq.store.kahadb.KahaDBStore
| ActiveMQ ShutdownHook
> 2011-11-03 10:43:29,743 | INFO  | Stopped KahaDB | org.apache.activemq.store.kahadb.KahaDBStore
| ActiveMQ ShutdownHook
> 2011-11-03 10:43:30,058 | INFO  | ActiveMQ JMS Message Broker (localhost, ID:WOJCIRC1-WL2-49186-1320331407588-0:1)
stopped | org.apache.activemq.broker.BrokerService | ActiveMQ ShutdownHook
> Command line invocation of wrapper.exe terminates with the following error:
> jvm 1    |  INFO | Database ..\..\data\kahadb\lock is locked... waiting 10 secon
> ds for the database to be unlocked. Reason: java.io.FileNotFoundException: ..\..
> \data\kahadb\lock (Access is denied)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message