You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Matt Madhavan <ma...@gmail.com> on 2011/09/18 01:34:33 UTC

Cannot access web app! All bundles deployed and active

Hello,
Thank you all for helping me on my persistence issue. Now I have gone beyond
that. Now I have been stuck on invoking my application!

I have successfully deployed my datasource/persistence/biz/web bundles. They
are all active and I can see their services being published as well!

The last bundle I installed was the web bundle!

[ 165] [Active     ] [Created     ] [   60] Apache Aries Application
Deployment Management (0.3.0)
[ 166] [Active     ] [Created     ] [   60] Apache Aries Application Runtime
(0.3.0)
[ 167] [Active     ] [            ] [   60] OPS4J Pax Web - Jsp Support
(1.0.6)
[ 168] [Active     ] [            ] [   60] OPS4J Pax Web - Extender - WAR
(1.0.6)
[ 170] [Active     ] [            ] [   60] OPS4J Pax Url - war (1.2.8)
[ 171] [Active     ] [            ] [   60] OPS4J Pax Web - FileInstall
Deployer (1.0.6)
[ 172] [Active     ] [            ] [   60] OPS4J Pax Web - Extender -
Whiteboard (1.0.6)
[ 173] [Active     ] [            ] [   60] itso.bank.web (1.0.0.SNAPSHOT)


karaf@root> web:list
   ID   State         Web-State       Level  Web-ContextPath           Name
[ 173] [Active     ] [*Deployed   *]  [   60] [/itsobank               ]
itso.bank.web (1.0.0.SNAPSHOT)

What does *Web-State Deployed *mean? Should it say *Active *as well?

Also the following is my bundle header!

karaf@root> osgi:headers  173

itso.bank.web (173)
-------------------
Manifest-Version = 1
Bnd-LastModified = 1314648418921
Tool = Bnd-1.43.0
Built-By = I304326
Web-ContextPath = */itsobank*
Build-Jdk = 1.6.0
Created-By = Apache Maven Bundle Plugin

Bundle-Name = itso.bank.web
Bundle-Description = Generated using Pax-Construct
Bundle-SymbolicName = itso.bank.web
Bundle-Version = 1.0.0.SNAPSHOT
Bundle-ManifestVersion = 2
Bundle-ClassPath = WEB-INF/classes,WEB-INF/classes,WEB-INF/lib/sitelib.jar

Import-Package =
        itso.bank.api;version=1.0.0.SNAPSHOT,
        itso.bank.api.exceptions;version=1.0.0.SNAPSHOT,
        javax.el;resolution:=optional;version=2.0,
        javax.naming,
        javax.servlet;version=2.5,
        javax.servlet.http;version=2.5,
        javax.servlet.jsp;version=2.0,
        javax.servlet.jsp.el;version=2.0,
        javax.servlet.jsp.tagext;version=2.0,
        javax.sql,
        javax.swing.tree;resolution:=optional,
        javax.xml.parsers;resolution:=optional,
        org.w3c.dom;resolution:=optional

But when I try to access my application  as follows:
*http://localhost:8081/itsobank* it says:

The page cannot be displayed

Any ideas please? Man I'm so close!

Thanks in advance!!

Matt

--
View this message in context: http://karaf.922171.n3.nabble.com/Cannot-access-web-app-All-bundles-deployed-and-active-tp3345315p3345315.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Cannot access web app! All bundles deployed and active

Posted by Matt Madhavan <ma...@gmail.com>.
Hello,
This was my mistake. Was tired and had a typo.

Thanks
Matt

--
View this message in context: http://karaf.922171.n3.nabble.com/Cannot-access-web-app-All-bundles-deployed-and-active-tp3345315p3345514.html
Sent from the Karaf - User mailing list archive at Nabble.com.