Flex won't validate BlazeDS/Tomcat server with WEB-INF setup in Eclipse
help! i'm new flex , blazeds , eclipse. new flex project can't access web server setup.
i trying setup flex project using blazeds/tomcat server running eclipse on windows xp per example in flexbandit.com/archives/55#comment-269 , in (www.infoq.com/articles/blazeds-intro). not using eclipse flex plug-in. i'm using flex builder flex code.
here's i've done:
i installed blazeds , tested http://localhost:8400 - worked.
i setup tomcat server in eclipse start , stop through eclipse. - seemed work.
i created dynamic web project in eclipse - seemed work.
i created bare-bones blazeds configuration under eclipse project , created basic helloworld java class.
i added destination in “remoting-config.xml” file found in c:/projects/workspace/reportgentool/webcontent/web-inf/flex” directory:
<destination id="helloworld"> <properties> <source>helloworld</source> </properties> </destination>
when started application server clicking on server's green play button in eclipse , tried open localhost:8400/reportgentool, got 404 error : requested source (/reportgentool/) not available according instructions fine.
next created flex project, when try validate new flex project configuration, gives me error "cannot access web server. server may not running, or web root folder or root url may invalid."
when validated server running after setting blazeds turnkey, saw blazeds page.
now when bring http://localhost:8400 get:
directory listing /
apache tomcat/6.0.14
my eclipse project named reportgentool , i've overwritten webcontent directory meta-inf , web-inf directories blazeds installation (c:\blazeds\tomcat\webapps\blazeds). according eclipse server running.
my flex project named reportgentool , located in directory away eclipse project directory.
root folder is: c:\projects\workspace\reportgentool\webcontent
root url: http://localhost:8400/reportgentool/
context root is: /reportgentool/
any idea might wrong? didn't configure needs configured?
thanks in advance.
More discussions in Configuration and Getting Started
adobe
Comments
Post a Comment