0 Replies Latest reply on Sep 28, 2006 5:41 AM by Carlo Bongiovanni

    problem in the connection ssl of a jar i wrote

    Carlo Bongiovanni Newbie

      i configured jboss to use iiop over ssl. on jboss there is installed adobe policy server. i wrote a program, and put it in a jar deployed to jboss, this code is something like this:

      ...
      EDCFactory apsSession = null;
      
       Properties apsProperty = new Properties();
      
       //Specify property values
       apsProperty.setProperty(EDCFactory.USERNAME_PROPERTY_NAME,"user");
       apsProperty.setProperty(EDCFactory.PASSWORD_PROPERTY_NAME,"password");
       apsProperty.setProperty(EDCFactory.URL_PROPERTY_NAME,"https://xxx.yyy.zzz:8443/edcws/services/EDCPolicyService?wsdl");
       apsProperty.setProperty(EDCFactory.MODE_PROPERTY_NAME,"soap");
      
       try{
       apsSession = EDCFactory.connect(apsProperty);
      ...
      


      and i get an error at the line which try the connection by using SOAP: "apsSession = EDCFactory.connect(apsProperty);"

      when i look at the "server.log", i get this error:

      ...
      2006-09-28 10:53:45,796 ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackLocalException in method: public abstract void javax.jms.MessageListener.onMessage(javax.jms.Message), causedBy:
      javax.ejb.EJBException: Unexpected Error
      java.lang.NoClassDefFoundError: com/adobe/edc/sdk/EDCFactory
       at it.softwareAdv.PostEventHandler.checkLimite(PostEventHandler.java:203)
       at it.softwareAdv.PostEventHandler.processEvent(PostEventHandler.java:66)
      ...
      


      where the error can be?

      Thanks,
      CB