>>> If you are interested in distributing Axis2 with a set of fixed
pre-deployed services/modules, you can try to put those services/modules
directly within the war, and deploy the modified war.

I doubt if this will work in all containers since Axis2 relies on the
repository being a regular folder on the file system. As you said, it's up
to the container to explode the war internally (I believe WebSphere
explodes it while WebLogic 9.1 does not).

There are basically 2 options as I understand:
1)Deploy as an exploded war
2)Deploy as a war/ear and specifiy the paths to Axis2 repository and
axis2.xml via the following properties in web.xml:
        <init-param>
            <param-name>axis2.xml.path</param-name>
            <param-value>C:\Axis2\repository\axis2.xml</param-value>
        </init-param>
        <init-param>
            <param-name>axis2.repository.path</param-name>
        <param-value>C:\Axis2\repository</param-value>
        </init-param>

-Junaid



                                                                           
             Rodrigo Ruiz                                                  
             <[EMAIL PROTECTED]                                             
             s.com>                                                     To 
                                       [email protected]             
             05/26/2006 04:38                                           cc 
             AM                                                            
                                                                   Subject 
                                       Re: Axis2[1.0] war in Weblogic 9.1  
             Please respond to                                             
             [EMAIL PROTECTED]                                             
                  he.org                                                   
                                                                           
                                                                           
                                                                           




Hi,

The behaviour you describe is perfectly normal with regard to the
Servlet Specification.

When deploying Axis 2 as a war, the container is not creating a
"read-write" directory structure, and peforms all accesses directly
through the war archive, instead of unpacking it. Whether to unpack the
WAR or not is up to the container implementation, and the specification
allows both options.

If you are interested in distributing Axis 2 with a set of fixed
pre-deployed services/modules, you can try to put those services/modules
directly within the war, and deploy the modified war. I am not sure at
all if this will work in the current version as, AFAIK, Axis 2 uses
custom classloaders for isolating services that might not work in this
"mode". Anyway, I don't see any technical reason why this should not be
possible.

In any case, deploying it as an exploded war is the correct way to
prevent those errors.

Hope this helps,
Rodrigo Ruiz

Ali Sadik Kumlali wrote:
> Hi Gopal,
>
> The same problem exists with WL8.1 SP4. What I saw there, when the war
> is uploaded by using console application, war is not totally extracted.
> Only some of subfolders and the files are extracted. May be the same
> extraction problem exists on WL9.1, too.
>
> I don't know why this happens, though.
>
> Regards,
>
> Ali Sadik Kumlali
>
> */Gopal Patwa <[EMAIL PROTECTED]>/* wrote:
>
>
>     I tried axis2.war deploying on weblogic 9.1 as war, deployment was
>     sucessful
>     but unable to load version service.
>
>     But if I use exploded war it works..
>
>     Any idea why it's happening, did any one had success runing
>     axis2.war under
>     weblogic 9.1
>
>     Thanks
>     Gopal
>     --
>     View this message in context:
>
http://www.nabble.com/Axis2-1.0-+war+in+Weblogic+9.1-t1685447.html#a4571990
>     Sent from the Axis - User forum at Nabble.com.
>
>
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: [EMAIL PROTECTED]
>     For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ------------------------------------------------------------------------
> How low will we go? Check out Yahoo! Messenger’s low PC-to-Phone call
> rates.
> <
http://us.rd.yahoo.com/mail_us/taglines/postman8/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com
>
>
>
>  <
http://us.rd.yahoo.com/mail_us/taglines/postman8/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com
>
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.394 / Virus Database: 268.7.1/348 - Release Date: 25/05/2006
>  <
http://us.rd.yahoo.com/mail_us/taglines/postman8/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com
>

--
-------------------------------------------------------------------
GRIDSYSTEMS                    Rodrigo Ruiz Aguayo
Parc Bit - Son Espanyol
07120 Palma de Mallorca        mailto:[EMAIL PROTECTED]
Baleares - España              Tel:+34-971435085 Fax:+34-971435082
http://www.gridsystems.com
-------------------------------------------------------------------


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.7.1/348 - Release Date: 25/05/2006


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

Reply via email to