The classpath manifest entry doesn't seem to be right,
you should add all your embedded jars to it.

regards, Achim


2013/4/3 Jean-Baptiste Onofré <[email protected]>

> Hi,
>
> Karaf supports non-OSGi war. So you can try to deploy directly the war
> (just copy in the deploy folder).
>
> If you want to turn it as a Web Bundle, you can use the
> maven-bundle-plugin with the war packaging (just define an execution for
> the bundle creation).
>
> Regards
> JB
>
>
> On 04/03/2013 03:33 PM, mikhaht wrote:
>
>> Hi,
>>
>> I'm trying to deploy a pwm WAR into karaf. This is first time ever that
>> i've
>> launched a karaf console.
>>
>> WAR that i'm trying to launch is pwm Password management servlet product.
>> I
>> have allready a application that is running on karaf and i need to run pwm
>> for user password management for that product.
>>
>> PWM home page:
>>
>> http://code.google.com/p/pwm/
>>
>>   I've trying to follow these instructions:
>> https://ops4j1.jira.com/wiki/**display/paxweb/OSGi-fy+your+**WAR#<https://ops4j1.jira.com/wiki/display/paxweb/OSGi-fy+your+WAR#>
>>
>> And tried to managed to deploy modified war into deploy folder. Karaf
>> activates the bundle but i'm getting 404 error when trying into
>> https://servername/pwm url.
>>
>> Osgi:headers output
>> password :: pwm  (264)
>> ----------------------
>> Manifest-Version = 1.1
>> Ant-Version = Apache Ant 1.7.1
>> Built-By = MHa
>> Webapp-Context = pwm
>> Build-Jdk = 1.6.0_26
>> Created-By = MHa
>>
>> Bundle-Name = password :: pwm
>> Bundle-Description = Open source Password management servlet.
>> Bundle-SymbolicName = password-pwm
>> Bundle-Version = 1.6.4
>> Bundle-ManifestVersion = 2
>> Bundle-ClassPath = .,WEB-INF/lib
>>
>> My custom manifest:
>> Manifest-Version: 1.1
>> Ant-Version: Apache Ant 1.7.1
>> Bundle-Version: 1.6.4
>> Build-Jdk: 1.6.0_26
>> Built-By: MHa
>> Bundle-Name: password :: pwm
>> Bundle-ManifestVersion: 2
>> Created-By: MHa
>> Bundle-Description: Open source Password management servlet.
>> Bundle-SymbolicName: password-pwm
>> Bundle-ClassPath: .,WEB-INF/lib
>> Webapp-Context: /pwm
>> Web-ContextPath: /pwm
>>
>> jar command to create a war:
>> jar -cvfm pwm.war my_manifest.mf *
>>
>> So question is how i should deploy pwm?
>>
>> With Regards,
>> Mika
>>
>>
>>
>>
>> --
>> View this message in context: http://karaf.922171.n3.nabble.**
>> com/deploy-of-war-into-karaf-**tp4028371.html<http://karaf.922171.n3.nabble.com/deploy-of-war-into-karaf-tp4028371.html>
>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>
>>
> --
> Jean-Baptiste Onofré
> [email protected]
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>



-- 

Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
OPS4J Pax for Vaadin <http://team.ops4j.org/wiki/display/PAXVAADIN/Home>
Commiter & Project Lead
blog <http://notizblog.nierbeck.de/>

Reply via email to