Problem writing external file to externally mounted disk in Windows

Folks,
I've got a puzzling problem with a simple OWB mapping where I'm dumping the contents of a table to an external file.
Versions are OWB v 11.2.0.2 64-bits on Oracle RDBMS 11.2.0.2 Windows 2007 64-bits Enterprise Server.
When the external files module is hooked up to a location that points to a local disk and directory on the OWB-server, everything works fine - files are created and written.
When the external files module is hooked up to a location that points to a mounted disk on another Windows 2007 64-bits Enterprise Server, I get +"Invalid Path for target file, check if connector is deployed correctly".+
The "File System Location Path" in OWB is set to "N:" (no slashes either way). "Test Connection" reports OK.
I've given both the Oracle os-user and "Everyone" (for good measure) all rights on the mounted disk, and I can see that the generated package code is using the correct Directory, and the Directory Path is the correct one on the server. The mounted disk (N:) should appear as a local disk to Oracle as far as I can see. I'm able to create and delete files on the disk using command line on the OWB/DB-server.
I'm scratching my head on this one....

then mapped that share as a network drive (N:) on server A (the OWB/DB-server)I think that problem was with different accounts used for run Oracle database (usually database instance run under SYSTEM account) and which you used to map share (it was interactive session). Even when you made this map persistent (enable "Reconnect at logon" option during mapping) you don't grant access to this drive to other accounts (including SYSTEM ) - this drive will not be visible to other users.
I think it is possible to create "persistent" network drive mapping for Oracle database context with specification non-SYSTEM account (domain or server local) for running Oracle database instance (and Oracle Listener service).
Also it seems there is a workaround to access mapped network drive under SYSTEM account:
http://stackoverflow.com/questions/182750/how-to-map-a-network-drive-to-be-used-by-a-service
Regards,
Oleg

Similar Messages

  • External HD won't mount - Disk Utility hangs

    My power cord got knocked out while writing a file to my Maxtor OneTouch III Mini (160GB) USB hard drive. Now when I connect the drive, one of the two partitions shows up, but the computer will freeze if I try to do anything with it. Disk Utility will sit and spin for hours "Gathering disk information..."
    This was working fine, and I had JUST put my iTunes library there yesterday. I'd reformat the drive if I had to, but I'm not even sure if I can do that...
    Any advice is gratefully accepted.
    12 PB G4   Mac OS X (10.4.8)  

    You can try to use other disk repair tools like TechTool, DiskWarrior or Drive 10. They usually give better results and could save your data without formatting the drive, if it is not physically damaged.
    Why reward points ?

  • Problem writing to file

    I'm working on a program that asks for the users name. after that its supposed to pull the current date and time and print that into a file along with the users name.
    my problem is when i open the .txt file i get several characters i dont recogize and then my name at the end.
    Thanks for the help:
    public class CIS314Exam1MarkWellsFrame
    private ObjectOutputStream output;
    public void openFile()
    try
    output = new ObjectOutputStream(new FileOutputStream("guestlog.txt"));
    catch(IOException ioException)
    JOptionPane.showMessageDialog(null, "You do not have access to this file");
    System.exit(1);
    public void insertName()
    try
    Date today = new Date();
    //utput.writeObject(today);
    //String name = JOptionPane.showInputDialog("Enter Name");
    String name = "Mark";
    output.writeObject(name);
    catch(IOException ioException)
    JOptionPane.showMessageDialog(null, "Error writing to file");
    return;
    public void closeFile()
    try
    if(output !=null)
    output.close();
    catch(IOException ioException)
    JOptionPane.showMessageDialog(null, "Error Closing File");
    System.exit(1);
    System.exit(0);
    }

    This isnt the correct forum for this question. Use tags when posting code.  Post the contents of the .txt file and what unexpected characters you are getting.                                                                                                                                                                                                                                                                                                                                           

  • Problems with indexing files from my hard disk

    Hi everybody,
    I'm a newbie to oracle and i'm trying to index files from my hard disk with oracle text. After i created a simple text file (path: 'c:\tmp\test.txt') and filled it with a short text, i executed the following lines without an error message:
    grant connect, resource, ctxapp to myuser;
    create table myuser.testtab(id number primary key, text BFILE);
    create or replace directory test_dir as 'c:\tmp';
    grant read on directory test_dir to myuser;
    insert into myuser.testtab (id, text) values (1, BFILENAME('test_dir','test.txt'));
    create index myuser.idx_test on myuser.testtab(text) indextype is ctxsys.context;
    the record in the table testtab is stored, but the index table is empty. After i tried to get information about the bfile with java i got an SQLException with the Error-Code ORA-22285 after executing the following lines:
    BFILE file = null;
    try{
    rset = stmt.executeQuery("select text from testtab where id = 1");
    if (rset.next()) {
    file = ((OracleResultSet) rset).getBFILE(1);
    System.out.println("Result from fileExists: " + file.fileExists()); //This is the line where the exception is thrown
    } catch (Exception e){
    e.printStackTrace();
    I would be obliged for any information to this problem.
    Thanks in advance,
    Chris J.
    PS: i'm using Oracle 11.2g on Windows 7

    I got your problem. Drop all the directory,table and index. Log in as "myuser" and do all the things. See the demo below. Don't use myuser.object name When executing the commands from "myuser".
    SQL> conn sys@xe as sysdba
    Enter password: ******
    Connected.
    SQL> create table hr.testtab(id number primary key, text BFILE);
    Table created.
    SQL> create or replace directory test_dir as 'c:\';
    Directory created.
    SQL> grant read on directory test_dir to hr;
    Grant succeeded.
    SQL> insert into hr.testtab (id, text) values (1, BFILENAME('test_dir','test.txt'));
    1 row created.
    SQL> ed
    Wrote file afiedt.buf
      1* create index hr.idx_test on hr.testtab(text) indextype is ctxsys.cont
    SQL> /
    Index created.
    SQL> select * from ctxsys.CTX_INDEX_ERRORS;
    ERR_INDEX_OWNER                ERR_INDEX_NAME                 ERR_TIMES
    ERR_TEXTKEY
    ERR_TEXT
    HR                             IDX_TEST                       31-AUG-10
    AAAEjaAABAAAKsKAAA
    DRG-50857: oracle error in drstldef
    ORA-22285: non-existent directory or file for FILEEXISTS operation
    SQL> conn hr@xe
    Enter password: **
    Connected.
    SQL> select * from CTX_USER_INDEX_ERRORS;
    ERR_INDEX_NAME                 ERR_TIMES ERR_TEXTKEY
    ERR_TEXT
    IDX_TEST                       31-AUG-10 AAAEjaAABAAAKsKAAA
    DRG-50857: oracle error in drstldef
    ORA-22285: non-existent directory or file for FILEEXISTS operation
    SQL> conn sys@xe as sysdba
    Enter password: ******
    Connected.
    SQL> drop directory test_dir;
    Directory dropped.
    SQL> conn hr@xe
    Enter password: **
    Connected.
    SQL> create or replace directory test_dir as 'c:\';
    Directory created.
    SQL> drop table testtab;
    Table dropped.
    SQL> create table testtab(id number primary key, text BFILE);
    Table created.
    SQL> set serverout on
    SQL> DECLARE
      2   v_file BFILE := BFILENAME ('TEST_DIR', 'test.txt');
      3   BEGIN
      4   IF DBMS_LOB.FILEEXISTS (v_file) = 1 THEN
      5  DBMS_OUTPUT.PUT_LINE ('File exists.');
      6   ELSIF DBMS_LOB.FILEEXISTS (v_file) = 0 THEN
      7  DBMS_OUTPUT.PUT_LINE ('File does not exist');
      8  ELSE
      9   DBMS_OUTPUT.PUT_LINE ('Unable to test existence');
    10   END IF;
    11   END;
    12  /
    File exists.
    SQL> insert into testtab values (1,BFILENAME ('TEST_DIR', 'test.txt'));
    1 row created.
    SQL> create index idx_test on testtab(text) indextype is ctxsys.context;
    Index created.
    SQL> select * from CTX_USER_INDEX_ERRORS;
    no rows selected

  • Problems opening word files with Word 2011 from a Windows 2012 server volume

    Here is what we are seeing. Open any Word document on our server with Word 2011 (mac) results in an excruciating delay. Even a  simple one page document will take over a minute to open up. The same document opened from the desktop of the mac opens in
    2 seconds. 
    In troubleshooting this I turned on invisibles for my mac and watched the folder on the server where the file resides. Here is what I noticed.
    1. If I open that file from a windows computer there is an invisible temp file created for the file that disappears when I close the document. The file opens on the Windows 7 machine with Office 2010 very quickly (2 seconds)
    2. If I open the file from my mac with the preview of Word 2016 the same temp file is created and the file opens very quickly. (2 seconds).
    3. If I open the file from my mac with Word 2011 it takes over a minute and I don't get a temp file on the server. Closing the document takes just as long.
    So, what I am guessing is that Word 2011 is trying to create the temp file, tries for a minute, and finally gives up and opens the file anyway. When I close the file I am guessing it is looking for that temp file and finally gives up after a minute and closes
    the file anyway. 
    Any insights as to what is going on would be appreciated. Our users are very frustrated with this situations.

    Hi,
    Since the issue only occurs to Word for Mac, I'm not familiar with the mechanism how it opens a file, we mainly supports Office for Windows in this forum. Please post the question in Office for Mac forum for further assistance:
    http://answers.microsoft.com/en-us/mac
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    Regards,
    Melon Chen
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs. Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Problems copying large files to external disks

    I have a lot of media and so multiple USB and network based external hard disks.
    I'm having trouble with two in particular that are recent buys. I initially mounted them via a USB hub onto my Time Capsule, but when I had errors, I've now tried mounting them directly to my MacBook Air - and for comparison directly to a Windows laptop.
    And I'm only having problems when it's a Mac doing the copying (MBA to either USB mounted via Time Capsule or directly USB mounted on the MBA).
    The problem is that the drive appears to behave OK for initial copies - but I'm trying to put a set of old movies (captured from a VCR ages ago that I'd recorded off TV) onto one of the drives and (a) it takes ages to copy and (b) eventually I get a write failure. The specific error message is
    The Finder can't complete the operation because some data in "" can't be written. (Error code -36)
    I"ve tried a whole variety of setups - as I've said via Time Capsule and directly mounted. I also wondered if the file system on the drive would make a difference. Out of the box it was formatted with FAT32 and when that failed I've now reformatted with MacOS file system - which I would have thought would give better compatibility (and I've read that FAT32 has a large file size limit - although I think it's 4GB and while I do have one file at 4.04GB, it's not failing the copy on that file).
    I've also connected the drive (when formatted FAT32) to a Windows laptop and (a) it copies faster and (b) it copies successfully.
    Any suggestions for this? Is there some kind of large file (all are >1GB) copy issue with USB mounted devices in OSX?

    As I mentioned in my original post while the disks were originally formatted FAT32 I reformatted then and changed them to Mac OS Extended (Journaled) so that isn't the issue. I still have the problem with the disks using Apple format.
    I've noticed that if I do the copy in pieces, it seems to work. I.e. if I select the full set of 45GB in one copy and paste operation (dragging and dropping using Finder) it fails part way through.
    But if I copy 3/4 movies at a time going back until I have copied all of them then I can get all of them on the disk.
    It suggests to me it's some kind of issue with copying and pasting a very large amount of data in Snow Leopard?

  • Iomega external HD no longer mounting, disk utility fails to resolve issue.

    I have an Iomega external HD (1TB) that's been working faithfully for two years as my time machine backup. I have Mac OS X 10.6.8. This morning, the HD was no longer showing up on my desktop. I have tried to mount the HD through disk utility and it states it is unable to mount the drive. A screenshot of what I see on disk utility is below. The drive still lights up, sounds like it is running and the drive is active. I have also done the following:
    1. verfied drive; states it needs repairs. When repairs attempted, utility goes on, and on, and on with no progress and I have to force quit.
    2. Have reset the PRAM and nothing changes.
    3. Have started mac in safe mode, still not recognized and same error messages given in disk utility.
    4. Other external HD works fine on mac, have not had any software changes/updates since yesterday that I know of that would affect anything.
    5. USB and Firewire ports all functioning correctly and the drive is recognized on those under system profiler.
    5. I have attached the problem HD to my Windows XP laptop (an old one but still works) and the drive is recognized under device manager but does not show on the desktop (formatted for mac though, so not too surprising).
    Would appreciate anyone's advice on this one, have hit a wall.

    Turn off Time Machine, select the 1TB ST310005 Media Drive instead of the Time Machine partition and see if it will Repair.
    If that doesn't work, you might Erase / Repair / Format and start over providing that there is nothing critical on the Time Machine backup that you can't live without. 

  • Problem saving .dv file to external hard drive

    Hello -
    I'm trying to copy an old VHS tape to DVD. VCR to camcorder to iMovie 4.0.1 and edits all went smoothly. To create the .dv file I did File > Share > QuickTime tab > compress for Full Quality DV and created a 5.68 GB file movie1.dv - all OK.
    I don't have a DVD burner on my Mac, so I'm trying to copy the file to an external USB hard drive (Maxtor, FAT32 format) for transfer to my PC. The drive seems to work fine, and I can copy other files to it. But when I try to copy the .dv file to the HD it goes almost all the way through with the save and then I get an error: The Finder cannot complete the operation because some data in the "movie1.dv" could not be read or written. (Error code -36).
    Error -36 seems to be a "bad disk" thing, or maybe a "corrupt file" - hard to tell for sure. I don't see how it could be the disk, since other files copy onto it just fine. If it's a corrupt file, what did I do wrong making the .dv file?
    Many thanks for help. - G

    I have been using a Lacie 120 gig drive for file saving. I just bought another external HD, it is a Maxtor. I installed the OS X version of drive format, but it WILL NOT work with I-Movie--as soon as you try and import video, it freezes and quits. I can copy files to it, but have not tried seeing if they play back or burn properly (I don't want to waste that much time copying huge files). Does anyone know about external hard drives that do NOT work well with IMovie? This model has a USB A-B connection and it operates at 9600 rpm.
    Thanks for any tips

  • Permissions problem when copying files from external hard drive

    Hi.
    I have recently reinstalled leopard (wiped the hard drive clean) on my macbook pro. (10.5.4). I had used Time Machine so I have a complete backup. But I only wanted a few of the files so I didn't do a backup restore. I went into the file directory of the backup on my external hard drive and dragged the folders I wanted back over to my laptop.
    But I'm in permissions **** though! When I want to copy them over I get an alert saying you may not have privilege to do this and asks for my password. I enter my password and it copies fine. But every time I want to do anything with those files (like move them, or delete them) I have to re enter a password.
    So, inside of the terminal I do a "ls -al" command to see whats going on and find that everything is the same as a natively created folder except for a '@' on the permissions column. I do a "ls -al@' to see more details and I get this:
    drwxr-xr-x@ 6 xenition staff 204 Jul 20 17:08 Assets
    com.apple.metadata:_kTimeMachineNewestSnapshot 50
    com.apple.metadata:_kTimeMachineOldestSnapshot 50
    I did run repair permissions from Disk Utility and it didn't solve it. How can I resolve the permissions on these files?
    Message was edited by: risingtiger

    run ls -aleO on the copied files and see if there are any ACLs or flags.
    BTW, another (and possibly better) way to restore files from an old TM drive is via TM interface. control-click on TM in the dock and choose "browse other TM disks" select a disk to browse and go at it. when you try to restore something you'll be prompted for a location to restore it to and maybe a password.

  • Problem validating XML file with external schema file

    Hi All
    I am having trouble at the moment trying to validate an xml file using an external xsd file that sits on my server. I have followed the basic option but at the moment to no avail. I am using a DOMParser and am setting all the features and properties correctly ... well I think I am anyway.....below is a fragment of the code
    DOMParser parser = new DOMParser ();
    // Setting the validation on for the parser.
    parser.setFeature ( "http://xml.org/sax/features/validation", true );
    parser.setFeature ( "http://apache.org/xml/features/validation/schema", true);
    parser.setProperty ( "http://apache.org/xml/properties/schema/externalnoNamespaceSchemaLocation", "c://testing.xsd" );
    parser.setErrorHandler ( this );
    I am getting an error telling me that the root element cannot be found.....see below
    org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'mainhome'.
    at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
    at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source)
    at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Source)
    at org.apache.xerces.impl.XMLNamespaceBinder.handleStartElement(Unknown Source)
    at org.apache.xerces.impl.XMLNamespaceBinder.startElement(Unknown Source)
    at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRootElementHook(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
    at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
    at com.cibenix.aps.util.MenuXMLParser.process(MenuXMLParser.java:163)
    at com.cibenix.aps.actions.MenuAddAction.execute(MenuAddAction.java:80)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:193)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
    Any help would be greatly appreciated
    thanks

    In the schema root element xs:schema add namespace declaration.
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
    In the XML document root element add xmlns:xsi and xsi:noNamespaceSchemaLocation attributes.
    <root_element xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="file://c:/testing.xsd">

  • Problem executing batch-file in external process

    Hi All,
    I'm having a problem doing something quite simple. I'm just trying to execute a very easy batchfile (just copy a file from one place to another).
    I've added the detail of the workflow process and the error message below. If anyone can help me, I would be very grateful.
    Thanks,
    Guy
    Execution Parameters
    Category Name Input Value Output Value
    System Command c:\windows\system32\cmd.exe
    System Parameter List ?/c?f:\\proc\\BI\\Check_source\\check.bat
    System Success Threshold 0
    System Use Return As Status false
    System Working Location Uoid (default)
    Activity Details
    Error Messages
    Severity Error Message Target Name Target Column View Diagnostic Report
    CreateProcess: c:\windows\system32\cmd.exe /c f:\proc\BI\Check_source\check.bat error=2

    In case anyone has this problem...I could not access this exe until I logged the JRun service on as a user other then the system. It now works just fine.

  • Dmg files won't mount, Disk Utility/Toast won't launch?

    Hi folks,
    I've just joined your fine community in search of help with my problem that I see on Google pops up on boards frequently... but no suggestions have helped me yet...
    In a nutshell, if I download any dmg file, eg. Apple updaters, they won't open - the error dialogue is something like "failed to open, no mountable file system". This seems to be an underlying general error, as I also can't launch disk applications like Disk Utility and Toast. They just bounce in the dock and then quit.
    I have:
    - rerun the 10.4.4 combo installer
    - done /sbin/fsck -yf at startup - all reported ok
    - booted from and run Disk Warrior - all reported ok
    - booted from and run Techtool Pro - all reported ok
    - switched to another user account.
    And the problem with dmg and Disk Utility/Toast persists! In all other respects, the Powerbook G3 (576mb/80gb) is running fine (apparently).
    Hope someone can help
    B
    Powerbook   Mac OS X (10.4.4)  

    I just went thru a simular problem. A couple of things to try.
    Boot of your install disk and ignor the install window and open disk utility from the menu at the top. you are running off the o/s on the disk an not the hard drive. You can repair permissions and the Hard drive because you are now working off a different filesystem.
    If that doesn't work do a rinstall from the install disk but when you get to the window that has an "options" button select it (you may have to) and instead of doing a full install. Uncheck all boxes. This way it does not reinstall fonts etc.
    You will not lose any files or programs or have to reinstall them. You might have to reinstall devices that have special drivers like printers that came with an install disk etc.
    You will revert back to the origional ver like 10.4.1. just go to apple update and let it do its thing.
    Good luck

  • Savitzky filter: problem writing to file

    Hi,
    I have a very weird problem. I m using a Savitzky Golay filter to smooth some data and I can see the correct filtered data on the graph on the front panel. Now, I want to write this filtered data to a file. So I wired the output of the SG filter to a spreadsheet file. On replotting the file, I notice that the graph that I obtain is identical to the input that I gave to the filter. I have attached some screenshots of the front panels and the replotted graph.
    Figure one: Is the input to the SG filter
    Figure two: Is the output of the SG filter.
    Figure three: Is the waveform that I obtained from replotting the output that I wrote to a file.
    Figure four: Is the SG filter and write to file VI screenshot.
    Can someone please help me out. Its driving me crazy.
    Thanks and regards.
    Attachments:
    sgfilter_writetofile.doc ‏314 KB

    You index the output-array of the filter VI before you save it to file. So on the frontpanel you see the whole waveform, but you save only the first value to the file. Another evidendence for this is the messed up x-Axis (time) in the data loaded from your file. The data you see in the file is neither the data before, nor the data after the filter function. You see only the first value of each measurement. YOu have to put a for-loop arround your save to spreadsheet, or better would be to not index the array at all and write the whole array to file. You can use probes to see what I mean.
    Hope this helps!
    Andre

  • Problem writing a file!

    I am using NetBeans 5
    I want to save this class...
    package castlesiege;
    import java.util.*;
    import java.io.*;
    public class PlayerVector extends Vector implements Serializable{
      static final long serialVersionUID = -2767605614048989439L;
      public PlayerVector(){
        super(30);
    }using this class... (this is just a test, the real code will be slightly less stupid)
    package castlesiege;
    import java.io.*;
    public class Save{
    public ObjectOutputStream outputMeans;
    public File file = new File("file");
    public Save(){
       PlayerVector veky = new PlayerVector();
       veky.add(new Player());
      try{
       outputMeans = new ObjectOutputStream(new FileOutputStream(file));
       outputMeans.writeObject(veky);
       outputMeans.flush();
       outputMeans.close();
       System.out.println("Complete");
      catch(IOException ioException){
      System.out.print("io");
      ioException.printStackTrace();
    public static void main(String args[]){
      Save x = new Save();
    }I just want to store one vector with lots of different players' data using a very simple technique. And it worked perfectly outside of NetBeans and without the package declaration. But now I get an IOException which is born from a NotSerializableException (I think, I read up the tree). What did I do wrong?

    I figured it out and now I feel like an idiot. I did not know Player also had to be serializable. It was before, but I removed the implementation when I transfered it to NetBeans. I knew I did not need to come to this horrid forum. :-)

  • Problem writing xml file using DOM

    Hi,
    I am trying to write a xml file using DOM. I am using xalan 2.5, xerces 1.4.4, jdk 1.3.1 in JRun 3 on windows.
    The code where I get exception :
                   TransformerFactory tFactory = TransformerFactory.newInstance();
                   Transformer transformer = tFactory.newTransformer();
                   transformer.transform(new DOMSource(doc), new StreamResult("pr.xml"));
    I get the runtime error as follows:
    javax.servlet.ServletException: null
    java.lang.NoSuchMethodError
         at org.apache.xml.utils.DOM2Helper.getNamespaceOfNodeDOM2Helper.java:342)
         at org.apache.xml.utils.TreeWalker.startNode(TreeWalker.java:387)
         at org.apache.xml.utils.TreeWalker.traverse(TreeWalker.java:202)
         at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:343)
    Thinking it is because of classpath, I placed xalan 2.5, xerces 1.4.4 jar files in jrun admin lib directory and in server lib directory as well. Still getting the same error.
    Any suggestion?
    Thanks in advance

    xalan is included in JRun 4. However JRun 3 does not.
    However I tried with the same code in JRun3 in different system. The error is completely different. I understand this is because of different version of files. trying to solve ;)
    Here my new exception
    javax.servlet.ServletException: org/w3c/dom/ranges/DocumentRange
    java.lang.NoClassDefFoundError: org/w3c/dom/ranges/DocumentRange
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:493)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
         at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:493)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
         at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
         at org.apache.xerces.jaxp.DocumentBuilderImpl.(Unknown Source)
         at org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(Unknown Source)
         at com.cybell.appl.deliveryorder.cmd.CreateXMLDOFile.createFile(CreateXMLDOFile.java:73)
         at com.cybell.appl.deliveryorder.cmd.CreateXMLDOFile.execute(CreateXMLDOFile.java:36)
         at com.cybell.appl.framework.cmd.BaseCommand.start(BaseCommand.java:50)
         at com.cybell.appl.framework.control.BaseController.service(BaseController.java:38)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
         at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1013)
         at allaire.jrun.servlet.JRunSE.runServlet(../servlet/JRunSE.java:925)
         at allaire.jrun.servlet.JRunNamedDispatcher.forward(../servlet/JRunNamedDispatcher.java:34)
         at allaire.jrun.servlet.Invoker.service(../servlet/Invoker.java:84)
         at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1013)
         at allaire.jrun.servlet.JRunSE.runServlet(../servlet/JRunSE.java:925)
         at allaire.jrun.servlet.JRunRequestDispatcher.forward(../servlet/JRunRequestDispatcher.java:88)
         at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1131)
         at allaire.jrun.servlet.JvmContext.dispatch(../servlet/JvmContext.java:330)
         at allaire.jrun.http.WebEndpoint.run(../http/WebEndpoint.java:107)
         at allaire.jrun.ThreadPool.run(../ThreadPool.java:272)
         at allaire.jrun.WorkerThread.run(../WorkerThread.java:75)

Maybe you are looking for

  • How can I make the LabVIEW CGI write to the same client window twice?

    I'm building a CGI VI using LabVIEW 6i and the Internet Dev. Toolkit. I would like this VI to write to the same client browser window twice. The first reply will just be a confirmation that the form has been submitted, and the second reply will be th

  • Auto create request by reading a row in MS SQL table?

    Auto create request by reading a row in MS SQL table? If all required data for a particular request type were included in a row of a MS SQL db table (staging table), could a request be created using a db adaptor?  Or is web services the only option t

  • I have lost all my ringtones, and music...HELP ME!

    I recently bought 4 songs, and 1 ringtone from the iTunes Store on my iPhone 3GS. I went to plug my iPhone in my computer so I can transfer my music from my iPhone to my computer. When none of my music files transfered I got a little worried so I loo

  • Clearing Document Reverse Mass

    Hi All, We need to reverse and reset the mass reversal of clearing document. I tried thorugh LSMW but i am not able to get the screen option "Reverse and Rest" Anyone have idea please update. Regards,

  • ODI console and compatibility

    Hi, I have installed SOA and ODI on same server.I created domain for both SOA and ODI.I'm able to see SOA severs in fusion middleware console but ODI console is not coming.Can SOA and ODI will run or work using same weblogic server? Best regards, Raf