[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - java.lang.IllegalStateException: Failed to find method for h

sinergy do-not-reply at jboss.com
Fri Mar 13 10:07:41 EDT 2009


I have a simple java client that is accessing a jboss oracle connection pool that I have setup.  I'm running into an exception using java.sql.Blob.

I'm testing the client within Eclipse and have jbossall-client.jar (from jboss-4.3.2GA/client) in the classpath.


After grabbing a blob from the database I use the following code:
is = blob.getBinaryStream();

blob.getLenght() throws the same exception.

I'd appreciate some help as I've been battling this for a few hours now and can't figure out the problem...

------------------------------------
java.lang.IllegalStateException: Failed to find method for hash:-4232490789266248516 (goes on for a while)at org.jboss.invocation.MarshalledInvocation.getMethod(MarshalledInvocation.java:407)
	at org.jboss.resource.adapter.jdbc.remote.WrapperDataSourceService.invoke(WrapperDataSourceService.java:190)
	at sun.reflect.GeneratedMethodAccessor85.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
	at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:818)
	at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:419)
	at sun.reflect.GeneratedMethodAccessor77.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
	at sun.rmi.transport.Transport$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.Transport.serviceCall(Unknown Source)
	at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
	at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
	at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
	at sun.rmi.server.UnicastRef.invoke(Unknown Source)
	at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)
	at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:133)
	at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:365)
	at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:197)
	at org.jboss.proxy.ClientMethodInterceptor.invoke(ClientMethodInterceptor.java:74)
	at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
	at $Proxy4.getBinaryStream(Unknown Source)
	at com.cgi.cdist.main.Distribute.SFTPSender(Distribute.java:115)
	at com.cgi.cdist.main.Distribute.main(Distribute.java:180)






View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4217871#4217871

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4217871



More information about the jboss-user mailing list