Is there a way to start a local server using a command (or Ant) on Windows or Linux without having to open the LCCS SDK Navigator and click the "Local Server" button in the Developer Tools section?
Solved! Go to Solution.
Views
Replies
Total Likes
Here are the files. It should be noted that they're not very well
tested, but seem to work.
Unfortunately, you also need to build your own afcs.swc.
Here's the change you need to make in
com.adobe.rtc.messaging.MessageItem:
Look in createValueObject().
Replace this:
var bA:ByteArray = new ByteArray();
bA.writeObject(body);
writeObj.body = bA;
with this:
var bA:ByteArray = new ByteArray();
bA.writeObject(body);
bA.position = 0;
writeObj.body = bA;
You need to rewind the position of the cursor in the byteArray so that
it can be decoded properly.
As I said at the top. This is incomplete and probably has errors in
it, but I hope it helps.
Good luck!
-sandy
Views
Replies
Total Likes
No currently we don’t have any command line interface for starting the local server. You need to run the Navigator App and click on Local Server inside Developer Tools
Thanks
Hironmay Basu
I had the same need for my unit tests. I've been using a custom SessionManager with a custom Authenticator to handle it. (Also required some small changes to MessageItem because of a subtle bug.)
It does 90% of what a 'real' SessionManager does and has made my unit testing workable.
If you'd like I can post that for you.
-sandy
Views
Replies
Total Likes
That would be very helpful. Thank you.
Views
Replies
Total Likes
Here are the files. It should be noted that they're not very well
tested, but seem to work.
Unfortunately, you also need to build your own afcs.swc.
Here's the change you need to make in
com.adobe.rtc.messaging.MessageItem:
Look in createValueObject().
Replace this:
var bA:ByteArray = new ByteArray();
bA.writeObject(body);
writeObj.body = bA;
with this:
var bA:ByteArray = new ByteArray();
bA.writeObject(body);
bA.position = 0;
writeObj.body = bA;
You need to rewind the position of the cursor in the byteArray so that
it can be decoded properly.
As I said at the top. This is incomplete and probably has errors in
it, but I hope it helps.
Good luck!
-sandy
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies