0 Replies Latest reply on Dec 29, 2009 1:01 AM by yashu823

    Unable to Connect java through LCDS

    yashu823

      Hi,

       

      I want to connect to java classes through LCDS. I am using flash builder 4, Eclipse Ganymade, Tomcat server.

       

      Error Looks like this

       

      [LCDS]Deserializing AMF/HTTP request
      Version: 3
        (Message #0 targetURI=null, responseURI=/2)
          (Array #0)
            [0] = (Typed Object #0 'flex.messaging.messages.RemotingMessage')
              operation = "authenticateUser"
              source = null
              clientId = null
              timeToLive = 0
              timestamp = 0
              headers = (Object #1)
                DSEndpoint = null
                DSId = "671AE2EC-CA0C-B16A-27D9-587F05B8F1A1"
              messageId = "90B2CF64-5275-B21D-7185-D9A14E00DB0B"
              destination = "TestService"
              body = (Array #2)
                [0] = "administrator"
                [1] = "password"

       

      <<<<<<<<<<Entering authenticateUser:UserManagementService>>>>>>>>>administrator:
      ::::password
      com.adobe.idp.um.api.UMException| [com.adobe.livecycle.usermanager.client.Authen
      ticationManagerServiceClient] errorCode:16385 errorCodeHEX:0x4001 message:Error
      wrapped in DSCException : TRACE
              at com.adobe.livecycle.usermanager.client.ManagerServiceClient.throwErro
      rAsUMException(ManagerServiceClient.java:57)
              at com.adobe.livecycle.usermanager.client.ManagerServiceClient.handleExc
      eption(ManagerServiceClient.java:92)
              at com.adobe.livecycle.usermanager.client.AuthenticationManagerServiceCl
      ient.authenticate(AuthenticationManagerServiceClient.java:113)
              at com.adobe.solutions.ffa.util.UserManagementUtil.validateUser(UserMana
      gementUtil.java:19)
              at com.adobe.solutions.ffa.service.UserManagementService.authenticateUse
      r(UserManagementService.java:10)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
              at java.lang.reflect.Method.invoke(Unknown Source)
              at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdap
      ter.java:421)
              at flex.messaging.services.RemotingService.serviceMessage(RemotingServic
      e.java:183)
              at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java
      :1400)
              at flex.messaging.AsyncMessageBroker.routeMessageToService(AsyncMessageB
      roker.java:571)
              at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndp
      oint.java:1005)
              at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBroker
      Filter.java:103)
              at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:15
      8)
              at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:
      44)
              at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFi
      lter.java:67)
              at flex.messaging.endpoints.amf.SerializationFilter.invoke(Serialization
      Filter.java:165)
              at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.ja
      va:293)
              at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java
      :352)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:290)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:206)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
      alve.java:233)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
      alve.java:191)
              at flex.messaging.security.TomcatValve.invoke(TomcatValve.java:151)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
      ava:128)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
      ava:102)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
      ve.java:109)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
      a:293)
              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
      :849)
              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
      ss(Http11Protocol.java:583)
              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:45
      4)
              at java.lang.Thread.run(Unknown Source)
      error: Error wrapped in DSCException : TRACE[LCDS]Adapter 'java-object' called '
      com.adobe.solutions.ffa.service.UserManagementService.authenticateUser(java.util
      .Arrays$ArrayList (Collection size:2)
        [0] = administrator
        [1] = password
      )'
      [LCDS]Result: 'true'
      [LCDS]Serializing AMF/HTTP response
      Version: 3
        (Message #0 targetURI=/2/onResult, responseURI=)
          (Externalizable Object #0 'DSK')
            true
      1.262076645285E12
      (Byte Array #1, Length 16)
      (Byte Array #2, Length 16)
      (Byte Array #3, Length 16)

       

       

      Plz help me in fixing this issue....

       

      With regards,

      yashu