This content has been marked as final. Show 5 replies
Assuming this is version 1.5.
If you want to just try Flex, install it using the "Integrated JRUN" option. If will probably just work "out-of-the-box".
If you want to run Flex under Tomcat, you will have to do what it takes, which is not really that much, but it will occasionally require that you spend the time finding and reading the Tomcat docs.
* First, you need to upgrade your Tomcat to version 5.
* Make sure you can run the sample JSP applications that come with Tomcat. The install peobably will display a "success" page.
* Tomcat is supposed to automatically expand the war file but I do not understand or trust this so I manually create a "flex" folder in Tomcat's "webapps" folder, and then expand/unzip(change the .war extension to .zip and use winzip) the war file into the new "flex " folder. Restart the tomcat service. There must be a "WEB-INF" folder under the "flex" folder
* Create a "hello, world" mxml file in the "flex" folder, and run it. The url will be:
That should be all you need to do to get going.
If the other app is using port 8080 and is authenticating, you will have to dig into the configuration files to find out how the authentication is set up.
You will have to understand J2EE authentication to be able to successfully modify the configuration. Again, I have heard it is not that difficult, but it will definitely call for a few hours of studying.
Are you sure you want to do this?
Since I doubt I am the only one running Flex with Tomcat, I was hoping to get feedback from someone who knows Tomcat about what config files I should look at and where to find them, since I had little luck with the time I spent in the Tomcat docs. I also have no leeway to upgrade to Tomcat 5. And as far as using Jrun4 "out of the box", I assume it won't "just work" since there appears to be something already on my system using port 8080.
I use forums to save time by pinging people who have knowledge, so unfortunately responses like "Google it" and "RTFM" are less than useful. I'm happy to do "what it takes" if I can get some insight as to what, exactly, that is. I work better from the bottom up if anyone can direct me to what config files, etc., affect my setup and where to look for them.
Also, is JBOSS something unique and different from Tomcat, 'cause it's in there, too. Ugh.
No, the integrated install will probably work as it defaults to 8700. This is the way to go If you want to work with Flex the fastest way.
You are not the only one running Tomcat. I have gotten three installations in production, starting with no J2EE knowledge at all. But mine were clean, current, stand-alone installs. You are on a more difficult road: An obsolete servlet container, a legacy program that you neither installed nor configured, authentication you did not configure and an admitted lack of J2EE admin experience. There are some J2EE powerhouses monitoring this forum, perhaps they will be willing to help you.
You might have better luck on a pure Tomcat forum, since your issues are not specifically Flex issues. Good luck.
For our organization, the sequence of installing seemed to be a factor: Java JRE, Flex, and then Tomcat (v5).
Just a quick note to other developers, we also use jrun and find it much simpler than Tomcat, but you run into the trade-off between licencing and free.