since ‎16-01-2008
‎10-12-2019
Alex_Glosband
Employee
Re: Reliable messaging - viewing the pending queue Alex_Glosband - Adobe LiveCycle
A custom queue processor would give you access to the messages that have been queued for the client on the server. This is at a layer or level above the reliable messaging queue. Reliable messaging is supposed to be transparent to the user so we don't allow messages or queues to be manipulated once they've been flushed to this layer or level.I don't think there really is the concept of a message queue on the client butI don't think it would be too hard to implement something like this yourself. ...
25
Views
0
Likes
0
Answers
Re: How to tail the app server log file and send to flash client Alex_Glosband - Adobe LiveCycle
Hi RK, It should be pretty easy to implement this. There are a couple features in LCDS that should make setting this up fairly straightforwad. LCDS has the notion of a bootstrap service that is started when the server starts up. LCDS also has the ability to do server push; ie push messages from the server to a destination that a client application is subscribed to. You could write a bootstrap service that tails your app server log file and then pushes any changes to a messaging destination that ...
27
Views
0
Likes
0
Answers
Re: Model Driven Development Server.Processing.DuplicateSessionDetected Alex_Glosband - Adobe LiveCycle
Hi Rich,I don't think using a servlet to create the HTTP session prior to running the swf will help you in this case. That was primarily intended to prevent a timing issue that could result from multiple sub-applications in a single swf loading at roughly the same time. If the sub-applications all made requests to the Data Services server at start up it could result in multiple HTTP sessions getting created and overwriting each other. In your case, each application is running in a seperate brows...
17
Views
0
Likes
0
Answers
Re: Changing socket server config at runtime Alex_Glosband - Adobe LiveCycle
It looks like it might be possible although none of the APIs you need to do it are published.I can tell you what the APIs are if you want to give it a try and see if it works for you. The flex.messaging.socketserver.SocketServer class has a setConnectionIdleTimeoutSeconds(int value) method that you can call to change the connection idle timeout. It looks like this is thread safe so you should just need to get the SocketServer at runtime and call the method.NIO endpoints that extend from flex.mes...
14
Views
0
Likes
0
Answers
Re: Flex Stress Testing Framework - trouble setting up Alex_Glosband - Adobe LiveCycle
Hi.The stress testing framework has only been tested with LCDS 2.6. It hasn't been updated to work with more recent versions of LCDS. Currently there are no plans to do this as LCDS now ships with a load test tool.The load test tool that is now part of LCDS uses a different design than the old Flex stress testing framework. It uses virtual clients (implemented in Java) to put load on the server rather than actual Flex clients. This approach can scale the load to a much higher level because there...
74
Views
0
Likes
0
Replies
Re: SecureAMF channel failed for first time initialization Alex_Glosband - Adobe LiveCycle
Hi. Are you using Internet Explorer? If so, have you set add-no-cache-headers to false on the endpoint?With Internet Explorer you need to set the add-no-cache-headers property to false in the configuration settings for your endpoint in the services-config.xml file.falseIf that's not the issue please let me know which browser (and what version of the browser) you are testing with and which version of LiveCycle Data Services you are using and I will look into it further. Thanks.-Alex
377
Views
0
Likes
0
Answers
Re: RemoteObject: typed objects not converting between java and AS3 Alex_Glosband - Adobe LiveCycle
Hi. Take a look at this blog posting.http://yaa-blog.blogspot.com/2008/08/remoting-with-blazeds-from-plain.htmlBasically, you need to call registerClassAlias yourself rather than having the Flex compiler (mxmlc) do the magic for you.The mxmlc compiler takes the RemoteClass metadata and creates a registerClassAlias call in a static init block in some actionscript it generates. This actionscript is then compiled into the swf that is your Flex application. If you are not using Flex then you are mis...
19
Views
0
Likes
0
Answers
Re: channel definition question Alex_Glosband - Adobe LiveCycle
Hi. You are correct that {server.name} will be set at runtime by the client application. The hostname in the request URL that was used to load the SWF in the browser is what replaces the {server.name} token in the channel URL. That log message you are seeing on the server is normal.If you haven't tried turning on client side logging that can also help when debugging issues. Here is information on setting up client side logging from the BlazeDS documentation (you should also be able to find the s...
20
Views
1
Like
0
Answers
Re: Data modeling with multiple Flex modules not working Alex_Glosband - Adobe LiveCycle
Hi. Are you still having problems with this? How are you loading your modules?There are some things you need to be aware of when loading LCDS applications as sub apps into a parent application.In most cases you will want to use SWFLoader instead of ModuleLoader. When using SWFLoader you need to set the loadForCompatibility property to true. You will also need to use the new 10.1 Flash player. If you need to support older versions of the player, there are a couple of workarounds that are possible...
34
Views
0
Likes
0
Answers
Re: Security Error in accessing Web service from Flex.Where to put crossdomain.xml in axis container? Alex_Glosband - Adobe LiveCycle
Hi. So, I did take a quick look at the Axis2 standalone server and didn't see any way to server up a file such as crossdomain.xml. It seems like it might be a useful enhancement to have the ability to serve up files even if this functionality was very simple/limited and nothing like a full blown http server.I'd log an enhancement request against axis2 if this is something you'd like to have.http://issues.apache.org/jira/browse/AXIS2-Alex
19
Views
0
Likes
0
Answers
Re: Security Error in accessing Web service from Flex.Where to put crossdomain.xml in axis container? Alex_Glosband - Adobe LiveCycle
Hi. I think probably the easiest way to get this to work is to not use axis2 in standalone mode and instead install it into a servlet container. Then you can just put your crossdomain.xml in the server root. If I have a couple spare minutes I'll take a look at the axis2 standalone server and see if I can find a way to get it to serve the crossdomain.xml file. I'll let you know if I come up with anything useful.-Alex
17
Views
0
Likes
0
Answers
Re: question about blazeds turnkey installation and directory structure Alex_Glosband - Adobe LiveCycle
There's really not much difference. In some cases, you might already have a web application you are using so you could just copy the contents of the blazeds web app into your existing web application.Application servers can host more than one web application and a Flex application that uses BlazeDS can be deployed on a different web app than the one where BlazeDS is running or a different server entirely so it really just depends how you want to set things up. Hope I'm not just making things mor...
23
Views
0
Likes
0
Answers
Re: Trying to create an abstract service that supports both DataService(LCDS) and RemoteObject Alex_Glosband - Adobe LiveCycle
Hi. As far as I know both DataService and RemoteObject are asynchronous APIs. If you call a DataService method such as fill() or call a method on your RemoteObject, code in your Flex application will continue to execute and the result from the RemoteObject or DataService request will be received asynchrounously. I don't believe there is any way currently to make synchronous or blocking calls in Flex because of the Flash Player's execution model.How are you planning on using the DataService and R...
30
Views
0
Likes
0
Replies
Re: Flex Desktop App (AIR) + LCDS w/ Hibernate Assembler - Not Working Alex_Glosband - Adobe LiveCycle
Hi. It sounds like maybe the AIR app isn't getting compiled against the services-config.xml file for your LCDS server. Make sure in the Flex Compiler settings for you AIR project there is a -services compiler argument that points to your services-config.xml file. This should look something like. . .-services \WEB-INF\flex\services-config.xmlIf that's not the issue follow the steps to debug the problem as Bill outlined. The following section of the BlazeDS documentation has some good information ...
45
Views
0
Likes
0
Replies
Re: Accessing JAVA Classes outside the TomCat container Alex_Glosband - Adobe LiveCycle
Hi Dan, Well, this is more a Tomcat configuration question and not related to Flex/LCDS but take a look at the tomcat\conf\catalina.properties file. In there you can specify what jars, classes etc. are loaded by the different classloaders so I am guessing you would just add the classes from your oc4j container to one of loaders to get the classes into the classpath. Hope that helps. -Alex
42
Views
0
Likes
0
Replies
Re: Java Session and LCDS Alex_Glosband - Adobe LiveCycle
Hi. What channel/endpoint are you using to connect to the server? If it's RTMP or a streaming or polling channel that uses the NIO server there may not be an easy way to get at the HTTP session. In general, I don't think it's a good idea to store stuff in the HTTPSession because it may not be available from all channels/endpoints. If you do need to store stuff in the session though, I'd try using a HTTP (non NIO) streaming or polling channel. I am guessing using those channels' FlexContext.getSe...
19
Views
0
Likes
0
Replies
Likes given to
Likes from