How to handle spaces when calling javaw.exe or java.exe

Hi guys, I'm in the process of releasing my application.
My application need to make this system call on Windows.
C:\Program Files\MySoftware\javaw.exe -jar C:\Program Files\MySoftware\myJar.jar C:\Program Files\MyDocs\MyArgumentFile
this 'Program Files' for after the javaw.exe call: C:\Program Files\MySoftware\myJar.jar causes a problem because javaw.exe consider C:\Program as it's first argument and thus crash.
I wonder what to do with this. I don't want to change it to C:\MySoftware since it looks unprofessional.
A cup of Java, cheers

yawmark wrote:
I wonder what to do with this.Quotation marks.
~Right, every shell I can think of allows you to use quotation marks around a set of any characters that you want to be treated as one token. Note that this feature is a function of the shell you're using, not necessarily the system API. Also, many shells treat single quotes and double quotes differently, though they usually both accomplish the purpose of grouping what they contain into a single token.

Similar Messages

  • Oracle.exe and java.exe are running my CPU 100% under XP Prof SP3

    11gR1
    oracle.exe and java.exe are running 100% CPU
    I have increased virtual memory to 4 gig
    I have defragmented the drive.
    I checked the drive for errors.
    I am searching the whole drive for viruses
    I do not have the problem with Redhat Fedora 12 running 11gR1
    I have 1 gig of RAM but cannot install release 2 because the installer expects
    1 gig + 1

    ooops!!! left that off...sorry
    XP Prof SP3 32 bit..*.no problem with Redhat Fedora 12 running MySQL and 11gR1*
    1 gig RAM Dell precision W/S 1.5 Gig rate 74 GiG SCSI HD 15000 RPM
    Don't pass out but I am also running MySQL server 5.1.41 and MS SQL Server Express 2008.
    Lucky it didn't catch fire
    I installed XP prof months ago but this CPU domination occurred only starting last night!
    However slow everything works in 11gR1
    sqlplus myname/password and then select rows from table
    sqldeveloper
    PHP web sites
    I've had plenty of trouble with Java running slow and hogging memory!
    Edited by: landonmkelsey on May 2, 2010 12:21 PM
    Edited by: landonmkelsey on May 2, 2010 12:24 PM
    Let me guess...stop services for MySQL and MS SQL Server and see what happens!
    Edited by: landonmkelsey on May 2, 2010 12:26 PM

  • How to handle Forecasting when modeling in BW?

    Hello Experts,
    can you give me hints on how to handle forecasting during modeling?
    Do you create a whole new Cube to load actual fugures and another for the forecasted figures? Or, there is another way. This pertains to HR environment. Any samples any where to read on?
    Thanks.

    Hi,
    I am new to BPS. Trying to implement forecasting. Can u let me know how i should implement the forecast planning function when using a single cube scenario.
    can u give me a small example to make it clearer or point me to an example link where they actually tell you how to implement the function.
    I am having a lot of difficulty expressing the exact issue, but i'll still try explaining. How can i in the forecasting function use several data columns in the layout as reference data columns and copy the result of the forecast to new data columns in the same layout. I have defined each data column as a key figure in the cube.
    I am really having a lot of problem. If u have some contact number please let me know so that i can call you from my office now.
    Regards,
    Really Desparate for Help.
    Regards,
    Salman

  • How to handle event when the user closing the browser (Urgent Please)

    Hi,
    How to handle the event when user closes the browser....
    i want to display some alter message when user trying to close the browser...
    Please can any one help me how i have to do this...........
    Thanks.

    Finally got this working. You cannot use the stop() or destroy methods. By the time they are called all database connections are gone and you will get a null pointer exception.
    You will have to use the onBeforeUnload method in the html file that calls the applet and use JavaScript to call the save method in java which saves the document:
    <SCRIPT LANGUAGE="JScript" TYPE="text/javascript">
    function Save()
    //i call the applets doSave() method from here in which i save all
    //changes to the database
    top.Tree.document.TestApplet.doSave();
    //this will invoke the default IE message for closing the window
    //when user clicks on the x in the browser
    message = "Your document has been saved."
    return message;
    window.onbeforeunload=Save;
    </SCRIPT>
    //the applets doSave()
    public void doSave()
    //this frame provides user with the message that document is being
    //saved
    final JFrame frame = new JFrame("Saving");
    JPanel contentPane = new JPanel();
    JLabel label = new JLabel(" Please wait, saving document...");
    frame.getContentPane().add(label,BorderLayout.CENTER);
    frame.setSize(250, 100);
    frame.setLocation(300, 400);
    frame.setResizable(false);
    frame.setVisible(true);
    frame.addWindowListener(new WindowAdapter()
    //the frame is just for user's information, so prevent user from
    //closing it or iconifying it.
    public void windowClosing(WindowEvent e)
    frame.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
    public void windowIconified(WindowEvent e)
    frame.setState(frame.NORMAL);
    //call my saveDocument() method that saves everything to the database.
    editorModule.saveDocument();
    //System.out.println("finished calling saving document");
    //once the saving is done the frame with the message disappears
    frame.setVisible(false);
    //System.out.println("setting frame to false");
    //I also had an exit button in my applet, that would perform the same task, however now with the above onBeforeUnload method, the exit message would appear twice, so had to modify my exit button action performed, so that if the exitbutton was clicked the onbeforeunload method would get passed a null value and not do anything.
    private void exitButton_actionPerformed()
    if (DEBUG) System.out.println("Calling exit");
    doSave();
    window.eval("this.onbeforeunload=null;");
    window.eval("top.close();");
    //continue from here if user cancels the closing of the window
    window.eval("this.onbeforeunload=doSave;");
    window.eval("top.focus()");
    window.eval("document.TestApplet.requestFocus()");
    homePanel.requestFocus();
    }

  • How to handle spaces in Sender File

    I have sender file and it is reading wrongly as it is not reading spaces. It is fixed file lengthe with no seperator.
    Following r the parameters I am using but still it is not picking up spaces.
    ignoreRecordsetName                                 true
    Record.fieldSeparator                                   nl
    Record.endSeparator                                    nl
    Record.additionalLastFields                        ignore
    Record.missingLastfields                            ignore
    Record.fieldContentFormatting                    nothing
    Record.fixedLengthTooShortHandling           ignore
    Record.fieldFixedLengths                           15,25,9,1,15,20,15,1,3,15,1,3,9,50,100,50,100,100,15
    Record.fieldNames                                      15,25,9,1,15,20,15,1,3,15,1,3,9,50,100,50,100,100,15
    Record.keepIncompleteFields                           YES
    My file format looks like as follows....there r 2 recods and u see psaces after each line they r part of particular field. Please help how to handle this..
    GLPRMS         Other                    20-MAR-09A               30800845237527018000000000000000000.000000000000011241.34020-MAR-09260IN0103-616714                                                                                260IN0103-616714                                                                                REFR1 - 000000 / REFR2 - 000000 / REFR3 - SUMRY           / TRANSFERS FROM
    GLPRMS         Other                    20-MAR-09A               30800845237527018000000000000000000.000000000000000305.60020-MAR-09260IN0103-616714                                                                                260IN0103-616714                                                                                REFR1 - 000000 / REFR2 - 549944 / REFR3 - 7691            / TRANSFERS FROM
    Thanks in advance
    Ria
    Edited by: ria sen on Mar 25, 2009 4:00 AM

    Hi Ria,
    Use the parameter Record.fieldContentFormatting = nothing
    If you dont specify this parameter trim is taken as a default value hence you are not gettign the spaces.
    This parameter should help you .
    Regards,
    Rajesh

  • How to close statement when calling in chain sequence

    Hi all,
    just have a look on below code:
    java.sql.connection con =null;
    //here getting connection
    ResultSet rs= con.createStatement().executeQuery("sql");
    its similer to chaining pattern. here I am having question,
    with the line:
    con.createStatement()
    I am creating the statement and later using this object (which is implicit object as i m not having any futher reference of it, is it correct word which i used) i am executing query and getting result set object.
    here statement object is implicit object.
    is I need to close this object? As per me its too required and i can retrived statement object with the help of resultset object and can use close method.
    but what does the java best pratice say? how they handle objects which are created in chain calling.
    for example
    //this.getPatternCode().getProperty().getName()
    thanks,
    Pax

    In short : stop doing this, it's a bad idea.
    You must always close all your resultsets, statements and connections._ Anyone who tells you anything different is wrong. End of story. Failure to properly close JDBC resources can lead to any number of problems including having your program crash and/or having the database crash.
    So stop doing that.
    There is only one correct practice and it is what is below.
    Create the connection and keep a reference to it.
    Create the statement (this can be a PreparedStatement or CallableStatement as well) using the connection and keep a reference to it (the statement).
    Create the result set using the statement.
    Process as needed.
    Close the resultset in a finally block.
    Close the statement in a finally block
    Close the connection in a finally block.

  • How to transfer username when calling web service from PI?

    Hi
    I have a scenario where a front end application is calling a web service exposed by PI 7.11 and PI is forwarding the call to the backend web service. That is, a SOAP sender adapter and a soap receiver adapter.
    Now, I would like to transfer the username, which the PI exposed web service is called with, to the backend web service.
    I previously did this by using a UDF where I picked up the username like this and mapped the username to a field in the request message when calling the backend web service:
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/SOAP", "SRemoteUser");
    String WSuser = conf.get(key);
    return WSuser;
    However, I would like to avoid this method and in stead e.g. use either a query string like http://xxxxx:6571/ISBWS/soap/ISBCore?username=mikael or maybe transfer the username in the http header in some way.
    So my question is: what are my options and how do I set it up?
    BR MIkael

    Apparenty sending user name details in query string  is not best practice in webservice. Thats why WSDL does not cover user credentials inside. Webservice deals with message level security , transport level security, encryption , certificate authentication , username token etc
    If you want to use http query string in the soap receiver target url try as below and see how that helps... somthing as below..
    example:  http://host:port/jsppage?userid=test  or use  xslt mapping or java mapping create soap header as you want and specify username over there.

  • VM crash when calling crystal report in java (Unix)

    We experience a serious problem when try to develop a crystal report application that run at Sun Solaris 9. Our program is to export pdf from crystal report. The program will always got VM crash when open the crystal report (but it's not 100% happened, it will always happen when we second time open the same report). I got no problem when run my program in the windows XP or another unix machine of Solaris 8. The report path is correct, but don't know why it will crash when open the report. May anyone help on it?
    Below see the system log:
    Jul  8 09:32:05 prospero genunix: [ID 269049 kern.notice] NOTICE: java[23499] at
    tempt to execute non-executable data at 0x0 by uid 65639
    Jul  8 09:33:04 prospero genunix: [ID 269049 kern.notice] NOTICE: java[23720] at
    tempt to execute non-executable data at 0x0 by uid 65639
    Jul  8 09:36:07 prospero genunix: [ID 269049 kern.notice] NOTICE: java[24335] at
    tempt to execute non-executable data at 0x0 by uid 65639
    Below see the java coding and the VM crash message:
    reportDocument = new ReportClientDocument();
    reportDocument.open(mSummaryReportName, 0); <=== always crash here
    String query = " SELECT BRCH_RPT_SUMM.NM_BRIEF_ACC, BRCH_RPT_SUMM.NM_PRAD, BRCH_RPT.DT_VAL_CURR, BRCH_RPT_SUMM.CD_ACC, BRCH_RPT_SUMM.NM_SHRT_ACC, BRCH_RPT_SUMM.IN_FUD_BRCH_WRN, BRCH_RPT_SUMM.CD_BTCH, BRCH_RPT_SUMM.ID_PRSN, BRCH_RPT_SUMM.CD_PRTR, BRCH_RPT_SUMM.IN_BRCH_SPRS " +
    "FROM COMPLIANCE.BRCH_RPT BRCH_RPT INNER JOIN COMPLIANCE.BRCH_RPT_SUMM BRCH_RPT_SUMM ON ((BRCH_RPT.CD_BTCH=BRCH_RPT_SUMM.CD_BTCH) AND (BRCH_RPT.ID_PRSN=BRCH_RPT_SUMM.ID_PRSN)) AND (BRCH_RPT.CD_PRTR=BRCH_RPT_SUMM.CD_PRTR) " +
    " WHERE BRCH_RPT_SUMM.IN_BRCH_SPRS='N' " +
    "AND BRCH_RPT.cd_btch = '" + mBtchCd + "' " +
    "and BRCH_RPT.cd_prtr = '" + mPrtrCd + "' " +
    " and BRCH_RPT.id_prsn = " + mPrsnId;
    Statement statement = mDb.getConnection().createStatement( ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);
    String tableAlias = reportDocument.getDatabaseController().getDatabase().getTables().getTable(0).getAlias();
    ResultSet resultSet = statement.executeQuery(query);
    reportDocument.getDatabaseController().setDataSource(resultSet, tableAlias , "resultsetTable");
    byteArrayInputStream = (ByteArrayInputStream)reportDocument.getPrintOutputController().export(ReportExportFormat.PDF);
    //Use the Java I/O libraries to write the exported content to the file system.
    byteArray = new bytehttp://byteArrayInputStream.available();
    //Create a new file that will contain the exported result.
    file = new File(mReportExportPath);
    fileOutputStream = new FileOutputStream(file);
    byteArrayOutputStream = new ByteArrayOutputStream(byteArrayInputStream.available());
    x = byteArrayInputStream.read(byteArray, 0, byteArrayInputStream.available());
    byteArrayOutputStream.write(byteArray, 0, x);
    byteArrayOutputStream.writeTo(fileOutputStream);
    statement.close();
    resultSet.close();
    byteArrayInputStream.close();
    byteArrayOutputStream.close();
    fileOutputStream.close();
    reportDocument.close();
    An unexpected error has been detected by HotSpot Virtual Machine:
    Internal Error (53484152454432554E54494D450E43505001A8 01), pid=28689, tid=1
    Java VM: Java HotSpot(TM) Server VM (1.5.0_13-b05 mixed mode)
    T H R E A D
    Current thread (0x000386f0): JavaThread "main" threadin_Java, id=1
    Stack: [0xffb7e000,0xffc00000), sp=0xffbfc690, free space=505k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    V http://libjvm.so+0x70c3c4
    V http://libjvm.so+0x4383b4
    V http://libjvm.so+0x2fbde0
    V http://libjvm.so+0x274bf4
    C http://libthread.so.1+0x15bb4
    C http://libthread.so.1+0xf80c
    C http://libthread.so.1+0xf9bc
    j java.util.HashMap.removeEntryForKey(Ljava/lang/Object;)Ljava/util/HashMap$Entry;+119
    j java.util.HashMap.remove(Ljava/lang/Object;)Ljava/lang/Object;+2
    j com.crystaldecisions.reports.reportdefinition.kv.a(Lcom/crystaldecisions/reports/queryengine/af;Lcom/crystaldecisions/reports/queryengine/af;Z)V+135
    j com.crystaldecisions.reports.reportdefinition.datainterface.g.a(Lcom/crystaldecisions/reports/queryengine/ch;Lcom/crystaldecisions/reports/queryengine/ch;ZZ)V+229
    j com.crystaldecisions.reports.reportdefinition.datainterface.g.a(Lcom/crystaldecisions/reports/queryengine/ch;Lcom/crystaldecisions/reports/queryengine/ch;ZZLcom/crystaldecisions/reports/queryengine/b/w;)V+235
    j com.crystaldecisions.reports.reportdefinition.datainterface.g.a(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;Lcom/crystaldecisions/reports/reportdefinition/datainterface/a;)V+682
    j com.crystaldecisions.reports.dataengine.bj.new()V+24
    j com.crystaldecisions.reports.common.as.a(Lcom/crystaldecisions/reports/common/af;)V+96
    j com.crystaldecisions.reports.common.ae.a(Lcom/crystaldecisions/reports/common/l;)V+20
    j com.businessobjects.reports.sdk.b.w.a(Lcom/crystaldecisions/reports/reportdefinition/bi;Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;)V+207
    j com.businessobjects.reports.sdk.b.w.int(Lcom/crystaldecisions/sdk/occa/report/lib/PropertyBag;Ljava/lang/String;)V+231
    j com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(IILjava/lang/String;Lcom/crystaldecisions/client/helper/ISecurityContext;Lcom/crystaldecisions/xml/serialization/IXMLSerializable;)Lcom/crystaldecisions/proxy/remoteagent/ResultInfo;+3326
    j com.crystaldecisions.proxy.remoteagent.x.a(Lcom/crystaldecisions/client/helper/ISecurityContext;Ljava/lang/String;IILcom/crystaldecisions/xml/serialization/IXMLSerializable;Lcom/crystaldecisions/proxy/remoteagent/j;)Lcom/crystaldecisions/proxy/remoteagent/ResultInfo;+70
    j com.crystaldecisions.proxy.remoteagent.q.a(IILcom/crystaldecisions/xml/serialization/IXMLSerializable;Lcom/crystaldecisions/proxy/remoteagent/j;)Lcom/crystaldecisions/proxy/remoteagent/ResultInfo;+83
    j com.crystaldecisions.sdk.occa.report.application.dd.a(IILcom/crystaldecisions/xml/serialization/IXMLSerializable;)Lcom/crystaldecisions/proxy/remoteagent/ResultInfo;+44
    j com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)V+284
    j com.crystaldecisions.sdk.occa.report.application.DatabaseController.setDataSource(Ljava/sql/ResultSet;Ljava/lang/String;Ljava/lang/String;)V+5
    j com.crystaldecisions.reports.sdk.DatabaseController.setDataSource(Ljava/sql/ResultSet;Ljava/lang/String;Ljava/lang/String;)V+7
    j com.jpmorgan.awm.jfam.ptc.reporting.AnalysisExporter.exportReport()V+157
    j com.jpmorgan.awm.jfam.ptc.reporting.EODReport.main([Ljava/lang/String;)V+744
    v ~StubRoutines::call_stub
    V http://libjvm.so+0x19b514
    V http://libjvm.so+0x2dd44c
    C java0x222c main0x1164

    According to the documentation for interpreting hotspot logs, the following can be determined from yours:
    "An unexpected error has been detected by HotSpot Virtual Machine:
    Internal Error (53484152454432554E54494D450E43505001A8 01), pid=28689, tid=1
    Java VM: Java HotSpot(TM) Server VM (1.5.0_13-b05 mixed mode)"
    When the HotSpot VM generates an internal error it is referring to a line of code in your application.  The hexidecimal string is encoding the source module and line number where the error occurs.
    "Current thread (0x000386f0): JavaThread "main" threadin_Java, id=1"
    Essentially means that the JavaThread is running interpreted or compiled code when the error occurs.
    The rest of the hotspot identifies what the thread has done up to this point.... even though to you it appears that it fails on the open method, it looks like it is actually failing after the setDataSource method call.
    I would suggest that you look at other logs, ie: application server logs, Solaris message logs, database logs to see if you can identify where things actually fall apart.  The first place to start would be the database connectivity because it appears that is the last thing that gets generated in the log file.

  • Problem when calling a report from java

    Hi all,
    i have created a report using ireport which contains arabic data.
    when i execute the report from ireport to generate a pdf file it works.
    however when i call this report from java i have an exception"
    Could not create the report Could not load the following font :
    pdfFontName : ARIAL.TTF
    pdfEncoding : Identity-H"
    the pdfFont i used it in ireport, also the pdfEncoding.
    did anyone passed with the same problem
    thanks for help

    Hello Oracle experts,
    The parameters are getting passed successfully in my report.
    But I want to know hous to use it in my query group.
    I just want the syntax.
    Thanks

  • VM crash when calling crystal report in java

    =======
    REPOST
    =======
    We experience a serious problem when try to develop a crystal report application that run at Sun Solaris 10. Our program is to export pdf from crystal report. The program will always got VM crash when open the crystal report or export the crystal report (but it's not 100% happened, it will always happen when we second time open the same report). I got no problem when run my program in the windows XP. May anyone help on it?
    Below see the coding and the VM crash message:
    reportDocument = new ReportClientDocument();
    reportDocument.open(mSummaryReportName, 0);
    String query = " SELECT BRCH_RPT_SUMM.NM_BRIEF_ACC, BRCH_RPT_SUMM.NM_PRAD, BRCH_RPT.DT_VAL_CURR, BRCH_RPT_SUMM.CD_ACC, BRCH_RPT_SUMM.NM_SHRT_ACC, BRCH_RPT_SUMM.IN_FUD_BRCH_WRN, BRCH_RPT_SUMM.CD_BTCH, BRCH_RPT_SUMM.ID_PRSN, BRCH_RPT_SUMM.CD_PRTR, BRCH_RPT_SUMM.IN_BRCH_SPRS " +
    "FROM COMPLIANCE.BRCH_RPT BRCH_RPT INNER JOIN COMPLIANCE.BRCH_RPT_SUMM BRCH_RPT_SUMM ON ((BRCH_RPT.CD_BTCH=BRCH_RPT_SUMM.CD_BTCH) AND (BRCH_RPT.ID_PRSN=BRCH_RPT_SUMM.ID_PRSN)) AND (BRCH_RPT.CD_PRTR=BRCH_RPT_SUMM.CD_PRTR) " +
    " WHERE BRCH_RPT_SUMM.IN_BRCH_SPRS='N' " +
    "AND BRCH_RPT.cd_btch = '" + mBtchCd + "' " +
    "and BRCH_RPT.cd_prtr = '" + mPrtrCd + "' " +
    " and BRCH_RPT.id_prsn = " + mPrsnId;
    Statement statement = mDb.getConnection().createStatement( ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);
    String tableAlias = reportDocument.getDatabaseController().getDatabase().getTables().getTable(0).getAlias();
    ResultSet resultSet = statement.executeQuery(query);
    reportDocument.getDatabaseController().setDataSource(resultSet, tableAlias , "resultsetTable");
    byteArrayInputStream = (ByteArrayInputStream)reportDocument.getPrintOutputController().export(ReportExportFormat.PDF);
    //Use the Java I/O libraries to write the exported content to the file system.
    byteArray = new bytehttp://byteArrayInputStream.available();
    //Create a new file that will contain the exported result.
    file = new File(mReportExportPath);
    fileOutputStream = new FileOutputStream(file);
    byteArrayOutputStream = new ByteArrayOutputStream(byteArrayInputStream.available());
    x = byteArrayInputStream.read(byteArray, 0, byteArrayInputStream.available());
    byteArrayOutputStream.write(byteArray, 0, x);
    byteArrayOutputStream.writeTo(fileOutputStream);
    statement.close();
    resultSet.close();
    byteArrayInputStream.close();
    byteArrayOutputStream.close();
    fileOutputStream.close();
    reportDocument.close();
    An unexpected error has been detected by HotSpot Virtual Machine:
    Internal Error (53484152454432554E54494D450E43505001A8 01), pid=28689, tid=1
    Java VM: Java HotSpot(TM) Server VM (1.5.0_13-b05 mixed mode)
    T H R E A D
    Current thread (0x000386f0): JavaThread "main" threadin_Java, id=1
    Stack: [0xffb7e000,0xffc00000), sp=0xffbfc690, free space=505k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    V http://libjvm.so+0x70c3c4
    V http://libjvm.so+0x4383b4
    V http://libjvm.so+0x2fbde0
    V http://libjvm.so+0x274bf4
    C http://libthread.so.1+0x15bb4
    C http://libthread.so.1+0xf80c
    C http://libthread.so.1+0xf9bc
    j java.util.HashMap.removeEntryForKey(Ljava/lang/Object;)Ljava/util/HashMap$Entry;+119
    j java.util.HashMap.remove(Ljava/lang/Object;)Ljava/lang/Object;+2
    j com.crystaldecisions.reports.reportdefinition.kv.a(Lcom/crystaldecisions/reports/queryengine/af;Lcom/crystaldecisions/reports/queryengine/af;Z)V+135
    j com.crystaldecisions.reports.reportdefinition.datainterface.g.a(Lcom/crystaldecisions/reports/queryengine/ch;Lcom/crystaldecisions/reports/queryengine/ch;ZZ)V+229
    j com.crystaldecisions.reports.reportdefinition.datainterface.g.a(Lcom/crystaldecisions/reports/queryengine/ch;Lcom/crystaldecisions/reports/queryengine/ch;ZZLcom/crystaldecisions/reports/queryengine/b/w;)V+235
    j com.crystaldecisions.reports.reportdefinition.datainterface.g.a(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;Lcom/crystaldecisions/reports/reportdefinition/datainterface/a;)V+682
    j com.crystaldecisions.reports.dataengine.bj.new()V+24
    j com.crystaldecisions.reports.common.as.a(Lcom/crystaldecisions/reports/common/af;)V+96
    j com.crystaldecisions.reports.common.ae.a(Lcom/crystaldecisions/reports/common/l;)V+20
    j com.businessobjects.reports.sdk.b.w.a(Lcom/crystaldecisions/reports/reportdefinition/bi;Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;)V+207
    j com.businessobjects.reports.sdk.b.w.int(Lcom/crystaldecisions/sdk/occa/report/lib/PropertyBag;Ljava/lang/String;)V+231
    j com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(IILjava/lang/String;Lcom/crystaldecisions/client/helper/ISecurityContext;Lcom/crystaldecisions/xml/serialization/IXMLSerializable;)Lcom/crystaldecisions/proxy/remoteagent/ResultInfo;+3326
    j com.crystaldecisions.proxy.remoteagent.x.a(Lcom/crystaldecisions/client/helper/ISecurityContext;Ljava/lang/String;IILcom/crystaldecisions/xml/serialization/IXMLSerializable;Lcom/crystaldecisions/proxy/remoteagent/j;)Lcom/crystaldecisions/proxy/remoteagent/ResultInfo;+70
    j com.crystaldecisions.proxy.remoteagent.q.a(IILcom/crystaldecisions/xml/serialization/IXMLSerializable;Lcom/crystaldecisions/proxy/remoteagent/j;)Lcom/crystaldecisions/proxy/remoteagent/ResultInfo;+83
    j com.crystaldecisions.sdk.occa.report.application.dd.a(IILcom/crystaldecisions/xml/serialization/IXMLSerializable;)Lcom/crystaldecisions/proxy/remoteagent/ResultInfo;+44
    j com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)V+284
    j com.crystaldecisions.sdk.occa.report.application.DatabaseController.setDataSource(Ljava/sql/ResultSet;Ljava/lang/String;Ljava/lang/String;)V+5
    j com.crystaldecisions.reports.sdk.DatabaseController.setDataSource(Ljava/sql/ResultSet;Ljava/lang/String;Ljava/lang/String;)V+7
    j com.jpmorgan.awm.jfam.ptc.reporting.AnalysisExporter.exportReport()V+157
    j com.jpmorgan.awm.jfam.ptc.reporting.EODReport.main([Ljava/lang/String;)V+744
    v ~StubRoutines::call_stub
    V http://libjvm.so+0x19b514
    V http://libjvm.so+0x2dd44c
    C java0x222c main0x1164

    This is a problem of the VM itself. You will need to address the issue at SUN forums.

  • How to fill data when call function of sap standard script form?

    Hi every experts,
    <Priority Normalized>
    In our system, when we log in 'FR', we can print purchase order in language Franch,in t_code:ME22N.  And when logging in 'EN', we can print it in language English, in ME22N. The English form is just only translated from Franch, with all same structure and frame.  The form is done by script form.
    And when logging in 'ZH', we create a new program, calling function smartform, instead of translating from EN language. Because of different structure and frame, I don't know the way to write script, so  I print puchase order by smartform, when logging in 'ZH'.
    But I have a new issue. Our MM module consultant needs me to print Chinese form if one condition, print English form in other condition.
    So I have no idea to solve it. Because in my program, I get data to fill smartform and call function of smartform. And I don't know how to get data to fill script form. I only know the function name, 'OPEN_FORM' 'WRITE_FORM' 'CLOSE_FORM'.....
    If I only call the several functions, I will get only frame without no data. So who can tell me how to do????
    <Urgency downgraded>
    Edited by: Suhas Saha on Jul 26, 2011 3:34 PM
    Edited by: Vinod Kumar on Jul 26, 2011 4:09 PM

    Hi,
    Normally if we look in NACE transaction, you can see that upto five different FORMS can be assigned to a single output type . i.e. for each form there will be a seperate routine through which it gets called. But it all start from the first form only.
    so you need to write your code in the ENTRY of the first form and if it does not satisfy do not go for processing of it but just exit of that form ENTRY. so that it will take you to next form.
    hope this helps.
    Thanks,
    Venkatesh

  • How to handle space in incoming file during fcc

    Hi all,
    I have a scenario of file to proxy. In this case the incomming file is space delimited and it  begins with space too i.e. every new line item has a space in the begining I have to remove that space. How can i handle it...please help.
    The fcc I am using is mentioned below:
    Record.fieldSeparator      '0x32'
    Record.fieldNames           a,b,c,d
    Record.endSeparator       'nl'
    Record.additionalLastFields  ignore
    ignoreRecordsetName        true.
    Thanks
    Shivangi

    This is my input payload
    <?xml version="1.0" encoding="utf-8" ?>
    - <ns:BRItemPrice_MT xmlns:ns="urn:test">
    - <Record>
      <VendNum>888700 0611593 0046.0800 00000838081 00014</VendNum>
      <CCITEM>0033861</CCITEM>
      </Record>
    - <Record>
      <VendNum>888700 0611597 0048.0000 00000838084 00014</VendNum>
      <CCITEM>0033869</CCITEM>
      </Record>
    - <Record>
      <VendNum>888700 0611599 0046.0800 00000838085 00014</VendNum>
      <CCITEM>0033887</CCITEM>
      </Record>
    </nstest_MT>
    And the fcc iI'm using is as below:
    Record.fieldSeparator     '0x32'
    Record.fieldNames     VendNum,CCITEM,CCCOST,HSITM,UPC
    Record.beginSeparator     '0x32'
    Record.endSeparator     'nl'
    Record.additionalLastFields     ignore
    ignoreRecordsetName     true
    Please help.
    Thanks

  • How to bypass prompt when calling storeUserConfig() ?

    Hi,
    In WLST, is it possible to bypass/skip the prompt you get when you call storeUserConfig() ? You have to answer y or n to allow/disallow the creation of the user config and key files.
    Thomas Isaksen

    Thomas, I've not tried it myself, but a posting on this forum from a few years ago had an answer for WLS 9.1:
    Re: How to specify response with storeUserConfig in WLST ?
    -Dweblogic.management.confirmKeyfileCreation=true-steve-

  • How to output HTML when called from a browser

    We are trying to replace a small web app with a bpel app so it has to return HTML. I keep getting XML of the HTML as output from this simple app. It doesn't interpret the html. The bpel uses a simple assign that puts an HTML string into the "body" message then passes it to the "reply".
    I have found out how to call this from the browser by changing "orabpel" in the url to "httpbinding" and then adding the "operation" onto the endpoint.
    from: http://server:7777/orabpel/default/ws1/1.0
      to: http://server:7777/httpbinding/default/ws1/processIs it possible to output html back to the browser and have the bpel look like a web page? Setting the mimetype of the output message type to "text/html" seems to have no effect at all.
    Here is my wsdl:
    <?xml version="1.0"?>
    <definitions name="HTTPGetService"
                 targetNamespace="http://services.otn.com"
                 xmlns:tns="http://services.otn.com"
                 xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
                 xmlns="http://schemas.xmlsoap.org/wsdl/"
                 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                 xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
                 xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/">
        <message name="HTTPGetServiceRequestMessage">
            <part name="Region" type="xsd:string"/>
            <part name="EffectiveDate" type="xsd:string"/>
            <part name="EndDate" type="xsd:string"/>
            <part name="acc1" type="xsd:string"/>
            <part name="acc2" type="xsd:string"/>
        </message>
        <message name="HTTPGetServiceResponseMessage">
            <part name="body" type="xsd:string"/>
        </message>
        <!-- portType implemented by the HTTPGetService BPEL process -->
        <portType name="HTTPGetService">
            <operation name="process">
                <input message="tns:HTTPGetServiceRequestMessage"/>
                <output message="tns:HTTPGetServiceResponseMessage"/>
            </operation>
        </portType>
        <binding name="HTTPGet" type="tns:HTTPGetService">
            <http:binding verb="GET"/>
            <operation name="process">
                <http:operation location="/process"/>
                <input>
                    <http:urlEncoded/>
                </input>
                <output>
                    <http:urlEncoded/>
                    <mime:content type="text/html" part="body"/>
                </output>
            </operation>
        </binding>

    Hi,
    Open up admin console. Expand "Servers" node to view servers in domain.
    Right click on a server (or select Logging/ General tab) and select "view
    server log".
    Regards,
    Jon

  • How to handle spaces in string?

    Hi,
    I am trying to filter out servers and certain OS from my powershell line below but I am getting an error. I think it is because of the Mac OS X line with spaces?:
    The string is missing the terminator: '
    $AllADClientObjects=@(Get-ADComputer -Filter "operatingSystem -notlike '*server*'" -and "operatingSystem -notlike '*"'Mac OS X'*'" -ErrorAction SilentlyContinue)

    Try this:
    $AllADClientObjects = @(Get-ADComputer -Filter "operatingSystem -notlike '*server*' -and operatingSystem -notlike '*Mac OS X*'")
    You shouldn't need the -ErrorAction SilentlyContinue when using filter because if it doesn't find anything, it will not throw an error like if you used -Identity.
    Boe Prox
    Blog |
    Twitter
    PoshWSUS |
    PoshPAIG | PoshChat |
    PoshEventUI
    PowerShell Deep Dives Book

Maybe you are looking for