From: Paul S. <pau...@ra...> - 2002-09-15 12:01:31
|
Hi, I am now using the folliwing command: jythonc --addpackages com.ziclix.python.sql --jar RadiantDbConnection.jar --core RadiantDbConnection.py I am now explicitly adding the com.ziclix.python.sql package as shown above. However when I run the jar file I receive the following error message: JYTHON>java -jar RadiantDbConnection.jar Exception in thread "main" Traceback (innermost last): File "H:\p4\ssr4\ssr4.6\stable\source\Database\installation\Jython\RadiantDbConne ction.py", line 0, in main java.lang.ExceptionInInitializerError: java.lang.RuntimeException: missing zxjdbc resource bundle at com.ziclix.python.sql.zxJDBC.<clinit>(zxJDBC.java) at java.lang.reflect.Field.set(Native Method) at org.python.core.PyJavaClass.init__class__(PyJavaClass.java) at org.python.core.PyJavaClass.init(PyJavaClass.java) at org.python.core.PyJavaClass.<init>(PyJavaClass.java) at org.python.core.PyJavaClass.lookup(PyJavaClass.java) at org.python.core.PyJavaPackage.addClass(PyJavaPackage.java) at org.python.core.PyJavaPackage.__findattr__(PyJavaPackage.java) at org.python.core.imp.importFromAs(imp.java) at org.python.core.imp.importFrom(imp.java) at RadiantDbConnection$_PyInner.main$9(RadiantDbConnection.java:155) at RadiantDbConnection$_PyInner.call_function(RadiantDbConnection.java:85) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyCode.call(PyCode.java) at org.python.core.imp.createFromCode(imp.java) at org.python.core.Py.runMain(Py.java) at RadiantDbConnection.main(RadiantDbConnection.java:180) java.lang.ExceptionInInitializerError: java.lang.ExceptionInInitializerError I need to use zxjdbc with an oracle database and create a standalone jar file. Is this possible? How do I include the oracle jdbc driver in the jar file? Thanks, Paul S. |