A couple things...
First of all, in my Oracle 8.1.6 distribution, the JDBC driver is classes12_01.ZIP,
not classes12_01.JAR. Java can read class archives as both zip and jar archives,
but unless you manually converted the zip to a jar file, that is one problem with
the below...the driver should be listed as classes12_01.zip
Second, if you haven't already, make sure you copy the classes12_01.zip file into
the jboss/lib/ext directory, because that is where it will look for it.
Third, I don't have my config files in front of me, so I am not 100% sure the class
names for your Oracle drivers are right, but I would of course double-check those
too.
-Charles
Marcel Ruff wrote:
> Hi,
>
> i have some problems getting jboss configured
> with Oracle 8.1.6 on Linux.
> I am using the new Oracle thin JDBC driver
> classes12_01.jar and the jboss from today (using cvs).
>
> I followed the hints in bugzilla etc.:
>
> - cp classes12_01.jar to JBOSS_HOME\lib\ext
>
> <MLET CODE="org.jboss.jdbc.DataSourceImpl"
> ARCHIVE="jboss.jar,jdbc2_0-stdext.jar,classes12_01.jar"
> CODEBASE="../lib/ext/">
> <ARG TYPE="java.lang.String"
> VALUE="jdbc:oracle:thin:@localhost:1521:Marcel">
> <ARG TYPE="java.lang.String" VALUE="Oracle">
> <ARG TYPE="java.lang.String" VALUE="oracle.jdbc.driver.OracleDriver">
> <ARG TYPE="java.lang.String" VALUE="Marcel">
> <ARG TYPE="java.lang.String" VALUE="Marcel">
> </MLET>
>
> added
> jdbc.drivers=org.hsql.jdbcDriver,jdbc.idbDriver,oracle.jdbc.driver.OracleDriver
>
> When starting jboss i get the following error:
>
> ...
> [Classpath] Added
> library:file:/home/dekra/jboss.cvs/dist/lib/ext/classes12_01.jar
> ...
> [Configuration] Initialized
> javax.management.ReflectionException: The MBean class could not be
> loaded by the specified loader
> at
> com.sun.management.jmx.MBeanServerImpl.createMBean(MBeanServerImpl.java:754)
> at javax.management.loading.MLet.getMBeansFromURL(MLet.java:540)
> at javax.management.loading.MLet.getMBeansFromURL(MLet.java:369)
> at org.jboss.Main.<init>(Main.java:119)
> at org.jboss.Main.<init>(Main.java:94)
> at org.jboss.Main$1.run(Main.java:84)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.jboss.Main.main(Main.java:75)
>
> Is there anybody out there who has Oracle running with jboss
> and can give me a hint what i do wrong?
>
> thanks,
>
> Marcel
>
> --
> Marcel Ruff
> mailto:[EMAIL PROTECTED]
> http://www.lake.de/home/lake/swand/
> http://www.xmlBlaster.org
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]