Package Run Validation not running properly

Hi experts,
My problem consists on CTRL_FLAG not getting the right value.
First of all, in my default.lgf CTRL is set to 1.
**SELECT ("%AUDITID_LIST%","[ID]","AUDITID","DATASRC_TYPE='I'")
// Initializing the CTRL_FLAG Account with default amount = 1 to prevent local data from being submitted prior to validation
*PUT(ACCOUNT=CTRL_FLAG,FLOW=F99,AUDITID=INPUT,INTERCO=I_NONE,CONSOSCOPE=LC,EXPRESSION=1)
*COMMIT
Then, in my Run Validation .lgf I have the following code:
*XDIM_MEMBERSET FLOW=F99,F00
*XDIM_MEMBERSET CONSOSCOPE=LC
**SELECT (%AUDITID_LIST%,[ID],AUDITID,"DATASRC_TYPE='I'")
*XDIM_MEMBERSET AUDITID=%AUDITID_LIST%
/// Runs validation stored procedure for the CONSOLIDATION application
*RUN_STORED_PROCEDURE = SPRUNVALID([%APP%],'%CATEGORY_SET%','LC','%SCOPETABLE%','%LOGTABLE%')
*COMMIT
**SELECT (%ACCOUNT_LIST%,[ID],ACCOUNT,"[GROUP]='CTRL'")
*XDIM_MEMBERSET ACCOUNT=%ACCOUNT_LIST%
*WHEN SIGNEDDATA
     *IS =0.0
          *REC(ACCOUNT=CTRL_FLAG,EXPRESSION=0.0)
     *ELSE
          *REC(ACCOUNT=CTRL_FLAG,EXPRESSION=1.0)
*ENDWHEN
In the end, those entities whose validations are OK, do not set CTRL_FLAG value to 0.
Regards

I checked out the Task Scheduler and both the Content Validation and Content Usage tasks were listed and enabled to run at 12:00 am.  I looked at Last Run Time and they were both set to "Never".  I don't see any errors and I was able
to run the task manually.  I've changed the run time to see if that makes any difference.

Similar Messages

  • Am running Firefox 7.0.1 now. Normal memory usage is 157mb but when running Facebook (not running apps nor games), it goes up to 553mb Why?

    Am running Firefox 7.0.1 now. Normal memory usage is 157mb but when running Facebook (not running apps nor games), it goes up to 553mb Why?

    I encountered the same type of problem. Firefox running terribly slowly and slowing down my entire machine (Core i5 with 256GB SSD). Searching the forums, I found a couple of things about troubleshooting performance issues, one of which was to use '''hardware acceleration''', that is on by default. It was turned on on my PC, '''so I tried deactivating it, and it worked!'''
    So doing the exact opposite as Mozilla support said solved the problem. It is really a pain now to work with Firefox. I'm using it because I have no choice, but I'd recommend IE and Chrome over Firefox... Whatever, the market will decide once Firefox has become to crappy...

  • ICal Server running but not Running

    I'm trying to get iCal server working. It looks as if it is running from within ServerAdmin but when I try to log in to iCal from Safari I keep getting the error Unable to Access calendar, because the calendar server is not running. Any help would be great.
    Brad

    Our Ical server have stop working after 10.5.8 update.
    Show these log:
    Jun 8 21:35:30 xserve01 com.apple.launchd[1] (org.calendarserver.calendarserver): Throttling respawn: Will start in 10 seconds

  • Using awt in Linux with XWindows running but not running in GUI

    I need to use the awt package from a console environment in Linux. I have the XWindows server running in the background but the main system and all my terminals are running in console mode, text only. We have to do this for other support reasons.When I try to use awt from the console it gives me a cannot locate server on 0:0. Is there any way to use the X server without starting in graphical mode to use the awt package? A bean that I am needing to use refers to it but I do not need to draw a window or anything like that. It is just a program that kicks off, creates a file, and then exits. No user interface. Thanks for any help. Let me know if you need anymore details.

    Starting from 1.4 AWT has Headless mode which allows to run applications which load AWT but doesn't use it for full extent. See http://java.sun.com/j2se/1.4.2/docs/guide/awt/AWTChanges.html#headless for details.

  • Struts validation not working properly

    Hi,
    I'm using the struts validator to validate my form.. I've followed all the steps required.. I've checked it quite a few times :)
    Currently I want to verify if my form fields have any value, so am verifying the required property.. but when I submit an empty form, it doesn't show an error.. but the log shows the following;
    Any suggestions what could be missing?
    2005-08-11 16:20:08,804 [http-8080-Processor25] ERROR org.apache.struts.validator.ValidatorForm - org.apache.struts.validator.FieldChecks.validateRequired(java.lang.Object, org.apache.commons.validator.ValidatorAction, org.apache.commons.validator.Field, org.apache.struts.action.ActionMessages, org.apache.commons.validator.Validator, javax.servlet.http.HttpServletRequest)
    org.apache.commons.validator.ValidatorException: org.apache.struts.validator.FieldChecks.validateRequired(java.lang.Object, org.apache.commons.validator.ValidatorAction, org.apache.commons.validator.Field, org.apache.struts.action.ActionMessages, org.apache.commons.validator.Validator, javax.servlet.http.HttpServletRequest)
         at org.apache.commons.validator.ValidatorAction.loadValidationMethod(ValidatorAction.java:627)
         at org.apache.commons.validator.ValidatorAction.executeValidationMethod(ValidatorAction.java:557)
         at org.apache.commons.validator.Field.validateForRule(Field.java:827)
         at org.apache.commons.validator.Field.validate(Field.java:906)
         at org.apache.commons.validator.Form.validate(Form.java:174)
         at org.apache.commons.validator.Validator.validate(Validator.java:367)
         at org.apache.struts.validator.ValidatorForm.validate(ValidatorForm.java:152)
         at org.apache.struts.action.RequestProcessor.processValidate(RequestProcessor.java:942)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:255)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1480)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:524)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)

    I had a similar problem upgrading from struts 1.1 to 1.2.7. The method signatures in FieldChecks changed to include a Validator object:
    1.1
    validateRequired(java.lang.Object bean, org.apache.commons.validator.ValidatorAction va, org.apache.commons.validator.Field field, ActionErrors errors, javax.servlet.http.HttpServletRequest request)
    1.2.7
    validateRequired(java.lang.Object bean, org.apache.commons.validator.ValidatorAction va, org.apache.commons.validator.Field field, ActionMessages errors, org.apache.commons.validator.Validator validator, javax.servlet.http.HttpServletRequest request)
    After I added org.apache.commons.validator.Validator to the methodParams attribute of validator in validator-rules.xml I no longer got the error (which was a NoSuchMethodException... I had to look at the ValidatorAction code to find that out, for some reason it wasn't in the stack trace).

  • Firefox 27 running but not running

    I'm running Windows 7 32-bit. When I installed it, I installed Firefox 27. It worked fine. Then, out of the blue, it began freezing--not momentary, but the kind of freeze which forces one to "crash" shutdown. Sometimes 5 minutes into using firefox, sometimes 30, sometimes almost instantly, and I had no idea why. I tried removing 'plug-in container', which seemed to help, although I still noticed 1 or 2 instances where there'd be momentary freeze. Still, I got along.
    Then, maybe a week ago, Firefox suddenly "vanished" as in the problem where its "running" but isn't visible. I opened task manager. Firefox.exe was on the processes tab, but not on the applications tab. Nothing I did could induce it to open. Finally, overly annoyed at what was supposed to be a stable installation, I went with 28, the current beta. I "imported" my personal data. All good so far. I opened a website I frequently visit--the font was much smaller than it was last time I was there (using F-27). Nothing I tried changed the page size, but it wasn't a huge deal. So I moved my extensions\add-ons in. My appearances\themes weren't there, all extentions were, and I think all of my other add-ons were also there (I think). But none of this did me any good cause Firefox decided the only way it was goina start was in safe mode. (I'm pulling my hair by this point)
    Extremely annoyed, I removed F-28 and re-installed F-27, but its still the same problem--not opening even though task manager says its running. I looked around here at the solutions to similar problems, but was unable to find any that helped me. Anyone have any idea whats going on?
    Thanks

    Hi Firefox-117,
    Thank you for posting your question, and apologies for the delay. I understand that you tried 28 and went back to 27 with the same profile, it now only starts in safe mode and it may have all the add ons there. When Firefox is in safe mode, to make sure, all of the add ons will still be listed in the add on page (about:addons)
    It sounds like one of the add ons is causing the issue, since it only works in safe mode. By process of elimination it is possible to turn off all of the add ons and turn them on one by one to find out with one is causing it to freeze. There are also troubleshooting steps in this article: [[Firefox hangs or is not responding - How to fix]]
    Hope this helps!

  • SQL Procedure working when run manually, not running from sql server agent

    I have a procedure that runs fine using the execute command in SSMS, however putting the same command in a job gives the following error.
    line 9, character 9, unexpected end of input
    The code takes a very long XML string in UTF-8 encoding and puts it into a single nvarchar(max) cell. Then puts this string into a XML cell in a different table, allowing me to query the individual parts of the XML code using the nodes function. I cannot put
    the data directly into a nvarchar cell due to encoding differences.
    I can't reproduce the string here as it is very very long.
    I'm just looking for ideas really as to where it might be going wrong.
    Here is what I know so far:
    The procedure runs without issue when executed manually
    I have checked permission issues, and that doesn't seem to be the problem. The agent runs under my own account and I am a sysadmin on the database
    I split the procedure into seperate parts to locate exactly where the problem is occuring. Once again the seperate procedures run fine when executed manually but an error occurs when run through SQL Server agent.
    When the query is run seperately through SQL Server Agent it gives a slightly different error. This leads me to believe it is an encoding issue. However I am getting the XML from a webpage and I can't change the encoding on the webpage.
    line 1, character 38, unable to switch the encoding
    I know this is a long shot since you can't replicate the issue but if anyone could give an idea as to where to start looking for an answer, it would be greatly appreciated.

    Here's how I'm taking the XML data and putting it into an nvarchar(max) column (Column Name TEXT):
    Select @url = 'http://....'
    EXEC @hr=sp_OACreate 'WinHttp.WinHttpRequest.5.1',@win OUT
    IF @hr <> 0 EXEC sp_OAGetErrorInfo @win
    EXEC @hr=sp_OAMethod @win, 'Open',NULL,'GET',@url,'false'
    IF @hr <> 0 EXEC sp_OAGetErrorInfo @win
    EXEC @hr=sp_OAMethod @win,'Send'
    IF @hr <> 0 EXEC sp_OAGetErrorInfo @win
    INSERT #TextData(TEXT)
    EXEC @hr=sp_OAGetProperty @win,'ResponseText'
    IF @hr <> 0 EXEC sp_OAGetErrorInfo @win
    EXEC @hr=sp_OADestroy @win
    IF @hr <> 0 EXEC sp_OAGetErrorInfo @win

  • Flash Player not running/installing

    So far, on two computers, I have had this problem.
    I have no problem downloading the software, I even installed it on two computers.
    However, when I go to install it on a few computers in my work environment, it will ask to run and not run.  I sat for ten minutes waiting for it to run and it wouldn't.  Both are XP's, sp3, 1GB, IE8.
    Does anyone have any idea's?

    Download offline installer: Where can I find direct downloads of Flash Player 11 for Windows or Macintosh?

  • MAB status is "NOT RUN" on the IP-PHONE

    Hi
    I have ISE 1.1 and cisco 2960
    I configured MAB in the ISE for the IP phone and the printer
    It work because user can print and use IP phone for call
    But log is not good for the IP phone
    PRINTER use MAB but The  IP phone use dot1x instead of MAB (log below)
    There is no computer connected behind the IP phone
    I am planning to connect computer on some IP phone in the future, so your helps and suggestion should take care of it
    Why MAB is not work on the IP PHONE
    Thanks in advance for your help
    PRINTER PORT
    ISESWITCH#show auth sessions int f0/2  
                Interface:  FastEthernet0/2
              MAC Address:  a0b3.cc9d.6ebb
               IP Address:  192.168.1.150
                User-Name:  A0-B3-CC-9D-6E-BB
                   Status:  Authz Success
                   Domain:  DATA
          Security Policy:  Should Secure
          Security Status:  Unsecure
           Oper host mode:  multi-auth
         Oper control dir:  both
            Authorized By:  Authentication Server
              Vlan Policy:  10
                  ACS ACL:  xACSACLx-IP-PERMIT_ALL-52179aa0
          Session timeout:  N/A
             Idle timeout:  N/A
        Common Session ID:  0AFD190A00000B4E11F6003A
          Acct Session ID:  0x000013FF
                   Handle:  0x27000B4E
    Runnable methods list:
           Method   State
           dot1x    Failed over
           mab      Authc Success
    IP PHONE PORT
    ISESWITCH#show auth sessions int f0/3
                Interface:  FastEthernet0/3
              MAC Address:  001a.7ea7.4a3f
               IP Address:  192.168.2.16
                   Status:  Running
                   Domain:  UNKNOWN
          Security Policy:  Should Secure
          Security Status:  Unsecure
          Oper host mode:  multi-auth
         Oper control dir:  both
          Session timeout:  N/A
             Idle timeout:  N/A
        Common Session ID:  0AFD190A00000B5011F7919A
          Acct Session ID:  0x0000140D
                   Handle:  0xC3000B50
    Runnable methods list:
           Method   State
           dot1x    Running
           mab      Not run
    ISESWITCH#
    configuration of each switch port
    interface fastEthernet0/x
    switchport access vlan 2
    switchport mode access
    ip access-group ACL-DEFAULT in
    authentication host-mode multi-auth
    authentication open
    authentication order dot1x mab
    authentication priority dot1x mab
    authentication port-control auto
    mab
    dot1x pae authenticator
    spanning-tree portfast

    Sample configuration on interface for MAB
    interface range g0/x
    switchport mode access
    authentication port-control auto
    dot1x pae authenticator
    mab
    authentication open
    authentication host-mode multi-auth
    switchport access vlan x
    switchport voice vlan x
    authentication order mab dot1x
    authentication priority dot1x mab
    no shutdown

  • Windows installer package not running or installing properly error when i try to install and update to the new icloud control panel.

    i get a windows installer package not running or installing properly error when i try to install and update to the new icloud control panel.

    Okay ... so it's not one of the cases of bodged up ACLs on the Apple folder in Common Files. (That's been underlying a few of the recalcitrant E7W5s.
    Just in case, let's try the fixit from the following document:
    Fix problems with programs that can't be installed or uninstalled

  • 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

  • I defined custom action but it is not running properly.

    Hi,
    I defined custom action but it is not running properly.
    I deployed in MII (System Management --> Custom Actions)
    When i use it as an action in a transaction error below generated.
    Errors
    [ERROR]: STEP EXCEPTION (Custom_Action_0) : Item 'Custom_Action_0' is not an Action
    [ERROR]: STEP EXCEPTION (Custom_Action_0) : Item 'Custom_Action_0' is not an Action
    Custom action code is below.
    package com.wipro.action;
    import com.sap.xmii.xacute.actions.ActionReflectionBase;
    import com.sap.xmii.xacute.core.ILog;
    import com.sap.xmii.xacute.core.Transaction;
    @author cemil.bozlagan
    public class CustomAction extends ActionReflectionBase {
        private String strFirstInput;
        private String strSecondInput;
        private String strOutString;
        public CustomAction() {
            strFirstInput = "";
            strSecondInput = "";
            strOutString = "";
        @Override
        public String GetIconPath() {
            return "/com/wipro/action/resources/icons/CustomAction.png";
        @Override
        public void Invoke(Transaction trx, ILog ilog) {
            try {
                strOutString = strFirstInput + strSecondInput;
                // This varaible is defined in ActionReflectionBase class
                _success = true;
            } catch (Exception e) {
                _success = false;
        public String getFirstInput() {
            return strFirstInput;
        public void setFirstInput(String strFirstInput) {
            this.strFirstInput = strFirstInput;
        public String getSecondInput() {
            return strSecondInput;
        public void setSecondInput(String strSecondInput) {
            this.strSecondInput = strSecondInput;
        public String getOutString() {
            return strOutString;
        @Override
        public boolean isConfigurable() {
            return false;
    How can i solve this problem?
    Thanks.

    Hi Cemil,
    Pls check document, I hv sent to your mail.
    May be it helps.
    Regards
    Padma

  • When I try to install iTunes 10.5, it says, "There is a problem with this Windows Installer package.  A program run as part of the setup did not finish as expected.  Contact your support personnel or package vendor."  I have Windows XP and I need help.

    5, it says, "There is a problem with this Windows Installer package.  A program run as part of the setup did not finish as expected.  Contact your support personnel or package vendor."  I have Windows XP and I need help.

    After reading all these posts, one by one did not resolve my problem until I got the very end.  Regardless of what step would resolve your problem, these are the steps I would recomment to everyone for a what seems to be a safe and fool-proof upgrade to iTunes 10.5.
    1. Stand alone upgrade to the latest Quicktime version
    2. Go to control panel and "change" then select repair to the following applications in the order specified by the post on Oct 27. (Notice I skipped Quicktime because it had been upgrade manually,and Bonjour did not have a "repair" option)
    iTunes; Apple Software Update: Mobile Device Support; Apple Applications Support
    Some of these applications may not appear if they do not apply to your configuration (no iPhone, or no iPad, or other apple devices).
    Once all updated, I did not need to restart nor launch any applications, I simply went straight into the 10.5 upgrade, and where it normally got stuck, this time the installation continued for a while longer until it completed successfully.
    Great work everyone who contributed!  Thank you very much!

  • Error message after upgrade to iTunes 11: "iTunes has detected a problem with your audio configuration. Audio/Video playback may not operate properly."  At this point my PC running XP loses all audio.

    Several attempts to upgrade to iTunes 11 have failed.  After an upgrade to 11 the error message reads: "iTunes has detected a problem with your audio configuration. Audio/Video playback may not operate properly."  At this point--after the upgrade to iTunes 11--my PC running Windows XP loses audio playback for all functions--in iTunes, in the browser and the volume icon disappears from the System Tray.  Only by removing iTunes 11, and then using System Restore to turn back the OS settings can I return the PC to normal functioning.
    I did that.  I reinstalled iTunes 10.5.  Everything seemed fine, but when I try to plug in and copy a CD to my iPhone 4S an error message reads roughly: 'iPhone 4S requires iTunes 10.5 or higher to work.'
    What might be the problem with my audio configuration?
    Why doesn't my iPhone 4S work with iTunes 10.5?  It used to work with iTunes 10.5.
    Please advise.
    ep

    This forum is for questions about iTunes U, Apple's service for colleges and universities to post educational material in the iTunes Store. You'll be most likely to get help with this issue if you ask in the general iTunes for Windows forums.
    Regards.

  • I am trying to update to iTunes 10.5 and am getting a Apple Software update error. "There is a problem with this Windows Installer Package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. ??

    I am trying to update to iTunes 10.5 and am getting a Apple Software update error. "There is a problem with this Windows Installer Package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. ?? I can't uninstall the Apple Software Update from my Control Panel. It states "Fatal error during installation" Please HELP!!!

    I am experiencing the exact same issue during the installtion process for iTunes 10.5.
    I uninstalled all Apple components but when I attempted to uninstall the Apple Software Update I received the same message: "Fatal error during installtion." I was able to repair the Apple Software Update but still could not install iTunes 10.5 afterwards.
    I have tried everything that I could find on these discussions pages as well as other suggestions on third party sites. I continue to receive the error message: "There is a problem with this Windows Installer Package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor.
    I was able to uninstall and reinstall QuickTime 7.7.1. During the reinstalltion process I received the same message (There is a problem with this Windows Installer Package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor.) But after clicking "OK" the installtion process was succesful. PLEASE HELP!

Maybe you are looking for

  • ODI installation out of Oracle home

    Hi, I have to install Oracle Data Integrator on a development server where EPM 11.1.2 is already installed. I encounter the following error after setting the install folder (I leave it to default: D:\Oracle\Middleware\EPMSystem11R1): OUI-10044: The s

  • Report Customization URL Links..

    Hi I am currently setting up URL Links on Portal to customize reports.. e.g. http://portal.mywork.com/pls/portal30/SCHEMA1.DETAIL_RPT.show?p_arg_names=region_id&p_arg_values=7&p_arg_names=_region_id_cond&p_arg_values=%3D however one of the reports is

  • Formatting xml

    i'm retrieving an xml data from an lob column ,what's the best way to format the data into to an xml format?

  • Where else are Plug ins stored and throwing things away

    Hello All, Last year I had purchase Dot Pixels and i installed it in the Applications>AE>Plugins folder.  I got an email to upgrade to the lates version.  It warned to remove the old version before installing the new one, which I did.  However, with

  • Locations of files

    Hi OAF Gurus, I am newbie to OAF. I wanted to whether the location for all the OAF files is fixed. Why are all AM, VO files stored in server directory, whereas PG, CO in webui & EO files in schema.server? Also is there any students guide (easy to sta