Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle Workbench
Viewing all 69588 articles
Browse latest View live

processFormSubmission error - Stream does not represent a PDF document.

$
0
0

Hi, I am facing problem with processFormSubmission component.

 

We´re using updated render process, but after server reinstall, I am using Default Render ES Update1and this component is returning me Stream does not represent a PDF document  error.

 

Environment settings I use:

 

&HTTP_ACCEPT_LANGUAGE=cs&HTTP_USER_AGENT=Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)&CONTENT_TYPE=application/pdf&CONTENT_LENGTH=451429 .

 

I tried also different content_type var, it was not returning that err, but component was not able to save attachement list(what is important for me).

 

thanx for suggestion, thx... Lukas


How to configure Repeater Accordion in ES2?

$
0
0

Hi

 

Am developing a form guide in ES2 ,I want to have a repeating section .

Used Repeater Accordion, but Add button and copy button is not working.

 

In ES 8.2 we can develop form guides from Pdf form.There the repeating logic is in pdf.

 

I want to dynamically add new sections..How can i implement that capability in form guide?

 

Thanks,

Lissa

How to use xsl document() function with LiveCycle XSLT processor

$
0
0

Hello,

 

I would like to use LiveCycle XSLT processor to merge xml documents by using the xsl document() function.

 

However, I have not, yet, found  clear reference information on the specifics of how to accomplish in LC. For instance if you have

a transformation that does merging using a standalone xml editor (such as Oxygen), than what is required to accomplish the same

using the LiveCycle XSLT service.  How do you specify the URI of the XML document that is specified as an input in the xsl document() function. Your insight is appreciated.   Regards

Convert date string to date/time object

$
0
0

I have a JDBC call to grab some data including a date/time stamp.  For the life of me, I can't figure out how to convert that string to a proper date/time field.  It's important because I need to use validation strings to present a more simplified date/time to users on a form.  But I'd like to keep the original date/time so I can reinsert it into a SQL db at the end.  I created a test process so I can watch the progress.


input string = '2010/08/18 16:41:23'

Expression = parse-dateTime-withFormat (/process_data/@datestring,"yyyy/MM/dd hh:mm:ss","en","US","WIN","CDT")

Result = August 18, 2010 9:41:23 PM GMT

Then I try to put that value into a date field and I get the error:
: Invalid ISO8601 DateTime:August 18, 2010 9:41:23 PM GMT:java.text.ParseException: Unparseable date: "August 18, 2010 9:41:23 PM GMT"


I've tried like 100 different variations to map into a date/time object with the same result.  I can use the parse-dateTime or parse-dateTime-withFormat functions all day long but I can't get that string value into a proper date field.  Any ideas?  Please help as I'm about to pull my hair out ...and that won't be pretty.

 

(Note:  I realize my time zone didn't come thru correct but I'm not concerned about that right now)

 

check to see if record exist in the DB or not

$
0
0

Hello,

 

I am working on a form that has a web service that connects to the external database in workbench to check some record if it does exist in the database or not by using the query below but it did not work. I have tried Query Single Row, Execute SQL Statement, and Call Store Procedure but still could not make it work as expected. Can any one please advise. I am still using Designer and Workbench 8.2.1 with SP3

 

IF EXISTS (SELECT NULL FROM tablename where empcode = 1)
BEGIN        
PRINT 'Empcode 1 does not exists, please continue!'
END
ELSE
BEGIN       
PRINT 'Empcode 1 exists, please try another Empcode!'
END

 

Thanks,

Han Dao

How can I get the mail body of the start point mail

$
0
0

Hi,

 

I am using 'MailStartPoint' activity to fetch mails using POP3 protocol. It is fetching the mail successfully. Now, how can I read the different parts of mail message such as Subject, Body in variables.

 

Thank You,

Hali Gerorge.

How to delete/deploy resources in ES4 workbench?

$
0
0

In the previous version of the workbench, I could deploy resources (PDF, flash files) into the workbench by drag-and-droping the file from the Windows Explorer into the workbench resource's tab. I could also delete the resource files by right clicking on the item and selecting 'delete' in the resource tab of the workbench.

 

In the ES4 workbench, I could no longer do the above. Drag-and-drop does nothing and the right click context menu only shows Relationships, Access Control, History. How to delete/deploy resources in ES4 workbench?

How to use fragments in HTML page or Java page?

$
0
0

HI Friends,

 

I want to use the fragments, that i have creating in dynamic pdf form , on my web pages.

I want to save my application development time so want to reuse the same fragments in the application itself.

Please suggest how can i do this? Your quick response will be very beneficial for me

 

 

Regards

Ritesh grover

rgrover@seasiainfotech.com


Modify email endpoint - Extract Subject from Mail

$
0
0

Hi there,

 

I'm working with a process and a form which has been developed by someone else. As an improvement I need to extract the subject from incoming mails and store this subject to a variable. At this point I stuck in defining the variable. As you can see in the screen shot from the adminui, the Sender is already being extracted:

 

Image and video hosting by TinyPic

 

From what I understand till now I have to add a new variable  named %Subject%. Could you please tell me how to do this?

GeneratePDFService : An unexpected exception while resolving a new connection to an Adobe Service.

$
0
0
Hi,
I'm using LC ES on Windows XP, turnkey installation.
I've created a workbench process that suppose to convert word document to pdf using GeneratePDFService. When I invoke the process it fails with the next error:

2008-04-28 09:30:32,781 ERROR [org.jboss.ejb.plugins.LogInterceptor] RuntimeException in method: public abstract com.adobe.native2pdf.bmc.ResultStruct com.adobe.pdfg.bmc.invoker.NativeToPDFInvokerLocal.convertPDFMToPdf(java.lang.String,java .lang.String,java.lang.String,int,byte[],java.lang.String,byte[],com.adobe.native2pdf.bmc. AppMonData,boolean):
java.lang.reflect.UndeclaredThrowableException: An unexpected exception while resolving a new connection to an Adobe Service.
.
.
.
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.adobe.util.ConnectionFactoryReflectionWrapper.getConnection(Utilities.java:953)

Also I get the Windows error message :PDFGenerator Process Launcher has encountered a problem and needs to close.

Any Ideas ?

Thanks!

"Failed to passivate Document" on Invoke DDX operation

$
0
0
hi<br />sometimes, when i call the Invoke DDX operation in a specific process, i get an error that says that it could not passivate the cached document. even when i re-try the stalled action it does not work, but when i start a new process with the same data it does without any problem.<br />i'm using LC ES 8.2 with a weblogic server.<br /><br />hope someone can help me here. it's really nasty when processes stop unexpected!<br /><br />greez simon<br /><br /><26.09.2008 11.30 Uhr CEST> <Error> <com.adobe.idp.Document> <000000> <DOCS001: Unexpected exception. Failed to passivate Document due to an internal error..> <br /><26.09.2008 11.30 Uhr CEST> <Error> <com.adobe.idp.Document> <000000> <DOCS001: Unexpected exception. While passivating com.adobe.idp.Document cached objects during transaction rollback..<br />com.adobe.idp.DocumentError: Failed to passivate Document due to an internal error<br />     at com.adobe.idp.Document.passivate(Document.java:1076)<br />     at com.adobe.idp.Document.passivate(Document.java:1012)<br />     at com.adobe.idp.CachedDocumentSync.passivateAndUnregister(Document.java:2764)<br />     at com.adobe.idp.CachedDocumentSync.afterCompletion(Document.java:2807)<br />     at weblogic.transaction.internal.ServerSCInfo.doAfterCompletion(ServerSCInfo.java:985)<br />     Truncated. see log file for complete stacktrace<br />> <br /><26.09.2008 11.30 Uhr CEST> <Warning> <com.adobe.workflow.AWS> <000000> <weblogic.transaction.RollbackException: Unexpected exception in beforeCompletion: sync=com.adobe.idp.CachedDocumentSync@5404c0c<br />com.adobe.internal.pdftoolkit.core.exceptions.PDFCosParseException: Expected 'obj' : 80107<br />     at weblogic.transaction.internal.TransactionImpl.throwRollbackException(TransactionImpl.java :1809)<br />     at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl. java:331)<br />     at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:227 )<br />     at weblogic.transaction.internal.TransactionManagerImpl.commit(TransactionManagerImpl.java:2 83)<br />     at com.adobe.workflow.engine.SynchronousBranch.handleInvokeAction(SynchronousBranch.java:546 )<br />     at com.adobe.workflow.engine.SynchronousBranch.execute(SynchronousBranch.java:862)<br />     at com.adobe.workflow.engine.ProcessEngineBMTBean.continueBranchAtAction(ProcessEngineBMTBea n.java:2773)<br />     at com.adobe.workflow.engine.ProcessEngineBMTBean.asyncContinueBranchCommand(ProcessEngineBM TBean.java:2528)<br />     at com.adobe.workflow.engine.adobe_ProcessEngineBMTEJB_e5zjcz_ELOImpl.asyncContinueBranchCom mand(adobe_ProcessEngineBMTEJB_e5zjcz_ELOImpl.java:1619)<br />     at com.adobe.workflow.engine.ProcessCommandControllerBean.doOnMessage(ProcessCommandControll erBean.java:144)<br />     at com.adobe.workflow.engine.ProcessCommandControllerBean.onMessage(ProcessCommandController Bean.java:99)<br />     at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:429)<br />     at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:335)<br />     at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:291)<br />     at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4072)<br />     at weblogic.jms.client.JMSSession.execute(JMSSession.java:3962)<br />     at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:4490)<br />     at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)<b r />     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)<br />     at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)<br />> <br /><26.09.2008 11.30 Uhr CEST> <Error> <com.adobe.workflow.AWS> <000000> <stalling action-instance: 1557893 with message: weblogic.transaction.RollbackException: Unexpected exception in beforeCompletion: sync=com.adobe.idp.CachedDocumentSync@5404c0c<br />com.adobe.internal.pdftoolkit.core.exceptions.PDFCosParseException: Expected 'obj' : 80107<br />     at weblogic.transaction.internal.TransactionImpl.throwRollbackException(TransactionImpl.java :1809)<br />     at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl. java:331)<br />     at weblogic.transaction.i

Set value with XPath dynamically

$
0
0

Dear All,

 

I am wonder if the following is possiable with Set Value service using XPath, any *simple* workaround is also welcome too.

 

If I have a variable myXML =

<root>

<item region="One">1</item>
<item region="Two">2</item>

</root>

 

I can reference to /root/item[1] by:

set /process/@myNum = 1

set /process/@dummy  = /process_data/myXml/root/item[number(\process\@myNum)]


But how can I access /root/item[@region="One"] ?

 

I tried the following but all failed:

1)

set /process/@myString = @region="One"

set /process/@dummy  = /process_data/myXml/root/item[string(\process\@myString)]

 

2)

set /process/@myString = One

set /process/@dummy  = /process_data/myXml/root/item[@region='string(\process\@myString)']

 

And are there any way to set a variable using template string? (i.e. You name is {$/process/@yourName$} )

 

Regards

Bill

com.adobe.idp.dsc.DSCRuntimeException: None of the Auth Provider could authenticate the user. Authen

$
0
0

Hi ,

 

I am invoking the process via email and its working fine for all the users but its not wrking for few users who are all in the partculer domain.

 

for example, We have two domains domain1 and domain2... this is wrking for domain1 users and not for domain2 users.. this is also wrking for outside users when i add the name in defautdom and all the domain users also can able to invoke the process via adobe workspace.

 

But when domain2 users are trying to invoke the process from their mail then i am getting the following error message.

      com.adobe.idp.dsc.DSCRuntimeException: None of the Auth Provider could authenticate the user. Authentication Failed

 

I used complete task to invoke the process via mail and the mail id which is created and added in the complete task also in domain2. Please let me know if you have any ideas for this issue.

 

Version - Adobe LC ES2 and Adobe Reader 10

 

Thanks,

Dhiyane

LiveCycle ES update 1 - invoke DDX with generated PDF

$
0
0
I've a process the receives an email (HTML Format) using the Receive operation of the EmailService.
I store the HTML body in the variable htmlDoc of type document.

In the next step I use the CreatePDF2 operation of the GeneratePDFService to convert the HTML body into PDF. The created document is stored in the variable pdfDoc of type document.

Finally I want to use the Invoke DDX operation of the AssemblerService to add some additional information to the PDF. But when I call the operation the exception below is thrown.

Where can I get the "provided" error messages.
[ALC-ASM-S00-002: Failed to execute the DDX - error messages provided.]
I used the same process at LiveCycle ES without any troubles.

ALC-DSC-005-000: com.adobe.idp.dsc.DSCNotSerializableException: Not Serializable
Caused by: ALC-DSC-003-000: com.adobe.idp.dsc.DSCInvocationException: Invocation error.
at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:152)
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)
...
Caused by: com.adobe.livecycle.assembler.client.OperationException: ALC-ASM-S00-002: Failed to execute the DDX - error messages provided.
at com.adobe.livecycle.assembler.AssemblerServiceImpl.execute(AssemblerServiceImpl.java:483)
at com.adobe.livecycle.assembler.AssemblerServiceImpl.invokeDDX(AssemblerServiceImpl.java:29 6)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
... 123 more
Caused by: java.lang.NullPointerException
at com.adobe.idp.DocumentCache.getObject(DocumentCache.java:72)
at com.adobe.livecycle.assembler.SharedStore.hasDOM(SharedStore.java:291)
at com.adobe.livecycle.assembler.SharedStore.close(SharedStore.java:242)
at com.adobe.internal.pdfm.Document.close(Document.java:127)
at com.adobe.internal.ddxm.ddx.CollateralManager.close(CollateralManager.java:206)
at com.adobe.internal.ddxm.Executive.execute(Executive.java:317)
at com.adobe.internal.ddxm.Executive.execute(Executive.java:221)
at com.adobe.livecycle.assembler.AssemblerServiceImpl.execute(AssemblerServiceImpl.java:465)
... 129 more

at com.adobe.idp.dsc.provider.impl.base.AbstractResponseHolder.handleException(AbstractRespo nseHolder.java:136)
at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkBindingStubUtil.deSerializeResponse( SoapSdkBindingStubUtil.java:122)
at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapAxisDispatcher.doSend(SoapAxisDispatche r.java:128)
at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:57)
at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
at com.adobe.common.utils.invoke.InvokeWithProgressRunner.invokeServiceOperation(InvokeWithP rogressRunner.java:170)
at com.adobe.common.utils.invoke.InvokeWithProgressRunner.run(InvokeWithProgressRunner.java: 97)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)

JDBC error in workbench

$
0
0
All,

I have a requirement wherein i have to query based on two conditions. For some reason the queries don't get executed as the parameters are in xpath language. I have tried in Oracle and in SQLServer and I get the same error.

I noticed that the queries work as long as there are no or 1 condition but not when there are more than two.

I am pretty sure am missing something here to formulate the query, maybe escape sequence or quotations.



my query is like this :

select column_1 from table1 where folderId ={$ /process_data/@FolderId $} and tp = '{$ /process_data/@TechPackNum $}'

error in the sqlwindow is

Exception: Internal error.. Cause: ALC-DSC-000-000: com.adobe.idp.dsc.DSCRuntimeException: Internal error.

server log :

--

ERROR [org.jboss.ejb.plugins.LogInterceptor] RuntimeException in method: public abstract java.lang.Object com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterLocal.doSupports(c om.adobe.idp.dsc.transaction.TransactionDefinition,com.adobe.idp.dsc.transaction.Transacti onCallback) throws com.adobe.idp.dsc.DSCException:
java.lang.RuntimeException: Incorrect syntax near '$ '.
at com.adobe.idp.dsc.jdbc.JDBCService.testQuerySingle(JDBCService.java:338)

....

Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near '$ '.
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(Unknown Source)


whereas for a similar query the error is displayed as when tested with oracle db

'Exception: Non supported SQL92 token at position: 76: $. Cause: Non supported SQL92 token at position: 76: $'
anyone has faced this issue and been able to resolve it ?

any pointers would be greatly appreciated.

MySQL error: Got error 139

$
0
0
Hello,

I have installed the lc turnkey and create a process with the workbench. After a lot of trials I got now the error in one process:

The process is not small. When I make it shorter than the failure comes later.

Can somebody help me?

Regards
Chris

javax.ejb.TransactionRolledbackLocalException: Got error 139 from storage engine; CausedByException is:
Got error 139 from storage engine

at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:247)

at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335)

at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166)

at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:153)

at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)

at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:122)

at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)

at org.jboss.ejb.Container.invoke(Container.java:873)

at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:415)

at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:88)

at $Proxy284.writeObject(Unknown Source)

at com.adobe.pof.omapi.POFObjectManagerLocalEJBAdapter.writeObject(POFObjectManagerLocalEJBA dapter.java:135)

at com.adobe.workflow.datatype.POFVariableContainer.write(POFVariableContainer.java:143)

at com.adobe.workflow.pat.service.PATExecutionContextImpl.writeResults(PATExecutionContextIm pl.java:120)

at com.adobe.workflow.engine.AbstractBranch.saveRuntimeData(AbstractBranch.java:396)

at com.adobe.workflow.engine.SynchronousBranch.execute(SynchronousBranch.java:884)

at com.adobe.workflow.engine.ProcessEngineBMTBean.continueBranchAtAction(ProcessEngineBMTBea n.java:2773)

at com.adobe.workflow.engine.ProcessEngineBMTBean.asyncContinueBranchCommand(ProcessEngineBM TBean.java:2528)

at sun.reflect.GeneratedMethodAccessor1125.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at org.jboss.invocation.Invocation.performCall(Invocation.java:345)

at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:214)

at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:149)

at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor. java:54)

at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)

at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:106)

at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:1 58)

at org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:62)

at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:154)

at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:153)

at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)

at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:122)

at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)

at org.jboss.ejb.Container.invoke(Container.java:873)

at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:415)

at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:88)

at $Proxy302.asyncContinueBranchCommand(Unknown Source)

at com.adobe.workflow.engine.ProcessCommandControllerBean.doOnMessage(ProcessCommandControll erBean.java:144)

at com.adobe.workflow.engine.ProcessCommandControllerBean.onMessage(ProcessCommandC

Events working on one server and not the other

$
0
0

We have a development and a production server for LC. I have events working on the development server that accept parameters.

 

The services were deployed to the production server and the following error occured:

 

2010-05-04 09:14:04,203 ERROR [STDERR] May 4, 2010 9:14:04 AM com.adobe.idp.scheduler.callback.ServiceCallbackHandler execute
SEVERE: Exception thrown while calling back a DSC componentINVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.


2010-05-04 09:14:04,203 INFO  [org.quartz.core.JobRunShell] Job Asynchronous.SWR.RAAC.RequestSendEmail:12729788401870.18563775243350922 threw a JobExecutionException:
org.quartz.JobExecutionException: java.lang.Exception: org.w3c.dom.DOMException: INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.

[See nested exception: java.lang.Exception: org.w3c.dom.DOMException: INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified. ]
    at com.adobe.idp.scheduler.callback.ServiceCallbackHandler.execute(ServiceCallbackHandler.ja va:102)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
Caused by: java.lang.Exception: org.w3c.dom.DOMException: INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.
    at com.adobe.idp.scheduler.callback.ServiceCallbackHandler.execute(ServiceCallbackHandler.ja va:101)
    ... 2 more
Caused by: org.w3c.dom.DOMException: INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.
    at org.apache.xerces.dom.CoreDocumentImpl.createElement(Unknown Source)
    at com.adobe.idp.event.xml.XMLGenerator.createElement(XMLGenerator.java:500)
    at com.adobe.idp.event.xml.XMLGenerator.createEventDataDocument(XMLGenerator.java:293)
    at com.adobe.idp.event.content.EventContent.createEventDataXML(EventContent.java:173)

 

 

I took the xml from the production service and ran it through the development server, it worked fine.

 

Any idea as to where to start the troubleshooting?

 

 

Cheers,

handling 'Exception Event Catch' from invokeDDX

$
0
0

I have a long-lived process that uses the invokeDDX service.

 

The invokeDDX has a primary route that connects it to a setValue/execute service under normal circumstances.

 

I want to now draw another route from the "Exception Catch" of the invokeDDX service icon's bottom-right corner. This new route will be connected to another service operation.

 

I have not done this before and I don't see much in the way of documented examples of handling an exception. It looks like invokeDDX throws a com.adobe.livecycle.assembler.client.OperationException.

 

What service should I route this exception to? I am considering another setValue/execute. I would like to examine details of the exception , for example: if one of the multiple PDF data inputs in the source list is a bad PDF, then I would like to get the index of the (source) array list that indicates which PDF in the list is bad. Ideally I would like to return a "document" that is the output for this process and this "document" would contain some information about the exception that was caught.

 

Right now, without this exception handling, my process stalls at the invokeDDX operation step. So I am trying to build some exception handling and would appreciate any help.

 

Thanks in advance.

 

I have already looked at these documents, but they don't go far enough into the details of handing an Assembler invokeDDX Operation Exception.

 

http://livedocs.adobe.com/livecycle/es/wb_help/00000498.html

 

http://livedocs.adobe.com/livecycle/es/wb_help/00000543.html

 

http://livedocs.adobe.com/livecycle/es/wb_help/00001140.html

 

http://livedocs.adobe.com/livecycle/es/wb_help/00001151.html

Display confirmation message box on form submit

$
0
0

I have built a simple guide in Workbench ES2 based on a data model. It's one panel that allows the user to enter their name and ID number, which then gets collected and sent to a database. What I would like to do is upon the user hitting the submit button on the guide, display a message or alert box saying "Thanks for entering your ID number." For the life of me I cannot find any functionality to do this. Is it possible? Am I missing something easy?

Insert XML to BLOB

$
0
0

I'm experienceing a problem using the Foundation / Execute Query component.

I'm trying to insert XML into a table using the following INSERT Statement:

 

 

INSERT INTO temp_registration (ID, registrationXML)

VALUES ({$ /process_data/@lastID $}, '{$ /process_data/registrationXML $}')

lastID (integer variable) and the registrationXML (xml variable) are populated during the process.
The insert statement works, but the result i see in the database is not what i expect:
The input (simplified):
<?xml version="1.0" encoding="utf-8"?>
<XML>
  <Account>
    <AccountEmail>email@email.com</AccountEmail>
    <FirstName>Rob</FirstName>
  </Account>
  <Request>
    <documentID>1</documentID>
  </Request>
</XML>
The result in the database looks like:
  
    email@email.com
    Rob
 
 
    1
When using MySQL Workbench with the following INSERT statement the data is inserted as i expect...
INSERT INTO temp_registration (id, registrationXML)
VALUES (55, '<?xml version="1.0" encoding="utf-8"?>  <XML>      <Account> <AccountEmail>email@email.com</AccountEmail>        <FirstName>Rob</FirstName>             </Account>                            <Request>                             <documentID>1</documentID>        </Request>       </XML>')


The LiveCycle logs states the following btw:
2010-12-07 15:11:44,850 INFO  [SqlHelper] execute statement: INSERT INTO temp_registration (ID, registrationXML)
VALUES (44, '
 
    email@email.com
    Rob
 
 
    1
 
')

Where and why does this interpreation of my inputXML come from??
Thx!
Viewing all 69588 articles
Browse latest View live




Latest Images