4 Replies Latest reply on Sep 9, 2011 7:45 AM by Michael.Imhoff

    workbench cant find custom JavaType value objects

    DaviddeBruine
      Hi all,

      We have developed a custom component that uses various custom Java Objects (POJOS). We have specified the java objects in the component.xml file as:








        


      using both true and false for the "standard" attribute. (neither seem to have an effect on the end result)

      When within workbench we can create processes that use the custom java types as input and output variables.

      We have created one process that returns a list of custom java objects and this works very well.

      however when we try to send an instance of custom java object to the process as the input variable(either from within workbench or from a flex cliente using the Remoting interface) the call fails with the following errors:

      From Flex Client:
      --------------------------------------------------------------------
      Root cause: flex.messaging.MessageException: Class cat.x.y.cairngorm.vo.DocumentEstatVO could not be loaded by any available classloader at com.adobe.idp.dsc.provider.impl.lcr.ServiceInvoker.createFromASObject(ServiceInvoker.java :560)
      --------------------------------------------------------------------

      From workbench instanciating a new javaobject and passing it as the input parameter:
      ---------------------------------------------------------------------
      Caused by: Sourced file: inline evaluation of: ``import cat.x.y.cairngorm.vo.DocumentEstatVO;  try {  DocumentEstatVO do . . . '' : Typed variable declaration : Class: DocumentEstatVO not found in namespace : at Line: 5 : in file: inline evaluation of: ``import cat.x.y.cairngorm.vo.DocumentEstatVO;  try {  DocumentEstatVO do . . . '' : DocumentEstatVO
      at bsh.BSHAmbiguousName.toClass(Unknown Source)

      ---------------------------------------------------------------------

      we feel it has something to do with LC not being able to find the class files for the custom classes, but i dont understand how we are able to invoke a process and get a a list of these "unfindable" classes.

      Any help would be greatly appreciated.

      Is there a tutorial out there connecting Flex to LC Process Management?

      Thank you

      David