Class Not Found -- External Classes in WebLogic5.1

Discussions

EJB programming & troubleshooting: Class Not Found -- External Classes in WebLogic5.1

  1. We are facing a class not found error when we are using Oracle THIN Driver. we have put the same in the .properties file of Weblogic 5.1. (on WinNT and Oracle's classes102.zip file )

    Pasting the appropriate portion of .properties file

    weblogic.jdbc.connectionPool.oraclePool=\
           url=jdbc:oracle:thin:@200.200.198.248:1521:ted,\
           driver=oracle.jdbc.driver.OracleDriver,\
           loginDelaySecs=1,\
           initialCapacity=4,\
           maxCapacity=10,\
           capacityIncrement=2,\
           allowShrinking=true,\
           shrinkPeriodMins=15,\
           refreshMinutes=10,\
           testTable=dual,\
           props=user=ted;password=ted

    It works otherwise with weblogics default Oracle driver.

    Also we are facing a problem of not being able to Find any classes outside the Deployed JAR file, though it is mentioned in the set_env CLASSPATH.




    Thanx in advance
  2. Does the script you use to start WebLogic (i.e. startWebLogic.sh) have something like this?
    Note WEBLOGICCLASSPATH is passed in with -D.

    In my case, the Oracle Type 4 driver is
    classes12_01.zip, and this works fine.

    WEBLOGICCLASSPATH=/home/mmissire/weblogic/lib/weblogic451sp11.jar:./license:./classes:./lib/weblogicaux.jar:./myserver/serverclasses:/home/mmissire/build/output/Debug/classes12_01.zip

    $JAVA -ms64m -mx64m -classpath $JAVACLASSPATH -Dweblogic.class.path=$WEBLOGICCLASSPATH -Djava.security.manager -Djava.security.policy==weblogic.policy weblogic.Server