Write to a file using a system variable in the path

I got an error when I used the following command to write a file
OdiOutFile "-FILE=<%=System.getProperty("LOG")%>\test.log" -APPEND "-CHARSET_ENCODING=ISO8859_1" "-XROW_SEP=0D0A"
The "LOG' is an environment variable.
The error is
java.lang.Exception: Oracle Data Integrator Function does not exist
It looks like ODI treat System.getProperty as ODI function instead of java method. I use SUNOPSIS API as technology in the command

At this moment I can't give a source code example because I'm writing it :) and I'm trying to see the cases where I may have some problems.
But my idea is to access the file at any time and to write into it with differenent threads in a differenet places in this file. In fact the problem I'm trying to solve is :
I have a objects called Data that are generated by some other thread independent of my application. This thread puts the Data objects in some kind if buffer. When the buffer is full, I'm creating a few threads fo every object Data in this buffer (the data objects in its own is some collection of floats and doubles) So I'm trying to position the new created threads over the file but in different places and then make them write the data collected in the object Data.
To position de threads over the file, I'm accessing it by some synchronous method to undestand where it can write in this file and the writing is not synchronous because I'm trying to calculate the exact place and number of bytes of writing and in this way to avoid (may be) the eventuality of errors.
Regards,
Anton

Similar Messages

  • Write to existing file using servlets

    Every time I try to read an existing file using my current set of servlets, I get "File cannot be found". I don't understand what the problem is because I'm using the exact same location as the code where I read the document. Is there something else I'm missing? I've tried countless methods of writing, each will compile and such, but all give me the same result (IE nothing). Here's how my horrific code looks right now. Much was taken from the previous code that checks the passwords file.
    Technically, it compiles and runs, but I get "java.io.FileNotFoundException: \WEB-INF\passwords (The system cannot find the path specified)" in the output. The file IS THERE and can be read in my password checking servlet without a problem...
    package hw3Pack;
    import java.io.*;
    import java.util.*;
    import javax.servlet.ServletContext;
    import javax.servlet.ServletException;
    import javax.servlet.http.*;
    public class passCheck extends HttpServlet {
      public void doGet(HttpServletRequest request, HttpServletResponse response)
          throws ServletException, IOException {
            response.setContentType("text/html");
            HttpSession session = request.getSession(true);
            PrintWriter out = response.getWriter();
            try {
                    String filename = "/WEB-INF/passwords";
                    String email = request.getParameter("email");
                    String password = request.getParameter("password");
                    String remember = request.getParameter("remember");
                    ServletContext context = getServletContext();
              FileOutputStream fos = new FileOutputStream(filename);
                    InputStream is = context.getResourceAsStream(filename);
              if (!is.equals(null)) {
                   InputStreamReader isr = new InputStreamReader(is);
                   BufferedReader reader = new BufferedReader(isr);
                   String text = "";
                            } // if (is != null)
                    else {
                    } // else (password not blank)
            finally {
                out.close();
            } // finally
    }

    OK... I feel a bit dumb now... This code was working earlier (the writing part) and now it's not working since I added in the username check portion. It should be essentially complete at this point, I just need to figure out why it no longer writes the file. Any clues or insights?
    I'm about to add a password checker (confirm both passwords entered on registration form are equal) Lets hope I don't mess more up...
    package hw3Pack;
    import java.io.*;
    import java.util.*;
    import javax.servlet.ServletContext;
    import javax.servlet.ServletException;
    import javax.servlet.http.*;
    import java.net.*;
    public class regComplete extends HttpServlet {
      public void doGet(HttpServletRequest request, HttpServletResponse response)
          throws ServletException, IOException {
            response.setContentType("text/html");
            HttpSession session = request.getSession(true);
            PrintWriter out = response.getWriter();
            boolean clear = true;
            try {
                    String email = request.getParameter("email");
                    String password = request.getParameter("password");
                    out.println(email +" and " + password);
                    String filename = "/WEB-INF/passwords";
                    ServletContext context = getServletContext();
                    InputStream is = context.getResourceAsStream(filename);
              if (!is.equals(null)) {
                   InputStreamReader isr = new InputStreamReader(is);
                   BufferedReader reader = new BufferedReader(isr);
                   String text = "";
                            while ((text = reader.readLine()) != null) {              
                                    StringTokenizer st = new StringTokenizer(text, "," );
                                    String getEmail = st.nextToken();
                                    String getPass = st.nextToken();
                                            if (email.equals(getEmail) && !email.equals(null)) {
                                                    clear = false;
                                                    out.println("I'm sorry but that email address is in use.  Please try again.");
                                            } else {
                                            //do nothing
                    if (clear==true) {
                        File file = new File("/WEB-INF/passwords");
                        BufferedWriter writer = new BufferedWriter(new FileWriter(file, true));
                        out.println("going");
                        writer.append("\r\n" +email +"," +password);
                        out.println("Writing");
                        writer.close();
                        } else {
                } // try
            finally {
                out.close();
                } // finally
      }

  • How Do I write an XML file using Java?

    Hello there!! to everyone reading my post.
    I have this project I need to do, and I have no clue where to start, I was wondering if you guys could help me out.
    I need to know how to write an XML file using a Java Program, but without using a Third party library.... just using java native APIs.
    I will probably take the values to construct the file from a form.
    I will certainly appreciate if you could post some sample code for me.
    Thank you very much in advance..

    Hello there!,
    I have some doubts about the Tutorial I am currently reading. correct me If I'm wrong, but the section "Write a simple XML file" teaches you how to do so using a text editor. I need to create my XML file from a running Java Program written by myself, that takes the values to build it from some variables.
    If I'm totally wrong about what I'm saying, could you please point me to where I can find the information of how to do what I'm asking for, inside the tutorial.
    Thank you very much,...
    sincerely.

  • Write to a file using several threads

    Hello,
    I'm trying to implement a writing procedure into a file using several different threads. The idea I have is to make each thread to write in a different place in the file. In your opinion is there a possibility of some incoherence.
    Regards,
    Anton
    Edited by: anton_tonev on Oct 22, 2007 3:28 AM

    At this moment I can't give a source code example because I'm writing it :) and I'm trying to see the cases where I may have some problems.
    But my idea is to access the file at any time and to write into it with differenent threads in a differenet places in this file. In fact the problem I'm trying to solve is :
    I have a objects called Data that are generated by some other thread independent of my application. This thread puts the Data objects in some kind if buffer. When the buffer is full, I'm creating a few threads fo every object Data in this buffer (the data objects in its own is some collection of floats and doubles) So I'm trying to position the new created threads over the file but in different places and then make them write the data collected in the object Data.
    To position de threads over the file, I'm accessing it by some synchronous method to undestand where it can write in this file and the writing is not synchronous because I'm trying to calculate the exact place and number of bytes of writing and in this way to avoid (may be) the eventuality of errors.
    Regards,
    Anton

  • Write in a file using FileConnection

    Hello, I have to write in a file using the FileConnection API (JME).
    So far, I could write it, but I could not find out how to append in the file.
    Here is the code:
    FileConnection fc = (FileConnection)
    Connector.open("file:///test.txt");
    OutputStream os =  fc.Open(OutputStream);
    OutputStreamWriter osw = new OutputStreamWriter(os);
    osw.write("test");
    How can I add new data at the end of the file?

    Well, I really can't find a method I could use, so I read the file and put it in a buffer, then I write it all.
    I will let the code for anyone who needs:
    +try {+
    FileConnection fc = (FileConnection) Connector.open("file:///j9/test.txt");
    if (!fc.exists())
    fc.create();
    InputStream is = fc.openInputStream();
    InputStreamReader isr = new InputStreamReader(is);
    +char[] c = new char[(int) fc.fileSize()];+
    isr.read(c);
    OutputStream os = fc.openOutputStream();
    String str = textField.getString() ',' + textField1.getString() + '\n';+
    os.write(new String(c).getBytes());
    os.write(str.getBytes());
    os.close();
    is.close();
    isr.close();
    fc.close();
    stringItem1.setText("It works");
    +}+
    +catch (Exception ex) {+
    stringItem1.setText("It doesn't work");
    +}+

  • Error while using selection option variable in the selection screen

    Hi All,
    I am facing an issue while using selection option variable in the selection screen for one of my reports.
    Scenario: For the field "Region From" we need to have wild card logic () in tes selection screen, for example if we put "BE" in the selection screen for the field Region From then the query should be executed only for those "Region From" values which begin from "BE".
    Approach: For the above requirement I have made a selection option variable for "Region From". This allows use wild card
    But when the report is executed we get the following error:
    "System error in program CL_RSR_REQUEST. Invalid filter on ETVRGNFR".
    (ETVRGNFR is technical name of the info object Region From)
    Though the report is executed it displays all the values for the field "Region From" irrespective of the selection given in the selection screen.
    Please give suggestions / alternate solutions to crack this issue.
    Thanks in advance
    Regards
    Priyanka.

    Hi,
    Try to use a variable of type Customer Exit and do the validation inside the exit to display according to your request.
    This is just my view, i am not sure if u are already using this or Char. Variable.
    Cheers.
    Ranga.

  • Bulk Insert Task Cannot bulk load because the file could not be opened.operating system error error code 3(The system cannot find the path specified.)

    Following error i am getting after i chnaged the Path in Config File from
    \\vs01\d$\\Deployment\Files\temp.txt
    to
    C:\Deployment\Files\temp.txt
    [Bulk Insert Task] Error: An error occurred with the following error message: "Cannot bulk load because the file "C:\Deployment\Files\temp.txt" could not be opened. Operating system error code 3(The system cannot find the path specified.).". 

    I think i know whats going on. The Bulk Insert task runs by executing sql command (bulk insert) internally from the target sql server to load the file. This means that the SQL Server Agent of the target sql server should have permissions on the file you trying to load. This also means that you need to use UNC path instead to specify the file path (if the target server in on different machine)
    Also from BOL (see section Usage Considerations - last bullet point)
    http://msdn.microsoft.com/en-us/library/ms141239.aspx
    * Only members of the sysadmin fixed server role can run a package that contains a Bulk Insert task.
    Make sure you take care of this as well.
    HTH
    ~Mukti
    Mukti

  • "Windows could not start the offline files service on local computer. Error 3: The system cannot find the path specified"

    Using Windows 8.1 Pro on Toshiba Satellite i7 Laptop with 8Gb Ram
    After upgrade from Windows 8 Pro to 8.1 Pro, the Offline Files/CSC service refuses to start and gives the error message:
    "Windows could not start the offline files service on local computer. Error 3: The system cannot find the path specified"
    Before the upgrade, offline files worked fine... how do I re-enable offline files?

      I had a similar issue -  couldn't make any files available offline.
    I found that the offline folder service would not start
    This was because the CSC permission were totally screwed.  I had to take ownership of each folder and file, one by one, then grant everyone full access.
    then delete the full contents of the CSC folder
    format the CSC database using the registry fix then reboot
    in control panel, disable the offline files,  reboot, then re-enable.  and now its working :)
    2hrs to resolve this, with grateful thanks to this thread and some others.
    damn windows8

  • Whick system variable means the current user id?

    I want to transfer the current user id from portal to BW system ,Whick system variable means the current user id?
    Thanks !

    Hi,
    You can get the name of the person who created it using the text element AUTHOR. The person who executes will be the SYUSER
    Hope this helps...
    Regards
    Kunal

  • How do I use an array variable in the assignment target?

    Hi,
    I am creating a BPEL process in which I have to use an array variable. The array variable needs to be initialized based on some condition.
    The issue is I cannot find a way to set the value of the array variable. There are ways to GET the value of an array variable indexing into it.
    But how do I set the value by using the Array variable in the <to> tag?
    Any help is appreciated. I am using BPEL 10.1.2.0.2.
    Thanks.

    You can declare a variable of type integer which will server as your index. Figure out based on some condition in your process which index of array to update. Assign to your integer variable you created.
    And have Assign copy operation like this -
    <copy>
    <from variable="Var_Output_FetchDueDate"
    part="OutputParameters"
    query="/ns18:OutputParameters/ns18:DUEDATE"/>
    <to variable="outputVariable" part="payload"
    query="/client:GetCustomerAccountInformationProcessResponse/client:customer/client:accounts/client:account[$Var_Counter]/client:dueDate"/>
    </copy>
    I have been using this in my processes.

  • When i do file, save for web, i get an error that says " the operation could not be completed. The system cannot find the path specified." What can fix this?

    when i finish a file and try to "save for web", i get an error box saying The operation cannot be completed. The system cannot find the path Specified.
    What can i do or where do i look?

    ELEMENTS 12 AND ELEMENTS 13
    Upgraded to 13 Thinking might resolve the issue.
    Was working fine up until we had "Tech" come in the office and "up grade some stuff"
    then all of a sudden i started getting this message, something happened but i don't have a clue what.

  • Error [0x80070003] The system cannot find the path specified

    We have Windows 2012 Server hosting 2 VMs - Domain Controller & RDS.  We have been doing Windows Server Backup incremental and have an ongoing issue with scheduled backups each night.  The backup shows completed with warnings and generates
    2 log files.
    The first log files shows:  
    Backup of volume \\?\Volume{5d46f853-5db2-11e2-93e7-806e6f6e6963}\ succeeded.
    Backup of volume C: succeeded.
    Backup of volume F: succeeded.
    Application backup
    Writer Id: {66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE}
       Component: ACBCD71E-A8CA-4672-B951-52C1BE8444BE
       Caption     : Backup Using Child Partition Snapshot\FMLRDS1
       Logical Path: 
    Writer Id: {66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE}
       Component: Host Component
       Caption     : Host Component
       Logical Path: 
    The 2nd log file more often than not shows:  
    Backup of volume E: has failed. Backup failed as shadow copy on source volume got deleted. This might caused by high write activity on the volume. Please retry the backup. If the issue persists consider increasing shadow copy storage using 'VSSADMIN Resize
    ShadowStorage' command.
    Error in backup of E:\ during enumerate: Error [0x80070003] The system cannot find the path specified.
    Application backup
    Writer Id: {66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE}
       Component: 2B4A9541-C88B-442E-9A7A-6D8A27342C11
       Caption     : Backup Using Child Partition Snapshot\FMLDC1
       Logical Path: 
       Error           : 8078010D
       Error Message   : Enumeration of the files failed.
       Detailed Error  : 80070003
       Detailed Error Message : (null)
    We had been getting a successful backup once or twice a week which showed completed (with no mentioned of warnings) but now it regularly shows completed with warnings as noted above.  
    We did a manual full backup of the DC to a different external drive a few days ago and that completed without warnings and the backup shows:  E: Completed 63.38 Full - VSS Copy Backup Successful, 8/27/13 3:35 PM - 4:43 PM. Data Transferred 63.38
    On a side note, we can view the logs in the windows/logs/windowsserverbackup directory but when we attempt to view the details of a log file through the Local Backup Console for any log which shows completed with errors, we get a "MMC has detected an
    error in the snapin and will unload and then it shows Object referenced not set to instance of an object."  The manual backup noted above that was successful is able to be viewed through the Local Backup Console without this error.  
    Any idea as to why this is failing during the scheduled backups?  This hosts a database that we need to have regular successful backups.

    Hi,
    First please follow the steps below to re-register dll files. Detailed information could be found here: http://support.microsoft.com/kb/940032:
    1. Click Start, click Run, type cmd, and then click OK. 
    2. Type the following commands at a command prompt. Press ENTER after you type each command. 
    3. cd /d %windir%\system32 
    4. Net stop vss 
    5. Net stop swprv 
    6. regsvr32 ole32.dll 
    7. regsvr32 oleaut32.dll 
    8. regsvr32 vss_ps.dll 
    9. vssvc /register 
    10. regsvr32 /i swprv.dll 
    11. regsvr32 /i eventcls.dll 
    12. regsvr32 es.dll 
    13. regsvr32 stdprov.dll 
    14. regsvr32 vssui.dll 
    15. regsvr32 msxml.dll 
    16. regsvr32 msxml3.dll 
    17. regsvr32 msxml4.dll 
    Please let us know if any command failed to be performed with an error.
    If issue still exists, have a try with the step it provided "VSSADMIN Resize ShadowStorage" to enlarge the shadow storage.
    Also you could test to delete all old Shadow Copies by acccessing <Drive> Properties --> Shaodow Copies --> Delete Now. This will remove all your backup information so if it is not acceptable, just skip this step.
    TechNet Subscriber Support in forum |If you have any feedback on our support, please contact [email protected]

  • Error "The system cannot find the path specified" after upgrading to R2

    Hi guys,
    I upgrade from SP1 CU3 to R2 and since then I can not display images, I get the error: 
    Failed to run the action: Instalar Windows y Configuration Manager. 
    The system cannot find the path specified. (Error: 80070003; Source: Windows)
    just finished restart after applying the operating system. I installed all the updates, I delete and add the pxe point and nothing. The fact is that I have other tasks to capture using the same step and works fine. The hardware is a Virtual Machine
    de vmware.
    If anyone has ever happened or can help would be grateful. Sorry for my English.
    Thxxx!!!!
    Executing command line: OSDSetupWindows.exe TSManager 02/03/2014 19:08:39 932 (0x03A4)
    ==============================[ OSDSetupWindows.exe ]=========================== OSDSetupWindows 02/03/2014 19:08:39 1028 (0x0404)
    Command line: "OSDSetupWindows.exe" OSDSetupWindows 02/03/2014 19:08:39 1028 (0x0404)
    Releasing: PS100084 OSDSetupWindows 02/03/2014 19:08:39 1028 (0x0404)
    Unsuccessful in releasing PS100084. 80070490. OSDSetupWindows 02/03/2014 19:08:39 1028 (0x0404)
    !shFile.null(), HRESULT=80070003 (e:\nts_sccm_release\sms\client\osdeployment\setupwindows\setupwindows.cpp,823) OSDSetupWindows 02/03/2014 19:08:39 1028 (0x0404)
    Failed to open file: C:\Windows\panther\unattend\unattend.xml (0x80070003) OSDSetupWindows 02/03/2014 19:08:39 1028 (0x0404)
    this->resolveConfigFileVariables(), HRESULT=80070003 (e:\nts_sccm_release\sms\client\osdeployment\setupwindows\setupwindows.cpp,423) OSDSetupWindows 02/03/2014 19:08:39 1028 (0x0404)
    setup.run(), HRESULT=80070003 (e:\nts_sccm_release\sms\client\osdeployment\setupwindows\setupwindows.cpp,1650) OSDSetupWindows 02/03/2014 19:08:39 1028 (0x0404)
    Exiting with code 0x80070003 OSDSetupWindows 02/03/2014 19:08:39 1028 (0x0404)
    Process completed with exit code 2147942403 TSManager 02/03/2014 19:08:39 932 (0x03A4)
    !--------------------------------------------------------------------------------------------! TSManager 02/03/2014 19:08:39 932 (0x03A4)
    Failed to run the action: Instalar Windows y Configuration Manager.
    The system cannot find the path specified. (Error: 80070003; Source: Windows) TSManager 02/03/2014 19:08:39 932 (0x03A4)
    MP server http://SCCM.domain.com. Ports 80,443. CRL=false. TSManager 02/03/2014 19:08:39 932 (0x03A4)
    Setting authenticator TSManager 02/03/2014 19:08:39 932 (0x03A4)
    Set authenticator in transport TSManager 02/03/2014 19:08:39 932 (0x03A4)
    Sending StatusMessage TSManager 02/03/2014 19:08:39 932 (0x03A4)
    Setting message signatures. TSManager 02/03/2014 19:08:39 932 (0x03A4)
    Setting the authenticator. TSManager 02/03/2014 19:08:39 932 (0x03A4)
    CLibSMSMessageWinHttpTransport::Send: URL: SCCM.domain.com:80 CCM_POST /ccm_system/request TSManager 02/03/2014 19:08:39 932 (0x03A4)
    Request was successful. TSManager 02/03/2014 19:08:39 932 (0x03A4)
    Set a global environment variable _SMSTSLastActionRetCode=-2147024893 TSManager 02/03/2014 19:08:39 932 (0x03A4)
    Set a global environment variable _SMSTSLastActionSucceeded=false TSManager 02/03/2014 19:08:39 932 (0x03A4)
    Clear local default environment TSManager 02/03/2014 19:08:39 932 (0x03A4)
    Let the parent group (Instalar sistema operativo) decides whether to continue execution TSManager 02/03/2014 19:08:39 932 (0x03A4)
    The execution of the group (Instalar sistema operativo) has failed and the execution has been aborted. An action failed.
    Operation aborted (Error: 80004004; Source: Windows) TSManager 02/03/2014 19:08:39 932 (0x03A4)
    Failed to run the last action: Instalar Windows y Configuration Manager. Execution of task sequence failed.
    The system cannot find the path specified. (Error: 80070003; Source: Windows) TSManager 02/03/2014 19:08:39 932 (0x03A4)
    MP server http://SCCM.domain.com. Ports 80,443. CRL=false. TSManager 02/03/2014 19:08:39 932 (0x03A4)
    Setting authenticator TSManager 02/03/2014 19:08:39 932 (0x03A4)
    Set authenticator in transport TSManager 02/03/2014 19:08:39 932 (0x03A4)
    Sending StatusMessage TSManager 02/03/2014 19:08:39 932 (0x03A4)
    Setting message signatures. TSManager 02/03/2014 19:08:39 932 (0x03A4)
    Setting the authenticator. TSManager 02/03/2014 19:08:39 932 (0x03A4)
    CLibSMSMessageWinHttpTransport::Send: URL: SCCM.domain.com:80 CCM_POST /ccm_system/request TSManager 02/03/2014 19:08:39 932 (0x03A4)
    Request was successful. TSManager 02/03/2014 19:08:39 932 (0x03A4)
    Execution::enExecutionFail != m_eExecutionResult, HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmanager\tsmanager.cpp,923) TSManager 02/03/2014 19:08:56 932 (0x03A4)
    Task Sequence Engine failed! Code: enExecutionFail TSManager 02/03/2014 19:08:56 932 (0x03A4)
    **************************************************************************** TSManager 02/03/2014 19:08:56 932 (0x03A4)
    Task sequence execution failed with error code 80004005 TSManager 02/03/2014 19:08:56 932 (0x03A4)

    Hi,
    There is a workaround:
    Wait until you get to the point where you select the task sequence
    Hit “F8” to open the command prompt
    Type “diskpart” and hit return
    Type “select disk 0” and hit return
    Type “list volume” and see if the CD/DVD drive has a drive letter of C:\ or D:\. If it does move to step 6, otherwise close the command prompt and begin the staging otherwise.
    Type “select volume X” (where X is the volume number of the CD/DVD drive) and hit return
    Type “assign letter=e” and hit return (if the E:\ is already taken up use the next available letter)
    Type “list volume” and hit return to ensure the new drive letter is active
    Close down the command prompt and begin staging
    Reference:
    Failed to open unattend.xml (0×80070003) error
    http://nikifoster.wordpress.com/2012/09/07/failed-to-open-unattend-xml-0x80070003-error/
    Note: Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Weblogic Server error: "The system cannot find the path specified."

    Hi. I'm trying to run a Java EE web application, but as soon as I launch the Weblogic I get the next message several times on the DefaultServer Log: "The system cannot find the path specified"
    Here's the complete log:
    *** Using port 7101 ***
    C:\Users\Nicolás\AppData\Roaming\JDeveloper\system11.1.1.1.33.54.07\DefaultDomain\bin\startWebLogic.cmd
    [ waiting for the server to complete its initialization... ]
    The system cannot find the path specified.
    JAVA Memory arguments:
    WLS Start Mode=Development
    CLASSPATH=
    PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\Common Files\Ulead Systems\MPEG;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\TortoiseSVN\bin;/3E
    The system cannot find the path specified.
    The system cannot find the path specified.
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    starting weblogic with Java version:
    Starting WLS with line:
    \bin\java -Dweblogic.Name= -Djava.security.policy=\server\lib\weblogic.policy
    Process exited.
    I can run my programs perfectly on another machine with Windows XP. I've got a new machine with Vista Home Premium 64, but I have been never able to launch the server. I don't know if this has something to do with the system environment variables.
    I'm using JDeveloper Studio Edition Version 11.1.1.1.0, and Weblogic Server 10.3.
    Thanks in advance! :)

    Hi,
    Try this.
    Edit your registry and go to
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem
    Change the value for NtfsDisable8dot3NameCreation to 1 (if the key does not exist, create a DWORD key with that name and set the value to 1).
    Delete your DefaultDomain folder from the system folder.
    Restart the machine, start the jdev and run the page.
    Reference : http://support.microsoft.com/kb/121007
    -Arun

  • PrintOutputController::ExportEx - The system cannot find the path specified

    I just converted our code from using an older Crystal Reports API for creating PDFs and print jobs (ExportToDisk() and PrintToPrinter()) to using the RAS methods.  Now, when calling PrintOutputController::ExportEx(), occassionally the code generates an exception.
    Our log file contains the following lines:
        calling ExportEx()...
    ERROR:  caught Exception in CreateReport():
          name: COMException
          message: The system cannot find the path specified.
        creating new ReportDocument
        loading template: d:
    dev
    sources
    video
    nextlink
    Reports
    singlemeeting.rpt...  done
        sleeping for 5 seconds...
        retrying export/print...
        exporting to:
    mako\export\confirmations
    1138551.pdf... 
        entering createPDF():
    mako\export\confirmations
    1138551.pdf...
        calling ExportEx()...
    ERROR:  caught Exception in CreateReport():
          name: CrystalReportsException
          message: The report filename was empty.
    Here's the snippet of code that is occassionally generating the exception:
    void
    NReportFaxServiceImpl::createPDF(
        ReportDocument^ rpt,
        String^ destinationString)
    ...", destinationString);
        CrystalDecisions::ReportAppServer::ReportDefModel::ExportOptions^ exportOpts(gcnew CrystalDecisions::ReportAppServer::ReportDefModel::ExportOptions());
        // Set the ExportFormatType to PDF...
        exportOpts->ExportFormatType = CrystalDecisions::ReportAppServer::ReportDefModel::CrReportExportFormatEnum::crReportExportFormatPDF;
        Console::Write("    calling ExportEx()...");
        // This creates the report as a ByteArray that we will write to disk.
        CrystalDecisions::ReportAppServer::CommonObjectModel::ByteArray ^ byteArray = rpt->ReportClientDocument->PrintOutputController->ExportEx(exportOpts);
        Console::WriteLine("done.");
        cli::array<unsigned char, 1>^ oByte = byteArray->DetachArray();
        // Create the File...
        Console::Write("    creating the PDF file...");
        System::IO::File::Create(destinationString, Convert::ToInt32(oByte->Length))->Close();
        Console::Write("writing the PDF file...");
        System::IO::File::OpenWrite(destinationString)->Write(oByte, 0, Convert::ToInt32(oByte->Length));
        Console::Write("calling SetAttributes()...");
        System::IO::File::SetAttributes(destinationString, System::IO::FileAttributes::Directory);
        Console::WriteLine("done");
        GC::Collect();
    We're running Crystal Reports 2008 SP4 on a Windows 2003 server (virtual server).

    The only thing I can suggest is to try to add some additional logging to your application to see if you can see a pattern of which report/parameters are being used when this error is thrown.

Maybe you are looking for

  • Function module to get data into internal table from Excel file sheets

    Hi, I have to upload customers from excel file. we are donloading customer data excel file sheets. Customer data in 1 sheet, tax data the other sheet of same excel file, Customer master-Credit data in other sheet of same excel file. so i have 3-4 she

  • Unable to copy line item from Sales Order [ZPLV] to new Sales Order [ZPCV]

    I have here a requirement to create a new Sales Order[ZPCV] with reference to the previously created SO[ZPLV]. I looked in transaction code VTAA, and the configuration for the aboves condition is: target sales doc type - ZCPV   from sales doc type -

  • Welcome to the ADDT Error Farm

    Man, do I miss InterAKT. ADDT is a migraine-inducing disaster. What a shame to see these once robust extensions turned into useless lines of code by Adobe. I don't even know where to start. I thought I had successfully migrated from InterAKT Kollecti

  • HDD Noise Problem

    i purchased a brand new hp 15 r006tu laptop (Operating sys. Win 8.1)from market six month back. Besides the harddrive makes a very low noise like electric short circuit noise(kirrr kirr..... ). The noise is very low only audible when there is complet

  • Hyperion Essbase User's Guide

    Hello, I am looking for a softcopy of Hyperion essbase 6.5 User's Guide. I would appreciate if someone can help me find one. Thanks. Vijay