[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.technology.equinox] Jboss + servletbridge + equinox + jsp samples
|
Hello,
Really new to osgi/equinox, and trying to get a prototype web application
working on jboss 4.2.1.
I'm trying to get the jsp sample project working against jboss 4.2.1 using
the servletbridge. After piecing together the dependencies (hopefully
correctly) one by one to get the bundle to start, I have finally achieved
the following, but have some problems still that are as yet still baffling
me:
1. Log4j throws an exception on startup that does not prevent bundle
starting.
At first, the problem was a class not found exception on the
org.apache.log4j.Category. I resolved this by creating a fragment to
attach to the org.apache.commons.logging bundle to import
org.apache.log4j. This cleared up that exception quite nicely. (I also
included the log4j bundle in the deployment.)
However, that just led me to the next problem: a ClassNotFoundException
looking for org.jboss.logging.appender.FileAppender.
This seems odd to me - why would log4j be looking for a jboss FileAppender
in the equinox platform? Since I am loading my own log4j bundle and none
of the jboss stuff is being exported using the extendedFrameworkExports
web.xml setting, shouldn't all of jboss's logging (classes + config) be
invisible to the osgi platform?
2. The JSPs show almost correctly but all scriptlet and JSP tag stuff
doesn't get processed at all. In other words, the sample JSPs (a) compile
and (b) render as HTML but anywhere there is something "JSP-ish" I just
get nothing. No errors on the console, and no output on in the HTML
stream.
What might I be missing here?
Really grateful for any help or direction!
Thanks,
Scott