Hi ,
I am new to web development , I want to develop an osgi web bundle to be deployed in jboss AS7 can any one tell me what is the directory structure for that ... I googled a lot but not able to find solution my directory structure is like below
myProject
--META-INF
---- manifest.mf
--WEB-INF
------ web.xml
index.html
web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0">
<display-name>JbossModule</display-name>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
</web-app>
manifest.mf
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: OsgiSample
Bundle-SymbolicName: osgiSample
Bundle-Version: 1.0.0.qualifier
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Web-ContextPath: /osgiSample
Webapp-Context: osgiSample
The bundle is successfully deployed but when I hit url http://localhost:8080/osgiSample it end up in error 404
Thanks
Rahul Shukla
See my reply to the same question on Stackoverflow: