sure,i was just reading your post infact, lol
My connection properties is like so;
==============================
Properties ConnectionProps = new Properties();
ConnectionProps.setPropert
("DSC_DEFAULT_EJB_ENDPOINT", "jnp://wfdev:1099");
ConnectionProps.setProperty("DSC_TRANSPORT_PROTOCOL","EJB");
ConnectionProps.setProperty("DSC_SERVER_TYPE", "JBoss");
ConnectionProps.setProperty
("DSC_CREDENTIAL_USERNAME", "administrator");
ConnectionProps.setProperty("DSC_CREDENTIAL_PASSWORD", "password");
==============================
So as you can see, my server is remote, so rather than using local host i put the server name. This is when i'm using ejb and for some reason when i run it locally as a stand alone app i get a connection error but when i import it into workbench it works fine. This is the error i get when i run it as a stand alone;
============================== [com.adobe.livecycle.usermanager.client.DirectoryManagerServiceClient] errorCode:16385 errorCodeHEX:0x4001 message:Exception thrown is NOT a DSCException : UnExpected From DSC chainedException:java.lang.IllegalStateExceptionchainedExceptionMessage:null chainedException trace:java.lang.IllegalStateException
at com.adobe.idp.dsc.clientsdk.ServiceClientFactory$1.handleThrowable(ServiceClientFactory.java:68)
at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:220)
at com.adobe.livecycle.usermanager.client.DirectoryManagerServiceClient.findPrincipals(DirectoryManagerServiceClient.java:840)
at com.adobe.sample.taskmanager.RetrieveTaskInfo.main(RetrieveTaskInfo.java:65)
Caused by: java.lang.NoClassDefFoundError: javax/ejb/EJBException
at com.adobe.idp.dsc.clientsdk.ServiceClientFactory.evaluateMessageDispatcher(ServiceClientFactory.java:512)
at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:215)
... 2 more
at com.adobe.livecycle.usermanager.client.ManagerServiceClient.throwNonUMExceptionAsUMException(ManagerServiceClient.java:53)
at com.adobe.livecycle.usermanager.client.ManagerServiceClient.handleException(ManagerServiceClient.java:95)
at com.adobe.livecycle.usermanager.client.DirectoryManagerServiceClient.findPrincipals(DirectoryManagerServiceClient.java:844)
at com.adobe.sample.taskmanager.RetrieveTaskInfo.main(RetrieveTaskInfo.java:65)
==============================
But when i switch it around to SOAP, it works as a stand alone app, but not when i import it into workbench. The log shows this when i run it.
==============================
2008-05-26 10:15:04,567 INFO [STDOUT] | [com.adobe.livecycle.usermanager.client.DirectoryManagerServiceClient] errorCode:16385 errorCodeHEX:0x4001 message:Exception thrown is NOT a DSCException : UnExpected From DSC chainedException:ALC-DSC-217-000: com.adobe.idp.dsc.DSCRuntimeException: Could not create/start dispatcher class com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapAxisDispatcher for protocol: SOAP chainedExceptionMessage:Could not create/start dispatcher class com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapAxisDispatcher for protocol: SOAP chainedException trace:ALC-DSC-217-000: com.adobe.idp.dsc.DSCRuntimeException: Could not create/start dispatcher class com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapAxisDispatcher for protocol: SOAP
at com.adobe.idp.dsc.clientsdk.ServiceClientFactory.createMessageDispatcher(ServiceClientFactory.java:551)
at com.adobe.idp.dsc.clientsdk.ServiceClientFactory.getMessageDispatcher(ServiceClientFactory.java:497)
at com.adobe.idp.dsc.clientsdk.ServiceClient.getMessageDispatcher(ServiceClient.java:239)
at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:205)
at com.adobe.livecycle.usermanager.client.DirectoryManagerServiceClient.findPrincipals(DirectoryManagerServiceClient.java:840)
at helloComponent.hi(helloComponent.java:45)
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:585)
at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.java:181)
at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor.java:134)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:44)
at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(TransactionInterceptor.java:74)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTransactionCMTAdapterBean.java:336)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doSupports(EjbTransactionCMTAdapterBean.java:212)
.....etc, etc
==============================
There is no "caused by" line in the log or anything like that, and my component actually does return something workbench, just not the result that i expected. Hopefully you'll be able to find something helpful in there.