Java.lang.Error: java.util.zip.ZipException: The system cannot find the fil

I got maven 221 installed
i got jdk 1.6 and 1.5 installed (have tested both)
I have a strange error. All my co-workers can build but I cant. The only thing I can find is that I dont have installed BEA Weblogic but I dont want to have that installed. It should be able to run anyway.
Could someone tell me what is wrong? If you need pom.xml I got that one as well.
process-classes:
[copy] Copying 4 files to C:\hudson\jobs\albpm_ip-identity-asserter_-_Build\workspace\target\mbean-content
[mkdir] Created dir: C:\hudson\jobs\albpm_ip-identity-asserter_-_Build\workspace\target\mbean-jar
[java] Creating an MJF from the contents of directory C:\hudson\jobs\albpm_ip-identity-asserter_-_Build\workspace\target\mbean-content...
[java] Compiling the files...
[java] Creating the list.
[java] Doing the compile.
[java] WLMaker-SubProcess: : Exception in thread "main" java.lang.Error: java.util.zip.ZipException: The system cannot find the file specified
[java] WLMaker-SubProcess: :      at weblogic.management.commo.BeanGenDriver.getManagementTempDir(BeanGenDriver.java:93)
[java] WLMaker-SubProcess: :      at weblogic.management.commo.BeanGenDriver.main(BeanGenDriver.java:117)
[java] WLMaker-SubProcess: : Caused by: java.util.zip.ZipException: The system cannot find the file specified
[java] WLMaker-SubProcess: :      at java.util.zip.ZipFile.open(Native Method)
[java] WLMaker-SubProcess: :      at java.util.zip.ZipFile.<init>(ZipFile.java:203)
[java] WLMaker-SubProcess: :      at java.util.jar.JarFile.<init>(JarFile.java:132)
[java] WLMaker-SubProcess: :      at java.util.jar.JarFile.<init>(JarFile.java:97)
[java] WLMaker-SubProcess: :      at weblogic.management.commo.BeanGenDriver.getManagementTempDir(BeanGenDriver.java:90)
[java] WLMaker-SubProcess: :      ... 1 more
[java] WLMaker-SubProcess: : Stopped draining WLMaker-SubProcess:
[java] WLMaker-SubProcess: : Stopped draining WLMaker-SubProcess:
[java] BeanGen code generation failed
[HUDSON] Archiving C:\hudson\jobs\albpm_ip-identity-asserter_-Build\workspace\pom.xml to C:\hudson\jobs\albpmip-identity-asserter_-Build\modules\dk.skat.ip.integration.albpm$ip-identity-asserter\builds\2010-11-2213-41-28\archive\dk.skat.ip.integration.albpm\ip-identity-asserter\1.2\pom.xml
[INFO] ------------------------------------------------------------------------

from my experience, using weblogic jars can be a pain if the full install is not on the local box.
Note that you dont have to 'install' it. Just copy the directory.
Reason is that the jar files have manifests with relative classpaths.
For an example of horror take a look at the weblogic.jar MANIFEST's classpath entry.
-Fred

Similar Messages

  • Error in Java compilation: \s7u.log (The system cannot find the file specified)

    Hi there,
    I got an error when I tried to compile a group of sqlj and java files. The error below:
    ----------------------------------------------sqlj -status -passes -compile=true -ser2class -d=. -classpath=.;%CLASSPATH% E:\work\src\java\com\interadnet\persistence\*.sqlj E:\work\src\java\com\interadnet\persistence\*.java
    out [Translating 53 files]
    out [Reading file AdServerInformationType]
    out [Reading file AdsType]
    out [Reading file AgencyType]
    out [Reading file CampaigntocompletionType]
    out [Reading file CampaignType]
    out [Reading file ChannelType]
    out [Reading file ClientType]
    out [Reading file CompletionType]
    out [Reading file ContactType]
    out [Reading file CreativeType]
    out [Reading file FtpServerType]
    out [Reading file InsertioninstructionType]
    out [Reading file MediaServerType]
    out [Reading file SystemPropertyType]
    out [Reading file VendorType]
    out [Reading file AdServerInformationTypeRef]
    out [Reading file AdServerInformationView]
    out [Reading file AdsTypeRef]
    out [Reading file AdsView]
    out [Reading file AgencyTypeRef]
    out [Reading file AgencyView]
    out [Reading file CampaigntocompletionTypeRef]
    out [Reading file CampaignToCompletionView]
    out [Reading file CampaignTypeRef]
    out [Reading file CampaignTypeRefs]
    out [Reading file CampaignView]
    out [Reading file ChannelTypeRef]
    out [Reading file ChannelTypeRefs]
    out [Reading file ChannelView]
    out [Reading file ClientTypeRef]
    out [Reading file ClientTypeRefs]
    out [Reading file ClientView]
    out [Reading file CompletionTypeRef]
    out [Reading file CompletionTypeRefs]
    out [Reading file CompletionView]
    out [Reading file ContactTypeRef]
    out [Reading file ContactView]
    out [Reading file CreativeTypeRef]
    out [Reading file CreativeTypeRefs]
    out [Reading file CreativeView]
    out [Reading file FtpServerTypeRef]
    out [Reading file FtpServerView]
    out [Reading file InsertioninstructionTypeRef]
    out [Reading file InsertioninstructionTypeRefs]
    out [Reading file InsertionInstructionView]
    out [Reading file MediaServerTypeRef]
    out [Reading file MediaServerView]
    out [Reading file SystemPropertyTypeRef]
    out [Reading file SystemPropertyTypeRefs]
    out [Reading file SystemPropertyView]
    out [Reading file VendorTypeRef]
    out [Reading file VendorTypeRefs]
    out [Reading file VendorView]
    out [Translating file AdServerInformationType]
    out [Translating file AdsType]
    out [Translating file AgencyType]
    out [Translating file CampaigntocompletionType]
    out [Translating file CampaignType]
    out [Translating file ChannelType]
    out [Translating file ClientType]
    out [Translating file CompletionType]
    out [Translating file ContactType]
    out [Translating file CreativeType]
    out [Translating file FtpServerType]
    out [Translating file InsertioninstructionType]
    out [Translating file MediaServerType]
    out [Translating file SystemPropertyType]
    out [Translating file VendorType]
    out [Translating file AdServerInformationTypeRef]
    out [Translating file AdServerInformationView]
    out [Translating file AdsTypeRef]
    out [Translating file AdsView]
    out [Translating file AgencyTypeRef]
    out [Translating file AgencyView]
    out [Translating file CampaigntocompletionTypeRef]
    out [Translating file CampaignToCompletionView]
    out [Translating file CampaignTypeRef]
    out [Translating file CampaignTypeRefs]
    out [Translating file CampaignView]
    out [Translating file ChannelTypeRef]
    out [Translating file ChannelTypeRefs]
    out [Translating file ChannelView]
    out [Translating file ClientTypeRef]
    out [Translating file ClientTypeRefs]
    out [Translating file ClientView]
    out [Translating file CompletionTypeRef]
    out [Translating file CompletionTypeRefs]
    out [Translating file CompletionView]
    out [Translating file ContactTypeRef]
    out [Translating file ContactView]
    out [Translating file CreativeTypeRef]
    out [Translating file CreativeTypeRefs]
    out [Translating file CreativeView]
    out [Translating file FtpServerTypeRef]
    out [Translating file FtpServerView]
    out [Translating file InsertioninstructionTypeRef]
    out [Translating file InsertioninstructionTypeRefs]
    out [Translating file InsertionInstructionView]
    out [Translating file MediaServerTypeRef]
    out [Translating file MediaServerView]
    out [Translating file SystemPropertyTypeRef]
    out [Translating file SystemPropertyTypeRefs]
    out [Translating file SystemPropertyView]
    out [Translating file VendorTypeRef]
    out [Translating file VendorTypeRefs]
    out [Translating file VendorView]
    out [Compiling 53 Java files]
    err*** The following character string is too long:
    err***
    out Error in Java compilation: \s7u.log (The system cannot find the file specified)
    Any suggestion appreciated.
    Daniel Huang

    Having not seen this before, I assume that the issue is that the command line string is too long when Javac is invoked.
    Here are a few things to reduce the size of the command line:
    - do not use the CLASSPATH option, but set the CLASSPATH environment variable (you can to that in a .bat file)
    - do not provide the .java files but rely on the implicit make capability in both, the SQLJ translator and the Java compiler. (Note: you must mention all of the .sqlj files that your program requires, do not rely on implicit make to find all of those.)
    - you can perform the -ser2class conversion as a separate step (see the SQLJ FAQ), as well as the Java compilation
    - there may or may not be a facility in your operating system to increase the size of the environment (and this may or may not have an effect on the maximum command line length)
    - you could try to omit the -passes option and see if that helps (that may actually be where your invocation if failing in the first place, in that it cannot write to some temporary file).
    Let us know how it goes. Thanks!

  • Java.io.FileNotFoundException: test.txt (The system cannot find the file sp

    Hi All,
    am getting the following error, help me out. Thanks in advance...
    java.io.FileNotFoundException: test.txt (The system cannot find the file specified)
         java.io.FileInputStream.open(Native Method)
         java.io.FileInputStream.<init>(FileInputStream.java:106)
         java.io.FileInputStream.<init>(FileInputStream.java:66)
         BinaryStreamServlet.doGet(BinaryStreamServlet.java:13)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    I have placed "test.txt" in the path"D:\Backup\Tomcat web server\apache-tomcat-6.0.14\webapps\examples\WEB-INF\classes\test.txt".
    web.xml entry is as follows,
    <servlet>
    <servlet-name>demoservlet2</servlet-name>
    <servlet-class>BinaryStreamServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>demoservlet2</servlet-name>
    <url-pattern>/demoservlet2</url-pattern>
    </servlet-mapping>
    Source code:
    import java.io.*;
    import java.net.*;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class BinaryStreamServlet extends HttpServlet{
    public void doGet(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException{     
    response.setContentType("text/plain"); /* set the MIME type */
         File f= new File("test.txt");
         byte[] arBytes = new byte[(int) f.length()];
         FileInputStream is= new FileInputStream("test.txt");
         is.read(arBytes);
         OutputStream os = response.getOutputStream();
         os.write(arBytes);
         os.flush();
    }

    I have one Drivers.xml file in /WEB-INF that i want to read .but everytime i get exception file not found..
    i m trying to read this xml file in DriverUtilties.java (a non servlet class)
    inside of /WEB-INF/classess folder is there and hierarchy for non-servlet class DriverUtilties is :- com.dds.apps.ptes.pidentifier.admin.util.common.DriverUtilties
    what code shall i write so that i can read the xml file. ???
    where i set in classpath ?
    MYCODE is like this :
    public static final String DEFAULT_FILE = "/WEB-INF/drivers.xml";
    InputStream in = new FileInputStream(DEFAULT_FILE);
    Thanks in advance

  • Installation of Firefox failing with a 7-Zip Error Box stating "The System Cannot find the File Specified"

    When I upgraded to the latest Firefox on my Windows 7 PC , I get a 7-Zip Error Box stating " The System cannot find the file specified". This happens approximately two thirds into the installation. I have tried turning the Virus checker off and re-installing, but to no avail.

    Boot the computer in Windows Safe Mode with network support (press F8 on the boot screen) as a test.
    *http://www.bleepingcomputer.com/tutorials/how-to-start-windows-in-safe-mode/
    Try this:
    *Download the full Firefox installer and save the file to the desktop<br>https://www.mozilla.org/en-US/firefox/all/
    *Start the installation with a double-click on the desktop icon
    Do a malware check with several malware scanning programs on the Windows computer.
    Please scan with all programs because each program detects different malware.
    All these programs have free versions.
    Make sure that you update each program to get the latest version of their databases before doing a scan.
    *Malwarebytes' Anti-Malware:<br>http://www.malwarebytes.org/mbam.php
    *AdwCleaner:<br>http://www.bleepingcomputer.com/download/adwcleaner/<br>http://www.softpedia.com/get/Antivirus/Removal-Tools/AdwCleaner.shtml
    *SuperAntispyware:<br>http://www.superantispyware.com/
    *Microsoft Safety Scanner:<br>http://www.microsoft.com/security/scanner/en-us/default.aspx
    *Windows Defender:<br>http://windows.microsoft.com/en-us/windows/using-defender
    *Spybot Search & Destroy:<br>http://www.safer-networking.org/en/index.html
    *Kasperky Free Security Scan:<br>http://www.kaspersky.com/security-scan
    You can also do a check for a rootkit infection with TDSSKiller.
    *Anti-rootkit utility TDSSKiller:<br>http://support.kaspersky.com/5350?el=88446
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked
    *https://support.mozilla.org/kb/troubleshoot-firefox-issues-caused-malware

  • Java.io.FileNotFoundException: The system cannot find the path specified

    hi all.
    have this problem
    i have a jsp with the codes as follows:
    try{
    File f=new File("C:/Program Files/Apache Group/Tomcat 4.1/webapps/iiso/account.xml");
    FileWriter fw=new FileWriter(f,false);
    XMLConverter xmlc=new XMLConverter();
    String msg=xmlc.ConvertToXML("account");
    fw.write(msg);
    fw.flush();
    System.out.println("file printed");
    }catch(IOException ioe)
    System.out.println(ioe);
    }it works prefectly on my comp but however when i posted it up on the dev server
    which is running on tomcat 4.0
    i got this error:
    java.io.FileNotFoundException: P:\Program Files\Apache Tomcat 4.0\webapps\IISOelearn\account.xml (The system cannot find the path specified)
    the dev server is running on P drive.
    tried installing tomcat 4.0 on my com and the code runs well.
    could there be other sources tt i miss out causing the error?
    many thanx in advance!
    =)

    Most probably the server has a different path setup from you.
    Instead of hardcoding the full file path into your app, you should have the following
    ServletContext application = getServletConfig().getServletContext();
    String fileName = application.getRealPath("/account.xml");
    File f = new File(fileName);The method ServletContext.getRealPath takes a WEBSITE relative link, and turns it into a real location on disk.
    This makes your code completely independant of what machine it is installed on.
    Cheers,
    evnafets

  • Obfuscation Error: C:\Documents (The system cannot find the file specified)

    Hi,
    I want to obfuscate my jar file. for this purpose i followed the steps below.
    1. Copied proguard.jar in C:\WTK2.5.2\bin
    2. Now opened the file ktoolbar.vm , which is present in C:\WTK2.5.2\bin
    my ktoolbar.vm looks like this
    {color:#666699}C:\PROGRA~1\Java\JDK16~1.0_0\bin\java -Dkvem.home="%KVEM_HOME%" -Djava.library.path="%KVEM_HOME%/bin" -Dsun.java2d.ddlock=true -Dsun.java2d.gdiblit=false -cp "%KVEM_HOME%/wtklib/kenv.zip";"%KVEM_HOME%/wtklib/ktools.zip";"%KVEM_HOME%/bin/JadTool.jar";"%KVEM_HOME%/bin/MEKeyTool.jar";"%KVEM_HOME%/wtklib/customjmf.jar";"%KVEM_HOME%/lib/j2me-ws.jar";"%KVEM_HOME%/lib/j2me-xmlrpc.jar";"%KVEM_HOME%/bin/schema2beansdev.jar";"%KVEM_HOME%/bin/j2me_sg_ri.jar";"%KVEM_HOME%/bin/jaxrpc-impl.jar";"%KVEM_HOME%/bin/jaxrpc-api.jar";"%KVEM_HOME%/bin/jaxrpc-spi.jar";"%KVEM_HOME%/bin/activation.jar";"%KVEM_HOME%/bin/mail.jar";"%KVEM_HOME%/bin/saaj-api.jar";"%KVEM_HOME%/bin/saaj-impl.jar";"%KVEM_HOME%/bin/xsdlib.jar";"%KVEM_HOME%/wtklib/nist-sip-1.2.jar";"%KVEM_HOME%/wtklib/JainSipApi1.1.jar";"%KVEM_HOME%/wtklib/jain-sip-presence-proxy.jar" com.sun.kvem.toolbar.Main{color}
    3. my project or my workspace is at location D:\workspace\WTK
    4. Also my wtk is located at C:\WTK2.5.2
    5 Now i renamed ktoolbar.vm to ktoolbar.bat and the edited the file then added 2 lines at the beginning of ktoolbar.bat
    SET USER_HOME=D:\workspace\WTK
    SET KVEM_HOME=C:\WTK2.5.2
    6 Also i added -Duser.home=%USER_HOME% in the next line.
    7 Now my ktoolbar.bat looks like this.
    {color:#800080}SET USER_HOME=D:\workspace\WTK SET KVEM_HOME=C:\WTK2.5.2 C:\PROGRA~1\Java\JDK16~1.0_0\bin\java -Dkvem.home="%KVEM_HOME%" -Duser.home=%USER_HOME% -Djava.library.path="%KVEM_HOME%/bin" -Dsun.java2d.ddlock=true -Dsun.java2d.gdiblit=false -cp "%KVEM_HOME%/wtklib/kenv.zip";"%KVEM_HOME%/wtklib/ktools.zip";"%KVEM_HOME%/bin/JadTool.jar";"%KVEM_HOME%/bin/MEKeyTool.jar";"%KVEM_HOME%/wtklib/customjmf.jar";"%KVEM_HOME%/lib/j2me-ws.jar";"%KVEM_HOME%/lib/j2me-xmlrpc.jar";"%KVEM_HOME%/bin/schema2beansdev.jar";"%KVEM_HOME%/bin/j2me_sg_ri.jar";"%KVEM_HOME%/bin/jaxrpc-impl.jar";"%KVEM_HOME%/bin/jaxrpc-api.jar";"%KVEM_HOME%/bin/jaxrpc-spi.jar";"%KVEM_HOME%/bin/activation.jar";"%KVEM_HOME%/bin/mail.jar";"%KVEM_HOME%/bin/saaj-api.jar";"%KVEM_HOME%/bin/saaj-impl.jar";"%KVEM_HOME%/bin/xsdlib.jar";"%KVEM_HOME%/wtklib/nist-sip-1.2.jar";"%KVEM_HOME%/wtklib/JainSipApi1.1.jar";"%KVEM_HOME%/wtklib/jain-sip-presence-proxy.jar" com.sun.kvem.toolbar.Main{color}
    8 Now i opened the command promt and i executed the bat file.
    9 Now when i try to open the WTK toolkit it gives me the following error
    Fatal error : File: C:\WTK.2.5.2\bin\ktoolbar.vm does not exist
    Please help me to resolve this issue or suggest me some different way.
    Also i would like to tell that my project is completely build using netbeans 6.5 . but when i try to make the obfuscation level high using the scroll that is provided by netbeans , it gives me following error.
    {color:#ff0000}C:\Documents and Settings\SShete\My Documents\NetBeansProjects\vtms_test_lwuit_Backup\nbproject\build-impl.xml:459: Error while expanding C:\Documents and Settings\SShete\My Documents\NetBeansProjects\vtms_test_lwuit_Backup\build\obfuscated.jar
    java.io.FileNotFoundException: C:\Documents and Settings\SShete\My Documents\NetBeansProjects\vtms_test_lwuit_Backup\build\obfuscated.jar (The system cannot find the file specified)
    BUILD FAILED (total time: 8 seconds){color}
    Also i dont know what changes are to be done to the build.xml so that obfuscation can be done .
    Thats the reason why i am now opening the same project using wtk and trying to obfuscate it.

    hi....
    i have tried another way out ,
    i followed the procedure below
    In order to integrate this plug-in in the toolkit, you'll have to put the following lines in the file {j2mewtk.dir}/wtklib/Linux/ktools.properties or {j2mewtk.dir}\wtklib\Windows\ktools.properties (whichever is applicable).
    obfuscator.runner.class.name: proguard.wtk.ProGuardObfuscator
    obfuscator.runner.classpath: /usr/local/java/proguard/lib/proguard.jar
    Please make sure the class path is set correctly for your system.
    Once ProGuard has been set up, you can apply it to your projects as part of the build process. The build process is started from the WTK menu bar:
    Project -> Package -> Create Obfuscated Package
    The Toolkit obfuscates other sample projects
    However now my project gets build without errors , but when i try to create a obfuscated package it gives me the following error
    Error preverifying class bc
    VERIFIER ERROR bc.a(Z)Lhx;:
    Incompatible object argument for invokespecial
    com.sun.kvem.ktools.ExecutionException: Preverifier returned 1
    Build failed
    Please help..

  • BOXI3.1: Error during migration -The system cannot find the path specified

    Hi,
    I'm trying to migrate my reporting server from BOXIR2 to BOXI3.1.
    I have a Java App which uses the SDK to generate reports hosted on BOE.
    I have updated the SDK and when i attempt to generate a very simple test report, i get this error:
    The system cannot find the path specified.
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: The system cannot find the path specified.
    ---- Error code:-2147467259 Error code name:failed
         at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    When i stepped through the codes, it occurred at this line:
    ByteArrayInputStream aiStream = (ByteArrayInputStream)rptDoc.getPrintOutputController().export(exportOptions);
    Does anyone know the cause of the issue? Some guide on what to check will also be helpful! Thanks!

    Hi Aasavari,
    We are running BOXI3.1 SP4.
    For debugging purpose, I created a small program with your suggestion to remove exportOptions.
    My report is called "testReportName" and it is created in "CMC > Folders > testFolderName":
    IEnterpriseSession enterpriseSession;
    IInfoStore infoStore;
    IReportAppFactory rptAppFactory;
    IInfoObjects oInfoObjects;
    int reportFolderSI_ID;
    String reportFolder = "testFolderName";
    String reportName = "testReportName";
    String paramVal = "2012-01-31";
    try {
         enterpriseSession  = CrystalEnterprise.getSessionMgr().logon(boUser, boPwd, boAPSName, boAuthType);
         //Get the InfoStore service from Crystal Enterprise
         infoStore = (IInfoStore)enterpriseSession.getService("InfoStore",com.crystaldecisions.enterprise.ocaframework.ServiceNames.OCA_I_IINFO_STORE);
    } catch (SDKException e) {
         System.out.println(e.message());
    try {
         //Get the Report Application Factory service from Crystal Enterprise
         rptAppFactory = (IReportAppFactory)enterpriseSession.getService("RASReportFactory");
         String parentFolderQuery = "SELECT * FROM CI_INFOOBJECTS WHERE " +
         "SI_PARENT_FOLDER=0 and SI_PROGID='CrystalEnterprise.Folder' and " +
         "SI_NAME= '"+reportFolder +"' ORDER BY SI_NAME";
         IInfoObjects parentFolderInfoObjects = infoStore.query(parentFolderQuery);
         reportFolderSI_ID = ((IInfoObject)parentFolderInfoObjects.get(0)).getID();
         // Retrieve the report by name and its reportFolder from Crystal Enterprise
         oInfoObjects = infoStore.query("Select * From CI_INFOOBJECTS Where SI_NAME='"+reportFolder+"' AND SI_PARENT_FOLDER="+reportFolderSI_ID);
         oInfoObjects = infoStore.query("Select * From CI_INFOOBJECTS Where SI_NAME='"+reportName+"' AND SI_PARENT_FOLDER='"+((IInfoObject)oInfoObjects.get(0)).getID()+"'");
         IInfoObject infoObject = (IInfoObject)oInfoObjects.get(0);
         //Open the report into a Report Document object
         ReportClientDocument rptDoc = rptAppFactory.openDocument(infoObject,0, Locale.ENGLISH);
         //Refresh tables
         IConnectionInfo connectionInfo;
         util.setJdbc_url(ap.getParameterString("URL"));
         util.setJdbc_driver(ap.getParameterString("driver"));
         util.setJdbc_user(ap.getParameterString("user"));
         util.setJdbc_pwd(ap.getParameterString("password"));
         util.setJdbc_database(ap.getParameterString("database"));
         connectionInfo = util.getJdbcConnectionInfo(util.getJdbcPropertyBag());
         int replaceParams = DBOptions._ignoreCurrentTableQualifiers + DBOptions._doNotVerifyDB;
         ConnectionInfos connectionInfos = rptDoc.getDatabaseController().getConnectionInfos(null);
         for (ConnectionInfo oldConnectionInfo:((Collection<ConnectionInfo>)connectionInfos))
              rptDoc.getDatabaseController().replaceConnection(oldConnectionInfo, connectionInfo, null, replaceParams);               
         //Get Params
         Fields mainRptParameterFields = rptDoc.getDataDefController().getDataDefinition().getParameterFields();
         String params = new String();
         for(Object parameterField : mainRptParameterFields){
              String paramName = ((ParameterField)parameterField).getName();
              if(parameterField != null)
                   if(((ParameterField)parameterField).getType() == FieldValueType.dateField)
                        rptDoc.getDataDefController().getParameterFieldController().setCurrentValue("", paramName,java.sql.Date.valueOf(paramVal));
                   else if (((ParameterField)parameterField).getType() == FieldValueType.dateTimeField){
                        //Stored Procs uses Datetime
                        java.util.Date datetime = (Date)reportDate_df.parse(paramVal);
                        rptDoc.getDataDefController().getParameterFieldController().setCurrentValue("",paramName, datetime);
                   else
                        rptDoc.getDataDefController().getParameterFieldController().setCurrentValue("", paramName, paramVal);
         ByteArrayInputStream aiStream = (ByteArrayInputStream)rptDoc.getPrintOutputController().export(ReportExportFormat.PDF);
         rptDoc.close();
    I ran this against BOXIR2 and BOXI3.1, BOXI3.1 will still throw error at
    ByteArrayInputStream aiStream = (ByteArrayInputStream)rptDoc.getPrintOutputController().export(ReportExportFormat.PDF);
    Another question, will CI_INFOOBJECTS table be created in the DB during installation of BOXI?

  • Getting Error- Desktop\WSDL1\main.wsdl The system cannot find the path spec

    Hai to every one !
    iam using wsdl file which is downloaded "wsdlzip" file from wsnavigator to my desktop.
    Extracted zip file .
    i used main.wsdl file as adaptive webservice model in webdynpro application.
    I developed application then iam not getting output ,  facing error like
    java.io.FileNotFoundException: Desktop\WSDL1\main.wsdl (The system cannot find the path specified)
    could any body help me on this.

    Hi Eswar,
           While importing WSDL using Adaptiver WS did you use the WS destinations. If yes, then did you create WS Destinations in the Visual Administrator?
    You need to provide the url of the webservice in WSDestinations in Visual Administrator. It should be the url of the webservice in which the webservice is deployed and not the desktop URL.
    the url will be like this
    Ex: http://host:50000/OrderRequestForEBasis/Config1?wsdl
    This url you can get by going to
    http://host:port/wsnavigator in which server your webservice is located.
    Thanks,
    Gopi

  • "The system cannot find the file specified" - error reading properties file

    I have packaged a class file and a .properties file in the same folder as a ejb-jar file and in the class file i try reading the properties file and it throws me the error - "The system cannot find the file specified". But when I put the complete path, it has no problem finding the file.
    I know that this must be the problem with classpath, but can anybody tell me why it is not finding the properties file even if they are in the same folder. How do I make class files find .properties file which are in a folder.
    Any help will be greatly appreciated.

    Hi,
    I am not sure if your question is realted to the Oracle Application Server - anyway, if you are packaging a class file and a properties file in a JAR File, you need to read the contents in a different manner...something like this... :
    URL url = new URL("jar:file:/home/duke/duke.jar!/");
    JarURLConnection jarConnection = (JarURLConnection)url.openConnection();
    You might want to have a look at this link for more information :
    http://java.sun.com/docs/books/tutorial/index.html
    You may also get better responses if you post your question in one of the Java Forums.
    Regards,
    Sandeep

  • The system cannot find the file specified error in ftp upload

    Hi,
    i am using filezilla ftp server and apache common ftp client and while uploading a file i am getting below error:
    code to call ftp client
    String local_file ="D:\\home2.JPEG";
    String remote_file ="\\abc";
    ApacheFTPClient apacheFTP = new ApacheFTPClient();
    String[] abc ={"-s", "127.0.0.1", "Manender", "Manender", remote_file, local_file};
    apacheFTP.main(abc);
    error log:
    220-FileZilla Server version 0.9.31 beta
    220-written by Tim Kosse ([email protected])
    220 Please visit http://sourceforge.net/projects/filezilla/
    Connected to 127.0.0.1.
    USER Manender
    331 Password required for manender
    PASS Manender
    230 Logged on
    SYST
    215 UNIX emulated by FileZilla
    Remote system is UNIX emulated by FileZilla
    java.io.FileNotFoundException: D:\home2.JPEG (The system cannot find the file specified)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(Unknown Source)
         at java.io.FileInputStream.<init>(Unknown Source)
         at com.po.ApacheFTPClient.main(ApacheFTPClient.java:152)
         at com.po.sample.main(sample.java:120)
    i have file in my d directory with same name.
    please help me in this.
    thanks in advace..

    i have file in my d directory with same name.Doesn't look like that? Are you sure that it isn't named e.g. home2.jpg?

  • The system cannot find the path specified.---- Error code:-2147467259 Error code name:failed

    Friends,
                I'm facing below issue while accessing a crystal report. I heard it might be an access issue. But i'm able to access a report within a same folder.
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException : The system cannot find the path specified.---- Error code:-2147467259 Error code name:failed
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    Any suggestions would be very helpful.
    Thanks in Advance,
    Bharath

    Apply trace on RAS and look for errors in the RAS logs at the same timestamp.
    These errors come for various errors and tracing RAS would give us a better idea.
    It might hapen that you observe these errors for reports which takes more than the RAS timeout to export the reports.
    Post getting the RAS logs you can try below steps if we see timeout errors in RAS logs.
    Copy clientSDKOptions.xml file from <BO install path>\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\java\lib to the machine where your app is running Open clientSDKOptions.xml and change CORBARequestTimeOut from 600000 to a value large enough to allow the report to render, for instance 1200000. Default value is 600000 (10 minutes)
    Specify the location of the clientSDKOptions.xml file at run-time. In your JSP or Java files, use the Java method setProperty from the System class. Set the system property indicated by the ras.config key to the specified directory as: system.setProperty("ras.config","c:\temp"). This function call specifies that the clientSDKOptions.xml file in c:\temp is to be used for locating RAS servers.
    Thanks,
    Prithvi

  • AnyConnect client and "The system cannot find the file specified" error

    Hello,
    I am trying  to connect to vpn via API (using example programs) and I get following error on start:
    Description:
    Function: RestoreProxySettingsToBrowser
    File: .\Proxy\BrowserProxy.cpp
    Line: 1025
    Invoked Function: DeleteFile
    Return Code: 2 (0x00000002)
    Description: The system cannot find the file specified.
    I cannot find any more informations and quick google search points me to anti-virus companies site. Do you know any idea what is happening here?
    Thanks,
    Nemanja

    Hi,
    I am not sure if your question is realted to the Oracle Application Server - anyway, if you are packaging a class file and a properties file in a JAR File, you need to read the contents in a different manner...something like this... :
    URL url = new URL("jar:file:/home/duke/duke.jar!/");
    JarURLConnection jarConnection = (JarURLConnection)url.openConnection();
    You might want to have a look at this link for more information :
    http://java.sun.com/docs/books/tutorial/index.html
    You may also get better responses if you post your question in one of the Java Forums.
    Regards,
    Sandeep

  • Startup error: ldaprealm.properties (The system cannot find the file specified)

    Hello,
    I'm starting WebLogic from JBuilder 3.5; before using the LDAP realm
    everything worked fine.
    After adding the following entry to the weblogic.properties file
    weblogic.security.realmClass=weblogic.security.ldaprealm.LDAPRealm
    the WLS states following error message:
    java.io.FileNotFoundException: ldaprealm.properties (The system cannot
    find the file specified)
    The ldaprealm.properties file is located in the WL_HOME dir (same location
    as weblogic.properties)
    I've start WLS with -Duser.dir=c:\weblogic, but it didn't affect my problem.
    When starting WLS with startWebLogic.cmd, everything works fine but no
    practicalbe for me,
    because I've to start in form JBuilder in order to enable remote debugging.
    Thanx for your help in advance,
    Michael

    http://www.bea.com/support/askbea/wls/S-06632.shtml
    ldaprealm.properties has to be in %WinDir%\System32 to be picked up by a WLS 5.1 server run as a service and LDAPRealm enabled.
    Still getting interesting LDAP errors, but the file is being picked up on startup.

  • Obfuscation error (The system cannot find the file specified)...

    Hii....friends
    I extracted proguard.jar file in C:\WTK2.5.2\bin\ directory
    I edited the following enteries in ktools.properties file as following....
    obfuscator.runner.class.name: com.sun.kvem.ktools.RunPro
    obfuscator.runner.classpath: C:\WTK2.5.2\bin\proguard.jar
    when I create Obfuscated package Error is occured.
    Error: C:\Documents (The system cannot find the file specified)
    Obfuscation failed.
    Build failed
    Please help this is very essential for me...my application is incompleted.

    I had the same problem)))
    My WTK:
    C:\Program Files\Java\SonyEricsson_SDK\WTK2My project:
    C:\Program Files\Java\SonyEricsson_SDK\WTK2\apps\myprojectMy error:
    Error: C:\Program (The system cannot find the file specified)
    Obfuscation failed.
    Build failedMy solution:
    1) Find and open ktoolbar.BAT
    2) Replace(Ctrl+H in notepad) all "Program Files" to "PROGRA~1"
    Edited by: k06a on Aug 24, 2009 12:16 AM

  • Error: ldaprealm.properties (The system cannot find the file specified)

    Hi,
    I'm getting the following error message when starting up WLS
    java.io.FileNotFoundException: ldaprealm.properties
    (The system cannot find the file specified)
    This seems to me as if ldaprealm.properties isn't in the
    proper place/dir.
    The docu tells me to put it to WL_HOME - and there
    it resides.
    I cannot start WLS with the startWebLogic.cmd file (which
    alway works fine), because I'm forced to do it via JBuilder.
    Maybe someone can tell me a property to change the
    startup dir (-Duser.dir=c:\weblogic doesn't work)
    thanx in advance,
    Michael

    http://www.bea.com/support/askbea/wls/S-06632.shtml
    ldaprealm.properties has to be in %WinDir%\System32 to be picked up by a WLS 5.1 server run as a service and LDAPRealm enabled.
    Still getting interesting LDAP errors, but the file is being picked up on startup.

Maybe you are looking for

  • Cocoa app design advice

    hello, as i'm studying cocoa i've created a test app and i'm looking for some advice/direction when it comes to design. this is what i've done so far: 1. placed a custom view on my main window linked to my custom subclass "dropview" of nsview 2. plac

  • Name of file in the header

    Hi, I would like to set automaticaly the name of the file in the header (or the foot) of a document without to write it but after i have save the document. Is it possible ? Thanks for your response. PB G4   Mac OS X (10.4.6)   Pages 2

  • Checkboxes in report to insert or update a value, doesn't do both

    I'm going crazy trying to solve this, hopefully someone can help me out. At the moment, I have a credit card table that will contain the information relating to a user-credit card pairing. Banks and such can submit credit cards to users, and the cred

  • How to configure Rman for Grid 11g

    hi all i am using Oracle Grid 11g R2. Oracle Database 11g R2. Oracle Linux 5.5 i want to configure Rman for my Rac i searched and found some notes such as http://oraclehack.blogspot.com/2010/07/oracle-11gr2-rman-netbackup-and-media.html http://oracle

  • What are the different "Setup tables" in OF?

    Hi all, what are the different "Setup tables" in OF? SOMASI