|Jboss problems with javax.servlet [message #871570]
||Mon, 14 May 2012 12:53
| Sean Gilley
Registered: April 2012
Okay, having completed my little RAP application, I'm now trying to get it to work on a "real" Jboss server. I read and reread about the potential issues, and read about the problem of having javax.servlet being a required bundle and not imported, and that allowed me to resolve the issue with one bundle.|
Problem is, there's another bundle, the entry point to the application, that I can't get to resolve.
Originally in that bundle, javax.servlet was a required package, as was javax.servlet.http. I removed them from being requirements in the MANIFEST.MF and added:
Import-Package: javax.servlet, java.servlet.http
However, when I copy the app into Jboss, it shows up as installed, not active, and when I try to start it, I get:
org.osgi.framework.BundleException: The bundle "org.cas.esops_1.0.0 " could not be resolved. Reason: Missing Constraint: Require-Bundle: javax.servlet; bundle-version="2.5.0" [...]
So, what am I doing wrong here?
Powered by FUDForum
. Page generated in 0.02492 seconds