On Thu, Jun 14, 2012 at 12:20 PM, Afkham Azeez <[email protected]> wrote:

> What is the verdict on this? Perhaps this will work on AS if we allows
> exploding of webapps?


Yes, the issue is in tomcat. Because, when i made the exploded option OFF,
the same error appeared in there as-well. And in AS, i did not see any
errors after making exploded option ON. This is the default behavior of
tomcat also. So the solution for this to make exploded mode of deployment
ON. In trunk we can do this by changing the unpackWars="true" in
catalina-server.xml. Also we can make this as default value in
catalina-server.xml and ship it. Currently it is set to false.

Kishanthan.

>
>
> On Wed, Jun 13, 2012 at 3:36 AM, Afkham Azeez <[email protected]> wrote:
>
>> Yeah, still a WSO2 AS problem because this app worked fine on JBoss AS as
>> well as standard Tomcat 7.x.
>>
>>
>> On Wed, Jun 13, 2012 at 1:28 AM, Kishanthan Thangarajah <
>> [email protected]> wrote:
>>
>>>
>>>
>>> On Tue, Jun 12, 2012 at 3:09 PM, Afkham Azeez <[email protected]> wrote:
>>>
>>>> Didn't check in the previous release. This is in trunk. To reproduce
>>>> this, create a mock service using soapUI & deploy it as a WAR. Talk to the
>>>> in house soapUI guru Charitha for more details on how to do this. Try to
>>>> deploy this WAR on AS & you will see the error. I cannot attach the WAR
>>>> since it is 50MB.
>>>
>>>
>>> This can be reproduced. This issue is there in 4.1.2 as-well. However I
>>> noticed a difference in AS where it is trying to load the project file from
>>> an invalid path.
>>>
>>> 01:26:44,230 INFO  [SoapUI] File
>>> [/home/kicha/wso2/dist/as/wso2as-5.0-SNAPSHOT/*jndi:/localhost/*mockApp/WEB-INF/soapui/sample-soapui-project.xml]
>>> does not exist, trying URL instead
>>> 01:26:44,238 DEBUG [WsdlLoader] Getting wsdl component from
>>> [jndi:/localhost/mockApp/WEB-INF/soapui/sample-soapui-project.xml]
>>>
>>> But in tomcat, it is loaded from the correct path.
>>>
>>> 01:09:05,517 INFO  [WsdlProject] Loaded project from
>>> [file:/home/kicha/tomcat/apache-tomcat-7.0.26/webapps/mockApp/WEB-INF/soapui/sample-soapui-project.xml]
>>>
>>> May be that is where it fails in AS.
>>>
>>>
>>>
>>>>
>>>>
>>>> On Tue, Jun 12, 2012 at 2:56 PM, Kishanthan Thangarajah <
>>>> [email protected]> wrote:
>>>>
>>>>> Hi Azeez,
>>>>>
>>>>> I'll have a look at this. I believe this is in trunk. Does the same
>>>>> work in a previous AS release?
>>>>>
>>>>> Thanks,
>>>>> Kishanthan.
>>>>>
>>>>>  On Tue, Jun 12, 2012 at 9:54 AM, Afkham Azeez <[email protected]> wrote:
>>>>>
>>>>>> I have a webapp containing mock services created from soapUI. I tried
>>>>>> to deploy it on AppServer, and when I tried to visit the home page of 
>>>>>> that
>>>>>> webapp, it failed with the following error.
>>>>>>
>>>>>> 09:49:00,611 DEBUG [WsdlLoader] Getting wsdl component from
>>>>>> [jndi:/localhost/rch/WEB-INF/soapui/IN-mock-service-soapui-project.xml]
>>>>>> java.lang.Exception: Failed to load url;
>>>>>> jndi:/localhost/rch/WEB-INF/soapui/IN-mock-service-soapui-project.xml, 0 
>>>>>> -
>>>>>> at
>>>>>> com.eviware.soapui.impl.wsdl.support.wsdl.UrlWsdlLoader.load(UrlWsdlLoader.java:184)
>>>>>>  at
>>>>>> com.eviware.soapui.impl.wsdl.support.wsdl.UrlWsdlLoader.load(UrlWsdlLoader.java:98)
>>>>>> at
>>>>>> com.eviware.soapui.impl.wsdl.WsdlProject.loadProject(WsdlProject.java:333)
>>>>>>  at
>>>>>> com.eviware.soapui.impl.wsdl.WsdlProject.<init>(WsdlProject.java:261)
>>>>>> at
>>>>>> com.eviware.soapui.impl.wsdl.WsdlProject.<init>(WsdlProject.java:212)
>>>>>>  at
>>>>>> com.eviware.soapui.impl.wsdl.WsdlProject.<init>(WsdlProject.java:207)
>>>>>> at
>>>>>> com.eviware.soapui.impl.wsdl.WsdlProject.<init>(WsdlProject.java:192)
>>>>>>  at
>>>>>> com.eviware.soapui.impl.wsdl.WsdlProjectFactory.createNew(WsdlProjectFactory.java:36)
>>>>>> at
>>>>>> com.eviware.soapui.impl.wsdl.WsdlProjectFactory.createNew(WsdlProjectFactory.java:24)
>>>>>>  at
>>>>>> com.eviware.soapui.mockaswar.MockAsWarServlet.initProject(MockAsWarServlet.java:103)
>>>>>> at
>>>>>> com.eviware.soapui.mockaswar.MockAsWarServlet.init(MockAsWarServlet.java:79)
>>>>>>  at javax.servlet.GenericServlet.init(GenericServlet.java:160)
>>>>>> at
>>>>>> org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1266)
>>>>>>  at
>>>>>> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1185)
>>>>>> at
>>>>>> org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:857)
>>>>>>  at
>>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:136)
>>>>>> at
>>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
>>>>>>  at
>>>>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
>>>>>> at
>>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
>>>>>>  at
>>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
>>>>>> at
>>>>>> org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:143)
>>>>>>  at
>>>>>> org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
>>>>>> at
>>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
>>>>>>  at
>>>>>> org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:48)
>>>>>> at
>>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>>>>>>  at
>>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
>>>>>> at
>>>>>> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
>>>>>>  at
>>>>>> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
>>>>>> at
>>>>>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1620)
>>>>>>  at
>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>>>>>> at
>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>>>>>>  at java.lang.Thread.run(Thread.java:680)
>>>>>>
>>>>>>
>>>>>> However, the same webapp worked fine on Tomcat 7
>>>>>>
>>>>>> --
>>>>>> *Afkham Azeez*
>>>>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>>>>> Member; Apache Software Foundation; http://www.apache.org/
>>>>>> * <http://www.apache.org/>**
>>>>>> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
>>>>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>>>>>> twitter: 
>>>>>> **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>>>>>> *
>>>>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>>>>>> *
>>>>>> *
>>>>>> *Lean . Enterprise . Middleware*
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Dev mailing list
>>>>>> [email protected]
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Kishanthan Thangarajah*
>>>>> Software Engineer,
>>>>> Development Technologies Team,
>>>>> WSO2, Inc.
>>>>> lean.enterprise.middleware
>>>>>
>>>>> Mobile - +94773426635
>>>>> Blog - *http://kishanthan.wordpress.com*
>>>>> Twitter - *http://twitter.com/kishanthan*
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> *Afkham Azeez*
>>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>>> Member; Apache Software Foundation; http://www.apache.org/
>>>> * <http://www.apache.org/>**
>>>> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
>>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>>>> twitter: 
>>>> **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>>>> *
>>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>>>> *
>>>> *
>>>> *Lean . Enterprise . Middleware*
>>>>
>>>>
>>>
>>>
>>> --
>>> *Kishanthan Thangarajah*
>>> Software Engineer,
>>> Development Technologies Team,
>>> WSO2, Inc.
>>> lean.enterprise.middleware
>>>
>>> Mobile - +94773426635
>>> Blog - *http://kishanthan.wordpress.com*
>>> Twitter - *http://twitter.com/kishanthan*
>>>
>>>
>>
>>
>> --
>> *Afkham Azeez*
>> Director of Architecture; WSO2, Inc.; http://wso2.com
>> Member; Apache Software Foundation; http://www.apache.org/
>> * <http://www.apache.org/>**
>> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>> *
>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>> *
>> *
>> *Lean . Enterprise . Middleware*
>>
>>
>
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * <http://www.apache.org/>**
> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
> *
> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
> *
> *
> *Lean . Enterprise . Middleware*
>
>


-- 
*Kishanthan Thangarajah*
Software Engineer,
Development Technologies Team,
WSO2, Inc.
lean.enterprise.middleware

Mobile - +94773426635
Blog - *http://kishanthan.wordpress.com*
Twitter - *http://twitter.com/kishanthan*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to