Jan 3rd, 2009, 03:50 PM
Help with Spring BlazeDS Integration Testdrive
I am having trouble getting the Spring BlazeDS Integration samples working.
I am using Windows XP and Flex Builder 3.0.2 and Tomcat 6
Following the instructions in Jeremy Grelle's blog
I downloaded the samples and sampledb directories and placed them in
I started the database, then started Tomcat. Accessed the first sample project from
But all that loads are two orange panes with no pictures or data in them. The other sample applications give similar results-- orange panes, but no data, even when I click "Get Data".
Am I missing something? This is my first post here, so I welcome any help from more experienced users.
(Yes, I left out the "http"s in those addresses-- to get around the "no URLs in your first post" feature)
Jan 4th, 2009, 06:11 AM
Try using the sample in Eclipse WTP
I use WTP to setup the samples it works fine , but there are additional things needed to do before the it data showed:
1.Change the MacOS JRE to JRE1.6 (I am using JDK1.6 and Windows XP)
2.Put xalan.jar into the samples/WEB-INF/lib
Restart the server and link to the url ...
Jan 4th, 2009, 08:18 PM
Jan 4th, 2009, 11:56 PM
Do you start your tomcat ? Or what is your Tomcat's version? I am using 6.0.xxx
In WTP , you can start Tomcat invoke the browser in the IDE.But you need to configure the run configuration and point to the Tomcat6.0 installation location.
Jan 5th, 2009, 03:41 AM
I've been starting Tomcat manually. I'm using tomcat 6.0.18.
Feb 12th, 2009, 12:02 AM
Get Data does not retun anything
I downloaded the test drive sample and created a WAR file after placing the xalan.jar in WEB-INF/lib folder, there is no error during deployment, (I am not publishing through WTP). When I click on getData , nothing happens, no error on server console, or on screen.
I tried in WASCE v2 and weblogic 10.4.5, still not working. while I try to figure out the problem, any help would be great.
Feb 18th, 2009, 06:09 AM
Some how I managed to run the sample project, after I hard coded the endpoint in the remote object
<mx:RemoteObject id="ro" destination="contact" endpoint="/test/spring/messagebroker/amf" />
but I am not sure if this is correct way, and also I don't want to hard code it ("test" is my project name/context path ).
I also found some information to set the channel dynamically by getting the channel information from a xml file.
Any further information on how to avoid this hard coded endpoint is appreciated.
Feb 18th, 2009, 10:13 AM
Have you tried following this example using the tomcat that they ship? http://forum.springframework.org/showthread.php?t=66542
Feb 18th, 2009, 08:29 PM
Using tomcat 6.0.18
I am using my Tomcat 6.0.18 Installation and WASCE v2, not the one which comes with that sample, actually I am trying to recreate that sample and run on my tomcat.
The sample runs perfectly with the tomcat which is shipped with the sample program, but the same code, I copy and create my project using flex builder 3 (flex/java project), it is not running. but runs when I provide the endpoint.
So please help me , if I need to check some other settings.
Last edited by kannanMugundan; Feb 18th, 2009 at 08:35 PM.
Feb 19th, 2009, 10:23 AM
Just a guess, but it sounds like you aren't joining the projects in Flex Builder.
Something similar to this: http://corlan.org/2008/06/07/adding-...a-wtp-project/