I have the same problem and have logged bug #414 against it. I find that the problem goes away if you set your transaction attributes to NotSupported. That may or may not be an option for you :-) It might help Magnus debug it if you attached your orion-ejb-jar.xml to the bug report too. Jeff > -----Original Message----- > From: Eddie [mailto:[EMAIL PROTECTED]] > Sent: Thursday, April 26, 2001 7:45 AM > To: Orion-Interest > Subject: Strange error after upgrade to 1.4.8 ? > > > Hmm, somethings are still not working well after the update > from 1.4.7 to > 1.4.8. > > After the upgrade I get the following error after using a > finder method with > CMP (ofcourse it worked before): > -------- > java.lang.InternalError: Was not in used mode > at > com.evermind.server.ejb.DataSourceConnection.release(Unknown > Source) > -------- > > The stange thing is the some parts of the application are > working properly > (parts that include database interaction). Neither do I > receive database > errors in my db log. > > Can someone explain me what the error mean and how to solve it ? > BTW: below is my datasourse is listed below, just as the > complete error: > > Eddie > > ----------- > <data-sources> > <data-source > class="com.evermind.sql.ConnectionDataSource" > name="Postgres datasource" > location="jdbc/postgresDS" > pooled-location="jdbc/postgresPooledDS" > xa-location="jdbc/xa/postgresXADS" > ejb-location="jdbc/postgresEJBDS" > schema="database-schemas/postgresql.xml" > url="jdbc:postgresql://localhost/wwwunweb5" > connection-driver="org.postgresql.Driver" > username="login" > password="password" > inactivity-timeout="30" > /> > -------- > com.evermind.server.rmi.OrionRemoteException: Transaction was > rolled back: > java.lang.InternalError: Was not in used mode > at > UserManager_StatelessSessionBeanWrapper5.getMembersFromAccount > OrderedBy(User > Manager_StatelessSessionBeanWrapper5.java:6291) > at > nl.unwired.sgs.web.smsmessage.doRequest(smsmessage.java:278) > at > nl.unwired.servlet.VelocityHttpServlet.doGet(VelocityHttpServl > et.java:129) > at > javax.servlet.http.HttpServlet.service(HttpServlet.java:195) > at > javax.servlet.http.HttpServlet.service(HttpServlet.java:309) > at > javax.servlet.http.HttpServlet.service(HttpServlet.java:336) > at com.evermind._iib._vfd(Unknown Source) > at com.evermind._iib._qjc(Unknown Source) > at com.evermind._kj._qbc(Unknown Source) > at com.evermind._kj._oa(Unknown Source) > at com.evermind._jw.run(Unknown Source) > > > > > ----- Original Message ----- > From: KirkYarina <[EMAIL PROTECTED]> > To: Orion-Interest <[EMAIL PROTECTED]> > Sent: Wednesday, April 25, 2001 4:12 PM > Subject: Re: Update to 1.4.8 gives strange table names after > deployment ??? > > > > Move (or link or copy) your orion-ejb-jar.xml under > META-INF, instead of > > the orion directory. This was mentioned on the list a > while back, but > > didn't seem to make it into changes.txt. > > > > It bit me, too.... > > > > Kirk Yarina > > > > At 01:12 PM 4/25/01 +0200, you wrote: > > >Great to see there is a new version of Orion, my compliments. > > > > > >I performed the upgrade through autoupdate.jar and redpoyed my > applications, > > >whereby I first removed the applications from the > application deployment > > >dir. > > > > > >The orion-ejb-jar-xml that Orion generates contains > incorrect table names > > >which were correct in 1.4.7, see below for the first part of the > > >orion-ejb-jar.xml file. It transforms table="sgsusr" to > > >:table="nl_unwired_sgs_um_User" which isn't correct I suppose. > > >Can someone please tell me what goes wrong, as I can't > access my database > > >like this ?? > > >BTW: The orion-application contains: autocreate-tables="false". > > > > > >Eddie > > > > > >--------my orion-ejb.jar.xml: > > ><?xml version="1.0"?> > > ><?xml version="1.0"?> > > ><!DOCTYPE orion-ejb-jar PUBLIC "-//Evermind//DTD > Enterprise JavaBeans 1.1 > > >runtime//EN" "http://www.orionserver.com/dtds/orion-ejb-jar.dtd"> > > > > > ><orion-ejb-jar deployment-version="1.4.8" > deployment-time="e4a8a4f467"> > > > <enterprise-beans> > > > <entity-deployment table="sgsusr" name="nl.unwired.sgs.um.User" > > >location="nl.unwired.sgs.um.User" data-source="jdbc/postgresEJBDS" > > >exclusive-write-access="false"> > > > > > > > > > > > >----------- The above is transformed to: > > > > > ><!DOCTYPE orion-ejb-jar PUBLIC "-//Evermind//DTD > Enterprise JavaBeans 1.1 > > >runtime//EN" "http://www.orionserver.com/dtds/orion-ejb-jar.dtd"> > > > > > ><orion-ejb-jar deployment-version="1.4.8" > deployment-time="e614c0c4f1"> > > > <enterprise-beans> > > > <entity-deployment name="nl.unwired.sgs.um.User" > > >location="nl.unwired.sgs.um.User" > wrapper="UserHome_EntityHomeWrapper8" > > >table="nl_unwired_sgs_um_User" data-source="jdbc/postgresEJBDS"> > > > > > > > >