Not Able to run Report 10g through Web Layout Option

I have installed Oracle Developer 10g on my Laptop, I am able to run form, Report(In paper layout) successfully but when I try to run Report in Web Layout Mode, I am getting following error, Is there any setting is missing, could you provide some hint that would help me in resolving my issue.
Thanks
Kamlesh
500 Internal Server Error
OracleJSP: oracle.jsp.provider.JspCompileException:
Errors compiling:C:\Documents and Settings\kamlesh\Local Settings\Temp\docroot\3000\default\defaultWebApp\persistence\_pages\\_MODULE1001201432.java
javac: invalid flag: Files\Java\j2re1.4.2_01\lib\ext\QTJava.zip;;C:\Dev10g\j2ee\home\lib/ejb.jar;C:\Dev10g\j2ee\home\lib/servlet.jar;C:\Dev10g\j2ee\home\lib/ojsp.jar;C:\Dev10g\j2ee\home\lib/jndi.jar;C:\Dev10g\j2ee\home\lib/jdbc.jar;C:\Dev10g\j2ee\home\iiop.jar;C:\Dev10g\j2ee\home\iiop_gen_bin.jar;C:\Dev10g\j2ee\home\lib/jms.jar;C:\Dev10g\j2ee\home\lib/jta.jar;C:\Dev10g\j2ee\home\lib/jmxri.jar;C:\Dev10g\j2ee\home\lib/javax77.jar;C:\Dev10g\j2ee\home\lib/javax88.jar;C:\Dev10g\j2ee\home\../../opmn/lib/ons.jar;C:\Dev10g\j2ee\home\../../opmn/lib/optic.jar;C:\Dev10g\j2ee\home\../../lib/dms.jar;C:\Dev10g\j2ee\home\../../dms/lib/dms.jar;C:\Dev10g\j2ee\home\../../diagnostics/lib/ojdl.jar;C:\Dev10g\j2ee\home\../../dms/diagnostics/lib/ojdl.jar;C:\Dev10g\j2ee\home\lib/connector.jar;C:\Dev10g\j2ee\home\lib/bcel.jar;C:\Dev10g\j2ee\home\lib/cos.jar;C:\Dev10g\j2ee\home\lib/jsse.jar;C:\Dev10g\j2ee\home\../../oracle/lib/jsse.jar;C:\Dev10g\j2ee\home\lib/jnet.jar;C:\Dev10g\j2ee\home\lib/jcert.jar;C:\Dev10g\j2ee\home\lib/activation.jar;C:\Dev10g\j2ee\home\lib/mail.jar;C:\Dev10g\j2ee\home\../../javavm/lib/jasper.zip;C:\Dev10g\j2ee\home\../../lib/xmlparserv2.jar;C:\Dev10g\j2ee\home\../../oracle/lib/xmlparserv2.jar;C:\Dev10g\j2ee\home\../../jlib/orai18n.jar;C:\Dev10g\j2ee\home\../../oracle/jlib/orai18n.jar;C:\Dev10g\j2ee\home\lib/jaxp.jar;C:\Dev10g\j2ee\home\lib/jaas.jar;C:\Dev10g\j2ee\home\jazn.jar;C:\Dev10g\j2ee\home\../../jdbc/lib/classes12dms.jar;C:\Dev10g\j2ee\home\../../oracle/jdbc/lib/classes12dms.jar;C:\Dev10g\j2ee\home\../../jdbc/lib/nls_charset12.jar;C:\Dev10g\j2ee\home\../../oracle/jdbc/lib/nls_charset12.jar;C:\Dev10g\j2ee\home\jaxb-rt-1.0-ea.jar;C:\Dev10g\j2ee\home\../../soap/lib/soap.jar;C:\Dev10g\j2ee\home\../../webservices/lib/wsserver.jar;C:\Dev10g\j2ee\home\../../webservices/lib/wsdl.jar;C:\Dev10g\j2ee\home\../../rdbms/jlib/aqapi.jar;C:\Dev10g\j2ee\home\lib/jem.jar;C:\Dev10g\j2ee\home\../../javacache/lib/cache.jar;C:\Dev10g\j2ee\home\lib/http_client.jar;C:\Dev10g\j2ee\home\../../jlib/jssl-1_1.jar;C:\Dev10g\j2ee\home\../../oracle/jlib/jssl-1_1.jar;C:\Dev10g\j2ee\home\../../jlib/repository.jar;C:\Dev10g\j2ee\home\../../oracle/jlib/repository.jar;C:\Dev10g\j2ee\home\lib/jaasmodules.jar;C:\Dev10g\j2ee\home\../../sqlj/lib/runtime12ee.jar;C:\Dev10g\j2ee\home\../../sqlj/lib/translator.jar;C:\Dev10g\j2ee\home\lib/crimson.jar;C:\Dev10g\j2ee\home\../../jlib/ojpcs.jar;C:\Dev10g\j2ee\home\../../oracle/jlib/ojpcs.jar;C:\Dev10g\j2ee\home\../../jlib/ojpcp.jar;C:\Dev10g\j2ee\home\../../oracle/jlib/ojpcp.jar;C:\Dev10g\j2ee\home\../../jlib/ojpse.jar;C:\Dev10g\j2ee\home\../../oracle/jlib/ojpse.jar;C:\Dev10g\j2ee\home\../../jlib/ojpsmime.jar;C:\Dev10g\j2ee\home\../../oracle/jlib/ojpsmime.jar;C:\Dev10g\j2ee\home\../../jlib/ojpcms.jar;C:\Dev10g\j2ee\home\../../oracle/jlib/ojpcms.jar;;;C:\Documents and Settings\kamlesh\Local Settings\Temp\docroot\WEB-INF\lib\reports_tld.jar;C:\Documents and Settings\kamlesh\Local Settings\Temp\docroot\WEB-INF\classes;C:\Documents and Settings\kamlesh\Local Settings\Temp\docroot\WEB-INF\lib\reports_tld.jar;.
Usage: javac
where possible options include:
-g Generate all debugging info
-g:none Generate no debugging info
-g:{lines,vars,source} Generate only some debugging info
-nowarn Generate no warnings
-verbose Output messages about what the compiler is doing
-deprecation Output source locations where deprecated APIs are used
-classpath Specify where to find user class files
-sourcepath Specify where to find input source files
-bootclasspath Override location of bootstrap class files
-extdirs Override location of installed extensions
-d Specify where to place generated class files
-encoding Specify character encoding used by source files
-source Provide source compatibility with specified release
-target Generate class files for specific VM version
-help Print a synopsis of standard options

Hello,
The problem seems to be a space in the Classpath :
javac: invalid flag: Files\Java\j2re1.4.2_01
Files\Java\j2re1.4.2_01 seems to be the end of c:\Program Files\Java\j2re1.4.2_01 ..
Check REPORTS_CLASSPATH
regards

Similar Messages

  • Running reports 10g in web

    hi
    i am trying to run a report from the web
    i get the error 'UNABLE TO CONNECT TO REPORT SERVER XXX'
    in 6i on the console it works correctly
    i want to know if there is a different way to run a report in web 10g, is it necessary to run a report server, or i can like in 6i just configure the registry?
    thanks for any help

    Hello,
    Since 9.0.2, you have to start a reports server :
    On Windows rwserver server=repserver
    then use a URL like :
    http://server:port/reports/rwservlet?server=repserver&report=test&destype=cache&desformat=html
    Regards

  • Not able to run report in the background

    I'm working in SCM 5.0.
    I've created a function module to run report /SAPAPO/BACKGROUND_SCHEDULING in the background but when I execute it the report is prompted (i.e. is not running in the background). The function module code is the following
        if i_vrsioid is initial or i_tproid is initial or i_proprf is initial.
         submit /sapapo/background_scheduling
                   using selection-set i_variant
                with simname = i_simname
               exporting list to memory and return.
        else.
         submit /sapapo/background_scheduling
                   using selection-set i_variant
                with vrsioid  = i_vrsioid
                with tpro_id  = i_tproid
                with thelp_id = i_thelpid
              with proprf   = i_proprf
                with simname  = i_simname
            exporting list to memory and return.
        endif.
      endif.
    Can you help me understand what is wrong?
    Many thanks,
    Diego

    hi in fm you can not use Submit or call transaction..
    try this way...
    CALL FUNCTION 'JOB_OPEN'
      EXPORTING
        jobname          = job_name
      IMPORTING
        jobcount         = job_nr .
    IF sy-subrc <> 0.
    ENDIF.
    jobs-report = '/sapapo/background_scheduling'.   "report name
    jobs-variant = 'i_variant'.                                    "Variant name
    wa_authchknam       = sy-uname.
    wa_pri_params-pdest = 'MP18'.        "Print parameters, output device
    wa_pri_params-plist = jobs-variant.  "Print parameters, text for cover
    wa_pri_params-prtxt = jobs-variant.  "Print parameters, text for cover
    wa_pri_params-prnew = 'X'.      "Print parameters, new spool requ
    wa_pri_params-prsap = 'D'.           "Print: SAP cover page
    wa_pri_params-prunx = 'D'.           "Print: SAP cover page
    wa_pri_params-prabt = 'X'.      "Print parameters, new spool requ
    wa_pri_params-paart = 'X_65_132'.    "Print parameters, new spool requ
    wa_pri_params-armod = '1'.    "Print parameters, new spool requ
    CLEAR wa_pri_params.
    CALL FUNCTION 'JOB_SUBMIT'
      EXPORTING
        authcknam               = wa_authchknam
        jobcount                = job_nr
        jobname                 = job_name
        priparams               = wa_pri_params
        report                  = jobs-report
        variant                 = jobs-variant .
    IF sy-subrc <> 0.
    ENDIF.
    CALL FUNCTION 'JOB_CLOSE'
      EXPORTING
        jobcount             = job_nr
        jobname              = job_name
        strtimmed            = 'X' .
    IF sy-subrc <> 0.
    ENDIF.
    Regards,
    Prabhudas
    Edited by: Prabhu Das on May 19, 2009 11:50 PM
    Edited by: Prabhu Das on May 19, 2009 11:57 PM

  • Report 10g in Web Layout

    I've configured forms and reports server 10g. Forms are working fine. However report is not running in web layout. I'm getting the following error message in web browser.
    Reports Error Page
    Thu Jul 19 14:33:14 IST 2007
    javax.servlet.jsp.JspException: REP-50002: Server is shutting down
    Reports are running in Paper layout.
    Can anybody help me about this?

    Ok,
    first of all are you running your reports on the iAS or OC4J of iDS?
    second are you running on windows or linux or unix ...
    if running on iAS are you trying to run your report with the in-report server?
    If so create your own standalone report server and integrate it in your iAS console with the addNewTarget command
    Message indicates that your reports server is not running smoothly , can you access your ias admin console?

  • Error - Object variable or with block variable not set while running report

    Hi,
    I am trying to run BEx reports through portal.
    However I am not able to run any report. I am getting following error.
    "Run time error '91':
    Object variable or with block variable not set"
    This is not BEx installation or excel issue as I am not able to run reports using someone else's desktop also.
    Also I have authorization to those reports. So doesn't seem to be authorization issue.
    Please help me to resolve this problem.
    Thank you in advance.
    Regards,
    Deepti Jain.

    Hi Deepti,
    Can i knw how you solved this issue?
    Regards,
    Maili

  • Could not able to RUN Java Programs in JRE 1.5.08

    hi
    I am using Jdk 1.5.8.
    I don�t have any problem in compiling the files.
    but i could not able to run the program through windows cmd prompt.
    Say name of the java file is newFile (no packages).
    When i try to run the program by using java newFile it raises a ClassNotFoundException.
    it s the same case when try to set any JDBC drivers ..
    is there any problem in my class path settings? Please help me out to fix this problem

    if your current directory is not in the classpath,you should include it in the classpath.
    To do that you can include .(dot) to your classpath variable.
    http://java.sun.com/j2se/1.3/docs/tooldocs/win32/classpath.html

  • Not able to open Modal Page through a report attribute link

    Dear All,
         Not able to open Modal Page through a report attribute link, kindly help me...
      I am using skill builders modal page plugin ...
    Thanks and Regards,
    Madonna

    Here's what you have to do.
    You set up your column link like this:
    Link text: whatever you like
    Link attributes: onclick="return false;" class="open_modal"
    Target: Page in this application
    Page: number of the page you want to open in your modal window
    You set up your dynamic action like this:
    Event: Click
    Selection type: jQuery selector
    jQuery selector: .open_modal
    (notice the dot at the beginning!)
    Action: SkillBuilders Modal Page (2.0.0) [Plug-in]
    Event Scope: Dynamic
    And finally, in your True Action (SkillBuilders Modal Page (2.0.0)), URL Location should be set as Attribute of Triggering Element.
    And that's pretty much all it takes.
    Hope this helps.

  • Not able to run a report on BiPublisher version 10.1.3.4

    I am using Bipublisher version 10.1.3.4. i am not able to run the Report. I am calling this report using
    webservice from java code.I have added entry "Guest" in Guest Folder name also i have
    checked the checkbox AllowGuest acess in Admin->ServerConfiguration tab.
    i have xdo file in location /Guest/Test/InvoiceBatchReport/InvoiceBatchReport.xdo
    I am getting exception at line following line
    ReportResponse reportResp = (ReportResponse) call.invoke( new Object[] {report, "Administrator", "Administrator"} );
    following is the exception detail
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: oracle.apps.xdo.webservice.exception.OperationFailedException: PublicReportService::generateReport failed: due to unable to read
    ReportDataFile [Guest/Test/InvoiceBatchReport/InvoiceBatchReport.xdo]
    faultActor:
    faultNode:
    faultDetail:
    {}oracle.apps.xdo.webservice.exception.OperationFailedException:null
    {http://xml.apache.org/axis/}hostname:GTMDevWS
    oracle.apps.xdo.webservice.exception.OperationFailedException: PublicReportService::generateReport failed: due to
    unable to read ReportDataFile
    [Guest/Test/InvoiceBatchReport/InvoiceBatchReport.xdo]
    at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
    at
    org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
    at
    org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContex
    t.java:1087)
    can any body provide me the solution ?

    I missed to attach the source code.following is mine source code.
    public static void runReport() throws Exception {
              final String bipEndpoint = "http://localhost:9706/xmlpserver/services/PublicReportService?wsdl";
              final String bipNamespace = "http://xmlns.oracle.com/oxp/service/PublicReportService";
              final String xdofile = "/Guest/Test/InvoiceBatchReport/InvoiceBatchReport.xdo";
    // set up the call object
    Service service = new Service();
    Call call = (Call) service.createCall();
    call.setTargetEndpointAddress(new URL(bipEndpoint));
    // TEST Run Report
    System.out.println("TESTING runReport Service BEGIN");
    // register the ReportRequest class
    QName reportReq = new QName(bipNamespace, "ReportRequest");
    call.registerTypeMapping(ReportRequest.class, reportReq, BeanSerializerFactory.class, BeanDeserializerFactory.class);
    // register the ParamNameValue class
    QName nmvals = new QName(bipNamespace, "ParamNameValue");
    call.registerTypeMapping(ParamNameValue.class, nmvals, BeanSerializerFactory.class, BeanDeserializerFactory.class);
    // register the BIPReportResponse class
    QName reportRespqn = new QName(bipNamespace, "ReportResponse");
    call.registerTypeMapping(ReportResponse.class, reportRespqn, BeanSerializerFactory.class, BeanDeserializerFactory.class);
    // Default return type based on what we expect
    call.setOperationName( new QName(bipNamespace, "runReport" ));
    call.addParameter( "ReportRequest", reportReq, ParameterMode.IN );
    call.addParameter("admin", XMLType.XSD_STRING, ParameterMode.IN);
              call.addParameter("yuvraj79", XMLType.XSD_STRING, ParameterMode.IN);
    call.setReturnClass(ReportResponse.class);
    ParamNameValue[] paramNmVals = new ParamNameValue[2];
    paramNmVals[0] = new ParamNameValue(false, "dept", null) ;
    paramNmVals[1] = new ParamNameValue(false, "emp", new String[] {"*"}) ;
    ReportRequest report = new ReportRequest("pdf", "en-US", "Simple",false, null, "/Guest/Test/InvoiceBatchReport/InvoiceBatchReport.xdo",null, xdofile, -1);
    // issue the reques
    ReportResponse reportResp = (ReportResponse) call.invoke( new Object[] {report, "Administrator", "Administrator"} );
    System.out.println("Return ReportResponse: ContentType = " + reportResp.getReportContentType());
    // Save the report
    byte[] binaryBytes = reportResp.getReportBytes();
    OutputStream out = new FileOutputStream("D:\\temp\\out.pdf");
    out.write(binaryBytes);
    out.close();
    System.out.println("Success for Run Report");
    }

  • User not able to run a report.

    Report Server has encountered a SharePoint error. (rsSharePointError) Cannot open database "dbname" requested by the login. The login failed. Login failed for user . For more information about this error navigate to the report server on the local
    server machine, or enable remote errors

    Hi Kunal, here are a few links that might point you in the right direction:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/cca6cb99-c86d-4ba6-b6b9-81ec88771aa8/users-not-able-to-see-the-published-reports?forum=sqlreportingservices
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/c6c1414c-c338-4222-a5ca-a554d3ad912c/problem-getting-some-users-to-be-able-to-run-reports-probably-security-of-some-sort?forum=sqlreportingservices
    http://gj80blogtech.blogspot.com/2010/07/ssrs-error-report-server-has.html
    http://support.microsoft.com/default.aspx?scid=kb;EN-US;2597014
    cameron rautmann

  • Not able to run forms in WEB

    Hi
    I have installed OAS 4.0 and Developer 6.0 and configured OAS
    for deploying forms in WEB. Configuration went fine and services
    started. I have generated the HTML file for cartridge type
    implementation. When I invoke from the browser it starts the
    applet and after that gives an error
    "FRM-99999: A network error occurred, the client will not be able
    to continue".
    and stop executing. I have started the form server also.
    I'm using JInitiator version 1.1.5.3
    Can anybody help me to overcome this.
    Thanks,
    Santhosh.
    null

    Santhosh (guest) wrote:
    : Lev (guest) wrote:
    : : Santhosh (guest) wrote:
    : : : Hi
    : : : I have installed OAS 4.0 and Developer 6.0 and configured
    OAS
    : : : for deploying forms in WEB. Configuration went fine and
    : : services
    : : : started. I have generated the HTML file for cartridge type
    : : : implementation. When I invoke from the browser it starts
    the
    : : : applet and after that gives an error
    : : : "FRM-99999: A network error occurred, the client will not
    be
    : : able
    : : : to continue".
    : : : and stop executing. I have started the form server also.
    : : : I'm using JInitiator version 1.1.5.3
    : : : Can anybody help me to overcome this.
    : : : Thanks,
    : : : Santhosh.
    : : I was not able to run any cartridges with OAS 4.03 at all.
    : : OAS 4.07 and patching of Developer 6.0 (look at Oracle FTP
    : site)
    : : helped me.
    : Thanks for your time. Could you please tell me where can found
    : the Developer paches.
    Hi Santhosh!
    The place for the patches was rellocated recently. Now it is in:
    ftp://oracle-ftp.oracle.com/dev_tools/patchsets/dev2k/Win95NT/6.0
    /patch3/
    null

  • Not able to run Software Version report

    Last week, I ran a Software Version report for Microsoft Office, in order to remove older versions and prepare for the latest updates.
    After getting the report, I went back in and ran the following Unix script:
    rm -r '/applications/microsoft office x'
    as root to remove the directory.
    Now I am not able to run a Software Version report on Microsoft Word. I am able to run a report on any other application, including PowerPoint.
    When I attempt to run a version report on Word, it hangs up on one computer collecting report data. I have removed that computer from the list, but it still hangs. Eventually, all the computers are taken offline in ARD, and I have to restart ARD to restore the connections.
    I have restarted one of the computers, but still cannot run the report on Word.
    Administration computer:
    ARD 2.2 (7C31)
    15" 1 GHz PowerBook G4
    Mac OS X 10.4.6
    512 MB RAM
    Any suggestions?

    When all the clients go offline like that, it generally indicates that the ARDAgent.app on the admin machine has crashed. Did you get any crash logs in /Library/Logs/CrashReporter?
    Your statement "I ran the following Unix script: rm -r '/applications/microsoft office x'" is a bit unclear. You did a send UNIX command to the clients? I'd be surprised if that actually worked because the file system is case sensitive. In order for that to do what you wanted, it would have needed to read rm -r '/Applications/Microsoft Office X'. But regardless of whether or not it worked, it should not have affected your ability to run the report.
    Did you re-run the report with the "Generate new data" checkbox (I think that's what it reads) set?

  • Awrrpt  not able to run.

    Hi All,
    At present I'm not able to run AWR report and getting following message.but, i was able to run this report till last month.
    Using the report name awr.html
    select output from table(dbms_workload_repository.awr_report_html( :dbid,
    ERROR at line 1:
    ORA-00904: : invalid identifier

    gs wrote:
    Hi All,
    At present I'm not able to run AWR report and getting following message.but, i was able to run this report till last month.
    Using the report name awr.html
    select output from table(dbms_workload_repository.awr_report_html( :dbid,
    ERROR at line 1:
    ORA-00904: : invalid identifierWhat changed?
    Are you logged in as the correct schema? Could the schema have lost privileges?
    How are you running the AWR reports? If through the SQL*PLUS scripts do you have all the scripts in the same folder or directory? If not through the scripts have you tried them?

  • Not able to run validation using validation.xml & validator-rules.xml

    Hello Friends,
    I am not able to run validation using validation.xml & validator-rules.xml.
    Entire code in running prefectly but no error messages are prompted.
    Following is my code:
    File Name : struts-config.xml
    <struts-config>
    <!-- Form Beans Configuration -->
    <form-beans>
    <form-bean name="searchForm"
    type="com.solversa.SearchForm"/>
    </form-beans>
    <!-- Global Forwards Configuration -->
    <global-forwards>
    <forward name="search" path="/search.jsp"/>
    </global-forwards>
    <!-- Action Mappings Configuration -->
    <action-mappings>
    <action path="/search"
    type="com.solversa.SearchAction"
    name="searchForm"
    scope="request"
    validate="true"
    input="/search.jsp">
    </action>
    </action-mappings>
    <!-- Message Resources Configuration -->
    <message-resources
    parameter="ApplicationResources"/>
    <!-- Validator Configuration -->
    <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
    <set-property property="pathnames"
    value="/WEB-INF/validator-rules.xml,
    /WEB-INF/validation.xml"/>
    </plug-in>
    </struts-config>
    <br> File Name : <b> validation.xml </b>
    <form-validation>
    <formset>
    <form name="searchForm">
    <field property="name" depends="minlength">
    <arg key="label.search.name" position = "0"/>
    <arg1 name="minlength" key="${var:minlength}" resource="false"/>
    <var>
    <var-name>minlength</var-name>
    <var-value>5</var-value>
    </var>
    </field>
    <field property="ssNum" depends="mask">
    <arg0 key="label.search.ssNum"/>
    <var>
    <var-name>mask</var-name>
    <var-value>^\d{3}-\d{2}-\d{4}$</var-value>
    </var>
    </field>
    </form>
    </formset>
    </form-validation>
    <br> File Name : <b> SearchForm.java </b>
    package com.jamesholmes.minihr;
    import java.util.List;
    import org.apache.struts.validator.ValidatorForm;
    public class SearchForm extends ValidatorForm
    private String name = null;
    private String ssNum = null;
    private List results = null;
    public void setName(String name) {
    this.name = name;
    public String getName() {
    return name;
    public void setSsNum(String ssNum) {
    this.ssNum = ssNum;
    public String getSsNum() {
    return ssNum;
    public void setResults(List results) {
    this.results = results;
    public List getResults() {
    return results;
    <br> File Name : <b> SearchAction.java </b>
    package com.jamesholmes.minihr;
    import java.util.ArrayList;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import org.apache.struts.action.Action;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionForward;
    import org.apache.struts.action.ActionMapping;
    public final class SearchAction extends Action
    public ActionForward execute(ActionMapping mapping,
    ActionForm form,
    HttpServletRequest request,
    HttpServletResponse response)
    throws Exception
    EmployeeSearchService service = new EmployeeSearchService();
    ArrayList results;
    SearchForm searchForm = (SearchForm) form;
    // Perform employee search based on what criteria was entered.
    String name = searchForm.getName();
    if (name != null && name.trim().length() > 0) {
    results = service.searchByName(name);
    } else {
    results = service.searchBySsNum(searchForm.getSsNum().trim());
    // Place search results in SearchForm for access by JSP.
    searchForm.setResults(results);
    // Forward control to this Action's input page.
    return mapping.getInputForward();
    <br> File Name : <b> EmployeeSearchService.java </b>
    package com.jamesholmes.minihr;
    import java.util.ArrayList;
    public class EmployeeSearchService
    /* Hard-coded sample data. Normally this would come from a real data
    source such as a database. */
    private static Employee[] employees =
    new Employee("Bob Davidson", "123-45-6789"),
    new Employee("Mary Williams", "987-65-4321"),
    new Employee("Jim Smith", "111-11-1111"),
    new Employee("Beverly Harris", "222-22-2222"),
    new Employee("Thomas Frank", "333-33-3333"),
    new Employee("Jim Davidson", "444-44-4444")
    // Search for employees by name.
    public ArrayList searchByName(String name) {
    ArrayList resultList = new ArrayList();
    for (int i = 0; i < employees.length; i++) {
    if (employees.getName().toUpperCase().indexOf(name.toUpperCase()) != -1) {
    resultList.add(employees[i]);
    return resultList;
    // Search for employee by social security number.
    public ArrayList searchBySsNum(String ssNum) {
    ArrayList resultList = new ArrayList();
    for (int i = 0; i < employees.length; i++) {
    if (employees[i].getSsNum().equals(ssNum)) {
    resultList.add(employees[i]);
    return resultList;
    <br> File Name : <b> Employee.java </b>
    package com.solversa;
    public class Employee
         private String name;
         private String ssNum;
         public Employee(String name, String ssNum) {
         this.name = name;
         this.ssNum = ssNum;
         public void setName(String name) {
         this.name = name;
         public String getName() {
         return name;
         public void setSsNum(String ssNum) {
         this.ssNum = ssNum;
         public String getSsNum() {
         return ssNum;
    Pls help me out.
    Not able to prompt errors.

    Hello Friends,
    I am not able to run validation using
    validation.xml & validator-rules.xml.
    Entire code in running prefectly but no error
    messages are prompted.
    Following is my code:
    File Name : struts-config.xml
    <struts-config>
    <!-- Form Beans Configuration -->
    <form-beans>
    <form-bean name="searchForm"
    type="com.solversa.SearchForm"/>
    ans>
    <!-- Global Forwards Configuration -->
    <global-forwards>
    <forward name="search" path="/search.jsp"/>
    global-forwards>
    <!-- Action Mappings Configuration -->
    <action-mappings>
    <action path="/search"
    type="com.solversa.SearchAction"
    name="searchForm"
    scope="request"
    validate="true"
    input="/search.jsp">
    tion>
    </action-mappings>
    <!-- Message Resources Configuration -->
    <message-resources
    parameter="ApplicationResources"/>
    <!-- Validator Configuration -->
    <plug-in
    className="org.apache.struts.validator.ValidatorPlugI
    ">
    <set-property property="pathnames"
    value="/WEB-INF/validator-rules.xml,
    /WEB-INF/validation.xml"/>
    >
    </struts-config>
    <br> File Name : <b> validation.xml </b>
    <form-validation>
    <formset>
    <form name="searchForm">
    <field property="name" depends="minlength">
    <arg key="label.search.name" position = "0"/>
    <arg1 name="minlength" key="${var:minlength}"
    resource="false"/>
    <var>
    <var-name>minlength</var-name>
    <var-value>5</var-value>
    </var>
    </field>
    <field property="ssNum" depends="mask">
    <arg0 key="label.search.ssNum"/>
    <var>
    <var-name>mask</var-name>
    <var-value>^\d{3}-\d{2}-\d{4}$</var-value>
    </var>
    </field>
    /form>
    </formset>
    form-validation>
    <br> File Name : <b> SearchForm.java </b>
    package com.jamesholmes.minihr;
    import java.util.List;
    import org.apache.struts.validator.ValidatorForm;
    public class SearchForm extends ValidatorForm
    private String name = null;
    private String ssNum = null;
    private List results = null;
    public void setName(String name) {
    this.name = name;
    public String getName() {
    return name;
    public void setSsNum(String ssNum) {
    this.ssNum = ssNum;
    public String getSsNum() {
    return ssNum;
    public void setResults(List results) {
    this.results = results;
    public List getResults() {
    return results;
    <br> File Name : <b> SearchAction.java </b>
    package com.jamesholmes.minihr;
    import java.util.ArrayList;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import org.apache.struts.action.Action;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionForward;
    import org.apache.struts.action.ActionMapping;
    public final class SearchAction extends Action
    public ActionForward execute(ActionMapping
    mapping,
    ActionForm form,
    HttpServletRequest request,
    HttpServletResponse response)
    throws Exception
    EmployeeSearchService service = new
    EmployeeSearchService();
    ArrayList results;
    SearchForm searchForm = (SearchForm) form;
    // Perform employee search based on what criteria
    was entered.
    String name = searchForm.getName();
    if (name != null && name.trim().length() > 0) {
    results = service.searchByName(name);
    else {
    results =
    service.searchBySsNum(searchForm.getSsNum().trim());
    // Place search results in SearchForm for access
    by JSP.
    searchForm.setResults(results);
    // Forward control to this Action's input page.
    return mapping.getInputForward();
    <br> File Name : <b> EmployeeSearchService.java </b>
    package com.jamesholmes.minihr;
    import java.util.ArrayList;
    public class EmployeeSearchService
    /* Hard-coded sample data. Normally this would come
    from a real data
    source such as a database. */
    ivate static Employee[] employees =
    new Employee("Bob Davidson", "123-45-6789"),
    new Employee("Mary Williams", "987-65-4321"),
    new Employee("Jim Smith", "111-11-1111"),
    new Employee("Beverly Harris", "222-22-2222"),
    new Employee("Thomas Frank", "333-33-3333"),
    new Employee("Jim Davidson", "444-44-4444")
    // Search for employees by name.
    public ArrayList searchByName(String name) {
    ArrayList resultList = new ArrayList();
    for (int i = 0; i < employees.length; i++) {
    if
    (employees.getName().toUpperCase().indexOf(name.toU
    pperCase()) != -1) {
    resultList.add(employees[i]);
    return resultList;
    // Search for employee by social security number.
    public ArrayList searchBySsNum(String ssNum) {
    ArrayList resultList = new ArrayList();
    for (int i = 0; i < employees.length; i++) {
    if (employees[i].getSsNum().equals(ssNum)) {
    resultList.add(employees[i]);
    return resultList;
    <br> File Name : <b> Employee.java </b>
    package com.solversa;
    public class Employee
         private String name;
         private String ssNum;
         public Employee(String name, String ssNum) {
         this.name = name;
         this.ssNum = ssNum;
         public void setName(String name) {
         this.name = name;
         public String getName() {
         return name;
         public void setSsNum(String ssNum) {
         this.ssNum = ssNum;
         public String getSsNum() {
         return ssNum;
    Pls help me out.
    Not able to prompt errors.
    Hi,
    Your error message are not displaying because u does not made Message-Resoucrce property file (Resource Bundle) when you make it .
    give it entry in
    struts-config.xml
    <message-resources parameter="ApplicationResources" />
    and
    define key and corresponding error message to key in this ApplicationResources i.e
    #Error Resources
    label.search.ssNum=Plz Enter correct ssNum

  • Reports Server/running reports on the web.

    I am trying to configure my web server to run reports on the web. I have followed the instructions provided by Oracle, but some is not clear. When i try to run report on the browser, i get the following error:
    CGI Error
    The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:
    Oracle documentaion say the following about the steps to configure the web server:
    1-Start your Web server by entering the following:
    2-Start your browser.
    3-Create a listener.
    4-Configure your Web server mapping and note the physical and virtual directories. For example:
    I have done all the steps above except creating a listener. The documentation doesnt explain that step at all.
    I have created a cgi-bin directory and made it excetable and copied the rwcgi60.exe from reports server machine to the web server machine. I also copied the TNSNAMES entry for the web server from the reports server machine to the web server machine.
    Here is the command i use(just trying to make sure that web CGI is responding, but it doesnt work)
    http://web_server/scm/cgi-bin/rwcgi60.exe
    Other question: On the server machine, i have 3 oracle directories: ORA81, ISUITES, 806, which one should be the home directory for the reports to work on the web??
    I am using oracle 8.1.7 with 9iAS release 1.
    Thanks

    Please note that our CGI servlet is only used as a migration point for
    people with legacy CGI. It is not intended to support people with new
    development to -- we encourage you to use JSP and servlets.
    Thanks,
    Michael
    Savitha wrote:
    >
    Thanks Wei,
    Savitha
    "Wei Guan" <[email protected]> wrote in message
    news:8itate$332$[email protected]..
    Yes, WebLogic has CGIServlet to handle CGI, refer to document for details.
    Cheers - Wei
    Savitha <[email protected]> wrote in message
    news:8isq8i$ocn$[email protected]..
    Does Web logic Support CGI ?
    Need to connect the Web Server with the Oracle Reports Server running
    on
    a
    separate machine.
    Which is to be referred to as CGI_Virtual Directory?
    Thanks ,
    Savitha
    Thanks,
    Michael
    -- BEA WebLogic is hiring!
    Check our website: http://www.bea.com/

  • Not able to generate reports after 8.1.1.3 patch installation

    Hi All,
    We are not able to generate reports after 8.1.1.3 patch installtion.
    and we also followed workaround as below
    1) Import the sif files from Siebel\8.1\Tools_1\REPPATCH\12-1VMBCSV.zip
    2) Import the 4 SIF files in the following order:
    S_XMLP_REP_TMPL_02112010.sif
    SBL_XMLP_REPORT_SELECTION_FLG.sif
    Report Template BC.sif
    Report Template Registration Applet.sif
    3)Apply the DDL for table S_XMLP_REP_TMPL and compile repository
    Still not able to generate Reports.
    Below is error message
    Please ask your systems administrator to check your application configuration.
    ObjMgrMiscLog     Error     1     000000064e150fa0:0     2011-07-07 19:45:31     (busobj.cpp (1654)) SBL-DAT-00222: An error has occurred creating business component 'Report Template Position BC' used by business object 'Report Administration'.
    Please ask your systems administrator to check your application configuration.
    ObjMgrBusServiceLog     Error     1     000000064e150fa0:0     2011-07-07 19:45:31     (swemenusvc.cpp (406)) SBL-DAT-00222: An error has occurred creating business component '<?>' used by business object '<?>'.
    Please ask your systems administrator to check your application configuration.
    Thanks
    Sean

    Hi Rajan,
    Thankyou for for your reply.
    Reports were working fine and we are able to generate reports at configured views in 8.1.1.1 version.
    After installing 8.1.1.3 patch, if we click on reports icon below is the error message displayed.
    An error has occurred creating business component '<?>' used by business object '<?>'.
    Please ask your systems administrator to check your application configuration. (SBL-DAT-00222).
    - is it mandatory to configure security model?(in 8.1.1.1 we used default security model)?
    -is it necessary to import BIPDataService and BIPSiebelSecurityWS inbound Web Services?
    - I didn't see below views as mentioned in bookshelf.
    . Reports - Custom Templates
    . Reports - Standard Templates?
    Thanks
    Sean

Maybe you are looking for

  • Printing Tax values in the Purchase order

    Hi MM Gurus,     In the print out of Purchase order, I am getting the Total net value excluding tax while the requirement is PO should have the value including the tax. Tax setting is maintained and I am getting all the tax values properly in the P.O

  • Display SSAS Pivot Table by user permissions

    Is it possible to display different data from SSAS cube in excel pivot for each user (like having the username in custom data- no kerberoes)? How? Thanks I meant without having sharepoint/performancepoint Namnami

  • Syntax error in GP_ERR_RSAPTD1 row 27 encountered

    Hi I encountered this error 'Syntax error in GP_ERR_RSAPTD1, row 27 ' when I was trying to create an InfoPackage which I intend to run the initialise with data transfer.  The diagnosis message doesnt really give a clue saying 'Field "/BIC/CCZDM_PAR00

  • Strange folder icon

    When I looked in my template folder I saw this one for "Stylize" effects. Can someone explain this little minus sign or is it simply as it should be ?

  • Deleting pics in mobile me gallery deletes image in project

    I dont believe it, i just came across ANOTHER aperture 3 bug: i had some images imported in my importing project i made a mobile me gallery out of it. in the library on the left, i selected the mobile me gallery to delete some pictures from this gall