Hi,

Ok, I did as you suggest, but exactly the same thing happened… ☹ No errors 
printed anywhere and the file just appears on the osgi:list in Installed-state.


-          Petri

From: Charles Moulliard-2 [via Karaf] 
[mailto:[email protected]]
Sent: 5. marraskuuta 2012 15:19
To: Riipinen Petri
Subject: Re: How to debug non-working war-deployment?

Hi,

Instead of dropping your osgified war in deploy directory, can you deploy it 
using "install -s file://location<file:///\\location>" to see the error 
generated by Karaf.

Regards,



On Mon, Nov 5, 2012 at 2:12 PM, PJR69 <[hidden 
email]</user/SendEmail.jtp?type=node&node=4026683&i=0>> wrote:
I have a WAR-packaged application that runs fine on Tomcat.

Now I'm trying to get it to run on Karaf with jetty. I've installed jetty +
war features and I see jetty running on 8181 and get the page not found
error when browsing the root.

I've osgified my manifest as instructed here:
http://team.ops4j.org/wiki/display/paxweb/OSGi-fy+your+WAR and to me it
looks ok.

But when I drop the WAR into the deploy-folder, nothing much really happens.
I do see the installer writing "installed... .war" -text and list shows that
the application is there in Installed-state. But nothing else happens.

The application should be bound to /portal-endpoint but navigating there
with a browser just gives the same page not found error and nothing gets
output on the log.

Any ideas how to proceed with debugging the problem?



--
View this message in context: 
http://karaf.922171.n3.nabble.com/How-to-debug-non-working-war-deployment-tp4026682.html
Sent from the Karaf - User mailing list archive at Nabble.com.



--
Charles Moulliard
Apache Committer / Sr. Enterprise Architect (RedHat)
Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com



________________________________
If you reply to this email, your message will be added to the discussion below:
http://karaf.922171.n3.nabble.com/How-to-debug-non-working-war-deployment-tp4026682p4026683.html
To start a new topic under Karaf - User, email 
[email protected]<mailto:[email protected]>
To unsubscribe from Karaf - User, click 
here<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=930749&code=cGV0cmkucmlpcGluZW5AaW5zdGEuZml8OTMwNzQ5fDU5NTY5OTMzOA==>.
NAML<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>




--
View this message in context: 
http://karaf.922171.n3.nabble.com/How-to-debug-non-working-war-deployment-tp4026682p4026684.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to