Trying out Jedai

2 views
Skip to first unread message

ani...@gmail.com

unread,
Nov 7, 2008, 12:03:37 AM11/7/08
to Jedai
Hi,

I am trying out Jedai framework. I dont have the proprietary Adobe
plug-in for MXML editing installed. Hence, I am simply composing my
MXML using an XML editor and then compiling using the open-source
Adobe Flex3 SDK. I have copied the server component over to the Red5
server and when I click on Login button on the SWF, nothing happens.
What could be wrong ? Is there a way to see if the client is at least
initiating the RTMP protocol ?

Thanks,

Suresh Kumar B.

Tyler Kocheran

unread,
Nov 7, 2008, 2:15:42 AM11/7/08
to je...@googlegroups.com
Have you double checked to make sure Red5 is running? If it is, do you
have more than one instance on your machine? You could be running the
wrong one, it happens to me all the time. Oh and if you're looking
into developing AS3, you should get FlashDevelop if you don't have it
already :-)

--
Sent from my mobile device

And do this, knowing the time, that now it is high time to awake out of sleep;
for now our salvation is nearer than when we first believed.

Suresh Kumar

unread,
Nov 7, 2008, 3:17:09 AM11/7/08
to Jedai
Thanks for that quick response.

Actually, I have made sure Red5 is running and listening to port 1935
as per the PortTest demo app. Also, all the demo apps seem to be
working (note that they are all in ROOT context)

I am using the FLAME open-source set up and use the ActionScript
plugin for Eclipse. For AS2, I was using MTASC for compilation ,
but for MXML and AS3, am pointing to the Flex3 open source SDK
from Adobe.

Suresh Kumar

unread,
Nov 7, 2008, 3:24:35 AM11/7/08
to Jedai
And yes - the RTMP URL is rtmp://localhost/MyRed5App
(auto-generated by Jedai framework) and the corresponding
server context is MyRed5App

Tyler Kocheran

unread,
Nov 7, 2008, 11:39:48 AM11/7/08
to je...@googlegroups.com
Can you see the codes being returned from Red5?

Anil Saraswathy

unread,
Nov 7, 2008, 11:44:36 AM11/7/08
to je...@googlegroups.com
I turned ON the DEBUG log in log4j.properties, but still dont find anything happening at Red5 end. This makes me to believe that the call isn't getting out of the client. But I know the client is working, since if I dont enter the username or password, it throws the Alert. What additional log can I get out of the client, other than Alerts ??

Thanks for looking into my problem.

Suresh.
--
Anil G.S.
Fischer India
224 NILA Technopark
Trivandrum 695581

Tyler Kocheran

unread,
Nov 7, 2008, 12:21:08 PM11/7/08
to je...@googlegroups.com
If you can get a client-side net connection message, you could see
whether or not your client is connecting or not. Do you know if you
are getting the connection successfully?

Jonathan Valliere

unread,
Nov 7, 2008, 12:27:54 PM11/7/08
to je...@googlegroups.com
There is a net connection light component.  Check it out.

Anil Saraswathy

unread,
Nov 7, 2008, 12:35:38 PM11/7/08
to je...@googlegroups.com
That doesn't light up either. Problem is I dont see any log message anywhere either.
Do you think I can get some meaningful logs from the Jedai Lib components ?
Problem is I dont see anything in my log output (Luminicbox Log viewer)
Is there some setting I need to enable so as to have it output the trace ?

Thanks.

Jonathan Valliere

unread,
Nov 7, 2008, 12:40:43 PM11/7/08
to je...@googlegroups.com
That is actually the discussion we are having today and is in the to-do list.

Suresh Kumar

unread,
Nov 8, 2008, 4:18:08 AM11/8/08
to Jedai
I installed the debug version of Flash and got this error display:

Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL:
applicationContext.xml
at org.pranaframework.ioc.loader::XmlObjectDefinitionsLoader/load()
at jedai::Red5BootStrapper/loadData()
at jedai::Red5BootStrapper$/getInstance()
at jedai.controls.flex.data::Chat/onCreationComplete()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()
at mx.core::UIComponent/set initialized()
at mx.managers::LayoutManager/doPhasedInstantiation()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/callLaterDispatcher2()
at mx.core::UIComponent/callLaterDispatcher()

Apparently, it could not locate the applicationContext.xml. I placed
the applicationContext.xml file
in the context directory and now I get a new error :

VerifyError: Error #1053: Illegal override of ObjectFactory in
org.pranaframework.ioc.factory.ObjectFactory.

at global$init()
at org.pranaframework.ioc::ObjectContainer/getObject()
at org.pranaframework.ioc.parser::XmlObjectDefinitionsParser/
parseObjectNode()
at org.pranaframework.ioc.parser::XmlObjectDefinitionsParser/parse()
at org.pranaframework.ioc.loader::XmlObjectDefinitionsLoader/
onLoaderComplete()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()

Any ideas ?

Thanks,

Suresh.

Suresh Kumar

unread,
Nov 8, 2008, 4:45:46 AM11/8/08
to Jedai
Is prana.swc and cairngorm.swc in the SVN compatible ??

Suresh Kumar

unread,
Nov 9, 2008, 11:20:51 PM11/9/08
to Jedai
Looks like Jedai is still bleeding edge stuff.
I think I will temporarily switch back to Red5 programming and
check back Jedai later.

Cheers,

Suresh.

Jonathan Valliere

unread,
Nov 9, 2008, 11:50:33 PM11/9/08
to je...@googlegroups.com
We're going to fix a bunch of stuff soon.
Reply all
Reply to author
Forward
0 new messages