Hi,

A quick note, your war bundle status is "Installed", 
[ 238] [Installed  ] [            ] [       ] [   60]
ops4j_pax_war_archetype_fzlbpms_template (1.0.0.SNAPSHOT)

The expected status should be "Active", this indicates there's still some thing 
wrong in your war bundle.

Freeman
-------------
Freeman Fang

FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: http://weibo.com/u/1473905042

On 2012-7-24, at 上午10:04, wagner wrote:

> Thanks Gert, my apologies for some dumb words, I am begginer with servicemix.
> 
> I put configuration below in the project pom
> 
>                                <Export-Package>*</Export-Package>
> 
> <Private-Package>javax.jws.*</Private-Package>
>                                <DynamicImport-Package>javax.*,
> org.*</DynamicImport-Package>
>                                <Bundle-ClassPath>.,
> WEB-INF/classes</Bundle-ClassPath>
> 
> <Embed-Directory>WEB-INF/lib</Embed-Directory>
> 
> <Embed-Dependency>*;scope=compile|runtime</Embed-Dependency>
>                                <Embed-Transitive>true</Embed-Transitive>
>                                <Import-Package>javax.servlet,
> javax.servlet.http, !javax.jws, * </ImportPackage>
> 
> and the servicemix seems to be recognized the web/lib package to load dwr
> dependencies. 
> 
> 
> But, I'm guessing the war bundle was still not deploy correctly because any
> line of log was printed in the servimix.log and the webapp is not present at
> http://localhost:8181/ops4j_pax_war_archetype_fzlbpms_template. How could I
> check properly if the deploy was ok?
> 
> 
> 
> 
> 
> My servicemix installation is a default one and have this configuration. I
> think there are all features to run war bundle.
> 
> karaf@root> features:list | grep -i pax
> [uninstalled] [2.8.0-fuse-06-11    ] camel-paxlogging                    
> camel-2.8.0-fuse-06-11            
> 
> karaf@root> list | grep -i pax
> [ 163] [Active     ] [            ] [       ] [   60] OPS4J Pax Web - API
> (1.0.3)
> [ 164] [Active     ] [            ] [       ] [   60] OPS4J Pax Web -
> Runtime (1.0.3)
> [ 165] [Active     ] [            ] [       ] [   60] OPS4J Pax Web -
> Service SPI (1.0.3)
> [ 166] [Active     ] [            ] [       ] [   60] OPS4J Pax Web - Jetty
> (1.0.3)
> [ 167] [Active     ] [            ] [       ] [   60] OPS4J Pax Web -
> Extender - Whiteboard (1.0.3)
> [ 168] [Active     ] [            ] [       ] [   60] OPS4J Pax Url - war
> (1.2.6.fuse-01)
> [ 170] [Active     ] [            ] [       ] [   60] OPS4J Pax Web -
> Extender - WAR (1.0.3)
> [ 171] [Active     ] [            ] [       ] [   60] OPS4J Pax Web - Jsp
> Support (1.0.3)
> [ 172] [Active     ] [            ] [       ] [   60] OPS4J Pax Web -
> FileInstall Deployer (1.0.3)
> [ 238] [Installed  ] [            ] [       ] [   60]
> ops4j_pax_war_archetype_fzlbpms_template (1.0.0.SNAPSHOT)
> karaf@root> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> --
> View this message in context: 
> http://servicemix.396122.n5.nabble.com/Servlet-Class-is-not-found-by-servicemix-in-WEB-INF-lib-package-tp5713940p5713949.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to