Not able to import metadata using BI Admin tool

Hi folks,
I've installed OBIEE 11g server(Version 11.1.1.6.0) in my local machine which is lying on Windows 7 environment. Tried importing metadata(Oracle Database) using BI Admin tool, it throws "The Connection has failed" error.
I've copied TNSNAMES.ora file to the path D:\Oracle\Middleware\Oracle_BI1\network\admin and D:\Oracle\Middleware\oracle_common\network\admin(In D:\Oracle\Middleware\oracle_common\network, admin was not there, I've created a new folder with name admin and placed the TNSNAMES.ora file over there).
Have modified the user.cmd and bi_init.cmd files in the below path D:\Oracle\Middleware\instances\instance1\bifoundation\OracleBIApplication\coreapplication\setup
Any help would be appreciated
Regards,
Arun

Hi,
The problem was your tnsnames.ora file your not please in the right path.
Check this steps:
Copy the tnsnames.ora from Oracle Database home (ORACLE_HOME\NETWORK\ADMIN\) to the following locations.
Step 1 - <obiee11g_home>\OracleBI1\network\admin
Step 2 - <obiee11g_home>\oracle_common\network\admin
Set the TNS_ADMIN environment variable value with one of the copied locations in the step 1 in user.cmd or user.sh file depending on your OS.
This file will be found under <obiee11g_home>\instances\instance1\bifoundation\OracleBIApplication\coreapplication\setup
Solution:
Copy the tnsnames.ora from Oracle Database home (ORACLE_HOME\NETWORK\ADMIN\) to the following locations.
Step 1 - <obiee11g_home>\OracleBI1\network\admin
Set the TNS_ADMIN environment variable value with one of the copied locations in the step 1 in user.cmd or user.sh file depending on your OS.
This file will be found under <obiee11g_home>\instances\instance1\bifoundation\OracleBIApplication\coreapplication\setup
Run User.cmd or User.sh
Recheck below steps also.
ORACLE FOLDER
C:\Oracle\product\11.2.0\client_1\network\admin\sample
We have tnsnames.ora file in this oracle folder coppy that and save it in
C:\Oracle\product\11.2.0\client_1\network\admin
Tnsnames.ora
This tnsname.ora file should contain the details of
Data Source name – ORCL
Host name – xxxx.xxxxxx.com
Portno - 1531 (This port no is default port in oracle)
Service Name – ORCL
OBIEE FOLDER
C:\OBIEE\oraclebi\orainst\config\OracleBIServerComponent\coreapplication
Tnsname.ora (need to have this file in the above path which is same in ORACLE FOLDER)
GOTO – Start – Control panel – Administrative Tool – Data Source(ODBC) in this
1. Goto System DSN tab
2. Select Add at right side
3. A new pop-up window opens – ‘Create New Data Source’
4. Select from the list – Oracle in OraClient11g_Home
5. A pop-up window opens –‘Oracle ODBC Driver Configaration’ in that
6. Data Source name – Mandatory (You can give any name) e.g –ORACLE DSN
7. Description – Optional (you can give r leave it blank).
8. TNS Service Name – HOST:PORT/Data Source Name e.g –xxxx.xxxxxxx.com:1531/ORCL (xxxx.xxxxxx.com may be IP Address also)
9. User ID – Give Database USERID (If you are going to take data from SERVER you have to give Server Data Base USER ID / If you are going to take data from Local Machine use your Local machine database User id ) e.g –USER id – ‘system’ where password is – ‘Manager’
Note: If still not yer resloved Please read below threds.
Re: Error in Importing Metadata in OBIEE 11G
[46028] Unable to get the DLL path for the CLI xx from the NQSConfig.ini
Award points it is useful.
Thanks,
satya

Similar Messages

  • Import metadata from BI Admin tool -OBIEE 11g

    Hi,
    I am trying to import metadata from BI Admin tool 11g (offile- did not start BI services) but it always showing "Connection has failed". I tried ODBC 2.0, ODBC 3.5, OCI11g/10g with different schemas .. But still no luck... I checked all those from Toad and DSN Tests.. then all are successfulll... But in BI Admin Tool only I can not connect to those Datasources.. Where Iam wrong..? any workarounds would be appreciated...
    Thanks and Regards,
    Sri.
    (OBIEE 11.1.1.5, Oracle 11g R2 EE Database, MS Windows XP Professional Edition SP2)

    ORACLE FOLDER
    C:\Oracle\product\11.2.0\client_1\network\admin\sample
    We have tnsnames.ora file in this oracle folder coppy that and save it in
    C:\Oracle\product\11.2.0\client_1\network\admin
    Tnsnames.ora
    This tnsname.ora file should contain the details of
    Data Source name – ORCL
    Host name – xxxx.xxxxxx.com
    Portno - 1531 (This port no is default port in oracle)
    Service Name – ORCL
    OBIEE FOLDER
    C:\OBIEE\oraclebi\orainst\config\OracleBIServerComponent\coreapplication
    Tnsname.ora (need to have this file in the above path which is same in ORACLE FOLDER)
    GOTO – Start – Control panel – Administrative Tool – Data Source(ODBC) in this
    1.     Goto System DSN tab
    2.     Select Add at right side
    3.     A new pop-up window opens – ‘Create New Data Source’
    4.     Select from the list – Oracle in OraClient11g_Home
    5.     A pop-up window opens –‘Oracle ODBC Driver Configaration’ in that
    6.     Data Source name – Mandatory (You can give any name) e.g –ORACLE DSN
    7.     Description – Optional (you can give r leave it blank).
    8.     TNS Service Name – HOST:PORT/Data Source Name e.g –xxxx.xxxxxxx.com:1531/ORCL (xxxx.xxxxxx.com may be IP Address also)
    9.     User ID – Give Database USERID (If you are going to take data from SERVER you have to give Server Data Base USER ID / If you are going to take data from Local Machine use your Local machine database User id ) e.g –USER id – ‘system’ where password is – ‘Manager’

  • Not able to Import data using "clear and replace"

    Hi,
    If I import data using the data admin package "Import" and "Merge" as 'method for importing' the process runs without problems.
    If I change the 'method for importing' to "Clear and Replace" the process fails. See message:
    TOTAL STEPS  2
    1. Convert Data:         completed  in 3 sec.
    2. Load and Process:     Failed  in 1 sec.
    3. Import:               completed  in 1 sec.
    [Selection]
    FILE=\UHRENHOLT\LEGAL_DATALOAD\DataManager\DataFiles\\Axapta_Load.txt
    TRANSFORMATION=\UHRENHOLT\LEGAL_DATALOAD\DataManager\TransformationFiles\\Axapta_Load.xls
    CLEARDATA= Yes
    RUNLOGIC= Yes
    CHECKLCK= Yes
    [Messages]
    Key cannot be null.
    Parameter name: key
    I'm uisng the standard data admin package (and thereby the values 0 and 1). For some reason the value 1 is not accepted.
    Any suggestions?
    /Lars

    Hi,
    The "Replace & clear..." feature during data import depends on Work Status. So to use this functionality, you need to setup Work Status under your application. Notice that you need to setup Work Status even if you aren't selecting the option to check Work Status when running the package.
    Hope this will help you.
    Kind Regards,
    Patrick

  • Getting error while importing metadata using View Objects

    Hi All,
    I am trying to create a repository using View Object in OBIEE 11.1.5.1 but getting error while viewing the data, after importing the metadata in the repository "[nQSError: 77031] Error occurs while calling remote service ADFService11G. Details: Runtime error for service -- ADFService11G - oracle/apps/fnd/applcore/common/ApplSession".
    I am also getting error "žADFException-2015: The BI Server is incompatible with the BI-ADF Broker Servlet: BI Server protocol version = null, BI-ADF Broker Servlet protocol version = 1" during testing my sample which is deployed to Admin server. I followed BI Adminstrator help file guide in order to create the sample for creating repository using view object.
    Admin server log says
    [2011-09-27T02:59:03.646-05:00] [AdminServer] [NOTIFICATION] [] [oracle.bi.integration.adf] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: b260b57746aa92d3:-1f9ca26:1328fcfd3e6:-8000-0000000000006744,0] [APP: BIEEOrders] [[
    QUERY:
    <?xml version="1.0" encoding="UTF-8" ?><ADFQuery><Parameters></Parameters><Projection><Attribute><Name><![CDATA[Deptno]]></Name><ViewObject><![CDATA[AppModule.DeptViewObj1]]></ViewObject></Attribute><Attribute><Name><![CDATA[Dname]]></Name><ViewObject><![CDATA[AppModule.DeptViewObj1]]></ViewObject></Attribute><Attribute><Name><![CDATA[Loc]]></Name><ViewObject><![CDATA[AppModule.DeptViewObj1]]></ViewObject></Attribute></Projection><JoinSpec><ViewObject><Name><![CDATA[AppModule.DeptViewObj1]]></Name></ViewObject></JoinSpec></ADFQuery>
    [2011-09-27T02:59:04.199-05:00] [AdminServer] [ERROR] [] [oracle.bi.integration.adf.v11g.obieebroker] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: b260b57746aa92d3:-1f9ca26:1328fcfd3e6:-8000-0000000000006744,0] [APP: BIEEOrders] java.lang.NoClassDefFoundError: oracle/apps/fnd/applcore/common/ApplSession[[
         at oracle.bi.integration.adf.ADFDataQuery.makeQueryBuilder(ADFDataQuery.java:81)
         at oracle.bi.integration.adf.ADFDataQuery.<init>(ADFDataQuery.java:70)
         at oracle.bi.integration.adf.ADFReadQuery.<init>(ADFReadQuery.java:15)
         at oracle.bi.integration.adf.ADFService.makeADFQuery(ADFService.java:227)
         at oracle.bi.integration.adf.ADFService.execute(ADFService.java:136)
         at oracle.bi.integration.adf.v11g.obieebroker.ADFServiceExecutor.execute(ADFServiceExecutor.java:185)
         at oracle.bi.integration.adf.v11g.obieebroker.OBIEEBroker.doGet(OBIEEBroker.java:89)
         at oracle.bi.integration.adf.v11g.obieebroker.OBIEEBroker.doPost(OBIEEBroker.java:106)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:62)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.lang.ClassNotFoundException: oracle.apps.fnd.applcore.common.ApplSession
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
         ... 38 more
    Please suggest how to make it work.

    Hi,
    Thanks for providing the online help URL, i have already completed the steps mentioned in URL
    I am able to import metadata using view object but getting above error("[nQSError: 77031] Error occurs while calling remote service ADFService11G. Details: Runtime error for service -- ADFService11G - oracle/apps/fnd/applcore/common/ApplSession".") while validating the data.
    It fails at step 5 of "To import metadata from an ADF Business Component data source:" section of above URL.

  • I wonder how pro photographers use aperture?I shoot raw and my harddrive is alreay full.I'm not able to import new pictures.Is it ok if i create a vault and delete all my projects in the HD.Can I use an external HD use aperture through the vault??

    I wonder how pro photographers use aperture?I shoot raw and my harddrive is alreay full.I'm not able to import new pictures. I don't know what to do. I created a vault. My plan was to create a vault(put all my master files into an external harddrive) and then delete all my projects in my mac pro's harddrive. Is it the correct way to do it ? What should I do if I have thousands of raw files ? How should my workflow be? Can I use an external HD and use aperture through the vault,without keeping the master files on my computer's hard drive?? Or should I shoot raw+jpeg and store raw files in an external backup harddrive and import only jpegs into my aperture library?

    There's a bit to learn.  It will slowly make sense.
    Aperture is an empty field.  You're given a tractor and a whole bunch of attachments. What you grow, how, and where, is entirely up to you.
    Vaults are for back-up and only for back-up.  They have nothing to do with storing your working files.
    When your Library outgrows your system drive (and for good performance, you should leave c. 20% of every drive empty), it's time to convert some of your image's Masters from Managed to Referenced.  ("Managed" and "Referenced" refer to Masters, not to Libraries.)
    There are hundreds of posts in the forum, and several pages in the User Manual on using Masters.
    Many people run Aperture with the Library on their system disk, and most (or all) of their images' Masters on external FW drives.  This is a good set-up.  Note that you will likely have to take steps to back-up the data on your external drives.
    If you do the above, there should be no reason to delete any Projects.
    The choice of RAW or RAW+JPEG or JPEG depends on the kind of work you are doing.  I capture RAW only -- but I don't do any commercial shoots.  Pros on deadlines report that the RAW+JPEG works well for them.  Capture JPEG if it saves you time.  IMHO, there is not a good reason to shoot JPEG to save space (space is cheap; time expensive).
    Short-term solution: buy and use a FW800 external 1 TB drive, formatted "Mac OS Extended (Journaled)", and using Aperture relocate the Masters of all images older than 30 days to that drive.  (Be sure to change your back-up strategy to include this new drive; you may need a second new drive.)
    This general post of mine might help you understand more about Aperture.

  • 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

  • Lightroom 5.6 crashing, not able to import or back up changes

    I have been having issues with Lightroom 5.6 for few days now. I have been working from this Lightroom install for a year now problem free. The problem seems to happen when I try to import pictures. At first I thought it was my SD card but I copied the pictures to my desktop and was not able to import from the file on my desktop. It will start to download a few out of 400 and stop at 2 or 3 pictures then freeze. A message pops up that says "Lightroom encountered a problem and needs to quit" When i try to open Lightroom again I will get a message that says "The last time Lightroom ran, it shut down prematurely due to a problem reading the catalog. Lightroom must now check the catalog before proceeding." It will proceed to check integrity of the catalog then another message pops up saying it was repaired successfully. When I try to open, same stuff happens all over again.
    I have not moved any files around through the external hard drive and there are no images in the catalog that are "missing." So I'm a little confused as to why Lightroom suddenly keeps crashing.
    I am able to export images from the same catalog, I am able to edit pictures as I normally would,but I am unable to Back up the changes or import new files. I tried working from a different external hard drive and the same thing happens.
    Please help!!

    Are you able to import 450D raw files into LR5.5via USB connection and are you on Windows 7/8?
    I agree with your observations concerning SD vs CF card fragility, but they also have a limited number of insertions before failure.
    http://en.wikipedia.org/wiki/USB#Durability
    The newer Micro-USB receptacles are designed for up to 10,000 cycles of insertion and removal between the receptacle and plug, compared to 1,500 for the standard USB and 5,000 for the Mini-USB receptacle. This is accomplished by adding a locking device and by moving the leaf-spring connector from the jack to the plug, so that the most-stressed part is on the cable side of the connection. This change was made so that the connector on the less expensive cable would bear the most wear instead of the more expensive micro-USB device.
    All my Canon cameras have micro-USB connectors. With one (1) insertion and removal per day that equals 10,000 days, or about 27 years before end-of-life! SD and CF cards are also rated at ~10,000 insertion and removals, but more prone to damage from static electricity and handling due to the exposed contacts and fragility of CF card sockets.
    So there's no real advantage from the camera wear perspective to using a card reader. I'd say use whatever method is easiest for your workflow, but handle memory cards with care and avoid exposing them to static discharge.  Ground yourself to something metal before removing memory cards and inserting them into the card reader, especially in cold Winter months.
    BTW- I helped design one of the first semiconductor DRAM memory systems back in 1970. We killed more memory chips than I care to count before we discovered they were easily damaged by static electricity. Today's ICs have built-in protection, but you can still damage them with a big enough static ZAP!

  • I am not able to import photos into Lightroom 5.7.  When I select a folder, it doesn't show a preview of the images and the import button is greyed out. ??

    I am not able to import photos into Lightroom 5.7.  When I select a folder, it doesn't show a preview of the images and the import button is greyed out. ??
    I have been using Lightroom 5 for 2-3 months now and all worked well, up until today's effort to import a new set of photos. I am working on a Mac with Yosemite 10.10.1.

    Go to the bibliothec module, select the folder, right click on the folder and hit synchronize
    Sorry I have only a german version , so don't know what your menu will show.

  • Not able to import business system in Integration Directory

    Dear all,
    Currently i involved in XI system copy. As per the standard documetn i have finsihed the initial activites like EXPORT and import of abap and java files is succedded.
    Now in the post instalaltion activites.
    I have changed the exchange profile parameter
    SLD connection.
    And other post installation activites succesfully.
    But I am not able to import the business system in Integration director. It throws an error by mentioning.
    *Access to object list of type business system using the internalEOA service business system accessor failed *
    Here we are maintaing a central SLD and hence i created the service users with specific roles.
    SLDcheck is working fine and it dispalying the businees system as well.
    I confirmed that the user and password are same in XI and SLD system,
    But in SLD I am not able to see the domain under web as Exchagne Infrastructure alonng with the componets. I have tried to registerd the same using the note 761476 but in vain. After the changes i restarted the machin and checked the domain status in SLD technical system under exchagne Inffrastructure its not working.
    Is this the problem or am i missing out somewhere?
    FYI: The users are not locked.
    Kindly suggest me and it will be greatful if i get immediate reply.
    Thanks and regards
    Vijay kumar G

    Hi Vijay,
    It looks like the problem is with the SLD.
    Did you delete the SAP ABAP and Java technical system and business systems and recreate them in the central SLD? If this was the case, then you may not be able to import them into your integration directory anymore, as the GUID of the new technical systems and business systems are not the same with the previous one.
    Why not tried to recopy the SLD again, and this time do not change the technical and business systems. If the reregistration of these systems are not avoidable, then you will have to open up the copied IR for configuration.
    Regards,
    Lim...

  • Not able to import .motn files into FCP

    For some reason I'm not able to import .motn files into FCP. While in FCP, I use "send to motion" and uncheck the embed box. After motion opens and I add my motion content, I get the following error when trying to import the .motn file back into FCP "File Error: 1 files(s) recognized, 0 access denied, 1 unknown". What is strange is that I'm able to create another test FCP project with different media, and everything works fine. All tests and media are done on the same drive.
    I'm using the latest updates of everything FCP 5.0.4 and motion 2.0.1
    Any ideas anybody?
    Thanks!
    G5 Mac OS X (10.4.6)

    Check the frame rate - that can sometimes interfere...
    Patrick

  • Not able to connect iPlanet Proxy on ADMIN port with windows 2003

    I have configured iPlanet 3.6 on Windows 2003 server with admin port as 10000 and Client connection on port 8000.
    I m Able to use client port thru 8000 but when i goto particular URL i.e http:\\I.P:10000 it do ask for admin user name aND password.. and after that it show "page cannot be displayed" .. where as if i try on same server to connect to admin panel thru netscape . once it ask the user name password for iPlanet and after that is keeps asking user name password in WINDOWS STYLE.. liek some time it ask for IIS .. i dont know why and overall i am not able to connect to it on admin port ..
    pls provide some solution if any one have faced similar problem..

    I would strongly advise you to consider 4.0.2 version of proxy, 3.6 is not ofiicially supported on windows 2003, see http://docs.sun.com/source/819-3619-10/relnotes36sp8_win.html#wp19243
    Speaking of possible workarounds for your issue with 3.6, I've seen admin console acting weird when it is configured with 5 digit port. Changing it to 4 digits might be worth a shot.

  • Canon HF200 and Final Cut Express 4 - not able to import movie files

    Hello,
    I have a Canon HF200. I have a 16 GB Duracell "pro photo" flash card. When I first connected my camera to my computer and clicked on "log and transfer" all of the movie clips on my card showed up in FCE 4. I did not import them at this time, however.
    Now when I connect the camera, only newer videos taken with the camera show up as importable in FCE. Essentially, while the older videos remain on the card, I cannot access them and import them into FCE.
    I am not able to import the files, which are saved as .CPI and .MTS files by simply dragging or using the log and transfer option.
    If anyone can help me with this problem and tell me how I can retrieve the movie files I would really appreciate it.
    Thanks a lot.

    Do you own a card reader? Use that instead of the camera to transfer your files. If not, try using disc utility (or toast if you have it) to duplicate the memory card to a disc image (you can burn it to dvd if you want a back up of the original files) and then use the disc image to log and transfer.

  • Not able to import .mov files in pre elements 8

    Hi,
    Using Pre elements 8 not able to import .mov files ,images stored on external drive (WD)
    whenever we import it shows icon in premiere elements 8 about the clip but whenever we drag and drop it onto the timeline it opens the add media window again and if we cancel it we get message --could not locate the some files.
    Able to import all kind of supported files images,videos in premiere elements 8 stored already in the computer internal hard drive.
    changed the scratch disk, in pre elements 8, to internal c: drive (os).
    All the files from the same camera.
    Please advice, why it is doing like this.
    Vinay

    What type of camcorder did this video from?
    Version 8 is generally not compatible with video from still cameras, and this video must be converted before it can be edited.
    Also, remember that video editors do not actually add your media clips to a project but build connections to them. In other words, once you add a clip to a Premiere Elements project, you MUST maintain a connection to the clip's location. So, if you're connecting to video clips on your external drive, you can not remove your external drive from your computer or this connection will be broken.

  • After upgrade to photos not able to import photos from my kodak M883 camera - says not correct format - still jpeg - worked before update - help!

    After upgrade to photos am not able to import photos from my Kodak M883 camera.  Program says not correct format - camera files are still jpeg - had no trouble importing before upgrade - Help!

    Same thing is happening with me.  IPhoto will not import .jpg from my Kodak!  It used to all the time.  Now it gives me an error msg saying .jpg is in the wrong file format.  Can someone help?
    Steve 

  • Not able to import canon raw CR2 photos direct from a camera into Lightroom 5.5

    I’ve just purchased Lightroom 5 and updated it with the latest version 5.5, and I am running windows 7.  Everything appears to be working fine, however I am not able to import Canon CR2 raw files directly from my camera.  Importing JPEG files directly from camera works fine, however Lightroom can not find any CR2 raw files? 
    If I copy the raw files through the Canon utility tool on to my hard drive, it appears I am then able to import into my Lightroom catalogue, as Lightroom is then able to see these files on my hard drive.  However why can not Lightroom see these files on my Canon 450D camera and import directly from there in Lightroom?
    Are there any setting or preference I need to change to be able to do this?

    Are you able to import 450D raw files into LR5.5via USB connection and are you on Windows 7/8?
    I agree with your observations concerning SD vs CF card fragility, but they also have a limited number of insertions before failure.
    http://en.wikipedia.org/wiki/USB#Durability
    The newer Micro-USB receptacles are designed for up to 10,000 cycles of insertion and removal between the receptacle and plug, compared to 1,500 for the standard USB and 5,000 for the Mini-USB receptacle. This is accomplished by adding a locking device and by moving the leaf-spring connector from the jack to the plug, so that the most-stressed part is on the cable side of the connection. This change was made so that the connector on the less expensive cable would bear the most wear instead of the more expensive micro-USB device.
    All my Canon cameras have micro-USB connectors. With one (1) insertion and removal per day that equals 10,000 days, or about 27 years before end-of-life! SD and CF cards are also rated at ~10,000 insertion and removals, but more prone to damage from static electricity and handling due to the exposed contacts and fragility of CF card sockets.
    So there's no real advantage from the camera wear perspective to using a card reader. I'd say use whatever method is easiest for your workflow, but handle memory cards with care and avoid exposing them to static discharge.  Ground yourself to something metal before removing memory cards and inserting them into the card reader, especially in cold Winter months.
    BTW- I helped design one of the first semiconductor DRAM memory systems back in 1970. We killed more memory chips than I care to count before we discovered they were easily damaged by static electricity. Today's ICs have built-in protection, but you can still damage them with a big enough static ZAP!

Maybe you are looking for