Derby.jar
I can't seem to correctly call derby.jar driver, despite the fact that I have inserted the filepath into my classpath.
Class.forName("org.apache.derby.jdbc.EmbeddedDriver");
returns error: "error - java.lang.classnotfoundexception: org.apache.derby.jdbc.EmbeddedDriver"
when I run my database-driven application.
Does anyone have any clues, or perhaps a derby.jar that works?
Thanks,
Steve
StevanL wrote:
Thanks for your reply. I've double-ckecked the directory location of derby.jar, and that it matches up with the filepath found in classpath (in enviornment variables). They are both fine. Check again
Why wouldn't the derby.jar file contain class org.apache.derby.jdbc.EmbeddedDriver? Does it not contain this class by default?Usually. Double-check by unzipping derby.jar and looking for it
There are four things that could be wrong here (in descending order of likelihood)
1) You haven't., actually, set the classpath up properly after all
2) You have a version of derby.jar which doesn't have the embedded driver in it
3) Your machine is haunted/possessed
4) Your JVM has a bug which means that, only on your machine, this class cannot be loaded for some reason
And yes, 3 and 4 are the right way around
Similar Messages
-
How to access the database jar file using the derby 10.2.1.6 database ?
Hi,
How to access the database jar file using the derby 10.2.1.6 database ?
I have used like below. And i am getting the following the error:
"org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot load JDBC driver class 'org.apache.derby.jdbc.EmbeddedDriver'
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1136)"
My context.xml file looks like this:
<Context crossContext="true">
<Resource name="jdbc/derby" auth="Container"
type="javax.sql.DataSource" driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
url="jdbc:derby:jar(\CalypsoDemo\database.jar)samples"
username="xxx" password="xxx" maxActive="20" maxIdle="10"
maxWait="-1"/>
</Context>
What could be the reason.?
Any suggestions will be appriciated.
Thanks in Advance,
Gana.ya, I have restarted. Can you please tell me whether the path which i am giving is right or not in the context file?
Thanks,
Gana. -
Issue using the Eclipse report designer with Derby Client JDBC Driver
All I am trying to do is add a table to a blank report using the Crystal reports Eclipse plugin. The database is connected successfully in Eclipse using the Derby Client JDBC Driver, but when I try to drag a table from the database over to my blank report, I get the following error:
<br />
<br />
<br />
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Could not Add Object.
java.lang.ExceptionInInitializerError---- Error code:-2147215362 Error code name:unknownError
at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(ReportSDKException.java:65)
at com.businessobjects.crystalreports.designer.core.commands.ReportCommand.throwExecFailure(ReportCommand.java:253)
at com.businessobjects.crystalreports.designer.core.commands.ReportCommand.internalDoCommand(ReportCommand.java:126)
at com.businessobjects.crystalreports.designer.core.commands.ReportCommand.execute(ReportCommand.java:237)
at com.businessobjects.crystalreports.designer.uibase.gef.commands.CoreCommand.execute(CoreCommand.java:70)
at com.businessobjects.crystalreports.designer.dseintegration.DSEDropHandler.drop(DSEDropHandler.java:114)
at org.eclipse.jface.util.DelegatingDropAdapter$3.run(DelegatingDropAdapter.java:211)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at org.eclipse.jface.util.DelegatingDropAdapter.drop(DelegatingDropAdapter.java:209)
at org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:774)
at org.eclipse.swt.dnd.DropTarget.Drop(DropTarget.java:456)
at org.eclipse.swt.dnd.DropTarget$3.method6(DropTarget.java:258)
at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:119)
at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method)
at org.eclipse.swt.dnd.DragSource.drag(DragSource.java:363)
at org.eclipse.swt.dnd.DragSource.access$0(DragSource.java:289)
at org.eclipse.swt.dnd.DragSource$1.handleEvent(DragSource.java:172)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
Caused by: com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: java.lang.ExceptionInInitializerError---- Error code:-2147467259 Error code name:failed
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:741)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:167)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:529)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:527)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$3.doWork(ExecutorWithIdleProcessing.java:182)
at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(AbstractCancellableRunnable.java:69)
at com.businessobjects.crystalreports.designer.core.util.thread.PriorityTask.run(PriorityTask.java:75)
at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.runSubtask(PriorityCompoundCancellableRunnable.java:187)
at com.businessobjects.crystalreports.designer.core.util.thread.PriorityProgressAwareRunnable.runSubtask(PriorityProgressAwareRunnable.java:90)
at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.doWork(PriorityCompoundCancellableRunnable.java:144)
at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(AbstractCancellableRunnable.java:69)
at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$IdleTask.run(ExecutorWithIdleProcessing.java:320)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ExceptionInInitializerError
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCConnection.do(Unknown Source)
at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCConnection.Open(Unknown Source)
at com.crystaldecisions.reports.queryengine.JDBConnectionWrapper.Open(SourceFile:123)
at com.crystaldecisions.reports.queryengine.Connection.br(SourceFile:1771)
at com.crystaldecisions.reports.queryengine.Connection.bs(SourceFile:491)
at com.crystaldecisions.reports.queryengine.Connection.t1(SourceFile:2978)
at com.crystaldecisions.reports.queryengine.Table.u7(SourceFile:2403)
at com.crystaldecisions.reports.dataengine.datafoundation.AddDatabaseTableCommand.new(SourceFile:529)
at com.crystaldecisions.reports.common.CommandManager.a(SourceFile:71)
at com.crystaldecisions.reports.common.Document.a(SourceFile:203)
at com.businessobjects.reports.sdk.requesthandler.f.a(SourceFile:175)
at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.byte(SourceFile:1079)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1167)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:661)
... 16 more
Caused by: java.lang.SecurityException: sealing violation: package org.apache.derby.impl.store.access.sort is sealed
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.getImplementations(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.getDefaultImplementations(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(Unknown Source)
at org.apache.derby.impl.services.monitor.FileMonitor.<init>(Unknown Source)
at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Unknown Source)
at org.apache.derby.iapi.jdbc.JDBCBoot.boot(Unknown Source)
at org.apache.derby.jdbc.EmbeddedDriver.boot(Unknown Source)
at org.apache.derby.jdbc.EmbeddedDriver.<clinit>(Unknown Source)
... 36 more
<br/>
<br />
<br />
If anyone can help me figure out what I am doing wrong, it would be much appreciated.
Edited by: cehowell on Jan 28, 2011 3:34 PMTed,
When I connect to the Derby database in Eclipse using the embedded driver, I can successfully drag and drop tables to create a report. This driver uses the derby.jar file and has no package sealing violations popping up.
<br/>
<br/>
When specifying a driver for a new derby database in Eclipse, the default Derby client driver expects to use the derbyclient.jar driver file. If I only specify this as the driver file this is the error I get:
<br/>
<br/>
<br/>
<code>
java.lang.ClassNotFoundException: org.apache.derby.jdbc.EmbeddedDriver
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.net.FactoryURLClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at com.businessobjects.crystalreports.designer.dseintegration.DataAccessHelper.setupJRCConfiguration(DataAccessHelper.java:124)
at com.businessobjects.crystalreports.designer.dseintegration.DataAccessHelper.createTable(DataAccessHelper.java:188)
at com.businessobjects.crystalreports.designer.dseintegration.DataAccessHelper.createTable(DataAccessHelper.java:78)
at com.businessobjects.crystalreports.designer.dseintegration.TableCreationFactory.getNewObject(TableCreationFactory.java:116)
at com.businessobjects.crystalreports.designer.dseintegration.DSEDropHandler.drop(DSEDropHandler.java:103)
at org.eclipse.jface.util.DelegatingDropAdapter$3.run(DelegatingDropAdapter.java:211)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at org.eclipse.jface.util.DelegatingDropAdapter.drop(DelegatingDropAdapter.java:209)
at org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:774)
at org.eclipse.swt.dnd.DropTarget.Drop(DropTarget.java:456)
at org.eclipse.swt.dnd.DropTarget$3.method6(DropTarget.java:258)
at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:119)
at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method)
at org.eclipse.swt.dnd.DragSource.drag(DragSource.java:363)
at org.eclipse.swt.dnd.DragSource.access$0(DragSource.java:289)
at org.eclipse.swt.dnd.DragSource$1.handleEvent(DragSource.java:172)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
</code>
<br/>
<br/>
<br/>
and:
<br/>
<br/>
<br/>
<code>
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Could not Add Object.
Unexpected database connector error---- Error code:-2147215362 Error code name:unknownError
at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(ReportSDKException.java:65)
at com.businessobjects.crystalreports.designer.core.commands.ReportCommand.throwExecFailure(ReportCommand.java:253)
at com.businessobjects.crystalreports.designer.core.commands.ReportCommand.internalDoCommand(ReportCommand.java:126)
at com.businessobjects.crystalreports.designer.core.commands.ReportCommand.execute(ReportCommand.java:237)
at com.businessobjects.crystalreports.designer.uibase.gef.commands.CoreCommand.execute(CoreCommand.java:70)
at com.businessobjects.crystalreports.designer.dseintegration.DSEDropHandler.drop(DSEDropHandler.java:114)
at org.eclipse.jface.util.DelegatingDropAdapter$3.run(DelegatingDropAdapter.java:211)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at org.eclipse.jface.util.DelegatingDropAdapter.drop(DelegatingDropAdapter.java:209)
at org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:774)
at org.eclipse.swt.dnd.DropTarget.Drop(DropTarget.java:456)
at org.eclipse.swt.dnd.DropTarget$3.method6(DropTarget.java:258)
at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:119)
at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method)
at org.eclipse.swt.dnd.DragSource.drag(DragSource.java:363)
at org.eclipse.swt.dnd.DragSource.access$0(DragSource.java:289)
at org.eclipse.swt.dnd.DragSource$1.handleEvent(DragSource.java:172)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
Caused by: com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Unexpected database connector error---- Error code:-2147467259 Error code name:failed
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:2285)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:2305)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:737)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:167)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:529)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:527)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$3.doWork(ExecutorWithIdleProcessing.java:182)
at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(AbstractCancellableRunnable.java:69)
at com.businessobjects.crystalreports.designer.core.util.thread.PriorityTask.run(PriorityTask.java:75)
at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.runSubtask(PriorityCompoundCancellableRunnable.java:187)
at com.businessobjects.crystalreports.designer.core.util.thread.PriorityProgressAwareRunnable.runSubtask(PriorityProgressAwareRunnable.java:90)
at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.doWork(PriorityCompoundCancellableRunnable.java:144)
at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(AbstractCancellableRunnable.java:69)
at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$IdleTask.run(ExecutorWithIdleProcessing.java:320)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: com.crystaldecisions.reports.common.QueryEngineException: Unexpected database connector error
at com.crystaldecisions.reports.queryengine.Connection.a(SourceFile:1861)
at com.crystaldecisions.reports.queryengine.Connection.br(SourceFile:1800)
at com.crystaldecisions.reports.queryengine.Connection.bs(SourceFile:491)
at com.crystaldecisions.reports.queryengine.Connection.t1(SourceFile:2978)
at com.crystaldecisions.reports.queryengine.Table.u7(SourceFile:2403)
at com.crystaldecisions.reports.dataengine.datafoundation.AddDatabaseTableCommand.new(SourceFile:529)
at com.crystaldecisions.reports.common.CommandManager.a(SourceFile:71)
at com.crystaldecisions.reports.common.Document.a(SourceFile:203)
at com.businessobjects.reports.sdk.requesthandler.f.a(SourceFile:175)
at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.byte(SourceFile:1079)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1167)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:661)
... 16 more
Caused by: com.businessobjects.reports.jdbinterface.common.DBException: Unexpected database connector error
at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCConnection.Open(Unknown Source)
at com.crystaldecisions.reports.queryengine.JDBConnectionWrapper.Open(SourceFile:123)
at com.crystaldecisions.reports.queryengine.Connection.br(SourceFile:1771)
... 26 more
</code>
<br/>
<br/>
<br/>
The error I initially posted resulted after I added the derby.jar as a driver file in addition to the derbyclient.jar, which I don't think is supposed to be done now that I am thinking about it, but I did it because of the class not found exception above. Is this perhaps simply a bug that it is trying to utilize the derby.jar embedded driver when the client driver should be used instead? Or am I doing something wrong myself?
<br/>
<br/>
Thank you for your help. -
Need Help Deploying Creator Project with Derby as Embedded
HI,
I have developed a web app using creator and the derby database instance that runs within creator. Now I want to war up the app and include the derby db as an embedded database. I have included the derby jar file in my lib directory and have created a new datasource with the derby embedded driver for testing. I cannot seem to get the db to run as embedded. My data source is setup as follows:
dataSource name="DerbyTest3"
driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
url="jdbc:derby:../sample"
validationQuery="select * from "
username="dbadmin"
password="7237EACC50DB74EF"
/>
The sample database was copied from the creator source tree and inserted under WEB-INF
When I try to connect I get the following error:
Description: An unhandled exception occurred during the execution of the web application. Please review the following stack trace for more information regarding the error.
Exception Details: org.apache.jasper.JasperException
java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: Database '../sample' not found.
Possible Source of Error:
Class Name: org.apache.jasper.servlet.JspServletWrapper
File Name: JspServletWrapper.java
Method Name: service
Line Number: 384
any help greatly appreciated.
gary
Message was edited by:
garff
Message was edited by:
garffOne of our developers mentioned this, but it's also in the derby ref manual for the SQLException you're getting:
http://db.apache.org/derby/docs/10.2/ref/rrefattrib26867.html
sounds like you needed to append
;create=true
to the JDBC Url...
HTH,
skj -
Apache Derby database not working
I am running a Windows 2003 server with Coldfusion 8. I was attempting to update the Apache Derby database to the latest version. I copied the following files to the "\Coldfusion8\lib\" directory and replaced the existing files:
derby.jar
derbyclient.jar
derbynet.jar
derbyTesting.jar
derbytools.jar
After replacing these files, I haven't been able to get my Apache Derby embedded databases working. I've downloaded all of the versions of Derby from the Apache website and individually replaced the files in the "\Coldfusion8\lib\" folder. I shut down CF, replaced the 5 files, and restarted the server; all without any luck.
Any ideas on how to restore Apache Derby functionality to my server would be greatly appreciated.how to restore Apache Derby functionality
Restore the original files you replaced!
If you want to use version of Derby other than the one CF ships with, install it separately.
Adam -
Hi,
I have a problem while trying connection the cloudscape 10.1 database.
For the connection a derby.jar file is required. i have include the file and I can connect the database via the class code. but when i try to connect by a jsp file, i get an error:
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:830)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:763)
org.apache.jsp.Controller_jsp._jspService(Controller_jsp.java:68)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:251)
javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
sun.reflect.GeneratedMethodAccessor60.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
root cause
java.lang.ExceptionInInitializerError
java.lang.Class.forName0(Native Method)
java.lang.Class.forName(Class.java:164)
PRM.Database.openDatabaseConnection(Database.java:26)
PRM.Controller.(Controller.java:14)
org.apache.jsp.Controller_jsp._jspService(Controller_jsp.java:47)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:251)
javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
sun.reflect.GeneratedMethodAccessor60.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
note The full stack trace of the root cause is available in the Sun-Java-System/Application-Server logs.
Sun-Java-System/Application-Server
when I debug I get an other error:
Sealing violation loading org.apache.derby.jdbc.InternalDriver : Package org.apache.derby.jdbc is sealed
According to an IBM site this means that I have 2 different derby.jar files
The sealed jar error indicates that you are trying to load classes from the same package in two different jar files. (quote from the site)
http://www-128.ibm.com/developerworks/forums/dw_thread.jsp?message=13764581&cat=19&thread=98729&treeDisplayType=threadmode1&forum=370#13764581
My classpath =
"/C:/Program Files/Sun/jstudio_ent8/AppServ8.1UR2/domains/domain1/applications/j2ee-modules/BigTest2/WEB-INF/classes/;/C:/Program Files/Sun/jstudio_ent8/AppServ8.1UR2/domains/domain1/applications/j2ee-modules/BigTest2/WEB-INF/lib/derby.jar;C:/Program Files/Sun/jstudio_ent8/AppServ8.1UR2/domains/domain1/generated/ejb/j2ee-modules/BigTest2/;"
The 2 locations ofthe derby.jar files are:
C:\Program Files\Sun\jstudio_ent8\AppServ8.1UR2\domains\domain1\applications\j2ee-modules\BigTest2\WEB-INF\lib
and
C:\Documents and Settings\Administrator\BigTest2\build\web\WEB-INF\lib
deleting one isn't a option, a new derby.jar will be placed back while compiling..
What to do?Thanks but I've used that tutorial and others to learn how to make the jar file executable and its working if i use "java -jar hello.jar" at the command line.
Unfortunatley i was messing around with the 'open with' command on the jar file trying to fix it and i've made it associated with some html help thing., and i have no idea how to unasociate it.
Anyone know any way i can remove all associations with it? -
Problem setting up ODI Repository on Apache Derby DB 10.2.2.0
I am trying to installl the Apache Derby DB and then trying
to create an Oracle Data Intergrator Metadata Repository on the
Derby Instance but i seem to be lost with regards to the Drivers
and the Connection details can anyone point me to some good
resources where i can understand the installation procedure for
Apache Derby and also the connection issues with Oracle Data
Integrator.In order to use the Apache Derby technology for the repository, you will need the Derby JDBC driver (derby.jar) to be located in your drivers subdirectory. Once that is there, you can start the process by creating the master repository using the wizard. Once in there, you will need to use the driver class (org.apache.derby.jdbc.EmbeddedDriver) and the URL which will be something like jdbc:derby:MYFILE.db;create=true.
From the list of technologies, select the DB2UDB definition, not the Apache Derby definition. This will allow you to create your master repository there. Follow on from there with the other parts of the repository creation using this information. -
Setting the CLASSPATH for the derby.jdbc embedded class
I am new to Java and am trying to connect a simple (hello world simple) terminal app to a javadb embedded database - I am using the classFor to load the jdbc - but when I run my app I get an error saying the class can't be found. I think I just need to add the jdbc to my classpath. I've tried using
export CLASSPATH=...
but I still get the same error.Thank you SO much for your response! I have tried the following (this is where I found the derby.jar):
javac -cp /usr/lib/jvm/java-6-sun-1.6.0.07/db/lib/derby.jar test.java
But I am still getting the same error:
java.lang.ClassNotFoundException: org.apache.derby.jdbc.EmbeddedDriver
Here is my code - so far it doesn't really do anything, I just want to get it connected, then I'll start adding some simple db code and go from there:
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.Statement;
class HelloDave
public static void main(String[] args)
try
Class.forName("org.apache.derby.jdbc.EmbeddedDriver");
catch (Exception e)
e.printStackTrace();
System.out.println("Hello, Dave");
} -
Hi,
I'm having issues with a classpath. I've made an rmi chat app running on tomcat 5. I started using Derby recently but I'm having problems with where to place the derby.jar or how to specify the classpath for it.
I've tried:
CLASSPATH=.;%DERBY_HOME%\lib\derby.jarI also tried putting the derby.jar file in the bin directory and in commons/lib in tomcat and chat/lib (my own folder) but again no luck. I've also tried other options of the classpath but nothing.
The java code for the Class.for... is:
public static Connection getConnection()
dbURL = "jdbc:derby://localhost:1527/dsChatTestDB;create=true;user=admin;password=admin";
try
*Class.forName("org.apache.derby.jdbc.EmbeddedDriver").newInstance();*
// Get a connection
conn = DriverManager.getConnection(dbURL);
catch(ClassNotFoundException cNFEx)
.....I tried out a test app (non rmi or tomcat) in eclipse using the same connection strings above and they work fine.
Can anyone help on where to put the jar file or what classpath to specify. Tis wrecking my head :D
Thanks,
Brian
Edited by: Rebels_Mascot on 07-Mar-2008 01:34Hey ejb,
Well I can't be a 100% sure but when I had <b>set classpath=%DERBY_HOME%\lib\derby.jar</b> it didn't work and as soon as I changed from that classpath to the java classpath, it worked fine.
I have all the commands in a bat file:
'originally - set classpath=%DERBY_HOME%\lib\derby.jar
set CLASSPATH=
del Chat.jar
rd /S /Q .\chat\bin\ds
javac -d .\chat\bin chat\src\ds\rmi\client\*.java
chat\src\ds\rmi\common\*.java
chat\src\ds\rmi\common\domain\*.java
chat\src\ds\rmi\factory\*.java chat\src\ds\rmi\server\*.java
chat\src\ds\rmi\server\services\*.java
chat\src\ds\rmi\server\services\persistence\*.java
jar cvf Chat.jar .\chat\bin .\chat\policy
rmic -classpath .\chat\bin -d .\chat\bin ds.rmi.server.ChatServerImpl
start rmiregistry
start rmid -J-Djava.security.policy=.\chat\policy &
pause
start java -cp .\chat\bin;.\chat\lib\derby.jar;.\chat\lib\derbyclient.jar
-Djava.rmi.server.codebase=http://localhost:8080/dschatActivate/chat/bin/
-Djava.security.policy=chat\policy ds.rmi.server.Server&
rmic -classpath .\chat\bin -d .\chat\bin ds.rmi.client.ClientUII tried a few variations with the set classpath by putting the derby.jar file in different locations, e.g. chat/lib and changing the classpath to there but that didn't work either.
Thanks,
Brian
Edited by: Rebels_Mascot on 08-Mar-2008 01:39 -
hello all,
I created a jar file using netbeans put in a classpath for a database driver (derby.jar). There are also 8 classes in this jar file, i specified which main should start everything is working perfectly. But some of the classes access audio and images in the jar file, but i get an exception saying that i am missing these files but they are in the jar file! Anyone know why?
This is how the class access these files:
AudioStream sound1 = new AudioStream(new FileInputStream("Test.wav"));And this is the exception:
Exception in thread "main" java.io.FileNotFoundException: Test.wav (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at Splash2.sound(Splash2.java:89)
at Splash2.<init>(Splash2.java:40)
at Splash2.main(Splash2.java:124)Will appreciate any help since i really need to get this to work.
Thanks allI have had this problem before also, the way i got it to work was using:
AudioClip sound1 = Applet.newAudioClip(this.getClass().getClassLoader().getResource("SomeSoundFile.wav"));
//It also works for getting images out of a jar file:
ImageIcon imgicon = new ImageIcon(this.getClass().getClassLoader().getResource("SomeImage.gif") );
Image img1 = imgicon.getImage();Calling this.getClass().getClassLoader().getResource("SomeImage.gif") returns a java.net.URL to the image in your jar file, then you need to call something that can accept a URL and get an image out of it (for example, I used ImageIcon for simplicity). (Note that you need to call it from an instantiated class, and not your main method, you would most likely make this call in a media loader class or something)
The actual filename you submit as the getResource string is the path to the resource from the root jar directory, so if you had an image folder, you would just need to use something like "images/SomeImage.gif"
Good luck, I hope this helps -
How to disable derby for WebLogic 12.1.2?
Previous versions of WebLogic did not automatically start the Derby database but now with 12.1.2 it is always starting it.
This is happening all the time, no matter if this is a production domain or not.
What is the reason behind this change of behaviour and what is the easiest way to disable that in a domain template without modifying multiple files?Basically there is a simple IF statement in the "$WL_DOMAIN_HOME$\bin\setDomainEnv.cmd" file:
@REM Set DERBY_FLAG, if derby is available.
if exist %WL_HOME%\common\derby\lib\derby.jar (
set DERBY_FLAG=true
So if you want to prevent derby form starting you have a couple of options:
you can rename "derby.jar" to something else (this is what I have done and it works)
you can delete the IF statement from start-up script
maybe you could statically set the DERBY_FLAG to false in the startWeblogic.cmd script
How to set this particular feature in a template I don't know. I hope this at least partially solves your problem.
Regards, Goran -
Well I switched over from Notepad++ to Netbeans to simplify the GUI processes. And of course by simplify I mean almost eliminate. In any case now that the basic underlying information needs have been identified and I have a GUI, the next step is an appropriate database for said information. However I am having some issues creating and connecting to the Derby database.
I have already gone to Tools > Libraries > New Library, "JavaDBEmbedded" with the following classpath and Javadoc. All is good so far.
C:\Sun\sdk\javadb\lib\derby.jar
C:\Sun\sdk\javadb\javadocI used the following statement(s) to load the driver. I tried this both within the class and a method for a button. Within the method the first try is fine, however I am still getting an error for the second try.
private void jButtonCreateActionPerformed(java.awt.event.ActionEvent evt) {
//Create the database below
//Load the following driver
try {Class.forName("org.apache.derby.jdbc.EmbeddedDriver");}
catch (Exception driver) {}
try {Connection dbConnection = DriverManager.getConnection("jdbc:derby:Map1;create=true", "Username", "Password");}
catch (ClassNotFoundException ex) {ex.printStackTrace();}
//Create the database above
}Driver Manager doesnt strike me as a variable. Which is saying to me its trying to set one variable equal to another. Which means there is a problem creating a new instance of the "Connection" class?? Is there something I need to import to use the connection class?
Cannot find symbol
Symbol: Class Connection
Location: jPanelMain
Cannot find symbol
Symbol:variable DriverManager
Location: jPanelMainnunnbt473 wrote:
Driver Manager doesnt strike me as a variable. Which is saying to me its trying to set one variable equal to another. Which means there is a problem creating a new instance of the "Connection" class?? Is there something I need to import to use the connection class?Driver Manager isn't a variable. It's a class that provides a static factory method called getConnection that returns a java.sql.Connection for some given parameters. You can find more information about the Driver Manager class (and the getConnection() methods in particular) here. You need to import java.sql.DriverManager and java.sql.Connection. -
Hi all,
Trying to get Derby up and running. I have set up the following Environment Variables:
DERBY_HOME: C:\Apache\db-derby-10.3.1.4-bin
CLASSPATH :
.;C:\Program Files\QuickTime\QTSystem\QTJava.zip; %DERBY_HOME%\lib\derby.jar; %DER
BY_HOME%\lib\derbytools.jar;
I'm trying to created a new database from the command prompt but keep getting an exception:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/derby/tool
s/ij
I'm really not sure what I'm doing wrong because I when I run the sysinfo.bat I get the required output. I'm trying to run the ij tool with the following line when I get the error.
C:\Apache\db-derby-10.3.1.4-bin>java org.apache.derby.tools.ijI see that I can run the ij command from the \bin directory but then when I create the database its in that directory and not the folder that I created for the database. When I check the log I also see something peculiar:
Database Class Loader started - derby.database.classpath=''From what I see here there is no classpath?? I'm I correct in my assumption or is that the way it should be.
When I echo the CLASSPATH I do see the derby.jar and derbytools.jar paths added to the list. -
hello,
I need to have a JDBC connection with derby.
I use this code:
// define the driver to use String driver = "org.apache.derby.jdbc.EmbeddedDriver"; // the database name String dbName="deliverDB"; // define the Derby connection URL to use DeliverFileManager deliverFileManager = new DeliverFileManager(); boolean oldDB = deliverFileManager.deliverExist("\\" + dbName); String connectionURL; if (oldDB == true) connectionURL = "jdbc:derby:" + dbName; // + ";create=false"; else // jdbc:derby:support/bugsdb;create=true connectionURL = "jdbc:derby:" + dbName + ";create=true"; try { // Load the Derby driver. // when the embedded Driver is used this action start the Derby engine. // V.I. // Catch an error and suggest a CLASSPATH problem Class.forName(driver); System.out.println(driver + " loaded. "); } catch(java.lang.ClassNotFoundException e) { System.err.print("ClassNotFoundException: "); System.err.println(e.getMessage()); System.out.println("\n >>> Please check your CLASSPATH variable <<<\n"); } // Beginning of Primary DB access section ...BOOT DATABASE try { dbconn = DriverManager.getConnection(connectionURL); // V.I. too System.out.println("Connected to database " + dbName); } catch (SQLException ex) { JOptionPane.showMessageDialog(null, ex.getMessage()); } catch ( Exception excp ) { // process remaining Exceptions here excp.printStackTrace(); }
the connection fail when the line
Class.forName(driver);
it is executed.
The mistake come for the CLASSPATH, and I tried to set it in the control
panel but am not able to set it good for my purpose...
How it is possible to indicate the CLASSPATH, looking for to the future problem of install the program
in other computers too ?
In this moment the program it is run in the IDE of NetBeans 6.1.
thank you
regards
tonyMrsangeloViKARLL wrote:
Hi Tony,
Have you found a solution ? The Following worked for me.
1) Copy and past derby.jar to your <your drive>\Program Files\Java\jdk <your version>\jre\lib\ext folder.
For me it was on Widows XP;
C:\Program Files\Java\jdk1.6.0_06\jre\lib\ext\derby.jar;2) Set the CLASSPATH in your environmental Variable as you did earlier, but this time point to the above location.
Hope this helps.
ViKARLLWrong approach. Don't do that. If you upgrade JDK after one month, your applications won't work anymore.
Just specify the path to the JAR file in the -classpath (or -cp) parameter of java.exe. To shorten the command you have to enter everytime, write a .bat file with the complete command (or a .sh file in case of *NIX). -
Hi having a problem connecting to Derby from Netbeans 6.5, running Ubuntu.
I get the error message: "An error occurred while creating the database: The Java DB (Network) driver was not found".
It starts up fine, but I can't create a database.
Under: Services > Drivers, there is Java DB (Embedded) which exists at: usr/share/javadb/lib/derby.jar.
Is the Derby driver different from the Java DB Network driver? Or is there some magical incantation I am supposed to put upon Netbeans to make this all work? I have a chicken here and I am willing to sacrifice it to the Derby God to get this working.I have the same problem. I'm new dealing with ubuntu and netbeans. I have netbeans 6.5 installed from synaptic. After this, I have installed all and every plugin from inside the netbeans plugins menu.
I have written, compiled and run c and c++ small apps, and java console and windowed small apps too.
I find 2 main errors:
1.- When I try to create a database from netbeans/Services/Databases/Java DB and clicking with the secondary mouse button and choosing "Create Database" from the context menu.
If the database name I want to create is db1, as an example, the program creates some directories and files in $HOME/.netbeans-derby/db1
But finish with the error message:
"An error occurred while creating the database: The Java DB (Network) driver was not found"
I can open this database and create tables in it, from the context menus of netbeans/Services/Databases/Drivers over
jdbc:derby:$HOME/.netbeans-derby/db1 nbuser on APP
But I wonder if the database is correctly created or not. I'd like to activate the Java DB (Network) driver but I don't know how to do it.
I have installed the glassfishv2 package from synaptic but I think it wasn't necesary because I think the javadb database was running well before this.
2.- I don't know if this second problem has something to do or has some common or relationed points with the first one, but I'm going to tell you it, too.
When I try to create a new java desktop application, when I must choose the Application Shell, I only can choose Basic Application. The Database Application Shell (as described in netbeans and derby manuals) is not present at all.
I wonder why the database application shell is missing and how can I configure netbeans for showing the Database Application Shell option.
Thanks a lot
Maybe you are looking for
-
How can I move the download backups and backups folder to a new location
I am using Lightroom 4.3 on a windows 7 64 windows computer with two hard drives. One dedicated to running programs and the larger one for storage of all my other stuff. Well my backups and download backups folders are on the smaller drive and I ne
-
Get current playlist in iTunes
I'm pretty sure this worked at one time, but I don't know what was changed. I need to get the name of the currently selected playlist.The following command doesn't work on 2 different computers (10.4 & 10.3). tell application "iTunes" to get current
-
Problem with credit memo and withholding tax
Please, I need your help: I have tried pay some invoice, each one does not exceed the minimum amount for Withholding Tax , but the adding of them exceed the Max Amounts for Withholding Tax Codes. For this I am using u201CBase exempt amt check a
-
IPhone / iPad syncing issues.
What I'm using: iPhone 4S 32GB - iOS 6 iPad 3rd Gen 16GB - iOS 6 MacBook Pro 2011 i7 (OS 10.8.2) --- iTunes 10.7 When i plug either the iPhone or the iPad in to my computer to sync them both, the iPad/iPhone will vibrate off and on, thinking its plu
-
I am having a problem using substring to select/filter. The substring selection is not holding to the specified locations in the string. Instead, it finds any matching text in the entire string. For reference, my web site intent is, 1. A single XML