Need help using Windows Server 2000 JDBC Driver on Red Hat 9

I successfully have a .jsp app running on windows server 2000 using JDBC
driver for SQL Server 2000. Which I installed in order to the following
Red Hat:
http://msdn.microsoft.com/MSDN-FILES/027/001/779/install.htm
I moved the .jsp app over to the Red Hat 9 server running Tomcat, while
keeping the MS SQL 2000 on windows. The issue I have is setting up the
JDBC driver for SQL Server 2000 on the Red Hat server.
I created a folder called /usr/java/MSSQLdriver and unzipped the tar file with
the driver for SQL Server 2000. And ran the install.ksh script.
The /usr/java/MSSQLdriver/lib has the following files within it:
msbase.jar, msutil.jar, & mssqlserver.jar
I chmod 0777 each of the *.jar files.
I then went into /etc/profile.d/tomcat.sh and adding the following:
CLASSPATH=.;/opt/msSQLjdbc/lib/msbase.jar;/opt/msSQLjdbc/lib/msutil.jar;/opt/msSQLjdbc/lib/mssqlserver.jar
Each time I login and pull up the termial I get the following error:
bash: /opt/msSQLjdbc/lib/msbase.jar: cannot execute binary file
bash: /opt/msSQLjdbc/lib/msutil.jar: cannot execute binary file
bash: /opt/msSQLjdbc/lib/mssqlserver.jar: cannot execute binary file
And can't connnect to the database within the .jsp app.
Is there anyone out there using DBC driver for SQL Server 2000 on the Red Hat server?
Michael

Sorry, I needed to correct some information of where the drivers were installed.
I created a folder called /usr/java/MSSQLdriver/new and untar the Microsoft file with the driver for SQL Server 2000. I ran the install.ksh script "sh install.ksh"
installed the driver into the default directory "/opt/msSQLjdbc".
The /opt/msSQLjdbc/lib has the following files within it:
msbase.jar, msutil.jar, & mssqlserver.jar
Michael

Similar Messages

  • MS SQL Server 2000 JDBC driver and databasename

    Hi,
    I have tried to switch from using WebLogic jDriver for MS SQL Server to using
    MS SQL Server 2000 JDBC Driver as recommended by Bea for WebLogic 7.0. I can get
    the connection pooling to work with the new driver but I cannot get it to work
    for certain database. It seems to always connect to the defaul database even though
    I specify the database in console with property databasename=DBNAME. Any ideas
    what could be wrong?
    Thanks!
    Cheers,
    Jouni

    We had this working fine with WLS7, this is the entry from our config.xml
    <JDBCConnectionPool DriverName="com.microsoft.jdbc.sqlserver.SQLServerDriver"
    InitialCapacity="50" MaxCapacity="50" Name="SQLServerConnectionPool" Password="{3DES}UkODkM1JaCU="
    Properties="user=Destin8;SelectMethod=cursor;databaseName=Destin8V3" ShrinkingEnabled="false"
    Targets="Destin8Cluster1" URL="jdbc:microsoft:sqlserver://mcp1:1433"/>
    Hope this helps..
    Pete
    "Jouni Peltonen" <[email protected]> wrote:
    >
    Hi,
    I have tried to switch from using WebLogic jDriver for MS SQL Server
    to using
    MS SQL Server 2000 JDBC Driver as recommended by Bea for WebLogic 7.0.
    I can get
    the connection pooling to work with the new driver but I cannot get it
    to work
    for certain database. It seems to always connect to the defaul database
    even though
    I specify the database in console with property databasename=DBNAME.
    Any ideas
    what could be wrong?
    Thanks!
    Cheers,
    Jouni

  • MS SQL Server 2000 JDBC Driver + Tomcat 4

    Will the MS SQL Server 2000 JDBC Driver (http://www.microsoft.com/SQL/downloads/2000/jdbc.asp) work with a JSP application on the Tomcat Server. The JSP is to access a MS SQL Server Database. Would it b able to do this with this Driver or do I need another one (type) for Tomcat?
    Thanx
    Yaz

    Hi Yasir,
    1. It should be OK.
    (2. Check the requirement to see if you have everything)
    --Paul.                                                                                                                                                                                           

  • Sql server 2000 JDBC driver

    I installed the Jdbc driver for sql server 2000 and set the classpath. When when I was trying to
    connect to the sql server database from a java program, I kept getting the following error;
    There was an error connecting to the DataSource: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Login failed for user 'jet123'. Reason: Not associated with a trusted SQL Server connection.
    The whole scenario is like this:
    I have a sql server 2000 installed in my windows 2000 machine, and I created a MISM\myBase server under the SQL Server group, where MISM is the name of my machine, and myBase is the name of the sql server. Under the MISM\myBase server I created a database named "Aromatherapy". I added new login(username:jet123, passwd:1001) to the MISM\myBase server and also added user jet123 to the Aromatherapy database. The login(jet123, 1001) is my user name and passwd to my windows machine and has the administrator privillege.
    Here is the code:
    Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
    Connection connection = DriverManager.getConnection("jdbc:microsoft:sqlserver://128.2.76.102:1433;databasename=Aromatherapy;user=jet123;password=1001");
    Could anyone help?
    Thanks,
    David

    make sure that user jet123 access to the sql server used by ms-sql queryanlayzer
    not?
    first check if your sql authentication mode is windows and sql server
    or, allow the permistion to jet123 to access the database, by ordinary to be db_owner.

  • Using SQL Server 2000 XA Driver

    first off, I am a newbie
    I installed Workshop 8.1, and setup a Domain to use by creating a Weblogic Domain
    and then extending it with a Workshop extension.
    I want to use it to connect to a SQL Server 2000 backend (I am imitating the Java
    Control tutorials without using the Tutorial part to see what problems I encounter).
    I want to used the 4xa driver, but none of them work, although if I try to use
    the non-xa driver it is fine.
    I remember reading the Workshop can only have one non-xa driver, and that it also
    must use the cgDatasource via pointbase.
    I would be very happy to use the s2k 4xa driver, but when I try it with an XA
    in weblogic I always get "no suitable driver found", regardless of whether it
    is weblogics, data-directs, j-net-directs, etc. This happens even if it is the
    only pool, so I know it is not connected to pointbase.
    I even ran the osql command to set my sql server up for stored procedure support.
    For now what I have done is switched the cgPool over to an xa driver, and have
    the sql as a non-xa (which works fine).
    Any ideas?
    thanks!
    m

    Matt,
    Then lesson learnt is a good. Always use the console to modify services on
    an existing domain.
    Cheers,
    Raj Alagumalai
    WebLogic Workshop Support
    "Matt" <[email protected]> wrote in message
    news:[email protected]...
    >
    >
    thanks for the suggestion!
    What I ended up doing was playing around and I determined what I think Iwas doing
    that was causing the problem. I was using the Weblogic ConfigurationWizard to
    change the JDBC pools and test them. When they did not work there Icancelled
    it out.
    I think what this did was change the pointbase location in thepointbase.ini in
    my server to go to the %bea_home%\common\eval\pointbase. Since theworkshop db
    was located in my server dir, and not that one, it was throwing an error.
    I got around it by copying back the old config.xml, making some changesthere
    and also to the pointbase.ini, and also launching the pointbase manuallyfrom
    my server dir when configuring it.
    So I have learned my lesson, use the console, not the configurationwizard, after
    initial setup. If I had the time I would try to recreate it so I could letBEA
    know, but I am just happy that it is working...
    thanks again for your help!
    m
    "Raj Alagumalai" <[email protected]> wrote:
    Matt,
    We did have some pointbase issues in v1, one workaround is to create
    a
    backup of the pointbase files, after an install, and then unzip them,
    if a
    crash occurs.
    Hope this helps.
    Thanks
    Raj Alagumalai
    WebLogic Workshop Support
    "Matt" <[email protected]> wrote in message
    news:[email protected]...
    thanks, I guess I assumed that because the type 4 driver worked, thetype
    4xa should,
    and have the files already included via the weblogic.jar. oops.
    I added the wlsqlserver.jar, wlutil.jar, and wl.base.jar to my
    classpath.
    Now
    it appears to work... yeah!
    Unfortunately I have encountered a problem that has happened to meat
    least three
    times. The "workshop" db in pointbase is gone. The only solution Iknow of
    at
    this point is to uninstall and reinstall. I can not laundh the
    piontbase
    console
    because it requires the db "workshop", or at least appears to - acatch-22.
    I also can't simply reinstall BEA over the top because it will notlet me,
    and
    I am not sure what part to uninstall, reinstall to get that db back,short
    of
    uninstalling/reinstalling the whole thing. Since this has happenedto me
    three
    times (I am a master at breaking things - I have also wiped out theconfig.xml
    through extending the domain a couple of times), I should probablystart
    experimenting
    since I suspect that I will unfortunately do this again.
    Thanks for your help, it appears that the classpath inclusion of thosefiles might
    have been exactly what was needed for the 4xa to work!
    m
    "Raj Alagumalai" <[email protected]> wrote:
    Hello Matt,
    A driver being listed in the connection pool drop down, doesn't
    necessarily
    mean that the driver is on the classpath.
    Can you try placing the driver jar in the server classpath ?
    The requirement of one non xa driver is due to the fact that JMS
    cannot
    work
    with an XA data source.
    Hope this helps.
    Regards,
    Raj Alagumalai
    WebLogic Workshop Support
    "Matt" <[email protected]> wrote in message
    news:[email protected]...
    first off, I am a newbie
    I installed Workshop 8.1, and setup a Domain to use by creating
    a
    Weblogic
    Domain
    and then extending it with a Workshop extension.
    I want to use it to connect to a SQL Server 2000 backend (I am
    imitating
    the Java
    Control tutorials without using the Tutorial part to see what
    problems
    I
    encounter).
    I want to used the 4xa driver, but none of them work, although if
    I
    try to
    use
    the non-xa driver it is fine.
    I remember reading the Workshop can only have one non-xa driver,
    and
    that
    it also
    must use the cgDatasource via pointbase.
    I would be very happy to use the s2k 4xa driver, but when I try
    it
    with an
    XA
    in weblogic I always get "no suitable driver found", regardless
    of
    whether
    it
    is weblogics, data-directs, j-net-directs, etc. This happens even
    if
    it is
    the
    only pool, so I know it is not connected to pointbase.
    I even ran the osql command to set my sql server up for stored
    procedure
    support.
    For now what I have done is switched the cgPool over to an xa
    driver,
    and
    have
    the sql as a non-xa (which works fine).
    Any ideas?
    thanks!
    m

  • Need Help On How to Install JDBC Driver

    I've downloaded the JDBC driver and set the CLASSPATH environmental variable to the .jar file that is the same one I downloaded that is in the oracle folder. (not sure why I have to download it again) But, there are no other instructions on installation. I also tried copying the jdbc folder I downloaded to replace the one within the oracle folder and that didn't work either. If I type "import oracle." etc in netbeans it does not recognize the class / package. I can't be sure what the installation process is.
    I can't find clear instructions on installing JDBC other than the readme which says all you have to do is set the CLASSPATH, but it doesn't even mention what to do with the files you download. I found a developers reference that says all the things to check to make sure it installed correctly, but that is after the fact and I don't know how to get there.
    Thank you

    I already have the CLASSPATH set in the system environmental variables for ojdbc6.jar and orai18n.jar and it does not work.
    '.;C:\Program Files\Java\jre1.6.0_06\lib\ext\QTJava.zip;C:\app\0\product\11.1.0\db_1\jdbc\lib\ojdbc6.jar;C:\app\0\product\11.1.0\db_1\jlib\orai18n.jar"
    Also, I'd rather not have to run a TCP/IP listener so the OCI based JDBC driver would be preferred. Do I need to the OCI and the OCI based JDBC? (I read there is a difference) If so, could somebody give me the URL's because I can't find them.
    I find this very confusing. I found the page for JDBC, but that takes me to the JDBC page with many downloads and then they are all thin versions. So at the bottom it has a small link for "platform specific JDBC-OCI libraries See the instant client" so I click on the "instant client" (whatever that is) but that just has a download link for a zip file that has a readme with nothing other than a timestamp and a useless header with no information. This is just taking me in circles.
    What I want to do is start programming java in netbeans using JDBC. Thanks.

  • Need help using iPod as external hard drive

    Hi. Will soon be receiving a new iMac to replace my old Dell PC and had a question about how to get all of the contents of the Dell hard drive onto my new iMac using my 60GB iPod. I am a complete computer novice.
    1. How do I do it?
    2. The iPod is currently formatted for my Dell PC. Once I have transferred all of my files (including music) over to the iMac, do I need to reformat the iPod? How do I do this?
    3. Will all my playlists in iTunes be saved when I do the transfer?
    Any advice or direction to links would be greatly appreciated.
    Thanks.
    iMac G5    

    "how to get all of the contents of the Dell hard drive onto my new iMac using my 60GB iPod"
    If everything you've got will fit then enable your iPod for disk use and drag what you want onto it, or do it a bit at a time: Using your iPod as a hard disk
    There is a good general guide to switching from Windows to Mac at the following link that touches on moving music as well How to Move to a Mac - Get your stuff from your PC to your new Mac
    "1. How do I do it?"
    Have a look at this guide specifically on moving iTunes: How to use your iPod to move your music to a new computer
    "2. The iPod is currently formatted for my Dell PC. Once I have transferred all of my files (including music) over to the iMac, do I need to reformat the iPod? How do I do this?"
    If you don't intend using your iPod on Windows again the you can reformat it by restoring it on the Mac: Restoring iPod to Factory Settings
    "3. Will all my playlists in iTunes be saved when I do the transfer?"
    If you follow the instructions in the guide you should have your whole library just as it was.

  • SQL Server 2000 Jdbc connection

    I just have a small question and I was wondering if anyone could help me out with it? I'm using a JSP page to connect up to the database on the server. I have the JDBC driver and am trying to connect from my machine to SQL Server 2000 on our server. The thing is I'm having a little trouble with the connection string.
    (i am using the Microsoft SQL Server 2000 JDBC Driver)
    Can you use Windows Authentication when using the connection string?
    Also i tried using a SQL Server connection but it gave me the error : "com.microsoft.sqlserver.jdbc.SQLServerExcepti on: Login failed for user 'Arun'. The user is not associated with a trusted SQL Server connection. "
    This is the connection string
    Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
    Connection connection1 = java.sql.DriverManager.getConnection("jdbc:sqlserver://localhost:1433;Database=BusinessDatabase","Arun","testpass");can you set it up for windows authentication?
    thanks for any help anyone can give me with this! <img src="http://www.java-forums.org/images/smilies/smile.gif" border="0" alt="" title="Smile" width="16" height="16" />

    Hi,
    Yes, it is possible to use Windows Authentication but you will need to make sure the sqljdbc_auth.dll file is in your system path specified with the -Djava.library.path="xxx" option. The dll is included as part of the JDBC Driver download.
    Hope this helps.
    Ben.

  • Java Web Server 6.1 & Pooled SQL Server 2000 JDBC Connections

    If anyone can shed some light on this problem I would greatly appreciate it.
    I am unsuccessfully trying to use a database connnection retrieved from a pool configured using Java System Web Server 6.1 with the SQL Server 2000 JDBC Driver.
    The background:
    1. I have downloaded the SQL Server 2000 JDBC Driver and installed it on the web server.
    2. I used the Administration GUI to add the .jars(namely msbase.jar, msutil.jar, and mssqlserver.jar), to the classpath.
    3. Upon creating a simply JSP to access connection metadata using the direct connect method, ie.,
    Class.forName( com.microsoft.jdbc.sqlserver.SQLServerDriver);
    Connection con = DriverManager.getConnection( "jdbc:microsoft:sqlserver:// ....
    I am shown a successful output of...
    JDBC Test
    Registering JDBC Driver
    driverClass: com.microsoft.jdbc.sqlserver.SQLServerDriver loaded and registered.
    Driver Information
    Driver Name: SQLServer
    Driver Version: 2.2.0037
    Database Information
    Database Name: Microsoft SQL Server
    Database Version: Microsoft SQL Server 2000 - 8.00.760 (Intel X86) Dec 17 2002 14:22:05 Copyright (c) 1988-2003 Microsoft Corporation Enterprise Edition on Windows NT 5.2 (Build 3790: )
    Avalilable Catalogs
    catalog: master
    catalog: msdb
    catalog: Northwind
    catalog: pubs
    catalog: tempdb
    4. This tells me that the web server has access to the files necessary and the classpath is configured correctly.
    Now the fun begins...
    In order to set up the JDBC Connection Pool I have done the following...
    1. I have created a web.xml file for the web-app which contains the JSP and includes the following entry
    <resource-ref>
    <res-ref-name>jdbc/devjwscp</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    2. I have used the "JDBC Connection Pools" link under the "Java" tab in the Administration GUI to create a connection pool.
    "Pool Name:" is "devjwscp"
    "DataSource Classname" is set to "com.microsoft.jdbcx.sqlserver.SQLServerDataSource". All other properties have been left alone.
    3. I have used the "JDBC Resources" link under the "Java" tab in the Administration GUI to create a JNDI resource.
    "JNDI Name" is set to "jdbc/devjwscp"
    "Status" is "true"
    "Pool Name" is "devjwscp"
    The web-app JSP comes back with the following exception.
    JDBC Test
    Exception Thrown
    Cannot create resource instance
    javax.naming.NamingException: Cannot create resource instanceorg.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:167)
    javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:301)
    org.apache.naming.NamingContext.lookup(NamingContext.java:834)
    org.apache.naming.NamingContext.lookup(NamingContext.java:181)
    org.apache.naming.NamingContext.lookup(NamingContext.java:822)
    org.apache.naming.NamingContext.lookup(NamingContext.java:181)
    org.apache.naming.NamingContext.lookup(NamingContext.java:822)
    org.apache.naming.NamingContext.lookup(NamingContext.java:181)
    org.apache.naming.NamingContext.lookup(NamingContext.java:822)
    org.apache.naming.NamingContext.lookup(NamingContext.java:194)
    org.apache.naming.SelectorContext.lookup(SelectorContext.java:183)
    javax.naming.InitialContext.lookup(InitialContext.java:347)
    _jsps._jdbctest_jsp._jspService(_jdbctest_jsp.java:236)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
    com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java:667)
    com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:447)
    com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:363)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
    org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
    com.iplanet.ias.web.WebContainer.service(WebContainer.java:586)
    4. FYI my server.xml <RESOURCE> entry looks as is shown below
    <RESOURCES>
    <JDBCCONNECTIONPOOL name="devjwscp" datasourceclassname="com.microsoft.jdbcx.sqlserver.SQLServerDataSource" steadypoolsize="8" maxpoolsize="32" poolresizequantity="2" idletimeout="300" maxwaittime="60000" connectionvalidationrequired="off" connectionvalidationmethod="auto-commit" validationtablename="" failallconnections="off" transactionisolationlevel="read-uncommitted" isolationlevelguaranteed="off">
    <PROPERTY name="serverName" value="secret"/>
    <PROPERTY name="portNumber" value="1433"/>
    <PROPERTY name="User" value="secret"/>
    <PROPERTY name="Password" value="secret"/>
    </JDBCCONNECTIONPOOL>
    <JDBCRESOURCE jndiname="jdbc/devjwscp" poolname="devjwscp" enabled="on"/>
    </RESOURCES>
    What gives? Do I need to add anything else to the server.xml? I know the server.xml for JWS differs from Apache. I have done an exhaustive search of the web. Many other individuals have had the same thing happen, buy none of them offered any explaination or remedy.
    Thanks in advance.

    Hi,
    Were you able to get it working.
    I am using
    Sun ONE Web Server 6.1SP2 B04/07/2004 18:47
    I am still getiing the same error. I also suspect that there is something wrong with thr DTD too. It gives me the following when the server comes up.
    Sun ONE Web Server 6.1SP2 B04/07/2004 18:47
    Listening for transport dt_socket at address: 1699
    info: CORE5076: Using [Java HotSpot(TM) Server VM, Version 1.4.2_04] from [Sun M
    icrosystems Inc.]
    info: WEB0100: Loading web module in virtual server [https-AW-NYNY-D609628.nna.
    wdpr.disy.com] at [acsanet]
    info: WEB0100: Loading web module in virtual server [https-AW-NYNY-D609628.nna.
    wdpr.disy.com] at [testing]
    failure: WEB0120: XML error parsing deployment descriptor [C:/Sun/WebServer6.1/h
    ttps-AW-NYNY-D609628.nna.wdpr.disy.com/webapps/https-AW-NYNY-D609628.nna.wdp
    r.disy.com/testing/WEB-INF/sun-web.xml]
    Failed to create the XML-DOM Document. Check your XML to make sure it is correc
    t.org.xml.sax.SAXParseException: Character conversion error: "Unconvertible UTF-8
    character beginning with 0xa0" (line number may be too low).
    at org.apache.crimson.parser.InputEntity.fatal(InputEntity.java:1100)
    at org.apache.crimson.parser.InputEntity.fillbuf(InputEntity.java:1072)
    at org.apache.crimson.parser.InputEntity.isXmlDeclOrTextDeclPrefix(Input
    Entity.java:914)
    at org.apache.crimson.parser.Parser2.maybeXmlDecl(Parser2.java:1183)
    at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:653)
    at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
    at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
    at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl
    .java:185)
    at org.netbeans.modules.schema2beans.GraphManager.createXmlDocument(Grap
    hManager.java:711)
    at org.netbeans.modules.schema2beans.BaseBean.createGraph(BaseBean.java:
    2075)
    at com.iplanet.ias.web.WebContainer.loadWebModule(WebContainer.java:695)
    at com.iplanet.ias.web.WebContainer.loadStandaloneWebModule(WebContainer
    .java:626)
    at com.iplanet.ias.web.WebContainer.loadWebModules(WebContainer.java:600)
    at com.iplanet.ias.web.WebContainer.createVS(WebContainer.java:374)
    at com.iplanet.ias.server.J2EERunner.createVS(J2EERunner.java:223)
    info: WEB0100: Loading web module in virtual server [https-AW-NYNY-D609628.nna.wdpr.disy.com] at [search]
    config: HTTP4292: flex-init: Log file C:/Sun/WebServer6.1/https-AW-NYNY-D609628.
    nna.wdpr.disy.com/logs/access should be removed before changing its format
    info: HTTP3072: [LS ls1] http://AW-NYNY-D609628.nna.wdpr.disy.com:80 ready to
    accept requests
    startup: server started successfully
    info: CORE3274: successful server startup
    the sun-web.xml is as below:
    <?xml�version="1.0"�encoding="UTF-8"?>
    <!--
         Copyright 2002 Sun Microsystems, Inc. All rights reserved.
    -->
    <!DOCTYPE�sun-web-app�PUBLIC�"-//Sun�Microsystems,�Inc.//DTD�Application�Server�8.0�Servlet�2.4//EN"�"http://www.sun.com/software/appserver/dtds/sun-web-app_2_4-0.dtd">
    <sun-web-app>
         <resource-ref>
              <res-ref-name>jdbc/oraclePool</res-ref-name>
              <jndi-name>jdbc/oraclePool</jndi-name>
         </resource-ref>
    </sun-web-app>
    Am I using the right DTD ?
    Please let me know.
    Thank you.
    -- Martin Louis

  • Windows Authentication using Microsoft SQL Server 2005 JDBC Driver

    Hi,
    I am using Microsoft SQL Server 2005 JDBC Driver to connect to SQL Server 2000 database, can anyone tell me the connection URL for windows authentication. SQL authentication is working fine.
    DataDirect has drivers for windows authentication but I am not using it.
    Regards
    Arup

    You can't do it with the Microsoft driver. There's a free driver called jTDS that may be able to (I don't know).
    (edit) Looking at their FAQ it looks like it does:
    http://jtds.sourceforge.net/faq.html

  • I've just moved from PC to Mac, with my PC i and using Vmware Player I used to work on 2 Virtual M/C both on 2 external drives, one Windows Server 2000 as operating system and the sec. WindowsXP, is their a way to open these m/c on my mac

    I've just moved from PC to Mac, with my PC i and using Vmware Player I used to work on 2 Virtual M/C both on 2 external drives, one Windows Server 2000 as operating system and the sec. WindowsXP, is their a way to open these m/c on my mac

    I am so glad to hear about your success. As you are new to the Mac environment, I will be glad to help you more.
    You said: "I can't change the setup yet but i have access". I don't understand what you mean about changing the setup! Please let me know more about that.
    I also recommend to use Boot Camp, which allows you to install windows on a partition of your internal hard drive. This has many benefits. First, you can restart your computer and start up in windows. This makes your Mac device a complete windows machine and you gain the most from your hardware when working in Windows. Second, if a problem occures to your Mac OS X, you can restart your machine in Windows and prevent your data from getting lost. Third, you can import the Windows installed on the boot camp partition in to the Mac OS X using VMWare Fusion and work with it as a virtual machine. In this situation, VMWare enables you to work directly with your Windows in the boot camp partition. So it does not create a file package for the virtual machine in OS X.
    Regarding the data safety and reliablity, I strongly recommend using Time Machine. You can also set it up to back up your virtual machines or not. This is possible to set up in the Virtual Machine Preferences Page in VMWare Fusion, or in the Time Machine preferences page in the System Preferences app of OS X.
    Please don't hesitate to ask any other question. I will be glad to help you.

  • Sql server 2000 type4 driver for jdbc connection error

    hello,
    I am trying to connect m ms sql server 2000 database server with type 4 driver.But I am getting an connection error like *"Error Establishing Socket"* .Can any one please help me out?

    Well i personally prefer usage of open source MS SQL SERVER 2k jdbc driver called jtds instead of the driver provided by MS themselves(which is proproteriry) as i had similar problem which i personally encountered when i was using it.
    go through the below link for further info.
    http://jtds.sourceforge.net/
    REGARDS,
    RaHuL

  • Insert data 32K into a column of type LONG using the oracle server side jdbc driver

    Hi,
    I need to insert data of more than 32k into a
    column of type LONG.
    I use the following code:
    String s = "larger then 32K";
    PreparedStatement pstmt = dbcon.prepareStatement(
    "INSERT INTO TEST (LO) VALUES (?)");
    pstmt.setCharacterStream(1, new StringReader(s), s.length());
    pstmt.executeUpdate();
    dbcon.commit();
    If I use the "standard" oracle thin client driver from classes_12.zip ("jdbc:oracle:thin:@kn7:1521:kn7a") every thing is working fine. But if I use the oracle server side jdbc driver ("jdbc:default:connection:") I get the exception java.sql.SQLException:
    Datasize larger then max. datasize for this type: oracle.jdbc.kprb.KprbDBStatement@50f4f46c
    even if the string s exceeds a length of 32767 bytes.
    I'm afraid it has something to do with the 32K limitation in PL/SQL but in fact we do not use any PL/SQL code in this case.
    What can we do? Using LOB's is not an option because we have client software written in 3rd party 4gl language that is unable to handle LOB's.
    Any idea would be appreciated.
    Thomas Stiegler
    null

    In rdbms 8.1.7 "relnotes" folder, there is a "Readme_JDBC.txt" file (on win nt) stating
    Known Problems/Limitations In This Release
    <entries 1 through 3 omiited for brevity >
    4. The Server-side Internal Driver has the following limitation:
    - Data access for LONG and LONG RAW types is limited to 32K of
    data.

  • Single server solution for RDS / TS / RDP using Windows Server 2012 R2

    Planning on setting up a small single server and  need this functionality:
    * 3 local users runnnig Windows 7 Home Premium needs to access files on the server
    * The same 3 users should also be able to connect from home (PC, Mac, iPhone) and run an application on the server. (Session-Based Remote Desktop).
    We want to use Windows Server 2012, and found out that Essentials does not support RDP, so that leaves Foundation and Standard versions.
    However, I also found out that in WS 2012 the RDP can not be on the same server as the Domain Controller, and we therefor needs to run 2 server instances on our hardware. I think this starts to look way to complicated for what we want to do, but found out
    that WS 2012 R2 allows a single server to run RDP (See TechNet article 2833839).
    So we will go for Windows Server 2012 R2, either Foundation or Standard to set up our RDP.
    So now the question: Will that solution work with our local machines running Windows 7 Home Premium, as they cannot connect to a domain? Can we set up some kind of simple file share or Workgroup to acces files locally while still keeping the RDP
    functionality on the server?
    And, will WS 2012 Foundation R2 do this as well as WS 2012 Standard R2?
    (I have been asking several locat MS representatives to find a solution to our needs, but no one seems to know how this works....of cause we could just get 2 WS 2012 Standard server instances, run one as DC and on as RDCB and upgrade all our clients to Win
    7 Pro, but we would like a solution with minimal investment in time and money)
    Rgds
    Petter

    Hi Ryan, 
    and thanks for the answer! I do not know how to do "multiple quote" in this forum so I do it this way:
    "have you considered virtualisation, as you can run multiple virtual machines under one licence. I think this would be the cheapest and most efficient use of your money. Upgrading your clients to Windows 7 pro would allow you to have domain control
    Single Sign On SSO. "
    This is the "official" solution I think: Upgrade all clients to Win 7 Pro and run two instances of Win Server 2012 Standard on the server.
    However, I was hoping to get away with something a bit more Quick & Dirty.....;-) We do not have big security issues and will have a good backup system, and I think for 3 users only, it will be more work trying to centralise administration like updating,
    backups etc, than to just go to each machine and do what is needed. 
    We are good with computers/Windows but have no Server experience. A server guy will help us get started, but I dont want him around after that, so it must be a very simple solution.
    Also, installing 2 instances of WS 2012 and upgrading all 3 clients to Win Pro, and then installing all software and settings on the clients into the new domain user accounts on these clients is quite a lot of work. So I was hoping to keep only existing local
    users on the client machines and only have some kind of file share thing going on with the server disks that we need to access. So perhaps use a Workgroup instead of a domain, if that works with the RDS setup?
    "Option 1
    2 virtual machines 1x DC and 1x RDS server."
    So, if we set up RDS this way (so we can log in remote and run our application session-based on the server), can we keep the local clients running Windows Home Premium using our current local user logins (ie no domain user accounts created on the client machines,
    as this is impossible in Home versions) and still access the server disks somehow, or is it impossible? 
    Another question is if it is stupid/a really bad solution...but I still want to know if it is possible....;-)
    "Option 2 
    2 virtual machines 1x DC and 1x RDS server.
    You can configure your RDS solution as a domain joined platform and will still be able to access resources from the local device as you can map local drives to the session host. http://www.serverintellect.com/support/techfaq/drive-rdp/
    Your users would have two sets of credentials, one for the local client and one for the domain."
    I do not want to access files over VPN or RDP, we only want to run an application on the server from remote (Session-Based Remote Desktop). However when we use the local clients we want to access files on the server, and then we access huge image and film files
    on fast RAID drives, so local network speed must be top speed. Also if possible we would like to not upgrade to Win Pro, and then joining a domain is not possible.
    "Option 3
    1x Server
    The second option would be to manually deploy the session host role and licencing role to a work group server. This would limit access to RDP only and you would loose web access functionality."
    I think this is what I was hoping for. It seems that the new R2 release of WS 2012 allows you to rund RDP and Domain Controller roles on the SAME instance of the server. That sounds nice, it limits what we need to keep track on and minimises the load on the
    server that needs to act as a very fast file server locally.
    However, can we do this and still keep file acces with only Windows Home (no domain) in the local clients (same question as above under "Option 1")?
    Rgds
    Petter

  • I need help installing windows 8.1 on my new laptop help me

    i need help installing windows 8.1 on my new laptop Hp Pavilion g7-2298nr help me it installs from store no problem then ask to restart then i restart it it gets stuck at windows logo and drive light on side not blinking i have shut down then it starts fine how to fix this problem so i can get it to install i need do it tonight reply before 8pm

    Hello,
    Thank you for posting in the HP Support Forum.
    Your computer comes with Win 8 pre-installed but one of the steps to install/run Windows 8.1 is having updated drivers for Windows 8.1
    Please, go to Control Panel -> System (or Start -> type winver and open) and verify what is your current version - if it is Windows 8 or 8.1
    Windows 8 is version  6.2.x
    Windows 8.1 is version  6.3.x
    If Windows 8 in place, then , please read this article and enroll in the steps:
    http://www8.hp.com/us/en/pdf/instruct_update_win8.​1_EN_tcm_245_1508074.pdf
    Update to the latest drivers prior and post installation respectively for win 8/8.1 :
    http://support.hp.com/us-en/product/HP-Pavilion-g7​-2200-Notebook-PC-series/5296086/model/5333384/dri​...
    Best wishes,
    IT_WinSec
    Hewlett-Packard employee | HP Enterprise Services
    Although I work for HP, I express my personal opinion.
    Visit www.hp.com/makeitmatter
    --Say "Thanks" by clicking the Kudos Thumb Up in the post that you find useful.
    --Please mark the post that solves your problem as "Accepted Solution"

Maybe you are looking for