Watched Folder Endpoint

Hai,
Where sholud we use the Watched Folder Endpoint?
What is the use of it?
Thanks for any reply.
-Aswani.

Task manager end point is for Workspace.
Watched folder end point is for stand-alone files.
Email end point is to initiate process upon email arrivals to a specific INBOX.
SOAP for web services
Remoting for Flex
EJB for Java based invocations.
Clear?
-Nith

Similar Messages

  • Problem with Watched Folder endpoint

    Hi,
    We have a problem with a watched folder endpoint. The watched folder is set in a directory in a linux server. The directory then is mapped to a windows directory where files arrive from time to time. Everything works fine until the watched folder service stops for no particular reason. After that we need to restart the service from the admin UI console.
    I found in another post something related to the MySql database losing connection with livecycle after some inactivity, but I'm not sure if this is our case or even how to solve the problem.
    Here's what we found in the log
    2010-11-11 17:10:31,890 INFO  [com.adobe.idp.dsc.provider.service.file.write.impl.FileResultHandlerImpl] FileResultHandlerImpl ----- preserved- source ----/data/livecycle/lc_wrk/edi/stage/Wx130df02e731a9c7b14738905/C0158_208.dat--- to ---/data/livecycle/lc_wrk/edi/preserve/ /C0158_208.dat
    2010-11-11 20:39:46,366 INFO  [com.adobe.idp.scheduler.jobstore.DSCJobStoreTX] Handling 1 trigger(s) that missed their scheduled fire-time.
    2010-11-11 20:40:22,056 ERROR [com.adobe.idp.scheduler.jobstore.DSCJobStoreTX] Error retrieving job, setting trigger state to ERROR.
    org.quartz.JobPersistenceException: Couldn't retrieve job: Prepared statement needs to be re-prepared [See nested exception: java.sql.SQLException: Prepared statement needs to be re-prepared]
    at org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveJob(JobStoreSupport.java:1338)
    at org.quartz.impl.jdbcjobstore.JobStoreSupport.triggerFired(JobStoreSupport.java:2789)
    at org.quartz.impl.jdbcjobstore.JobStoreSupport$37.execute(JobStoreSupport.java:2757)
    at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.ja va:3662)
    at org.quartz.impl.jdbcjobstore.JobStoreSupport.triggerFired(JobStoreSupport.java:2751)
    at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:313)
    Caused by: java.sql.SQLException: Prepared statement needs to be re-prepared
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2928)
    at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1571)
    at com.mysql.jdbc.ServerPreparedStatement.serverExecute(ServerPreparedStatement.java:1124)
    at com.mysql.jdbc.ServerPreparedStatement.executeInternal(ServerPreparedStatement.java:676)
    at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1030)
    at org.jboss.resource.adapter.jdbc.CachedPreparedStatement.executeQuery(CachedPreparedStatem ent.java:90)
    at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeQuery(WrappedPreparedStat ement.java:255)
    at org.quartz.impl.jdbcjobstore.StdJDBCDelegate.selectJobListeners(StdJDBCDelegate.java:843)
    at org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveJob(JobStoreSupport.java:1319)
    ... 5 more
    2010-11-11 20:40:22,061 ERROR [org.quartz.core.ErrorLogger] An error occured while firing trigger 'WatchedFolder.WatchedFolder:1107'
    org.quartz.JobPersistenceException: Couldn't retrieve job: Prepared statement needs to be re-prepared [See nested exception: java.sql.SQLException: Prepared statement needs to be re-prepared]
    at org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveJob(JobStoreSupport.java:1338)
    at org.quartz.impl.jdbcjobstore.JobStoreSupport.triggerFired(JobStoreSupport.java:2789)
    at org.quartz.impl.jdbcjobstore.JobStoreSupport$37.execute(JobStoreSupport.java:2757)
    at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.ja va:3662)
    at org.quartz.impl.jdbcjobstore.JobStoreSupport.triggerFired(JobStoreSupport.java:2751)
    at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:313)
    Caused by: java.sql.SQLException: Prepared statement needs to be re-prepared
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2928)
    at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1571)
    at com.mysql.jdbc.ServerPreparedStatement.serverExecute(ServerPreparedStatement.java:1124)
    at com.mysql.jdbc.ServerPreparedStatement.executeInternal(ServerPreparedStatement.java:676)
    at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1030)
    at org.jboss.resource.adapter.jdbc.CachedPreparedStatement.executeQuery(CachedPreparedStatem ent.java:90)
    at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeQuery(WrappedPreparedStat ement.java:255)
    at org.quartz.impl.jdbcjobstore.StdJDBCDelegate.selectJobListeners(StdJDBCDelegate.java:843)
    at org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveJob(JobStoreSupport.java:1319)
    ... 5 more
    2010-11-11 20:56:46,550 INFO  [com.adobe.idp.scheduler.jobstore.DSCJobStoreTX] Handling 1 trigger(s) that missed their scheduled fire-time.
    thanks

    Originally Posted by bjbradleyUSC
    Is there a problem with running the ZCM client and the Endpoint client on the same machine?? I am having problems getting both of them to install on a single machine.
    If I install the ZCM Client, it will pull down the policies and work correctly. Then I try to install Endpoint and it will not finish up it's checkin procedure and it will not get the policies set in place for it.
    Otherwise, I'll start with Endpoint on a fresh machine install it and it works great pulling down the policies. But the ZCM doesn't seem to pull down the policies correctly?
    Just wondering if this was known problem or is there something I am not doing correctly...
    Thanks
    BJ Bradley
    This is issue that you are seeing is just for the client, correct? The ZESM server and ZCM server are on separate machines, correct?

  • "Could not find the watch folder endpoint to save this failure" message found in log

    Hi,
    We have multiple Watched folders deployed on a machine. Every second the below ERROR message is appended to the log file.
    Following are the excerpt of log:
    2015-02-03 03:13:20,627 ERROR [com.adobe.idp.dsc.provider.service.file.write.impl.FileResultHandlerImpl] Could not find the watch folder endpoint to save this failure.
    2015-02-03 03:13:20,627 ERROR [com.adobe.idp.dsc.provider.service.file.write.impl.FileResultHandlerImpl] Failed to initialize the file provider for endpoint null. Check exception for more details
    How to get rid of this issue????????????
    Regards,
    -Carter J

    Hi,
    We have multiple Watched folders deployed on a machine. Every second the below ERROR message is appended to the log file.
    Following are the excerpt of log:
    2015-02-03 03:13:20,627 ERROR [com.adobe.idp.dsc.provider.service.file.write.impl.FileResultHandlerImpl] Could not find the watch folder endpoint to save this failure.
    2015-02-03 03:13:20,627 ERROR [com.adobe.idp.dsc.provider.service.file.write.impl.FileResultHandlerImpl] Failed to initialize the file provider for endpoint null. Check exception for more details
    How to get rid of this issue????????????
    Regards,
    -Carter J

  • Watched folder endpoint - error

    Hello all,
    I am currently developing process that with watched folder endpoit.
    When I deploy process, exception is thrown (deployment fails).
    I checked LC has access to /opt/TransferScans folder - I created dummy process (endpoint SOAP) which reads, creates and deletes files - it is working.
    I even tried to create /opt/TransferScans/008/result manually. After this operation deployment fails - it says that folder is used by another process (namaed null) form host 'unknown'
    Any ideas to solve the problem?
    ApplicationRegistryImpl:deploy(TestApp, 1.0):com.adobe.idp.dsc.service.file.impl.FileProviderRuntimeException(Failure to create a directory /opt/TransferScans/008/result)
    ALC-FEP-014-000: com.adobe.idp.dsc.service.file.impl.FileProviderRuntimeException: Failure to create a directory /opt/TransferScans/008/result
        at com.adobe.idp.dsc.service.file.impl.FilePathBuilder.makeDirectoryPath(FilePathBuilder.jav a:270)
        at com.adobe.idp.dsc.service.file.impl.WatchedFolderUtils.verifyAndCreateFilePath(WatchedFol derUtils.java:1370)
        at com.adobe.idp.dsc.provider.service.file.impl.FileEndpointValidator.validateSubFolderURL(F ileEndpointValidator.java:98)
        at com.adobe.idp.dsc.provider.service.file.impl.FileEndpointValidator.validateResultURL(File EndpointValidator.java:83)
        at com.adobe.idp.dsc.provider.service.file.impl.FileEndpointValidator.validateEndpoint(FileE ndpointValidator.java:47)
        at com.adobe.idp.dsc.provider.service.file.impl.FileEndpointManagerImpl.onEndpointCreation(F ileEndpointManagerImpl.java:169)
        at com.adobe.idp.dsc.provider.service.file.impl.FileConnector.onEndpointCreate(FileConnector .java:47)
        at sun.reflect.GeneratedMethodAccessor131382.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
        at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)
        at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
        at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassi vationInterceptor.java:53)
        at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
        at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
        at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:357)
        at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doSupports(Ej bTransactionCMTAdapterBean.java:227)
        at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapter_z73hg_ELOImpl.doS upports(EjbTransactionCMTAdapter_z73hg_ELOImpl.java:457)
        at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:104)
        at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
        at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
        at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)
        at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
        at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
        at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
        at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:165)
        at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
        at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
        at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
        at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:115)
        at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)
        at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:93)
        at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:22 5)
        at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:66)
        at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
        at com.adobe.idp.dsc.registry.endpoint.impl.EndpointRegistryImpl.createEndpoint(EndpointRegi stryImpl.java:556)
        at sun.reflect.GeneratedMethodAccessor131381.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
        at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)
        at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
        at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassi vationInterceptor.java:53)
        at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
        at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
        at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doBMT(EjbTran sactionBMTAdapterBean.java:197)
        at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapter_jmbvky_ELOImpl.do BMT(EjbTransactionBMTAdapter_jmbvky_ELOImpl.java:141)
        at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:95)
        at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
        at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
        at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)
        at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
        at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
        at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
        at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:165)
        at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
        at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
        at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
        at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:115)
        at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)
        at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:93)
        at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:22 5)
        at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:66)
        at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
        at com.adobe.idp.dsc.registry.endpoint.client.EndpointRegistryClient.invoke(EndpointRegistry Client.java:564)
        at com.adobe.idp.dsc.registry.endpoint.client.EndpointRegistryClient.createEndpoint(Endpoint RegistryClient.java:373)
        at com.adobe.idp.applicationmanager.application.tlo.impl.startpoint.StartpointVisualizationR untime.createWatchedFolderManagerEndpoint(StartpointVisualizationRuntime.java:868)
        at com.adobe.idp.applicationmanager.application.tlo.impl.OrchestrationTLOHandler.createEndpo ints(OrchestrationTLOHandler.java:197)
        at com.adobe.idp.applicationmanager.application.tlo.impl.OrchestrationTLOHandler.deploy(Orch estrationTLOHandler.java:118)
        at com.adobe.idp.applicationmanager.application.impl.ApplicationRegistryImpl$7.doInTransacti on(ApplicationRegistryImpl.java:1102)
        at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doRequiresNew (EjbTransactionBMTAdapterBean.java:218)
        at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapter_jmbvky_ELOImpl.do RequiresNew(EjbTransactionBMTAdapter_jmbvky_ELOImpl.java:63)
        at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:133)
        at com.adobe.idp.dsc.transaction.impl.DefaultTransactionTemplate.execute(DefaultTransactionT emplate.java:79)
        at com.adobe.idp.applicationmanager.application.impl.ApplicationRegistryImpl.deploy(Applicat ionRegistryImpl.java:1100)
        at com.adobe.idp.applicationmanager.service.ApplicationManagerService.createAndDeployApplica tionConfiguration(ApplicationManagerService.java:1314)
        at com.adobe.idp.applicationmanager.service.ApplicationManagerService.importES2ApplicationAr chive(ApplicationManagerService.java:1278)
        at com.adobe.idp.applicationmanager.service.ApplicationManagerService._importApplicationArch ive(ApplicationManagerService.java:197)
        at com.adobe.idp.applicationmanager.service.ApplicationManagerService.importApplicationArchi ve(ApplicationManagerService.java:115)
        at sun.reflect.GeneratedMethodAccessor130896.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
        at com.adobe.idp.applicationmanager.invoker.ApplicationInvoker.invoke(ApplicationInvoker.jav a:38)
        at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)
        at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
        at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassi vationInterceptor.java:53)
        at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
        at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
        at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:357)
        at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doSupports(Ej bTransactionCMTAdapterBean.java:227)
        at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapter_z73hg_ELOImpl.doS upports(EjbTransactionCMTAdapter_z73hg_ELOImpl.java:457)
        at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:104)
        at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
        at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
        at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)
        at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
        at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
        at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
        at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:188)
        at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
        at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
        at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
        at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:115)
        at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)
        at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:93)
        at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:22 5)
        at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:66)
        at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
        at com.adobe.idp.applicationmanager.client.ApplicationManagerClient.callApplicationManager(A pplicationManagerClient.java:78)
        at com.adobe.idp.applicationmanager.client.ApplicationManager.importApplicationArchive(Appli cationManager.java:165)
        at com.adobe.livecycle.design.service.commands.DeployApplicationCommand.execute(DeployApplic ationCommand.java:132)
        at com.adobe.livecycle.design.service.DesigntimeServiceImpl.deploy(DesigntimeServiceImpl.jav a:859)
        at sun.reflect.GeneratedMethodAccessor130895.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
        at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)
        at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
        at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassi vationInterceptor.java:53)
        at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
        at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
        at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:357)
        at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doSupports(Ej bTransactionCMTAdapterBean.java:227)
        at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapter_z73hg_ELOImpl.doS upports(EjbTransactionCMTAdapter_z73hg_ELOImpl.java:457)
        at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:104)
        at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
        at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
        at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)
        at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
        at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
        at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
        at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:188)
        at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
        at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
        at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
        at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:115)
        at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)
        at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.invoke(AbstractMessageReceiv er.java:329)
        at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invokeCall(SoapSdkEndpoint. java:139)
        at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invoke(SoapSdkEndpoint.java :81)
        at sun.reflect.GeneratedMethodAccessor754.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
        at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
        at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
        at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
        at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
        at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
        at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper. java:227)
        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
        at com.adobe.idp.dsc.provider.impl.soap.axis.InvocationFilter.doFilter(InvocationFilter.java :43)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
        at com.adobe.idp.um.auth.filter.CSRFFilter.doFilter(CSRFFilter.java:41)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletC ontext.java:3496)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(Unknown Source)
        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2 180)
        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    Task manager end point is for Workspace.
    Watched folder end point is for stand-alone files.
    Email end point is to initiate process upon email arrivals to a specific INBOX.
    SOAP for web services
    Remoting for Flex
    EJB for Java based invocations.
    Clear?
    -Nith

  • I want to read the content of a text file dropped in a watched folder into a string variable

    I have a workbench process with 2 variable.
    inDoc (DataType=Document/input/required)
    outStr (DataType = String/output)
    The document being passed to the workflow is a text file with 4 lines of text in it.  when the text file is dropped into the watched folder, it will be assigned to the inDoc parameter in the workflow.
    My workflow needs to extract the 4 lines of text and write it into a string (outStr).
    Id like to use the FileUtilsService.ReadString service but i can't since its input parameter is the file path.  When i do, i get the following error...
    Caused by: ALC-FUT-001-011: File rO0ABXNyABZjb20uYWRvYmUuaWRwLkRvY3VtZW50yAEFUxsO+CEDACNJAAtfY2FsbGJhY2tJZFoADV9kZXNlcmlhb Gl6ZWRJABBfZGlzcG9zYWxUaW1lb3V0WgAJX2Rpc3Bvc2VkWgAZX2lzRGlzcG9zYWxUaW1lb3V0RGVmYXVsdFoAE19 pc1RyYW5zYWN0aW9uQm91bmRKAAdfbGVuZ3RoSQAOX21heElubGluZVNpemVaAAhfb3duRmlsZVoAC19wYXNzaXZhd GVkWgALX3BlcnNpc3RlbnRJABFfc2VuZGVyQ2FsbGJhY2tJZFoAEV9zZW5kZXJQYXNzaXZhdGVkWgARX3NlbmRlclB lcnNpc3RlbnRJAA5fc2VuZGVyVmVyc2lvbkkABl9zdGF0ZUwAC19hdHRyaWJ1dGVzdAATTGphdmEvdXRpbC9IYXNoT WFwO0wACF9jYWNoZUlkdAAfTGNvbS9hZG9iZS9pZHAvRG9jdW1lbnRDYWNoZUlEO0wADF9jYWxsYmFja1JlZnQAIUx jb20vYWRvYmUvaWRwL0lEb2N1bWVudENhbGxiYWNrO0wADF9jb250ZW50VHlwZXQAEkxqYXZhL2xhbmcvU3RyaW5nO 0wAC19kYXRhQnVmZmVydAAeTGNvbS9hZG9iZS9zZXJ2aWNlL0RhdGFCdWZmZXI7TAAPX2V4cGlyYXRpb25UaW1ldAA QTGphdmEvbGFuZy9Mb25nO0wABV9maWxldAAOTGphdmEvaW8vRmlsZTtMABBfZ2xvYmFsQmFja2VuZElkdAAhTGNvb S9hZG9iZS9pZHAvRG9jdW1lbnRCYWNrZW5kSUQ7WwAHX2lubGluZXQAAltCTAAMX2lucHV0U3RyZWFtdAAVTGphdmE vaW8vSW5wdXRTdHJlYW07TAAPX2xvY2FsQmFja2VuZElkcQB+AAhMAAxfcHVsbFNlcnZhbnR0ACRMY29tL2Fkb2JlL 2lkcC9JRG9jdW1lbnRQdWxsU2VydmFudDtMABFfcmFuZG9tQWNjZXNzRmlsZXQAGkxqYXZhL2lvL1JhbmRvbUFjY2V zc0ZpbGU7TAAVX3NlbmRlckNhbGxiYWNrUmVmSU9ScQB+AARMABZfc2VuZGVyR2xvYmFsQmFja2VuZElkcQB+AAhMA A1fc2VuZGVySG9zdElkcQB+AARMABVfc2VuZGVyTG9jYWxCYWNrZW5kSWRxAH4ACEwAGl9zZW5kZXJQdWxsU2VydmF udEpuZGlOYW1lcQB+AARMAARfdXJsdAAOTGphdmEvbmV0L1VSTDt4cHcGAAAAAwAAcHd1AHMwOjA6MDowOjA6MDowO jEvMTI3LjAuMC4xLy8vLy8vLy8vZmU4MDowOjA6MDo3NDMyOmU0OWQ6NmUzMToxNTU0JTEwLzEwLjI0LjIzOS4xMjY vZmU4MDowOjA6MDowOjVlZmU6YTE4OmVmN2UlMTEvLy8vdXIAAltCrPMX+AYIVOACAAB4cAAAAcRJTU01MjU3XzAxL TIwMTFfMXwwMXx8YXx8fHxGZW1hbGV8MjAwMHw2fDh8Y3wyNTZ8MjU2fDkxMnwwMXx8fHx8fHx8Tnx8fHx8fHx8fHx 8fHx8fHx8fHxZfHx8fHx8fHx8fDAyfHx8fHx8TnwyMDEyfDJ8MTR8DQpJTU01MjU3XzAxLTIwMTFfMnx8fHx8fHx8f Hxhc2RmfDI1NnwyMDEyfDAyfDAxfDIwMTJ8MDN8MDJ8fHx8YXxhfDI1Mnx8fHxZfHx8fHx8fHx8fHx8fHx8DQpJTU0 1MjU3XzAxLTIwMTFfM3xOfHx8fHx8fHx8fDIwMDB8Nnx8fGFzZGZ8YXNkZnxhc2RmfDI1Nnx8fHx8fHx8fHx8fHx8f Hx8fHx8DQpJTU01MjU3XzAxLTIwMTFfNHxOfE58fE58TnxOfHxOfE58fE58TnxOfA0KSU1NNTI1N18wMS0yMDExXzV 8U2luZ2xlfDAxfHwyMDEyfDAyfDE4fDIwMTJ8MDN8MDN8MjM0fGFzZGZ8fGFzZGZhc3x8fHxFeGNoYW5nZS1Qcm8uO S40MDEuRnVsbC5XSU4uZW5fQ0EuRU5VLTEwLTIwMTF8DQoNCnBwdwYAAAAAAAB0AAp0ZXh0L3BsYWlucHNyABFqYXZ hLnV0aWwuSGFzaE1hcAUH2sHDFmDRAwACRgAKbG9hZEZhY3RvckkACXRocmVzaG9sZHhwP0AAAAAAAAx3CAAAABAAA AADdAAKd3NmaWxlbmFtZXQAJ0M6XFVzZXJzXENodWxseS5QYXJrXERlc2t0b3BcaGRzY2FuLnR4dHQACGJhc2VuYW1 ldAAKaGRzY2FuLnR4dHQABGZpbGVxAH4AFXh3NwAtYWRvYmUvaWRwL0RvY3VtZW50UHVsbFNlcnZhbnQvYWRvYmVqY l9MQ19ERVYx//////////94 does not exist.
    at com.adobe.livecycle.fileutils.FileUtilsService.readDocument(FileUtilsService.java:363)
    which is what i expected...
    I've also tried with the Script.executeScript to call some java code but im not too strong in java and in all the examples i find, the file pointer requires a file path.
    import java.io.*;
    FileInputStream f = new FileInputStream(patExecContext.getProcessDataValue("/process_data/inDoc"));
    OR
    File f = new File(patExecContext.getProcessDataValue("/process_data/inDoc"));
    OR
    File f = patExecContext.getProcessDataValue("/process_data/inDoc");
    Any clue how to resolve my problem?

    Try the following code snippet to read the String content from the file recieved through watched folder endpoint.
    com.adobe.idp.Document inputDoc = patExecContext.getProcessDataDocumentValue("/process_data/inDoc");
    java.io.InputStream inStream = inputDoc.getInputStream();
    byte[] dataBuffer = new byte[inStream.available()];
    inStream.read(dataBuffer);
    String strData = new String(dataBuffer);
    patExecContext.setProcessDataStringValue("/process_data/outStr",strData);
    The code is not tested, hence if you find any mistakes, correct and test the functionality.
    Nith

  • Applying rights management through a watched folder

    Greetings -- I'm trying to apply rights management to a PDF through a watched folder. I've created a short-lived process that invokes the Rights management Apply Policy module and created a watched folder endpoint. When I drop a PDF file into the watched folder, however, the result ends up in the failure bin (after a very, very long delay). Here's the error from the resultant log file:
    Failure Time----Tue Mar 11 11:18:30 EDT 2008
    source location ---- Reason of failure is-----Failure to invoke the job Apply Policy
    Failure to invoke the job Apply Policy
    Invocation error.
    javax.jms.JMSException: Could not create a session: javax.resource.spi.CommException: org.jboss.mq.SpyJMSException: Cannot authenticate user; - nested throwable: (java.net.ConnectException: Connection timed out: connect)
    Could not create a session: javax.resource.spi.CommException: org.jboss.mq.SpyJMSException: Cannot authenticate user; - nested throwable: (java.net.ConnectException: Connection timed out: connect)
    ALC-DSC-600-000: com.adobe.idp.dsc.provider.service.scheduler.impl.SchedulerRuntimeException: Failure to invoke the job Apply Policy
    at com.adobe.idp.dsc.provider.service.file.scan.impl.FileScanJobImpl.invokeJob(FileScanJobIm pl.java:323)
    Any ideas on how to fix this?

    I believe the issue is that the user that you named in the enpoint definition as the person who will execute the service has to be named in the policy. Add that user to your policy.

  • Using watched folder

    Hi, I'm having problems with watched folder endpoint.<br /><br />I have a very simple process which consists of one activity - assign task and I want to start this process by copying a PDF to specified folder. I've added a watched folder endpoint for this process and it automatically created appropriate sub folders (input, result, failure etc.).<br /><br />The problem starts when I copy a PDF file to the input folder. LiveCycle picks up the file but the process doesn't start. PDF gets moved to the failure folder and the failure.log shows the reason:<br /><br />ALC-DSC-119-000: com.adobe.idp.dsc.util.InvalidCoercionException: Cannot coerce object: <document description here> of type: com.adobe.idp.Document to type: class com.adobe.idp.taskmanager.form.impl.xfa.XFARepositoryFormInstance<br /><br />What am I doing wrong?<br /><br />Thanks<br />Bartek

    When you create your watch folder endpoint, you have to map some of the input variables for your process to a file pattern.
    This will take the file matching the pattern and put it in that variable. Now the variable type needs to be the right type to receive the file.
    From your error, it looks like you're trying to put a PDF file in a xfaForm variable, which wouldn't work. You need to put the PDF in a document variable.
    So, make sure in your process that you have an input document variable. Then in your watch folder configuration, when you map your input varibale to a file pattern, make sure you select literal and a pattern like *.pdf
    Jasmin

  • Conversion with settingsDocument using PDFG Watched folder

    Hi all,
    I am creating a PDF Conversion process.
    I want to convert ps to pdf with settingsDocument using DistillerService watched folders.
    I configured inputDocument in DistillerService Endpoint to Variable:*.ps and it works. I put a ps file to input folder, then the PDF file was created in the result folder.
    Then I configured settingsDocument to Variable:*.xml.
    I expected PDF Conversion with settingsDocument when I put a ps file and an xml file which I exported from PDFG to the input folder.
    But, the created PDF seemed to be the same file as the PDF created without settingsDocument configuration and the xml file remained in the input folder.
    I made a security setting named "Security" including password security and exported a configuration xml which includes this security setting.
    I put a ps and this xml to the input folder, but the created pdf opened without password.
    If I configure securitySettings to Literal:Security , it works. The created PDF is locked with password. I want to do this using setting xml.
    Any ideas?

    When you create your watch folder endpoint, you have to map some of the input variables for your process to a file pattern.
    This will take the file matching the pattern and put it in that variable. Now the variable type needs to be the right type to receive the file.
    From your error, it looks like you're trying to put a PDF file in a xfaForm variable, which wouldn't work. You need to put the PDF in a document variable.
    So, make sure in your process that you have an input document variable. Then in your watch folder configuration, when you map your input varibale to a file pattern, make sure you select literal and a pattern like *.pdf
    Jasmin

  • PDF Generator Watched Folder Settings

    Hi,<br /><br />In Livecycle ES PDF Generator, I am using the Distiller Service with a  Watched Folder Endpoint to convert my files.<br /><br />I can currently get an output into the Result folder such as<br />C:\livecycle\WatchedFolder\Result\<inputfilename>\output.pdf<br /><br />This is using \%F\ as the Output Parameter in the WatchedFolder settings which is described here:<br /><br />-------------------------------------------<br />Output Parameter Mappings<br />Used to configure the outputs of the service and operation. These choices are available: <br /><br />Single Object: The pattern is Result\%F.ps and the source destination is Result\sourcefilename.ps. <br /><br />List: The pattern is Result\%F\ and the source destination is<br />Result\sourcefilename\source1 (output 1) and<br />Result\sourcefilename\source2 (output 2). <br /><br />Map: The pattern is Result\%F\ and the source destination is<br />Result\sourcefilename\file1 and Result\sourcefilename\file2. If there is more than one object in the map the pattern is Result\%F.ps and the source destination is Result\sourcefilename1.ps (output 1) and Result\sourcefilenam2.ps (output 2). <br />----------------------------------------<br /><br />I was wondering if it is possible to have the output directed to a location like:<br /><br />C:\livecycle\WatchedFolder\Result\output.pdf<br /><br />without the extra folder in the Result directory as I had previously. I have tried different combinations for the Output Parameter settings but so far have been unsuccessful.<br />Does anyone know if this can be done?<br /><br />Thanks<br />Dion

    Hi Daniel,
    That gives me output in the /Result directory, but the files are named
    output and output_0 (with no file extension)

  • Alerts on failure when using Watched Folder method of PDFG.

    how to send alerts if PDFG fails to create PDF file via the Watched Folder service

    When you create your watch folder endpoint, you have to map some of the input variables for your process to a file pattern.
    This will take the file matching the pattern and put it in that variable. Now the variable type needs to be the right type to receive the file.
    From your error, it looks like you're trying to put a PDF file in a xfaForm variable, which wouldn't work. You need to put the PDF in a document variable.
    So, make sure in your process that you have an input document variable. Then in your watch folder configuration, when you map your input varibale to a file pattern, make sure you select literal and a pattern like *.pdf
    Jasmin

  • Issues with Watched Folder StartPoint.

    Hi,
    I'm using LiveCycle ES2 for developing a process with watched folder as optional startpoint.
    I have followed the instructions given in the LiveDocs and applied the properties to the Watched folder start point service. After deploying this service, the process does not work. Also, If i try to UnDeploy the application, it gives invocation error and this application wont work forever!!!
    I'm trying to give Input as Document data type, but the file is an XML, i want the process to pick the xxxxx.xml as input which is not working. Please Help!!!
    i have attached the screenshot of the watched folder properties.
    Rakesh
    thanks in advance
    rakesh

    Jasmin, Thanks for the quick response.
    Looking at the server Log file, i found the error generated is while Deploying the Application. and which is why the process is not working. I couldn't understand the rootcause of the error. I have attached a copy of the server Log information which is looged while deploying the application with the watched folder. However, nothing is being logged while i try to copy the input xml to the input folder.
    LOG: 
    2010-03-17 13:01:13,031 INFO  [org.jboss.system.server.Server] JBoss (MX MicroKernel) [4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA date=200707131605)] Started in 36m:48s:547ms
    2010-03-17 13:28:57,789 ERROR [com.adobe.idp.applicationmanager.service.TLOHandlerRegistryServiceImpl] ClassNotFoundException thrown while loading handler with class name: com.adobe.livecycle.userlist.dsc.handler.UserlistTLOHandler for extension UL
    2010-03-17 13:29:03,216 INFO  [com.adobe.idp.dsc.provider.service.scheduler.impl.SchedulerUtils] Service operation parameters are {parameters=com.adobe.idp.dsc.impl.InvocationRequestImpl@7406ad, jobGroupName=WatchedFolder, jobName=WatchedFolder:705}
    2010-03-17 13:29:03,984 INFO  [com.adobe.idp.dsc.provider.service.scheduler.impl.SchedulerUtils] Service operation parameters are {startDate=Wed Mar 17 13:29:03 GMT+05:30 2010, repeatInterval=5000, triggerGrpName=WatchedFolder, endDate=null, repeatCount=-1, triggerName=WatchedFolder:705}
    2010-03-17 13:29:03,984 INFO  [com.adobe.idp.dsc.provider.service.scheduler.impl.SchedulerUtils] Service operation parameters are {trigger=com.adobe.idp.scheduler.trigger.PeriodicTrigger@1a4c856, jobData=com.adobe.idp.scheduler.job.JobData@15cb82f}
    2010-03-17 13:29:04,345 ERROR [STDERR] ALC-DSC-003-000: com.adobe.idp.dsc.DSCInvocationException: Invocation error.
    2010-03-17 13:29:04,345 ERROR [STDERR]  at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:152)
    2010-03-17 13:29:04,345 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)
    2010-03-17 13:29:04,345 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    2010-03-17 13:29:04,345 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassi vationInterceptor.java:53)
    2010-03-17 13:29:04,345 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doBMT(EjbTran sactionBMTAdapterBean.java:197)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at sun.reflect.GeneratedMethodAccessor765.invoke(Unknown Source)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at java.lang.reflect.Method.invoke(Method.java:597)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:237)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:158)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:1 73)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:77)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:169)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at org.jboss.ejb.Container.invoke(Container.java:960)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at $Proxy379.doBMT(Unknown Source)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:95)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:188)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:121)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:93)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:22 5)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:66)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at com.adobe.idp.dsc.provider.service.scheduler.impl.SchedulerUtils.callSchedulerService(Sch edulerUtils.java:372)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at com.adobe.idp.dsc.provider.service.scheduler.impl.AbstractEndpointManager.OnEnableEndpoin t(AbstractEndpointManager.java:81)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at com.adobe.idp.dsc.provider.service.scheduler.impl.AbstractEndpointManager.onEndpointCreat ion(AbstractEndpointManager.java:48)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at com.adobe.idp.dsc.provider.service.file.impl.FileEndpointManagerImpl.onEndpointCreation(F ileEndpointManagerImpl.java:178)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at com.adobe.idp.dsc.provider.service.file.impl.FileConnector.onEndpointCreate(FileConnector .java:47)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at java.lang.reflect.Method.invoke(Method.java:597)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassi vationInterceptor.java:53)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:357)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doSupports(Ej bTransactionCMTAdapterBean.java:227)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at sun.reflect.GeneratedMethodAccessor758.invoke(Unknown Source)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at java.lang.reflect.Method.invoke(Method.java:597)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:237)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:158)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:169)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:378)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)
    2010-03-17 13:29:04,361 ERROR [STDERR]  at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at org.jboss.ejb.Container.invoke(Container.java:960)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at $Proxy378.doSupports(Unknown Source)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:104)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:165)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:121)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:93)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:22 5)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:66)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.registry.endpoint.impl.EndpointRegistryImpl.createEndpoint(EndpointRegi stryImpl.java:556)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at java.lang.reflect.Method.invoke(Method.java:597)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassi vationInterceptor.java:53)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doBMT(EjbTran sactionBMTAdapterBean.java:197)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at sun.reflect.GeneratedMethodAccessor765.invoke(Unknown Source)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at java.lang.reflect.Method.invoke(Method.java:597)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:237)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:158)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:1 73)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:77)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:169)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at org.jboss.ejb.Container.invoke(Container.java:960)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at $Proxy379.doBMT(Unknown Source)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:95)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:165)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:121)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:93)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:22 5)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:66)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.registry.endpoint.client.EndpointRegistryClient.invoke(EndpointRegistry Client.java:564)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.registry.endpoint.client.EndpointRegistryClient.createEndpoint(Endpoint RegistryClient.java:373)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.applicationmanager.application.tlo.impl.startpoint.StartpointVisualizationR untime.createWatchedFolderManagerEndpoint(StartpointVisualizationRuntime.java:832)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.applicationmanager.application.tlo.impl.OrchestrationTLOHandler.createEndpo ints(OrchestrationTLOHandler.java:197)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.applicationmanager.application.tlo.impl.OrchestrationTLOHandler.deploy(Orch estrationTLOHandler.java:118)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.applicationmanager.application.impl.ApplicationRegistryImpl$7.doInTransacti on(ApplicationRegistryImpl.java:1098)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doRequiresNew (EjbTransactionBMTAdapterBean.java:218)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at sun.reflect.GeneratedMethodAccessor645.invoke(Unknown Source)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at java.lang.reflect.Method.invoke(Method.java:597)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:237)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:158)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:1 73)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:77)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:169)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at org.jboss.ejb.Container.invoke(Container.java:960)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at $Proxy379.doRequiresNew(Unknown Source)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:133)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.transaction.impl.DefaultTransactionTemplate.execute(DefaultTransactionT emplate.java:79)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.applicationmanager.application.impl.ApplicationRegistryImpl.deploy(Applicat ionRegistryImpl.java:1096)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.applicationmanager.service.ApplicationManagerService.createAndDeployApplica tionConfiguration(ApplicationManagerService.java:1301)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.applicationmanager.service.ApplicationManagerService.importES2ApplicationAr chive(ApplicationManagerService.java:1265)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.applicationmanager.service.ApplicationManagerService._importApplicationArch ive(ApplicationManagerService.java:198)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.applicationmanager.service.ApplicationManagerService.importApplicationArchi ve(ApplicationManagerService.java:115)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at java.lang.reflect.Method.invoke(Method.java:597)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.applicationmanager.invoker.ApplicationInvoker.invoke(ApplicationInvoker.jav a:38)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassi vationInterceptor.java:53)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:357)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doSupports(Ej bTransactionCMTAdapterBean.java:227)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at sun.reflect.GeneratedMethodAccessor758.invoke(Unknown Source)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at java.lang.reflect.Method.invoke(Method.java:597)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:237)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:158)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:169)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:378)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at org.jboss.ejb.Container.invoke(Container.java:960)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at $Proxy378.doSupports(Unknown Source)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:104)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:188)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:121)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:93)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:22 5)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:66)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.applicationmanager.client.ApplicationManagerClient.callApplicationManager(A pplicationManagerClient.java:78)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.applicationmanager.client.ApplicationManager.importApplicationArchive(Appli cationManager.java:165)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.livecycle.design.service.commands.DeployApplicationCommand.execute(DeployApplic ationCommand.java:132)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.livecycle.design.service.DesigntimeServiceImpl.deploy(DesigntimeServiceImpl.jav a:857)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at java.lang.reflect.Method.invoke(Method.java:597)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
    2010-03-17 13:29:04,377 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassi vationInterceptor.java:53)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:357)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doSupports(Ej bTransactionCMTAdapterBean.java:227)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at sun.reflect.GeneratedMethodAccessor758.invoke(Unknown Source)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at java.lang.reflect.Method.invoke(Method.java:597)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:237)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:158)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:169)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:378)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at org.jboss.ejb.Container.invoke(Container.java:960)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at $Proxy378.doSupports(Unknown Source)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:104)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:188)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:121)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.invoke(AbstractMessageReceiv er.java:329)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invokeCall(SoapSdkEndpoint. java:139)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invoke(SoapSdkEndpoint.java :81)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at sun.reflect.GeneratedMethodAccessor760.invoke(Unknown Source)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at java.lang.reflect.Method.invoke(Method.java:597)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:290)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at com.adobe.idp.dsc.provider.impl.soap.axis.InvocationFilter.doFilter(InvocationFilter.java :43)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:235)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at com.adobe.idp.um.auth.filter.CSRFFilter.doFilter(CSRFFilter.java:41)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:235)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:235)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.ja va:179)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java: 157)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.ja va:580)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at java.lang.Thread.run(Thread.java:619)
    2010-03-17 13:29:04,392 ERROR [STDERR] Caused by: com.adobe.idp.scheduler.SchedulerException: No scheduler found with name IDPSchedulerService
    2010-03-17 13:29:04,392 ERROR [STDERR]  at com.adobe.idp.scheduler.SchedulerRegistry.getScheduler(SchedulerRegistry.java:69)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at com.adobe.idp.scheduler.SchedulerServiceImpl.scheduleJob(SchedulerServiceImpl.java:305)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at com.adobe.idp.scheduler.SchedulerServiceImpl.scheduleJob(SchedulerServiceImpl.java:335)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at java.lang.reflect.Method.invoke(Method.java:597)
    2010-03-17 13:29:04,392 ERROR [STDERR]  at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
    2010-03-17 13:29:04,392 ERROR [STDERR]  ... 315 more
    2010-03-17 13:29:44,498 WARN  [com.adobe.idp.dsc.management.impl.ComponentClassLoaderSource] Jar file: adobe-rightsmanagement-client.jar does not exist in component: com.adobe.livecycle.ContentServices.9.0.0.0.20091020.1.126807

  • Print PDFs using watched folder

    Hi,
    I am new to Adobe livecycle. I created webservice which generates PDFs in a folder. I want to set that folder as a watch folder and want to print PDFs generated in specific interval. Basically it should figure out if there are any new PDFs and print it to the network printer. I could able to figure out how to set up a watch folder using existing services as a endpoint for watch folder, but none of the exixting services serves exact purpose of printing PDFs from folder. So I am stuck. How should I proceed? Can I create my own process and register it and use it as a end point for watched folder? If yes then how?
    Can somebody help me?
    Thanks!

    Everything is a service in LiveCycle so, yes, generatePrintOuput is a service.
    You can create a new process with Workbench (e.g. TestPrint). Then add the generatePrintedOutput step and a print step (from the Output category). Then save and activate your new process. This will become a new service (TestPrint) which you can add an watchfolder endpoint to.
    Then drop the file in the watch folder for that new service (TestPrint) and the service will call generatePrintedOutput and print.
    Jasmin

  • How to invoke the running process via email or watch folder?

    Hi,
    I initial a process in workspace using a pdf form(xfaFrom type) variable.
    It's a simple process. Just one assign task node to transfer the initial form to process creater.
    The process works fine when submit in workspace.But I have some problem on offline submit.
    I initialed the form on workspace and saved it to local file to edit it.
    After editing the pdf form, how to let the local saved form go back to the process whith the correct data?
    Here is my variable setting in process:
    form type: xfaForm
    render service : render PDF form (in forms sample catagory)
    submit service : Submit PDF Form (in forms sample catagory)
    I've tried to use email endpoint.
    It will be back to the next step of the process, but the data will not be transfer to the form.
    Then I've tried to use watchFolder endpoint.
    And it did not work by some exceptions.
    Failure Time----Tue Mar 18 10:23:52 GMT+08:00 2008
    source location ---- Reason of failure is-----Cannot coerce object: <document state="active" senderVersion="3" persistent="false" senderPersistent="true" passivated="false" senderPassivated="true" deserialized="true" senderHostId="127.0.0.1/192.168.65.143" callbackId="0" senderCallbackId="0" callbackRef="null" isLocalizable="true" isTransactionBound="false" defaultDisposalTimeout="600" disposalTimeout="600" maxInlineSize="65536" defaultMaxInlineSize="65536" inlineSize="0" contentType="application/pdf" length="265731"><cacheId/><localBackendId/><globalBackendId/><senderLocalBackendId/><send erGlobalBackendId><DocumentFileID fileName="C:\Adobe\LiveCycle8\jboss\server\all\svcnative\DocumentStorage\docm120580620223 4\b680381b2f382c4aba702061e12876d6"/><senderGlobalBackendId/><inline/><senderPullServantJn diName>adobe/idp/DocumentPullServant/adobejb_server1</senderPullServantJndiName><attribute s file="C:\Adobe watch folder\offline\stage\Wxebcb14694b8ef1aee4b27261\off.pdf"/></document> of type: com.adobe.idp.Document to type: class com.adobe.idp.taskmanager.form.impl.binarycontent.BinaryContentFormInstance
    Cannot coerce object: <document state="active" senderVersion="3" persistent="false" senderPersistent="true" passivated="false" senderPassivated="true" deserialized="true" senderHostId="127.0.0.1/192.168.65.143" callbackId="0" senderCallbackId="0" callbackRef="null" isLocalizable="true" isTransactionBound="false" defaultDisposalTimeout="600" disposalTimeout="600" maxInlineSize="65536" defaultMaxInlineSize="65536" inlineSize="0" contentType="application/pdf" length="265731"><cacheId/><localBackendId/><globalBackendId/><senderLocalBackendId/><send erGlobalBackendId><DocumentFileID fileName="C:\Adobe\LiveCycle8\jboss\server\

    hi
    The problem is not completely solved.
    The solved part is countinue the process by Email and there is still need to be soloved by watch folder. Here are some steps.
    First, I set the email endpoint on "complete task" service(in process management catagory). Then configure the input parameter of the endpoint. The attachment parameter set to *.* and the mail from set to %SENDER%.
    Second, the xfa form variable of process must have process fields and use the default render. So the process field data which are required to counitnue the process will be keeped.
    Then it worked.
    But when I check the "complete task" component(process management --> task notification catagory) used in "complete task" process. Some input parameters(Sender, attachment map) are required and can't be found if using watch folder. So there is still a problem by using watch folder.
    Bking Chuang

  • Find and replace with multiple files and with a watch folder

    I am trying to create a watch folder that uses red_menace script to:
    1. Have a folder that receives multiple xml files that run the script one by one.
    2. then move the files to an output folder.
    I tried modifying the set TheFIle to choose file -- the original text file to:
    with multiple selections allowed
    But that doesn't seem to work. I know i'm missing a step. Any help is much appreciated!
    Thanks!
    The way i'd like to setup things is having an input folder on the desktop (or just have the application on the desktop and I can drag the files onto it), and let it do it's thing. Once it's done have it export the xml files into an output folder.
    Here's what i got so far:
    on open
    set TheFIle to choose file -- the original text file
    set TheFolder to ("Macintosh HD:Users:user1:Desktop:out") -- the folder for the output file
    set TheName to (GetUniqueName for TheFIle from TheFolder) -- the name for the output file
    set TheText to read TheFIle -- get the text to edit
    set Originals to {"KPCALDATE", "KPCALEVENT", "KPCALDAY", "KPCALBODY", "obituaries name", "" & return & "</cstyle></pstyle>" & return & "<pstyle name=\"obituaries text\"><cstyle>", "<pstyle name=\"obituaries text\"><cstyle name=\"Graphics Bold leadin\" font=\"ADV AGBook-Medium 2\">", "<pstyle name=\"Recipe Ingredients\"><cstyle>", " .com", " .net", " .org", " .edu", "www .", "www. ", "Ho- nolulu", "<pstyle name=\"kicker 12\"><cstyle allcaps=\"1\">fashion news</cstyle><cstyle allcaps=\"1\">" & return & "</cstyle></pstyle>" & return & "", "<component name=\"Headline 1\" type=\"Headline\">" & return & "<header>" & return & "<field name=\"Component name\" type=\"string\" value=\"Headline 1\"/>" & return & "<field name=\"Component type\" type=\"popup\" value=\"Headline\"/>" & return & "</header>" & return & "<body>" & return & "<pstyle name=\"hed STANDARD 36\"><cstyle>", "<pstyle name=\"obituaries text\"><cstyle allcaps=\"1\">", "<pstyle name=\"obituaries text\"><cstyle name=\"Graphics Bold leadin\">", "<pstyle name=\"tagline\"><cstyle>-", "-", "
    Per serving:", "<pstyle name=\"Titlebar - mini, red\"><cstyle allcaps=\"1\">NATION & World </cstyle><cstyle allcaps=\"1\">Report</cstyle><cstyle allcaps=\"1\">" & return & "</cstyle></pstyle>" & return & "", "</cstyle></pstyle>"} -- the terms that can be replaced
    set Replacements to {"subhed", "subhed", "subhed", "Normal", "obituaries text", ", ", "<pstyle name=\"obituaries text\"><cstyle name=\"Graphics Bold leadin\" font=\"ADV AGBook-Medium 2\">", "<pstyle name=\"Recipe Ingredients\"><cstyle>
    ", ".com", ".net", ".org", ".edu", "www.", "www.", "Honolulu", "", "<component name=\"Headline1\" type=\"Headline\">" & return & "<header>" & return & "<field name=\"Component name\" type=\"string\" value=\"Headline1\"/>" & return & "<field name=\"Component type\" type=\"popup\" value=\"Headline\"/>" & return & "</header>" & return & "<body>" & return & "<pstyle name=\"hed STANDARD 27\"><cstyle>", "<pstyle name=\"obituaries text\"><cstyle allcaps=\"1\">", "<pstyle name=\"obituaries text\"><cstyle name=\"Graphics Bold leadin\">", "<pstyle name=\"tagline\"><cstyle>—", " —", "
    Per serving:", "","" & return & "</cstyle></pstyle>"} -- the replacement terms
    repeat with AnItem from 1 to count Originals
    set TheText to (replaceText of TheText from (item AnItem of Originals) to (item AnItem of Replacements))
    end repeat
    try -- write a new output file
    tell application "Finder" to make new file at TheFolder with properties {name:TheName}
    set OpenFile to open for access (result as alias) with write permission
    write TheText to OpenFile starting at eof
    close access OpenFile
    on error errmess
    try
    log errmess
    close access OpenFile
    end try
    end try
    end open
    to GetUniqueName for SomeFile from SomeFolder
    check if SomeFile exists in SomeFolder, creating a new unique name if needed
    parameters - SomeFile [mixed]: a source file path
    SomeFolder [mixed]: a folder to check
    returns [text]: a unique file name and extension
    set {Counter, Divider} to {"00", "_"}
    -- get the name and extension
    set {name:TheName, name extension:TheExtension} to info for file (SomeFile as text)
    if TheExtension is missing value then set TheExtension to ""
    set TheName to text 1 thru -((count TheExtension) + 2) of TheName
    set NewName to TheName & "." & TheExtension
    tell application "System Events" to tell (get name of files of folder (SomeFolder as text))
    repeat while it contains NewName
    set Counter to text 2 thru -1 of ((100 + Counter + 1) as text) -- leading zero
    set NewName to TheName & Divider & Counter & "." & TheExtension
    end repeat
    end tell
    return NewName
    end GetUniqueName
    to EditItems of SomeItems given Title:TheTitle, Prompt:ThePrompt
    displays a dialog for multiple item edit (note that a return is used between each edit item)
    for each of the items in SomeItems, a line containing it's text is placed in the edit box
    the number of items returned are padded or truncated to match the number of items in SomeItems
    parameters - SomeItems [list]: a list of text items to edit
    TheTitle [boolean/text]: use a default or the given dialog title
    ThePrompt [boolean/text]: use a default or the given prompt text
    returns [list]: a list of the edited items, or {} if error
    set {TheItems, TheInput, TheCount} to {{}, {}, (count SomeItems)}
    if TheCount is less than 1 then return {} -- error
    if ThePrompt is in {true, false} then -- "with" or "without" Prompt
    if ThePrompt then
    set ThePrompt to "Edit the following items:" & return -- default
    else
    set ThePrompt to ""
    end if
    else -- fix up the given prompt a little
    set ThePrompt to ThePrompt & return
    end if
    if TheTitle is in {true, false} then if TheTitle then -- "with" or "without" Title
    set TheTitle to "Multiple Edit Dialog" -- default
    else
    set TheTitle to ""
    end if
    set {TempTID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, return}
    set {SomeItems, AppleScript's text item delimiters} to {SomeItems as text, TempTID}
    set TheInput to paragraphs of text returned of (display dialog ThePrompt with title TheTitle default answer SomeItems)
    repeat with AnItem from 1 to TheCount -- pad/truncate entered items
    try
    set the end of TheItems to (item AnItem of TheInput)
    on error
    set the end of TheItems to ""
    end try
    end repeat
    return TheItems
    end EditItems
    to replaceText of SomeText from OldItem to NewItem
    replace all occurances of OldItem with NewItem
    parameters - SomeText [text]: the text containing the item(s) to change
    OldItem [text]: the item to be replaced
    NewItem [text]: the item to replace with
    returns [text]: the text with the item(s) replaced
    set SomeText to SomeText as Unicode text -- TID's are case insensitive with Unicode text
    set {TempTID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, OldItem}
    set {ItemList, AppleScript's text item delimiters} to {text items of SomeText, NewItem}
    set {SomeText, AppleScript's text item delimiters} to {ItemList as text, TempTID}
    return SomeText
    end replaceText
    Message was edited by: gamebreakers

    When you use the open or adding folder items to handlers, you need to add the parameters for the file items passed to them.
    I'll go ahead and post the applet/droplet version of my original script from the previous topic for reference:
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px; height: 340px;
    color: #000000;
    background-color: #FFEE80;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    -- search and replace multiple items applet/droplet/folder action
    -- the terms to replace - edit as needed
    property EditableItems : {¬
    "one", ¬
    "two", ¬
    "three", ¬
    "four", ¬
    "five", ¬
    "six", ¬
    "seven", ¬
    "eight", ¬
    "nine", ¬
    "ten", ¬
    "eleven", ¬
    "twelve", ¬
    "thirteen", ¬
    "fourteen", ¬
    "fifteen", ¬
    "sixteen", ¬
    "seventeen", ¬
    "eighteen", ¬
    "nineteen", ¬
    "twenty"}
    -- the folder for the output file(s) - change as needed
    property TheFolder : (path to desktop)
    property LastEditItems : EditableItems
    on run
    the applet/droplet was double-clicked
    open (choose file with multiple selections allowed)
    end run
    on open TheItems
    items were dropped onto the applet/droplet
    parameters - TheItems [list]: a list of the items (aliases) dropped
    returns nothing
    repeat with AnItem in TheItems
    ReplaceMultipleItems from AnItem
    end repeat
    end open
    on adding folder items to this_folder after receiving these_items
    folder action - items were added to a folder
    parameters - this_folder [alias]: the folder added to
    these_items [list]: a list if items (aliases) added
    returns nothing
    repeat with AnItem in these_items
    ReplaceMultipleItems from AnItem
    end repeat
    end adding folder items to
    to ReplaceMultipleItems from SomeFile
    replace multiple text items in SomeFile
    parameters - SomeFile [alias]: the file to replace items in
    returns nothing
    set TheName to (GetUniqueName for SomeFile from TheFolder) -- the name for the output file
    set TheText to read SomeFile -- get the text to edit
    set Originals to (choose from list EditableItems default items LastEditItems with prompt "Select the terms to replace:" with multiple selections allowed) -- the specific terms to replace
    set LastEditItems to Originals
    set Replacements to (EditItems of Originals with Title given Prompt:"Edit the following replacement terms:") -- the replacement terms
    repeat with AnItem from 1 to count Originals
    set TheText to (ReplaceText of TheText from (item AnItem of Originals) to (item AnItem of Replacements))
    end repeat
    try -- write a new output file
    tell application "Finder" to make new file at TheFolder with properties {name:TheName}
    set OpenFile to open for access (result as alias) with write permission
    write TheText to OpenFile starting at eof
    close access OpenFile
    on error errmess
    try
    log errmess
    close access OpenFile
    end try
    end try
    end ReplaceMultipleItems
    to GetUniqueName for SomeFile from SomeFolder
    check if SomeFile exists in SomeFolder, creating a new unique name if needed
    parameters - SomeFile [mixed]: a source file path
    SomeFolder [mixed]: a folder to check
    returns [text]: a unique file name and extension
    set {Counter, Divider} to {"00", "_"}
    -- get the name and extension
    set {name:TheName, name extension:TheExtension} to info for file (SomeFile as text)
    if TheExtension is in {missing value, ""} then
    set TheExtension to ""
    else
    set TheExtension to "." & TheExtension
    end if
    set {NewName, TheExtension} to {TheName, (ChangeCase of TheExtension to "upper")}
    set TheName to text 1 thru -((count TheExtension) + 1) of TheName
    tell application "System Events" to tell (get name of files of folder (SomeFolder as text))
    repeat while it contains NewName
    set Counter to text 2 thru -1 of ((100 + Counter + 1) as text) -- leading zero
    set NewName to TheName & Divider & Counter & TheExtension
    end repeat
    end tell
    return NewName
    end GetUniqueName
    to EditItems of SomeItems given Title:TheTitle, Prompt:ThePrompt
    displays a dialog for multiple item edit (note that a return is used between each edit item)
      for each of the items in SomeItems, a line containing it's text is placed in the edit box
        the number of items returned are padded or truncated to match the number of items in SomeItems
    parameters - SomeItems [list]: a list of text items to edit
    TheTitle [boolean/text]: use a default or the given dialog title
    ThePrompt [boolean/text]: use a default or the given prompt text
    returns [list]: a list of the edited items, or {} if error
    set {TheItems, TheInput, TheCount} to {{}, {}, (count SomeItems)}
    if TheCount is less than 1 then return {} -- error
    if ThePrompt is in {true, false} then -- "with" or "without" Prompt
    if ThePrompt then
    set ThePrompt to "Edit the following items:" & return -- default
    else
    set ThePrompt to ""
    end if
    else -- fix up the given prompt a little
    set ThePrompt to ThePrompt & return
    end if
    if TheTitle is in {true, false} then if TheTitle then -- "with" or "without" Title
    set TheTitle to "Multiple Edit Dialog" -- default
    else
    set TheTitle to ""
    end if
    set {TempTID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, return}
    set {SomeItems, AppleScript's text item delimiters} to {SomeItems as text, TempTID}
    set TheInput to paragraphs of text returned of (display dialog ThePrompt with title TheTitle default answer SomeItems)
    repeat with AnItem from 1 to TheCount -- pad/truncate entered items
    try
    set the end of TheItems to (item AnItem of TheInput)
    on error
    set the end of TheItems to ""
    end try
    end repeat
    return TheItems
    end EditItems
    to ReplaceText of SomeText from OldItem to NewItem
    replace all occurances of OldItem with NewItem
    parameters - SomeText [text]: the text containing the item(s) to change
    OldItem [text]: the item to be replaced
    NewItem [text]: the item to replace with
    returns [text]: the text with the item(s) replaced
    set SomeText to SomeText as text
    if SomeText contains OldItem then
    set {TempTID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, OldItem}
    try
    set {ItemList, AppleScript's text item delimiters} to {text items of SomeText, NewItem}
    set {SomeText, AppleScript's text item delimiters} to {ItemList as text, TempTID}
    on error ErrorMessage number ErrorNumber -- oops
    set AppleScript's text item delimiters to TempTID
    error ErrorMessage number ErrorNumber
    end try
    end if
    return SomeText
    end ReplaceText
    to ChangeCase of SomeText to CaseType
    changes the case or capitalization of SomeText to the specified CaseType using Python
    parameters - SomeText [text]: the text to change
    CaseType [text]: the type of case desired:
    "upper" = all uppercase text
    "lower" = all lowercase text
    "title" = uppercase character at start of each word, otherwise lowercase
    "capitalize" = capitalize the first character of the text, otherwise lowercase
    returns [text]: the changed text 
    set SomeText to SomeText as text
    if CaseType is not in {"upper", "lower", "title", "capitalize"} then return SomeText
    return (do shell script "/usr/bin/python -c \"import sys; print unicode(sys.argv[1], 'utf8')." & CaseType & "().encode('utf8')\" " & quoted form of SomeText)
    end ChangeCase
    </pre>
    Edit: how does the choose from list dialog handle those big strings? I'm guessing not very well - is that why you avoided using them?
    Message was edited by: red_menace

  • Excel save as pdf hangs when launched through a watch folder

    Hi there,
    I've configured a watch folder to launch a batch file which launch a .exe file I've written in C++
    In this application I launch Excel which open a .XLS document which contains macros.
    At the end of the computations there is a macro which save as pdf.
    At this point everything hangs and I have to cancel the job I've created for the watch folder.
    If I disable the watch folder and I place the starting file inside the watch folder
    and I manually launch the .bat file (which usually is launched by the watch folder) everything works perfectly.
    I really really hope there will be someone here coming with a solution for me.
    By the way on the windows forum I've got a very disappointing answer where they stated it was probably a fault of my application.
    Well fortunately that was not the problem because
    I can reproduce the problem even removing my application from the equation so now we have cleared
    the issue is not casued by my application.
    So if you want to try it yourself just follow the steps below:
    1) create an excel document so that after you open it it automatically run a save as pdf operation and close excel. (let's call this document "PRINT_TEST.xls")
    2) create a batch file named "Excel_launcher.bat" and write the command
    ""C:\Program Files\Microsoft Office 15\root\office15\EXCEL.EXE" "C:\teststampapdf\PRINT_TEST.xls""
    3) Now create a watch folder job that execute that batch file.
    something like "C:\watchfolderX\Excel_launcher.bat"
    4) now create a watch folder that uses that job and for file filter use "*.txt" enable it and start it
    5) now launch manually the batch file and you'll see that it print the pdf and closes itself
    6) drop a txt file inside the watch folder you've created and you'll see it hangs at the save as pdf operation.
    This is something that have to be fixed and it's due to excel.
    I can launch and save documents with all the application I want but excel so that's the problem.
    Please take a look and keep me updated I badly need to find a solution for this issue.
    THANK YOU in advance,
    Davide

    Hi Davide,
    This is no the right forum for your issue. I think you can consult this issue on some Excel end-user related forum.
    Best regards,
    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for