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

"Reza Heidari" <[email protected]>
Newsgroups gmane.comp.java.openamf.user
Message-ID <666C64F94C1AB9419EA787F42348623501EB3A45@cliffclavin.BEDOMAIN.BEAP.COM>
Glad I could help...You should be able to use the configuration I posted
and replace all AdvancedGateway's with DefaultGateway without any
problems. I was using the DG configuration and just recently switched
over so that I could use logical names for my Services.
 
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of C.
Boettcher
Sent: Thursday, August 25, 2005 2:02 PM
To: [email protected]
Subject: [Openamf-user] RE: readme file, ant and build-webservice.xml

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
_______________________________________________
Openamf-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openamf-user


-------------------------------------------------------
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.