Expand my Community achievements bar.

Creating FDS Project

Avatar

Level 1
I currently have a dev server with Jrun 4 on it. I want to
use Flex Builder to create a FDS project that compiles on the
server. I have Jrun instance with default-ear, flex, and SERVER-INF
folders. Under my default-war folder I have the WEB-INF/flex
folder.



When I create my FDS project my root folder points to
default-war, my root URL points to server:8104/....I use default
location and call my project "Test". So now I have a "Test" folder
under default-war with my Test.mxml.



When I run the app in Flex Builder I get





java.lang.NullPointerException

at
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:258)

at
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)

at
jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)

at
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)

at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)



So I dont know if I'm even setting up the project right? Do
most people point to their Jrun dev instance for development then
move the necessary files from dev to staging or QA server?



thanks
1 Reply

Avatar

Level 1
Hi blackshirt,



Could you check the project properties in Flex Builder by
right click on the “Test” project and select
“Properties”? The project properties should look
something like that:



After install Flex with integrated JRun (in default
location):

Flex root folder: C:\fds2 \jrun4\servers\default\flex

Flex server URL:
http://localhost:8700/flex/
(where 8700 is the default port number for the Flex/JRun server)

FDS project root: C:\ fds2 \jrun4\servers\default\flex\Test



After install Flex under JRun4 (both in default locations):

Flex root folder: C:\JRun4\servers\default\flex

Flex server URL:
http://localhost:8100/flex/
(where 8100 is the default port number for the JRun default server)

FDS project root: C:\JRun4\servers\default\flex\Test



Thanks,

Sharon

Flex Builder QA