ClassNotFound Exception when try to list cardservice

I was trying to list the applications in the card with the codes in OCF1.2 programmer's guide, but got a ClassNotFound Exception. Here is my code:
     AppletAccessCardService aacs = null;
               aacs = (AppletAccessCardService)sc.getCardService(AppletAccessCardService.class, true);
               if(aacs != null){
                    AppletInfo[] ai = aacs.list();
                    for(int i=0; i<ai.length; i++)
                         System.out.println(ai.toString());
The output message:
java.lang.ClassNotFoundException: CardService implementing interface opencard.opt.applet.mgmt.AppletAccessCardService
at opencard.core.service.CardServiceRegistry.getCardServiceInstance(CardServiceRegistry.java:269)
at opencard.core.service.SmartCard.getCardService(SmartCard.java:331)
at GetCID.main(GetCID.java:27)
But cardman list shows there are applets in the card:
Application: PERSONALIZED (--------) 080000000A0001
Load File : LOADED (--------) A0000000620001 (java.lang)
Load File : LOADED (--------) A0000000620101 (javacard.framework)
Load File : LOADED (--------) A0000000620102 (javacard.framework)
Load File : LOADED (--------) A0000000620201 (javacardx.crypto)
Load File : LOADED (--------) A0000000030000 (visa.openplatform)
Load File : LOADED (--------) A000000167413001
Load File : LOADED (--------) A0000001320001
Load File : LOADED (--------) A0000000035350
Load File : LOADED (--------) A000000063 (PKCS15)
Load File : LOADED (--------) 080000000A00
Why did I get this Exception? Is it because that no applet in the card implements the AppletAccessService interface? Thanks in advance.

The problem is located in your opencard.properties file:
You have to include opencard.opt.emv.mgmt.EMVCardServiceFactory to your list of OpenCard.services.
My complete opencard.properties is as follows:
# Card service configuration  #
OpenCard.services = \
    com.ibm.opencard.factory.MFCCardServiceFactory \
    opencard.opt.util.PassThruCardServiceFactory \
     opencard.opt.emv.mgmt.EMVCardServiceFactory
# Card terminal configuration #
OpenCard.terminals = com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory
# Trace configuration         #
OpenCard.trace = opencard:5

Similar Messages

  • Internal error exception when try to export Crystal Report using V2008 C#

    Hello
    Im working in an application that should send a parameter to a crystal report. Everything works fine when i test the report in the CR 2008 and shows the information correctly
    After has the report working, i design a Visual C# application using forms and loading and exporting the report, which still works ok (generates the pdf file with the information)
    Then i convert this application as a console application. The point is i need the report working as a windows service, to generate it every 15 minutes without user intervention (but try it as a console application first to be sure it will work ok before creating as a service)
    Then i started the service. But when i call the report it sends an exception that i cannot understand:
    Internal exception No se pudo abrir la conexion.
    No se pudo abrir la conexion.
    Prueba {DDE88B40-8A22-4EDB-9DEE-A5033DAA0140}.rpt
    This is my code for the report that works fine as long as i don´t put any parameter into the sql command:
    ReportDocument cryRpt = new ReportDocument();
    cryRpt.Load(nomRepU);
    cryRpt.Refresh();
    cryRpt.SetParameterValue("EVAId", evaID);
    ExportOptions CrExportOptions = new ExportOptions();
    DiskFileDestinationOptions CrDiskFileDestinationOptions = new DiskFileDestinationOptions();
    PdfRtfWordFormatOptions CrFormatTypeOptions = new PdfRtfWordFormatOptions();
    CrDiskFileDestinationOptions.DiskFileName = @"" + path + "
    " + nomRepPDF_Exp;
    CrExportOptions = cryRpt.ExportOptions;
    CrExportOptions.ExportDestinationType = ExportDestinationType.DiskFile;
    CrExportOptions.ExportFormatType = ExportFormatType.PortableDocFormat;
    CrExportOptions.DestinationOptions = CrDiskFileDestinationOptions;
    CrExportOptions.FormatOptions = CrFormatTypeOptions;
    cryRpt.Export(); -
    here i get the exception
    I checked that the parameter is being read correctly in the crystal report as i remove all the sql commands and just put the parameter in the heading of the report, and is show as supposed and generates the pdf file automatically, but when i assign the parameter to the sql command (select * from myTable where idTable = {?EVAId}  ) the crystal report send the exception i mentioned above
    I don't know what to do, i don't know if i configuring correctly the report or something is missing. I would appreciate any help. If need more information please let me know. This is making me crazy
    Thanks in advance
    Veronica Estrada

    Hello all
    I just fixed my issue, i made some changes in the code as well as in the crystal report:
    *Crystal report changes*
    I removed the parameter that i have to filter the information, instead i in the C# code i let the crystal report which records to show
    Note: in the preview of the report all information will be shown, however i won´t use it this way so is not a problem
    *Visual C# changes*
    // Load the crystal report
    cryRpt.Load(nomRepU);
    // Establish SQL conection parameters - below the code for the function
    SetTableLocation(cryRpt.Database.Tables);
    //This is really the main change, because if i use "setParameter" function still generates "Internal exception"
    cryRpt.DataDefinition.RecordSelectionFormula = "{EVAPrincipal.EVAId} = " + evaId;  // ---> Should be the same name of the table and the recordID i want to show
    // Export function
    cryRpt.Export();
    private void SetTableLocation(Tables tables)
                ConnectionInfo connectionInfo = new ConnectionInfo();
                connectionInfo.ServerName = @"" + server;  // ODBC
                connectionInfo.DatabaseName = @"" + initialCatalog;  // data base name
                connectionInfo.UserID = @"" + user;
                connectionInfo.Password = @"" + password;
                foreach (CrystalDecisions.CrystalReports.Engine.Table table in tables)
                    TableLogOnInfo tableLogOnInfo = table.LogOnInfo;
                    tableLogOnInfo.ConnectionInfo = connectionInfo;
                    table.ApplyLogOnInfo(tableLogOnInfo);
    My notes:
    I guess i had two problems: the first with the SQL connection, in connectionInfo.ServerName i was using the name of the instance instead of the ODBC name. The second is the way the parameter is received in the crystal report as it works as windows service (this is my guess) then if i control everything through the C# code it runs perfect!
    Hope this helps if anyone has a similar problem
    Regards
    Veronica Estrada

  • ClassNotFound exception, when load own Customizer

    I have own BooleanCustomizer that implements DescriptorCustomizer, it's packed in the same jar as entity classes. It's registered in persistence.xml:
    <property
         name="toplink.descriptor.customizer.MyEntityClass"
         value="jpa.util.BooleanCustomizer"/>
    Customizer works fine out of container - JUnit tests from Eclipse and Swing app. But in JSF app running on Tomcat, I get exception:
    oracle.toplink.essentials.exceptions.EntityManagerSetupException Exception Description: ClassNotFound: [jpa.util.BooleanCustomizer]
    It looks similar as:
    class not found exception - where to put custom session customizer?
    Any solution ?

    Which version are you using? A change was made recently to TopLink essentials to correct a classloader issue on session customizers.
    Cheers,
    Guy

  • Osgi workflowprocess gives classnotfound exception when osgi bundle is activated

    I did create an osgi service that extends workflowprocess interrface using eclipse. I install the bundle that contains this service and then deploy and activate the bundle in day cq. However, on activation I receive an error stating that my class is not found. Please note that both this service and the referenced service(twitterservice that I created) gets registered and the bundle is activated, however, its unable to find the class SendMessageProcessAction on the activation of the bundle. Hope someone could assist.
    POST /system/console/bundles/246 HTTP/1.1] com.day.twitter.workflow [com.day.twitter.service.impl.SendMessageProcessAction] Error during instantiation of the implementation object (java.lang.ClassNotFoundException: com.day.twitter.service.impl.SendMessageProcessAction not found by com.day.twitter.workflow [246]) java.lang.ClassNotFoundException: com.day.twitter.service.impl.SendMessageProcessAction not found by com.day.twitter.workflow [246]
        at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:787 )
        at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:71)
    package com.day.twitter.service.impl;
    import javax.jcr.RepositoryException;
    import javax.jcr.Session;
    import org.apache.felix.scr.annotations.Component;
    import org.apache.felix.scr.annotations.Properties;
    import org.apache.felix.scr.annotations.Property;
    import org.apache.felix.scr.annotations.Reference;
    import org.apache.felix.scr.annotations.Service;
    import org.osgi.framework.Constants;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    import com.day.cq.workflow.WorkflowException;
    import com.day.cq.workflow.WorkflowSession;
    import com.day.cq.workflow.exec.WorkItem;
    import com.day.cq.workflow.exec.WorkflowData;
    import com.day.cq.workflow.exec.WorkflowProcess;
    import com.day.cq.workflow.metadata.MetaDataMap;
    import com.day.twitter.service.SendMessageProcess;
    import com.day.twitter.service.TwitterService;
    @Component
    @Service
    @Properties({
        @Property(name = Constants.SERVICE_DESCRIPTION, value = " An example of Social Publish Implementation"),
        @Property(name = Constants.SERVICE_VENDOR, value = "RIM POC"),
        @Property(name = "process.label", value = "RIM POC Social Publish")
    public class SendMessageProcessAction implements WorkflowProcess{
        @Reference
        private TwitterService twitterService; 
        public TwitterService getTwitterService() {
            return twitterService;
        public void setTwitterService(TwitterService twitterService) {
            this.twitterService = twitterService;
         * @scr.reference
        private static final String TYPE_JCR_PATH = "JCR_PATH";
        private final Logger logger = LoggerFactory.getLogger(this.getClass()
                .getName());
        private final Logger logger1 = LoggerFactory.getLogger(SendMessageProcessAction.class);
        public void execute(WorkItem workItem, WorkflowSession workflowSession,MetaDataMap args)
        throws WorkflowException {
            final Session session = workflowSession.getSession();
            final WorkflowData data = workItem.getWorkflowData();
            logger.info("TEST VIBHOR!!");
            logger1.info("TEST VIBHOR BHATIA!!");
            String path = null;
            String type = data.getPayloadType();
            if (type.equals(TYPE_JCR_PATH) && data.getPayload() != null) {
                String payloadData = (String) data.getPayload();
                try {
                    if (session.itemExists(payloadData)) {
                        path = payloadData;
                } catch (RepositoryException e) {
                    // TODO Auto-generated catch block
                    logger.error("Exception - Check repository for Payload data path");
                    e.printStackTrace();
            logger.info("arguments");
            String msg = "CQ5 workflow event";
                // is there a message?
            String argument = args.get("PROCESS_ARGS", "default value");
            boolean equal = argument.equals("argument1");
            if(equal){
                String recipient = argument.toString();
                 sendDirectMessageOnTwitter(recipient, msg, path);
            } else {
                logger
                        .error("for sending a DM on Twitter (make sure Twitter allows you to DM that account): dm,(recipient id)");   
               //  return "Check config - error";
        private void sendDirectMessageOnTwitter(String recipient, String msg, String path) {
            getTwitterService().sendDirectMessage(recipient, msg + ", path: " + path);

    <plugin>
            <groupId>org.apache.felix</groupId>
            <artifactId>maven-bundle-plugin</artifactId>
            <version>2.0.1</version>
            <extensions>true</extensions>
            <configuration>
              <instructions>
                <Bundle-Name>cq-core bundle</Bundle-Name>
                <Export-Package>twitter4j.*</Export-Package>
                <Import-Package>
                      !twitter4j.internal.http.alternative,
                      !org.slf4j.impl,com.day.*,*
                 </Import-Package>
                 <Private-Package>com.day.twitter</Private-Package>  
              </instructions>
            </configuration>
    </plugin>
    Bnd-LastModified: 1334862237167
    Build-Jdk: 1.6.0_21
    Built-By: bvibor
    Bundle-ManifestVersion: 2
    Bundle-Name: cq-core bundle
    Bundle-SymbolicName: com.day.twitter.workflow
    Bundle-Version: 1.0.0
    Created-By: Apache Maven Bundle Plugin
    Export-Package: twitter4j.internal.util, twitter4j.internal.http; uses:="twitter4j, twitter4j.internal.logging, twitter4j.internal.util, twitter4j.http, twitter4j.conf, javax.xml.parsers, twitter4j.internal.org.json, org.w3c.dom, org.xml.sax", twitter4j; uses:="twitter4j.internal.org.json, twitter4j.internal.http, twitter4j.api, twitter4j.http, twitter4j.internal.async, twitter4j.conf, twitter4j.internal.logging", twitter4j.internal.org.json, twitter4j.api; uses:=twitter4j, twitter4j.http; uses:="twitter4j.internal.http, twitter4j, twitter4j.conf, javax.crypto.spec, javax.crypto, twitter4j.internal.logging", twitter4j.internal.async, twitter4j.conf; uses:="twitter4j.internal.http, twitter4j.http, twitter4j.internal.async, twitter4j", twitter4j.internal.logging; uses:="org.apache.commons.logging, org.apache.log4j, org.slf4j, twitter4j.conf", twitter4j.util; uses:="twitter4j.internal.http, twitter4j, twitter4j.internal.org.json, twitter4j.http"
    Ignore-Package: org.slf4j.impl, twitter4j.internal.http.alternative
    Import-Package: javax.crypto, javax.crypto.spec, javax.xml.parsers, org.apache.commons.logging, org.apache.log4j, org.osgi.framework; version="1.4", org.slf4j; version="1.5", org.w3c.dom, org.xml.sax, twitter4j, twitter4j.api, twitter4j.conf, twitter4j.http, twitter4j.internal.async, twitter4j.internal.http, twitter4j.internal.logging, twitter4j.internal.org.json, twitter4j.internal.util, twitter4j.util
    Manifest-Version: 1.0
    Service-Component: OSGI-INF/components.xml
    Tool: Bnd-0.0.357

  • Unable to lookup the ServerLifeCycleRunTimemBean exception when try to start managed server

    I have two domains, FRDomain and NewServer2.  I can startup all servers on FRDomain, including newly created non-default servers.  For xyzDomain, I can start up the admin server, but none of my other managed servers.  When I try, I get
    weblogic.management.scripting.ScriptException: Error occured while performing start : Unable to lookup the ServerLifeCycleRuntimeMBean for server NewServer2
    Syntax:
    nmConnect(.....)
    nmStart('AdminServer')
    connect(...)
    start ('NewServer2','Server')
    FYI: This is WIndows 2008 Server

    Hi, the topology of th network ist the next:
    ISP (DATACENTER) ->  SRV1 (phisical) +  SRV2 &SRV3 (virtual) 
    Every one of them have 2 NIC  ( for server  2 and 3  - virtual  too)  
    NIC1 - operates on private level -  192.168.1.1 dns, gate,dc (srv1)
    NIC2 - real ip address, gate - gateway of ISP  dns - 192.168.1.1
    When set up NIC1 - everything is ok .
    NIC2 - action is : set ip and mask - enable without gate  - then it is in unidentified status  and  go in public state.
    disable nic2, set up gateway  - and dns - 192.168.1.1  and again enable - everything is ok
    But after restart  - nic2 - goes again in Domainauthenticated mode. :(
    Additional:
    On srv2 - i put RRAs role and smthing stange is that after enable rras service - all ports are shutted and machine pretendet to be invisible.

  • Java exception when try to run a command

    Hi,
    This is suresh.
    I want to convert a trace file to readable format. I gave the proper command. But it gives the error.
    The details are listed below...
    D:\Oracle\10gr2mt\jdk\jre\bin>java -cp d:\oracle\10gr2mt\forms\java\frmxlate.jar
    oracle.forms.diagnostics.Xlate datafile=D:\Oracle\10gr2mt\otrace\forms_5492.tr
    c outputfile=D:\Oracle\10gr2mt\otrace\forms_5492.xml outputclass=WriteOut
    Exception in thread "main" java.lang.IndexOutOfBoundsException
    at java.io.FileInputStream.readBytes(Native Method)
    at java.io.FileInputStream.read(FileInputStream.java:194)
    at java.io.DataInputStream.read(DataInputStream.java:224)
    at oracle.forms.diagnostics.ReadDataFile.readStrAttribute(Unknown Source
    at oracle.forms.diagnostics.ReadDataFile.preRead(Unknown Source)
    at oracle.forms.diagnostics.ReadDataFile.preReadEvent(Unknown Source)
    at oracle.forms.diagnostics.Xlate.process(Unknown Source)
    at oracle.forms.diagnostics.Xlate.main(Unknown Source)
    Can anybody provide solution ..?
    Thanks in Advace,
    Sure

    Try Metalink NOTE:416535.1

  • SQL exception when try to connect with MS SQL server

    Hello Sir,
    When i run the jsp file which connect to to MS Sql server database and fetch the data.
    Its throwing the SQLException error like:
    Name java: is not bound in this Context
    here is my server.xml
    [code<?xml version='1.0' encoding='utf-8'?>
    <Server>
      <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"/>
      <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"/>
      <GlobalNamingResources>
        <Environment name="simpleValue" type="java.lang.Integer" value="30"/>
        <Resource auth="Container" description="User database that can be updated and saved" name="UserDatabase" type="org.apache.catalina.UserDatabase"/>
        <Resource name="testDB" type="javax.sql.DataSource"/>
         <ResourceParams name="UserDatabase">
          <parameter>
            <name>factory</name>
            <value>org.apache.catalina.users.MemoryUserDatabaseFactory</value>
          </parameter>
          <parameter>
            <name>pathname</name>
            <value>conf/tomcat-users.xml</value>
          </parameter>
        </ResourceParams>
         <ResourceParams name="testDB">
          <parameter>
            <name>maxWait</name>
            <value>5000</value>
          </parameter>
          <parameter>
            <name>maxActive</name>
            <value>10</value>
          </parameter>
          <parameter>
            <name>password</name>
            <value>testpass</value>
          </parameter>
          <parameter>
            <name>url</name>
            <value>jdbc:microsoft:sqlserver://localhost:1433;DataBaseName=test;</value>
          </parameter>
          <parameter>
            <name>driverClassName</name>
            <value>com.microsoft.jdbc.sqlserver.SQLServerDriver</value>
          </parameter>
          <parameter>
            <name>maxIdle</name>
            <value>2</value>
          </parameter>
          <parameter>
            <name>username</name>
            <value>testuser</value>
          </parameter>
        </ResourceParams>
      </GlobalNamingResources>
      <Service name="Catalina">
        <Connector acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" port="8080" redirectPort="8443" maxSpareThreads="75" maxThreads="150" minSpareThreads="25">
        </Connector>
        <Connector port="8009" protocol="AJP/1.3" protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler" redirectPort="8443">
        </Connector>
        <Engine defaultHost="localhost" name="Catalina">
          <DefaultContext className="org.apache.catalina.core.StandardDefaultContext">
            <ResourceLink global="testDB" name="testDB" type="javax.sql.DataSource"/>
              </DefaultContext>
          <Host appBase="webapps" name="localhost">
            <Logger className="org.apache.catalina.logger.FileLogger" prefix="localhost_log." suffix=".txt" timestamp="true"/>
          </Host>
          <Logger className="org.apache.catalina.logger.FileLogger" prefix="catalina_log." suffix=".txt" timestamp="true"/>
          <Realm className="org.apache.catalina.realm.UserDatabaseRealm"/>
        </Engine>
      </Service>
    </Server>
    [/code]

    Hello Sir,
    I tried my level best, I couldn't solve the error. Still iam getting the same error Name java:comp is not bound in this Context
    Again for your reference i am adding server.xml
    <?xml version='1.0' encoding='utf-8'?>
    <Server>
      <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"/>
      <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"/>
      <GlobalNamingResources>
        <Environment name="simpleValue" type="java.lang.Integer" value="30"/>
        <Resource auth="Container" description="User database that can be updated and saved" name="UserDatabase" type="org.apache.catalina.UserDatabase"/>
        <Resource name="jdbc/datasourceDB" auth="Container" type="javax.sql.DataSource"/>
         <ResourceParams name="UserDatabase">
          <parameter>
            <name>factory</name>
            <value>org.apache.catalina.users.MemoryUserDatabaseFactory</value>
          </parameter>
          <parameter>
            <name>pathname</name>
            <value>conf/tomcat-users.xml</value>
          </parameter>
        </ResourceParams>
         <ResourceParams name="jdbc/datasourceDB">
          <parameter>
            <name>maxWait</name>
            <value>5000</value>
          </parameter>
          <parameter>
            <name>maxActive</name>
            <value>10</value>
          </parameter>
          <parameter>
            <name>password</name>
            <value>mani</value>
          </parameter>
          <parameter>
            <name>url</name>
            <value>jdbc:microsoft:sqlserver://<servername>:1433;DataBaseName=trax;selectMethod=cursor</value>
          </parameter>
          <parameter>
            <name>driverClassName</name>
            <value>com.microsoft.jdbc.sqlserver.SQLServerDriver</value>
          </parameter>
          <parameter>
              <name>driverName</name>
              <value>jdbc:jtds:sqlserver://<servername>:1433;DatabaseName=trax</value>
          </parameter>
          <parameter>
            <name>maxIdle</name>
            <value>2</value>
          </parameter>
          <parameter>
            <name>username</name>
            <value>mani</value>
          </parameter>
        </ResourceParams>
      </GlobalNamingResources>
      <Service name="Catalina">
        <Connector acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" port="8080" redirectPort="8443" maxSpareThreads="75" maxThreads="150" minSpareThreads="25">
        </Connector>
        <Connector port="8009" protocol="AJP/1.3" protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler" redirectPort="8443">
        </Connector>
        <Engine defaultHost="localhost" name="Catalina">
          <DefaultContext className="org.apache.catalina.core.StandardDefaultContext">
            <ResourceLink global="datasourceDB" name="datasourceDB" type="javax.sql.DataSource"/>
              </DefaultContext>
          <Host appBase="webapps" name="localhost">
            <Logger className="org.apache.catalina.logger.FileLogger" prefix="localhost_log." suffix=".txt" timestamp="true"/>
          </Host>
          <Logger className="org.apache.catalina.logger.FileLogger" prefix="catalina_log." suffix=".txt" timestamp="true"/>
          <Realm className="org.apache.catalina.realm.UserDatabaseRealm"/>
        </Engine>
      </Service>
    </Server>part of web.xml added
         <resource-ref>
         <description> JDBC Driver:com.microsoft.jdbc.sqlserver.SQLServerDriver</description>
         <res-ref-name>jdbc/datasourceDB</res-ref-name>
         <res-type>javax.sql.DataSource</res-type>
         <res-auth>Container</res-auth>
         </resource-ref>my java code:
                   Context initCtx = new InitialContext();
                   Context envCtx = (Context) initCtx.lookup("java:comp/env");
                   DataSource ds = (DataSource) envCtx.lookup("jdbc/datasourceDB");
                   conn = ds.getConnection();Plz provide me the help.. i am suffering from this error since 1 week.
    Regards
    venki.

  • Classnotfound exception when locking account

    Hi All,
    thought I'd post this here. before heading to support.
    I recently noticed that accounts are not getting locked after the number of failed logon attempts has been exceeded. what I am getting is....
    2008-05-06 07:50:55,850 ERROR [XELLERATE.ACCOUNTMANAGEMENT] [ExecuteThread: '13' for queue: 'weblogic.kernel.Default'] - Class/Met
    hod: XellerateLoginModuleImpl/login encounter some problems: com/thortech/xl/scheduler/common/SchedulerUtil
    java.lang.NoClassDefFoundError: com/thortech/xl/scheduler/common/SchedulerUtil
    Has anyone run into this? I think it started after a patch was applied a long time ago.
    Thanx
    Fred

    The problem is located in your opencard.properties file:
    You have to include opencard.opt.emv.mgmt.EMVCardServiceFactory to your list of OpenCard.services.
    My complete opencard.properties is as follows:
    # Card service configuration  #
    OpenCard.services = \
        com.ibm.opencard.factory.MFCCardServiceFactory \
        opencard.opt.util.PassThruCardServiceFactory \
         opencard.opt.emv.mgmt.EMVCardServiceFactory
    # Card terminal configuration #
    OpenCard.terminals = com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory
    # Trace configuration         #
    OpenCard.trace = opencard:5

  • Exception when trying to run baseline_update.bat

    Hi,
    I am just trying to configure my machine for Endeca Guided Search. I am the steps given in Oracle Endeca Guided Search Getting Started guide. The section i am referring to is :- "Configuring the sample application on a single development server".
    1. I have run the deployment template deploy script - No error
    2. Ran initialize_services script from the Endeca Deployment Template - No Error
    3. To run a baseline update script on the Data Processing (ITL) server:
    a. Ran load_baseline_test_data.bat - No Error
    b. Ran baseline_update.bat - Getting the below exception (logs):
    INFO: [ITLHost] Starting component 'Dgidx'.
    Oct 28, 2012 3:55:02 PM com.endeca.soleng.eac.toolkit.script.Script runBeanShellScript
    SEVERE: Error communicating with EAC agent while starting component.
    Occurred while executing line 32 of valid BeanShell script:
    29| Forge.archiveLogDir();
    30| Forge.run();
    31| Dgidx.archiveLogDir();
    32| Dgidx.run();
    33|
    34| // distributed index, update Dgraphs
    35| DistributeIndexAndApply.run();
    Oct 28, 2012 3:55:02 PM com.endeca.soleng.eac.toolkit.Controller execute
    SEVERE: Caught an exception while invoking method 'run' on object 'BaselineUpdate'. Releasing locks.
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.endeca.soleng.eac.toolkit.Controller.invokeRequestedMethod(Controller.java:923)
         at com.endeca.soleng.eac.toolkit.Controller.execute(Controller.java:208)
         at com.endeca.soleng.eac.toolkit.Controller.main(Controller.java:87)
    Caused by: com.endeca.soleng.eac.toolkit.exception.AppControlException: Error executing valid BeanShell script.
         at com.endeca.soleng.eac.toolkit.script.Script.runBeanShellScript(Script.java:132)
         at com.endeca.soleng.eac.toolkit.script.Script.run(Script.java:80)
         ... 7 more
    Caused by: com.endeca.soleng.eac.toolkit.exception.EacCommunicationException: Error communicating with EAC agent while starting component.
         at com.endeca.soleng.eac.toolkit.component.Component.start(Component.java:153)
         at com.endeca.soleng.eac.toolkit.component.BatchComponent.run(BatchComponent.java:66)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at bsh.Reflect.invokeMethod(Unknown Source)
         at bsh.Reflect.invokeObjectMethod(Unknown Source)
         at bsh.Name.invokeMethod(Unknown Source)
         at bsh.BSHMethodInvocation.eval(Unknown Source)
         at bsh.BSHPrimaryExpression.eval(Unknown Source)
         at bsh.BSHPrimaryExpression.eval(Unknown Source)
         at bsh.BSHBlock.evalBlock(Unknown Source)
         at bsh.BSHBlock.eval(Unknown Source)
         at bsh.BSHBlock.eval(Unknown Source)
         at bsh.BSHIfStatement.eval(Unknown Source)
         at bsh.BSHBlock.evalBlock(Unknown Source)
         at bsh.BSHBlock.eval(Unknown Source)
         at bsh.BSHBlock.eval(Unknown Source)
         at bsh.BSHIfStatement.eval(Unknown Source)
         at bsh.Interpreter.eval(Unknown Source)
         at bsh.Interpreter.eval(Unknown Source)
         at bsh.Interpreter.eval(Unknown Source)
         at com.endeca.soleng.eac.toolkit.script.Script.runBeanShellScript(Script.java:118)
         ... 8 more
    Caused by: An error occurred while trying to start the component: ENDECA_MDEX_ROOT is required for this component,but eac.properties does not contain a valid ENDECA_MDEX_ROOT definition.: ENDECA_MDEX_ROOT is required for this component,but eac.properties does not contain a valid ENDECA_MDEX_ROOT definition.
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at java.lang.Class.newInstance0(Class.java:355)
         at java.lang.Class.newInstance(Class.java:308)
         at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:104)
         at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:90)
         at com.endeca.eac.client.EACFault.getDeserializer(EACFault.java:75)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized(BaseDeserializerFactory.java:154)
         at org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs(BaseDeserializerFactory.java:84)
         at org.apache.axis.encoding.DeserializationContext.getDeserializer(DeserializationContext.java:464)
         at org.apache.axis.encoding.DeserializationContext.getDeserializerForType(DeserializationContext.java:547)
         at org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild(SOAPFaultDetailsBuilder.java:157)
         at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
         at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
         at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:377)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2747)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
         at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
         at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
         at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
         at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
         at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
         at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
         at org.apache.axis.client.Call.invoke(Call.java:2767)
         at org.apache.axis.client.Call.invoke(Call.java:2443)
         at org.apache.axis.client.Call.invoke(Call.java:2366)
         at org.apache.axis.client.Call.invoke(Call.java:1812)
         at com.endeca.eac.client.ComponentControlPortSOAPBindingStub.startComponent(ComponentControlPortSOAPBindingStub.java:263)
         at com.endeca.soleng.eac.toolkit.component.Component.start(Component.java:149)
         ... 31 more
    Oct 28, 2012 3:55:02 PM com.endeca.soleng.eac.toolkit.base.LockManager releaseLock
    INFO: Released lock 'update_lock'.
    Checked the value of com.endeca.mdexRoot in eac.properties. It's C:\\Users\\Aditya\\Endeca\\MDEX\\6.2.2 , which is correct.
    Not sure what else to check now. Because of the above exceptions, not able to verify the installation with the JSP reference application. Get the below exception when try to test using host: localhost and port:15000:
    status >> invalid ENE location
    ENEConnectionException
    com.endeca.navigation.ENEConnectionException: Error establishing connection to retrieve Navigation Engine request 'http://localhost:15000/graph?node=0&offset=0&nbins=10&irversion=620'. Connection refused: connect
    Regards,
    Sachin Kakkar

    Are you executing baseline update using Aditya as a user?
    Open command prompt and try executing below command,
    echo %ENDECA_MDEX_ROOT% It should give you output as C:\\Users\\Aditya\\Endeca\\MDEX\\6.2.2
    HTH
    -Pravin

  • JNDI: DirContext::list throws on exception when existing context is in LDAP

    I was able to import tutorial.ldif using LDAP Browser/Editor without incident:
    http://www-unix.mcs.anl.gov/~gawor/ldap/
    My LDAP now has the following tree:
    o=JNDITutorial
    ou=Groups
    5 cn entries
    ou=People
    10+ cn entries
    However, when calling DirContext::list("ou=People"), it throws the following exception message:
    javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name 'ou=People'
    Here is the code:
         final static String ldapServerName = "backbone.seamonkey";
        public static void main(String[] args) {
         // Set up the environment for creating the initial context
         Hashtable env = new Hashtable(11);
         env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory");
         env.put(Context.PROVIDER_URL, "ldap://" + ldapServerName +"/o=JNDITutorial");
         try {
             // Create initial context
             DirContext ctx = new InitialDirContext(env);
             // Return enum of people, but throws an exception...
             NamingEnumeration people = ctx.list("ou=People");

    I tried the same with a known LDAP service: OpenLDAP.org, and I get the same exception NameNotFoundException thrown with the following code:
         final static String m_ldapServerName = "OpenLDAP.org";
        public static void main(String[] args) {
         // Set up the environment for creating the initial context
         Hashtable<Object, Object> env = new Hashtable<Object, Object>();
         env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory");
         env.put(Context.PROVIDER_URL, "ldap://" + m_ldapServerName + ":389/");
         try {
             // Create initial context
             DirContext ctx = new InitialDirContext(env);
             // Return enum of people, but throws an exception...
             NamingEnumeration people = ctx.list("ou=People");

  • I just downloaded ilife every things working fine except, when i try to open iPhoto it said ''You can't open the application iPhoto because it may be damaged or incomplete. i tried to re-download it but my password didn't work for some reason. HELPPPP!!!

    i just downloaded ilife every things working fine except, when i try to open iPhoto it said ''You can't open the application iPhoto because it may be damaged or incomplete. i tried to re-download it but my password didn't work for some reason. HELPPPP!!!

    Make a temporary, backup copy (if you don't already have a backup copy) of the library and apply the two fixes below in order as needed:
    Fix #1
    Launch iPhoto with the Command+Option keys held down and rebuild the library.
    Select the options identified in the screenshot. 
    Fix #2
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    Download iPhoto Library Manager and launch.
    Click on the Add Library button, navigate to your Home/Pictures folder and select your iPhoto Library folder.
    Now that the library is listed in the left hand pane of iPLM, click on your library and go to the File ➙ Rebuild Library menu option
    In the next  window name the new library and select the location you want it to be placed.
    Click on the Create button.
    Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments but not books, calendars or slideshows. The original library will be left untouched for further attempts at fixing the problem or in case the rebuilt library is not satisfactory.
    Happy New Year

  • Exception when retreiveing list from JNDI when the list updates at the same time.

    Hi
    I get a Exception when i am retreiving a list from the jndi:
    Start server side stack trace:
    com.sun.java.util.collections.ConcurrentModificationException
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.lang.RuntimeException.<init>(Compiled Code)
    at
    com.sun.java.util.collections.ConcurrentModificationException.<init>(Concurr
    entModificationException.java:48)
    at com.sun.java.util.collections.HashMap$HashIterator.next(Compiled
    Code)
    at
    weblogic.jndi.toolkit.ReadOnlyMapBasedNamingStore$1.nextElement(Compiled
    Code)
    at weblogic.jndi.toolkit.AbstractNamingEnumeration.next(Compiled
    Code)
    at
    weblogic.jndi.toolkit.AbstractNamingEnumeration.nextElement(Compiled Code)
    at
    weblogic.utils.enumerations.BatchingEnumerationBase.nextBatch(Compiled Code)
    at
    weblogic.utils.enumerations.BatchingEnumerationBase_WLSkel.invoke(BatchingEn
    umerationBase_WLSkel.java:66)
    at weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(Compiled
    Code)
    at
    weblogic.rmi.extensions.BasicRequestHandler.handleRequest(Compiled Code)
    at
    weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:1
    5)
    at weblogic.kernel.ExecuteThread.run(Compiled Code)
    End server side stack trace
    It says in the documentation of the weblogic server that: if the jndi is
    updated while you are retreiving the list from the server, you will only get
    the old list.
    And that is ok for me. But insted i get this exception that interupts the
    list retreiving. And if i just catch this exception an just continue or
    start again, it comes over and over.
    the code that does this, is like this:
    InitialContext context = new InitialContext(env);
    NamingEnumeration list = context.listBindings("sid");
    Vector copy = new Vector(10000,1000);
    log("Initiating copy of JNDI list!");
    try
    while (list.hasMore())
    copy.addElement(list.next());
    catch (Exception e)
    log("Copying interupted:" + e.toString());
    How can i solve this ?
    Is it a configuration of the server problem ?
    Are ther other ways of retreiving the list ?
    -Ståle Tomten

    Be carefull - you read Object two times, so if you
    have only one object you will get null after second
    reading, and NullPointerException as a result if you
    try to do smth with null.
    Wrong:
    while( inputFromServlet1.readObject() != null)
    Object o = inputFromServlet1.readObject();Previous man example is also wrong because you
    cannot declare anything in while
    Sorry for this one... I certainly must have spent too much time on these fora ;-)
    Thanks for the correction, by the way...
    Correct:
    Object o;
    while( (o = inputFromServlet1.readObject()) != null)
    String str = (String)o;
    System.out.println("Got Object");

  • Ipod shuffle 1GB Re: how to resurrect a dead shuffle? Nov 5, 2008 4:42 AM (in response to Ipod shuffle 1GB) there is no sound cant find in Itunes not in showing in drive's list please tell me how to restore or reset red light showing when try to power on

    Ipod shuffle 1GB
    Re: how to resurrect a dead shuffle? 
    Nov 5, 2008 4:42 AM (in response to Ipod shuffle 1GB)
    there is no sound cant find in Itunes not in showing in drive's list please tell me how to restore or reset red light showing when try to power on or conect with USB....
    If you can plz help to fiX it
    thanx 
    intel pc , Windows 7, core 2 Dule Core

    Here is the answer: go to http://support.apple.com In the search box at the top left type in the number 304996 and hit enter. This will bring you to a page with 4 solutions. Click on solution number 1 and follow the instructions. This should fix it.
    bigdogdan

  • HT1222 I need some help.... I Have the iPhone 4S and downloaded the new software (6.0) and everything seems great so far except when I try to open a link in safari from a different app (messages, Facebook, ext..) it glitches and won't load. Any advice?

    I need some help.... I Have the iPhone 4S and downloaded the new software (6.0) and everything seems great so far except when I try to open a link in safari from a different app (ie..messages, Facebook, ect..) it glitches and won't load. The blue loading bar will just jump back and forth and the page will not load properly if at all....

    It sounds like you may have multiple problems, but none of them are likely to be caused by malware.
    First, the internet-related issues may be related to adware or a network compromise. I tend to lean more towards the latter, based on your description of the problem. See:
    http://www.adwaremedic.com/kb/baddns.php
    http://www.adwaremedic.com/kb/hackedrouter.php
    If investigation shows that this is not a network-specific issue, then it's probably adware. See my Adware Removal Guide for help finding and removing it. Note that you mention AdBlock as if it should have prevented this, but it's important to understand that ad blockers do not protect you against adware in any way. Neither would any kind of anti-virus software, which often doesn't detect adware.
    As for the other issues, it sounds like you've got some serious corruption. I would be inclined to say it sounds like a failing drive, except it sounds like you just got it replaced. How did you get all your files back after the new drive was installed?
    (Fair disclosure: I may receive compensation from links to my sites, TheSafeMac.com and AdwareMedic.com, in the form of buttons allowing for donations. Donations are not required to use my site or software.)

  • Running OS X 10.9 but when trying to list an item to sell on ebay it say=Sorry. Your browser doesn't support the popular listing options selling form. If you'd like to try it, please try using Internet Explorer 6 or higher, or Firefox 1.5 or higher. Help

    I am running OS X 10.9
    but when trying to list an item to sell on ebay it say=  Sorry. Your browser doesn't support the popular listing options selling form. If you'd like to try it, please try using Internet Explorer 6 or higher, or Firefox 1.5 or higher.
    Help please so I can continue my sad life

    Tried to see if it is looking for flash and it is disabled or not installed by default; java (not being installed and best to turn it off normally), browser agent to report it as something else.
    Opera comes the closest I've read to spoofing a site telling it is IE but you have to do so per site. Also OmniWeb.

Maybe you are looking for