LiveCycle spoil my php dataservices?

Hey

Is it possible that the livecycle template .fml is mess up my php data services I made with the wizard?

I have deployed the php files in the test server and I changed the destination url in these service .as files to point to the test server gateway.php, but somehow it connects to the local host that I have on my laptop.

But once I investigated the .fml file and I changed the url in there, the services have started working again and connected to the test server gateway.php file.

Is this a bug? Can I force the new address somehow to services or that I always have to change the url by hand?

See you soon.

Hello

Any change of *.fml updates service code also. If you want to change the endpoint or destination, override their values in the subclass of the _Super_Servicename.as inside the constructor. If you use Burrito you can override the method preinitialize() for these cases.

-Rahma

Tags: Flash Builder

Similar Questions

  • RegEx PHP?

    I'm validating a form with PHP RegEx name field.

    Allowed characters: a - z A - Z, spaces, apostrophe (single quotation mark), hyphen.

    I even tried to escape from the apostrophe, but it still does not work.

    What Miss me?

    If (! preg_match (' / ^ [a-zA-Z '-] + $/ ', $name)) {}

    $errName = "only a' - z A - Z -"authorized;

    }

    Nancy O.

    Nancy,

    The script allows no foreign characters. (I tried with the Vietnamese, who looks like Latin, but with lots of accents)

    One reason I like AOP is because, when you use-related settings, you do not have to worry of apostrophes and quotation marks spoil the query. I think not muSQLi related parameters (but I could be wrong).

    The problem with foreign characters is the regular expression. I think you are fine with FILTER_SANITIZE_STRING. (However, there are options for SANITIZE_STRING to deal with encoding HIGH and LOW.)

  • Need help with connections to ODBC in Adobe LiveCycle

    Hello I have designed a form for my business that uses a database to fill in a few fields in the form. I can't operate properly without acrobat pro is installed. I use using xfa.sourceSet.DataConnection, but like I said it works as with acrobat pro is installed. We don't have acrobat pro on all machines in my company and installation is not an option is there another way to accompish this?

    See this article for what options you have for deploying your form:

    http://assuredynamics.com/index.php/2010/11/using-LiveCycle-Forms-in-Acrobat-and-reader/

  • LiveCycle remote functions parameter ArrayList (correspondence management))

    Hi guys,.

    I'm working on a function of personalized distance used by the management of correspondence. The interface/implementation class looks like the following:

    import com.adobe.exm.expeval.ServiceMethod;

    import java.util.ArrayList;

    interface EXMService {}

    @ServiceMethod

    Abstract String testString (String content);

    @ServiceMethod

    Abstract String testList (ArrayList list);

    }

    import com.adobe.exm.expeval.ServiceMethod;

    import java.util.ArrayList;

    / public class EXMServiceImpl implements EXMService {}

    @ServiceMethod (enabled = true, displayName = "testFunc1", description = "works fine")

    public String testString (string content) {}

    return 'works ';

    }

    @ServiceMethod (enabled = true, displayName = "testFunc2", description = "does not work")

    public String testList (ArrayList list) {}

    return 'works ';

    }

    }

    As soon as I install the bundle and try to get a list of all remote custom installed/available services (correspondence interface), I get an empty list and the following exception:

    13.12.2013 12:22:44.998 * INFORMATION * DS. Message.Remoting.Sling Service started for remote invocation: ServiceInfoImpl {reference = [com.adobe.livecycle.content.test.EXMService], destinationId = 'test', started = true}

    13.12.2013 12:23:00.957 * ERROR * DS. Error Message.Remoting invocation to treatment distance: java.lang.IllegalArgumentException: java.util.ArrayList type is not supported

    incomingMessage: Flex Message (flex.messaging.messages.RemotingMessage)

    operation = listServices

    clientId = 6FEEEB2B-EED0-4CBE-992A-01FC6425A3A1

    destination = lc.exm.functionService

    messageId = ED6A005A-1542-8A30-E923-EBB201BCEEE7

    timestamp = 1386933780957

    timeToLive = 0

    body =

    [

    null

    ]

    HDR (Iddm) = D5AE6DA2-2225-4358-A7A7-B189E6A3DEF5

    HDR (DSEndpoint) = my-amf

    java.lang.IllegalArgumentException: java.util.ArrayList type is not supported

    at com.adobe.exm.expeval.fn.MethodUtils.getType(MethodUtils.java:40)

    at com.adobe.exm.expeval.fn.FunctionServiceImpl.toFunctionParameterVO (FunctionServiceImpl.ja goes: 105)

    at com.adobe.exm.expeval.fn.FunctionServiceImpl.toFunctionVO(FunctionServiceImpl.java:150)

    at com.adobe.exm.expeval.fn.FunctionServiceImpl.listServices(FunctionServiceImpl.java:164)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

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

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

    at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:404)

    at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)

    at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1465)

    at flex.messaging.AsyncMessageBroker.filteredRouteMessageToService (AsyncMessageBroker.java:5, 64)

    to flex.messaging.filters.SyncMessageFilterChain$ MessageFilterContext.filterRequest (SyncMess ageFilterChain.java:219)

    to com.adobe.dataservices.impl.DelegatingSyncFilter$ DelegatingMessageFilterContext.filterReq uest(DelegatingSyncFilter.java:95)

    to com.adobe.dataservices.impl.DelegatingSyncFilter$ DelegatingMessageFilterContext.processRe quest(DelegatingSyncFilter.java:83)

    at com.adobe.dataservices.impl.DelegatingSyncFilter.filterRequest (DelegatingSyncFilter.java: 62)

    to flex.messaging.filters.SyncMessageFilterChain$ MessageFilterContext.filterRequest (SyncMess ageFilterChain.java:215)

    to flex.messaging.filters.SyncMessageFilterChain$ MessageFilterContext.processRequest (SyncMes sageFilterChain.java:201)

    to flex.messaging.filters.SyncMessageFilterChain.filterRequest (39 SyncMessageFilterChain.java:1)

    at flex.messaging.AsyncMessageBroker.routeMessageToService(AsyncMessageBroker.java:554)

    at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:1041)

    at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:103)

    at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)

    at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)

    at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)

    at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:192)

    at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:330)

    at com.adobe.dataservices.impl.ApplicationManagerImpl.service (ApplicationManagerImpl.java:67 3)

    at org.apache.jsp.libs.dataservices.components.messagebroker.POST_jsp._jspService (POST_jsp.j ava: 98)

    at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

    at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service (JspServletWrapper .java:502)

    at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service (JspServletWrapper .java:449)

    at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp (JspScriptEngineFactory.java:241)

    in org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$ 100 (ava JspScriptEngineFactory.j: 86)

    to org.apache.sling.scripting.jsp.JspScriptEngineFactory$ JspScriptEngine.eval (JspScriptEngin eFactory.java:441)

    at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:361)

    at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:171)

    at org.apache.sling.scripting.core.impl.DefaultSlingScript.service (DefaultSlingScript.java:4 63)

    at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:508)

    at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render (SlingComponentFilter Chain.java:45)

    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter (AbstractSlingFilter Chain.java:64)

    at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:148)

    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter (AbstractSlingFilter Chain.java:60)

    at com.day.cq.wcm.core.impl.WCMComponentFilter.filterRootInclude (WCMComponentFilter.java:333)

    at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:160)

    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter (AbstractSlingFilter Chain.java:60)

    at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent (SlingRequestProce ssorImpl.java:254)

    at org.apache.sling.engine.impl.filter.RequestSlingFilterChain.render (RequestSlingFilterChai n.java:49)

    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter (AbstractSlingFilter Chain.java:64)

    at com.day.cq.wcm.core.impl.warp.TimeWarpFilter.doFilter(TimeWarpFilter.java:106)

    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter (AbstractSlingFilter Chain.java:60)

    at com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter.doFilter(RedirectFilter.java:290)

    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter (AbstractSlingFilter Chain.java:60)

    at com.adobe.livecycle.content.appcontext.impl.AppContextFilter.doFilter (AppContextFilter.ja goes: 58)

    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter (AbstractSlingFilter Chain.java:60)

    at com.adobe.livecycle.content.sling.impl.ResourceResolverFilter.doFilter (ResourceResolverFi lter.java:34)

    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter (AbstractSlingFilter Chain.java:60)

    at com.adobe.livecycle.crx.security.SpringSecurityBridgeFilter.doFilter (SpringSecurityBridge Filter.java:65)

    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter (AbstractSlingFilter Chain.java:60)

    at com.adobe.livecycle.process.reporting.servlet.filter.ProcessReportingResourceResolverFilt er.doFilter(ProcessReportingResourceResolverFilter.java:70)

    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter (AbstractSlingFilter Chain.java:60)

    at com.adobe.livecycle.lccomponent.util.LcComponentResourceResolverFilter.doFilter (LcCompone ntResourceResolverFilter.java:54)

    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter (AbstractSlingFilter Chain.java:60)

    to com.adobe.livecycle.dsc.clientsdk.internal.ResourceResolverHolderFilter.doFilter (Resource ResolverHolderFilter.java:37)

    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter (AbstractSlingFilter Chain.java:60)

    at org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter.doFilter (RequestProgre ssTrackerLogFilter.java:59)

    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter (AbstractSlingFilter Chain.java:60)

    at com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet.doFilter (FormsHandlingServlet.j ava: 220)

    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter (AbstractSlingFilter Chain.java:60)

    to com.day.cq.theme.impl.ThemeRe...

    Without the testList method, everything works fine.

    Any clue?

    THX in advance

    Jwe

    Hello

    Only primitive types are supported as arguments in functions remotely.

    There is no scenario where one needs for collection at a distance of functions. Using the list as arguments was manully blocked in CM.

    Can you explain your case to use here, as in why you wish a list of tables to a distance function?

    Please see the link below on how the collection elements are used in an expression.

    http://help.Adobe.com/en_US/LiveCycle/11.0/ExpressionManagerTechGuide/WSc070aef4a1ec54562a e81de91312ac1e1be - 8000.2.html

    Kind regards

    Javed

  • Java DataMessage Push via LC DataService-RTMP server

    Hi all

    I'm doing a CEP to send data from a server (Java), although DataService of LCDS 3.1 using the RTMP protocol.

    Configuration is OK. Adobe Air client DataMessage server (+ assembler save in DB): OK

    I found a lot of examples with AsyncMessage, but as it is a RTMP destination through a service of DataService, I send a DataMessage.

    Appearently, it has some bugs (or Miss things/good API doc!).

    So please, could you help me?

    Here's the code that makes the push. The main method is doPush()

    package mypackage.lcds.service.ds.impl;

    import java.util.HashMap;
    import java.util.HashSet;
    import java.util.Map;
    to import java.util.Set;

    Import org.apache.commons.collections.CollectionUtils;
    Import org.apache.log4j.Logger;
    Import org.springframework.stereotype.Service;

    Import mypackage.lcds.service.ds.DataPushService;
    Import mypackage.model.dto.AbstractDto;
    Import mypackage.model.exception.DsPushException;
    Import flex.data.messages.DataMessage;
    Import flex.messaging.MessageBroker;
    Import flex.messaging.messages.Message.
    Import flex.messaging.services.MessageService.
    Import flex.messaging.util.UUIDUtils;

    /**
    * Implementation of {@link DataPushService}.
    */
    // see http://forums.Adobe.com/thread/580667
    MessageCLient:
    // http://livedocs.Adobe.com/LiveCycle/8.2/programLC/programmer/LCDs/help.HTML?content=lcconn ections_2.html
    @Service
    / public final class DataPushServiceImpl implements DataPushService {}
    public private static final logger LOG = Logger.getLogger (DataPushServiceImpl.class);

    /**
    * Name destination for the data service. < br >
    * See data-management-config. XML.
    */
    private static final String DESTINATION_NAME__POC_DS_XCHANGE = "poc-ds-xchange".

    /**
    * See data-management-config. XML.
    */
    private static final String PUSH_DTO_SERVICE__NAME = "data service".

    /**
    * the value "manually" in the spring (circumvention of contexts; not autoconnectes).
    */
    private MessageBroker messageBroker = null;

    /**
    * Due to the push of a single DTO. < br >
    * Only subscriberId which are the values of {Long @link} will be used. The other IDs do not get a Message sent.
    *
    @param dto
    * {object @link AbstractDto}.
    @param subscriberIds
    * {@link set} screens LCD LIQUID subscriber Message ID {@link Long}. If null, sends to all connected clients.
    *
    * @throws DsPushException
    * if any error
    */
    @SuppressWarnings ("unchecked")
    Private Sub doPush (final AbstractDto dto, final Set < Long > subscriberIds)
    get {DsPushException}

    The <>value? ID = new HashSet < Object > ();

    get the message through the message broker service
    MessageService messageService = this.getMessageService ();

    DataMessage message = this.createMessage (dto, messageService);

    ID fill
    If ((subscriberIds == null) |) ((subscriberIds.isEmpty ())) {


    If (LOG.isDebugEnabled ()) {}
    LOG.debug ("sending message the subscriberIds currently connected");
    }

    Set idsFromDS = messageService.getSubscriberIds (message, true);
    If ((idsFromDS! = null) & & (! idsFromDS.isEmpty ())) {}
    CollectionUtils.addAll (ID, idsFromDS.iterator ());
    }
    } else {}
    CollectionUtils.addAll (ID, subscriberIds.iterator ());
    }

    If (ids.isEmpty ()) {}
    If (LOG.isDebugEnabled ()) {}
    LOG.debug ("no subscriberId to send your Message.");
    LOG.debug ("known subscribers:" + messageService.getSubscriberIds (message, true) m:System.NET.SocketAddress.ToString ());
    }
    } else {}

    If (LOG.isDebugEnabled ()) {}
    LOG.debug ("sending message to subscriberIds:"+ subscriberIds.toString () ');
    LOG.debug ("known subscribers:" + messageService.getSubscriberIds (message, true) m:System.NET.SocketAddress.ToString ());
    }

    Send a message to all the subscriberIds 1 by 1
    ResponsePayload of the object = null;
    Boolean stop = false;
    for (object id: ID) {}

    If {(id instanceof Long)
    try {}
    message.setHeader (Message.DESTINATION_CLIENT_ID_HEADER, id);
    If (LOG.isDebugEnabled ()) {}
    LOG.debug ("sending Subscriber DataMessage LIQUID Crystal screens [" + id + "] \n" + message.toString (2));
    }
    responsePayload = messageService.serviceMessage (message, true);

    no exceptions == > means OK?
    Payload recalibrated TODO TEST
    Stop = true;

    } catch (Exception e) {}
    LOG.error ("Error when sending message to subscriberId" + id, e);
    Stop = false;
    } {Finally
    If (LOG.isDebugEnabled ()) {}
    LOG.debug ("Message sent to" "+ String.valueOf (id) +" ":" + String.valueOf (stop));
    }
    }
    } ElseIf (LOG.isDebugEnabled ()) {}
    LOG.debug ("avoiding the ID of the Subscriber (not a value of type Long):" + String.valueOf (id));
    }
    }
    }
    }

    /**
    * {@inheritDoc}
    *
    * @see DataPushService #pushToAllClients (AbstractDto)
    */
    TODO test: If the client is not connected, LCDS he recorded for later (offline mode on the server?)
    public void pushToAllClients (final AbstractDto dto) get {DsPushException}
    this.doPush (dto, null);
    }

    public void pushTo1Client (AbstractDto dto, subscriberId Long) get {DsPushException}
    Together < Long > subscriberIds = new HashSet < Long > ();
    subscriberIds.add (subscriberId);

    this.doPush (dto, subscriberIds);
    }

    /**
    * {@inheritDoc} < br >
    * subscriberIds refer to the "clientId" defined by the client application when it is subscribed to the destination of the DS.
    *
    * @see DataPushService #pushToClients (AbstractDto, Set)
    */
    ' Public Sub pushToClients (final AbstractDto dto, final Set < Long > subscriberIds) get {DsPushException}
    this.doPush (dto, subscriberIds);
    }

    @SuppressWarnings ("unchecked")
    private DataMessage createMessage (final AbstractDto dto, final MessageService messageService) {}
    DataMessage msg = new DataMessage();
    msg.setClientId (getServerId ());
    msg.setTimestamp (System.currentTimeMillis ());
    msg.setMessageId (UUIDUtils.createUUID (true));
    msg.setCorrelationId (msg.getMessageId ()); TODO OK MessageId is CorrelationId?
    msg.setDestination (DESTINATION_NAME__POC_DS_XCHANGE);
    msg.setBody (dto);
    msg.setOperation (DataMessage.CREATE_AND_SEQUENCE_OPERATION); Operation of the TODO OK?

    ID = new HashMap (2);
    See data-management-config. XML
    Identity.put ("id", dto.getId ());
    msg.setIdentity (identity);

    FIXME defined priority. How?
    If (LOG.isDebugEnabled ()) {}
    LOG.debug ("LCD DataMessage created: \n" + msg.toString (2));
    }
    return msg;
    }

    Private Object getServerId() {}
    FIXME OK?
    return to "X-Back-END;
    }

    /**
    To get the current {@link MessageBroker} service layer.
    *
    {MessageService @link} @return to use for data push
    */
    private getMessageService() {MessageService
    If (LOG.isDebugEnabled ()) {}
    LOG.debug ("Getting MessageBroker DataService service");
    }

    A: return (MessageService) MessageBroker.getMessageBroker (null) .getService (PUSH_DTO_SERVICE__NAME);
    Return this.messageBroker.getService (PUSH_DTO_SERVICE__NAME) (MessageService);
    }

    /**
    * Set the messageBroker. For spring.
    *
    @param messageBroker
    * the messageBroker to define
    */
    {} public void setMessageBroker (final MessageBroker messageBroker)
    this.messageBroker = messageBroker;
    }
    }

    NOTE: the messagebroker is set once through spring. It works for this POC.

    I have a Servlet that records a DTO in the DB and then tries to push through the service. Everything looks OK, but I get a NullPointerException (NPE).

    Here is the LOG of Tomcat 6 (it sends to the subscriberID ' 99'):

    Crystals FLUID created DataMessage displays:
    Flex Message (flex.data.messages.DataMessage)
    operation = create_and_sequence
    ID = {id = 3203}
    clientId = X-BACKEND
    correlationId = 7E6C3051-FA0F-9183-4745-B90ACACD71EA
    destination = poc-ds-xchange
    messageId = 7E6C3051-FA0F-9183-4745-B90ACACD71EA
    timestamp = 1297412881050
    timeToLive = 0
    body = mypackage.model.dto.XchangeDto [id = 3203 [clientId = 2 [userId = 123456 [text = InterActionServlet Test]
    09:28:01, 065 DEBUG [impl. DataPushServiceImpl] sending message to subscriberIds: [99]
    09:28:01, 065 DEBUG [impl. DataPushServiceImpl] known subscribers: [99]

    09:28:01, 065 DEBUG [impl. DataPushServiceImpl] send screens LCD LIQUID DataMessage to subscriber [99]
    Flex Message (flex.data.messages.DataMessage)
    operation = create_and_sequence
    ID = {id = 3203}
    clientId = X-BACKEND
    correlationId = 7E6C3051-FA0F-9183-4745-B90ACACD71EA
    destination = poc-ds-xchange
    messageId = 7E6C3051-FA0F-9183-4745-B90ACACD71EA
    timestamp = 1297412881050
    timeToLive = 0
    body = mypackage.model.dto.XchangeDto [id = 3203 [clientId = 2 [userId = 123456 [text = InterActionServlet Test]
    HDR (DSDstClientId) = 99
    09:28:02, ERROR 456 [impl. DataPushServiceImpl] error when sending message to subscriberId 99
    java.lang.NullPointerException
    at flex.data.adapters.JavaAdapter.invokeAssemblerSync(JavaAdapter.java:1741)
    at flex.data.adapters.JavaAdapter.invokeBatchOperation(JavaAdapter.java:1630)
    at flex.data.adapters.JavaAdapter.invoke(JavaAdapter.java:658)
    at flex.messaging.services.MessageService.serviceMessage(MessageService.java:318)
    at flex.messaging.services.MessageService.serviceMessage(MessageService.java:233)
    at mypackage.lcds.service.ds.impl.DataPushServiceImpl.doPush(DataPushServiceImpl.java:142)
    at mypackage.lcds.service.ds.impl.DataPushServiceImpl.pushTo1Client (DataPushServiceImpl.java:178)
    at mypackage.servlet.InteractionServlet.push(InteractionServlet.java:75)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (unknown Source)
    at java.lang.reflect.Method.invoke (unknown Source)
    at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.doInvokeMethod (erMethodInvoker.java:421 Handl)
    at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod (HandlerMethodInvoker.java:136)
    at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandl erMethod(AnnotationMethodHandlerAdapter.java:326)
    to org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle (Anno tationMethodHandlerAdapter.java:313)
    at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
    at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
    at org.springframework.web.servlet.FrameworkServlet.processRequest (FrameworkServlet.java:571)
    at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.j ava: 290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    at org.apache.coyote.http11.Http11Protocol$ Http11ConnectionHandler.process (Http11Protocol.ja goes: 584)
    to org.apache.tomcat.util.net.JIoEndpoint$ Worker.run (JIoEndpoint.java:447)
    at java.lang.Thread.run (unknown Source)
    09:28:02, 472 DEBUG [impl. DataPushServiceImpl] Message sent to "99": false

    == > what am I doing wrong?

    I can't find the code (I don't have the source), but the exception thrown is simply any help.

    Am I missing a header to set?

    Thank you very much for your help,

    Gregg

    As you filter your query based on a particular user, then settings your DataService fill() could contain a single token for that user.  When the filling is updated on the server after the (as shown in the connection of Rohit Kumar) createItem() only which will be updated and pushed to the client with this token.

    The api DataServiceTransaction is the way to go, if you use LC DataService.

    Hope this helps

    PAM

  • If I use the adobe reader 7.0 software to open LiveCycle Designer ES2, what will happen?

    Hello

    I intend to recommend adobe LiveCycle Designer ES2 as a software designer of forms for a client company. But it seems that the client always uses the old version of adobe reader 7.0.

    So I need to know that it is essential to use the adobe reader 9.0 for designer ES2 software and if Adobe reader 7.0, this problem would happen?

    It is very useful, if there is detailed information on this subject.

    Thank you

    Shoku en

    Hello

    When you design a form in LC Designer ES2, you can set the version target of Acrobat/Reader software in the file > properties > default values tab.

    While you can target v7, be aware that some features in LC Designer ES2 is not supported in Reader v7. For example in LC Designer, you can define the presence of an object "(screen visible only)", but it is not supported in Reader v7, so would cause a problem. So for each form you will need to set the version of the target, and then check the warnings palette to see if there are problems.

    See the post by John Brinkman discussing Acrobat X, as it's a very handy table for the versions of the specification of the designer/XFA LC and Acrobat/Reader: Acrobat X and XFA 3.3

    XFA Version Acrobat/Reader
    2.1 6.02
    2.2 7.0
    2.3 7.0.1 7.02
    2.4 7.0.5, 7.0.7
    2.5 8.0
    2.6 8.1, 8.1.1
    2.8 9.0
    3.0 9.1, 9.2, 9.3
    3.3 10.0

    You can see there are a lot of changes around v7 and if the user has v7.0.7 Reader, you can use the features of 2.4 XFA specification.

    The other question to know is that users with the player will NOT be able to save data in the form, UNLESS the form has been enabled for reader until the form is deployed.

    The form can be active player in two ways:

    • Using Acrobat Standard v9 or Acrobat Professional v7 or v8. A license restrictions, see the EULA.
    • With the help of a server product called Adobe LiveCycle Reader Extensions ES2. Extra charge.

    Here is a summary of the options available for users with the player, depending on whether the form is activated to drive AND how she has been activated:

    There is a post here and a summary in PDF:

    http://assurehsc.IE/blog/index.php/2010/05/using-LiveCycle-Forms-in-Acrobat-and-reader/

    Hope that helps,

    Niall

  • Fill in the fields from a php script

    Hello

    I am filling the fields of text from a PHP script directly in Acrobat Reader.

    Lets not talk about database right now, I just want to know how to take a variable in PHP, right in the form of livecycle designer.

    I've seen a lot of things like submitform() using http post, etc., but I can't make it work.

    Thank you in advance.

    If you want to fill in the LiveCycle Designer form, then you will need to go with the data file.

    The data file can be an XML file or a database or WebService.

    You can't fill out the PDF from a PHP script directly. Is what you can do, a LiveCycle process created in Workbench and then call the PHP application process information. The Livecycle process will merge the data with the model and the PDF back to the client application.

    There is another feature in Acrobat PRO you can import an XML file directly to PDF, but it's a manual work. You cannot link to a PHP Script.

    Thank you

    Srini

  • Flex Dataservices deployment problem

    I m using dataservices to connect to my database via php. It works great so far.
    The problems start when I want to deploy the application, because I had to make some changes to my template .fml file.
    Here is an excerpt:

    < name of annotation 'ServiceConfig' = >
    < name of the item = "PHP_RELATIVE_LOCATION" > MyApp/application/amf/Navigation.php < / item >
    < name of the item = "PHP_SERVER_ROOT" > C:/xampp/htdocs < / item >
    < name of the item = "DEFAULT_ENTITY_PACKAGE" > valueObjects < / item >
    < name of the item = "PHP_SERVICES_FOLDER" > C:/xampp/htdocs/MyApp/public/flash/services < / item >
    < name of the item = "PHP_LOCATION" > C:/xampp/htdocs/MyApp/application/amf/Navigation.php < / item >
    < name of the item = "LINKED_FILE" > Navigation.php < / item >
    < name of the item = "PHP_SERVER_ROOT_URL" >http://localhost/< / item >
    < name of the item = "ABSOLUTE_ENDPOINT" >http://localhost/MyApp/public/amf< / item >
    < name of the item = "PHP_CLASS_NAME" > AMF_Navigation < / item >
    < / annotation >

    As you can see I have not integrated my in my project of zend amf endpoint point, West no gateway.php and more
    integrated php used to 'talk to the database' classes. I had to do in order to make the thing whole execution
    with zend and the doctrine as a session layer ORM.
    As I now paths and specific values for my development environment the question is, in a way that I can
    use another for my release .fml file to run in my production environment? Of course I could modify the .fml
    every time for the release build, but it would be really a pain... and also I have just can´t believe that Adobe didn t
    provide a scenario like this and has some sort of solution.

    I found the answer myself.

    I had a look at the files generated outside the .fml, i.e. _Super_MyApp.as file and there it says under _serviceControl.endpoint 'http://localhost/and so now "where in default configurations would be"gateway.php"only. As I joined the gateway.php in my Zend controllers. that is AmfController.php I put ... /AMF in my .fml file. Now, it seems to work.

    However I still wonder what this does...

    MyApp/application/amf/Navigation.php

    C:/xampp/htdocs

    valueObjects

    C:/xampp/htdocs/MyApp / / flash/public services

    C:/XAMPP/htdocs/MyApp/application/AMF/navigation.php

    Navigation.php

    http://localhost/

    http://localhost/MyApp/public/AMF

    AMF_Navigation

    ... URL and access roads are obviously wrong here, but that doesn´t seems to be a problem when exporting. I guess that's only for introspection of services in flashbuilder, right? Or will I have more problems?

  • Flex Builder 4 Data Service (PHP) integration

    Hello

    Preface:

    a database of existing MySQL (Bioographies of Artists) has created a form of dataservice

    When I call the functions from the tab "Data Services" of Flash Builder 4 they work flawless. (add, delete, update)

    Assume that the next object of value has been created:

    'Artists_biography '.

    I am now trying to call service through Actionscript as follows:

    var updateObject:Artists_biography = new Artists_biography();
          updateObject.biography_de = contentToSave;
          updateObject.biography_id = biography_id;
          updateObject.artists_id = artist_id;
    updateArtists_biographyResult.token = artistsbiographyService.updateArtists_biography(updateObject);
    

    I get this:

    Error: Could not find the data for the value service: valueObjects::Artists_biography

    I also tried to use the valueObject mxml like this:

    < valueObjects:Artists_biography id = "updateObject" / >

    Even the created forms automatically produce this error

    Any hint why this happens?

    Help * please *.

    Hello

    When the PHP sample is generated from the database, data management is enabled by default on the entity of this service (in your case, it is Artists_biography).

    In this case, the update of "Artists_biography" method only accepts managed server valueObjects.

    There are 2 options if you want to use updateArtists_biography in FormGen

    1. remove the update method in assistant management of the data. Context, click feature and click on "Enable data management" and delete the "update" method

    or

    2. use the result of the getItemById operation. Cast in a valueObject, modify and transmit as an argument to the updateArtists_biography.

    -Rahma

  • Postgres driver missing in the sierra (phpinfo.php) PDP?

    My Mac El Capitan phpinfo.php lists three PDO drivers:

    PDO drivers mysql, sqlite, pgsql

    I updated another mac Sierra and the phpinfo.php reported only two: mysql and sqlite.

    That's why I always get a message when you try to use the same software that runs on El Capitan.

    Error is: "failed connection: driver is not found.

    Why this driver was eliminated from the Sierra?  Is there a solution?

    Note: Sierra had PHP Version 5.6.24, whereas I used 5.5.3.4 with El Capitan.

    Kind regards

    Tom S.

    based on a similar proposal posted to correct the problem by adding these lines in /etc/php.ini solved this problem:

    extension=/applications/server.app/Contents/ServerRoot/usr/lib/php/extensions/no-debug-non-ZTS-20131226/PDO_PGSQL.so

    extension=/applications/server.app/Contents/ServerRoot/usr/lib/php/extensions/no-debug-non-ZTS-20131226/pgsql.so

    session.entropy_length = 20

    is = / dev/random

    session.hash_function = sha512

    Date.TimeZone = "America/New_York".

  • Server 5.2 php pgsql.so module does not

    After installation of macOS Sierra and Server 5.2, I find that Roundcube is no longer able to connect to a PostgreSQL database. I back down to the file php.ini configuration does not load the pdo_pgsql.so/pgsql.so modules. All the world has noticed this change?

    I see that the server still has its own php.ini file with extension to pgsql inside settings. However, the configuration of php is more load the server php.ini file, because it seems before. How could I do php load in the server's PHP.ini?

    I have this problem as well!

    It is very bad, I have a few site that using pgsql and they are now down until I'm looking for the solution!

  • How to upgrade PHP

    Just try to find how to upgrade PHP on El Capitan

    You will need to do this in terminal:

    https://coolestguidesontheplanet.com/upgrade-PHP-on-OSX/

  • How to open files in pdf format .php. Can do in Safari, and not in FF

    I tried to open a file from a web page that downloads as a .php. When I open it, it happens like jibberish (for me), not in pdf format. If I use Safari, it happens in pdf format in the appropriate format.
    Thanks in advance.

    You can rename the file in the Finder and add a .pdf file extension if the vehicle currently has a .php file extension.

    Better still is to check the file name when you download and save a file to make sure that the file has the correct file extension to avoid these problems.

  • My tabs are spoil

    I usually have three tabs open; two for my Tumblr blog and one for other sites that I visit. Recently, one of my two Tumblr spoil; I normally have one for my dashboard and one for my Inbox on Tumblr, but when I launch Firefox, I have two tabs of the Inbox.
    I can access my dashboard again easily, but I chose in my Firefox General options that Firefox starts with windows and tabs, that I had the last time - which is my dashboard, my Inbox tab tab and my third tab. I do not change my tabs to have two of the same thing before closing Firefox, either. I emailled Tumblr on this problem and I have yet to receive a response from them.

    Thank you very much if anyone can help out me.

    A little update and I don't know how, but the problem is solved. If there is any way to mark this issue as resolved, or if anyone can remove it, then someone please can you who?

  • PHP/Freetype problem

    I recently moved an OS X server at Yosemite 10.11.5. All right, until I needed graphics in LimeSurvey. In the past, I had installed the lip.ch PHP package, adjusted Apache and operated. This week, I tried all the packages that I can; most HomeBrew; and despite all the theninstallations have completed without error, I can't get Apache to use anything other than the Apple of PHP installation. It's extremely frustrating. Given that this isn't strictly a fault of Apple, I've posted on other forums and there are other users El Capitan having the same problem. What complicates things, is that my web root folder is on another partition. Years ago, I moved the library server Web folder / and have since just migrated there. I be quite clueless as to what this means in terms where some of its parameters becomes server. However, it is all the work - with the exception of graphics in LimeSurvey. All advice, directions of good explanations of Apache in OS X, etc etc would be much appreciated.

    I use successfully the 5.6.x PHP version

    http://PHP-OSX.LIIP.ch/

    with OS X 10.11.5 and Server 5.1.5

    After each update of the.app you do check and change the settings of the web server again to ensure that the web service uses the version of PHP Liip.

    Configuration file:

    /Library/Server/Web/config/apache2/httpd_server_app.conf

    It's the line that loads the PHP version that is provided by Apple:

    LoadModule php5_module libexec/apache2/libphp5.so

    If you want to just put this comment out line, then do this way:

    #LoadModule add_some_comment_here_for_example_the_date_when_you_made_the_change php5_module libexec/apache2/libphp5.so

    Otherwise, the.app might try to re-activate this line when you check the box 'Enable PHP' Web Server Control Panel.

    Then replace it with this line, or add this line:

    LoadModule php5_module /usr/local/php5/libphp5.so

    Here, it works without any problem.

Maybe you are looking for

  • Cannot remove the transparent map of my Trahs.

    This card seems impossible to remove from the trash. If anyone can help? I tride Onyx etc, nothing works.

  • Problem of chickens and eggs A1364

    Since yesterday I have an A1364 Airport Extreme (4th Gen) connected to a (rider road Brighthouse) Motorola SB6141 cable modem. If I turn on the modem, then the router, I get the internet on the computer cable, but no wifi on the laptop. If I turn on

  • Satellite A50: Function keys do not work

    I have toshiba * Satellite A50 *.Function keys with my laptops do not work I neeed the driver for * function keys * and 4 * shortcut keys for music Please answer

  • Problem Realtek Sound Effect Manager

    Apparently, the icon for Realtek Sound Effect Manager exists only in the Panel, however, I can't access it. Before, I could access, add some echo and others, but these days, the icon does nothing. The program wouldn't start, as it does not yet exist

  • ROKU2 XD - do I need a router wireless wifi - without the computer

    I just bought the ROKU2 XD need WiFi. Has NO WiFi.  With 2 MACS, I prefer NOT to connect it to the floor to my LinkSYS WRT 54GS V7. MAC is wired. Not sure that the iMAC is wireless or wired this way. ROKU Watch w black screen / loud buzzing, but seem