List Info

Thread: Deserializer issues...




Deserializer issues...
user name
2006-12-10 22:53:49
It would appear that there is an issue with the classloader used when attempting to deserialize a previous session.  The classpath used during application initialization scans the app's WEB-INF directory for resources, however this does not seem to be the case when connecting to the app a second time. ; The application starts up and runs fine, however on the second run, I get the following exception:

INFO [10 Dec 2006 14:39:15,509] org.red5.server.Standalone (SLF4JLog.java:118) - Startup done in: 6686 ms
ERROR [10 Dec 2006 14:39:33,278] org.red5.io.object.Deserializer (SLF4JLog.java:171) - Error loading class: com.voyeurspace.ria.server.util.Broadcast
java.lang.ClassNotFoundException: com.voyeurspace.ria.server.util.Broadcast
    ;    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged (Native Method)
      ;  at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
   ;     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
  ;      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java :268)
      ;  at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
  ;      at org.red5.io.object.Deserializer.newInstance(Deserializer.java:319)
        at org.red5.io.object.Deserializer.readObject(Deserializer.java :229)
        at org.red5.io.object.Deserializer.deserialize(Deserializer.java:93)
        at org.red5.io.object.Deserializer.readSimpleObject(Deserializer.java:296)
        at org.red5.io.object.Deserializer.readObject (Deserializer.java:235)
        at org.red5.io.object.Deserializer.deserialize(Deserializer.java:93)
        at org.red5.server.PersistableAttributeStore.deserialize(PersistableAttributeStore.java:111)
       ; at org.red5.server.persistence.FilePersistence.doLoad(FilePersistence.java:221)
        at org.red5.server.persistence.FilePersistence.load(FilePersistence.java:259)
    ;    at org.red5.server.PersistableAttributeStore.setStore (PersistableAttributeStore.java:122)
        at org.red5.server.Scope.setPersistenceClass(Scope.java:147)
     ;   at org.red5.server.Scope.addChildScope(Scope.java:159)
      ;  at org.red5.server.Scope.createChildScope (Scope.java:496)
        at org.red5.server.ScopeResolver.resolveScope(ScopeResolver.java:58)
        at org.red5.server.Context.resolveScope(Context.java:75)
  ;      at org.red5.server.net.rtmp.RTMPHandler.onInvoke (RTMPHandler.java:194)
     ;   at org.red5.server.net.rtmp.BaseRTMPHandler.messageReceived(BaseRTMPHandler.java:114)
        at org.red5.server.net.rtmp.RTMPMinaIoHandler.messageReceived(RTMPMinaIoHandler.java:84)
  ;      at org.apache.mina.common.support.AbstractIoFilterChain$2.messageReceived(AbstractIoFilterChain.java:189)
   ;     at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java :502)
        at org.apache.mina.common.support.AbstractIoFilterChain.access$1000(AbstractIoFilterChain.java:52)
      ;  at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java :777)
   ;     at org.red5.io.filter.ExecutorFilter.processEvent(ExecutorFilter.java:231)
        at org.red5.io.filter.ExecutorFilter$ProcessEventsRunnable.run(ExecutorFilter.java:279)
      ;  at java.util.concurrent.ThreadPoolExecutor$Worker.runTask (ThreadPoolExecutor.java:650)
      ;  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
     ;   at java.lang.Thread.run(Thread.java:613)
DEBUG [10 Dec 2006 14:39:33,281] com.voyeurspace.ria.server.Application (SLF4JLog.java:97) - Starting room: test-model


--
Be who you are and say what you feel, because those who mind don't matter and those who matter don't mind.
  - Dr. Seuss
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )