[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IDV #DIF-393911]: File open problem



> Full Name: Clay Blankenship
> Email Address: address@hidden
> Organization: NSSTC
> Package Version: 2.8u1 build date:2010-02-02 22:30 UTC
> Operating System: Linux
> Hardware: Java: home: /usr/local/other/idv/2.8u1/jre version: 1.6.0_17 
> j3d:1.5.2 fcs (build4)
> Description of problem: There was an error loading the data:
> Error creating data source:db.point with: /home/cbblanke/20030609_0300
> Directory /usr/local/other/idv/2.8u1/pointdata cannot be created.
> 
> 
> Trying to open this file as a "point data database".
> I do not have permissions in /usr/local where it is installed.  Why is it 
> trying to make a directory there?
> 
> Clay

Clay,
   When you select the "Point Data Database" type, and you point to a file, the 
DIV will try to create dummy database for you, and
it is created in the directory where the IDV is installed.

Yuan
> 
> ******************
> Stack trace:
> ERROR XBM0H: Directory /usr/local/other/idv/2.8u1/pointdata cannot be created.
> at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
> at org.apache.derby.impl.services.monitor.StorageFactoryService$9.run(Unknown 
> Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at 
> org.apache.derby.impl.services.monitor.StorageFactoryService.createServiceRoot(Unknown
>  Source)
> at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(Unknown 
> Source)
> at 
> org.apache.derby.impl.services.monitor.BaseMonitor.createPersistentService(Unknown
>  Source)
> at 
> org.apache.derby.iapi.services.monitor.Monitor.createPersistentService(Unknown
>  Source)
> at org.apache.derby.impl.jdbc.EmbedConnection.createDatabase(Unknown Source)
> at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
> at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(Unknown Source)
> at org.apache.derby.impl.jdbc.EmbedConnection40.<init>(Unknown Source)
> at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown Source)
> at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
> at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source)
> at java.sql.DriverManager.getConnection(Unknown Source)
> at java.sql.DriverManager.getConnection(Unknown Source)
> at 
> ucar.unidata.data.point.DbPointDataSource.getConnection(DbPointDataSource.java:180)
> at 
> ucar.unidata.data.point.DbPointDataSource.initConnection(DbPointDataSource.java:217)
> at 
> ucar.unidata.data.point.DbPointDataSource.<init>(DbPointDataSource.java:125)
> 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 ucar.unidata.data.DataManager.createDataSource(DataManager.java:1558)
> at 
> ucar.unidata.idv.IntegratedDataViewer.createDataSource(IntegratedDataViewer.java:1992)
> at 
> ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1909)
> at 
> ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1843)
> at 
> ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1816)
> at ucar.unidata.idv.chooser.IdvChooser.makeDataSource(IdvChooser.java:943)
> at ucar.unidata.idv.chooser.FileChooser.selectFilesInner(FileChooser.java:656)
> at ucar.unidata.idv.chooser.FileChooser.selectFiles(FileChooser.java:525)
> at ucar.unidata.idv.chooser.FileChooser.doLoadInThread(FileChooser.java:547)
> 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 ucar.unidata.util.Misc$2.run(Misc.java:1068)
> at ucar.unidata.util.Misc$3.run(Misc.java:1096)
> 
> 
> 


Ticket Details
===================
Ticket ID: DIF-393911
Department: Support IDV
Priority: Normal
Status: Open