Unable to load database driver from my applet's jar file
I'm trying to set up an applet that will talk to a MySQL database. I have no problem connecting to the database as I'm developing the code ("un-jarred"), but when I create a jar file of my code to test through a web browser, I cannot connect to the database due to the usual ClassNotFoundException. I have included mysql-connector-java-3.1.12-bin.jar (the current driver) in the jar, but I don't know if I'm supposed to supply some info through an attribute to the applet tag to let it know that the jar contains the driver it needs or if I have to call the driver differently in my code.
Any help is appreciated, thanks.
The simplest approach is always the best. :)Abso-lutely.
Awesome, that worked perfectly. I Included the extra
jar file in the applet tag and now my applet makes
some sweet lovin' to the database.And you have succeeded where thousands have failed. Congratulations.
Similar Messages
-
Torrentflux 2.4 (ADONewConnection: Unable to load database driver)
I'm trying to setup Torrentflux 2.4 on my server.
I used the torrentflux PKGBUILD vom AUR: http://aur.archlinux.org/packages.php?ID=1664
I set up Apache/MySQL/PHP following the guide. PHP test script is working fine:
<?php phpinfo(); ?>
I setup a symbolic link from /srv/http to my /opt/torrentflux
ls /srv/http/
insgesamt 4
-r--r--r-- 1 root root 20 6. Mär 21:23 test.php
lrwxrwxrwx 1 root root 17 6. Mär 21:07 torrentflux -> /opt/torrentflux/
When I try to open /torrentflux/login.php in my webbrowser it says
ADONewConnection: Unable to load database driver ''
I left the default in torrentflux' config.php:
$cfg["db_type"] = "mysql"; // mysql, postgres7, postgres8 view adodb/drivers/
ls /opt/torrentflux/adodb/drivers/
insgesamt 532
-r--r--r-- 1 root daemon 20476 6. Mär 20:44 adodb-mysql.inc.php
-r--r--r-- 1 root daemon 25340 6. Mär 20:44 adodb-mysqli.inc.php
-r--r--r-- 1 root daemon 3220 6. Mär 20:44 adodb-mysqlt.inc.php
I'm pretty new to the whole LAMP stuff, so can please any1 tell me what's going wrong?Ok, some questions:
1. Did you enable mysql in php.ini?
http://wiki.archlinux.org/index.php/LAMP#MySQL
2. Did you read / follow the torrentflux installation guide included with the installation?
(if not, check here: http://www.torrentflux.com/)
3. I have not worked with the package from AUR, the package form the official site (again, http://www.torrentflux.com/) works well for me. Did you try this? -
Reading from the Applet's JAR file.
Is it possible to read a file stored in the jar file that the (unsigned) applet is being executed in? I have a line that goes like (in is just an InputStream):
in = getClass().getResource( "/exercise.xml" ).openStream();
and then, in another class, i do (bulider is an instance of javax.xml.parsers.DocumentBuilder, created from the DocumentBuilderFactory class):
doc = builder.parse( in );
but this always results in a security exception (works fine from the applet viewer). I tried specifying the full path to the .jar file as the codebase, but got the same results. I have not tested this from an actual web server, i am only opening the .html file directly in IE.
Due to the nature of the application, it is not possible to host the file seperately on a webserver.
It seems to me that there is no reason an applet shouldnt be allowed to load a file from the .jar it is executing in, could this simply be a problem of the file being local, and thus linked to from a file:// tag?
Thanks for any help.
Thomas StephensHi Guys
I have figured out this problem. It's got to do with classloader.
Applet uses a separate classloader. So using the static getSystemResource(),
we never get contents from applet jar files. The following will work nicely.
It is noted that you must loacate the applet classloader as in the first line
and use the non-static method getResource();
ObjectInJar obj = new ObjectInJar(); // create an object with a class in the jar file.
ClassLoader cl = obj.getClass().getClassLoader();
InputStream stream = cl.getResource("your_filepath_in_jar").openStream();
Cheers. -
Unable to Load USB Driver in LV for Total Phase's Aardvark I2C adaptor
I have tried to instal Total Phase's Aardvark I2C USB driver for LabVIEW on two computers and two versions of LV (8.5 and 7.1) without success. The Windows driver seems to be working fine as their command center gui terminal-esque program works without a hitch, but the LV DLL doesn't seem to work.
Attached is the very simple vi to find connected Aardvark USB devices (aa_find_devices). It always returns the same error code, 8002, which resolves to:
AA_UNABLE_TO_LOAD_DRIVER
-2
unable to load USB driver
From their documentation: http://www.totalphase.com/docs/aardvark_datasheet/sect005/#s5.9
This looks like perhaps the LabVIEW DL, "aardvark.dll" maybe having a versioning issue. So my question is this: Using LabVIEW, how does one debug dll dependencies and resolve issues like this? Do I need the source code for the lib?
Cheers,
Joe Gorse
Solved!
Go to Solution.
Attachments:
find_devices.vi 11 KBDear Joe,
Let me start off by apologizing for the inconvenience you
have gone through. I am an engineer at Total Phase. We are
working on fixing this issue for our next release of the
Aardvark LabVIEW Driver. This forum post was only brought
to our attention today. In the future, you can also let
Total Phase know about these kinds of issues by emailing
[email protected] We are very responsive through
email or phone.
The problem you are experiencing has to do with versioning
issues between our DLL and USB driver. Specifically, DLLs
before v5.xx must use the older version of our USB driver.
By replacing the DLL from our latest version of Control
Center, you have effectively upgraded the DLL that the
LabVIEW driver is using and made it compatible with v2.xx of
the USB driver.
The most likely reason that smercurio_fc did not see a
difference between the DLL in Aardvark Control Center and
the LabVIEW driver is because he is using an older version
of Control Center and correspondingly an older version of
the USB driver.
The reason that we have not packaged the LabVIEW driver with
latest DLL is due to the fact that a few functions have
changed their function prototypes (for example aa_open_ext
and aa_spi_write), and the VIs have not yet been updated
accordingly. Although updating the DLL solved your USB
driver issue, it introduced this new issue. If you try to
use these certain VIs, LabVIEW will error out.
We are currently working on updating the LabVIEW drivers to
work cohesively with the new DLL and USB driver, and this
should be available soon. If you need immediate
availability to the functions with new prototypes you will
have to change it manually. The other recommended option is
to simply revert back to the DLL that is packaged with our
LabVIEW driver and downgrade the USB driver back to v1.xx.
I will make sure to post again once the update is released,
and I once again apologize for the inconvenience.
Best regards,
Etai -
Unable to load LabVIEW RT from drive
Trying to boot RT on PXI-8187 controller with original setup, what ever RT boot selection is used either hardware switch or BIOS RT boot option, the terminal will show the following:
Unable to load LabVIEW RT from drive!
Booting safe mode from ROM...
mount: Mounting /dev/Ma1 on /home/ftp/c failed: Invalid argument
Entering safe mode.
IP address is: 0.0.0.0
Of course after that you can't do any thing to configure the RT target from the MAX on the host computer.
Please Help.Hi,
I used the recovery CD to change the file system to NTFS, it took a while and it installed windows XP from scratch differently from FirstWare that ghosts it (I think). And it didn't install any NI stuff what so ever.
At the end I got the same result as with using the remote system format disk option.
i.e. The RT controller boots in safe mode displaying the previous message without the mount error but this time I can configure the IP address.
Still I can't install software to it, I get the list of features to install, I select them and press next, then I get a dialog saying:
Cannot process install because other dependencies are required:
LabVIEW RT 1.0.1
LabVIEW RT 6.0.1
LabVIEW RT 6.1.0
LabVIEW RT 7.0.0
LabVIEW RT 7.1
Is this a host or RT Controller issue now?
What's next? Thanks for the help -
"Error 1002097 Unable to Load database" while starting an Essbase App.
Hello Essbase Experts,
I am getting below error while starting an Essbase Application:
"Error 1002097 Unable to Load database"
Below is an extract from the Essbase Application Log:
[2012-04-04T14:14:03.816-19:14] [RPA] [ESM-6] [ERROR] [32][] [ecid:1333566842161,0] [tid:2058170128] Unable to lock file
[SID/essbase/user_projects/epmsystem/EssbaseServer/essbaseserver1/app/RPA/RPA/RPA.esm]. Essbase will try again after a short
delay.
[2012-04-04T14:14:04.821-19:14] [RPA] [ESM-5] [ERROR] [32][] [ecid:1333566842161,0] [tid:2058170128] Unable to lock file
[SID/essbase/user_projects/epmsystem/EssbaseServer/essbaseserver1/app/RPA/RPA/RPA.esm]. Please make sure other processes do not
access Essbase files while Essbase server is running.
[2012-04-04T14:14:04.821-19:14] [RPA] [MBR-89] [WARNING] [1][] [ecid:1333566842161,0] [tid:2058170128] Unable to open
[SID/essbase/user_projects/epmsystem/EssbaseServer/essbaseserver1/app/RPA/RPA/RPA.esm] for database
[RPA][2012-04-04T14:14:04.821-19:14] [RPA] [SVR-97] [ERROR] [32][]
[ecid:1333566842161,0] [tid:2058170128] Unable to load database [RPA]
[2012-04-04T14:14:04.821-19:14] [RPA] [SVR-97] [ERROR] [32][]
[ecid:1333566842161,0] [tid:2058170128] Unable to load database []
[2012-04-04T14:14:04.835-19:14] [RPA] [SVR-97] [ERROR] [32][]
[ecid:1333566842161,0] [tid:2058170128] Unable to load database []
Please sugest pointers to start the application.
Thanks,
KK*[2012-04-04T14:14:03.816-19:14] [RPA] [ESM-6] [ERROR] [32][] [ecid:1333566842161,0] [tid:2058170128] Unable to lock file*
Solution would be easy ...like if the Essbase Agent is stopped using the services.msc (services panal)on Windows while a process is currently running, or if there has been an abnormal termination of the Essbase Agent, orphaned ESSSVR processes can be left. Shuting down the Essbase server using ESSCMD or MaxL then Check Task Manager confirm the ESSBASE.exe process later by this ESSSVR.exe processes should end if still NO then Do an "End Process" on any ESSSVR.exe process that is still running. Start the Essbase service and start the application.
ESSSVR.exe is process which keep application Alive (bad thing is if u have many applications running similarlly u have same numbe of ESSSVr .exe will be running in task master ..but u cant find out which one belongs to which application :( )
Reasons
looking at your error i can say , First of all you need to know what is Lock in EAS ? and what locks exist
(right-click on Essbase Servername, EDIT->LOCK and EDIT->LOCKED OBJECTS, and if your database/outline appears in there, unlock it.)
Check any antivirus- and backup software that may be scanning / running on your Essbase folders as that can lock the files and any ESSSVR process stays when the Essbase Agent is stopped
More over another chance of getting error is when you have you page and index files in different location and rest otl, rep.csc script in another drive .. usually while taking back up in OTL,csc drive u do get created index file and page file even u have page and index file in diffrent drive so doe to this u get this error unable to load database
Hope this give u some idea -
Unable to load database information
Hello All,
I am facing an issue while scheduling a crystal report from CMC or Infoview. When I schedule the report It throws an error saying "Unable to Load Database information". The report's data source connection is oracle database.
I have provided the database credentials,format and destination in CMC/Infoview. The BOE environment is as follows:
OS: Windows 2008 server 64 bit
BOE: Business Objects 3.1sp3, Crystal reports 2008 sp3
Oracle Client: oracle 11g 32 bit client
When I change the connection from oracle server to ODBC connection the report works fine. Is there any steps I am missing or is there database drivers connectivity issue because BOE and oracle are 32 bit client and OS is 64 bit client.
All the suggestion/answers are appreciated.
Thanks in advance...First thought is that the application cannot access the DSN or database driver that the report was designed on, this could be permissions.
I tried to ping my database and was unable to find the host. I was under the assumption it was using TNSNames which is able to resolve.
How can I validate the permissions?
As I said I'm a little lost here. Apologies if I ask stupid questions. -
Unable to load database connector - using JRC w/report connecting to Oracle
A simple Java program was created to test a Crystal Report using JRC. The Java program is a thick-client Swing desktop application (modified from an example of crxi_r2_migrating_rdc_to_jrc.pdf). The program failed to execute the report with the following error:
Unable to load database connector u2018com.crystaldecisions.reports.queryengine.driverImpl.DriverLoader'
It might be something simple to correct the problem, but I am not able to find related answers in the documentation and from the forum.
CR version is XI R2. The Java program was compiled and run using jdk1.4.2_13. Oracle is 10.2.
Do I have to use JDBC? or the CR Oracle driver will do? What needs to be setup? If I use JDBC, what do I need to setup (I tried to following the links in the forums or other documentation, but most of the links to http://support.businessobjects.com/.... are broken - i.e. re-route to the SAP support page but not directly linked to the articles)
When the report JRCTestReport.rpt was saved with the option "Save Data With Report", it works fine. So the problem is only with Oracle database driver, the other jars are fine.
In the report JRCTestReport.rpt the database properties are:
DatabaseDLL crdb_oralce.dll
Password
Server myTestDB
Trusted_Connection False
User ID MyUser
The crdb_oracle.dll is located at:
C:\Program Files\Business Objects\Common\3.5\bin
Files are stored in the following tree structure:
<Testing Folder>
JRCTest.java
JRCTest.class
WEB-INF
lib
All required JRC jars and CRConfig.xml
Reports
JRCTestReport.rpt
Java source code JRCTest.java
import java.awt.*;
import javax.swing.*;
import java.io.*;
import com.crystaldecisions.ReportViewer.*;
// Use this for talking to JRC in-process
import com.crystaldecisions.reports.sdk.*;
import com.crystaldecisions.sdk.occa.report.reportsource.*;
public class JRCTest
private static void createAndShowGUI()
try
//Make sure we have nice window decorations.
JFrame.setDefaultLookAndFeelDecorated(false);
//Create and set up the window.
JFrame frame = new JFrame("JRCTest");
frame.setTitle("JRCTest");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
ReportViewerBean viewer = new ReportViewerBean();
System.out.println("ReportViewerBean.init");
viewer.init(new String[0], null, null, null);
System.out.println("new ReportClientDocument");
ReportClientDocument rpt = new ReportClientDocument();
try
System.out.println("Openning Report...");
rpt.open("JRCTestReport.rpt", 0);
catch (Exception ex)
System.out.println("Failed to open report");
System.out.println(ex.toString());
return;
try
System.out.println("logon...");
rpt.getDatabaseController().logon("myUser", "myPass");
catch (Exception ex)
System.out.println("Failed to logon");
System.out.println(ex.toString());
return;
System.out.println("ReportClientDocument.getReportSource");
IReportSource rptSource = rpt.getReportSource();
viewer.setReportSource(rptSource);
System.out.println("viewer.setReportSource");
frame.getContentPane().add
(viewer, BorderLayout.CENTER);
frame.setSize(700, 500);
frame.setVisible(true);
viewer.start();
catch (Exception exception)
System.out.println(exception.toString());
public static void main(String[] args)
javax.swing.SwingUtilities.invokeLater(new Runnable()
public void run()
createAndShowGUI();
Execution result:
C:\tmp\CrystalJavaTest>java -classpath .;./WEB-INF/lib;./WEB-INF/lib/ReportViewe
r.jar;./WEB-INF/lib/jrcerom.jar;./WEB-INF/lib/jrcadapter.jar;./WEB-INF/lib/Concu
rrent.jar;./WEB-INF/lib/CrystalCharting.jar;./WEB-INF/lib/CrystalCommon.jar;./WE
B-INF/lib/CrystalContentModels.jar;./WEB-INF/lib/CrystalExporters.jar;./WEB-INF/
lib/CrystalExportingBase.jar;./WEB-INF/lib/CrystalFormulas.jar;./WEB-INF/lib/Cry
stalQueryEngine.jar;./WEB-INF/lib/CrystalReportEngine.jar;./WEB-INF/lib/CrystalR
eportingCommon.jar;./WEB-INF/lib/icu4j.jar;./WEB-INF/lib/keycodeDecoder.jar;./WE
B-INF/lib/log4j.jar;./WEB-INF/lib/MetafileRenderer.jar;./WEB-INF/lib/rasapp.jar;
./WEB-INF/lib/rascore.jar;./WEB-INF/lib/rpoifs.jar;./WEB-INF/lib/Serialization.j
ar;./WEB-INF/lib/URIUtil.jar;./WEB-INF/lib/xercesImpl.jar;./WEB-INF/lib/xml-apis
.jar JRCTest
Starting
Crystal Report Viewer 2.1.21.2
java.vendor = Sun Microsystems Inc.
java.version = 1.4.2_13
os.name = Windows XP
os.version = 5.1
os.arch = x86
ReportViewerBean.init
new ReportClientDocument
Openning Report...
logon...
ReportClientDocument.getReportSource
viewer.setReportSource
ERROR - JRCAgent1 detected an exception: Unable to load database connector 'com.
crystaldecisions.reports.queryengine.driverImpl.DriverLoader'.
at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwRepo
rtSDKException(Unknown Source)
at com.businessobjects.reports.sdk.b.i.if(Unknown Source)
at com.businessobjects.reports.sdk.b.i.a(Unknown Source)
at com.businessobjects.reports.sdk.b.i.byte(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unkno
wn Source)
at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unkno
wn Source)
at com.crystaldecisions.sdk.occa.report.application.ReportSource.getPage
(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource
.getPage(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReport
Source.getPage(Unknown Source)
at com.businessobjects.crystalreports.viewer.core.rs.b.if(Unknown Source
at com.businessobjects.crystalreports.viewer.core.av.a(Unknown Source)
at com.businessobjects.crystalreports.viewer.core.av.run(Unknown Source)
at java.lang.Thread.run(Thread.java:534)
Unable to load database connector 'com.crystaldecisions.reports.queryengine.driv
erImpl.DriverLoader'.After I switched the report to use JDBC, I am still getting the same error.
Machine has multiple jdk, oracle 10g, Oracle11g client installed though. So I need to set my path to use the jdk from Crystal Report and Oracle 10g.
The program was compiled and ran with the following path and CLASSPATH:
set path="C:\Program Files\Business Objects\j2sdk1.4.2_08\bin";"C:\Program Files\Business Objects\j2sdk1.4.2_08\jre\bin";"C:\Program Files\Business Objects\j2sdk1.4.2_08\jre\bin\client";c:\oracle\ora102\bin
set CLASSPATH=.;./WEB-INF/lib;./WEB-INF/lib/ReportViewer.jar;./WEB-INF/lib/jrcerom.jar;./WEB-INF/lib/jrcadapter.jar;./WEB-INF/lib/Concurrent.jar;./WEB-INF/lib/CrystalCharting.jar;./WEB-INF/lib/CrystalCommon.jar;./WEB-INF/lib/CrystalContentModels.jar;./WEB-INF/lib/CrystalExporters.jar;./WEB-INF/lib/CrystalExportingBase.jar;./WEB-INF/lib/CrystalFormulas.jar;./WEB-INF/lib/CrystalQueryEngine.jar;./WEB-INF/lib/CrystalReportEngine.jar;./WEB-INF/lib/CrystalReportingCommon.jar;./WEB-INF/lib/icu4j.jar;./WEB-INF/lib/keycodeDecoder.jar;./WEB-INF/lib/log4j.jar;./WEB-INF/lib/MetafileRenderer.jar;./WEB-INF/lib/rasapp.jar;./WEB-INF/lib/rascore.jar;./WEB-INF/lib/rpoifs.jar;./WEB-INF/lib/Serialization.jar;./WEB-INF/lib/URIUtil.jar;./WEB-INF/lib/xercesImpl.jar;./WEB-INF/lib/xml-apis.jar;C:/oracle/ora102/jdbc/lib/ojdbc14.jar
I modified my java testing program to display more info:
Modified program:
import java.awt.*;
import javax.swing.*;
import java.io.*;
import com.crystaldecisions.ReportViewer.*;
// Use this for talking to JRC in-process
import com.crystaldecisions.reports.sdk.*;
import com.crystaldecisions.sdk.occa.report.reportsource.*;
import com.crystaldecisions.sdk.occa.report.exportoptions.*;
import com.crystaldecisions.sdk.occa.report.data.*;
import com.crystaldecisions.sdk.occa.report.lib.PropertyBag;
import com.crystaldecisions.sdk.occa.report.lib.IStrings;
public class JRCTest2
private static void createAndShowGUI()
try
System.out.println("Starting");
//Make sure we have nice window decorations.
JFrame.setDefaultLookAndFeelDecorated(false);
//Create and set up the window.
JFrame frame = new JFrame("JRCTest2");
frame.setTitle("Testing 1, 2, 3");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
System.out.println("new ReportViewerBean");
ReportViewerBean viewer = new ReportViewerBean();
System.out.println("ReportViewerBean.init");
viewer.init(new String[0], null, null, null);
System.out.println("new ReportClientDocument");
ReportClientDocument rpt = new ReportClientDocument();
try
System.out.println("Openning Report...");
rpt.open("JRCTestReport.rpt", 0);
catch (Exception ex)
System.out.println("Failed to open report");
System.out.println(ex.toString());
return;
try
// try logon here to see if any exceptions
rpt.getDatabaseController().logon("myUser", "myPass");
catch (Exception ex)
System.out.println("Failed to logon");
System.out.println(ex.toString());
return;
IDatabase idb = rpt.getDatabaseController().getDatabase();
Tables dtb = idb.getTables();
IConnectionInfo conInfo = dtb.getTable(0).getConnectionInfo();
PropertyBag attrs = conInfo.getAttributes();
conInfo.setPassword("myPass");
conInfo.setUserName("myUser");
IStrings s = attrs.getPropertyIDs();
for (int i=0; i < s.size(); i++)
System.out.println(s.getString(i));
System.out.println(attrs.getStringValue(s.getString(i)));
System.out.println(" ");
conInfo.setAttributes(attrs);
attrs = conInfo.getAttributes();
s = attrs.getPropertyIDs();
// Print property again after setting attributes
for (int i=0; i < s.size(); i++)
System.out.println(s.getString(i));
System.out.println(attrs.getStringValue(s.getString(i)));
System.out.println(" ");
System.out.println("ReportClientDocument.getReportSource");
IReportSource rptSource = rpt.getReportSource();
viewer.setReportSource(rptSource);
frame.getContentPane().add
(viewer, BorderLayout.CENTER);
frame.setSize(700, 500);
frame.setVisible(true);
viewer.start();
catch (Exception exception)
System.out.println(exception.toString());
public static void main(String[] args)
System.out.println("main");
javax.swing.SwingUtilities.invokeLater(new Runnable()
public void run()
createAndShowGUI();
Running result:
C:\tmp\CrystalJavaTest>java JRCTest2
main
Starting
new ReportViewerBean
Crystal Report Viewer 2.1.21.2
java.vendor = Sun Microsystems Inc.
java.version = 1.4.2_13
os.name = Windows XP
os.version = 5.1
os.arch = x86
ReportViewerBean.init
new ReportClientDocument
Openning Report...
Trusted_Connection
false
Server Name
dbHost
Connection String
Use JDBC=b(true);Connection URL=s(jdbc:oracle:thin:@dbHost:1521:myDB);Database Class Name=s(oracle.jdbc.OracleDriver);Server=s(dbHost);User ID=s(myUser);Password=;Trusted_Connection=b(false);JDBC Connection String=s(!oracle.jdbc.OracleDriver!jdbc:oracle:thin:/@dbHost:1521:myDB)
Server Type
JDBC (JNDI)
Database Class Name
oracle.jdbc.OracleDriver
Use JDBC
true
URI
!oracle.jdbc.OracleDriver!jdbc:oracle:thin:/@dbHost:1521:myDB
Database DLL
crdb_jdbc.dll
Trusted_Connection
false
Server Name
dbHost
Connection String
Use JDBC=b(true);Connection URL=s(jdbc:oracle:thin:@dbHost:1521:myDB);Database Class Name=s(oracle.jdbc.OracleDriver);Server=s(dbHost);User ID=s(myUser);Password=;Trusted_Connection=b(false);JDBC Connection String=s(!oracle.jdbc.OracleDriver!jdbc:oracle:thin:/@dbHost:1521:myDB)
Server Type
JDBC (JNDI)
Database Class Name
oracle.jdbc.OracleDriver
Use JDBC
true
URI
!oracle.jdbc.OracleDriver!jdbc:oracle:thin:/@dbHost:1521:myDB
Database DLL
crdb_jdbc.dll
ReportClientDocument.getReportSource
ERROR - JRCAgent1 detected an exception: Unable to load database connector 'com.crystaldecisions.reports.queryengine.driverImpl.DriverLoader'.
at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)
at com.businessobjects.reports.sdk.b.i.if(Unknown Source)
at com.businessobjects.reports.sdk.b.i.a(Unknown Source)
at com.businessobjects.reports.sdk.b.i.byte(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportSource.getPage(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.getPage(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.getPage(Unknown Source)
at com.businessobjects.crystalreports.viewer.core.rs.b.if(Unknown Source)
at com.businessobjects.crystalreports.viewer.core.av.a(Unknown Source)
at com.businessobjects.crystalreports.viewer.core.av.run(Unknown Source)
at java.lang.Thread.run(Thread.java:534)
Unable to load database connector 'com.crystaldecisions.reports.queryengine.driverImpl.DriverLoader'.
Also got similar error when the path and classpath was switched to Oracle 11g.
Is there a way to tell which file that it failed to load?
Thanks
Kin -
SWPM - System Copy - Assertion Failed Unable to load database
Hello again,
(already the next question form me, sorry for this
I am executing a sysetm copy (DB-refresh) on ASE using SWPM.
However, in "Configure Components" step I get the error: Assertion failed. Unable to load database <SID of Target Sysetm>.
Where else can I check for errors?
I think it is still something on which I already worked (with other thread).
In sapinst_dev.log I found this
TRACE 2015-03-25 11:05:00.320
SAPInst calls the LogInquirer. The output of the LogInquirer can be found in file sapinst_loginquirer.log.
TRACE 2015-03-25 11:05:06.122 [iaxxgenimp.cpp:638]
CGuiEngineImp::showMessageBox()
<html> <head> </head> <body> <p> An error occurred while processing option <i>SAP Enhancement Package 1 for SAP N
etWeaver 7.3 > SAP ASE > System Copy > Target System > Standard System > Based on AS ABAP > Database Refresh or M
ove( Last error reported by the step: Assertion failed: Unable to load database <SID>.)</i>. You can now: </p> <ul>
<li> Choose <i>Retry</i><br>to repeat the current step. </li> <li> Choose <i>Log Files</i><br>to get more inform
ation about the error. </li> <li> Stop the option and continue later. </li> </ul> <p> Log files are written to /t
mp/sapinst_instdir/NW731/SYB/COPY/SYSTEM/STD/AS-ABAP/REF. </p> </body></html>
TRACE 2015-03-25 11:05:06.124 [iaxxgenimp.cpp:1031]
CGuiEngineImp::acceptAnswerForBlockingRequest
Waiting for an answer from GUI
In sapinst.log I found this:
ERROR 2015-03-25 11:04:59.573
FCO-00011 The step syb_step_setup_preload with step key |NW_ABAP_DB_DBRefresh|ind|ind|ind|ind|0|0|NW_ABAP_DB|ind
|ind|ind|ind|0|0|NW_CreateDBandLoad|ind|ind|ind|ind|createdbandload|0|NW_CreateDB|ind|ind|ind|ind|createdb|0|NW_S
YB_DB|ind|ind|ind|ind|SYB_DB_CONTEXT|0|syb_step_setup_preload was executed with status ERROR ( Last error reporte
d by the step: Assertion failed: Unable to load database <SID>.).
INFO 2015-03-25 11:04:59.772
Creating file /tmp/sapinst_instdir/NW731/SYB/COPY/SYSTEM/STD/AS-ABAP/REF/__instana_tmp.xml.
INFO 2015-03-25 11:05:00.307
Removed file /tmp/sapinst_instdir/NW731/SYB/COPY/SYSTEM/STD/AS-ABAP/REF/instslana.xml.
INFO 2015-03-25 11:05:00.308
Creating file /tmp/sapinst_instdir/NW731/SYB/COPY/SYSTEM/STD/AS-ABAP/REF/instslana.xml.Hello Kiran,
I did a few tests again yesterday, and it was really a stupid mistake from myside.
The error message did mean, that there wasn't enough space.
It isn't the authority issue, it was a leak of space.
FYI, the complete DB-Size of Source System is required - NOT JUST RESERVED SPACE!!!
Thx for help and sorry for stealing your time :O -
Hyperion Essbase Error: 1002097 Unable to load database [PlanType1]
Hello,
I am running Hyperion Essbase 9.2.0.3 version. This has happened 3 times now since last 2 weeks. I had to restore the APP folder from previous backup.
The message that i see is Error: 1002097 Unable to load database [PlanType1]
I have searched google and no luck. Anyone knows how to fix this or why we get this message. I don't want to restore from backup everytime.
Thanks
Azmat BhattiI think you have currepted backup.
Try run essmsh script to recover broken block's.
Backups - Files still locked after beginarchive -
Error --1002097 Unable to load database
Hi,
Essbase version 7.
I am having a problem when I am trying to start database or running Essbase give me an Error: 1002097 Unable to load database.(error 1002097 is related to the db corrupt.) this is on PRD server.
we have 2 more server ,(.BS & Dev).
1.I copied the Db from the BS to PRD --- but the application and DB in the PRD system failed to start giving the same error 1002097 .
2.next i did was to migrated the same application from BS to Dev system which went fine and i can see the outline . Application is getting started in the DEV system .
3. Since it was okay in DEV. i migrated the application from BS TO PRD .it got migrated but it is not starting giving me the same error 1002097.
any help will be great.
thanks
ram
Thank you,Re: How can we Restore a corrupted cube.
-
1002097 Unable to load database [Plan1]
Hi all,
I am not able to start the database from essbase. When i start the databse from app, I am getting below message from the panel.
server.XXXXAPP.Plan1 Get database properties April 5, 2011 2:57:27 PM CAT Failed
Error: 1002097 Unable to load database [Plan1]
Error: 1042015 Network error: Cannot Locate Connect Information For []
server.XXXXAPP.Plan1 Get database properties April 5, 2011 2:57:36 PM CAT Failed
Error: 1053001 Cannot open object file: C:\Hyperion\products\Essbase\EssbaseServer\app\XXXXAPP\Plan1\Plan1.esm
server.XXXXAPP.Plan1 Get database properties April 5, 2011 2:57:36 PM CAT Failed
Error: 1053001 Cannot open object file: C:\Hyperion\products\Essbase\EssbaseServer\app\XXXXAPP\Plan1\Plan1.esm
server.XXXXAPP.Plan1 Get database properties April 5, 2011 2:57:40 PM CAT Failed
Error: 1002097 Unable to load database [Plan1]
I tried deleting the app from essbase and create it from planning (through refreh/create) that is also giving me a olap planning exception "Unable to load database"
I can not open forms as well. it is giving me "Unable to obtain a connection to Hyperion Essbase. If this problem persists, please contact your administrator"
Any Help..?
Thanks !
Edited by: user8819264 on Apr 5, 2011 7:52 AM
Edited by: user8819264 on Apr 5, 2011 8:27 AMHi John,
Sry for the delayed reply. The issue was the same as you suggested. There were few esssvr processes running. I couldnt see that from the taskmanager i as was looking on the process that were running with the user i logged in. I could see all once i selected checkbox from "All users". Killed those services and now it is fine.
Thanks. -
Error: Unable to Load Database
Anyone seen this error: "Unable to Load Database"? How to recover? A link or a page for me to read would work too. thx! James
The usual cause for this is that the database has become corrupted - or one or more key files was somehow deleted. Take a look at the application log and see if there is a more detailed message. Unfortunately, if the data has been corrupted, you will have to recover from backup, or rebuild your cube.To get the database started, you can go into the database directory and delete the *.ind, *.pag, *.tct, *.ind and *.esm files. This will allow the app to start, but the data will be GONE - you will HAVE to reload and calc it, or restore from backup.Regards,Jade--------------------------------Jade ColeSenior Business Intelligence ConsultantClarity [email protected]
-
Hi,
When I try to launch a form in my planning application I get the following error:
*"Unable to obtain a connection to Hyperion Essbase. If this problem persists, please contact your administrator."*
However, I have verified that the essbase service is running and running the EAS I have verified that the essbase application/database is available. I can open the outline and other functions from within EAS.
When I try to run a calculation script, I get the following error:
*"Calculation script execution failed.
Please see message panel for details."*
In the message panel I get the following messages:
*"localhost.<AppName>.<DBName>.<ScriptName> Execute calculation script January 21, 2009 10:35:52 AM GMT+05:00 Failed*
*Error: 1002097 Unable to load database [<DBName>]"*
I am a little clueless as to how to resolve this issue. This problem developed spontaneously without there being any changes to the system at all. I have restarted the services multiple times as well as the machine but to no avail.
Any help would be appreciated.
ShehzadHi,
You say the application/database are available but are you sure, if you stop/start it in EAS is it starting up, can you edit the outline.
If it is not starting up, stop the essbase service, look in task manager do you see any esssvr.exe processes running, if you do you need to end their process in task manager.
Now start up essbase again and try and open the app/db.
Cheers
John
http://john-goodwin.blogspot.com/ -
Unable to Load Database/Unable to create database.
RoboHelp 6.0 on my PC is suddenly unable to open existing
projects or create new ones. The problem is not in the projects, as
other people can unzip the same set of files and open them with
RoboHelp on their PCs.
The Details:
When attempting to open an existing project (any project
whether in version control or not), I get the message " Open
project was cancelled or the application was unable to load
database for..."
I found the article that says to delete the CPD and XPJ files
and then to use the Edit option to open the HHP file so that
RoboHelp will recreate the two files. When I try that, I get the
message "Unable to create database. Check that the directory is not
read-only." It's
not read-only.
When I attempt to create a new project, the application acts
like it is going to create one, but it just creates a project
folder without the new first topic and then repeats the New Project
Wizard window that prompts for title, etc. It will keep creating
folders and returning to this window in a loop without ever really
creating a project.
RoboSource Control is functioning normally, by the way.
I have uninstalled and reinstalled RH 6 several times, and
have even uninstalled RH 6 and installed to RH 5 just to see if it
could open projects, which it does with no problems. After that
test, I uninstalled RH 5 and reinstalled RH 6, only to encounter
the same problem all over again.
This started happening after I uninstalled other unrelated
software and received a message that some Service Pack 2 files had
been changed and prompting me to insert the Service Pack 2 CD,
which I don't have. This is because our IT department pre-builds
our systems from an image and then distributes job-specific
applications over the network. IT tried repairing Service Pack 2,
but that didn't work. I'd like to uninstall and reinstall Service
Pack 2, but the IT person says it's too risky on a system that was
built from an image.
We would like to find out
which files RoboHelp is looking for when it launches a
project so we can replace those files manually. Does anyone
know what they are or have another suggestion that might fix the
problem?
Otherwise, I am stuck having to allow IT to rebuild my
system. That means reinstalling and reconfiguring everything on it,
just as if I were upgrading to a new PC. This can take a whole work
week. However, I have already spent close to a work week on this
problem, so maybe rebuilding would save time in the long
run.Problem Resolution = HHA.dll
For anyone who might be interested in the resolution to this
issue, we did rebuild my PC and reinstall all of my software. The
RoboHelp installation "complained" that I did not have HTML Help
Workshop on my system and told me to download version 1.4 from
Microsoft. I did have HTML Help Workshop..it's in my programs list.
(It's not listed in programs on my co-workers' PCs, and they were
not having problems, by the way.) But to make RH happy, I
uninstalled the workshop and tried to install the version from
Microsoft. But a message informed me that I already had a newer
version of the workshop on my system, and I was back where I
started. I could open projects, but there were weird problems.
Selecting Topic Properties was met with an error message, and when
the properties window opened, I could only see whatever template
was assigned (or none if the topic had lost its template), and
there was an extra section for Oracle help.
So I started dinking around in the registry to see if I could
get rid of any traces of the workshop so I could install the
version RH wanted or to find any other clues to my problem. Under
HTMLHelpAuthor, there was a reference to an HHA.dll file located in
C:\WINDOWS\system32...only the file did not exist on my system.
(Remember that my original problem was that some Service Pack 2
files were either modified or missing.) So I did a Google search on
that file name and found out that HTML Help Workshop is included in
newer Windows operating systems, but that people used to have to
get HTML Help Workshop from Microsoft, and that some people had
made the mistake of just putting the HHA.dll file into the
C:WINDOWS\system32 folder without also installing HTML Help
Workshop. At this point it was obvious that I needed the HHA.dll,
so I got it from a co-worker's PC. (Looking at the registry
entries, I can also see that my system was built with a slightly
different version of the operating system than my co-workers have.)
Adding the HHA file to my system solved the problem. All
projects but one were fine; one was still exhibiting the strange
behavior. I fixed it by going back to the RoboHelp 5 version of the
project and re-converting it to RoboHelp 6.
I suspect that if I had known about the HHA.dll file before
we rebuilt the PC, I could have solved the problem without going
through that painful process. That is why I thought I should post
the solution even though it was after the rebuild.
Maybe you are looking for
-
Link to network document - cannot find file
I have a report which needs to provide links to pdf files on a protected network resource. Meaning that the user of the Crystal Report does not have native access to the network resource, not even read access. Is there any way to configure the link
-
NEWBIE Alert! Esteemed Forum Participants and Lurkers: =============================== I have successfully opened an Access (2002) DAO Database from a remote Oracle database and fetched all of the TableDefs (all 534 of them!), but I'm told that what
-
Cannot select HTML message format in Active Sync - Treo 750
Hi - When I configure active sync in Treo 750 device, I can select the message format as HTML but after the first sync the message format reverts to Plain Text, and it's now grayed out! I would appreciate if anyone have a solution for this. \Sridhar
-
could any one please tell me the solution.. even i did not understand, why Apple Support remain silent...
-
How to Configure Transport MAnagement system in CHARM
Hi How to Configure Transport MAnagement system in CHARM? Here our requirement is when ever a change request approved in the background Transport request should be created automatically. We have configured all the Transport Routes in our lanscape. Ca