Re: Problem with OPENBASE DATABASE
Re: Problem with OPENBASE DATABASE
- Subject: Re: Problem with OPENBASE DATABASE
- From: Oscar Díaz Blanco <email@hidden>
- Date: Wed, 11 Dec 2002 11:44:56 +0100
Do you have your openbase database started?
I know is very obvious but maybe that's your problem.
I work with WO and OB and don't have any problem.
Oscar.
On miircoles, dici 11, 2002, at 10:49 Europe/Madrid, Khanh Tran wrote:
Dear all,
I am new to WebObjects. I am trying to finish the exercises in Getting
Started
Guide. But my programs fail when doing database tasks with Openbase
database
(comes with WO).The samples come with WO do not work, too. The
following
errors appear:
Exception occurred while handling request:
com.webobjects.foundation.NSForwardException
[java.lang.NullPointerException]
null
com.webobjects.foundation.NSForwardException for
java.lang.NullPointerException
at
com.openbase.net.OB_BufferedStream.close(OB_BufferedStream.java)
at java.net.SocketInputStream.close(SocketInputStream.java:193)
at
java.io.BufferedInputStream.close(BufferedInputStream.java:398)
at java.io.FilterInputStream.close(FilterInputStream.java:159)
at
com.openbase.net.OB_BufferedStream.close(OB_BufferedStream.java)
at com.openbase.net.OB_Connection.close(OB_Connection.java)
at
com.openbase.net.OB_NameServer.createOB_NameServer(OB_NameServer.java)
at com.openbase.net.OB_Database.getPortNumber(OB_Database.java)
at
com.openbase.net.OB_Database.createOB_Database(OB_Database.java)
at com.openbase.jdbc.ObConnection.<init>(ObConnection.java)
at com.openbase.jdbc.ObDriver.connect(ObDriver.java)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at
com.webobjects.jdbcadaptor.JDBCContext.connect(JDBCContext.java:191)
at
com.webobjects.jdbcadaptor.JDBCContext._tryConnect(JDBCContext.java:250
)
(more....)
Samples that don't support database work well.
Problems only occur with OPENBASE database. My programs work fine with
Oracle.
Please help me asap.
Thanks in advance.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.