David R Robison
Wed, 20 Dec 2006 07:23:39 -0800
Michele wrote:
Hi David, it seems that the client side factory for the persistent entries was invoked instead of its serverside counterpart. This happens if the Global.getEntryFactory() is invoked instead of ServerScope.getEntryFactory(). After a code review I could find a a place where this could occur: in Main.java. I now modified the code and commited in svn. Could you please test it and let us know ? In case it still fails, please send us some more details, particularly the configuration file for your wrapper. Regards Michele David R Robison wrote:I am getting a strange database error. My xmlBlaster runs fine for a long time then chokes with the following errors. Any ideas? David INFO | jvm 1 | 2006/12/15 02:21:48 | Dec 15, 2006 2:21:48 AM SEVERE 16-XmlBlaster.VSP.tcpListener RL10 org.xmlBlaster.Main newException: PANIC: Doing immediate shutdown caused by exception: XmlBlasterException serverSideException=false node=[vdot1] location=[JdbcManagerCommonTable.getEntries] INFO | jvm 1 | 2006/12/15 02:21:48 | java.lang.IllegalArgumentException: MethodName: The given methodName=history_ref is unknown INFO | jvm 1 | 2006/12/15 02:21:48 | stackTrace=java.lang.IllegalArgumentException: MethodName: The given methodName=history_ref is unknown INFO | jvm 1 | 2006/12/15 02:21:48 | at org.xmlBlaster.util.def.MethodName.toMethodName(MethodName.java:196) INFO | jvm 1 | 2006/12/15 02:21:48 | at org.xmlBlaster.client.queuemsg.ClientEntryFactory.createEntry(ClientEntryFactory.java:79) INFO | jvm 1 | 2006/12/15 02:21:48 | at org.xmlBlaster.util.queue.jdbc.JdbcManagerCommonTable.processResultSet(JdbcManagerCommonTable.java:1176) INFO | jvm 1 | 2006/12/15 02:21:48 | at org.xmlBlaster.util.queue.jdbc.JdbcManagerCommonTable.getEntries(JdbcManagerCommonTable.java:2007) INFO | jvm 1 | 2006/12/15 02:21:48 | at org.xmlBlaster.util.queue.jdbc.JdbcQueueCommonTablePlugin.peek(JdbcQueueCommonTablePlugin.java:576) INFO | jvm 1 | 2006/12/15 02:21:48 | at org.xmlBlaster.util.queue.cache.CacheQueueInterceptorPlugin.loadFromPersistence(CacheQueueInterceptorPlugin.java:1032) INFO | jvm 1 | 2006/12/15 02:21:48 | at org.xmlBlaster.util.queue.cache.CacheQueueInterceptorPlugin.put(CacheQueueInterceptorPlugin.java:536) INFO | jvm 1 | 2006/12/15 02:21:48 | at org.xmlBlaster.util.queue.cache.CacheQueueInterceptorPlugin.put(CacheQueueInterceptorPlugin.java:438) INFO | jvm 1 | 2006/12/15 02:21:48 | at org.xmlBlaster.engine.TopicHandler.publish(TopicHandler.java:612) INFO | jvm 1 | 2006/12/15 02:21:48 | at org.xmlBlaster.engine.RequestBroker.publish(RequestBroker.java:1526) INFO | jvm 1 | 2006/12/15 02:21:48 | at org.xmlBlaster.engine.RequestBroker.publish(RequestBroker.java:1303) INFO | jvm 1 | 2006/12/15 02:21:48 | at org.xmlBlaster.engine.RequestBroker.publish(RequestBroker.java:1297) INFO | jvm 1 | 2006/12/15 02:21:48 | at com.orci.xmlblaster.plugin.VSP.VSPPlugIn$DataThread.sendCAP(VSPPlugIn.java:648) INFO | jvm 1 | 2006/12/15 02:21:48 | at com.orci.xmlblaster.plugin.VSP.VSPPlugIn$DataThread.run(VSPPlugIn.java:302) INFO | jvm 1 | 2006/12/15 02:21:48 | errorCode=resource.db.unknown message=#exported An unknown error with the backend database using JDBC occurred -> http://www.xmlblaster.org/xmlBlaster/doc/requirements/admin.errorcodes.listing.html#resource.db.unknown INFO | jvm 1 | 2006/12/15 02:21:48 | at org.xmlBlaster.util.queue.jdbc.JdbcManagerCommonTable.getEntries(JdbcManagerCommonTable.java:2021) INFO | jvm 1 | 2006/12/15 02:21:48 | at org.xmlBlaster.util.queue.jdbc.JdbcQueueCommonTablePlugin.peek(JdbcQueueCommonTablePlugin.java:576) INFO | jvm 1 | 2006/12/15 02:21:48 | at org.xmlBlaster.util.queue.cache.CacheQueueInterceptorPlugin.loadFromPersistence(CacheQueueInterceptorPlugin.java:1032) INFO | jvm 1 | 2006/12/15 02:21:48 | at org.xmlBlaster.util.queue.cache.CacheQueueInterceptorPlugin.put(CacheQueueInterceptorPlugin.java:536) INFO | jvm 1 | 2006/12/15 02:21:48 | at org.xmlBlaster.util.queue.cache.CacheQueueInterceptorPlugin.put(CacheQueueInterceptorPlugin.java:438) INFO | jvm 1 | 2006/12/15 02:21:48 | at org.xmlBlaster.engine.TopicHandler.publish(TopicHandler.java:612) INFO | jvm 1 | 2006/12/15 02:21:48 | at org.xmlBlaster.engine.RequestBroker.publish(RequestBroker.java:1526) INFO | jvm 1 | 2006/12/15 02:21:48 | at org.xmlBlaster.engine.RequestBroker.publish(RequestBroker.java:1303) INFO | jvm 1 | 2006/12/15 02:21:48 | at org.xmlBlaster.engine.RequestBroker.publish(RequestBroker.java:1297) INFO | jvm 1 | 2006/12/15 02:21:48 | at com.orci.xmlblaster.plugin.VSP.VSPPlugIn$DataThread.sendCAP(VSPPlugIn.java:648) INFO | jvm 1 | 2006/12/15 02:21:48 | at com.orci.xmlblaster.plugin.VSP.VSPPlugIn$DataThread.run(VSPPlugIn.java:302) INFO | jvm 1 | 2006/12/15 02:21:48 | versionInfo=version=1.4,revision=exported,os.name=Windows 2003,os.version=5.2,java.vm.vendor=Sun Microsystems Inc.,java.vm.version=1.5.0_10-b03,os.arch=x86,build.timestamp=10/22/2006 05:49 PM,build.java.vendor=Sun Microsystems Inc.,build.java.version=1.4.2_06 INFO | jvm 1 | 2006/12/15 02:21:48 | errorCode description=http://www.xmlblaster.org/xmlBlaster/doc/requirements/admin.errorcodes.listing.html#resource.db.unknown INFO | jvm 1 | 2006/12/15 02:21:48 | INFO | jvm 1 | 2006/12/15 02:21:48 | errorCode=resource.db.unknown message=#exported An unknown error with the backend database using JDBC occurred -> http://www.xmlblaster.org/xmlBlaster/doc/requirements/admin.errorcodes.listing.html#resource.db.unknown : java.lang.IllegalArgumentException: MethodName: The given methodName=history_ref is unknown INFO | jvm 1 | 2006/12/15 02:21:48 | at org.xmlBlaster.util.queue.jdbc.JdbcManagerCommonTable.getEntries(JdbcManagerCommonTable.java:2021) INFO | jvm 1 | 2006/12/15 02:21:48 | at org.xmlBlaster.util.queue.jdbc.JdbcQueueCommonTablePlugin.peek(JdbcQueueCommonTablePlugin.java:576) INFO | jvm 1 | 2006/12/15 02:21:48 | at org.xmlBlaster.util.queue.cache.CacheQueueInterceptorPlugin.loadFromPersistence(CacheQueueInterceptorPlugin.java:1032) INFO | jvm 1 | 2006/12/15 02:21:48 | at org.xmlBlaster.util.queue.cache.CacheQueueInterceptorPlugin.put(CacheQueueInterceptorPlugin.java:536) INFO | jvm 1 | 2006/12/15 02:21:48 | at org.xmlBlaster.util.queue.cache.CacheQueueInterceptorPlugin.put(CacheQueueInterceptorPlugin.java:438) INFO | jvm 1 | 2006/12/15 02:21:48 | at org.xmlBlaster.engine.TopicHandler.publish(TopicHandler.java:612) INFO | jvm 1 | 2006/12/15 02:21:48 | at org.xmlBlaster.engine.RequestBroker.publish(RequestBroker.java:1526) INFO | jvm 1 | 2006/12/15 02:21:48 | at org.xmlBlaster.engine.RequestBroker.publish(RequestBroker.java:1303) INFO | jvm 1 | 2006/12/15 02:21:48 | at org.xmlBlaster.engine.RequestBroker.publish(RequestBroker.java:1297) INFO | jvm 1 | 2006/12/15 02:21:48 | at com.orci.xmlblaster.plugin.VSP.VSPPlugIn$DataThread.sendCAP(VSPPlugIn.java:648) INFO | jvm 1 | 2006/12/15 02:21:48 | at com.orci.xmlblaster.plugin.VSP.VSPPlugIn$DataThread.run(VSPPlugIn.java:302) INFO | jvm 1 | 2006/12/15 02:21:48 | Dec 15, 2006 2:21:48 AM SEVERE 16-XmlBlaster.VSP.tcpListener RL10 org.xmlBlaster.Main newException: errorCode=resource.db.unknown message=#exported An unknown error with the backend database using JDBC occurred -> http://www.xmlblaster.org/xmlBlaster/doc/requirements/admin.errorcodes.listing.html#resource.db.unknown : java.lang.IllegalArgumentException: MethodName: The given methodName=history_ref is unknown INFO | jvm 1 | 2006/12/15 02:21:48 | at org.xmlBlaster.util.queue.jdbc.JdbcManagerCommonTable.getEntries(JdbcManagerCommonTable.java:2021) INFO | jvm 1 | 2006/12/15 02:21:48 | at org.xmlBlaster.util.queue.jdbc.JdbcQueueCommonTablePlugin.peek(JdbcQueueCommonTablePlugin.java:576) INFO | jvm 1 | 2006/12/15 02:21:48 | at org.xmlBlaster.util.queue.cache.CacheQueueInterceptorPlugin.loadFromPersistence(CacheQueueInterceptorPlugin.java:1032) INFO | jvm 1 | 2006/12/15 02:21:48 | at org.xmlBlaster.util.queue.cache.CacheQueueInterceptorPlugin.put(CacheQueueInterceptorPlugin.java:536) INFO | jvm 1 | 2006/12/15 02:21:48 | at org.xmlBlaster.util.queue.cache.CacheQueueInterceptorPlugin.put(CacheQueueInterceptorPlugin.java:438) INFO | jvm 1 | 2006/12/15 02:21:48 | at org.xmlBlaster.engine.TopicHandler.publish(TopicHandler.java:612) INFO | jvm 1 | 2006/12/15 02:21:48 | at org.xmlBlaster.engine.RequestBroker.publish(RequestBroker.java:1526) INFO | jvm 1 | 2006/12/15 02:21:48 | at org.xmlBlaster.engine.RequestBroker.publish(RequestBroker.java:1303) INFO | jvm 1 | 2006/12/15 02:21:48 | at org.xmlBlaster.engine.RequestBroker.publish(RequestBroker.java:1297) INFO | jvm 1 | 2006/12/15 02:21:48 | at com.orci.xmlblaster.plugin.VSP.VSPPlugIn$DataThread.sendCAP(VSPPlugIn.java:648) INFO | jvm 1 | 2006/12/15 02:21:48 | at com.orci.xmlblaster.plugin.VSP.VSPPlugIn$DataThread.run(VSPPlugIn.java:302) INFO | jvm 1 | 2006/12/15 02:21:48 | STATUS | wrapper | 2006/12/15 02:21:51 | <-- Wrapper Stopped
-- David R Robison Open Roads Consulting, Inc. 708 S. Battlefield Blvd., Chesapeake, VA 23322 phone: (757) 546-3401 e-mail: [EMAIL PROTECTED] web: http://openroadsconsulting.com blog: http://therobe.blogspot.com book: http://www.xulonpress.com/bookstore/titles/1597816523.htm