Pointing portal server from classes12.jar to ojdbc14.jar JDBC driver

Hi,
     Some time ago we upgraded our portal landscape from Oracle 9.2.0.7 to Oracle 10.2.0.2. Using OSS Notes 867176 and 915079, we pointed our portal servers to use the newer and recommended ojdbc14.jar driver. This included using Config manager to  change the rdbms.driverLocation parameter to point to the new driver.
     A few months later (last week), thinking that we had our bases covered, we removed the old ORACLE_HOME, /oracle/<SID>/920_32. Upon restarting the portal we got quite a shock- it would NOT come up! The first problem was the bootstrap.properties in the /usr/sap/<SID>/JC00/j2ee/cluster/bootstrap directory which had the same dbms.driverLocation parameter pointed to the old driver in the old ORACLE_HOME. After correcting this, we ran into further problems with neither the dispatcher or the servers (2 per system) coming up. Find this curious, we ran the following unix  commands and identified more *.properties files with the same rdbms.driverLocation parameter-
cd /usr/sap/<SID>/JC00/j2ee
find . -name '*.properties' -exec grep -H 920_32 {} \;
./deploying/rdb.properties -
            rdbms.driverLocation=/usr/sap/EPP/JC00/j2ee/classes12.jar
./cluster/server0/cfg/kernel/ConfigurationManager.properties -
            rdbms.driverLocation=/usr/sap/EPP/JC00/j2ee/classes12.jar
./cluster/server0/cfg/kernel/ConfigurationManager.properties -
            rdbms.driverLocation=/usr/sap/EPP/JC00/j2ee/classes12.jar
./cluster/dispatcher/cfg/kernel/ConfigurationManager.properties -
            rdbms.driverLocation=/usr/sap/EPP/JC00/j2ee/classes12.jar
./templateconfigurator.properties -
           $=/usr/sap/EPP/JC00/j2ee/classes12.jar
We then proceeded to manually edit each of the files to use the newer ojdbc14.jar driver. Surprisingly, it turns out that editing the ConfigurationManager properties files for the 2 servers and the dispatcher had no effect- upon recycling the portal the entire cfg/kernel directory gets wiped out and replaced.
So what's the problem here? I don't have an issue with directories being recreated- but why is the ojdbc14.jar driver setting not being picked up from the change made for each server and dispatcher in the Configuration Manager?   I have examined all the services listed in the Configuration Manager and the Visual Administrator and can find no more references to the old ORACLE_HOME.
Oh, incidently, curiously enough, for single portal systems, the JDBC driver is obtained from the /oracle/<SID>/102_64/jdbc/lib directory and not from the /usr/sap/<SID>/JC00/j2ee directory which is the case for portal servers involving more than 1 server.
Hoping for help here ...
Sincerely,
Steven McElwee, Duke University

right click ur project and select properties. In Java Build Path add the ojdbc14.jar in the librariies tab.
http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq.html
Edited by: user7361177 on Aug 1, 2009 10:19 PM

Similar Messages

  • Xdb.jar and ojdbc14.jar incompatibility ( XMLType.createXML() ) ??

    I am using the latest xdb.jar (from xdk_java_9_2_0_5_0.zip) and ojdbc14.jar
    and it appears that xdb.jar calls a method that does not exist in ojdbc14.jar.
    It happens when executing
    OPAQUE opaque = rset.getOPAQUE("value");
    XMLType xt = XMLType.createXML(opaque); // <-- here
    The exact error message is:
    java.lang.NoSuchMethodError: oracle.jdbc.internal.OracleConnection.getProtocolType()Ljava/lang/String;
         at oracle.xdb.XMLType.initConn(XMLType.java:2072)
         at oracle.xdb.XMLType.<init>(XMLType.java:903)
         at oracle.xdb.XMLType.createXML(XMLType.java:493)

    Hi,
    There are known problems with xdb.jat that is bundled with XDK 9205.
    As a workaround, you need to use an older version of xdb.jar from either XDK-9.2.0.3 or XDK-9.2.0.4 since the mentioned exception is generally thrown due to problems in xdb.jar that comes with XDK-9205.
    If you do not have any of these versions of XDK, you could use the xdb.jar that comes with the database 9.2.0.3. The xdb.jar is present in <oracle_home>/rdbms/jlib folder.
    Hope that helps.
    Shefali

  • Classes12.jar or ojdbc14.jar?

    Which oracle driver do I need? I am trying to connect to DB from my java program and I get "ClassNotFoundException: oracle.jdbc.driver.OracleDriver". I am able to ping/connect/execute sql from eclipse but when I run my java program, I get this exception. I have added ojdbc14.jar file to my classpath and from command prompt If I run "Java oracle.jdbc.driver.OracleDriver", I got the following:
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/jdbc/driver/Or
    acleDriver
    Caused by: java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    Could not find the main class: oracle.jdbc.driver.OracleDriver. Program will ex
    it.
    My java version is "java version 1.6.0_14". Should I download classes12.jar and replace the ojdbc14.jar in classpath? Any suggestions?

    right click ur project and select properties. In Java Build Path add the ojdbc14.jar in the librariies tab.
    http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq.html
    Edited by: user7361177 on Aug 1, 2009 10:19 PM

  • Usage of java.sql.Timestamp with classes12.zip and ojdbc14.jar  ?

    Hi all,
    If i'm using java.sql.Timestamp with classes12 it is functioning perfectly,
    if i'm using ojdbc14 and java.sql.Timestamp it is functioning in different way and failing to do the action..
    Example : update set xxx=yy where time = my Timestamp object set in Prepared statement
    Hope to see the answer

    http://forum.java.sun.com/thread.jspa?threadID=460615&messageID=2116517
    Timestamp insert problem
    Using the "classes12.zip" file that comes with the distribution for Oracle versions 8.1.6.x and 8.1.7.x, Oracle's DATE datatype is mapped to the "java.sql.Timestamp" class. However, the "ojdbc14.jar" driver maps DATE to "java.sql.Date", and "java.sql.Date" only holds a date (without a time), whereas "java.sql.Timestamp" holds both a date and a time.

  • Failure when connecting MS SQL SERVER from ODI ! could not load JDBS driver

    i have some trouble with connecting MS SQL SERVER from ODI.
    I have already downland jdbs driver 3.0 (and 2.0 ) and copy the sqljdbc4.jar to D:\oracle\product\11.1.1\Oracle_ODI_1\oracledi\agent\drivers( where the oracle jdbs driver is already exitst )....but i have this error :
    could not load JDBS driver class..
    thanks

    After more investigation and even more chocolate, we've identified the problem and it's now working. For anyone else who strikes this problem in future, here's something to check/consider/try:
    Even though Squirrel SQL Client was connecting and working ok using the MS JDBC driver (v 3.0), it recorded this in its logs:
    Cannot resolve the collation conflict between "SQL_Latin1_General_CP1_CI_AS" and "Latin1_General_CI_AS" in the INTERSECT operation.
    We've found that the open source jTDS driver does not have the same issue as the Microsoft one.
    We've installed the current jTDS driver, recorded the driver name (net.sourceforge.jtds.jdbc.Driver) and the JDBC URL (jdbc:jtds:sqlserver://<hostname>:1433/<database>) and the connection is now working fine.
    Hope this helps other people...
    Thanks to those of you who offered suggestions and things to check...much appreciated.
    Robyn

  • Jdeveloper error on downloading resource from portal server from WC Spaces

    Hi All,
    I am basically from portal area and have now also started using jdeveloper. I have 11.1.1.7 version and am trying to use it for a roundtrip development for my Webcenter Spaces applications.
    A problem has been baffling me for last several days. I installed jdeveloper studio edition, then installed updates for Webcenter extensions.
    Then tried to configure it for a Roundtrip development with WC Spaces. So I followed the following document.
    Extending the Spaces Application Using JDeveloper - 11g Release 1 (11.1.1.7.0)
    In doing that I configured the default space application (designwebcenterspaces) and configured properties with the server.
    Then I tried following this piece; i.e., downloading a spaces resource directly into jdeveloper.
    Extending the Spaces Application Using JDeveloper - 11g Release 1 (11.1.1.7.0)
    On trying to do it, I get a pop-up with following error and no specific application or space.
    Exception getting resources:null
    On my jdeveloper, I see this message accompanying it.
    Jul 2, 2013 5:54:21 PM oracle.webcenter.portal.dt.propagation.rest.RESTClient getDocument
    WARNING: null
    Jul 2, 2013 5:55:21 PM oracle.webcenter.portal.dt.propagation.dialogs.DownloadPanel populateResourceNames
    WARNING: Exception getting resources:null
    Can someone please help me fix this problem?
    Thanks a lot.

    Recheck the below ones,
    Be sure the configuration properties and permissions are set properly, as described in Section 55.3.3, "Enabling Direct Uploads to the Spaces Application." See also Section 55.2.3.2, "Setting Build and Deployment Options (config.properties)."
    and make sure server is up and running

  • Putting Jar in ClassPath/Loading JDBC Driver on Linux

    Hi,
         I have got this to work on Windows � but then I simply put the Connector-J Jar into the �lib� directory of my Java installation. On this Linux machine I do not have the privileges to the �lib� directory � so I need to add the Jar to the class path � but it is not seeming to get added.
         I would appreciate any suggestions. I have copied the Connector-J Jar file to the Current working directory and I have tried
    java -classpath './mysql-connector-java-5.1.6-bin.jar' -Xmx512M -jar ProcessBigDump_fat.jar
    java -cp mysql-connector-java-5.1.6-bin.jar -Xmx512M -jar ProcessBigDump_fat.jar
    Thank you for any ideas.
    O.O.

    When you use "-jar" any user settings of the classpath are ignored. Everything has to be specified within the jar archive itself.
    Jars have a "manifest" which lets you do this. ProcessBigDump_fat.jar will already have a manifest: it has to in order to specify the main class. There will be a line like:
    Main-Class: myapp.Main(Assuming the class with the static main() method was Main and it was part of the myapp package.)
    What you have to do is add another line something like:
    Class-Path: mysql-connector-java-5.1.6-bin.jarwhich will use the mysql jar (located in the same place as your jar) as part of the classpath.
    Details in Sun's Tutorial.

  • Ojdbc14.jar not integrated in JDev 9.0.5.x?

    Hi,
    the documentation of Oracle 9i DB says, there is a new archiv for the jdbc driver: ojdbc14.jar. Until now we used classes12.zip (or classes12.jar).
    But why is the new driver lib missing in JDev 9.0.5.x?
    Best regards,
    Torsten.

    Can you please recommend some way to use ojdbc14.jar with JDeveloper 9.0.5.2? Ommitting Oracle JDBC from the project libraries and including a new library for ojdbc14.jar does not work for all classpath issues, such as for data source definitions in the data-sources.xml file. What does seem to work is replacing jdbc/lib/classes12dms.jar with ojdbc14.jar but I'm not sure if this will cause strange side effects. Is there any cleaner way of using ojdbc14.jar?
    Thanks,
    Jeff

  • MS SharePoint Portal server  2003

    Hi,
    Does any body tried to use Lifecycle policy server with Share Point portal server document management system? I will appreciate any feedback.
    Anna

    Anna,
    What kind of integration do you want? MS SharePoint Portal Sever (SPP), as "out of the box" is not configured to manage PDF files. Also, you can add the file type in the SPP to allow document upload.
    But, if you want to search into the PDF files, you must use the "Adobe PDF ifilter", you can download from Adobe's web site.
    I'm not really sure if installing and configuring the ifilter will allow to search the documents. I think it should, but if you need to search specific pdf content, maybe a webpart is required.
    The files encrypted with PS, that means every pdf file that has a policy applied, are not subject to search with the ifilter. I think you need to integrate the PS API to do this. Right now i'm trying to do so, if succeed i let you know.
    Hope it helps.

  • Ojdbc14.jar and nls_charset

    I use nls_charset12.jar and classes12.jar with JDK 1.3 and JDK1.2
    When we use JDK14: ojdbc14.jar.
    Nls_charset include in ojdbc14.jar?

    I believe that you should use nls_charset12.jar with ojdbc14.jar for 9.2.0.3 .
    This is from the JDBC FAQ - http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq.htm#02_03
    nls_charset11.jar
    Contains the classes to support all Oracle character sets in Advanced Data Types (objects) when using a Java 1.1 VM. If the database character set is one other than US7ASCII, W8DEC, or ShiftJIS, and the application uses ADTs, then you must include this class in your classpath. Or you can unzip this file and add the appropriate file to your classpath. The files are named with the Oracle character set number.
    nls_charset12.jar
    Same as nls_charset11.jar except for use with Java 1.2, 1.3, and 1.4 VMs. Not used with Oracle 10.1.0 and later. Use orai18n.jar instead.
    Nat

  • Nls_charset include in ojdbc14.jar?

    I use nls_charset12.jar and classes12.jar with JDK 1.3 and JDK1.2
    When we use JDK14: ojdbc14.jar.
    Nls_charset include in ojdbc14.jar?

    I believe that you should use nls_charset12.jar with ojdbc14.jar for 9.2.0.3 .
    This is from the JDBC FAQ - http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq.htm#02_03
    nls_charset11.jar
    Contains the classes to support all Oracle character sets in Advanced Data Types (objects) when using a Java 1.1 VM. If the database character set is one other than US7ASCII, W8DEC, or ShiftJIS, and the application uses ADTs, then you must include this class in your classpath. Or you can unzip this file and add the appropriate file to your classpath. The files are named with the Oracle character set number.
    nls_charset12.jar
    Same as nls_charset11.jar except for use with Java 1.2, 1.3, and 1.4 VMs. Not used with Oracle 10.1.0 and later. Use orai18n.jar instead.
    Nat

  • Weblogic portal server

    I already have a weblogic server installed in my system, I want to have weblogic portal server. If i download the weblogic portal server from www.oracle.com the available download is around 1Gb of size and it is bundled with a weblogic server. Is it possible to download the portal server part alone and integrate with my existing weblogic server?
    Thanks,
    Mahesh

    Here is the link for latest and greatest WLP 10.3.2 (around 1.0 GB File). This bundle/installer includes Weblogic Server, Portal Framework, Eclipse IDE. During installation, select custom option and make sure to select Samples check box for both Portal and Serve. By default if you select typical, it will NOT install Samples. WLS samples are good. So choose custom and install samples also.
    http://www.oracle.com/technology/software/products/wlp/index.html
    HTH
    Ravi Jegga

  • Separating native JDBC driver JAR from applet JAR - best way?

    Since I want to allow the customers/users of my applet to choose their own native JDBC driver to purchase at their site, I don't bundle the JDBC driver into my applet's JAR file. During my testing, here's what I've done:
    1. Deployed my applet HTML and JAR files to a web server folder.
    2. Extracted my JDBC driver JAR file's contents to that same web server folder.
    (My applet HTML contains 2 parameters that allow the applet to use the JDBC driver -- class name and connection string template.)
    This works fine, but I'm wondering if I'm using the best techniques.
    Questions:
    1. Do the contents of the JDBC driver need to be extracted from its JAR file? If not, what do I do, if anything, to allow my applet to "see/find" the driver class within the JAR?
    2. If the JDBC JAR file DOES need to have its contents extracted, is there a way to extract them to a central folder somewhere on the web server and have a variety of applets use them? If so, what do I need to do to make my applet "see/find" the file(s) in the central folder?
    Possibly looking for this stucture on the web server:
    /WebApps/JDBCfiles
    /WebApps/MyDbApplet1
    /WebApps/MyDbApplet2
    /WebApps/MyDbApplet3
    Any advice/recommendations? Thanks.

    Is it possible for a client application to access a jarred JDBC driver? I'd like to deliver a JDBC driver packed in a jar file, however, it won't work, here is what I am tring to do
    try {
         Class.forName("mfg.jdbc.myDriver").newInstance(); //--> throw an exception
    m_Connection = DriverManager.getConnection(szURL, props);
    catch(Exception e) {/...}
    Before class myDriver and other classes from package mfg.jdbc were jarred, a client application used to get the connection just fine, now I get an exception "java.lang.ClassNotFoundException: mfg.jdbc.myDriver"
    I am using Java 2 Platform, no problem in running a jarred command like java -jar jarredclass.jar
    Any tips and hints would be gratfully received!
    Simon

  • Download Sun Java System Portal Server for Windows

    Can anybody send me URL for th same?

    Currently you can only obtain Portal Server from JES 2005Q1 for windows.
    http://www.sun.com/download/sdl.jsp?71220fd6=1
    JES 2005Q4 for windows is not out yet

  • Moving web portal server

    Hi,
    Anyone have any tips for migrating your web portal server from a Windows 2008 R2 virtual server to a Windows 2012 R2 virtual server?
    Obviously I want to migrate across my web portal/SP site with all its custom colors, settings, permissions and files. I also have a Survey site hocking into SCSM, just the standard custom survey site Travis blogged about here:
    http://blogs.technet.com/b/servicemanager/archive/2009/12/08/incident-resolution-satisfaction-surveys-on-sharepoint.aspx
    I rather not re-create all that, any pointers how to move/migrate everything across?
    Thanks

    Hi,
    Hope the thread below can be helpful for you:
    Transerring SharePoint farm old servers to new servers
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/5ca8312e-6f51-4db2-bfc6-26be0f6aee40/transerring-sharepoint-farm-old-servers-to-new-servers?forum=sharepointadminprevious
    Regard,
    Yan Li
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

Maybe you are looking for