geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guglielmo.Licht...@instinet.com
Subject TranQL resource adapter crapping out
Date Tue, 29 Nov 2005 00:21:52 GMT
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(JDBCDriverMCF.java:79)
                 at 
org.tranql.connector.jdbc.JDBCDriverMCF.createManagedConnection(JDBCDriverMCF.java:73)
                 at 
org.apache.geronimo.connector.outbound.MCFConnectionInterceptor.getConnection(MCFConnectionInterceptor.java:41)
                 at 
org.apache.geronimo.connector.outbound.LocalXAResourceInsertionInterceptor.getConnection(LocalXAResourceInsertionInterceptor.java:41)
                 at 
org.apache.geronimo.connector.outbound.SinglePoolConnectionInterceptor.internalGetConnection(SinglePoolConnectionInterceptor.java:60)
                 at 
org.apache.geronimo.connector.outbound.AbstractSinglePoolConnectionInterceptor.getConnection(AbstractSinglePoolConnectionInterceptor.java:70)
                 at 
org.apache.geronimo.connector.outbound.TransactionEnlistingInterceptor.getConnection(TransactionEnlistingInterceptor.java:47)
                 at 
org.apache.geronimo.connector.outbound.TransactionCachingInterceptor.getConnection(TransactionCachingInterceptor.java:81)
                 at 
org.apache.geronimo.connector.outbound.ConnectionHandleInterceptor.getConnection(ConnectionHandleInterceptor.java:43)
                 at 
org.apache.geronimo.connector.outbound.TCCLInterceptor.getConnection(TCCLInterceptor.java:39)
                 at 
org.apache.geronimo.connector.outbound.ConnectionTrackingInterceptor.getConnection(ConnectionTrackingInterceptor.java:66)
                 at 
org.apache.geronimo.connector.outbound.AbstractConnectionManager.allocateConnection(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(ConnectorMethodInterceptor.java:53)
                 at 
$javax.sql.DataSource$$EnhancerByCGLIB$$c7bbac53.getConnection(<generated>)
                 at 
com.instinet.pet.businessmanagement.infrastructure.PersistenceManager.connection(PersistenceManager.java:413)
                 at 
com.instinet.pet.businessmanagement.infrastructure.PersistenceManager.preparedStatementForSelectForModelAndSqlIndex(PersistenceManager.java:1045)
                 at 
com.instinet.pet.businessmanagement.infrastructure.PersistenceManager.find(PersistenceManager.java:703)
                 at 
com.instinet.pet.businessmanagement.infrastructure.PersistenceManagerFactory$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.findByName(UserFactory.java:71)
                 at 
com.instinet.pet.businessmanagement.infrastructure.TransactionFactory.create(TransactionFactory.java:614)
                 at 
com.instinet.pet.businessmanagement.infrastructure.UserTransaction.begin(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.java: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(WebApplicationHandler.java:832)
                 at 
org.mortbay.jetty.servlet.JSR154Filter.doFilter(JSR154Filter.java:171)
                 at 
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:823)
                 at 
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.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(WebApplicationContext.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)


*****************************************************************
<<<Disclaimer>>>

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