SQLServer 2000 edition
Hi...can anyone help me..
i am practicing in using jdbc driver for microsoft sql server 2000.
I have a problem, if i am trying at my lab that use microsoft sql server 2000 developer edition, it's success.
but if am trying at my home that use microsoft sql server 2000
personal edition. it's fail.
there is a differences between personal edition and developer edition?
the error was "The driver doesn't support for this version bla bla bla...."
Thanks...
Thanks for your reply.
After i'am searching for the solution.I have found the answer for my question, there is no differences between personal and developer edition in using JDBC driver.
The problem is in my sql server. After i re-install my sql server 2000 it's can work properly.
Thanks Again.
Similar Messages
-
Oracle 9.2.0.1.0 link to sqlserver 2000 tables
Hi!
I have a sqlserver 2000 running. I also have a oracle 9.2 server with
windows 2003 running.
I installed after oracle enterprise edition setup the oracle gateway
services for sqlserver on my oracle server.
Then I made some changes in the different oracle *.ora files. Then I
restarted the oracle service OracleOraHome92TNSListener.
My question:
is that all I have to do on my oracle server? have I anything to do on my
sqlserver 2000?
can my oracle server be at the same time my gateway to sqlserver 2000 or
must that be an other computer - sqlserver?
ThanksReally I do not have a direct answer for your question because I have not used the oracle gateway services for sqlserver but if refer you this document. I hope this can help in something and if you any link with documentation about the theme I am going to please you if you replay it.
Heterogeneous Connectivity Administrator's Guide Contents / Search / Index / PDF
http://download-east.oracle.com/docs/cd/B10501_01/server.920/a96544.pdf
Joel Pérez -
Problem in Accession inner join with [Microsoft][SQLServer 2000 Driver
Hi
Can you tell me what can be cause my sql statement is correct gives result but
if i used below statement in my JSP ,cause error
1)
ps1=connection.prepareStatement("select RQM_IN_RQSTN_ID_PK,RQD_IN_ITM_ID_FKPK,RQD_VC_ITM_DSCRPTN,RQD_IN_STTS_ID_FK,C.SMT_VC_STTS_NM,a.RQM_DT_PRPSD_DLVRY_DT"+
"from PAS_RQM_RQSTN_MSTR a "+
"inner join PAS_RQD_RQSTN_DTLS b on a.RQM_IN_RQSTN_ID_PK = b.RQD_IN_RQSTN_ID_FKPK and RQD_IN_STTS_ID_FK = 4"+
"INNER JOIN PAS_SMT_STTS_MSTR C ON C.SMT_IN_STTS_ID_PK=B.RQD_IN_STTS_ID_FK" +
"where a.RQM_VC_DTRTMNT_INVLV='Technology' ");
2) Error Generate
java.sql.SQLException
[Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Line 1: Incorrect syntax near 'a'.
What can be the cause
Thanksps1=connection.prepareStatement("select
RQM_IN_RQSTN_ID_PK,RQD_IN_ITM_ID_FKPK,RQD_VC_ITM_DSCRP
TN,RQD_IN_STTS_ID_FK,C.SMT_VC_STTS_NM,a.RQM_DT_PRPSD_D
LVRY_DT"+
"from PAS_RQM_RQSTN_MSTR a "+
"inner join PAS_RQD_RQSTN_DTLS b on
a.RQM_IN_RQSTN_ID_PK = b.RQD_IN_RQSTN_ID_FKPK and
RQD_IN_STTS_ID_FK = 4"+
"INNER JOIN PAS_SMT_STTS_MSTR C ON
C.SMT_IN_STTS_ID_PK=B.RQD_IN_STTS_ID_FK" +
"where a.RQM_VC_DTRTMNT_INVLV='Technology' ");This is a problem due to not providing spaces where they are needed. See the places where I have highlighted.
A better way is to generate the String first [use StringBuffer as a good practice for appending instead of String "+"] and print it out to check if it is correct.
***Annie*** -
Anyone using ms sqlserver standard edition with XI 3.0
wondering if anyone is successfully using ms sqlserver standard edition (not enterprise edition) with XI 3.0. I would like to set up a dev/test XI system and the standard sqlserver edition is less expensive than enterprise edition. I would like to confirm that it works ok first.
thanks-Henry,
I haven't tried but I think it will be successful with mssql server standard edition also. The following link gives the key difference between standard and enterprise edition.
http://www.databasejournal.com/img/RS_servereditions_code.html
Best of luck!
regards,
Felix -
Error using SQLServer 2000 in Weblogic 8.1
Hi,
I am trying to use SQLServer for my Entity Beans in Weblogic 8.1.
When I use the default PointBase database, my project deploys fine.
However, when I create a new domain for using SQLServer 2000 and try
to use the new data source for SQL Server 2000, I get the following
error when I try to deploy my entity beans:
Unable to deploy EJB: ProjItem from ProjectPlannerProj.jar:
[EJB:010102]Error encountered while attempting to create Default DBMS
Table: 'projitem'. Error Text: '[Microsoft][SQLServer 2000 Driver for
JDBC][SQLServer]Incorrect syntax near the keyword 'End'.'.
Can anybody tell me why I get this error with SQLServer 2000 and not
with PointBase database?
Thanks,
PrabPrabjot Jaaj wrote:
HI,
Here is the output from the JDBC logging.
Please let me know if you have any ideas.No, sorry. You need to open an official support case.
Joe
>
Thanks,
Prab
JDBC log stream started at Sat Oct 02 01:34:05 EDT 2004
DriverManager.initialize: jdbc.drivers = null
JDBC DriverManager initialized
registerDriver: driver[className=com.pointbase.jdbc.jdbcUniversalDriver,com.pointbase.jdbc.jdbcUniversalDriver@12ecba8]
DriverManager.getDriver("jdbc:pointbase:server://localhost:9093/workshop")
trying driver[className=com.pointbase.jdbc.jdbcUniversalDriver,com.pointbase.jdbc.jdbcUniversalDriver@12ecba8]
registerDriver: driver[className=com.pointbase.jdbc.jdbcDriver,com.pointbase.jdbc.jdbcDriver@10eaeda]
registerDriver: driver[className=com.pointbase.net.netJDBCDriver,com.pointbase.net.netJDBCDriver@a06e8d]
registerDriver: driver[className=com.pointbase.jdbc.jdbcEmbeddedDriver,com.pointbase.jdbc.jdbcEmbeddedDriver@1217fef]
getDriver returning driver[className=com.pointbase.jdbc.jdbcUniversalDriver,com.pointbase.jdbc.jdbcUniversalDriver@12ecba8]
DriverManager.getDriver("jdbc:pointbase:server://localhost:9093/workshop")
trying driver[className=com.pointbase.jdbc.jdbcUniversalDriver,com.pointbase.jdbc.jdbcUniversalDriver@12ecba8]
getDriver returning driver[className=com.pointbase.jdbc.jdbcUniversalDriver,com.pointbase.jdbc.jdbcUniversalDriver@12ecba8]
DriverManager.getDriver("jdbc:pointbase:server://localhost:9093/workshop")
trying driver[className=com.pointbase.jdbc.jdbcUniversalDriver,com.pointbase.jdbc.jdbcUniversalDriver@12ecba8]
getDriver returning driver[className=com.pointbase.jdbc.jdbcUniversalDriver,com.pointbase.jdbc.jdbcUniversalDriver@12ecba8]
SQLException: SQLState(HY000) vendor code(20001)
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]xa_open (0) returns -3
at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)
at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)
at com.microsoft.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(Unknown Source)
at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
at com.microsoft.jdbc.sqlserver.SQLServerImplStatement.getNextResultType(Unknown Source)
at com.microsoft.jdbc.base.BaseStatement.commonTransitionToState(Unknown Source)
at com.microsoft.jdbc.base.BaseStatement.postImplExecute(Unknown Source)
at com.microsoft.jdbc.base.BasePreparedStatement.postImplExecute(Unknown Source)
at com.microsoft.jdbc.base.BaseStatement.commonExecute(Unknown Source)
at com.microsoft.jdbc.base.BaseStatement.executeUpdateInternal(Unknown Source)
at com.microsoft.jdbc.base.BasePreparedStatement.executeUpdate(Unknown Source)
at com.microsoft.jdbcx.sqlserver.SQLServerImplXAResource.executeXaRpc(Unknown Source)
at com.microsoft.jdbcx.sqlserver.SQLServerImplXAResource.executeXaRpc(Unknown Source)
at com.microsoft.jdbcx.sqlserver.SQLServerImplXAResource.open(Unknown Source)
at com.microsoft.jdbcx.base.BaseXAConnection.<init>(Unknown Source)
at com.microsoft.jdbcx.base.BaseXADataSource.getXAConnection(Unknown Source)
at com.microsoft.jdbcx.sqlserver.SQLServerDataSource.getXAConnection(Unknown Source)
at weblogic.jdbc.common.internal.XAConnectionEnvFactory.makeConnection(XAConnectionEnvFactory.java:328)
at weblogic.jdbc.common.internal.XAConnectionEnvFactory.createResource(XAConnectionEnvFactory.java:83)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1145)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1079)
at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:171)
at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1001)
at weblogic.jdbc.common.internal.ConnectionPool.start(ConnectionPool.java:142)
at weblogic.jdbc.common.internal.ConnectionPoolManager.createAndStartPool(ConnectionPoolManager.java:298)
at weblogic.jdbc.common.internal.JDBCService.addDeployment(JDBCService.java:180)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:331)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:591)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:569)
at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:241)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:731)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:710)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:484)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:985)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:943)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:946)
at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:481)
at weblogic.management.configuration.ServerMBean_Stub.updateDeployments(ServerMBean_Stub.java:7351)
at weblogic.management.deploy.slave.SlaveDeployer.updateServerDeployments(SlaveDeployer.java:1304)
at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:347)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:966)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:361)
at weblogic.Server.main(Server.java:32)
registerDriver: driver[className=com.microsoft.jdbc.sqlserver.SQLServerDriver,com.microsoft.jdbc.sqlserver.SQLServerDriver@18edf3c]
DriverManager.getDriver("jdbc:microsoft:sqlserver://localhost:1433")
trying driver[className=com.pointbase.jdbc.jdbcUniversalDriver,com.pointbase.jdbc.jdbcUniversalDriver@12ecba8]
trying driver[className=com.pointbase.jdbc.jdbcDriver,com.pointbase.jdbc.jdbcDriver@10eaeda]
trying driver[className=com.pointbase.net.netJDBCDriver,com.pointbase.net.netJDBCDriver@a06e8d]
trying driver[className=com.pointbase.jdbc.jdbcEmbeddedDriver,com.pointbase.jdbc.jdbcEmbeddedDriver@1217fef]
trying driver[className=com.microsoft.jdbc.sqlserver.SQLServerDriver,com.microsoft.jdbc.sqlserver.SQLServerDriver@18edf3c]
getDriver returning driver[className=com.microsoft.jdbc.sqlserver.SQLServerDriver,com.microsoft.jdbc.sqlserver.SQLServerDriver@18edf3c]
DriverManager.getDriver("jdbc:pointbase:server://localhost:9093/workshop")
trying driver[className=com.pointbase.jdbc.jdbcUniversalDriver,com.pointbase.jdbc.jdbcUniversalDriver@12ecba8]
getDriver returning driver[className=com.pointbase.jdbc.jdbcUniversalDriver,com.pointbase.jdbc.jdbcUniversalDriver@12ecba8]
registerDriver: driver[className=weblogic.jdbc.jts.Driver,weblogic.jdbc.jts.Driver@60e78]
registerDriver: driver[className=weblogic.jdbc.pool.Driver,weblogic.jdbc.pool.Driver@7db7d]
SQLException: SQLState(ZD004) vendor code(15006)
java.sql.SQLException: Invalid table name "WLI_PROCESS_PROCESSED_EVENT" specified at position 14.
at com.pointbase.net.netJDBCPrimitives.handleResponse(Unknown Source)
at com.pointbase.net.netJDBCPrimitives.handleJDBCObjectResponse(Unknown Source)
at com.pointbase.net.netJDBCStatement.executeQuery(Unknown Source)
at weblogic.jdbc.wrapper.Statement.executeQuery(Statement.java:345)
at com.bea.wli.management.archiving.ArchUtil.checkSP2SP3Migration(ArchUtil.java:110)
at com.bea.wli.management.BPMComponent.initializeTracking(BPMComponent.java:543)
at com.bea.wli.management.BPMComponent.initManaged(BPMComponent.java:98)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.bea.wli.init.BPMStartupShutdown.invoke(BPMStartupShutdown.java:410)
at com.bea.wli.init.BPMStartupShutdown.startup(BPMStartupShutdown.java:278)
at com.bea.wli.init.BPMStartup.main(BPMStartup.java:23)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at weblogic.t3.srvr.StartupClassService.invokeMain(StartupClassService.java:229)
at weblogic.t3.srvr.StartupClassService.invokeClass(StartupClassService.java:160)
at weblogic.t3.srvr.StartupClassService.access$000(StartupClassService.java:36)
at weblogic.t3.srvr.StartupClassService$1.run(StartupClassService.java:121)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.t3.srvr.StartupClassService.invokeStartupClass(StartupClassService.java:116)
at weblogic.t3.srvr.StartupClassService.addDeployment(StartupClassService.java:88)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:331)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:591)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:569)
at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:241)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:731)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:710)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:484)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:985)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:943)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:946)
at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:481)
at weblogic.management.configuration.ServerMBean_Stub.updateDeployments(ServerMBean_Stub.java:7351)
at weblogic.management.deploy.slave.SlaveDeployer.updateServerDeployments(SlaveDeployer.java:1304)
at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:347)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:966)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:361)
at weblogic.Server.main(Server.java:32)
SQLException: SQLState(ZD004) vendor code(15006)
java.sql.SQLException: Invalid table name "WLI_WORKLIST_ARCHIVING_SP2SP3" specified at position 20.
at com.pointbase.net.netJDBCPrimitives.handleResponse(Unknown Source)
at com.pointbase.net.netJDBCPrimitives.handleJDBCObjectResponse(Unknown Source)
at com.pointbase.net.netJDBCStatement.executeQuery(Unknown Source)
at weblogic.jdbc.wrapper.Statement.executeQuery(Statement.java:345)
at com.bea.wli.worklist.beans.session.RemoteWorklistManagerBean.migrateFromSP2ToSP3(RemoteWorklistManagerBean.java:4641)
at com.bea.wli.worklist.beans.session.RemoteWorklistManagerBean_us8t1c_EOImpl.migrateFromSP2ToSP3(RemoteWorklistManagerBean_us8t1c_EOImpl.java:2276)
at com.bea.wli.worklist.WorklistSetup.initAfterManaged(WorklistSetup.java:207)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.bea.wli.init.BPMStartupShutdown.invoke(BPMStartupShutdown.java:410)
at com.bea.wli.init.BPMStartupShutdown.startupAfterActivation(BPMStartupShutdown.java:294)
at com.bea.wli.init.BPMStartupAfterActivation.main(BPMStartupAfterActivation.java:25)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at weblogic.t3.srvr.StartupClassService.invokeMain(StartupClassService.java:229)
at weblogic.t3.srvr.StartupClassService.invokeClass(StartupClassService.java:160)
at weblogic.t3.srvr.StartupClassService.access$000(StartupClassService.java:36)
at weblogic.t3.srvr.StartupClassService$1.run(StartupClassService.java:121)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.t3.srvr.StartupClassService.invokeStartupClass(StartupClassService.java:116)
at weblogic.t3.srvr.PostDeploymentStartupService.resume(PostDeploymentStartupService.java:63)
at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:966)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:361)
at weblogic.Server.main(Server.java:32)
SQLException: SQLState(42S02) vendor code(208)
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Invalid object name 'projitem'.
at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)
at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)
at com.microsoft.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(Unknown Source)
at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
at com.microsoft.jdbc.sqlserver.tds.TDSCursorRequest.openCursor(Unknown Source)
at com.microsoft.jdbc.sqlserver.SQLServerImplStatement.execute(Unknown Source)
at com.microsoft.jdbc.base.BaseStatement.commonExecute(Unknown Source)
at com.microsoft.jdbc.base.BaseStatement.executeQueryInternal(Unknown Source)
at com.microsoft.jdbc.base.BaseStatement.executeQuery(Unknown Source)
at weblogic.jdbc.wrapper.Statement.executeQuery(Statement.java:345)
at weblogic.ejb20.utils.TableVerifierSqlQuery.isTableCreatedByContainer(TableVerifierSqlQuery.java:203)
at weblogic.ejb20.utils.TableVerifier.verifyOrCreateOrAlterTable(TableVerifier.java:119)
at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.verifyTablesExist(RDBMSPersistenceManager.java:1021)
at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.setup(RDBMSPersistenceManager.java:201)
at weblogic.ejb20.manager.BaseEntityManager.setupPM(BaseEntityManager.java:253)
at weblogic.ejb20.manager.BaseEntityManager.setup(BaseEntityManager.java:210)
at weblogic.ejb20.manager.DBManager.setup(DBManager.java:162)
at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:1057)
at weblogic.ejb20.deployer.EJBDeployer.activate(EJBDeployer.java:1362)
at weblogic.ejb20.deployer.EJBModule.activate(EJBModule.java:631)
at weblogic.j2ee.J2EEApplicationContainer.activateModule(J2EEApplicationContainer.java:3274)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2173)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2146)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2434)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2352)
at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2136)
at weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(SlaveDeployer.java:2235)
at weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDeployer.java:2130)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2315)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:866)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:594)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:508)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
SQLException: SQLState(HY000) vendor code(16945)
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]The cursor was not declared.
at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)
at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)
at com.microsoft.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(Unknown Source)
at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
at com.microsoft.jdbc.sqlserver.tds.TDSCursorRequest.openCursor(Unknown Source)
at com.microsoft.jdbc.sqlserver.SQLServerImplStatement.execute(Unknown Source)
at com.microsoft.jdbc.base.BaseStatement.commonExecute(Unknown Source)
at com.microsoft.jdbc.base.BaseStatement.executeQueryInternal(Unknown Source)
at com.microsoft.jdbc.base.BaseStatement.executeQuery(Unknown Source)
at weblogic.jdbc.wrapper.Statement.executeQuery(Statement.java:345)
at weblogic.ejb20.utils.TableVerifierSqlQuery.isTableCreatedByContainer(TableVerifierSqlQuery.java:203)
at weblogic.ejb20.utils.TableVerifier.verifyOrCreateOrAlterTable(TableVerifier.java:119)
at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.verifyTablesExist(RDBMSPersistenceManager.java:1021)
at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.setup(RDBMSPersistenceManager.java:201)
at weblogic.ejb20.manager.BaseEntityManager.setupPM(BaseEntityManager.java:253)
at weblogic.ejb20.manager.BaseEntityManager.setup(BaseEntityManager.java:210)
at weblogic.ejb20.manager.DBManager.setup(DBManager.java:162)
at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:1057)
at weblogic.ejb20.deployer.EJBDeployer.activate(EJBDeployer.java:1362)
at weblogic.ejb20.deployer.EJBModule.activate(EJBModule.java:631)
at weblogic.j2ee.J2EEApplicationContainer.activateModule(J2EEApplicationContainer.java:3274)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2173)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2146)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2434)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2352)
at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2136)
at weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(SlaveDeployer.java:2235)
at weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDeployer.java:2130)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2315)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:866)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:594)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:508)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
SQLException: SQLState(HY000) vendor code(156) -
Hi,
I have JHS 9.0.5.1.9, Jdeveloper 9.0.5.1 and RDBMS - SQLServer 2000, MS SQLServer 2000 jdbc driver sp2 (SelectMethod=cursor).
When I try update recorods - errors: JBO-26080: Error while selecting entity for ... .
Cause - FOR UPDATE cannot be specified on Read Only cursor.
Setting LockTrailer to blank or "and 1=1" didn't help.
jbo.323.compatible and jbo.903.compatible - didn't help.
Should JHS (bc4j) work with MS SQLServer ?Yes, that is possible. See the JDeveloper online help. Do a full-text search for "non-Oracle datasources" and you will find a topic about Business Components for non-Oracle or foreign datasources.
This is regardless of using JHeadstart or not, it is ADF Business Components (BC4J) functionality. You should be able to try it out using the BC4J tester (right-click your application module and choose Test).
If you have further questions about this topic, the best discussion forum is probably http://otn.oracle.com/discussionforums/jdev.html .
Hope this helps,
Sandra Muller
JHeadstart Team -
Performance Problem, RPC Call auf SQLServer 2000
Hi,
we have a performance problem with SQLServer 2000. We use Bea WLS 6.1, SQLServer
2000, and JDBC Driver mssqlserver4v65.jar from Bea.
we use this for performance optimization as in Documetation at
"http://www.datadirect-technologies.com/download/docs/jdbc/Jdbcref/jdbcdesign.html"
case 2
Stored Procedure can be optimized to use a server-side RPC. Because the application
calls the procedure by name and the argument values are already encoded, the load
on the database server is less
CallableStatement cstmt = conn.prepareCall ("Call getCustName (?)");
cstmt.setLong (1,12345);
ResultSet rs = cstmt.executeQuery();
But the checking in the SQlServer 2000 with SQL Profiler don't show the use of
RPC Call.
I can test the different from Query Analyser:
exec IF_GetBueroStatistik 1 -> SQLProfiler: SQL:BatchCompleted
{call IF_GetBueroStatistik(1)} -> SQlProfiler: RPC:Completed
But the Call from Bea Aplication make in SQlProfiler alwasy SQl:BatchCompleted.
The RPC ist faster from the Batch call.
is that a bug in the driver implementation?
can any help me with a solution or workaround?
thanks HalimHi,
thank you very much Joe.
Halim.
Joseph Weinstein <[email protected]> wrote:
>
>
Halim wrote:
Hi,
we have a performance problem with SQLServer 2000. We use Bea WLS 6.1,SQLServer
2000, and JDBC Driver mssqlserver4v65.jar from Bea.You shouldn't be using the 6.5 version of the driver anyway. The 7.0
version is better,
but what you are seeing is that our driver does send fresh SQL for PreparedStatements,
which is not as fast as using the RPC protocol. It's not a bug, but it
is a feature we didn't
implement.
You should probably download and use the free driver from MS. It does
implement
the procedure protocol.
Joe
we use this for performance optimization as in Documetation at
"http://www.datadirect-technologies.com/download/docs/jdbc/Jdbcref/jdbcdesign.html"
case 2
Stored Procedure can be optimized to use a server-side RPC. Becausethe application
calls the procedure by name and the argument values are already encoded,the load
on the database server is less
CallableStatement cstmt = conn.prepareCall ("Call getCustName (?)");
cstmt.setLong (1,12345);
ResultSet rs = cstmt.executeQuery();
But the checking in the SQlServer 2000 with SQL Profiler don't showthe use of
RPC Call.
I can test the different from Query Analyser:
exec IF_GetBueroStatistik 1 -> SQLProfiler: SQL:BatchCompleted
{call IF_GetBueroStatistik(1)} -> SQlProfiler: RPC:Completed
But the Call from Bea Aplication make in SQlProfiler alwasy SQl:BatchCompleted.
The RPC ist faster from the Batch call.
is that a bug in the driver implementation?
can any help me with a solution or workaround?
thanks Halim -
Oracle to sqlserver 2000 connection
Hi
I recently made a connection from oracle9i (solrais 10) to sql server 2000(V 8.0).
I'm encountering following issue, if someone could help me that would really great.
SQL Error: ORA-28536: error in processing Heterogeneous Services initialization parameters
ORA-28508: invalid value TITANSTAGE for Heterogeneous Services initialization parameter HS_DB_NAME
ORA-02063: preceding 2 lines from TITANSTAGE
28536. 00000 - "error in processing Heterogeneous Services initialization parameters"
*Cause: An error described by a subsequent error message
prevented successful processing of Heterogeneous Services
initialization parameters from the ORACLE server data dictionary.
*Action: Check server data dictionary views HS_CLASS_INIT, HS_INST_INIT, and
HS_ALL_INITS. Look for conditions which could produce
the error identified in the error message immediately
following this one.
Below is the listener.ora
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = shark)(PORT = 1521))
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = shark)(PORT = 1523))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = hsmsql)
(ORACLE_HOME = /z01/app/oracle/product/9.2.0.7)
(PROGRAM = hsodbc)
(SID_DESC =
(PROGRAM = hsodbc)
(ORACLE_HOME = /z01/app/oracle/product/9.2.0.7)
(SID_NAME = ititanstage)
Tnsnames.ora
hstitanstage=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(PROTOCOL = TCP)
(HOST = 135.63.14.54)
(PORT = 1521)
(CONNECT_DATA =
(SID =ititanstage)
(HS=)
Value from initititanstage.ora
# This is a sample agent init file that contains the HS parameters that are
# needed for an ODBC Agent.
# HS init parameters
HS_FDS_CONNECT_INFO = titan
HS_DB_NAME = TITANSTAGE
#HS_DB_DOMAIN= 10.32.130.52
#HS_FDS_TRACE_LEVEL = 4
HS_FDS_SHAREABLE_NAME=/usr/openlink/lib/libiodbc.so
HS_FDS_TRACE_FILE_NAME = /tmp/HSODBC/iniths9i.trc
#HS_OPEN_CURSORS=2
# ODBC specific environment variables
set ODBCINSTINI=/usr/openlink/bin/odbcinst.ini
set ODBCINI=/usr/openlink/bin/odbc.ini
# Environment variables required for the non-Oracle system
#set <envvar>=<value>
set OPENLINKINI=/usr/openlink/bin/openlink.ini
set FREETDSCONF=/usr/openlink/bin/freetds.conf
set OPL_LICENSE_DIR=/usr/openlink/bin
set LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/openlink/lib
set PATH=$PATH:/usr/openlink/bin
odbc.ini
[titan]
Driver = /usr/openlink/lib/sql_mt_lt.so
ServerType = SQLServer 2000
Username = reader
Password = reader
Database = titanstage
Options = -H 135.63.14.153 -P 1433 -V 8.0
FetchBufferSize = 99
ReadOnly = no
DeferLongFetch = no
JetFix = no
Description = Titanstage SQLServer 2000 Lite ConnectionIts good to you,
I am having a similar problem: I get ORA-28508 from oracle gateway. When I try to connect mssql server from sqlplus.
Everything goes fine when I connect on port 1433. So I think the root of my problem is that I specify the port number in the wrong way:
HS_FDS_CONNECT_INFO="address='hostname/instancename' port='1106'"
If your problem was similar or the same, then you could help me by by posting your solution.
Cheers,
Adam Balogh
DBA -
Creating Oracle Obj Model hangs - SQLServer 2000 to Oracle9i
Migration Workbench process appears to hang during "Mapping Priomary Keys" while creating Oracle Object Model. I am migrating SQLServer 2000 database to Oracle 9i. All on one single PC using Windows 2000 server. I downloaded latest SQLServer 2000 plugin and I have .NET Framework installed which inturn installs MDAC 2.7 (supposed have latest ODBC driver). ODBC driver for SQLServer 2000 version is : 2000.81.7713.00
Following is the info in Error.log file I have under %ORACLE_HOME%\omwb\log directory.
ERROR.LOG File Starts here
=================================================================================
** Oracle Migration Workbench
** Release 2.0.2.0.0 Production
** ( Build 20011121 )
** ORACLE_HOME: D:\Oracle\Ora91
** user language: en
** user region: US
** user timezone: PST
** file encoding: Cp1252
** java version: 1.1.8.10
** java vendor: Oracle Corporation
** o.s. arch: x86
** o.s. name: Windows NT
** o.s. version: 5.0
** Classpath:
D:\Oracle\Ora91\Omwb\olite\Oljdk11.jar;D:\Oracle\Ora91\Omwb\olite\Olite40.jar;D:\Program Files\Oracle\jre\1.1.8\lib\rt.jar;D:\Program Files\Oracle\jre\1.1.8\lib\i18n.jar;D:\Oracle\Ora91\Omwb\jlib;D:\Oracle\Ora91\Omwb\jlib\Omwb.jar;D:\Oracle\Ora91\jlib\oembase-9_0_1.jar;D:\Oracle\Ora91\jlib\netcfg.jar;D:\Oracle\Ora91\Omwb\plugins\SQLServer6.jar;D:\Oracle\Ora91\Omwb\plugins\SQLServer7.jar;D:\Oracle\Ora91\Omwb\plugins\SQLServer2K.jar;D:\Oracle\Ora91\Omwb\plugins\Sybase11.jar;D:\Oracle\Ora91\Omwb\plugins\Sybase12.jar;D:\Oracle\Ora91\Omwb\plugins\MSAccess.jar;D:\Oracle\Ora91\Omwb\plugins\MySQL.jar;D:\Oracle\Ora91\Omwb\drivers\mm.mysql.jdbc-1.2a;D:\Oracle\Ora91\Omwb\plugins\Informix7.jar;D:\Oracle\Ora91\Omwb\drivers\ifxjdbc.jar;D:\Oracle\Ora91\lib\xmlparserv2.jar;D:\Oracle\Ora91\rdbms\jlib\xsu111.jar;D:\Oracle\Ora91\jdbc\lib\classes111.zip;D:\Oracle\Ora91\lib\vbjorb.jar;D:\Oracle\Ora91\jlib\ewt-swingaccess-3_3_18.jar;D:\Oracle\Ora91\jlib\ewt-3_3_18.jar;D:\Oracle\Ora91\jlib\ewtcompat-3_3_15.jar;D:\Oracle\Ora91\jlib\share-1_1_9.jar;D:\Oracle\Ora91\jlib\help-3_2_9.jar;D:\Oracle\Ora91\jlib\ice-5_06_3.jar;D:\Oracle\Ora91\jlib\kodiak-1_2_1.jar
** Started : Fri Apr 05 13:31:12 PST 2002
** The following plugins are installed:
** Microsoft SQLServer 2000 Release 2.0.2.0.0 Production
java.sql.SQLException: ORA-01418: specified index does not exist
java.util.NoSuchElementException
at java.util.Vector.firstElement(Vector.java:433)
at oracle.mtg.oracleModel.server.OracleModelImpl.insertPrimaryKey(OracleModelImpl.java:4055)
at oracle.mtg.oracleModel.server.OracleModelImpl.insertPrimaryKey(OracleModelImpl.java:4022)
at oracle.mtg.sqlserver2k.server.SQLServer2KSourceModelMap._mapPrimaryKeys(SQLServer2KSourceModelMap.java:3092)
at oracle.mtg.sqlserver2k.server.SQLServer2KSourceModelMap.mapSourceModel(SQLServer2KSourceModelMap.java:271)
at oracle.mtg.sqlserver2k.ui.SQLServer2KCaptureWizard.doCapture(SQLServer2KCaptureWizard.java:948)
at oracle.mtg.sqlserver2k.ui.SQLServer2KCaptureWizard._runDialog(SQLServer2KCaptureWizard.java:736)
at oracle.mtg.sqlserver2k.ui.SQLServer2KCaptureWizard.capture(SQLServer2KCaptureWizard.java:656)
at oracle.mtg.migrationUI.ActionMenuHandler._capture(ActionMenuHandler.java:212)
at oracle.mtg.migrationUI.ActionMenuHandler.run(ActionMenuHandler.java:89)
at oracle.mtg.migration.WorkerThread.run(Worker.java:269)
** Shutdown : Fri Apr 05 13:34:39 PST 2002
===================================================================
ERROR.LOG File ends here
Any help is really appreciated
Thanks,
BrundaMigration Workbench process appears to hang during "Mapping Priomary Keys" while creating Oracle Object Model. I am migrating SQLServer 2000 database to Oracle 9i. All on one single PC using Windows 2000 server. I downloaded latest SQLServer 2000 plugin and I have .NET Framework installed which inturn installs MDAC 2.7 (supposed have latest ODBC driver). ODBC driver for SQLServer 2000 version is : 2000.81.7713.00
Following is the info in Error.log file I have under %ORACLE_HOME%\omwb\log directory.
ERROR.LOG File Starts here
=================================================================================
** Oracle Migration Workbench
** Release 2.0.2.0.0 Production
** ( Build 20011121 )
** ORACLE_HOME: D:\Oracle\Ora91
** user language: en
** user region: US
** user timezone: PST
** file encoding: Cp1252
** java version: 1.1.8.10
** java vendor: Oracle Corporation
** o.s. arch: x86
** o.s. name: Windows NT
** o.s. version: 5.0
** Classpath:
D:\Oracle\Ora91\Omwb\olite\Oljdk11.jar;D:\Oracle\Ora91\Omwb\olite\Olite40.jar;D:\Program Files\Oracle\jre\1.1.8\lib\rt.jar;D:\Program Files\Oracle\jre\1.1.8\lib\i18n.jar;D:\Oracle\Ora91\Omwb\jlib;D:\Oracle\Ora91\Omwb\jlib\Omwb.jar;D:\Oracle\Ora91\jlib\oembase-9_0_1.jar;D:\Oracle\Ora91\jlib\netcfg.jar;D:\Oracle\Ora91\Omwb\plugins\SQLServer6.jar;D:\Oracle\Ora91\Omwb\plugins\SQLServer7.jar;D:\Oracle\Ora91\Omwb\plugins\SQLServer2K.jar;D:\Oracle\Ora91\Omwb\plugins\Sybase11.jar;D:\Oracle\Ora91\Omwb\plugins\Sybase12.jar;D:\Oracle\Ora91\Omwb\plugins\MSAccess.jar;D:\Oracle\Ora91\Omwb\plugins\MySQL.jar;D:\Oracle\Ora91\Omwb\drivers\mm.mysql.jdbc-1.2a;D:\Oracle\Ora91\Omwb\plugins\Informix7.jar;D:\Oracle\Ora91\Omwb\drivers\ifxjdbc.jar;D:\Oracle\Ora91\lib\xmlparserv2.jar;D:\Oracle\Ora91\rdbms\jlib\xsu111.jar;D:\Oracle\Ora91\jdbc\lib\classes111.zip;D:\Oracle\Ora91\lib\vbjorb.jar;D:\Oracle\Ora91\jlib\ewt-swingaccess-3_3_18.jar;D:\Oracle\Ora91\jlib\ewt-3_3_18.jar;D:\Oracle\Ora91\jlib\ewtcompat-3_3_15.jar;D:\Oracle\Ora91\jlib\share-1_1_9.jar;D:\Oracle\Ora91\jlib\help-3_2_9.jar;D:\Oracle\Ora91\jlib\ice-5_06_3.jar;D:\Oracle\Ora91\jlib\kodiak-1_2_1.jar
** Started : Fri Apr 05 13:31:12 PST 2002
** The following plugins are installed:
** Microsoft SQLServer 2000 Release 2.0.2.0.0 Production
java.sql.SQLException: ORA-01418: specified index does not exist
java.util.NoSuchElementException
at java.util.Vector.firstElement(Vector.java:433)
at oracle.mtg.oracleModel.server.OracleModelImpl.insertPrimaryKey(OracleModelImpl.java:4055)
at oracle.mtg.oracleModel.server.OracleModelImpl.insertPrimaryKey(OracleModelImpl.java:4022)
at oracle.mtg.sqlserver2k.server.SQLServer2KSourceModelMap._mapPrimaryKeys(SQLServer2KSourceModelMap.java:3092)
at oracle.mtg.sqlserver2k.server.SQLServer2KSourceModelMap.mapSourceModel(SQLServer2KSourceModelMap.java:271)
at oracle.mtg.sqlserver2k.ui.SQLServer2KCaptureWizard.doCapture(SQLServer2KCaptureWizard.java:948)
at oracle.mtg.sqlserver2k.ui.SQLServer2KCaptureWizard._runDialog(SQLServer2KCaptureWizard.java:736)
at oracle.mtg.sqlserver2k.ui.SQLServer2KCaptureWizard.capture(SQLServer2KCaptureWizard.java:656)
at oracle.mtg.migrationUI.ActionMenuHandler._capture(ActionMenuHandler.java:212)
at oracle.mtg.migrationUI.ActionMenuHandler.run(ActionMenuHandler.java:89)
at oracle.mtg.migration.WorkerThread.run(Worker.java:269)
** Shutdown : Fri Apr 05 13:34:39 PST 2002
===================================================================
ERROR.LOG File ends here
Any help is really appreciated
Thanks,
Brunda -
HI!
I am updating a table in sql server 2000 using PreparedStatement but as im trying to updateit. SQL is giving error or rather we can say warning.
java.sql.SQLWarning: [Microsoft][SQLServer 2000 Driver for JDBC]Database changed to BRSHere BRS is my database name.
no error is generated .all the PreparedStatement is executes normally.
Can any one tell me anything about thisAll the PreparedStatement is executes normally.But data is not updated in the database.
-
JDBC 2.0 method not implemented error using bea jDriver for MS-SQLServer 2000
I'm trying to reconfigure WebLogic Portal 7.0 (Platform 7.0 SP2) to run on MS SQLServer
2000. According to the supported platform docs, the MS JDBC driver is not supported
by Portal, hence I'm using the BEA jDriver for SQLServer.
I'm now getting the following error when starting up Weblogic Portal which requires
a re-sync with the EBCC before the applications will work.
<28-Aug-03 09:28:30 BST> <Error> <Data Synchronization> <000000> <Application:
portalApp; Corrupted data encountered in the persistent store; PLEASE RE-SYNCHRONIZE
YOUR APPLICATION DATA WITH MODE "refresh-from-client" BEFORE CONTINUING! Failure
to do so may result in incomplete or otherwise corrupted server state.
Exception[com.bea.p13n.management.data.repository.PersistenceException: Failed
to refresh JDBC Persistence Manager.] - with embedded exception: [java.sql.SQLException:
java.sql.SQLException: This JDBC 2.0 method is not implemented] at com.bea.p13n.management.data.repository.persistence.JdbcDataSource.refresh(JdbcDataSource.java:506)
Has anyone else come across this problem and know how to resolve it. I have tried
using the MS JDBC Driver on the off chance that it would work, but this also produced
SQL Exceptions with the persistance store and would not work at all even after
syncing with the EBCCJim,
Thanks, I'm awaiting for my account to be enabled with customer contract support.
When this is done I will raise a case and send files as requested.
In the mean time it's worth noting that these settings have been made. Connection
to the DB is fine, the createDB, loadads, loaddocs and sync etc all worked fine.
The problem only exists when restarting the server and the portal persistance
store is trying to be refereshed. Once EBCC is re-synced all the DB access works
fine.
Steve
Jim Litton <reply@newsgroup> wrote:
Please open a support case and send in your set-environment.bat,
db_settings.properties, and config.xml from your domain directory after
trying the following.
Given that your operating system is Windows for performing all database
operations like create_db, loaddocs, sync. (because you should not
bother trying to run them on with UNIX).
Restore your set-environment.bat to it's original state. It does not
need to be touched.
Uncomment the MSSQL section in db_settings.properties.
database=MSSQL
db_version=2000
jdbcdriver=weblogic.jdbc.mssqlserver4.Driver
server=@MSSQL_SERVER@
port=@MSSQL_PORT@
dblogin=@MSSQL_USER@
dbpassword=@MSSQL_PASSWORD@
connection=jdbc:weblogic:mssqlserver4:@MSSQL_SERVER@:@MSSQL_PORT@
The dataSyncPool entry in config.xml should appear as:
<JDBCConnectionPool
Name="dataSyncPool"
DriverName="weblogic.jdbc.mssqlserver4.Driver"
URL="jdbc:weblogic:mssqlserver4:@MSSQL_SERVER@:@MSSQL_PORT@"
Properties="user=@MSSQL_USER@;password=@MSSQL_PASSWORD@"
Password="@MSSQL_PASSWORD@"
InitialCapacity="1"
MaxCapacity="5"
CapacityIncrement="1"
RefreshMinutes="99999"
ShrinkingEnabled="false"
Targets="sampleportalServer"
TestConnectionsOnReserve="false"
TestTableName="WEBLOGIC_IS_ALIVE"
/>
-- Jim -
Weblogic 6.1 sp1 and SQLServer 2000
We want to connect our Weblogic 6.1 sp1 server to a SQLServer 2000 db. We
downloaded the JDriver from bea.com, but all the istructions that came with
it are for WLserver 5.1.
What has to be done to do this with 6.1 sp1?
Thanks,
ArielHi Ariel,
The driver is bundled with the product in WLS 6.1sp1. you don't have to
download any additional driver. Use it as you normally would only thing to
remember is if you are trying to write standalone java code then you have to
have weblogic.jar in your classpath. For the rest of the info follow the wls
docs for 6.1
HTH
sree
"Ariel" <[email protected]> wrote in message
news:3bb4a643$[email protected]..
We want to connect our Weblogic 6.1 sp1 server to a SQLServer 2000 db. We
downloaded the JDriver from bea.com, but all the istructions that camewith
it are for WLserver 5.1.
What has to be done to do this with 6.1 sp1?
Thanks,
Ariel -
[Microsoft][SQLServer 2000 Driver for JDBC] Broken pipe
Using 10.1.2.0.2
I have Web App in which I am connecting to MS SQLServer 2005. I have created a datasource on the server and used Microsoft's free JDBC drivers i.e. msutil.jar,mssqlserver.jar,msbase.jar. Now every now and then I am getting the following error when trying to connect to the SQLServer
[Microsoft][SQLServer 2000 Driver for JDBC]Broken pipe;nested exception is: java.sql.SQLException:[Microsoft][SQLServer 2000 Driver for JDBC]Broken pipeAny ideas what might be wrong and how to take care of this issue.
ThanksDataDirect driver is certified with Oracle Application Server accessing SQLServer, here is an example of a data source entry for SQLServer in OralceAS 10.1.2.x.
<data-source
class="com.evermind.sql.DriverManagerDataSource"
name="MerantDS"
location="jdbc/MerantCoreSSDS"
xa-location="jdbc/xa/MerantSSXADS"
ejb-location="jdbc/MerantSSDS"
connection-driver="com.oracle.ias.jdbc.sqlserver.SQLServerDriver"
username="test"
password="secret"
url="jdbc:oracle:sqlserver://hostname:port;User=test;Password=secret"
inactivity-timeout="30"
/>
Here shows a SQLServer managed data source example and a SQLServer native source example in OracleAS 10.1.3.x:
SQLServer Managed Data Source
<connection-pool name="ConnectionSqlserver"
max-connections="20"
min-connections="1">
<connection-factory
factory-class="com.oracle.ias.jdbcx.sqlserver.SQLServerDataSource"
user="msuser"
password="mspass"
url="jdbc:oracle:sqlserver://myserver\\myinstance;User=msuser;Password=mspass" >
<property name="serverName" value="myserver\\myinstance"/>
<xa-recovery-config>
<password-credential>
<username>msuser</username>
<password>mspass</password>
</password-credential>
</xa-recovery-config>
</connection-factory>
</connection-pool>
<managed-data-source connection-pool-name="ConnectionSqlserver"
jndi-name="jdbc/mysqlserver"
name="mysqlserver" /> -
ERROR 0GG-00146 FOR SQLSERVER 2000
Hi
I used oggs 11g for sqlserver 2000 on WinXp sp3,
when I started the extract named exbs
it can be a running stutas ;
my parameter file setting are :
extract exbs
seTenv (ODBCINI=C:\WINDOWS\ODBC.INI)
SOURCEDB MSTZSW , USERID SA , PASSWORD oracle
RMTHOST 127.0.0.1 , MGRPORT 7810
RMTTRAIL ./DIRDAT/bs
table dbo.* ;
after a lot of minute passed , it will be abending ;
the report are the folloowing :
====================================
Database Version :
Microsoft SQL Server
verison 08.00.0194
odbc version 03.52.0000
database language and character set :
Warning : unable to detemine the application and database codepage settings.
Please refer to user manual for more information .
2010-12-29 14:24:23 INFO OGG-01226 Socket buffer size set to 27985 (flush size 27985 ) .
............... OGG-01055 Recovery initilazation completed for target file ./dirdat/bs000003 , at RBA 812.
................................. OGG-01478 Output file ./dirdat/bs is using format RELEASE 10.4/11.1.
................................... OGG-01026 Rolling over remote file ./dirdat/bs000004.
................................... OGG-01053 Recovery i completed for target file ./dirdat/bs000003 , at RBA 812.
................................... OGG-01057 Recovery completed for all targets.
................................... OGG-00182 VAM API running in single-threaded mode.
................................... OGG-01515 Positioning to begin time..........
Source Context :
SourceModule : [ggvam.gen]
SourceID : [../gglib/ggvam/cvamgen.cpp]
SourceFuntion : [com_goldengate_vam: : CVamGen::vamInitialize ]
SourceLine : [418]
time ERROR OGG-00146 VAM funtion VAMInitialize returnde unexpected resutl : error 600 -VAM Client Report <MSSqlVam :<1> [CLogReader ::Open] [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exists or denied . Error (-2147467259) : [DBNETLIB] [ConnectionOpen (Connect()).]SQL Server does not exists or denied . >.
tmie ERROR OGG-01668 PROCESS ABENDING.
Hao can I do to solution this ERROR ,
or What is the reason .
Can some body help me.
I can ensure the odbc can Connectivity by use sourcedb mstzsw , userid sa , password oraclethe reason that my friend told me is :
can not telnet port 1433;
for my question , the windows firewall or wall of fire is closed ,
and my sqlserver 2000's version is 8.00.194 ,
till I update the sqlserver's version to 8.00.2039 (sp4)
this question is solutioned ;
forgive the low-level of my English Language skill ; -
Hi,
I still have problems with the SQL Server 2000 drivers for JDBC.
The documentation shows that .beforeFirst(), .absolute() and others methods are available but when i run my app, I have the error :
[Microsoft][SQLServer 2000 Driver for JDBC]Unsupported method: ResultSet.absolute
Have any idea ? Please helpWell, i'd say "shit happens". This is something not uncommon: implement an interface but don't support all of its methods. Ever got an java.util.List as a return value from some method and tried to call add() and realized that the return value was a Collections.EMPTY_LIST? Or they don't support all methods under all circumstances. The Oracle JDBC driver doesn't support PreparedStatement.setCharacterStream in combination with batch updates. It jus throws an Exception if you trie to do use it. Life just sucks .... ;-)
Maybe you are looking for
-
Hard drive crashed... How to sync Iphone with New Drive?
My hard drive crashed on my Macbook, I installed a new drive... How to I sync my Iphone without loosing applications, photos, pix,movies and contacts?
-
Where does the resources bundle files need to be
Hi All, Does any of you knows where all the custom resources bundle files that will be used on BCC need to be? I have something like this: BCC module /src/com/mycompany/resources/WebAppResources.properties But when I try to use it This happens javax.
-
Hi, I want to see the error by Jdev 11.1.1.2.0. Can you pls look at this http://www.4shared.com/document/nWy1yG9a/t61.html Regards, huamin
-
I am calling a sqlloader script from unix script. I have mentioned in unix script for bad file as BADFILE="/web/local/orderlink/linkload/logs/full_prc_stg_bad.log"and in CTL file I have not mentioned any bad file path. I am calling 30 flat files in t
-
IOS Game Center Integration?
Director 12 supports iOS Game Center integration but there is no documentation. The only documentation I have seen is this in 'Director Help / What's new for Director 12' http://helpx.adobe.com/director/using/whats-new-director-12.html "Game Center: