Couldn't agree with your comments more... I burned about 4 hours the
other day trying to get FDS up and running with Tomcat (will have to
try your clearer instructions on the JOTM install, as I tried the 2
sources you mentioned and did not get anywhere).

In Adobe's defense, I don't think it's just them, the Java community
seems to have so many amazing platforms and frameworks, but there's so
many that just accomplish the same thing, and in general, there's no
simple documentation on installation or usage that makes any sense.
Sometimes it seems like it takes 6 frameworks running around the clock
to print out 'hello world'. :)

All that being said, I'm sure that once Flex 2 goes GA, we'll see much
better documentation on all of this. They are probably a little busy
right now...

Thanks again for the instructions though, I'm sure these will help
many who found the JOTM instructions cryptic before.

Brian

--- In flexcoders@yahoogroups.com, "hank williams" <[EMAIL PROTECTED]> wrote:
>
> I wrote up a little explanation that is much (I think) easier to
understand
> that the instructions provided by adobe for installing JOTM (which is
> necessary for FDS)
> 
> 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. Add the following XML to $CATALINA_HOME/conf/server.xml
> 
>  <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.
> 
> 
> 
> On 6/18/06, hank williams <[EMAIL PROTECTED]> wrote:
> > Well, I figured out what the problem is.
> >
> > On the wiki (but nowhere in the downloaded package) it says that FDS
> > on Tomcat requires the JOTM transaction manager.
> >
> > The wiki points to two articles by unrelated third parties that have
> > different instructions for what is required to install. Then there are
> > some additional instructions directly in the wiki that seem to overlap
> > and contradict the instructions in the articles. The bottom line is
> > this is no easy "drop a war or jar in and your done" kind of
> > installation - or if it is, then the instructions are even worse than
> > I thought.
> >
> > I would suggest that adobe make the effort to tighten up the
> > documentation on this and maybe do some kind of an installer that
> > maybe even makes the necessary adjustments to the tomcat config file.
> > Just because someone programs in java doesnt mean they know all of the
> > ins and outs of servlet container configurations. This, "oh we will
> > leave the last few steps as an exercise for the reader" is just one of
> > my personal pet peeves. Just because software is targeted at
> > programmers and technical folks doesnt mean its ok to make it hard.
> > Adobe has, in general, done a good job with the client side. But, for
> > lots of people, this will be a bummer.
> >
> > Hank
> >
> > On 6/18/06, hank williams <[EMAIL PROTECTED]> wrote:
> > >
> > > I just downloaded flex data services, installed, and tried to
run the
> the sample apps.
> > >
> > > The flash UI part all works fine, but it cant connect to data.
The error
> that comes in on the java console looks like this:
> > >
> > >
> > > [Flex] [DEBUG] Before invoke service: data-service
> > >   incomingMessage: Flex Message (flex.data.messages.DataMessage)
> > >     operation = fill
> > >     id = null
> > >     clientId = 5C535BF9-496C-1163-025E-E8915E76244B
> > >      correlationId =
> > >     destination = contact
> > >     messageId = 43802177-0968-4AB3-9AB5-E8915E86D54E
> > >     timestamp = 1150658109140
> > >     timeToLive = 0
> > >     body =
> > >     [
> > >
> > >     ]
> > >     hdr(DSEndpoint) = my-rtmp
> > >
> > > Throwable in RtmpReader thread: java.lang.NoClassDefFoundError:
> javax/transaction/SystemException
> > > java.lang.NoClassDefFoundError: javax/transaction/SystemException
> > >     at flex.data.DataService.serviceMessage (DataService.java:284)
> > >     at flex.messaging.MessageBroker.routeMessageToService(
> MessageBroker.java:565)
> > >     at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(
> AbstractEndpoint.java:298)
> > >     at
flex.messaging.endpoints.rtmp.AbstractRTMPServer.dispatchMessage(
> AbstractRTMPServer.java:653)
> > >     at
flex.messaging.endpoints.rtmp.NIORTMPConnection$RTMPReader.run(
> NIORTMPConnection.java:650)
> > >     at
>
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
> ThreadPoolExecutor.java:643)
> > >     at
>
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run
> (ThreadPoolExecutor.java:668)
> > >     at java.lang.Thread.run(Unknown Source)
> > >
> > >
> > > Obviously I have done something wrong from a setup perspective,
but I am
> not sure what.
> > >
> > > Any input would be greatly appreciated.
> > >
> > >
> > > Hank
> > >
> >
>








------------------------ Yahoo! Groups Sponsor --------------------~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to