Re: NullPointerException and DataSource
Perry did you fin out the answer to this i'm running into the same problem thanks chad java.sql.SQLException: Protocol violation at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:631) at oracle.jdbc.ttc7.O3log.receive2nd(O3log.java, Compiled Code) at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:214) at oracle.jdbc.driver.OracleConnection.(OracleConnection.java:142) at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja va:214) at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:193) at java.sql.DriverManager.getConnection(DriverManager.java:457) at java.sql.DriverManager.getConnection(DriverManager.java:137) at com.dumc.servlet.AddContact.doPost(AddContact.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java:211) at javax.servlet.http.HttpServlet.service(HttpServlet.java:309) at javax.servlet.http.HttpServlet.service(HttpServlet.java:336) at com.evermind._cxb._abe(Unknown Source) at com.evermind._cxb._uec(Unknown Source) at com.evermind._io._twc(Unknown Source) at com.evermind._io._gc(Unknown Source) at com.evermind._if.run(Unknown Source) --- Perry Hoekstra <[EMAIL PROTECTED]> wrote: > Greet the sun all: > > I am trying to execute a Oracle query using a data > source an I am > receiving the following NullPointerException: > > testCreateAuditLog(com.ingenix.hisit.subrotrack.test.audit.ejb.AuditLogTest)java.lang.NullPointerException > at > com.evermind.sql.OrionPooledDataSource._bsb(Unknown > Source) > at > com.evermind.sql.OrionPooledDataSource._brb(Unknown > Source) > at com.evermind._wp._pud(Unknown Source) > at com.evermind._wp._bl(Unknown Source) > at com.evermind._lo.createStatement(Unknown Source) > at > com.ingenix.hisit.subrotrack.audit.dao.AuditEventDAOImpl.generateAuditEventId(Unknown > > Source) > at > com.ingenix.hisit.subrotrack.test.SubroTestUtils.getAuditRawData(Unknown > > Source) > at > com.ingenix.hisit.subrotrack.test.audit.ejb.AuditLogTest.beginCreateAuditLog(Unknown > > Source) > at > org.apache.cactus.AbstractTestCase.callBeginMethod(AbstractTestCase.java:203) > at > org.apache.cactus.AbstractTestCase.runGenericTest(AbstractTestCase.java:404) > at > org.apache.cactus.ServletTestCase.runTest(ServletTestCase.java:130) > at > org.apache.cactus.AbstractTestCase.runBare(AbstractTestCase.java:371) > at > com.ingenix.hisit.subrotrack.test.audit.ejb.AuditLogTest.main(Unknown > > Source) > > If I do a toString on the database connection, I > see: > > [jdbc/OracleDS connection] > > I have tried both PreparedStatement and > CreateStatement. > > What other things can I try in order to debug this > problem? > > > -- > Perry Hoekstra > E-Commerce Architect > Talent Software Services > [EMAIL PROTECTED] > > __ Do You Yahoo!? Listen to your Yahoo! Mail messages from any phone. http://phone.yahoo.com
Protocol violation w/ Oracle
Does any noe know why i would get this error servlet to session bean to oracle db i do get a connection then when i try to create a preparedStatement this happens thanks chad java.sql.SQLException: Protocol violation at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:631) at oracle.jdbc.ttc7.O3log.receive2nd(O3log.java, Compiled Code) at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:214) at oracle.jdbc.driver.OracleConnection.(OracleConnection.java:142) at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja va:214) at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:193) at com.evermind.sql.DriverManagerDataSource.getConnection(Unknown Source ) at com.evermind.sql.DriverManagerConnectionPoolDataSource.getPooledConne ction(Unknown Source) at com.evermind.sql.OrionPooledDataSource._bgb(Unknown Source) at com.evermind._jb._bgb(Unknown Source) at com.evermind.sql.OrionPooledDataSource.getConnection(Unknown Source) at com.evermind.sql.DriverManagerXADataSource._bvc(Unknown Source) at com.evermind._vn._bl(Unknown Source) at com.evermind._lo.createStatement(Unknown Source) at com.evermind._lo.createStatement(Unknown Source) at com.dumc.servlet.AddContact.doPost(AddContact.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java:211) at javax.servlet.http.HttpServlet.service(HttpServlet.java:309) at javax.servlet.http.HttpServlet.service(HttpServlet.java:336) at com.evermind._cxb._abe(Unknown Source) at com.evermind._cxb._uec(Unknown Source) at com.evermind._io._twc(Unknown Source) at com.evermind._io._gc(Unknown Source) at com.evermind._if.run(Unknown Source) OrionCMTConnection not closed, check your code! LogicalDriverManagerXAConnection not closed, check your code! Created at: java.lang.Throwable: OrionCMTConnection created at com.evermind._wp.(Unknown Source) at com.evermind.sql.OrionCMTDataSource.getConnection(Unknown Source) at com.dumc.servlet.AddContact.doPost(AddContact.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java:211) at javax.servlet.http.HttpServlet.service(HttpServlet.java:309) at javax.servlet.http.HttpServlet.service(HttpServlet.java:336) at com.evermind._cxb._abe(Unknown Source) at com.evermind._cxb._uec(Unknown Source) at com.evermind._io._twc(Unknown Source) at com.evermind._io._gc(Unknown Source) at com.evermind._if.run(Unknown Source) __ Do You Yahoo!? Listen to your Yahoo! Mail messages from any phone. http://phone.yahoo.com
Re: Oracle deal
this is true it is basically orion 1.4.5 - Original Message - From: Bryan Young To: Orion-Interest Sent: Wednesday, June 06, 2001 1:10 PM Subject: Oracle deal I just read about Orion being used as the base code for their 9i app server. Does anyone know the specifics of the deal? Specifically I wanted to know what version of Orion they are using, and if there would be any benefit to future versions of Orion.
Re: CMP creation
in the same xml file ejb-jar.xml - Original Message - From: "Surendra Yadav" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Tuesday, May 29, 2001 7:48 AM Subject: CMP creation > Hi, > > I am new to Orion Server, while creating CMP bean in weblogic server we > need to specify the Table Name and the mapping of the bean attributes > to database table in an xml file. Can you please tell me in Orion where > we can speicfy the table name and mapping. > > Regards > Surendra > >