RE: readme file, ant and build-webservice.xml
"C. Boettcher" <[email protected]>
| Newsgroups | gmane.comp.java.openamf.user |
|---|---|
| Message-ID | <[email protected]> |
At first, all three that come with the distro (web.xml, openamf-config.xml and build-webservice.xml). But after I realized that ant.jar was involved with the (apparent) solution, I played around with eliminating the build-webservice file and the ant jar. Here's how it broke down: Works? ant.jar build-service.xml ------------------------------------------------- True included excluded True included included False excluded included False excluded excluded Again, I appreciate your time, chb > From: Reza Heidari <Reza@Di...> > RE: readme file, ant and build-webservice.xml > 2005-08-24 16:10 > > What openAMF-related files are you placing in the WEB-INF directory of > your web application? > > -----Original Message----- > From: openamf-user-admin@li... > [mailto:openamf-user-admin@li...] On Behalf Of Casey > Boettcher > Sent: Wednesday, August 24, 2005 2:11 PM > To: openamf-user@li... > Subject: [Openamf-user] readme file, ant and build-webservice.xml > > I carefully read the README.txt file included with rc11. I then > attempted to drop openamf into a working flash remoting webapp. After > several HTTP 500 errors, I turned on debugging using the CATALINA_OPTS > parm. > > Here's what I saw in catalina.out... > > <redaction> > > [ERROR] 0-SNAPSHOT:DefaultGateway] - Servlet.service() for servlet > DefaultGateway threw exception <java.lang.NoClassDefFoundError: > org/apache/tools/ant/BuildListener>java.lang.NoClassDefFoundError: > org/apache/tools/ant/BuildListener > at java.lang.Class.getDeclaredConstructors0(Native Method) > at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328) > at java.lang.Class.getConstructor0(Class.java:2640) > at java.lang.Class.getConstructor(Class.java:1629) > at org.openamf.invoker.ServiceInvoker.load(ServiceInvoker.java:105) > at > org.openamf.DefaultGateway.getServiceInvoker(DefaultGateway.java:331) > at org.openamf.DefaultGateway.invokeBody(DefaultGateway.java:201) > at > org.openamf.DefaultGateway.processMessage(DefaultGateway.java:190) > at org.openamf.DefaultGateway.service(DefaultGateway.java:95) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > </redaction> > > I (foolishly) ignored this for a while, and focused on trying to find > documentation on the three xml files in the <webapp>/WEB-INF > directory. > > Then, after coming up dry on possible config errors, I included the > ant jar in the WEB-INF/lib dir. And presto chango, the app worked. > > Now, in the README file, in the section entitled "External > Dependencies" and subtitled "Basic Use -- Default Gateway" it is > stated that, for the Default Gateway configuration, one need only > include the following libs: > > astranslator.jar (1.5.8) > commons-digester.jar (1.6) > commons-logging.jar (1.0.4) > commons-beanutils.jar (1.7.0) > commons-collections.jar (3.1) > commons-lang.jar (2.0) > > Notice that ant v1.5.4 is not mentioned in this section. The ant lib > is mentioned further down, under the rubric of "Other" and is grouped > with jars that are needed only on a subjective basis (ie if the setup > is using jboss, mysql, etc). > > My question is: > > What have I done to necessitate the inclusion of ant.jar in my war? > After all, I'm not using a web service and have no need for a wsdl. > (I'm using straight Flash Remoting). > > Thanks for your collective time, > > chb > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & > QA > Security * Process Improvement & Measurement * > http://www.sqe.com/bsce5sf > _______________________________________________ > Openamf-user mailing list > Openamf-user@li... > https://lists.sourceforge.net/lists/listinfo/openamf-user > -- Casey Boettcher Computer Programmer mailto: [email protected] voice: (520) 626-3578 University of Arizona Learning Technologies Center http://www.ltc.arizona.edu ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf