Downloaded the source code from [1]

[1] https://github.com/wso2/product-is/releases/tag/v5.2.0-beta

Regards,
Dilini

On Wed, Apr 27, 2016 at 3:34 PM, Chamath Gunawardana <[email protected]>
wrote:

> Hi Dilini,
>
> Can you please share the location you go the sample war? This issue was
> seen and was fixed.
>
>
> Thanks,
> Chamath
>
> On Wed, Apr 27, 2016 at 3:16 PM, Dilini Gunatilake <[email protected]>
> wrote:
>
>> Hi IS team,
>>
>> I tried to deploy the PassiveSTSSampleApp which was built from
>> product-is-5.2.0-beta repo and got the following exception. Seems like a
>> dependency issue.
>>
>> SEVERE: ContainerBase.addChild: start:
>> org.apache.catalina.LifecycleException: Failed to start component
>> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/PassiveSTSSampleApp]]
>> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:153)
>> at
>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
>> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
>> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
>> at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1091)
>> at
>> org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1980)
>> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>> at
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>> at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>> at java.lang.Thread.run(Thread.java:745)
>> Caused by: java.lang.NoClassDefFoundError: org/apache/rahas/TrustException
>> at java.lang.Class.getDeclaredFields0(Native Method)
>> at java.lang.Class.privateGetDeclaredFields(Class.java:2499)
>> at java.lang.Class.getDeclaredFields(Class.java:1811)
>> at
>> org.apache.catalina.util.Introspection.getDeclaredFields(Introspection.java:106)
>> at
>> org.apache.catalina.startup.WebAnnotationSet.loadFieldsAnnotation(WebAnnotationSet.java:270)
>> at
>> org.apache.catalina.startup.WebAnnotationSet.loadApplicationFilterAnnotations(WebAnnotationSet.java:109)
>> at
>> org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:64)
>> at
>> org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:415)
>> at
>> org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:892)
>> at
>> org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:386)
>> at
>> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
>> at
>> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
>> at
>> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5472)
>> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
>> ... 10 more
>> Caused by: java.lang.ClassNotFoundException:
>> org.apache.rahas.TrustException
>> at
>> org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1858)
>> at
>> org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1701)
>> ... 24 more
>>
>> Apr 27, 2016 1:53:08 PM org.apache.catalina.startup.HostConfig deployWAR
>> SEVERE: Error deploying web application archive
>> /home/dilinig/software/apache-tomcat-7.0.68/webapps/PassiveSTSSampleApp.war
>> java.lang.IllegalStateException: ContainerBase.addChild: start:
>> org.apache.catalina.LifecycleException: Failed to start component
>> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/PassiveSTSSampleApp]]
>> at
>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:903)
>> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
>> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
>> at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1091)
>> at
>> org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1980)
>> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>> at
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>> at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>> at java.lang.Thread.run(Thread.java:745)
>>
>>
>> Reported a JIRA [1]. Any workaround to resolve this asap as we are unable
>> to test this feature?
>>
>> [1] https://wso2.org/jira/browse/IDENTITY-4549
>>
>> Thank you.
>>
>> Regards,
>> --
>>
>> *Dilini GunatilakeSoftware Engineer - QA Team*
>> Mobile : +94 (0) 771 162518
>> [email protected]
>>
>
>
>
> --
> Thanks,
> Best Regards,
> Chamath Gunawardana
> Technical Lead; WSO2 Inc.
> Mobile : +94776322240
>



-- 

*Dilini GunatilakeSoftware Engineer - QA Team*
Mobile : +94 (0) 771 162518
[email protected]
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to