where are Oracle's DMS class files?

后端 未结 3 1756
醉酒成梦
醉酒成梦 2021-01-29 03:29

I\'m running a JBoss server (inside Eclipse), with some Hibernate mixed in. I installed Oracle\'s ojdbc drivers from here:

Oracle Database 11g Release 2 JDBC Drivers

相关标签:
3条回答
  • 2021-01-29 04:07

    The missing classes are indeed in dms.jar. But as I've seen asked elsewhere finding the dms.jar file is not easy. You won't find dms.jar at Oracle Database 11g Release 2 JDBC Drivers because as noted by Oracle: dms.jar is not shipped as part of the RDBMS product. It is only available as part of the Oracle Application Server product.

    I hopped onto our server and grabbed the jar file from our Oracle installation directory. We have 11g installed. With 11g you should be able to find the file here:

    $ORACLE_HOME/oc4j/lib/dms.jar
    
    0 讨论(0)
  • 2021-01-29 04:11

    i too face this problem but when i removed all database related jars and added ojdbc6 (or ojdbc7) jar then application working fine. more details please see below link. https://community.oracle.com/thread/2388722

    0 讨论(0)
  • 2021-01-29 04:32

    I got the same error for different reason and yes it was due to missing dms.jar file. I just had to find where dms.jar file was on our Oracle Application server (Release 12.2.3) and assigned it to the CLASSPATH. And it worked. Thanks for the pointing to the missing .jar file.

    Out .jar file was in $ORACLE_HOME/lib/ folder. Changed the path value as :

    CLASSPATH=$CLASSPATH:$ORACLE_HOME/lib/dms.jar and it started working.

    Fyi..if it helps anyone i was trying to load BI/XML publisher DATA TEMPLATE using XDOLoader utility when i got this error.

    -ppemavath

    0 讨论(0)
提交回复
热议问题