Thanks.  axis2.war is also installed on jboss.  I can change axis2.xml under
conf directory.  However, I am using axis2 web services which is embedded in
the application.  How do I configure axis2. xml and where do I put in my
application.

-Jaspal

Chad DeBauch wrote:
> 
> In your axis2.xml file you need to have these two properties set as such:
> 
> <parameter name="contextRoot">emco/alcms</parameter>
> <parameter name="servicePath">alcms/services</parameter>
> 
> Chad
> 
> On 7/11/07, Sandhu <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hi,
>>
>> I have application that uses Spring 2.0.5, Axis2 1.2, JDK 1.4.x.
>>
>> Issue: If I try to deploy as an ear file with context root e.g.
>> /emco/elcms
>> on Jboss 4.0.4 or any other application server, Spring Aware Web Service
>> does not work.
>>
>> Using: Spring 2.0.5, Hiberate 3.x, Struts 1.2, Axis2 1.2
>>
>> If I deploy as an alcms.ear file to jboss
>> http://localhost:9090/emco/alcms OK
>>
>> http://localhost:9090/emco/alcms/services/SpringAwareService/getValue?val=2
>> Does not work ???
>>
>> However, If I try to deploy as an alcms.war file on jboss 4.0.4, tomcat
>> 6.x,
>> it works.
>>
>> http://localhost:9090/alcms OK
>> http://localhost:9090/alcms/services...getValue?val=2 OK
>>
>> Any idea, what could be wrong with context root. Context root works for
>> the
>> whole web application except when I try to access web service
>>
>> I have attached file that has
>> 1) application.xml
>> 2) web services directory services which is included under
>> WEB-INF/services/SpringAwareService/META-INF/services.xml
>> WEB-INF/services/SpringAwareService/services.wsdl
>> http://www.nabble.com/file/p11551142/temp.zip temp.zip
>> --
>> View this message in context:
>> http://www.nabble.com/Context-Root-Issue-using-ear-format%3A-Spring-Aware-Web-Service-using-Axis2-1.2-tf4065266.html#a11551142
>> Sent from the Axis - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Context-Root-Issue-using-ear-format%3A-Spring-Aware-Web-Service-using-Axis2-1.2-tf4065266.html#a11568409
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to