you might open a prompt and cd to the dir of OpenMeetings, set the JAVA_HOME
variable and then try to run the red5.bat from the console (instead of
double clicking it)

It should give some trace, if the application tells you path is incorrect
there is definitly something wrong about it.

Sebastian

2010/10/29 prashant <[email protected]>

> Yes.. I have JAVA_HOME pah correct and I am getting above mentioned
> error. Is it have any link to it?
> Thanks
> Prashant
>
> On Oct 29, 12:12 am, "[email protected]" <[email protected]>
> wrote:
> > *We do need to set JAVA_HOME before running batch
> > otherwise it gives JAVA_Home not defined error*
> > => I guess that happens because you specify the wrong path. If the path
> is
> > correct there should be no JAVA_HOME not defined error.
> >
> > Sebastian
> >
> > 2010/10/29 prashant <[email protected]>
> >
> >
> >
> > > I am using jdk1.6.0_22 as JAVA_HOME. I am running batch as
> > > administrtor. We do need to set JAVA_HOME before running batch
> > > otherwise it gives JAVA_Home not defined error.
> >
> > > On Oct 28, 11:56 pm, "[email protected]" <[email protected]>
> > > wrote:
> > > > Which version of JAVA did you use?
> > > > If you run as Administrator does it make difference?
> > > > Maybe you try to set JAVA_HOME before running the app.
> >
> > > > Sebastian
> >
> > > > 2010/10/29 prashant <[email protected]>
> >
> > > > > Hello,
> > > > > I built latest release on windows server 8. I am able to build but
> > > > > while running red5.bat I am getting following errors. I tried to
> > > > > change rtmp related ports but didn't work.
> >
> > > > > [INFO] [main]
> > > > > org.springframework.beans.factory.support.DefaultListableBeanFacto
> > > > > ry - Destroying singletons in
> > > > > org.springframework.beans.factory.support.DefaultL
> > > > > istablebeanfact...@1d0fafc: defining beans
> > > > > [placeholderConfig,red5.server,jmxFac
> >
> > >
> tory,jmxAgent,serializer,deserializer,statusObjectService,rtmpCodecFactory,­­rtmpt
> >
> > >
> CodecFactory,remotingCodecFactory,streamableFileFactory,filePersistenceThre­­ad,sh
> >
> > >
> aredObjectService,streamService,providerService,consumerService,bandwidthFi­­lter,
> >
> > >
> schedulingService,warDeployService,remotingClient,object.cache,keyframe.cac­­he,fl
> >
> > >
> v.impl,flvreader.impl,mp4reader.impl,mp3reader.impl,org.springframework.bea­­ns.fa
> >
> > >
> ctory.config.MethodInvokingFactoryBean#0,org.springframework.beans.factory.­­confi
> >
> > >
> g.MethodInvokingFactoryBean#1,streamExecutor,playlistSubscriberStream,clien­­tBroa
> > > > > dcastStream]; root of factory hierarchy
> > > > > org.springframework.beans.factory.BeanCreationException: Error
> > > > > creating bean wit
> > > > > h name 'red5.core' defined in class path resource [red5.xml]:
> > > > > Instantiation of b
> > > > > ean failed; nested exception is
> > > > > org.springframework.beans.BeanInstantiationExcep
> > > > > tion: Could not instantiate bean class
> > > > > [org.springframework.context.support.File
> > > > > SystemXmlApplicationContext]: Constructor threw exception; nested
> > > > > exception is o
> > > > > rg.springframework.beans.factory.BeanCreationException: Error
> creating
> > > > > bean with
> > > > >  name 'rtmpsTransport' defined in class path resource
> [red5-core.xml]:
> > > > > Cannot cr
> > > > > eate inner bean 'java.net.InetSocketAddress#df48c4' of type
> > > > > [java.net.InetSocket
> > > > > Address] while setting bean property 'connectors' with key [0];
> nested
> > > > > exception
> > > > >  is org.springframework.beans.factory.BeanCreationException: Error
> > > > > creating bean
> > > > >  with name 'java.net.InetSocketAddress#df48c4' defined in class
> path
> > > > > resource [r
> > > > > ed5-core.xml]: 2 constructor arguments specified but no matching
> > > > > constructor fou
> > > > > nd in bean 'java.net.InetSocketAddress#df48c4' (hint: specify
> index/
> > > > > type/name ar
> > > > > guments for simple parameters to avoid type ambiguities)
> > > > >        at
> > > > >
> org.springframework.beans.factory.support.ConstructorResolver.autowir
> > > > > eConstructor(ConstructorResolver.java:283)
> > > > >        at
> > > > >
> org.springframework.beans.factory.support.AbstractAutowireCapableBean
> > > > >
> Factory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:
> > > > > 984)
> > > > >        at
> > > > >
> org.springframework.beans.factory.support.AbstractAutowireCapableBean
> > > > > Factory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:
> > > > > 886)
> > > > >        at
> > > > >
> org.springframework.beans.factory.support.AbstractAutowireCapableBean
> > > > > Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:479)
> > > > >        at
> > > > >
> org.springframework.beans.factory.support.AbstractAutowireCapableBean
> > > > > Factory.createBean(AbstractAutowireCapableBeanFactory.java:450)
> > > > >        at
> > > > >
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
> > > > > ject(AbstractBeanFactory.java:290)
> > > > >        at
> > > > >
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
> > > > > y.getSingleton(DefaultSingletonBeanRegistry.java:222)
> > > > >        at
> > > > >
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe
> > > > > an(AbstractBeanFactory.java:287)
> > > > >        at
> > > > >
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean
> > > > > (AbstractBeanFactory.java:189)
> > > > >        at
> > > > >
> org.springframework.beans.factory.support.DefaultListableBeanFactory.
> > > > > preInstantiateSingletons(DefaultListableBeanFactory.java:557)
> > > > >        at
> > > > >
> org.springframework.context.support.AbstractApplicationContext.finish
> > > > > BeanFactoryInitialization(AbstractApplicationContext.java:842)
> > > > >        at
> > > > >
> org.springframework.context.support.AbstractApplicationContext.refres
> > > > > h(AbstractApplicationContext.java:416)
> > > > >        at org.red5.server.Launcher.launch(Launcher.java:62)
> > > > >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> > > > >        at
> > > > >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> > > > > java:39)
> > > > >        at
> > > > >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> > > > > sorImpl.java:25)
> > > > >        at java.lang.reflect.Method.invoke(Method.java:597)
> > > > >        at org.red5.server.Bootstrap.bootStrap(Bootstrap.java:135)
> > > > >        at org.red5.server.Bootstrap.main(Bootstrap.java:50)
> > > > > Caused by: org.springframework.beans.BeanInstantiationException:
> Could
> > > > > not insta
> > > > > ntiate bean class
> > > > > [org.springframework.context.support.FileSystemXmlApplicationC
> > > > > ontext]: Constructor threw exception; nested exception is
> > > > > org.springframework.be
> > > > > ans.factory.BeanCreationException: Error creating bean with name
> > > > > 'rtmpsTransport
> > > > > ' defined in class path resource [red5-core.xml]: Cannot create
> inner
> > > > > bean 'java
> > > > > .net.InetSocketAddress#df48c4' of type [java.net.InetSocketAddress]
> > > > > while settin
> > > > > g bean property 'connectors' with key [0]; nested exception is
> > > > > org.springframewo
> > > > > rk.beans.factory.BeanCreationException: Error creating bean with
> name
> > > > > 'java.net.
> > > > > InetSocketAddress#df48c4' defined in class path resource [red5-
> > > > > core.xml]: 2 cons
> > > > > tructor arguments specified but no matching constructor found in
> bean
> > > > > 'java.net.
> > > > > InetSocketAddress#df48c4' (hint: specify index/type/name arguments
> for
> > > > > simple pa
> > > > > rameters to avoid type ambiguities)
> > > > >        at
> > > > >
> org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:1
> > > > > 41)
> > > > >        at
> > > > >
> org.springframework.beans.factory.support.SimpleInstantiationStrategy
> > > > > .instantiate(SimpleInstantiationStrategy.java:107)
> > > > >        at
> > > > >
> org.springframework.beans.factory.support.ConstructorResolver.autowir
> > > > > eConstructor(ConstructorResolver.java:275)
> > > > >        ... 18 more
> > > > > Caused by: org.springframework.beans.factory.BeanCreationException:
> > > > > Error creati
> > > > > ng bean with name 'rtmpsTransport' defined in class path resource
> > > > > [red5-core.xml
> > > > > ]: Cannot create inner bean 'java.net.InetSocketAddress#df48c4' of
> > > > > type [java.ne
> > > > > t.InetSocketAddress] while setting bean property 'connectors' with
> key
> > > > > [0]; nest
> > > > > ed exception is
> > > > > org.springframework.beans.factory.BeanCreationException: Error c
> > > > > reating bean with name 'java.net.InetSocketAddress#df48c4' defined
> in
> > > > > class path
> > > > >  resource [red5-core.xml]: 2 constructor arguments specified but no
> > > > > matching con
> > > > > structor found in bean 'java.net.InetSocketAddress#df48c4' (hint:
> > > > > specify index/
> > > > > type/name arguments for simple parameters to avoid type
> ambiguities)
> > > > >        at
> > > > >
> org.springframework.beans.factory.support.BeanDefinitionValueResolver
> > > > > .resolveInnerBean(BeanDefinitionValueResolver.java:281)
> > > > >        at
> > > > >
> org.springframework.beans.factory.support.BeanDefinitionValueResolver
> > > > > .resolveValueIfNecessary(BeanDefinitionValueResolver.java:120)
> > > > >        at
> > > > >
> org.springframework.beans.factory.support.BeanDefinitionValueResolver
> > > > > .resolveManagedList(BeanDefinitionValueResolver.java:355)
> > > > >        at
> > > > >
> org.springframework.beans.factory.support.BeanDefinitionValueResolver
> > > > > .resolveValueIfNecessary(BeanDefinitionValueResolver.java:153)
> > > > >        at
> > > > >
> org.springframework.beans.factory.support.AbstractAutowireCapableBean
> > > > >
> Factory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:
> > > > > 1305)
> > > > >        at
> > > > >
> org.springframework.beans.factory.support.AbstractAutowireCapableBean
> > > > > Factory.populateBean(AbstractAutowireCapableBeanFactory.java:1067)
> > > > >        at
> > > > >
> org.springframework.beans.factory.support.AbstractAutowireCapableBean
> > > > > Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)
> > > > >        at
> > > > >
> org.springframework.beans.factory.support.AbstractAutowireCapableBean
> > > > > Factory.createBean(AbstractAutowireCapableBeanFactory.java:450)
> > > > >        at
> > > > >
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
> > > > > ject(AbstractBeanFactory.java:290)
> > > > >        at
> > > > >
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
> > > > > y.getSingleton(DefaultSingletonBeanRegistry.java:222)
> > > > >        at
> > > > >
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe
> > > > > an(AbstractBeanFactory.java:287)
> > > > >        at
> > > > >
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean
> > > > > (AbstractBeanFactory.java:189)
> > > > >        at
> > > > >
> org.springframework.beans.factory.support.DefaultListableBeanFactory.
> > > > > preInstantiateSingletons(DefaultListableBeanFactory.java:557)
> > > > >        at
> >
> > ...
> >
> > read more »- Hide quoted text -
> >
> > - Show quoted text -
>
> --
> You received this message because you are subscribed to the Google Groups
> "OpenMeetings User" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<openmeetings-user%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/openmeetings-user?hl=en.
>
>


-- 
Sebastian Wagner
http://www.webbase-design.de
http://openmeetings.googlecode.com
http://www.wagner-sebastian.com
[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"OpenMeetings User" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/openmeetings-user?hl=en.

Reply via email to