Ticket #201 (closed Bug: Fixed)

Opened 5 years ago

Last modified 5 years ago

RMI password and access files get loaded wrong in windows service wrapper

Reported by: electroteque Owned by: joachim
Priority: Major Component: App Server
Version: 0.8 RC2 Keywords:
Cc:

Description

Hi i got this unless i removed the conf paths from red5-common.xml when running via java service wrapper.

INFO | jvm 1 | 2007/05/17 07:06:26 | [ERROR] 3063 WrapperSimpleAppMain:( org.red5.server.jmx.JMXAgent.init ) Error in setup of JMX subsystem (RMI connector)
INFO | jvm 1 | 2007/05/17 07:06:26 | java.lang.IllegalArgumentException: C:\Red5\conf\conf\access.properties (The system cannot find the path specified)
INFO | jvm 1 | 2007/05/17 07:06:26 | at javax.management.remote.rmi.RMIConnectorServer.start(Unknown Source)
INFO | jvm 1 | 2007/05/17 07:06:26 | at org.red5.server.jmx.JMXAgent.init(JMXAgent.java:359)
INFO | jvm 1 | 2007/05/17 07:06:26 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2007/05/17 07:06:26 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 1 | 2007/05/17 07:06:26 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 1 | 2007/05/17 07:06:26 | at java.lang.reflect.Method.invoke(Unknown Source)
INFO | jvm 1 | 2007/05/17 07:06:26 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1241)
INFO | jvm 1 | 2007/05/17 07:06:26 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1206)
INFO | jvm 1 | 2007/05/17 07:06:26 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1172)
INFO | jvm 1 | 2007/05/17 07:06:26 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:428)
INFO | jvm 1 | 2007/05/17 07:06:26 | at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
INFO | jvm 1 | 2007/05/17 07:06:26 | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
INFO | jvm 1 | 2007/05/17 07:06:26 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
INFO | jvm 1 | 2007/05/17 07:06:26 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
INFO | jvm 1 | 2007/05/17 07:06:26 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)
INFO | jvm 1 | 2007/05/17 07:06:26 | at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
INFO | jvm 1 | 2007/05/17 07:06:26 | at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:93)
INFO | jvm 1 | 2007/05/17 07:06:26 | at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:77)
INFO | jvm 1 | 2007/05/17 07:06:26 | at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
INFO | jvm 1 | 2007/05/17 07:06:26 | at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
INFO | jvm 1 | 2007/05/17 07:06:26 | at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
INFO | jvm 1 | 2007/05/17 07:06:26 | at java.lang.reflect.Constructor.newInstance(Unknown Source)
INFO | jvm 1 | 2007/05/17 07:06:26 | at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:85)
INFO | jvm 1 | 2007/05/17 07:06:26 | at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
INFO | jvm 1 | 2007/05/17 07:06:26 | at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:186)
INFO | jvm 1 | 2007/05/17 07:06:26 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:800)
INFO | jvm 1 | 2007/05/17 07:06:26 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:720)
INFO | jvm 1 | 2007/05/17 07:06:26 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:387)
INFO | jvm 1 | 2007/05/17 07:06:26 | at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
INFO | jvm 1 | 2007/05/17 07:06:26 | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
INFO | jvm 1 | 2007/05/17 07:06:26 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
INFO | jvm 1 | 2007/05/17 07:06:26 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
INFO | jvm 1 | 2007/05/17 07:06:26 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)
INFO | jvm 1 | 2007/05/17 07:06:26 | at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
INFO | jvm 1 | 2007/05/17 07:06:26 | at org.springframework.context.access.ContextSingletonBeanFactoryLocator.initializeDefinition(ContextSingletonBeanFactoryLocator.java:141)
INFO | jvm 1 | 2007/05/17 07:06:26 | at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:382)
INFO | jvm 1 | 2007/05/17 07:06:26 | at org.red5.server.Standalone.main(Standalone.java:151)
INFO | jvm 1 | 2007/05/17 07:06:26 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2007/05/17 07:06:26 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 1 | 2007/05/17 07:06:26 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 1 | 2007/05/17 07:06:26 | at java.lang.reflect.Method.invoke(Unknown Source)
INFO | jvm 1 | 2007/05/17 07:06:26 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
INFO | jvm 1 | 2007/05/17 07:06:26 | at java.lang.Thread.run(Unknown Source)
INFO | jvm 1 | 2007/05/17 07:06:26 | Caused by: java.io.FileNotFoundException: C:\Red5\conf\conf\access.properties (The system cannot find the path specified)
INFO | jvm 1 | 2007/05/17 07:06:26 | at java.io.FileInputStream.open(Native Method)
INFO | jvm 1 | 2007/05/17 07:06:26 | at java.io.FileInputStream.<init>(Unknown Source)
INFO | jvm 1 | 2007/05/17 07:06:26 | at java.io.FileInputStream.<init>(Unknown Source)
INFO | jvm 1 | 2007/05/17 07:06:26 | at com.sun.jmx.remote.security.MBeanServerFileAccessController.propertiesFromFile(Unknown Source)
INFO | jvm 1 | 2007/05/17 07:06:26 | at com.sun.jmx.remote.security.MBeanServerFileAccessController.<init>(Unknown Source)
INFO | jvm 1 | 2007/05/17 07:06:26 | ... 43 more
INFO | jvm 1 | 2007/05/17 07:06:28 | connected

Change History

Changed 5 years ago by joachim

fixed in r2053

Note: See TracTickets for help on using tickets.