JDBC DRIVER COMPATIBILITY PROBLEM

hi all,
im using windows 98 ,jdk 1.3, and oracle 9i
on compiling the program i'm getting the error
cannot resolve symbol
class OracleDriver()
package driver
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver()
the error which it is giving is that it cant resolve symbol
the class path is right (i guess it should be)
OracleDriver class is present in oracle.jdbc.driver package but then too it cant resolve the symbol
what do u think is the prob
suggest some solution
i have to do database connectivity with servlets
help me
pallavi

I think you've made some syntax error,
try to change this sentence "DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver()"
to "DriverManager.registerDriver(oracle.jdbc.driver.OracleDriver)"
or you can just write like this:
Class.forName("oracle.jdbc.driver.OracleDriver")
String conurl="jdbc:oracle:thin:@localhost:1521:orcl";
Connection con=DriverManager.getConnection(conurl,"username","password");
hope it will do some help

Similar Messages

  • CF 10 getting random resets : Detail: [Macromedia][SQLServer JDBC Driver]A problem occurred when attempting to contact the server (Server returned: Connection reset).

      These resets appear to coincide with a clearing of the cached queries for the DSN from memory, breaking all my sub queries that try to use the initial cached one.  I am grasping at straws to discover the reset culprit, the DSN tests always show OK, there is not packet loss at the switch level.  If anyone has some suggestions, I am all ears!
      The resets are completely random and under no load.  My sql 2008 r2 box is set to unlimited connections.
    An example of a DSN setup is :
    Maintain Connections [x]
    String Format [ ]
    Max Pooled Statements 100
    Timeout 20 Interval 7
    Query Timeout 0
    Login Timeout 30
    CLOB [ ]
    BLOB [ ]
    Long Text Buffer 64000
    Blob Buffer 64000
    Validate Connection [ ]
    I am running the following :
    CF Enterprise 10,0,13,287689
    Tomcat 7.0.23.0
    Ubuntu 1204 x64
    Java VM 20.4-b02
    Java 1.6 (Sun Microsystems Inc)
      I have seen it suggested to uncheck the maintain connections advanced options but this doesn't seem like a good approach to the problem and will cause more stress on the sql box IMHO.
      I have also seen it suggested to enable Validate Connection but documentation on this is a bit sparse...
    Here are more examples of the initial reset error and then the subsequent cache related errors :
    Database Error Information:
    Native Error Code: 0
    SQL State: 08S01
    Query Error: [Macromedia][SQLServer JDBC Driver]A problem occurred when attempting to contact the server (Server returned: Connection reset). Please ensure that the server parameters passed to the driver are correct and that the server is running. Also ensure that the maximum number of connections have not been exceeded for this server.
    Custom Error Code: 08S01
    Database Error Information:
    Native Error Code: 0
    SQL State: n/a
    Query Error:
    Query Of Queries runtime error.
    Table named GlobalDetails was not found in memory. The name is misspelled or the table is not defined.
    Custom Error Code: n/a
    Thanks in advance to anyone who has a suggestion.

    Hi, could DBA check MS SQL Server connection logs???
    May be server has some limits (for example sessions, memory and e.t.c.)

  • JDBC Driver compatibility

    Hi,
    I would like to find out if the Oracle9i 9.2.0.1 JDBC Drivers can be used to access an Oracle 8.1.7 database.
    If somebody can provide a pointer to documentation on this topic, I would appreciate it.
    Thanks
    Sam

    I think you've made some syntax error,
    try to change this sentence "DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver()"
    to "DriverManager.registerDriver(oracle.jdbc.driver.OracleDriver)"
    or you can just write like this:
    Class.forName("oracle.jdbc.driver.OracleDriver")
    String conurl="jdbc:oracle:thin:@localhost:1521:orcl";
    Connection con=DriverManager.getConnection(conurl,"username","password");
    hope it will do some help

  • Import oracle.jdbc.driver.* problem.

    I've got classes111b.zip from this site, and put it into my $ORACLE_HOME/jdbc/lib; add this: "$ORACLE_HOME/jdbc/lib/classes111b.zip" to my CLASSPATH; use env command, I can see it, but when I visit my jsp page, there occured an error:
    Error: 500
    Location: /tmp/connectdb.jsp
    Internal Servlet Error:
    org.apache.jasper.JasperException: Unable to compile class for JSP/jakarta-tomcat/work/localhost_8080/_0002ftmp_0002fconnectdb_0002ejspconnectdb_jsp_7.java:20: Package oracle.jdbc.driver not found in import.
    import oracle.jdbc.driver.*;
    And jdbc readme file says:
    The Oracle installer installs the JDBC Drivers in the
    [ORACLE_HOME]/jdbc directory.
    Where is the Oracle installer? How could I do?
    Thanks in advance.

    Hello
    here is the modified code
    import java.sql.*;
    import oracle.jdbc.driver.*;
    public class Oracle_Test
    public static void main(String args[])
    String sql = "";
    String strdisp = "";
    Connection con = null;
    //Statement cs = null;
    CallableStatement cs = null;
    ResultSet rs = null;
    try
    Class.forName("oracle.jdbc.driver.OracleDriver");
    System.out.println("Hello 1");
    //con = DriverManager.getConnection("jdbc:oracle:thin:@192.1.1.70:1521:epatra","kamna_local","kamna");
    con = DriverManager.getConnection("jdbc:oracle:thin:@10.8.51.182:1521:DEVPG","RINGERS","RINGERS");
    System.out.println("Hello 2");
    try
    CallableStatement proc = con.prepareCall("{ call PHONEGEN.HOME_MDN_SEARCH_RINGER(?, ?, ?, ?, ?, ?) }");
    proc.setString(1, "2231015897");
    proc.setString(2, "1071706417");
    proc.registerOutParameter(3, OracleTypes.VARCHAR);
    proc.registerOutParameter(4, OracleTypes.VARCHAR);
    proc.registerOutParameter(5, OracleTypes.VARCHAR);
    proc.registerOutParameter(6, OracleTypes.VARCHAR);
    System.out.println("Hello 3");
    boolean x = cs.execute();
    String homemin = proc.getString(3);
    String homemdn = proc.getString(4);
    String phoneType = proc.getString(5);
    String outStatus= proc.getString(6);
    System.out.println("Hello 3");
    proc = null;
    con.close();
    con = null;
    catch(NullPointerException sqle)
    sqle.printStackTrace();
    catch(Exception ex)
    ex.printStackTrace();
    System.out.println("error in finding class "+ex);
    The Exception comes at this
    CallableStatement proc = con.prepareCall("{ call PHONEGEN.HOME_MDN_SEARCH_RINGER(?, ?, ?, ?, ?, ?) }");
    And here is the output when the rpogram runs....
    Hello 1
    Hello 2
    Hello 3
    java.lang.NullPointerException
    at Oracle_Test.main(Oracle_Test.java:31)
    Thanks for your help.....
    Looking for a solution soon
    Regards
    Abhinav

  • Jdbc driver & charset problem

    The charset of my oracle database is ISO8859p15.
    SO I need to add nslcharset12.jar in my classpath.
    In a servlet engine like Tomcat or Resin I MUST add this jar to the startup script of the servlet engine. But with Oracle IAS, I'm not able to install it.
    I try to add the jar in the WEB-INF/lib of my webapps, I try to replace the jar in the ORACLE_HOME/jdbc/lib, I try to put it in ORACLE_HOME/lib but I receive allways an exception during database query like :
    - UNKNOWN CHARSET ID 46
    - Class violate classloader loading.
    I have the same behavior under Weblogic.
    What is the correct way to install this jdbc driver(I try oci & thin connection).

    391347,
    More recent versions of OC4J (stand-alone) use the "j2ee/home/applib" subdirectory for extra JAR files.
    On my OC4J 9.0.4 installation, there is a "readme.txt" file in that subdirectory. Here are its contents:
    This directory should be used to place common jar files,
    and they'll be loaded by default and will be available to
    all j2ee applications deployed to this OC4J instance.Note, however, that OC4J can be configured to use a different directory. The default configuration uses the "applib" subdirectory, so if you have not changed the default configuration, putting your "nslcharset12.jar" file in that directory should work.
    Good Luck,
    Avi.

  • Oracle.jdbc.driver.OracleDriver() problem

    Hi guys. I am taking a dbsystems class at school. We are required to connect to the schools oracle db using this package: oracle.jdbc.driver
    the code provided by the profesor is meant to be used by logging into unix accounts on the schools servers and running our java programs remotely. I've been trying to connect by running the java program localy.
    i'm using netbeans 4, with java5. netbeans tells me that this oracle.jdbc.driver package doesn't exist.
    here is the connection part of the code:
    //create the oracle driver
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    //create a connection object
    Connection conn = DriverManager.getConnection("jdbc:oracle:oci:@<blahblahblah>", "<myusername>", "<mysuperduperprivatepassword>");
    I have followed many forums and threads on the web. Most of them seem to be fixed just by renaming the classes12.zip file to .jar, placing them in the jre/lib folder and setting the path, but they all seem to be running the java program on the same computer as the database, where as i'm trying to connect remotely. i still tried following the instructions, and this still hasn't worked for me. so, my question is, will this even work since i am trying to connect remotely? and if not, how can i connect remotely to a database using only java? thanks
    gyro

    when you say build path, do u mean the same folder as my .java source? because it is. I don't know if u need to know this, but it will compile, but not run, and then it will print the above mentioned error. but in netbeans, it just tells you ahead of time why it wont run if u try to run it.
    anyways, from what i understand from what u wrote, i will need to use the thin driver...now that comes with the oracle.jdbc.driver package, but i just need to use a different call, right? like, instead of oracle.jdbc i would need oracle.thin, is this what u mean? and if it doesn't contain the thin driver, where can i find it? i found it onces before, but that was completely by accident. can someone supply a url? thanks
    jay

  • JDBC Driver Threading Problems

    I'm not able to get the JDBC thin driver to correctly support
    multiple threads using the same database connection. A long
    running query in one thread blocks all the other threads until
    the query begins returning data.
    My configuration is :
    JDBC 8.0.4.6 on Solaris & NT
    Oracle 8.05 on HPUX
    I have tried the JDBC 8.1.5 driver but abandoned it because in
    some situations it will deadlock itself with only 1 client
    thread! (I can recreate this at will.)
    I have plenty of thread stacks showing the problem if anyone is
    interested.
    null

    Roger Grywalski (guest) wrote:
    : I'm not able to get the JDBC thin driver to correctly support
    : multiple threads using the same database connection. A long
    : running query in one thread blocks all the other threads until
    : the query begins returning data.
    That's true. We don't serialize requests but synchronize them
    over one physical connection.
    : My configuration is :
    : JDBC 8.0.4.6 on Solaris & NT
    : Oracle 8.05 on HPUX
    : I have tried the JDBC 8.1.5 driver but abandoned it because in
    : some situations it will deadlock itself with only 1 client
    : thread! (I can recreate this at will.)
    : I have plenty of thread stacks showing the problem if anyone is
    : interested.
    Please file a bug. We would like to fix them.
    We have excellent results with our 8i drivers. We ran
    more than 1000 threads and they all work fine.
    Oracle Technology Network
    http://technet.oracle.com
    null

  • Logitech Bluetooth driver compatability problem with windows7?

    I have a logitech wireless mouse that runs on a bluetooth on my laptop, which has been running ok, until recently, it keeps saying that the it didn't connect due to a missing drive.  Have downloaded the most recent driver but it still won't run.  Had
    a look on the troubleshoot for the Bluetooth and it said that the LBTWiz is incompatible? Can anyone help? 

    Unfortunately your post is off topic here, in the TechNet Site Feedback forum, because it is not Feedback about the TechNet Website or Subscription.  This is a standard response I’ve written up in advance to help many people (thousands, really.)
    who post their question in this forum in error, but please don’t ignore it.  The links I share below I’ve collected to help you get right where you need to go with your issue.
    For technical issues with Microsoft products that you would run into as an
    end user of those products, one great source of info and help is
    http://answers.microsoft.com, which has sections for Windows, Hotmail, Office, IE, and other products. Office related forums are also here:
    http://office.microsoft.com/en-us/support/contact-us-FX103894077.aspx
    For Technical issues with Microsoft products that you might have as an
    IT professional (like technical installation issues, or other IT issues), you should head to the TechNet Discussion forums at
    http://social.technet.microsoft.com/forums/en-us, and search for your product name.
    For issues with products you might have as a Developer (like how to talk to APIs, what version of software do what, or other developer issues), you should head to the MSDN discussion forums at
    http://social.msdn.microsoft.com/forums/en-us, and search for your product or issue.
    If you’re asking a question particularly about one of the Microsoft Dynamics products, a great place to start is here:
    http://community.dynamics.com/
    If you really think your issue is related to the subscription or the TechNet Website, and I screwed up, I apologize!  Please repost your question to the discussion forum and include much more detail about your problem, that could include screenshots
    of the issue (do not include subscription information or product keys in your screenshots!), and/or links to the problem you’re seeing. 
    If you really had no idea where to post this question but you still posted it here, you still shouldn’t have because we have a forum just for you!  It’s called the Where is the forum for…? forum and it’s here:
    http://social.msdn.microsoft.com/forums/en-us/whatforum/
    Moving to off topic. 
    Thanks, Mike
    MSDN and TechNet Subscriptions Support

  • Hard drive compatibility problems with Airport Extreme

    Yesterday I received and installed Airport Extreme to create a home network where I would have external hard drives connected to the network by USB. Airport Extreme wouldn’t recognize my 1TB Western Digital My Book hard drive and after some investigation I find out that Airport doesn’t recognize HD formatted in NTFS.
    So my plan was to move the data off the WD HD on to a spare HDs I have, reformat the the WD HD to a Mac/Airport extreme friendly format and then move the data back on. It’s kind of a pain but not the end of the world. Then as I’m transferring the files between hard drives I get a message that the file is too large to move to the other HD. I read some forums and see that FAT32 partitioned drives can only take file sizes up to 4GBs (I didn’t check the drive format but assume this to be the case). The problem is that some of the video files on the WD (NTFS format) are in excess of that size so I can reformat the extra drive to NTFS to get the files off the WD HD, reformat the WD to be Mac friendly and reformat in FAT32 (or something else) but then I’ll be stuck with the same problem by having the files on the other HD that will be too large to move back to the reformatted WD HD. Any ideas on the best way I can move these files onto a MAC readable/writable format that will support file sizes in excess of 4 GBs and be recognized by Airport Extreme? Is there a way that I can cut the files down to get them under 4 GBs? Any help is much appreciated.

    Steve70 wrote:
    I should be able to format the 2nd drive back to FAT32 so it can communicate to both the PC and Mac
    you could do that, or you could install MacDrive on the winsloth side.
    alternatively, you could format the 2nd drive in NTFS and install the _*NTFS 3G*_ driver, which will enable the Mac to write to it (Macs can read NTFS out-of-the-box).
    no more 4 GB per file limit
    however, i would prefer to have my drives formatted for Mac ...
    JGG

  • Jdbc driver deployment problem..

    Hi xi Gurus...
            I have a scenario <b>File-XI-JDBC</b>(My Sql 5.0), i am using receiver side <u>My Sql</u>.. I downloaded the drivers for that also.. drivers are <u>mysql-connector-java-3.1.10.jar</u>.. i added this jar file to this .sda file(aii_af_jmsproviderlib.sda).. now i want to deploy into the <u>software deployment manager.(SDM)</u>.. The doubt is here.. before deploying this aii_af_jmsproviderlib.sda into sdm.. <b>wheather i have to start the XI server r i have to stop the server</b>.. what i have to do now... please send then reply ASAP..to this email id <u>[email protected]</u>..
    Advance Thanks..

    Hi ,
    Check this guide....
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10
    Sekhar

  • External hard drive compatibility problems

    i've made the switch from being a long time windows user to the macbook pro. i can play all my files from my external hard drive, but for reason it is keeping me from being able to create new file folders on the external hard drive.

    An alternative, if you don't wish to reformat the drive, or need to be able to use files larger than 4Gig on it, is to install third party software that lets your mac both read from and write to discs formatted in the "NTFS" scheme often used on big Windows drives. http://www.paragon-software.com/home/ntfs-mac/ and http://macntfs-3g.blogspot.com/ provide a couple of examples.
    If the drive is going to be used only on a mac in future, though, I'd personally be inclined to back it up and reformat with the Apple GUID partition Scheme and the HFS(+) partition scheme.
    Cheers
    Rod

  • Problem with Java 5 and Oracle 10g JDBC driver

    Hi All,
    Currently we upgrade our web application to Java 5 and Oracle 10.2 JDBC driver. And we encountered a bug, when the user entered the information through UI and data didn't store into database (Oracle 9i). The problem is that this bug is not happend so often maybe once a day and this did not happen before we upgraded to Java 5 and Oracle 10.2 JDBC driver. Does anyone encounter the same problem ? Is this Java 5 problem or Oracle JDBC driver problem ?
    Thanks,

    sounds like a database problem...
    Are you using a driver version that's supported for your database engine?
    What else did you change? We once ran into a major bug in our application that had for 5 years been masked by performance problems in our hardware and infrastructure.
    Once those were resolved the bug showed itself and caused tens of thousands of records to be erroneously inserted into our database every day.
    It's certainly NOT a problem with your JVM (if it's a decent one, like the Sun implementation).
    So it's either your database, your driver, your network (dropping packets???), or your application.
    The upgrade may just have exposed something that was already there.

  • Oracle 8.1.5 JDBC driver problem with LONGVARCHAR

    Hi, I'm having problem with 8.1.5 release on Solaris with the
    JDBC type 4 driver (thin). If I create the following table
    create table test1 (col1 NUMBER, col2 LONG);
    Using JDBC driver to insert into the second column any string
    longer than 4000 characters causing run time exception. The type2
    driver works fine, but type2 is slow.
    String sql = "insert into test1 (col1, col2) values (1099,?)";
    PreparedStatement stmt ;
    stmt = conn.prepareStatement(sql);
    // create a string with very long value , bigger than 4096
    stmt.setString(1,string);
    stmt.executeUpdate();
    runtime exception:
    java.sql.SQLException: Data size bigger than max size for this
    type
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.sql.SQLException.<init>(Compiled Code)
    at oracle.jdbc.dbaccess.DBError.check_error(Compiled
    Code)
    at oracle.jdbc.ttc7.TTCItem.setArrayData(Compiled Code)
    at
    oracle.jdbc.driver.OraclePreparedStatement.setItem(Compiled Code)
    at
    oracle.jdbc.driver.OraclePreparedStatement.setString(Compiled
    Code)
    at testi.main(Compiled Code)
    Any help is appreciated.
    Thanks
    Steve
    null

    Post the full stacktrace here
    Also you might want to post jdbc related questions to weblogic.developer.
    interest.jdbc
    Kumar
    DreamNEON wrote:
    Hello,
    the NSAPI integration works, also the JSP files.
    But I have still problems with the Jdriver for my Oracle 8.1.5.
    I get the message :
    Failed to invoke startup class
    weblogic.jdbc.common.internal.JdbcStartup=weblogic.jdbc.common.internal.JdbcStartup
    when the WebLogic Server is started.
    Any ideas or hints about that?
    Thanks in advance
    Armin

  • Problem in Java Application Server 7 2004 Q2 + MS SQL 2000 + MS JDBC Driver

    I have two applications runing on window 2000 server + Sun Java System Applilcation Server and connect to SQL Server 2000 + window 2000 server.
    The JDBC driver is Microsoft JDBC type 4.
    Both of them are with Local, Remote Ejb and session beans.
    All of the ejbs have a unique jndi name. Each app has its only ejbs.
    The problem I am facing is that If I deploy one of them, only one, every thing is fine.
    However, If I deploy both of them , only one of them works.
    I started the app server serval times. However, every time I got a different fail app.
    For example, I got the following error message:
    [24/Jan/2005:15:38:41] SEVERE ( 2440):      Validation error in class gwumc.edu.ejb.smhs.visitingstudent.StudentBean129315485_JDOState: com.sun.jdo.api.persistence.model.util.ModelValidationException: Warning: Cannot find the table Student for the class gwumc.edu.ejb.smhs.visitingstudent.StudentBean129315485_JDOState.
         Verify that the schema file exists and that its contents are correct.
    [24/Jan/2005:15:38:42] INFO ( 2440):      Bean Student method ejbFindActiveByPassword: problems running JDOQL query with params [21]
         com.sun.jdo.api.persistence.support.JDOFatalInternalException: Failed to load the configuration for class gwumc.edu.ejb.smhs.visitingstudent.StudentBean129315485_JDOState.
         NestedException: com.sun.jdo.api.persistence.support.JDOUserException: The mapping for class gwumc.edu.ejb.smhs.visitingstudent.StudentBean129315485_JDOState is invalid. Compile the class in the IDE, correct any errors, and verify that all required files are packaged for execution.
         at com.sun.jdo.spi.persistence.support.sqlstore.SQLStoreManager.getPersistenceConfig(SQLStoreManager.java:145)
         at com.sun.jdo.spi.persistence.support.sqlstore.impl.PersistenceManagerImpl.loadPersistenceConfig(PersistenceManagerImpl.java:2085)
         at com.sun.jdo.spi.persistence.support.sqlstore.impl.PersistenceManagerImpl.getRetrieveDesc(PersistenceManagerImpl.java:1009)
         at com.sun.jdo.spi.persistence.support.sqlstore.query.jqlc.CodeGeneration.createRetrieveDesc(CodeGeneration.java:707)
         at com.sun.jdo.spi.persistence.support.sqlstore.query.jqlc.CodeGeneration.checkRetrieveDesc(CodeGeneration.java:4665)
         at com.sun.jdo.spi.persistence.support.sqlstore.query.jqlc.CodeGeneration.prepareRetrieveDescs(CodeGeneration.java:4360)
         at com.sun.jdo.spi.persistence.support.sqlstore.query.jqlc.CodeGeneration.query(CodeGeneration.java:850)
         at com.sun.jdo.spi.persistence.support.sqlstore.query.jqlc.JQLC.codeGen(JQLC.java:332)
         at com.sun.jdo.spi.persistence.support.sqlstore.query.QueryImpl.doExecute(QueryImpl.java:626)
         at com.sun.jdo.spi.persistence.support.sqlstore.query.QueryImpl.executeWithArray(QueryImpl.java:552)
         at gwumc.edu.ejb.smhs.visitingstudent.StudentBean129315485_ConcreteImpl.ejbFindActiveByPassword(StudentBean129315485_ConcreteImpl.java:3491)
         at gwumc.edu.ejb.smhs.visitingstudent.StudentBean129315485_ConcreteImpl_LocalHomeImpl.findActiveByPassword(StudentBean129315485_ConcreteImpl_LocalHomeImpl.java:137)
         at gwumc.edu.ejb.smhs.visitingstudent.StudentDeanSessionBean.ejbCreate(StudentDeanSessionBean.java:24)
         at gwumc.edu.ejb.smhs.visitingstudent.StudentDeanSessionBean_LocalHomeImpl.create(StudentDeanSessionBean_LocalHomeImpl.java:27)
         at gwumc.edu.smhs.servlet.VisitingStudentDeanModel.<init>(VisitingStudentDeanModel.java:18)
         at gwumc.edu.smhs.servlet.VisitingStudentDean.doPost(VisitingStudentDean.java:27)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
         at org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118)
         at org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.java:278)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:274)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
         at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:158)
         at com.iplanet.ias.we
    [24/Jan/2005:15:38:42] INFO ( 2440):      b.WebContainer.service(WebContainer.java:850)
         NestedStackTrace:
         com.sun.jdo.api.persistence.support.JDOUserException: The mapping for class gwumc.edu.ejb.smhs.visitingstudent.StudentBean129315485_JDOState is invalid. Compile the class in the IDE, correct any errors, and verify that all required files are packaged for execution.
         at com.sun.jdo.spi.persistence.support.sqlstore.SQLStoreManager.getPersistenceConfig(SQLStoreManager.java:128)
         at com.sun.jdo.spi.persistence.support.sqlstore.impl.PersistenceManagerImpl.loadPersistenceConfig(PersistenceManagerImpl.java:2085)
         at com.sun.jdo.spi.persistence.support.sqlstore.impl.PersistenceManagerImpl.getRetrieveDesc(PersistenceManagerImpl.java:1009)
         at com.sun.jdo.spi.persistence.support.sqlstore.query.jqlc.CodeGeneration.createRetrieveDesc(CodeGeneration.java:707)
         at com.sun.jdo.spi.persistence.support.sqlstore.query.jqlc.CodeGeneration.checkRetrieveDesc(CodeGeneration.java:4665)
         at com.sun.jdo.spi.persistence.support.sqlstore.query.jqlc.CodeGeneration.prepareRetrieveDescs(CodeGeneration.java:4360)
         at com.sun.jdo.spi.persistence.support.sqlstore.query.jqlc.CodeGeneration.query(CodeGeneration.java:850)
         at com.sun.jdo.spi.persistence.support.sqlstore.query.jqlc.JQLC.codeGen(JQLC.java:332)
         at com.sun.jdo.spi.persistence.support.sqlstore.query.QueryImpl.doExecute(QueryImpl.java:626)
         at com.sun.jdo.spi.persistence.support.sqlstore.query.QueryImpl.executeWithArray(QueryImpl.java:552)
         at gwumc.edu.ejb.smhs.visitingstudent.StudentBean129315485_ConcreteImpl.ejbFindActiveByPassword(StudentBean129315485_ConcreteImpl.java:3491)
         at gwumc.edu.ejb.smhs.visitingstudent.StudentBean129315485_ConcreteImpl_LocalHomeImpl.findActiveByPassword(StudentBean129315485_ConcreteImpl_LocalHomeImpl.java:137)
         at gwumc.edu.ejb.smhs.visitingstudent.StudentDeanSessionBean.ejbCreate(StudentDeanSessionBean.java:24)
         at gwumc.edu.ejb.smhs.visitingstudent.StudentDeanSessionBean_LocalHomeImpl.create(StudentDeanSessionBean_LocalHomeImpl.java:27)
         at gwumc.edu.smhs.servlet.VisitingStudentDeanModel.<init>(VisitingStudentDeanModel.java:18)
         at gwumc.edu.smhs.servlet.VisitingStudentDean.doPost(VisitingStudentDean.java:27)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
         at org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118)
         at org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.java:278)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:274)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
         at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:158)
         at com.iplanet.ias.web.WebContainer.service(WebContainer.java:850)
    [24/Jan/2005:15:38:42] SEVERE ( 2440):      StandardWrapperValve[visitingstudentdean]: Servlet.service() for servlet visitingstudentdean threw exception
         javax.servlet.ServletException: nested exception is: com.sun.jdo.api.persistence.support.JDOFatalInternalException: Failed to load the configuration for class gwumc.edu.ejb.smhs.visitingstudent.StudentBean129315485_JDOState.
         NestedException: com.sun.jdo.api.persistence.support.JDOUserException: The mapping for class gwumc.edu.ejb.smhs.visitingstudent.StudentBean129315485_JDOState is invalid. Compile the class in the IDE, correct any errors, and verify that all required files are packaged for execution.
         at gwumc.edu.smhs.servlet.VisitingStudentDean.doPost(VisitingStudentDean.java:41)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
         at org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118)
         at org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.java:278)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:274)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
         at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:158)
         at com.iplanet.ias.web.WebContainer.service(WebContainer.java:850)
    Any suggestion is great.
    Thanks,

    Hi again, Thanks for the reply!,
    I understand the part that you mentionned about specifying the database name. That is not what is causing me a problem : I was reffering to an instance. A new feature of MS SQL server 2000 -> you can have multiple SQL server instances, which means that each will have its own set of databases. Kinda like having multiple virtual servers but on the same machine. With ODBC, you can connect to the DEFAULT instance by just specifying the server name only. When you try to connect to a non default instance in ODBC you must specify it like this : '\\server_name\instance_name.'. I have found no way to do this with the type 4 MS driver (writting it like this : '//server/instance' or any other way was unsuccessful). Does anyone know how to do this or if it can be done with the MS driver???
    THX, Bye
    Andre Carrier

  • Oracle 9.2.0.6 client JDBC OCI driver compatibility issue with JRockit 1.4.

    I have weblogic server 8.1 sp4 running on Linux E3.0 using JRockit 1.4.2_5.
    I cannot seem to get the Oracle driver ojdbc14.jar to work. Yes I have added $ORACLE_HOME/bin to my classpath prior to any weblogic classes, I added $ORACLE_HOME/lib and $ORACLE_HOME/jdbc/lib to my LD_LIBRARY_PATH with no luck.
    I get the error "no ojdbc10 in java.library.path".
    I keep reading in the JDBC driver notes that the driver is compatible with different version of JDK 1.x but not JRockit. Perhaps Oracle 10 has this fixed.
    Anyone experiences the same problem ? I am stuck ..

    Oracle database 10.2 drivers ojdbc14.jar may also be used with JDK 5.0.
    http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq.htm#02_03

Maybe you are looking for