[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - JBoss datasource auto commit issue

2006-01-08 Thread oysteinpettersen
I am using the local-tx-datasource provided from jboss with hibernate and 
springframework. When using transactions the connection provided from jboss 
have autoCommit set to true. When using org.apache.commons.dbcp.BasicDataSource 
you can control this with defaultAutoCommit property. Can someone please 
explain what I am doing wrong? 

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Server 4.0 and client 3.2.1 error

2005-04-07 Thread oysteinpettersen
Hi. I have ear application deployed on jboss 3.2.1 (CVSTag=JBoss_3_2_1 
date=200305041533)

The client code for this application uses the jbossall-client.jar to connect 
and use the ejb's.

The problem is that when I deployed the application on jboss 4.0.1 
(CVSTag=JBoss_4_0_1_RC1 date=200411041143),
I get this following error when trying to use the ejb's:

java.lang.IllegalStateException: Failed to find method for 
hash:-4609096605735334920

When I replace the jbossall-client.jar in the client code with the on that 
comes with the 4.0.1 server it works fine. Shouldn't the old client jar still 
work?

I have tried to use the new jbossall-client.jar (4.0.1) on the old server, I 
then get the following error:

java.lang.IllegalStateException: METHOD IS NOT FOUND

To me this looks like the jbossall-client.jar is not backward compatable, am I 
wrong?

Hope somebody can shed some light on this.

I am including the stack trace of the 2 sections of this case.

java.lang.IllegalStateException: Failed to find method for 
hash:-4609096605735334920
at 
org.jboss.invocation.MarshalledInvocation.getMethod(MarshalledInvocation.java:367)
at org.jboss.ejb.Container.invoke(Container.java:876)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at 
org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:805)
at 
org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:406)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
at sun.rmi.transport.Transport$1.run(Transport.java:148)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
at 
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
at java.lang.Thread.run(Thread.java:534)
at 
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
at 
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133)
at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown 
Source)
at 
org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:135)
at 
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:87)
at 
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
at 
org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:45)
at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:173)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)
at $Proxy0.findAll(Unknown Source)
at 
com.emric.test.finer.toolkit.ejb.ProjectEJBTest.testFindAll(ProjectEJBTest.java:87)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:421)
at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:305)
at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:186)




java.lang.IllegalStateException: METHOD

[JBoss-user] [HTTPD, Servlets & JSP] - Classloading outside jboss

2004-02-16 Thread oysteinpettersen
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821696#3821696

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

I am trying to access a jar file used by a standard java application outside jboss 
from a war file running on jboss. 



Can somebody explain the best way to this?



Oystein


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user