I think you misread him. He did not mention flex 1.5 he mentioned java
1.5.
Regards
Hank
On 7/5/06, Carson
Hager <
[EMAIL PROTECTED]> wrote:
Right but
he's not asking about Flex 2. That step is not a part of a Flex 1.5
installation.
Well, its almost that easy.
For flex 2 at least, you need to also
install the JOTM for tomcat to work.
Below is a description of how to
do it that is better than the one in the manual.
Hank
1. un "gzip" the file http://debian-sf.objectweb.org/projects/ jotm
2. go to the lib directory in the resulting
uncompressed folder
3. place all the files in this folder in the
$CATALINA_HOME/shared/lib directory except:
a.
log4j.jar
b. commons-cli.jar
c.
jotm_iiop_stubs.jar
NOTE: $CATALINA_HOME is just your tomcat
folder.
4. Create a new file called context.xml in
:
$CATALINA_HOME/webapps/<your app name, in this case
"samples">/META-INF
5. Place the following in the file:
<Context path="/samples" docBase="samples" debug="0"
reloadable="true" crossContext="true">
<!--
Description of the resource "UserTransaction -->
<Resource name="UserTransaction" auth="Container"
type="javax.transaction.UserTransaction"
/>
<ResourceParams
name="UserTransaction">
<parameter>
<name>factory</name>
<value>org.objectweb.jotm.UserTransactionFactory</value>
</parameter>
<parameter>
<name> jotm.timeout</name>
<value>60</value>
</parameter>
</ResourceParams>
</Context>
NOTE:
In the first line above, the word "samples" listed twice, should be whatever
the name of your webapp is. Using "samples" allows you to run the
samples application that comes with FDS.
or if you have Tomcat 5.5 or greater you may just place the following in
the file:
<Context reloadable="true">
<Transaction factory=" org.objectweb.jotm.UserTransactionFactory" jotm.timeout="60"
/>
</Context>
On 7/5/06, Carson
Hager <[EMAIL PROTECTED]> wrote:
Tomcat
5.5 and Flex 1.5 are a great combination. We use Tomcat on nearly all of our
Flex 1.5 apps. Just copy the flex.war to webapps and Tomcat will
automatically deploy the Flex web application.
Carson
Hi all! I have just a simple question for starting develop Flex
application with java.
Someone are using Flex with java 1.5 and
tomcat 5.5?
Can this be a good configuration for application developing
or maybe it's better using JRun with jdk1.4?
I hope that you
understand my bad english :P
Thanks for the
answer
bye
Rex
Chiacchiera con i tuoi amici in tempo reale!
http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com