RE: readme file, ant and build-webservice.xml

"C. Boettcher" <[email protected]>
Newsgroups gmane.comp.java.openamf.user
Message-ID <[email protected]>
Reza,

Thanks for sharing.

I switched over from the DefaultGateway (DG) to the AdvancedGateway 
configuration, excluded ant.jar from the war file, commented out all of the 
invokers (apart from Java, PageableRecordSet and ServiceControl), and it worked.

The out-of-the-box version of openamf-config.xml contains a number of invokers 
which are commented as being "Required for DefaultGateway," one of which is the 
WebService invoker. This last is what requires ant.jar.

Consequently, the README file should be changed to indicate that the 
DefaultGateway requires ant.jar as well (if one uses the openamf-config.xml file 
as-is).

Appreciate you stepping forward and helping me out,

Casey

> I'm only using remoting as well and I don't have the
>  build-webservice.xml...maybe showing you my setup would help out.  My
>  directory structure is as follows:
>  
>  /WEB-INF/
>      --- web.xml
>  /WEB-INF/conf/
>      --- openamf-config.xml
>  /WEB-INF/lib/
>      --- openamf.jar
>      --- astranslator-1.5.8.jar
>      --- commons-digester.jar
>      --- commons-logging.jar
>      --- commons-beanutils.jar
>      --- commons-collections-3.0.jar
>      --- commons-lang-2.0.jar
>  
>  The listener/servlet/servlet-mapping entries in my web.xml:
>  
>  	<!--  Advanced Gateway -->
>  	<listener>
>  	
>  <listener-class>org.openamf.AdvancedGateway</listener-class>
>  	</listener>
>  	<servlet>
>  	    <servlet-name>AdvancedGateway</servlet-name>
>  	    <display-name>AdvancedGateway</display-name>
>  	    <description>AdvancedGateway</description>
>  	    <servlet-class>org.openamf.AdvancedGateway</servlet-class>
>  	    <init-param>
>  	    	<param-name>OPENAMF_CONFIG</param-name>
>  	
>  <param-value>/WEB-INF/conf/openamf-config.xml</param-value>
>  	    	<description>Location of the OpenAMF config
>  file.</description>
>  	    </init-param>
>  	    <load-on-startup>1</load-on-startup>
>  	</servlet>
>  	  
>  	<servlet-mapping>
>  	    <servlet-name>AdvancedGateway</servlet-name>
>  	    <url-pattern>/gateway</url-pattern>
>  	</servlet-mapping>
>  
>  
>  -----Original Message-----
>  From: openamf-user-admin@li...
>  [mailto:openamf-user-admin@li...] On Behalf Of C.
>  Boettcher
>  Sent: Wednesday, August 24, 2005 4:55 PM
>  To: openamf-user@li...
>  Subject: [Openamf-user] RE: readme file, ant and build-webservice.xml
>  
>  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


-------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.