'flex.messaging.services.HTTPProxyService' error
Hi,
I have met below error in using lcds 2.5.1....
how can i fix this error ?
i have already update commons-http.jar file. but same....
thanks,
flex.messaging.config.ConfigurationException: Unable to create service 'flex.messaging.services.HTTPProxyService' for 'proxy-service' due to the following error: org/apache/commons/httpclient/HostConfiguration.ANY_HOST_CONFIGURATION.
at flex.messaging.config.MessagingConfiguration.createServices(MessagingConfiguration.java:2 02)
at flex.messaging.config.MessagingConfiguration.configureBroker(MessagingConfiguration.java: 84)
at flex.messaging.MessageBrokerServlet.init(MessageBrokerServlet.java:105)
at jeus.servlet.loader.ServletReloader.doInitInstance(ServletReloader.java:70)
at jeus.servlet.loader.PrivateReloader.initInstance(PrivateReloader.java:155)
at jeus.servlet.loader.PrivateReloader.getInstance(PrivateReloader.java:114)
at jeus.servlet.loader.ServletReloader.getServlet(ServletReloader.java:49)
at jeus.servlet.engine.ServletWrapper.loadOnStartup(ServletWrapper.java:100)
at jeus.servlet.engine.ServletManager.doPreloadServlets(ServletManager.java:428)
at jeus.servlet.engine.ServletManager.preloadServlets(ServletManager.java:391)
at jeus.servlet.engine.Context.preloadServlets(Context.java:1129)
at jeus.servlet.engine.Context.doStart(Context.java:1018)
at jeus.servlet.engine.Context.execStart(Context.java:835)
at jeus.management.j2ee.WebModule.preStart(WebModule.java:396)
at jeus.management.j2ee.J2EEManagedObject.start(J2EEManagedObject.java:860)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
here is our configuration...
Service-Config.xml
<?xml version="1.0" encoding="UTF-8"?>
<services-config>
<factories>
<factory id="springServiceFactory" class="das.fw.flex.SpringServiceFactory" />
</factories>
<services>
<service-include file-path="remoting-config.xml" />
<service-include file-path="proxy-config.xml" />
<service-include file-path="messaging-config.xml" />
<service-include file-path="data-management-config.xml" />
</services>
<security>
<login-command class="flex.messaging.security.JRunLoginCommand" server="JRun"/>
<!-- Uncomment the correct app server
<login-command class="flex.messaging.security.TomcatLoginCommand" server="Tomcat"/>
<login-command class="flex.messaging.security.WeblogicLoginCommand" server="Weblogic"/>
<login-command class="flex.messaging.security.WebSphereLoginCommand" server="WebSphere"/>
-->
<security-constraint id="basic-read-access">
<auth-method>Basic</auth-method>
<roles>
<role>guests</role>
<role>accountants</role>
<role>employees</role>
<role>managers</role>
</roles>
</security-constraint>
</security>
<channels>
<channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel">
<endpoint uri="http://{server.name}:{server.port}/{context.root}/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/>
<properties>
<polling-enabled>false</polling-enabled>
</properties>
</channel-definition>
<channel-definition id="my-secure-amf" class="mx.messaging.channels.SecureAMFChannel">
<endpoint uri="https://{server.name}:9100/{context.root}/messagebroker/amfsecure" class="flex.messaging.endpoints.SecureAMFEndpoint"/>
</channel-definition>
<channel-definition id="my-polling-amf" class="mx.messaging.channels.AMFChannel">
<endpoint uri="http://{server.name}:{server.port}/{context.root}/messagebroker/amfpolling" class="flex.messaging.endpoints.AMFEndpoint"/>
<properties>
<polling-enabled>true</polling-enabled>
<polling-interval-seconds>8</polling-interval-seconds>
</properties>
</channel-definition>
<channel-definition id="my-rtmp" class="mx.messaging.channels.NetConnectionChannel">
<endpoint uri="rtmp://{server.name}:2038" class="flex.messaging.endpoints.RTMPEndpoint"/>
<properties>
<block-rtmpt-polling-clients>true</block-rtmpt-polling-clients>
<idle-timeout-minutes>60</idle-timeout-minutes>
<!--<client-to-server-maxbps>100K</client-to-server-maxbps>
<server-to-client-maxbps>100K</server-to-client-maxbps>-->
<!-- for deployment on WebSphere, must be mapped to a WorkManager available in the web application's jndi context.
<websphere-workmanager-jndi-name>java:comp/env/wm/MessagingWorkManager</websphere-workman ager-jndi-name>
-->
</properties>
</channel-definition>
<channel-definition id="my-http" class="mx.messaging.channels.HTTPChannel">
<endpoint uri="http://{server.name}:{server.port}/{context.root}/messagebroker/http" class="flex.messaging.endpoints.HTTPEndpoint"/>
</channel-definition>
<channel-definition id="my-secure-http" class="mx.messaging.channels.SecureHTTPChannel">
<endpoint uri="https://{server.name}:9100/{context.root}/messagebroker/httpsecure" class="flex.messaging.endpoints.SecureHTTPEndpoint"/>
</channel-definition>
</channels>
<logging>
<target class="flex.messaging.log.ConsoleTarget" level="Error">
<properties>
<prefix>[Flex] </prefix>
<includeDate>false</includeDate>
<includeTime>false</includeTime>
<includeLevel>false</includeLevel>
<includeCategory>false</includeCategory>
</properties>
<filters>
<pattern>Endpoint.*</pattern>
<pattern>Service.*</pattern>
<pattern>Configuration</pattern>
</filters>
</target>
</logging>
<system>
<redeploy>
<enabled>true</enabled>
<watch-interval>20</watch-interval>
<watch-file>{context.root}/WEB-INF/flex/services-config.xml</watch-file>
<watch-file>{context.root}/WEB-INF/flex/proxy-config.xml</watch-file>
<watch-file>{context.root}/WEB-INF/flex/remoting-config.xml</watch-file>
<watch-file>{context.root}/WEB-INF/flex/messaging-config.xml</watch-file>
<watch-file>{context.root}/WEB-INF/flex/data-management-config.xml</watch-file>
<touch-file>{context.root}/WEB-INF/web.xml</touch-file>
</redeploy>
</system>
</services-config>
Proxy-Config.xml
<?xml version="1.0" encoding="UTF-8"?>
<service id="proxy-service"
class="flex.messaging.services.HTTPProxyService"
messageTypes="flex.messaging.messages.HTTPMessage,flex.messaging.messages.SOAPMessage">
<properties>
<connection-manager>
<max-total-connections>100</max-total-connections>
<default-max-connections-per-host>2</default-max-connections-per-host>
</connection-manager>
<allow-lax-ssl>true</allow-lax-ssl>
</properties>
<adapters>
<adapter-definition id="http-proxy" class="flex.messaging.services.http.HTTPProxyAdapter" default="true"/>
<adapter-definition id="soap-proxy" class="flex.messaging.services.http.SOAPProxyAdapter"/>
</adapters>
<default-channels>
<channel ref="my-http"/>
<channel ref="my-amf"/>
</default-channels>
<destination id="DefaultHTTP">
</destination>
</service>
Similar Messages
-
Hi
I have an application which requires interaction with both coldfusion and java.I have taken the configuration files from the blazeDS turnkey project and added it to my application.My application server is coldfusion deployed in a weblogic.I was able to call coldfusion from my flex but whenever i try making java calls i get the following error
[RPC Fault faultString="No destination 'testClass' exists in service flex.messaging.services.RemotingService" faultCode="Server.Processing" faultDetail="null"]
services-config file is as follows
<?xml version="1.0" encoding="UTF-8"?>
<services-config>
<services>
<service-include file-path="remoting-config.xml" />
<!--<service-include file-path="proxy-config.xml" />
<service-include file-path="messaging-config.xml" />-->
</services>
<security>
<login-command class="flex.messaging.security.JRunLoginCommand" server="JRun"/>
<!-- Uncomment the correct app server
<login-command class="flex.messaging.security.TomcatLoginCommand" server="Tomcat"/>
<login-command class="flex.messaging.security.WeblogicLoginCommand" server="Weblogic"/>
<login-command class="flex.messaging.security.WebSphereLoginCommand" server="WebSphere"/>
-->
<!--
<security-constraint id="basic-read-access">
<auth-method>Basic</auth-method>
<roles>
<role>guests</role>
<role>accountants</role>
<role>employees</role>
<role>managers</role>
</roles>
</security-constraint>
-->
</security>
<channels>
<!-- CF Based Endpoints -->
<channel-definition id="my-cfamf" class="mx.messaging.channels.AMFChannel">
<endpoint uri="http://localhost:7002/flex2gateway/" class="flex.messaging.endpoints.AMFEndpoint"/>
<properties>
<polling-enabled>false</polling-enabled>
<serialization>
<instantiate-types>false</instantiate-types>
</serialization>
</properties>
</channel-definition>
<channel-definition id="cf-polling-amf" class="mx.messaging.channels.AMFChannel">
<endpoint uri="http://{server.name}:{server.port}{context.root}/flex2gateway/cfamfpolling" class="flex.messaging.endpoints.AMFEndpoint"/>
<properties>
<polling-enabled>true</polling-enabled>
<polling-interval-seconds>8</polling-interval-seconds>
<serialization>
<instantiate-types>false</instantiate-types>
</serialization>
</properties>
</channel-definition>
<channel-definition id="my-cfamf-secure" class="mx.messaging.channels.SecureAMFChannel">
<endpoint uri="https://{server.name}:{server.port}{context.root}/flex2gateway/cfamfsecure" class="flex.messaging.endpoints.SecureAMFEndpoint"/>
<properties>
<polling-enabled>false</polling-enabled>
<serialization>
<instantiate-types>false</instantiate-types>
</serialization>
</properties>
</channel-definition>
<!-- Java Based Endpoints -->
<channel-definition id="java-amf" class="mx.messaging.channels.AMFChannel">
<endpoint uri="http://localhost:7002/flex2gateway/amf" class="flex.messaging.endpoints.AMFEndpoint"/>
</channel-definition>
<channel-definition id="java-secure-amf" class="mx.messaging.channels.SecureAMFChannel">
<endpoint uri="https://{server.name}:{server.port}{context.root}/flex2gateway/amfsecure" class="flex.messaging.endpoints.SecureAMFEndpoint"/>
</channel-definition>
<channel-definition id="java-polling-amf" class="mx.messaging.channels.AMFChannel">
<endpoint uri="http://{server.name}:{server.port}{context.root}/flex2gateway/amfpolling" class="flex.messaging.endpoints.AMFEndpoint"/>
<properties>
<polling-enabled>true</polling-enabled>
<polling-interval-seconds>8</polling-interval-seconds>
</properties>
</channel-definition>
<!--
<channel-definition id="java-http" class="mx.messaging.channels.HTTPChannel">
<endpoint uri="http://{server.name}:{server.port}{context.root}/flex2gateway/http" class="flex.messaging.endpoints.HTTPEndpoint"/>
</channel-definition>
<channel-definition id="java-secure-http" class="mx.messaging.channels.SecureHTTPChannel">
<endpoint uri="https://{server.name}:{server.port}{context.root}/flex2gateway/httpsecure" class="flex.messaging.endpoints.SecureHTTPEndpoint"/>
</channel-definition>
-->
</channels>
<logging>
<target class="flex.messaging.log.ConsoleTarget" level="Error">
<properties>
<prefix>[BlazeDS] </prefix>
<includeDate>false</includeDate>
<includeTime>false</includeTime>
<includeLevel>false</includeLevel>
<includeCategory>false</includeCategory>
</properties>
<filters>
<pattern>Endpoint.*</pattern>
<pattern>Service.*</pattern>
<pattern>Configuration</pattern>
<pattern>Message.*</pattern>
</filters>
</target>
</logging>
<system>
<!-- <manageable>false</manageable>-->
<!--
<redeploy>
<enabled>true</enabled>
<watch-interval>20</watch-interval>
<watch-file>{context.root}/WEB-INF/flex/services-config.xml</watch-file>
<watch-file>{context.root}/WEB-INF/flex/proxy-config.xml</watch-file>
<watch-file>{context.root}/WEB-INF/flex/remoting-config.xml</watch-file>
<watch-file>{context.root}/WEB-INF/flex/messaging-config.xml</watch-file>
<watch-file>{context.root}/WEB-INF/flex/data-management-config.xml</watch-file>
<touch-file>{context.root}/WEB-INF/web.xml</touch-file>
</redeploy>
-->
</system>
</services-config>
remote-config.xml
<?xml version="1.0" encoding="UTF-8"?>
<service id="remoting-service"
class="flex.messaging.services.RemotingService"
messageTypes="flex.messaging.messages.RemotingMessage">
<adapters>
<adapter-definition id="cf-object" class="coldfusion.flash.messaging.ColdFusionAdapter" default="true"/>
<adapter-definition id="java-object" class="flex.messaging.services.remoting.adapters.JavaAdapter"/>
</adapters>
<default-channels>
<channel ref="my-cfamf"/>
</default-channels>
<destination id="ColdFusion">
<channels>
<channel ref="my-cfamf"/>
</channels>
<properties>
<source>*</source>
<!-- define the resolution rules and access level of the cfc being invoked -->
<access>
<!-- Use the ColdFusion mappings to find CFCs, by default only CFC files under your webroot can be found. -->
<use-mappings>false</use-mappings>
<!-- allow "public and remote" or just "remote" methods to be invoked -->
<method-access-level>remote</method-access-level>
</access>
<property-case>
<!-- cfc property names -->
<force-cfc-lowercase>false</force-cfc-lowercase>
<!-- Query column names -->
<force-query-lowercase>false</force-query-lowercase>
<!-- struct keys -->
<force-struct-lowercase>false</force-struct-lowercase>
</property-case>
</properties>
</destination>
<destination id="testClass">
<properties>
<source>TestClass</source>
</properties>
<adapter ref="java-object" />
<channels>
<channel ref="java-amf"/>
</channels>
</destination>
<destination id="testClass2">
<properties>
<source>TestClass2</source>
</properties>
<adapter ref="java-object"/>
<channels>
<channel ref="java-amf"/>
</channels>
</destination>
</service>
Can anyone please tell me where i m going wrong.Is that because i m using flex2gateway for java calls?.I used it since it was how it has been configured in the turnkey project for coldfusion.I have replicated the file as it was there and since it is using flex2gateway even for javaEndpoints i felt we could use the same.
regards
SiddThanks for the reply. Yes, I did compile all the Java and it
works OK with a simple Java program. It just will not work in a
Flex application.
The java classes are:
RRA:
package blah.myPackage;
import java.util.List;
import java.util.Collection;
import flex.data.DataSyncException;
import flex.data.assemblers.AbstractAssembler;
class RRA extends AbstractAssembler
public Collection fill( List fillParameters )
RRS service = new RRS();
return service.getSome();
RRS:
package blah.myPackage;
import java.util.ArrayList;
import java.util.List;
import java.sql.*;
import flex.EORS.*;
class RRS
public List getSome()
ArrayList list = new ArrayList();
String str = "bob";
RR rr = new RR(str);
list.add(rr);
return list;
RR:
package blah.myPackage;
class RR
private String name;
public RR() { }
public RR(String name)
this.name = name;
public String getName()
return this.name;
public void setName(String name)
this.name = name;
I started with something that retrieved data from a database
but watered it down just to try and get some kind of communication
between Flex and Java. -
Revision: 21151
Revision: 21151
Author: [email protected]
Date: 2011-04-26 12:14:04 -0700 (Tue, 26 Apr 2011)
Log Message:
bug fix watson 2769398 potential dead lock in flex.messaging.services.MessageService
override the AbstractService.stop in MessageService to obtain subscribeLock when stopping
Checkintests pass
Modified Paths:
blazeds/trunk/modules/core/src/flex/messaging/services/MessageService.java -
Revision: 19216
Revision: 19216
Author: [email protected]
Date: 2010-12-09 08:17:13 -0800 (Thu, 09 Dec 2010)
Log Message:
Bug: Watson #2769398 - potential dead lock in flex.messaging.services.MessageService
QA: Yes
Doc: No
Details: allSubscriptions map was usually protected by allSubscriptionsLock but in SubscriptionManager#stop, it was protected by "this" lock instead which was inconsistent and useless in terms of thread safety and also produced the Coverity bug. Now, it's protected by allSubscriptionsLock in SubscriptionManager#stop as well.
Modified Paths:
blazeds/trunk/modules/core/src/flex/messaging/services/messaging/SubscriptionManager.java -
Revision: 21043
Revision: 21043
Author: [email protected]
Date: 2011-04-07 12:41:36 -0700 (Thu, 07 Apr 2011)
Log Message:
bug fix watson 2769398 potential dead lock in flex.messaging.service
fix the order of locking of MessageService.subscribeLock, FlexClient.objectLock, requires that routing message to client roution obtain the subscribeLock first
checkin test pass done
Modified Paths:
blazeds/trunk/modules/core/src/flex/messaging/services/MessageService.java -
Flex Data Services tutorial error
In the "Before You Begin" section of the Flex Data Services
tutorial in "Getting Started with Flex", the first bullet is
incorrect. It text should be:
"Ensure that you have installed the Flex Data Services Beta 3
release and that you can run the applications in the samples web
application."
The installation instructions are located here:
http://www.adobe.com/go/flex2_installation
The tutorial zip file is located here:
http://www.macromedia.com/go/flex2beta1_quickstart_tutorial_zip
- Mike Peterson
Adobe Flex documentation teamHi, I found some more "issues" with these data services
tutorial.
First of working with the notes example at first I couldn't
get the two browsers to talk to eachother until I found this
comment by funk_sf on the livedocs:
quote:
after some searching, I located a link to the tutorial.zip
here:
http://www.macromedia.com/go/flex2beta1_quickstart_tutorial_zip.
i unzip'd the contents into my samples directory so that I had the
following path: C:\fds2\jrun4\servers\default\samples\tutorials
the xml file in WEB-INF for the standalone flexbuilder 2b3 is
located at C:\fds2\resources\config as mentioned in the comments on
the previous page (
http://livedocs.macromedia.com/labs/1/flex20beta3/00000129.html)
as for creating the tutorial1.mxml file, i created a new Flex
project with the following settings (this is from memory, so
hopefully i recall all the steps right):
File->New Flex Project
How will you flex application access data? -> Flex Data
Services -> Compile application locally in Flex Builder
root folder: C:\fds2\jrun4\servers\default\samples
root url:
http://localhost:8700/samples/
I left the build paths to their defaults (ie. blank)
named the main application file: tutorial1.mxml
output folder: tutorial
output folder url: [blank]
So I followed his advice, deleted my project and made it in
the samples directory and the notes application started to work, so
all appeared good.
Until I was making the Java example and I'm now faced with
the following errors:
Severity Description Resource In Folder Location Creation
Time Id
2 Definition samples.contact:Contact could not be found.
tutorial2.mxml Tutorials line 8 6 juni 2006 16:36:25 20
Severity Description Resource In Folder Location Creation
Time Id
2 Type was not found or was not a compile-time constant:
Contact. tutorial2.mxml Tutorials line 13 6 juni 2006 16:36:25 21
I'm not sure what is happening, I think it can't find the
data service files but I don't know how to make it so that it does
find those files, the manual is still a bit vague on that and when
I try to run this application it just shows a blue (flex) screen.
The code I'm using is straight from the example documentation after
tinkering around for 2 days to get this to work I thought using
original code is the best way to go.
My application tries to run from
http://localhost:8700/samples/bin/tutorial2.html
The documentation states:
Open the following URL in two browser windows:
[L=http://localhost:port/samples/tutorials/tutorial2.mxml
The screenshots in the documentation show:
Window1: /tutorial/tutorial1.mxml
Window2: /dataservice/contact/tutorial_step4.mxml
Now I'm just confused, tutorial1.mxml is my notes application
which was the previous tutorial and there was no mention of a
tutorial_step4.mxml file ?
Someone help me please with where to place these files and
why so I can understand what is happening here.
Thanks :) -
Building a custom Flex web services proxy server
Hi All,
I'm investigating the possibility of writing a custom proxy
server for our web services, using ASP.NET. LiveCycle Data Services
looks very cool and would do the proxying we need, but it's not in
our budget this year, and I would still like to take advantage of
proxying. I figured I could probably build something simple, and
perhaps we may be able to move to LCDS at some point in the future.
I did some searching and didn't find anything to help me get
started. My next step would be to fire up Wireshark and start
looking at traffic going back and forth to try and figure out what
Flex expects from a web services proxy -- but I thought maybe some
folks here would be able to point me to some documentation or other
resources on writing a proxy?
-Joshquote:
Originally posted by:
pete
I think you're confusing two things here - the way in which a
client communicates with a service, and what that service
ultimately does for you. When you're using LCDS you're calling into
a common, somewhat sophisitcated messaging framework that controls
access to a range of services... one of which is the proxy service.
This proxy service does ultimately act like an HTTP proxy on your
client's behalf, but how it is contacted is complex because the
messaging format is not designed just to do this one task.
I apologize for oversimplying; I realize LCDS does much more
than proxying, but that's all I'm worried about at the moment, so
that's why I keep mentioning it in the same breath as "proxy".
quote:
Originally posted by:
pete
It will be easier to just build your own little naming
convention on a URL for proxying your requests to your own .NET
based proxy. I suggested a mechanism for doing so in my previous
post - just use the URL to point to a "distinguished" service that
your proxy knows how to translate.
It might be simpler, but my goal is to abstract away from the
Flex app the fact that a proxy is even being used. I was under the
impression that a proxy service would allow me to do this; however
as I review the documentation I'm not entirely sure this is the
case. It looks like I have to define explicit endpoints even if I
am using a proxy?
What I had envisioned was that by setting up a proxy, all web
service requests would be sent to the host I had specified as the
proxy, regardless of what I had put for the web service WSDL and/or
endpoint.
So here's my hypothetical situation (I'm making all this up
-- it's what I'd like to do, not how things actually work):
{services-config.xml}
<service id="proxy-service"
class="flex.messaging.services.HTTPProxyService"
messageTypes="flex.messaging.messages.HTTPMessage,flex.messaging.messages.SOAPMessage">
<properties>
<external-proxy>
<server>intranetProxy</server>
<port>80</port>
</external-proxy>
</properties>
</service>
Then I could define a bunch of web services in MXML:
<mx:WebService wsdl="
http://webservicesHost/myService.asmx?WSDL"/>
<mx:WebService wsdl="
http://webservicesHost/anotherService.asmx?WSDL"/>
<mx:WebService wsdl="
http://webservicesHost/handyService.asmx?WSDL"/>
Now, when it attempts to load the WSDL, it will relay the
request through intranetProxy. When I actually call a web method,
it relays the request through intranetProxy. No further needs to be
done, and I don't need to touch the WSDL URLs or the WSDL
documents.
If I go with the method of using the WSDL URL to contact my
ASP.NET proxy directly, there are a few drawbacks:
-The proxy service is no longer abstracted away from the
MXML/ActionScript code. If I ever need to move the proxy, I need to
touch the code everywhere I use a web service.
-I have to rewrite the web service endpoints (defined in the
WSDL) on the fly.
Neither of these are showstoppers. In fact, I'm already using
this method -- but a proxy that is totally transparent to the Flex
app seems like a better design goal. Is this possible, though? If I
have to manually define every Web Service WSDL and/or endpoint that
I want to proxy, then I'm no better off than using the WSDL URL to
directly contact my ASP.NET proxy, and rewriting the endpoint
defined in the WSDL as it passes through the proxy. -
I'm getting a strange serialization issue with flex blazeds Spring.
I can search, add and alter entities but when trying to delete i'm getting this error:
flex.messaging.MessageException: Argument is not an array
However when i try the debug mode on server everything is OK.
here the stack trace for BlazeDs:
[BlazeDS]Exception when invoking service 'remoting-service': flex.messaging.MessageException: Argument is not an array
incomingMessage: Flex Message (flex.messaging.messages.RemotingMessage)
operation = supprimer
clientId = EA1F8D9C-BD0C-941A-F168-02A08E454F43
destination = ClientService
messageId = F8D2B72B-C1D3-E4C5-CB06-11AA332A95B8
timestamp = 1301671457890
timeToLive = 0
body = null
hdr(DSId) = EA1E7EDA-C60E-F245-CF47-35D38F0ED6FB
hdr(DSEndpoint) = my-amf
Exception: flex.messaging.MessageException: Argument is not an array
at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:225)
at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1503)
at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:884)
at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:121)
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:146)
at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:278)
at org.springframework.flex.messaging.servlet.MessageBrokerHandlerAdapter.handle(MessageBrok erHandlerAdapter.java:79)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:771)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:716)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:647 )
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:563)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalArgumentException: Argument is not an array
at java.lang.reflect.Array.getLength(Native Method)
at flex.messaging.io.amf.translator.decoder.CollectionDecoder.decodeCollection(CollectionDec oder.java:155)
at flex.messaging.io.amf.translator.decoder.CollectionDecoder.decodeObject(CollectionDecoder .java:139)
at flex.messaging.io.amf.translator.decoder.ActionScriptDecoder.decodeObject(ActionScriptDec oder.java:70)
at flex.messaging.io.amf.translator.ASTranslator.convert(ASTranslator.java:77)
at flex.messaging.io.Java15TypeMarshaller.convert(Java15TypeMarshaller.java:71)
at flex.messaging.util.MethodMatcher.convertParams(MethodMatcher.java:211)
at flex.messaging.util.MethodMatcher.getMethod(MethodMatcher.java:132)
at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:420)
at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)
... 27 more
Thanks.Found the issue. There was a difference between the target service and the web service object that I was invoking. Even though I have changed the method signature and changed it back, the web service object that I was invoking needed to be recreated. This fixed the issue.
-
Can any one tell me how can I send message Point to Point
using Flex messaging service?
and can I store Application (Context) objects using FMS?
Thanks in AdvanceWhat about ColdFusion?
-
Revision: 17982
Revision: 17982
Author: [email protected]
Date: 2010-10-01 00:39:15 -0700 (Fri, 01 Oct 2010)
Log Message:
Bug: BLZ-564 - Some classes in flex-messaging-core.jar define main methods for debugging purposes. This creates an unintended entry point and the main methods should be removed.
QA: No - just removed main methods
Doc: No
Checkintests: No - just removed main methods
Ticket Links:
http://bugs.adobe.com/jira/browse/BLZ-564
Modified Paths:
blazeds/trunk/modules/core/src/flex/messaging/services/messaging/selector/NumericValue.ja va
blazeds/trunk/modules/core/src/flex/messaging/util/Base64.java
blazeds/trunk/modules/core/src/flex/messaging/util/Hex.java
Added Paths:
blazeds/trunk/modules/core/test/src/flex/messaging/util/Basae64Test.java -
Hi,
We are using both Remoting and HttpService calls for our business application.
We were able to communicate with the LCDS server till this point with whatever default settings provided for AMFChannel configuration in services-config.xml through a flex client. Also we have a clustered environment for this servers which works out fine till now.
Now for performance enhancement improvements, we started using Caching Mechanism for our HttpService urls (through some third party service), which will now be cached on the network instead of accessing every time from our clustered servers. But all our AMF calls through Remoting services are still the same.
So after migrating to this Caching environment, we started encountering intermittent issues where some of our AMF calls were failing with falling exception trace :
16:03:40,576 INFO [STDOUT] [Flex] [ERROR] Error handling message: flex.messaging.MessageException: No destination with id '' is registered with any service.
incomingMessage: Flex Message (flex.messaging.messages.CommandMessage)
operation = invalid.12
clientId = D7855C44-810B-64AB-C176-7C38F83DEB2C
correlationId =
destination =
messageId = 2DA6BDB8-859E-8AE1-03A4-57743DE03188
timestamp = 1247007820561
timeToLive = 0
body = {}
hdr(DSId) = D77C6BD2-3808-1512-3984-CCF397428E35
hdr(DSEndpoint) = my-amf
errorReply: Flex Message (flex.messaging.messages.ErrorMessage)
clientId = D7855C44-810B-64AB-C176-7C38F83DEB2C
correlationId = 2DA6BDB8-859E-8AE1-03A4-57743DE03188
destination =
messageId = D7855C64-3E08-466B-96F8-5BAE7D385129
timestamp = 1247007820574
timeToLive = 0
body = null
code = Server.Processing
message = No destination with id '' is registered with any service.
details = null
rootCause = null
body = null
extendedData = null
So i do not understand, most of the times the AMF calls works correctly and some times it fails with above fail trace.
Any suggestions would be appreciated.
Thanks,
FlexPirateIt might be a bit late but replying for anyone who lands on this page facing this same problem.
The solution for "No destination with id '<my dest id>' is registered with any service" problem is that you have to make sure your destination definition is added in your:
C:\ColdFusion9\wwwroot\WEB-INF\flex\messaging-config.xml
Secondly, If you are deploying it on a ColdFusion Server, then you have to make sure exact same definition is added in Server messaging-config.xml file as well.
This should solve this problem.
While we are at it, wanted to point another possible gotcha.
if your Server is using SSL protocol i.e. it has https:// rather than http://, Then within your <destination> definition block in messaging-config.xml, you have to add appropriate secure channels in <channels> section. You can find all available channel definitions in
C:\ColdFusion9\wwwroot\WEB-INF\flex\services-config.xml -
I was prompted to update itunes this evening. I did and in the process, it came up with the following error message: Service "apple mobile device" (apple mobile device) failed to start. Verify you have sufficient priviledges to start system services. I unistalled itunes completly and reinstalled but am still getting the same error message. If I click "ignore" the program will finish downloading but will not launch due to "not being installed correctly". Please help, I use this program alot with my first grade classroom and they're expecting their listening center in the morning.
Hey I finally got an older vesion of itunes to work!!! 10.7 x64 for windows 7
After uninstalling all apple products even quicktime
I had to delete everything from (program files, and program files x64, program data,)
And all downloads from apple, and I went in to search deleted other stuff from apple, and itunes
But definently not my itunes library and Playlist
Down loaded 10.7 x64 for windows 7, but checked (do not start when done)
Then I emptied my recycling bin and restarted my PC
I ran geek tech tool box same as reg cure pro, also PC Tools registry cleaner, and CC Cleaner
Then I emptied my recycling bin and restarted my PC
And wallah... It finally works, and I Love the older version anyways.
Easier to download and transfer music!!!!! -
Yes another user with problem with Apple Mobile Device Support, I am getting the error message: Service 'Apple Mobile Device'(Apple Mobile Device) failed to start. Vertify that you have sufficient privileges to start system service....I hit retry and it came up again. I hit ignore and it prompted me to hit finish so Itunes can open. I looked thru alot of these posts on here to try and resolve this problem myself but it's not working too well...I downloaded Itunes to my desktop so I can right click it with the program i downloaded called WinRAR. I extracted it and then went into the folder called Itunes64setup. I saw the file called AppleMobileDeviceSupport64 in there so I began to try and download it on it's own. Well that didn't work as I planned and got this error message:
Apple Mobile Device Support wasn't installed on your computer. The installer encountered errors before Apple Mobile Device Support could be configured. Your system has not been modified. To retry these operations at a later time,please run the installer again.
Well I tried to run it again and came up with the same message...I see that some people got great support to help them so I am hoping someone can help me as well. I know "b nor" is very qualfied and hopefully can help me! Please advise what I can do. Thank youHi Iss9243,
Welcome to the Support Communities!
You've already tried some great troubleshooting steps, but the article below gives you quite a few more for this issue. Hope it helps ....
iTunes 11.1.4 for Windows: Unable to install or open
http://support.apple.com/kb/TS5376
Cheers,
- Judy -
Initially iTunes would not run although it had been running quite well up until now. Suddenly received this error on PC start-up "The program can't start because MSVC80.dll is missing from your computer. Try reinstalling the program to fix this problem." Research on Net pointed me to iTunes as the issue. Tried to start iTunes and received that message again. Tried installing latest version of 64-bit iTunes and received the subject message part way through the install: Trying to install latest iTunes for Windows 7 64-bit. Keep getting this error message "Service 'Apple Mobile Device' (Apple Mobile Device) failed to start. Verify that you have sufficient privileges to start system services."
iTunes has been running great on this PC for years. What's up?
RonSee Troubleshooting issues with iTunes for Windows updates.
tt2 -
When installing itunes on my windows XP I get an error message "Service Apple Mobile Device"
When installing iTunes on my Windows XP I get an error message "Service Apple Mobile Device (Apple Mobile Device) failed to start. Verify that you have sufficient privileges to start system services". I don't know what this means and I do not know how to resolve it. Can you advise please?
Solving the iTunes Installation Problems in Windows
1. Apple has posted their solution here: iTunes 11.1.4 for Windows- Unable to install or open - MSVCR80 issue.
2. If the Apple article does not fully resolve the problem for you, then try Troubleshooting issues with iTunes for Windows updates - MSVCR80.
iTunes 11.1.4 for Windows- Tips for Unable to install or open
Maybe you are looking for
-
I can play my avi files from front row when I put them into the movies folder...however, the music just won't play!!!~~~~~~ is anyone else having this problem? anyone with a solution? please please help!!!!
-
Preventing XI from consuming a file before it is time
Hi all, I wish I could prevent XI from consuming a file in the outbound directory before it is time. There are two business aspects : <b>1</b>- a new file with the same name could be sent in the outbound directory and the old file should be erased by
-
Unwanted outdated email address in my profile on Apple Concierge page, why?
My profile in Apple concierge has and shows an unwanted outdated email address that is not in my Apple ID profile. Whenever I register for an workshop, Apple sends workshop confirmation to that unwanted email address, which is not in my Apple ID prof
-
Getting listed on iTunes Store
My university has been on iTunes U for about a year and we would like to get our site listed in the iTunes store. I understand that this takes a quantum leap in terms of number of programs and quality of content offered, but I would like to know wher
-
Quicktime doesn't read sequences on internet
Hi, As I open Safari or Firefox, Quicktime doesn'y play no sequences anymore. In every sequence-placeholder I just see the Quicktime-logo with a questionmark inside. This happened just after I tried to download 'flahpalyer'. I already dumped 'flafhpl