geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevan Miller <kevan.mil...@gmail.com>
Subject Re: TranQL resource adapter crapping out
Date Tue, 29 Nov 2005 17:29:53 GMT
On 11/28/05, David Jencks <david_jencks@yahoo.com> wrote:
>
> Running m:co in your geronimo checkout should check out tranql
> connector, tranql, and openejb.


Actually, m:co and m:checkout will only checkout openejb (unless you've
updated your maven.xml). Might be a good idea to add a m:tranql goal...

Otherwise something related to this might work:
>
>
> cvs -d
> :pserver:anonymous@cvs.tranql.codehaus.org:/home/projects/tranql/scm co
> connector
>
> david jencks
>
>
> On Nov 28, 2005, at 4:21 PM, Guglielmo.Lichtner@instinet.com wrote:
>
> >
> > NPE.
> >
> > Is the source code for this available? (JDBCDriverMF.java, line 79)
> >
> > I am trying to set up an XA data source using the alpha version of
> > connector/j (driver)
> > for mysql (with some modifications, since it wasn't doing the right
> > thing.)
> >
> > java.lang.NullPointerException
> >   at
> > org.tranql.connector.jdbc.JDBCDriverMCF.getPhysicalConnection(JDBCDrive
> > rMCF.java:79)
> >   at
> > org.tranql.connector.jdbc.JDBCDriverMCF.createManagedConnection(JDBCDri
> > verMCF.java:73)
> >   at
> > org.apache.geronimo.connector.outbound.MCFConnectionInterceptor.getConn
> > ection(MCFConnectionInterceptor.java:41)
> >   at
> > org.apache.geronimo.connector.outbound.LocalXAResourceInsertionIntercep
> > tor.getConnection(LocalXAResourceInsertionInterceptor.java:41)
> >   at
> > org.apache.geronimo.connector.outbound.SinglePoolConnectionInterceptor.
> > internalGetConnection(SinglePoolConnectionInterceptor.java:60)
> >   at
> > org.apache.geronimo.connector.outbound.AbstractSinglePoolConnectionInte
> > rceptor.getConnection(AbstractSinglePoolConnectionInterceptor.java:70)
> >   at
> > org.apache.geronimo.connector.outbound.TransactionEnlistingInterceptor.
> > getConnection(TransactionEnlistingInterceptor.java:47)
> >   at
> > org.apache.geronimo.connector.outbound.TransactionCachingInterceptor.ge
> > tConnection(TransactionCachingInterceptor.java:81)
> >   at
> > org.apache.geronimo.connector.outbound.ConnectionHandleInterceptor.getC
> > onnection(ConnectionHandleInterceptor.java:43)
> >   at
> > org.apache.geronimo.connector.outbound.TCCLInterceptor.getConnection(TC
> > CLInterceptor.java:39)
> >   at
> > org.apache.geronimo.connector.outbound.ConnectionTrackingInterceptor.ge
> > tConnection(ConnectionTrackingInterceptor.java:66)
> >   at
> > org.apache.geronimo.connector.outbound.AbstractConnectionManager.alloca
> > teConnection(AbstractConnectionManager.java:57)
> >   at
> > org.tranql.connector.jdbc.DataSource.getConnection(DataSource.java:56)
> >   at
> > $javax.sql.DataSource$$FastClassByCGLIB$$6525cafd.invoke(<generated>)
> >   at
> > net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
> >   at
> > org.apache.geronimo.connector.ConnectorMethodInterceptor.intercept(Conn
> > ectorMethodInterceptor.java:53)
> >   at
> > $javax.sql.DataSource$$EnhancerByCGLIB$$c7bbac53.getConnection(<generat
> > ed>)
> >   at
> > com.instinet.pet.businessmanagement.infrastructure.PersistenceManager.c
> > onnection(PersistenceManager.java:413)
> >   at
> > com.instinet.pet.businessmanagement.infrastructure.PersistenceManager.p
> > reparedStatementForSelectForModelAndSqlIndex(PersistenceManager.java:
> > 1045)
> >   at
> > com.instinet.pet.businessmanagement.infrastructure.PersistenceManager.f
> > ind(PersistenceManager.java:703)
> >   at
> > com.instinet.pet.businessmanagement.infrastructure.PersistenceManagerFa
> > ctory$PersistenceManagerDecorator.find(PersistenceManagerFactory.java:
> > 145)
> >   at
> > com.instinet.pet.businessmanagement.infrastructure.Factory.find(Factory
> > .java:213)
> >   at
> > com.instinet.pet.businessmanagement.infrastructure.IdentifiableFactory.
> > find(IdentifiableFactory.java:431)
> >   at
> > com.instinet.pet.businessmanagement.businessobjects.user.UserFactory.fi
> > ndByName(UserFactory.java:71)
> >   at
> > com.instinet.pet.businessmanagement.infrastructure.TransactionFactory.c
> > reate(TransactionFactory.java:614)
> >   at
> > com.instinet.pet.businessmanagement.infrastructure.UserTransaction.begi
> > n(UserTransaction.java:139)
> >   at
> > org.apache.jsp.test3_jsp._jspService(org.apache.jsp.test3_jsp:74)
> >   at
> > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
> >   at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> >   at
> > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.j
> > ava:322)
> >   at
> > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
> > 291)
> >   at
> > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
> >   at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> >   at
> > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427)
> >   at
> > org.apache.geronimo.jetty.JettyServletHolder.handle(JettyServletHolder.
> > java:99)
> >   at
> > org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(We
> > bApplicationHandler.java:832)
> >   at
> > org.mortbay.jetty.servlet.JSR154Filter.doFilter(JSR154Filter.java:171)
> >   at
> > org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(We
> > bApplicationHandler.java:823)
> >   at
> > org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplication
> > Handler.java:473)
> >   at
> > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
> > 567)
> >   at
> > org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
> >   at
> > org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCo
> > ntext.java:635)
> >   at
> > org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
> >   at
> > org.mortbay.http.HttpServer.service(HttpServer.java:954)
> >   at
> > org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
> >   at
> > org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
> >   at
> > org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
> >   at
> > org.mortbay.http.SocketListener.handleConnection(SocketListener.java:
> > 244)
> >   at
> > org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
> >   at
> > org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
> >
> >
> >  *****************************************************************
> >  <<>>
> >
> >  In compliance with applicable rules and regulations, Instinet
> >  reviews and archives incoming and outgoing email communications,
> >  copies of which may be produced at the request of regulators.
> >  This message is intended only for the personal and confidential
> >  use of the recipients named above. If the reader of this email
> >  is not the intended recipient, you have received this email in
> >  error and any review, dissemination, distribution or copying is
> >  strictly prohibited. If you have received this email in error,
> >  please notify the sender immediately by return email and
> >  permanently delete the copy you received.
> >
> >  Instinet accepts no liability for any content contained in the
> >  email, or any errors or omissions arising as a result of email
> >  transmission. Any opinions contained in this email constitute
> >  the sender's best judgment at this time and are subject to change
> >  without notice. Instinet does not make recommendations of a
> >  particular security and the information contained in this email
> >  should not be considered as a recommendation, an offer or a
> >  solicitation of an offer to buy and sell securities.
> >
> >  *****************************************************************
>
>

Mime
View raw message