hello ,everybody,
now i have a problem ,wish to get any help.
i used olap api to connection oracle9i release2's olap server,and
i am using follow code:
oracle.jdbc.OracleConnection conn = mConn.getConnection();
ExpressTransactionProvider tp = null;
ExpressDataProvider dp = null;
MdmMetadataProvider mp = null;
try{
//Creating a TransactionProvider step2
tp = new ExpressTransactionProvider();
//Create a DataProvider step3
dp = new ExpressDataProvider(conn, tp) ;
dp.initialize();
mp = (MdmMetadataProvider) dp.getDefaultMetadataProvider();
..........

when i complied these code ,no errors occur ,but run it,the following errors occur:
java.sql.SQLException: Io 쳣: Connection reset by peer: JVM_recv in socket input stream read
at oracle.jdbc.dbaccess.DBError.throwSqlExceptionDBEr ror.java:134)
at oracle.jdbc.dbaccess.DBError.throwSqlExceptionDBEr ror.java:179)
at oracle.jdbc.dbaccess.DBError.throwSqlExceptionDBEr ror.java:333)
at oracle.jdbc.driver.OracleStatement.executeNonQuery OracleStatement.java:2061)
at oracle.jdbc.driver.OracleStatement.doExecuteOther( OracleStatement.java:1940)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTi meoutOracleStateme
nt.java:2709)
at oracle.jdbc.driver.OraclePreparedStatement.execute Update(OraclePreparedStatement.java:589)
at oracle.jdbc.driver.OraclePreparedStatement.execute OraclePreparedStat
ement.java:656)
at oracle.express.idl.ExpressConnectionModule.Connect ionInterfaceStub.ge
tDefaultDatabase(ConnectionInterfaceStub.java:1162 )
at oracle.express.mdm.MdmMetadataProvider.<init>MdmMe tadataProvider.java:158)
at oracle.express.mdm.MdmMetadataProvider.<init>MdmMe tadataProvider.java:145)
at oracle.express.olapi.data.full.ExpressDataProvider .getDefaultMetadata
Provider(ExpressDataProvider.java:523)
at MdmTest.main(MdmTest.java:64)
java.lang.NullPointerException


and my oracle server is close after run that.
waitting for ur help
thx
stanley,china.