Problems creating the Master Repository with MS SQL Server 2000
Hello guys!
I can't create the Master Repository with MS SQL Server 2000 database.
Wath is the correct adress in the URL?
I select the Driver: com.microsoft.jdbc.sqlserver.SQLServerDriver and the URL: *jdbc:microsoft:sqlserver://<host>:<port>;SelectMethod=cursor[;<property>=<value>...]*
Thanks
Maurício
Edited by: user857262 on 03/10/2008 10:05
Hi Maurício,
For MS SQL Server the following drivers should avaliable in /drivers folder (http://www.inetsoftware.de/),
* msutil.jar
* mssqlserver.jar
* msbase.jar
JDBC Driver is:
com.microsoft.jdbc.sqlserver.SQLServerDriver
JDBC URL is:
jdbc:sqlserver://serverName\instance:port;property=value[;property=value]
Example,
jdbc:sqlserver://myHost:1433;selectMethod=cursor;databaseName=myDB
Thanks,
G
Similar Messages
-
Problem with NW04s SR2 installation with MS SQL Server 2000 SP4
Im struggling with the NW04s installation with MS SQL Server 2000.
The installation stops at the step Create/modify database schema SAPJ2EDB.
The following error/info from log file,
INFO 2007-06-06 12:02:33 [iaxxgenimp.cpp:632]
showDialog()
Execute step doConfiguration of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|NW_MSS_SRVCFG|ind|ind|ind|ind|6|0.
INFO 2007-06-06 12:02:35 [iaxxgenimp.cpp:632]
showDialog()
Execute step doTempdb of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssDowntimeConfig|ind|ind|ind|ind|7|0.
INFO 2007-06-06 12:02:36 [iaxxgenimp.cpp:632]
showDialog()
Execute step doSwitch of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssDowntimeConfig|ind|ind|ind|ind|7|0.
INFO 2007-06-06 12:02:36 [iaxxgenimp.cpp:632]
showDialog()
Execute step doTempDBAnalyze of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssDowntimeConfig|ind|ind|ind|ind|7|0.
INFO 2007-06-06 12:02:37 [iaxxgenimp.cpp:632]
showDialog()
Execute step doTempDBBeforeRestart of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssDowntimeConfig|ind|ind|ind|ind|7|0.
INFO 2007-06-06 12:02:38 [iaxxgenimp.cpp:632]
showDialog()
Execute step doRestartServer of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssDowntimeConfig|ind|ind|ind|ind|7|0.
INFO 2007-06-06 12:02:58 [ianxbservi.cpp:697]
CIaNtServices::stop(const map<iastring,iastring>&)
The service 'MSSQLSERVER' stopped successfully on host 'GBCZ672C'.
INFO 2007-06-06 12:03:10 [ianxbservi.cpp:632]
CIaNtServices::start(const map<iastring,iastring>&)
The service 'MSSQLSERVER' started successfully on host 'GBCZ672C'.
INFO 2007-06-06 12:03:21 [ianxbservi.cpp:632]
CIaNtServices::start(const map<iastring,iastring>&)
The service 'SQLSERVERAGENT' started successfully on host 'GBCZ672C'.
INFO 2007-06-06 12:03:21 [iaxxgenimp.cpp:632]
showDialog()
Execute step doTempDBAfterRestart of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssDowntimeConfig|ind|ind|ind|ind|7|0.
INFO 2007-06-06 12:03:22 [iaxxgenimp.cpp:632]
showDialog()
Execute step doChangeTempSetNewSize of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssDowntimeConfig|ind|ind|ind|ind|7|0.
INFO 2007-06-06 12:03:39 [iaxxgenimp.cpp:632]
showDialog()
Execute step CheckParameters of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssSchemaCreate|ind|ind|ind|ind|9|0.
INFO 2007-06-06 12:03:39 [iaxxgenimp.cpp:632]
showDialog()
Execute step CreateDirectories of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssSchemaCreate|ind|ind|ind|ind|9|0.
INFO 2007-06-06 12:03:40 [iaxxgenimp.cpp:632]
showDialog()
Execute step CreateDatabase of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssSchemaCreate|ind|ind|ind|ind|9|0.
ERROR 2007-06-06 12:03:40 [iaxxgenimp.cpp:731]
showDialog()
FCO-00011 The step CreateDatabase with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssSchemaCreate|ind|ind|ind|ind|9|0|CreateDatabase was executed with status ERROR .
ERROR 2007-06-06 12:03:40
lib=iamodmssql module=CIaNtMssDmo
MDB-05053 Errors when executing sql command: <p nr="0"/> If this message is displayed as a warning - it can be ignored. If this is an error - call your SAP support.
INFO 2007-06-06 12:04:04 [iaxxgenimp.cpp:774]
showDialog()
An error occured and the user decided to retry the current step: "|NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssSchemaCreate|ind|ind|ind|ind|9|0|CreateDatabase".
ERROR 2007-06-06 12:04:05 [iaxxgenimp.cpp:731]
showDialog()
FCO-00011 The step CreateDatabase with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssSchemaCreate|ind|ind|ind|ind|9|0|CreateDatabase was executed with status ERROR .
Please let me know if you can help or if there is any other way around.
Many Thanks in advance.
Ritin JainHi All,
I was not able to solve the problem with MS SQL 2000, but I was able to resolve the issue with MS SQL 2005.
You have to chhose the following settings while instalation,
Service Account - Select one of the following options:
1) Use the built-in System account for each service and choose Local system or Network Service.
2) Use a domain user account, and enter the user name and password.
Under Start services at the end of setup make sure that SQL Server and SQL Server Agent are selected.
Authentication Mode
1) Select Mixed Mode (Windows Authentication and SQL Server Authentication).
This mode is required for a Java or ABAP+Java system.
If you choose this mode, you have to set the password for the sa login.
Note: The password for the sa login must comply with the Windows password policy.
Collation Settings
1) Select SQL collations (used for compatibility with previous versions of SQL Server).
2) From the drop-down list select Binary order based on code point comparison, for use with the 850 (Multilingual) Character Set.
I hope this helps! -
Unable to create the Master repository Using ODI 10.1.3.5.0 on windows
Hello,
I have installed the ODI 10.1.3.5.o on windows environment. I am using sql server 2008.
When i am trying to create the master repository it was not creating, When i am tested the connection it was successfull, but when i am click on OK it not performing.
I have down loaded Microsoft SQL Server JDBC Driver 3.0 and copied sqljdbc4.jar in to D:\OraHome_1\oracledi\drivers.
And also installed java 6 on my machine.
Please help me.
Regards,
Krishna
Edited by: 897734 on Dec 14, 2011 3:03 AMHi krishna,
Check *3.2 Creating Repository Storage Spaces* in below URL, Hope this may helps you
http://docs.oracle.com/cd/E21764_01/integrate.1111/e12643/admin_reps.htm
Regards,
Phanikanth -
Problem of Teststand3.1 database and microsoft SQL Server 2000 personal edition
I have a problem when using teststand database function with Microsoft sql server 2000. the error(seen in attached screenshot3.jpg) is:
"An error occurred calling 'LogResults' in 'ITSDBLog' of 'DBLog 1.0 Type Library'
An error occurred executing a statement.
Schema: Generic Recordset (NI).
Statement: UUT_RESULT.
[Microsoft][ODBC SQL Server Driver][SQL Server]unable to insert NULL value to column "ID", table "test.dbo.UUT_RESULT";This column is not alowed to be blank. INSERT Failed. Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.
[Microsoft][ODBC SQL Server Driver][SQL Server]terminated.
Source: TSDBLog"
Here I listed my proceess.
1, Configure in SQL Sever, please see attached screenshot0.jpg
a, Open SQL
b, build a new database with the name of test
c, import the data from "C:\Program Files\National Instruments\TestStand 3.1\Components\NI\Models\TestStandModels\Database\TestStand Results.mdb"
2, Configure Microsoft SQL sever: please see attached screenshot1.jpg
a, Open windows Control Panel and select "Data Sources (ODBC). Under system DSN tab, add a SQL server data source
3, Configure teststand database option, see attached screenshot2.jpg
a, configure logging option, enable
b, configure datalink
c, select schemas of "Generic recordset (NI)
d, No change on the tabs of "statements" and "Columns/Parameters"
4, run an seqence file with the proess model of SequentialModel.Seq.
Attachments:
Screenshot.zip 425 KBThanks Scott,
The database function is OK now after I changed imported tables in SQL Sever.
Actually, I once tried anothor method that you refered by using the scripts
located at: <TestStand>\Components\NI\Models\TestStandModels\Database\SQL Server Create Generic Recordset Result Tables.sql. Attached is the error screenshots, please help me on this.
Thanks
Jacky
Attachments:
Error.jpg 59 KB -
BEA WebLogic Commerce Server 3.5 with MS SQL Server 2000 as DB
Ooops !
Sorry but in my last mail I forgot to attach the file with the
stdout log with the described example portal errors. Here is
the message and the file.
Davide Pozzi
Hi to all.
I have a problem using BEA WebLogic Server 3.5 (with service
pack 1) with SQL Server 2000 as the database. I followed the
instructions for SQL Server 7 included in the file readme.txt > in WLCS_35_DDLand the (thin) Web documentation on the
subject. The I tried to run the example portal and the
templates examples. All is working well apart from the fact
that some data seem not to be taken from the database. For
example the example portal lacks the news titles in the "News > Index" portletand the ads in the "AcmePromotion" portlet. In > the templates examples some logo
are missing (the E-Business
Control Center loads, but no campains or discounts, etc. are
loaded). When I start the example portal, a lot of exceptions > arise. In theattached text file the stdout log of Commerce
Server is reported.
Can anyone tell me a hint to solve these problems ? There are > known problemssetting up SQL Server 2000 with Commerce Server > 3.5 ? I've seen that Commerce
Server 3.5 is not yet certified > for SQL Server 2000, is BEA going to certificate
it ?
>
Thank you in advance for any help.
Davide Pozzi[errors.txt]Ooops !
Sorry but in my last mail I forgot to attach the file with the
stdout log with the described example portal errors. Here is
the message and the file.
Davide Pozzi
Hi to all.
I have a problem using BEA WebLogic Server 3.5 (with service
pack 1) with SQL Server 2000 as the database. I followed the
instructions for SQL Server 7 included in the file readme.txt > in WLCS_35_DDLand the (thin) Web documentation on the
subject. The I tried to run the example portal and the
templates examples. All is working well apart from the fact
that some data seem not to be taken from the database. For
example the example portal lacks the news titles in the "News > Index" portletand the ads in the "AcmePromotion" portlet. In > the templates examples some logo
are missing (the E-Business
Control Center loads, but no campains or discounts, etc. are
loaded). When I start the example portal, a lot of exceptions > arise. In theattached text file the stdout log of Commerce
Server is reported.
Can anyone tell me a hint to solve these problems ? There are > known problemssetting up SQL Server 2000 with Commerce Server > 3.5 ? I've seen that Commerce
Server 3.5 is not yet certified > for SQL Server 2000, is BEA going to certificate
it ?
>
Thank you in advance for any help.
Davide Pozzi[errors.txt] -
Anyone successfully set up connection pool in s1as with ms sql server 2000?
As subject. Since I have seen a lot of posts about the NoSuchMethodException issue with various dbms providers, and the only "official information" I found thru different forums, google, different sun/javasoft sites and forums are this:
http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsunone%2F8172&zone_32=NoSuchMethodException&wholewords=on
Which is wonderfully vague and provide not-so-much useful information...
As for the information and suggestion posted by other forum members, most or all of them have experience with setting up Oracle, DB2, mySQL, etc., not aimed for MS SQL Server 2000 (you may think, I am just asking for it running MS SQL server with Java... oh well, not my choice)
I still haven't seen any positive feedbacks on how this exception was caused and how to resolve it. I have literally exhausted all leads on how to fix this issue, so right now I'm only interested to know whether anyone in the forum actually have a successful connection pool set up with MS SQL server 2000.
My platform:
w2k sp3
SunOne app server, update1, JDK 1.4.1
latest MS SQL 2000 JDBC driver
This fails with the NoSuchMethodException error:
try {
InitialContext ic = new InitialContext();
DataSource ds = (DataSource) ic.lookup("test_db");
con = ds.getConnection();
System.out.println( "con is created -> " + con );
} catch (Exception ex) {
System.out.println( "failed -> " + ex.getMessage() );
This works just fine:
try {
Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
con = DriverManager.getConnection("jdbc:microsoft:sqlserver://xxx.xxx.xxx.xxx:1433;DatabaseName=testdb;SelectMethod=cursor", "username", "password");
System.out.println( "con is created -> " + con );
} catch (Exception ex) {
System.out.println( "failed is fucked -> " + ex.getMessage() );
thanks,
--kuanHi,
Thanks for pointing out that article, I did not find it previously. After following the directions in the artile and your advise, now dbping seems to be able to connect to SQL server.
Thank you very much.
--kuan -
Portal 4.0 with MS SQL Server 2000 using CLOBs
Hello,
I'm driving Portal 4.0 with MS SQL Server 2000. I have encountered serious
problems when trying to persist events (e.g. RuleEvent) to database. In my
application-config.xml file I have JdbcHelper attributes
ShouldUseClobsForReads & -Writes set to 'false' as they should be or
mssqlserver4v70 driver.
It seems that when it is time to write the event to database, Portal4.0
can't find JdbcHelper MBean configuration values and therefore it uses
default values (=true) for both attributes.
Otherwise reading and writing works fine with MS SQL Server 2000 (at least
DATA_SYNC_ITEMs).
Any help appreciated.
Regards,
JR
P.S.
Here are some excerpts from the console output:
[BufferManager$PersistenceRequest.execute():247]
PersistenceRequest::execute -> write to database
[AbstractDatabasePersister.persist():135] Persister::persist -> write the
events. size=2
*** com.bea.p13n.util.jdbc.JdbcHelper.getInstance() @ JdbcHelper.java:122
[JdbcHelper.getInstance():139] No instance found for
sun.misc.Launcher$AppClassLoader@71732b
[JdbcHelper.<init>():111] Unable to find JdbcHelper Configuration ...using
defaults: java.lang.IllegalStateException: Not in application context
at
com.bea.p13n.management.ApplicationHelper.getApplicationName(ApplicationHelp
er.java:119)
at
com.bea.p13n.management.ApplicationHelper.getApplicationConfigurationMBean(A
pplicationHelper.java:440)
at
com.bea.p13n.management.ApplicationHelper.getServiceConfigurationMBean(Appli
cationHelper.java:318)
at com.bea.p13n.util.jdbc.JdbcHelper.<init>(JdbcHelper.java:102)
at
com.bea.p13n.util.jdbc.JdbcHelper.getInstance(JdbcHelper.java:141)
at
com.bea.p13n.util.jdbc.JdbcHelper.getConnection(JdbcHelper.java:265)
at
com.bea.p13n.tracking.internal.persistence.AbstractDatabasePersister.getConn
ection(AbstractDatabasePersister.java:202)
at
com.bea.p13n.tracking.internal.persistence.AbstractDatabasePersister.persist
(AbstractDatabasePersister.java:140)
at
com.bea.p13n.tracking.internal.persistence.BufferManager$PersistenceRequest.
execute(BufferManager.java:250)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
*** com.bea.p13n.util.jdbc.JdbcHelper.getInstance() @ JdbcHelper.java:122
[JdbcHelper.getInstance():131] Got instance for
sun.misc.Launcher$AppClassLoader@71732b
[JdbcHelper._setClob():412] ######## JdbcHelper: String length = 496
[JdbcHelper._setClob():420] ######## JdbcHelper: setting CLOB String with
setCharacterStream()
<7.1.2002 14:27:41 GMT+02:00> <Error> <Tracking> <Error persisting event to
database. java.sql.SQLException: java.sql.SQLException: This JDBC 2.0 method
is not implemented
at
weblogic.jdbc.rmi.SerialPreparedStatement.setCharacterStream(SerialPreparedS
tatement.java:428)
at com.bea.p13n.util.jdbc.JdbcHelper._setClob(JdbcHelper.java:424)
at com.bea.p13n.util.jdbc.JdbcHelper.setClob(JdbcHelper.java:404)
at
com.bea.p13n.tracking.internal.persistence.BehaviorTrackingPersister.setPrep
aredStatementData(BehaviorTrackingPersister.java:93)
at
com.bea.p13n.tracking.internal.persistence.AbstractDatabasePersister.persist
(AbstractDatabasePersister.java:157)
at
com.bea.p13n.tracking.internal.persistence.BufferManager$PersistenceRequest.
execute(BufferManager.java:250)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)Hi,
I would suggest better to have a backup of existing database remove your existing SQL server. Install the one given by SAP. And restore your previous databases.
--Ragu -
Solman 4.0 with MS SQL Server 2000
I want to install Solution Manager 4.0 with MS SQL Server 2000. But I've the dvd's of Solution manager 4.0 with MS SQL Server 2005.
I've still the software for MS SQL Server 2000 from an other installation .
Is there any problem to install Solution Manager 4.0 with this software?Hi,
I would suggest better to have a backup of existing database remove your existing SQL server. Install the one given by SAP. And restore your previous databases.
--Ragu -
Connect webdynpro callable object with ms sql server 2000
Hi all
how connect webdynpro callable object with ms sql server 2000?
How can I register on the portal as an additional connection?
thank you very much!Thanks for your answers, Now I have the following problem, to develop this code:
try {
InitialContext iC = new InitialContext();
DataSource dataSource = (DataSource)iC.lookup("jdbc/ConnectionAlias");
Connection con = dataSource.getConnection();
java.sql.Statement stmt = con.createStatement();
ResultSet rs = stmt.executeQuery("select * from ejemplo");
while (rs.next()){
com.sap.test.sql.testsql.wdp.IPrivateTestIViewView.IDatosElement
DatosElement =
wdContext.nodeDatos()
.createDatosElement();
DatosElement.setId(rs.getString("id"));
DatosElement.setNom(rs.getString("nom"));
DatosElement.setNum(rs.getInt("num"));
}catch (SQLException e) {
wdContext.currentContextElement().setB(e.getMessage());
}catch (Exception e){
wdContext.currentContextElement().setB(e.getMessage());
and shows me the following exception
ResourceException in method ConnectionFactoryImpl.getConnection(): com.sap.engine.services.dbpool.exceptions.BaseResourceException: SQLException thrown by the physical connection: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.
the data that you place in the visual administrator were:
Drivers: com.sap.aii.af.jmsproviderlib (msutil.jar , mssqlserver.jar , msbase.jar)
DataSources: sap.com/JDBCConnector_MyDatasource.xml
Name: MyDatasource
Alias: ConnectionAlias
DriverName: com.sap.aii.af.jmsproviderlib
JDBC Version: 1.x
Driver Class: com.microsoft.jdbc.sqlserver.SQLServerDriver
Database URL: jdbc:microsoft:sqlserver://181.42.101.219:1433;DatabaseName=test
User: sa
Password: abcd1234
did not know the cause of the problem
thanks! -
Is Coldfusion 7.01 compatible with MS SQL Server 2000 w/SP4?
Is Coldfusion 7.01 compatible with MS SQL Server 2000 w/SP4?
Both applications will be installed on a seperate MS Windows Server
2003 boxes.
Thank you for your help,
-PhilYes. I have been using it for since CFMx 7 came out with out
any issues. -
CMP Entity Bean's problem with MS-SQL Server 2000
Hi everyone!
I have a problem regarding CMP Entity Bean on OC4J.
I made one CMP Entity Bean and deployed it to OC4J.
It was successful.
I used MS-SQL Server 2000 as Datasource.
So, I installed MS-SQL Server's JDBC Driver and add some jar files to classpath.
And I updated 'data-sources.xml' in OC4J's config directory.
Then, I updated also 'orion-ejb-jar.xml' in my application's directory.
I changed data-source's name to my data-source's name which use MS-SQL Server 2000.
Finally, I started OC4J and EJB Client program which called Enitiy Bean's create method.
But, The error occured which was 'Database error: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]LINE 1: '.' Wrong sentence'.
What's wrong? I need any helps.
Here is stack overflow message. Thank you. Best regards.
com.evermind.server.rmi.OrionRemoteException: Transaction was rolled back: Database error: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]LINE 1: '.' Wrong sentence.
at UserHome_EntityHomeWrapper2.create(UserHome_EntityHomeWrapper2.java:1114)
at java.lang.reflect.Method.invoke(Native Method)
at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:80)
at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
at connection to localhost/127.0.0.1 as admin
at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMIConnection.java:1530)
at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java:1453)
at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:53)
at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:22)
at __Proxy0.create(Unknown Source)
at com.emc.ksc.ejb.user.UserBeanTestClient1.create(UserBeanTestClient1.java:73)
at com.emc.ksc.ejb.user.UserBeanTestClient1.<init>(UserBeanTestClient1.java:49)
at com.emc.ksc.ejb.user.UserBeanTestClient1.main(UserBeanTestClient1.java:1077)Hi Young,
From the information you have supplied, my guess is that the SQL
string that OC4J is sending to SQL-Server is incorrect. So it may
help if you could see the exact SQL string. In order to see the
SQL string, I suggest you either run OC4J in "debug" mode, or try
using "P6 Spy".
The following web page has details on running OC4J in "debug" mode:
http://kb.atlassian.com/content/atlassian/howto/orionproperties.jsp
And here is the web page for "P6 Spy"
http://www.provision6.com/
And these other web sites may also be of help (in general):
http://www.orionserver.com
http://www.orionsupport.com
http://www.atlassian.com
http://www.elephantwalker.com
Good Luck,
Avi. -
Problem Using JSQL level 4 driver for SQL Server 2000
I am having problem , connecting to my Sql Server 2000 ( deployed on Windows 2000 Professional) using Microsoft JSQL level 4 Deriver .
I am doing it with following code,
Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
Connection conn = DriverManager.getConnection
("jdbc:microsoft:sqlserver://192.168.0.232:1433;databaseName=DBNew;user=nakhter;Password=java;");
It gives me following Exception ,
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Login failed for user 'nakhter'. Reason: Not associated with a trusted SQL Server connection.
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.TDSLoginRequest.processReplyToken(Unknown Source)
at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source)
at com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown Source)
at com.microsoft.jdbc.base.BaseConnection.open(Unknown Source)
at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:177)
I am usign my windows authentication usrname and password .
I has tried it with user "sa" but still same exception .
Could someone help me in this regard ?You need to switch SQL server to just use SQL Server authentication or both. The problem is that it is looking for a Windows NT account for nakhter with the password java. We get this all the time on new SQL Server installs if you just take the defaults.
-
Creating Database link from Oracle9i to SQL server 2000
Pls how do I create connectivity from Oracle9i database to query a table in an SQL server 2000 database.
Pls I need the necessary steps to take.
ThanxThere are 2 solutions that you can use:
1) Transparent Gateway for SQL Server
2) Generic Connectivity
Generic Connectivity is free with the database but has less features than the Gateway. For Generic Connectivity you will need to obtain an ODBC driver.
The steps for using the gateway are available in the gateway manual and the steps for using Generic Connectivity is available in Chap 7 of the Heterogeneous Connectivity Administrator's Guide. -
Connection with MS SQL Server 2000
Our Application server is in UNIX and we need to select data from a MS SQL Server 2000 table and this non SAP server is in Windows OS. Is it possible to establish a connection from our application server which is in UNIX to Non SAP server MS SQL Server 2000 which OS is Windows ? Again, how to call a MS SQL stored procedure from Oracle ?
Please help me.Hi there;
I am a starter with Java and need your help with this little program.
Create a console application project named Payroll that stores an employee's hourly pay rate and hours worked. Compute gross pay (hours times rate), withholding tax, and net pay (gross pay minus withholding tax). Withholding tax is computed as a percentage of gross pay based on the following:
Gross Pay: Withholding percentage :
0 to 300.00 ::::: :::::: Withholding percentage 10%
300.00 to 400.00:::::: Withholding percentage 12 %
400.01 to 500.00 :::::: Withholding percentage 15 %
500.01 and over ::::::: Withholding percentage 2 0 %
Thank you
Alex -
Code to connect jsp with MS SQL SERVER 2000
i have my SQL Server in my local machine and i need to conne ct my jsp page with that instance.
please provide a sample code to accomplish the same.
along with that can you please send me procedure to establish a DSN for SQL SERVER 2000.
thank you
with love
AnushhPrabuhttp://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSTL7.html
This is a good way of achieving what you want to do. But I should mention that the approach is suitable only for smaller applications.
Maybe you are looking for
-
On many documents that I try and print from the internet such as receipts, conformations, etc, using my Adobe Acrobat 8 Professional printer, the PDF shows some if not all the letters as symbols. I think it might be font issue, but do not know how t
-
Totally at a loss with Duplicates/Triplicates in iCloud on all devices
OK - first, I am not an Apple novice and know my equipment backwards and forwards....but this one has me totally stumped and wondering if anyone has any ideas... Second -- I have never used MobileMe, so this is not a migration problem.... Third - syn
-
How to post automatically earnings prior first consolidation
Hi Gurús: I´m starting a new consolidation in SEM-BCS. At the first consolidation (year 2007, period 12), one "consolidation unit" has earnings prior to this date. I would like to know if it´s possible in SEM to create an automatic task in order to d
-
In the last few weeks I have not been able to open Word attachments sent by email. Possibly coincidently I switched to Infinity about the same time. The email list shows those with attachments but on opening an email containing an attachment the 'doc
-
How do i get rid of the charge on my debit card for online backup?
how do i get rid of the charge on my debit card for toshiba online backup? Backup has not been functional for months. I called the customer service number and eventually was transfered to some apartment complex phone number.