SQLServer 2000 DB Connection
Hi All;
I'm having a bit of a problem creating a Db connection to my
SQLServer2000 DB's from Dreamweaver. Well, actually, that's a bit
inaccurate: I can get a connection, test it and it all works fine,
but I've got no access to any of the tables, views, stored
procedures etc.. in my DB's in Dreamweaver. This is the same
whether I use a local or testing DSN.
It would seem also that when I create the system DSN using
the administrative tools and input the username and password, that
all works fine and the test succeeds etc...However, if I then "Ok"
that, then return to it (using "configure"), then it loses the
password (but not the username) and the test fails. It would seem
the two are related.
Any ideas anybody??
Thanks
Thanks for that. That actually worked (well in a roundabout
sort of way). I'll explain: It turns out that the initial
connection string that I was using also works as well!! This was:
Provider=sqloledb;Data Source=[MACHIINE NAME];Initial
Catalog=[ANY EXISTING DB NAME];Uid=[ENTERPRISE MANAGER
LOGIN];Pwd=[ENTERPRISE MANAGER LOGIN PWD];
HOWEVER after doing a bit of further investigation, I
discovered that Dreamweaver didn't like my PASSWORD!! I'm reluctant
to say this is a bug before someone else can verify this for me.
Basically, Dreamweaver doesn't like the substring "$$" in the
password!! A single "$" is fine, but not "$$" !!! I've not tested
it with other (sub)strings so I'm not sure how "widespread" this
problem might be. I admit it would be a rather obscure bug to
uncover but, pretty significant I believe.
The fact that passwords of this nature work fine in SQL
Server/ Enterprise Manager would lead me to conclude that this is
not a problem with SQL Server 2000.
If you could give that a quick check and let us know that'd
be really good.
Thanks...
Similar Messages
-
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 -
Hang process mamping connect to sqlserver 2000
Help me
Problem this, before one weeks , process mapping connect to sqlserver still running
but, after this process mapping hang get data from sqlserver 2000
because i try 10, 100, 5000 record mapping still running, but 100000 record still hang, this is i try method row_bases.
and i try method set based, data still empty in target (4 hours)
this data from sqlserver +/- 1600000 record,
how to solve problem this.
owb client 11.1.0.6.0
owb repository 11.1.0.1.1
db ver 11.1.0.6
db sqlserver 2000
OS Window NT 2000
Txdo you mean the url?
it seems to be right.
the server is on THE_B
the instance is MIAINSTANCE
(when i've installed the DBMS i've specified "miaInstance" as instance name,but whe I access to it I see MIAINSTANCE as name.it can be a case sensitive problem?)
i've specified the following URL
...sqlserver://THE_B\MIAINSTANCE:1433;SelectMethod=....
i've also tryed
...sqlserver://THE_B\miaInstance:1433;SelectMethod=....
but it still doesen't work.
yes,the instance is running. -
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*** -
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 -
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 ; -
Tomcat - SQL Server 2000 Database connectivity - Need Help
Hi
I am new to java and Apache Tomcat, can anyone help me how to connect SQLServer 2000 Database. thru .jsp, in my pc I have installed XP Prof. with SP2, SQL Server 2000 Developer Ed. with SP4, Apache Server 2.2 Tomact 5.5., Microsoft SQL Server 2000 Driver for JDBC. Please help me out.. I want to know all settings for SQL connectivity & sample code.
Thanks in advance.
Bharat GajjarSo why don't you search for the documentation? Tomcat is one of the few apache java projects that is actually decently documented.
http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html
That should be all you need to get up and running. For the correct JDBC settings, the microsoft website has an article, as do many other websites.
http://msdn2.microsoft.com/en-us/library/ms378672.aspx -
Which jdbc driver should be used for sqlserver 2000 and where to put it.
hi all,
My odi is 11g. I met the error infor "Could not load JDBC driver class [com.microsoft.sqlserver.jdbc.SQLServerDriver]" when i tried to connect to a sqlserver2000 database.
The questions are:
1. which jdbc driver should be used for sqlserver 2000?
2. which folder to put it in?
3. how to set the physical topological "Microsoft Sql Server" to use this jdbc driver?
failed tries:
i downloaded the driver "SQL Server 2000 Driver for JDBC Service Pack 2" and put it in the following folders:
1. .../oracledi/drivers, and set this path to CLASSPATH.
2. .../oracledi/userlib didn't exist, i created it and put the driver in.
3. .../oracledi/agent/dirvers, in which a readme file exists and told me to put drivers in this folder.
All these works were not useful. when I start odi.sh and try to connect to sqlserver2000 database, the same error infor came up.
my environment is:
os: Linux 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
java: Java(TM) SE Runtime Environment (build 1.6.0_13-b03) Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02, mixed mode)
ODI: 11g, installed in /users/oracle/odi/
please help me,thanks a lot.
jun
帖子经 Jun编辑过Hi,
You should check which JVM version is required by that version of the driver, I think the 2.x versions require a 1.6 JVM
What error are you getting? If it is the "com.sunopsis.sql.c: No suitable driver", it indicates it can't find the jar file (sqljdbc.jar) for the driver you specify.
Drivers folder in ODI 11g is under
C:\oracle\product\11.1.1\Oracle_ODI_1\oracledi\agent\drivers.
if you are using the standolone version
On windwos :
C:\Documents and Settings\<userName>\Application Data\odi\oracledi\userlib
on linux
$HOME/.odi/oracledi/userlib
Have a read of :- http://download.oracle.com/docs/cd/E14571_01/core.1111/e16453/install.htm#CHDBIFAJ
Thanks,
Sutirtha -
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 -
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
Maybe you are looking for
-
Error CodeB2B-51093 Decrypting S/MIME message failed
Hi, We are not able to decrypt the messages received from partner B2B 11.1.1.4 sending 820 over AS2 Receiving over https://host:port/b2b/httpreceiver Keystore: configured and contains certs for the TP and for host TP. Error :Error CodeB2B-51093 Decry
-
Storage *.vi-drive​r in custom file
hello, In my project I work with a plugin principle. Each plugin reach to a measurement sensor. The plugin contains all info about the manufacturer, all equations for a m-file that communicates with matlab, and further parameters like visualizations
-
What is the role of Business Objects in BPC
Dear Experts, A quick question. Why has SAP changed expanded form of BPC - from Business Planning & Consolidation to Businessobjects Planning and Consolidation. Is this just a re-branding excercise or is BPC using Business Objects components for repo
-
I have several shortcuts to websites on my homescreen. When I initially add the shortcuts to the homescreen they show up with the website' icon, I guess that fav.ico is used. After the update of Firefox, all icons are replaced with the firefox icon.
-
Is there a way to adjust the jpeg quality when exporting or editing? I can change the image size, which is helpful, but it would be nice if I could change the jpeg compression in order to reduce the file size. Thanks!