java.io.StreamCorruptedException XMLInterfaceForJDK13.openPackageFromStream(XMLInterfaceForJDK13.java:299)

[email protected] Thu, 22 Sep 2005 03:20:47 +0200
Newsgroups gmane.comp.java.enhydra.shark
Message-ID <[email protected]>
Hi all, is this error familiar to someone? I'm using shark as librabry with database implementation. I'm able to run JUnit tests without problem. But when i  run JBoss I get this error. Shark initialisation crashes. The same "Shark.conf" is used in both cases. With JUnit Shark.configure(xxx) works fine, why should not work with JBoss.

...
2005-09-21 17:28:04,500: StandardSecurityManager -> Security mode set to NORMAL_SECURITY
17:28:04,500 INFO  [STDOUT] Admin users are:[admin]
17:28:04,500 INFO  [STDOUT] 2005-09-21 17:28:04,500: SharkEngineManager -> Working with 'org.enhydra.shark.security.StandardSecurityManager' implementation of Security API
17:28:04,515 INFO  [STDOUT] 2005-09-21 17:28:04,515: SharkEngineManager -> Working with 'org.enhydra.shark.toolagent.ToolAgentFactoryImpl' implementation of ToolAgent API
17:28:04,547 INFO  [STDOUT] 2005-09-21 17:28:04,547: SharkEngineManager -> Working with 'org.enhydra.shark.transaction.DODSTransactionFactory' implementation of Transaction API
17:28:04,562 INFO  [STDOUT] 2005-09-21 17:28:04,562: SharkEngineManager -> Working with 'org.enhydra.shark.usergroup.DODSUserGroupManager' implementation of UserGroup API
17:28:04,594 INFO  [STDOUT] 2005-09-21 17:28:04,594: SharkEngineManager -> Working with 'org.enhydra.shark.usertransaction.DODSUserTransactionFactory' implementation of UserTransaction API
17:28:05,953 INFO  [STDOUT] 2005-09-21 17:28:05,953: SharkEngineManager -> Working with 'org.enhydra.shark.interoperability.WfXMLInteroperabilityImpl' implementation of WfEngineInteroperability API
17:28:06,078 INFO  [STDOUT] 2005-09-21 17:28:06,078: The repository EXTERNAL_PACKAGES_REPOSITORY is at D:\Apps\jboss-4.0.0\server\light\deploy\workflow\workflow.ear\workflow.war\WEB-INF\classes\conf
17:28:06,093 INFO  [STDOUT] CREATING T No1
17:28:06,093 INFO  [STDOUT] CREATING Repository T No1
17:28:06,109 INFO  [STDOUT] 2005-09-21 17:28:06,109: SharkUtilities -> synchronizing XPDL cache
17:28:06,156 INFO  [STDOUT] version:1118787956000
17:28:08,234 INFO  [STDOUT] RELEASE Repository T 1
17:28:08,234 INFO  [STDOUT] 2005-09-21 17:28:08,234: Problem while initializing caches !!!
17:28:08,234 INFO  [STDOUT] java.io.StreamCorruptedException: invalid stream header
17:28:08,234 INFO  [STDOUT] 	at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:737)
17:28:08,234 INFO  [STDOUT] 	at java.io.ObjectInputStream.<init>(ObjectInputStream.java:253)
17:28:08,234 INFO  [STDOUT] 	at org.enhydra.shark.xpdl.XMLUtil.deserialize(XMLUtil.java:1538)
17:28:08,234 INFO  [STDOUT] 	at org.enhydra.shark.xpdl.XMLInterfaceForJDK13.openPackageFromStream(XMLInterfaceForJDK13.java:299)
17:28:08,390 INFO  [STDOUT] 	at org.enhydra.shark.SharkUtilities.restorePackage(SharkUtilities.java:2044)
17:28:08,390 INFO  [STDOUT] 	at org.enhydra.shark.SharkUtilities.synchronizeXPDLCache(SharkUtilities.java:1984)
17:28:08,390 INFO  [STDOUT] 	at org.enhydra.shark.SharkUtilities.restorePackages(SharkUtilities.java:2028)
17:28:08,390 INFO  [STDOUT] 	at org.enhydra.shark.Shark.initCaches(Shark.java:375)
17:28:08,390 INFO  [STDOUT] 	at org.enhydra.shark.Shark.init(Shark.java:299)
17:28:08,390 INFO  [STDOUT] 	at org.enhydra.shark.Shark.configure(Shark.java:120)
17:28:08,390 INFO  [STDOUT] 	at com.taleo.workflow.ui.UISharkBean.getProcessInfo(UISharkBean.java:43)
17:28:08,390 INFO  [STDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
17:28:08,390 INFO  [STDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
17:28:08,390 INFO  [STDOUT] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
17:28:08,390 INFO  [STDOUT] 	at java.lang.reflect.Method.invoke(Method.java:324)
17:28:08,390 INFO  [STDOUT] 	at com.sun.faces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:79)
... 

Thank you,
Nelson
message-footer.txt (text/plain, 271 B)
--
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws