Error in opening a file .......... plz help ... its urgent

here is the code
     filename := '/dev60temp/asif.csv';     
     csv_file :=     TEXT_IO.FOPEN(filename,'a');
when i try to create file using this code, it gives error as
soon as fopen is called. /dev60temp/ is virtual path which is
mapped to a folder on my localmachine.
Plz oracle team help ... its really urgent.

if u want to open the file from the server u have to use
utl_file package, the text_io is used only for client side
files.for that it's not necessary to give out the virtual path.

Similar Messages

  • Error in opening EM..plz Help..

    Error in opening EM..plz Help..
    Hi..
    I want to start the Enterprise Manager
    i started step by step..
    but when i had started em in the console
    /oracle/infs/bin/
    ./emctl start
    it gaves me these error..
    "$ emctl start
    Waiting for EM to initialize ..log4j:ERROR setFile(null,true) call failed.
    java.io.FileNotFoundException: /oracle/infs/sysman/log/emd.log (Permission denied)
    at java.io.FileOutputStream.openAppend(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:100)
    at java.io.FileWriter.<init>(FileWriter.java:52)
    at org.apache.log4j.FileAppender.setFile(FileAppender.java:284)
    at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:198)
    at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:239)
    at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:247)
    at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:123)
    at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:87)
    at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:616)
    at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:574)
    at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:481)
    at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:405)
    at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:304)
    at org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:312)
    at oracle.sysman.emd.emdcli.EmCtl.initLoggingSystem(EmCtl.java:1376)
    at oracle.sysman.emd.emdcli.EmCtl.checkEMDStatus(EmCtl.java:413)
    at oracle.sysman.emd.emdcli.EmCtl.main(EmCtl.java:206)
    .log4j:ERROR setFile(null,true) call failed.
    java.io.FileNotFoundException: /oracle/infs/sysman/log/emd.log (Permission denied)
    at java.io.FileOutputStream.openAppend(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:100)
    at java.io.FileWriter.<init>(FileWriter.java:52)
    at org.apache.log4j.FileAppender.setFile(FileAppender.java:284)
    at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:198)
    at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:239)
    When i tried to start in the browser (http://servername:1810)
    it didn't display any data in the application server part/box!!
    Plz help me. thanks

    Hi..
    i tried to trace the error..so, i tried to open the targets.xml in
    /oracle/infs/sysman/emd
    it gaves me "Permission Denied"
    Plz help

  • Lsmw issue plz help its urgent

    Hi Experts ,
    i need to create a LSMW using batch input .
    but the requirement is on the basis of conditions my recording need to be changed .
    dat means
    3127POL09 3127POL09-1 CTR 3127-1003E 100 FUL
    3127POL09 3127POL09-2 WBS 3127POL01 60 FUL
    for ctr i ill have to post data in screen number 200
    and for wbs i ill have to post data in screen number 400 .
    can we put some conditions in recording in lsmw ?
    i no we can create multiple recording but how can we use them to fullfill my requirement .
    plz help its urgent
    thanx in advance

    Hi,
    Within LSMW, there is an option to write our own code wherein this code can be incorporated.
    This is in the Field Mapping Option...
    Just go to the Menu Extras->Layout
    and click on the check box Form Routines
    Global Data.
    Here you can define Global Variables and also perform your ABAP Coding.
    Regards,
    Balaji.

  • Error while opening a module. plz help me, very urgent.

    when i try to open a module, the following error message appears on my screen.
              " no j2ee component found in d:\krisp\programs\servlets".
              i've installed bea in c: drive and my servlet program is in d: drive.
              plz help me, it's very urgent.

    Can you provide some more information? What were you doing when this happened?
              Can you post the entire error message?
              -- Rob
              WLS Blog http://dev2dev.bea.com/blog/rwoollen/

  • PLZ HElp ITS urgent!!!!!!!!!!!!!!!!      How can i display aquantity field

    Hi all,
    i am getting value in format  '123-'
    i need to display in format '-123'
    plz help me.
    Thanks ,
    Gaurav

    Hi,
    Check this
    report  ztest_46.
    data: val type i value '154633-'.
    write (8) val using edit mask '-________'.
    aRs

  • Quicktime 7.1.6 Error Code Opening New File (-32766) HELP!!!!

    I have tried Quicktime 7.1.6 in another account with the same
    results getting the error code of -32766 just by trying to
    open a New File, and when trying to open a QT Movie .avi
    it says that it can't open the movie, other app's
    like SteerMouse shows a icon of a mouse in it's
    System Pref's window and now the icon is gone and it states
    that it needs QuickTime and a Tiff Encoder ?
    I installed several of the Plug-ins off Apples Web-Site
    the other week I don't know if that is the problem
    as this problem is occuring on my iMac 24"Intel
    OS 10.4.9 and I have a MacBook Pro 17"
    running the same OS and the Same version of QT
    and it works fine but I DIDN"T INSTALL ANY 3RD PARTY
    UPDATES ON THE MBP 17" EITHER ?
    Please help as I use QT a lot and I need the other items
    to work as they should also
    Thanks,
    Michael

    Hi,
    This error means "Bad component selector".
    Components are the software elements (also called plug-ins, codecs, importers, exporters) that QuickTime uses to read the movies.
    The problem would probably be solved by re-installing QuickTime, and deleting all codecs installed from 3rd party.
    Regards, BJ

  • HELP in Generating XML(PLz help its urgent)

    Hi,I need to generate XML FIle.Since i m new to XML.
    I had toregister the valid schema in my DB now i want to generate the XML file and with the refernce to this schema that xml file should be validated one against that schema.
    things i hav done till now
    ->i hav registered the scehma
    and the sample XML file provided by client
    <?xml version="1.0"?>
    <MEDMLDATA xmlns="PhaseForward-MedML-Inform4">
    <!-- Insert Trial/Study Information -->
    <STUDYVERSION UUID="id"
    STUDYNAME="name"
    VERSIONDESCRIPTION="text" />
    <!-- Insert Site Personnel Information -->
    <USER USERNAME="mmeyer"
    USERTYPE = "SITE"
    ACTIVESTATE = "TRUE"
    DELETESTATE = "FALSE"
    FIRSTNAME = "Marianne"
    LASTNAME = "Meyer"
    DISPLAYNAME = "Marianne Meyer"
    TITLE = ""
    HOMESCREENURL = "./Custom/HomeDefault.html"
    PHONE = "(555) 555-1212"
    FAX = "(555) 555-1212"
    ALTPHONE = ""
    EMAIL = "[email protected]"
    ADDRESS = ""
    ADDRESS2 = ""
    CITY = ""
    STATE = ""
    ZIPCODE = ""
    COUNTRY = ""
    BEEPER = ""
    USERMUSTRESETPASSWORD = "FALSE"
    DESCRIPTION = ""
    PASSWORD="changeme"/>
    <USER USERNAME="john"
    USERTYPE = "SITE"
    ACTIVESTATE = "TRUE"
    DELETESTATE = "FALSE"
    FIRSTNAME = "John"
    LASTNAME = "Meyer"
    DISPLAYNAME = "John Meyer"
    TITLE = ""
    HOMESCREENURL = "./Custom/HomeDefault.html"
    PHONE = "(555) 555-1212"
    FAX = "(555) 555-1212"
    ALTPHONE = ""
    EMAIL = "[email protected]"
    ADDRESS = ""
    ADDRESS2 = ""
    CITY = ""
    STATE = ""
    ZIPCODE = ""
    COUNTRY = ""
    BEEPER = ""
    USERMUSTRESETPASSWORD = "FALSE"
    DESCRIPTION = ""
    PASSWORD="changeme"/>
    <!-- Insert Site Information -->
    <SITE NAME=     "(01) Massachusetts General Hospital" MNEMONIC="01"
    ADDRESS = "1 Main Street"
    ADDRESS2 = ""
    CITY = "Boston"
    STATE = "MA"
    ZIPCODE = ""
    COUNTRY = "USA"
    PHONE = "(555) 555-1212"
    ALTPHONE = ""
    FAX = ""
    EMAIL = ""
    TIMEZONE="(GMT-05:00) Eastern Time (US & Canada)"
    SITEDATEFORMAT = "MONTH_DAY_YEAR"
    STARTDATE = "April 1, 2005">
    </SITE>
    <SITE NAME=     "(02) Boston General Hospital" MNEMONIC="01"
    ADDRESS = "1 Main Street"
    ADDRESS2 = ""
    CITY = "Boston"
    STATE = "MA"
    ZIPCODE = ""
    COUNTRY = "USA"
    PHONE = "(555) 555-1212"
    ALTPHONE = ""
    FAX = ""
    EMAIL = ""
    TIMEZONE="(GMT-05:00) Eastern Time (US & Canada)"
    SITEDATEFORMAT = "MONTH_DAY_YEAR"
    STARTDATE = "April 1, 2005">
    </SITE>
    <!-- Insert SITE and User Mapping Information -->
    <SITEGROUP SITENAME="(01) Massachusetts General Hospital">
    <USERREF USERNAME="mmeyer"/>
    </SITEGROUP>
    <SITEGROUP SITENAME="(02) Boston General Hospital">
    <USERREF USERNAME="John"/>
    </SITEGROUP>
    <!-- Insert User ROle Information -->
    <RIGHTSGROUP GROUPNAME="CRA">
    <!-- Insert Rights -->
    <RIGHTREF RIGHT="Print"/>
    <RIGHTREF RIGHT="Monitor"/>
    <RIGHTREF RIGHT="Canned Reports"/>
    <RIGHTREF RIGHT="View CRF"/>
    <RIGHTREF RIGHT="View Signature History for CRF"/>
    <RIGHTREF RIGHT="View Signature History for CRB"/>
    <RIGHTREF RIGHT="Data Export Listings"/>
    <RIGHTREF RIGHT="Freeze a CRF"/>
    <RIGHTREF RIGHT="Unfreeze a CRF"/>
    <RIGHTREF RIGHT="Mark and Unmark a CRF as SVed"/>
    <RIGHTREF RIGHT="Freeze a CRB"/>
    <RIGHTREF RIGHT="Unfreeze a CRB"/>
    <RIGHTREF RIGHT="Change Query State from Candidate to Open"/>
    <RIGHTREF RIGHT="Change Query State from Candidate to Deleted"/>
    <RIGHTREF RIGHT="Change Query State from Answered to Closed"/>
    <RIGHTREF RIGHT="Change Query State from Open to Closed"/>
    <RIGHTREF RIGHT="Change Query State from Reissued Candidate to Closed"/>
    <RIGHTREF RIGHT="Enter Query in Candidate State"/>
    <RIGHTREF RIGHT="Enter Query in Open State"/>
    <RIGHTREF RIGHT="Re-issue Query in Candidate State"/>
    <RIGHTREF RIGHT="Re-issue Query in Open State"/>
    <RIGHTREF RIGHT="Navigate by Visit"/>
    <RIGHTREF RIGHT="Navigate by Form"/>
    <RIGHTREF RIGHT="Reordering of Patients"/>
    <!-- Insert Users for role -->
    <USERREF USERNAME="mmeyer"/>
    <USERREF USERNAME="john"/>
    </RIGHTSGROUP>
    </MEDMLDATA>
    now i need to generate XML based on the above SAMple XML file,can anybody tell me how to generate XML file based on this..and after generating it should be validated against the registerd schema.

    Maybe I am wrong, but my understanding is that you have to generate the xml from your data source (usually tables) and then you validate it against your schema. I don't know if the schema has a magic that can generate the xml for you. Is that correct? Anyone please? At the beginning, I asked a .Net guy if his tool could "generate" an xml simply using the schema (I thought so). But he said they had to use many style sheets to create the xml.
    Ben

  • Query Regarding Workflow........plz help its urgent.

    hi friends
    Here is my query in Workflow
    I would like to know when a work item gets triggered.?
    I know that its a run time object,but i want to know is there any such condition which must satisfy before any work item gets triggered,or is there any process that helps to triggered a work item.
    Thanks in Advance
    mrutyun^

    hai
      for a workitem should be triggred, we dont want any thing.
    if workflow is triggred using event then, the following steps which is designed below is executed.

  • Goods movement on a mass scale...Plz help, its urgent.

    Hi Gurus,
    I need to do the goods issue to a cost centre on a mass scale. Is there any way to do it in one hit or do i need to to put all the materials manually (around 3000 materials) and then enter the qty to be transfered?
    Kindly help me out, its very urgent...
    Thanks,
    Swati.

    Ask your Abaper to write a BDC Program and give all the details in EXCEL sheet

  • Plz help --- its urgent

    Hi
    In Linux/Unix Environment we can pass command line arguments as
    java filename arg1 arg2 ....
    If I want to pass command line arguments while running Java in Eclipse .How can I do it?
    Thanks

    Hi
    In Linux/Unix Environment we can pass command line
    arguments as
    java filename arg1 arg2 ....
    If I want to pass command line arguments while
    running Java in Eclipse .How can I do it?
    ThanksBy reading the documentation / help screens that come with Eclipse, to see where you fill out some part of some screen about your project.

  • Error while opening the file store file "WLS_DIAGNOSTICS000000.DAT".....

    I have a WL 9.2.1 running on Sun solaris o/s .....it is failing to start thowing the following exception
    <Mar 19, 2009 5:21:17 PM EDT> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason:
    There are 1 nested errors:
    weblogic.diagnostics.lifecycle.DiagnosticComponentLifecycleException: weblogic.store.PersistentStoreException: java.io.IOException: [Store:280021]There was a
    n error while opening the file store file "WLS_DIAGNOSTICS000000.DAT"
    at weblogic.diagnostics.lifecycle.ArchiveLifecycleImpl.initialize(ArchiveLifecycleImpl.java:44)
    at weblogic.diagnostics.lifecycle.DiagnosticFoundationService.start(DiagnosticFoundationService.java:107)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    Caused by: weblogic.store.PersistentStoreException: java.io.IOException: [Store:280021]There was an error while opening the file store file "WLS_DIAGNOSTICS0
    00000.DAT"
    at weblogic.store.io.file.Heap.open(Heap.java:166)
    at weblogic.store.io.file.FileStoreIO.open(FileStoreIO.java:85)
    at weblogic.store.internal.PersistentStoreImpl.open(PersistentStoreImpl.java:350)
    at weblogic.store.PersistentStoreManager.createFileStore(PersistentStoreManager.java:202)
    at weblogic.diagnostics.archive.DiagnosticStoreRepository.getStore(DiagnosticStoreRepository.java:61)
    at weblogic.diagnostics.lifecycle.ArchiveLifecycleImpl.initialize(ArchiveLifecycleImpl.java:42)
    ... 4 more
    Caused by: java.io.IOException: [Store:280021]There was an error while opening the file store file "WLS_DIAGNOSTICS000000.DAT"
    at weblogic.store.io.file.StoreDir.throwIOException(StoreDir.java:213)
    at weblogic.store.io.file.StoreDir.open(StoreDir.java:103)
    at weblogic.store.io.file.Heap.open(Heap.java:164)
    ... 9 more
    Caused by: java.io.IOException: Error from fcntl() for file locking, Resource temporarily unavailable, errno=11
    at weblogic.store.io.file.direct.DirectIONative.open(Native Method)
    at weblogic.store.io.file.direct.DirectFileChannel.<init>(DirectFileChannel.java:51)
    at weblogic.store.io.file.direct.DirectIOManager.open(DirectIOManager.java:138)
    at weblogic.store.io.file.StoreFile.openInternal(StoreFile.java:112)
    at weblogic.store.io.file.StoreFile.open(StoreFile.java:142)
    at weblogic.store.io.file.StoreDir.open(StoreDir.java:95)
    ... 10 more
    i went ahead and checkd the file and the privs on the file they look correct -rw-r--r-- ...but when i just restart it ..it starts with no errors the next time......What could be the issue.....please help
    Then only reason i could think of is the size of the file is 35MB now...is this the problem....if yes....is there a way to automaticaly rotate this file ....

    The root cause appears to be right in the stack trace:
    Caused by: java.io.IOException: Error from fcntl() for file locking, Resource temporarily unavailable, errno=11I think this indicates that either the file was either locked (because another instance of WebLogic had it opened), or that the file was unavailable for some reason. WebLogic locks files as a safety precaution to prevent misconfigured setups (multiple domains sharing the same directory and store name) from attempting to share the same file.
    I don't think that this message necessarily means there is a file corruption.
    As for rotation, the file store automatically adds new files as needed (I think its 1 file for every 2GB of data). The "diagnostics" file store is generated by the optional diagnostics feature, and I think that this feature has options for controlling the amount of stored data.
    Tom

  • Error in opening zip file

    i'm trying to download a zip file through my java program and extract a .dbf file from the downloaded file.
    i'm getting java.util.zip.ZipException: error in opening zip file at:
    ZipFile zf=new ZipFile("c:\\tomcat\\webapps\\project\\PR.zip");
    can anyone tell me what the problem is?
    ========================================================================
    import java.io.*;
    import java.net.*;
    import java.sql.*;
    import java.util.*;
    import java.util.zip.*;
    public class BhavMod
    public static void main(String arr[])
    System.out.println("Downloading file PR.ZIP from location http://nseindia.com/content/equities/PR.zip...");
         try
              URL u = new URL("http://nseindia.com/content/equities/PR.zip");
              InputStream ip = u.openStream();
              int af;
              byte b[] = new byte[256];
         File fp = new File("c:\\tomcat\\webapps\\project\\PR.zip");
              FileOutputStream fos = new FileOutputStream(fp);
              af=1;
              for(int i=0;af>0;i++)
                   af=ip.read(b);
                   if(af>0) {
                        fos.write(b);     
                        System.out.print(".");
              ip.close();
              fos.close();
    System.out.println("\n\nDownloaded file PR.Zip to location c:\\tomcat\\webapps\\project\\PR.zip");
    catch(Exception e3)
    System.out.println("<b>DOWNLOAD FAILED.</b><BR>");
    System.out.println(e3);
         try{
              System.out.println("entered");
         ZipFile zf=new ZipFile("c:\\tomcat\\webapps\\project\\PR.zip");
              System.out.println("opened");
         Enumeration e=zf.entries();
         System.out.println("connected"+zf.size());
         ZipEntry a=new ZipEntry("dbasefile");
         while(e.hasMoreElements())
              a=(ZipEntry)e.nextElement();
         if(a.getName().startsWith("pr"))
         InputStream is=zf.getInputStream(a);
         int nw;
         File f=new File("c:\\tomcat\\webapps\\project\\bhav.dbf");
         FileOutputStream os=new FileOutputStream(f);
         while(is.available()>0)
         nw=is.read();
         os.write(nw);
    System.out.println(a);
              zf.close();
    }catch(Exception e2)
    System.out.println(e2);
    try{
         Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
              String DBUrl = "jdbc:mysql:///portdb";
              Class.forName("com.mysql.jdbc.Driver").newInstance();
    Connection cn=DriverManager.getConnection("jdbc:odbc:dbf");
    Statement st=cn.createStatement();
    ResultSet rs=st.executeQuery("select * from bhav WHERE MKT='Y' OR MKT='y' OR MKT='N' or MKT='n'");
    String str=new String();
    Connection cndb=DriverManager.getConnection(DBUrl);
              System.out.println("Connected!!!");
    Statement stdb=cndb.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE);
    int rsdb=stdb.executeUpdate("delete from script");
    System.out.println("UPDATED RATES...\n\nScript-----------------------------------Price");
    while(rs.next())
    str=rs.getString("SECURITY");
    str=str.replace('\'','_');
              str=str.trim();
    str=str.replace(' ','_');
              // to remove blank spaces from script id
              String s1=new String(str);
              StringBuffer s2=new StringBuffer(s1);
              int f;
              while((s1.indexOf(' '))!=-1)
                   f=s1.indexOf(' ');
                   s2=new StringBuffer(s1);
                   s2=s2.deleteCharAt(f);
                   s1=s2.toString();                         
    // so now insert s1 as script id and str as script name....
    float price=rs.getFloat("CLOSE_PRIC");
    rsdb=stdb.executeUpdate("insert into script values ('"+s1+"','"+str+"','N',"+price+",now())");
    System.out.println(str+"\t\t\t\t\t"+price);
         catch(Exception eupd)
              System.out.println("UPDATION FAILED."+eupd);
    =======================================================================
    Output:
    Downloading file PR.ZIP from location http://nseindia.com/content/equities/PR.zip...
    Downloaded file PR.Zip to location c:\tomcat\webapps\project\PR.zip
    entered
    java.util.zip.ZipException: error in opening zip file
    Connected!!!
    UPDATED RATES...
    Script-----------------------------------Price
    S&P_CNX_Nifty                         1017.1
    CNX_Nifty_Junior                         1336.75
    S&P_CNX_Defty                         739.9
    S&P_CNX_500                         729.75
    CNX_Midcap_200                         708.8
    ASEA_BROWN_BOVERI_LTD                         302.3
    ASSOCIATED_CEMENT_CO_LTD                         144.9
    BAJAJ_AUTO_LTD                         499.0
    BHEL                         206.55
    BHARAT_PETROLEUM_CORP__LT                         215.1

    the file is at its location....... not password protected.... and i've thought of all the "half-a-dozen things" u haven't thought of...
    thanks anyway for taking the pain to reply.
    u needn't have replied if it was bugging u so.
    Maybe the zip file isn't at that location. Maybe it
    didn't get completely downloaded. Maybe downloading it
    puts permissions on it that don't allow you to open
    it. Maybe it's password-protected. Maybe half-a-dozen
    things I haven't thought of yet. Did you check any of
    those obvious things? Can you open the file yourself
    with a zip utility?

  • Error while importing the epa file..help needed urgently..

    Hi,
    I am facing a severe problem, I have developed a portal application, designed the pages, iViews roles etc and exported to a file and later downloaded the epa file.
    For testing purpose, I deleted my content folder of the pages and iViews from the content administration. But when i tried to import the file, I am getting an error message
    <b>" Error extracting the package file. Check the log files for details. "</b>
    When i lokked the log file, i found the exception as
    <b>" [com.sapportals.portal.transport.ui.ImportComponent] Error while extracting EP6.0 package C:
    usr
    sap
    J2E...
    MyEpafile.epa "</b>
    and below the erro i found an exception message as <b>"error in opening zip file"</b>
    When i tried to extract the file using winzip, I can extract it with out any problem..
    Can you please tell me how this happened?
    Please help me to solve this problem,
    Thankyou,
    Sudheesh...

    Hi Christopher,
    Well, I have solved the problem. But I don't know whether it will be the correct technical way.. Because i have to solve the same under a very little time constraint. The solution is given below,
    I unzipped the epa file which i have downloaded using winzip. inside the extracted file, i found a zip file with the same file name and extension. when i uploaded that file, it worked fine with out any problem. I tried the same many times. and each time i got the same results.
    Please try this if you are still facing the problem..
    Best regards,
    Sudheesh...

  • Error while deployiong bpel process plz help

    i am geting an error while deployiong bpel process plz help
    BUILD FAILED
    E:\jdevstudio10132\jdev\mywork\Application4\vinayread\build.xml:79: A problem occured while connecting to server "chdsez116553d" using port "8888": bpel_vinayread_1.0.jar failed to deploy. Exception message is: ORABPEL-05215
    Error while loading process.
    The process domain encountered the following errors while loading the process "vinayread" (revision "1.0"): BPEL validation failed.
    BPEL source validation failed, the errors are:
    [Error ORABPEL-10902]: compilation failed
    [Description]: in "bpel.xml", XML parsing failed because "undefined part element.
    In WSDL at "file:/D:/product/10.1.3.1/OracleAS_8/bpel/domains/default/tmp/.bpel_vinayread_1.0_679323b0585449e9fd1887e6ee2bf444.tmp/vinayred.wsdl", message part element "{http://TargetNamespace.com/vinayred}Root-Element" is not defined in any of the schemas.
    Please make sure the spelling of the element QName is correct and the WSDL import is complete.
    [Potential fix]: n/a.
    If you have installed a patch to the server, please check that the bpelcClasspath domain property includes the patch classes.
    at com.collaxa.cube.engine.deployment.CubeProcessHolder.bind(CubeProcessHolder.java:285)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(DeploymentManager.java:862)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deploySuitcase(DeploymentManager.java:728)
    at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.deploySuitcase(BPELDomainManagerBean.java:445)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
    at com.evermind.server.ThreadState.runAs(ThreadState.java:646)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
    at DomainManagerBean_RemoteProxy_4bin6i8.deploySuitcase(Unknown Source)
    at com.oracle.bpel.client.BPELDomainHandle.deploySuitcase(BPELDomainHandle.java:319)
    at com.oracle.bpel.client.BPELDomainHandle.deployProcess(BPELDomainHandle.java:341)
    at deployHttpClientProcess.jspService(_deployHttpClientProcess.java:376)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Total time: 1 second
    plz give sme solutions

    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="vinayread"
    targetNamespace="http://xmlns.oracle.com/vinayread"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:client="http://xmlns.oracle.com/vinayread"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         TYPE DEFINITION - List of services participating in this BPEL process
         The default output of the BPEL designer uses strings as input and
         output to the BPEL Process. But you can define or import any XML
         Schema type and use them as part of the message types.
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <types>
              <schema xmlns="http://www.w3.org/2001/XMLSchema">
                   <import namespace="http://xmlns.oracle.com/vinayread" schemaLocation="vinayread.xsd" />
              </schema>
         </types>
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         MESSAGE TYPE DEFINITION - Definition of the message types used as
         part of the port type defintions
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <message name="vinayreadRequestMessage">
              <part name="payload" element="client:vinayreadProcessRequest"/>
         </message>
         <message name="vinayreadResponseMessage">
              <part name="payload" element="client:vinayreadProcessResponse"/>
         </message>
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         PORT TYPE DEFINITION - A port type groups a set of operations into
         a logical service unit.
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <!-- portType implemented by the vinayread BPEL process -->
         <portType name="vinayread">
              <operation name="process">
                   <input message="client:vinayreadRequestMessage" />
                   <output message="client:vinayreadResponseMessage"/>
              </operation>
         </portType>
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         PARTNER LINK TYPE DEFINITION
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <plnk:partnerLinkType name="vinayread">
              <plnk:role name="vinayreadProvider">
                   <plnk:portType name="client:vinayread"/>
              </plnk:role>
         </plnk:partnerLinkType>
    </definitions>
    how to check the
    which xsd contains
    "{http://TargetNamespace.com/vinayred}Root-Element"????
    how to check this plz tell me

  • Java.util.zip.ZipException: error in opening zip file Deploment Error

    Hi All,
    I am getting the fallowing Deployment exception while i am trying to deploy my webdynpro DC. Kindly help me if anybody know the solution for it.
    deployment aborted : file:/C:/DOCUME1/291123/LOCALS1/Temp/temp7081pg.comiprscipr~dc_intreg_process.ear
    Aborted: development component 'ipr/scipr/dc_intreg_process'/'pg.com'/'GGD_EPREGDEV_D'/'20101220152524'/'0':Caught exception during application deployment from SAP J2EE Engine's deploy service:java.rmi.RemoteException: Error while getting the internal libraries of application pg.com/iprsciprdc_intreg_process in operation update.. Reason: error in opening zip file; nested exception is:      java.util.zip.ZipException: error in opening zip file (message ID: com.sap.sdm.serverext.servertype.i
    Thanks,
    Mahesh Nuli.

    Hello Ram,
    It is saying that the library file is missing. Can you deploy pg.com/iprsciprdc_intreg_process  first and try to deploy this ear temp7081pg.comiprscipr~dc_intreg_process.ear.
    Regards
    Nizamudeen SM

  • ZipException : error in opening zip file

    Hello,
    I need to create a zip file using Java. I have to zip content from a directory (sub-folders included). So I'm using a recursive method.
    In fact my zip file is well created, when I open it with winrar, winzip, everything is ok, same thing with a bash on linux (unzip).
    My problem is that I have to open the created zip file in Java. When I do it, i get an exception:
    java.util.zip.ZipException: error in opening zip file
            at java.util.zip.ZipFile.open(Native Method)
            at java.util.zip.ZipFile.<init>(ZipFile.java:203)
            at java.util.zip.ZipFile.<init>(ZipFile.java:234)
            ...This is my method:
    public void zipContent()
           ZipOutputStream zipout;
            try
                zipout = new ZipOutputStream("destination zip file");
                zipDir("main source directory", zipout, "");
                zipout.close();
            catch (FileNotFoundException e)
                e.printStackTrace();
            catch (IOException e)
                e.printStackTrace();
        private void zipDir(String source, ZipOutputStream zipout, String relativeDir) throws IOException
            File zipDir = new File(source);
            String[] dirList = zipDir.list();
            byte[] readBuffer = new byte[2156];
            int bytesIn = 0;
            // Loop through dirList, and zip the files.
            for (int i = 0; i < dirList.length; i++)
                File f = new File(zipDir, dirList);
    if (f.isDirectory())
    // If the File object is a directory, call this
    // function again to add its content recursively.
    String filePath = f.getPath();
    String name = f.getName();
    if (!name.endsWith("/")) name += "/";
    zipEntries.put(name, name);
    if (relativeDir.equals(""))
    ZipEntry anEntry;
    anEntry = new ZipEntry(name);
    zipout.putNextEntry(anEntry);
    zipout.closeEntry();
    zipDir(filePath, zipout, name);
    else
    ZipEntry anEntry;
    if (!relativeDir.endsWith("/"))
    relativeDir += "/";
    anEntry = new ZipEntry(relativeDir + name);
    zipout.putNextEntry(anEntry);
    zipDir(filePath, zipout, relativeDir + name);
    // Loop again.s
    continue;
    // Create a FileInputStream on top of f.
    FileInputStream fis = new FileInputStream(f);
    ZipEntry anEntry;
    if ((!relativeDir.endsWith("/")) && (!relativeDir.equals("")))
    relativeDir += "/";
    if (!relativeDir.equals(""))
    anEntry = new ZipEntry(relativeDir + f.getName());
    else
    anEntry = new ZipEntry(f.getName());
    // Place the zip entry in the ZipOutputStream object.
    zipout.putNextEntry(anEntry);
    zipEntries.put(anEntry.getName(), anEntry.getName());
    // Now write the content of the file to the ZipOutputStream.
    while ((bytesIn = fis.read(readBuffer)) != -1)
    zipout.write(readBuffer, 0, bytesIn);
    // Close the Stream.
    zipout.closeEntry();
    fis.close();
    This the code I use to unzip:
            try
                ZipFile zip = new ZipFile(zipFile);
                Enumeration zipEnum = zip.entries();
                zipEnum = zip.entries();
                while (zipEnum.hasMoreElements())
                    ZipEntry item = (ZipEntry) zipEnum.nextElement();
                    // Directory case.
                    if (item.isDirectory())
                        File newdir = new File(unzippedFilesDir + "/" + item.getName());
                        newdir.mkdir();
                    // File case.
                    else
                        String newfile = unzippedFilesDir + "/" + item.getName();
                        InputStream is = zip.getInputStream(item);
                        FileOutputStream fos = new FileOutputStream(newfile);
                        int ch;
                        while ((ch = is.read()) != -1)
                            fos.write(ch);
                        is.close();
                        fos.close();
                zip.close();
            catch (Exception e)
                System.out.println(e);
                e.printStackTrace();
            }The exception is thrown on the line:
    ZipFile zip = new ZipFile(zipFile);Do you see something weird in my code..?
    I'm working on this problem for several days, and I'm losing hope...
    Thanks,
    Phil

    This looks wierd:
    ZipFile zip = new ZipFile(zipFile);
    Enumeration zipEnum = zip.entries();
    zipEnum = zip.entries();

Maybe you are looking for

  • Drag and Drop (re-order) Thumbnails in Organizer

    I am using Photoshop Elements version 5.0.2 I would like to re-order pictures in an order that will make sense for me in my business. I suppose I can go through each pix and change the time on them, so I can then sort by time stamp. Is there an easie

  • Home Server 2011 Stopped Working

    Hey there. I work with a windows Home Server 2011 and recently it wasn't accessing a certain report that I need. I restarted it to see if that would fix it. When it restarted, it went through the Windows loading screen, then went to a black screen. I

  • Mail box issue

    My mail says: Cannot get mail. The connection to the server failed. How can I fix this?, My mail says: Cannot get mail. The connection to the server failed. How can I fix this?

  • How to transfer emails from PC/Outlook to Mac/Mail

    I just bought MacBookPros and iPads for my small business.  After many many hours, i was ensured that the iCloud/Mac combo was the solution for me.  It has turned out to be extremely difficulat migrating from PC/Outlook.  I will not get in to details

  • Full screen playback won't play from the playhead

    Hi all, I'm using I-Movie 11.  When I try to play in full screen (either by using cmd+G or going through the 'view' menu) it will not play from where the playhead is.  Instead it seems to start from random clips in my event.  If I am already watching