Dan Rossi wrote:
Mondain wrote:
Dont worry with the jre thing, I noticed that I am getting it appended to my java.home also; it must not be a problem.

Paul


im still having compile issues here on both command line and eclipse compiles

   [java] [ERROR] 23681 main:( org.springframework.web.context.ContextLoader.error ) Context initialization failed
     [java] org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [org.red5.demos.fitc.Application] of bean with name 'web.handler' defined in ServletContext resource [/WEB-INF//red5-web.xml]; nested exception is java.lang.ClassNotFoundException: org.red5.demos.fitc.Application

this happens on the command line, even when removing the fitc application its still there lol.

in eclipse one of my applications is playing up, if i remove the persistance dir it will load fine, it then creates the dir and if i stop and then run red5 in debug mode in eclipse i get this

[DEBUG] 27137 main:( org.red5.server.adapter.ApplicationAdapter.debug ) appStart: [EMAIL PROTECTED] Depth = 1, Path = '/default', Name = 'tutorial']
[WARN] 27776 main:( org.mortbay.log.warn ) failed [EMAIL PROTECTED]
[WARN] 27778 main:( org.mortbay.log.warn ) failed [EMAIL PROTECTED]
[INFO] 27809 main:( org.mortbay.log.info ) Started SelectChannelConnector @ 0.0.0.0:5080
[WARN] 27811 main:( org.mortbay.log.warn ) failed [EMAIL PROTECTED]
[ERROR] 27815 main:( org.red5.server.JettyLoader.error ) Error loading jetty
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'web.scope' defined in ServletContext resource [/WEB-INF//red5-web.xml]: Invocation of init method failed; nested exception is java.lang.StringIndexOutOfBoundsException: String index out of range: -1
Caused by:
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.substring(String.java:1768)
    at org.red5.server.persistence.RamPersistence.getObjectPath(RamPersistence.java:71)
    at org.red5.server.persistence.FilePersistence.getObjectPath(FilePersistence.java:115)
    at org.red5.server.persistence.FilePersistence.doLoad(FilePersistence.java:215)
    at org.red5.server.persistence.FilePersistence.doLoad(FilePersistence.java:128)
    at org.red5.server.persistence.FilePersistence.load(FilePersistence.java:252)
    at org.red5.server.so.SharedObjectScope.<init>(SharedObjectScope.java:67)
    at org.red5.server.so.SharedObjectService.createSharedObject(SharedObjectService.java:96)
    at org.red5.server.adapter.ApplicationAdapter.createSharedObject(ApplicationAdapter.java:555)
    at CamApplication.appStart(CamApplication.java:54)


i cant work out whats wrong, i have shareobject setup, none of the other webapps seem to use shareobjects in the examples so im unsure if there is a big API change that ive missed to add in.


_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to