karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From asookazian2 <asookaz...@gmail.com>
Subject RE: unable to getRealPath for servlet context
Date Thu, 06 Mar 2014 06:12:30 GMT
OK so I made the change in config.properties to point as follows:


saved, stopped, started karaf in debug mode

i've attached a debugger session in Eclipse and see now:

url = bundleentry://243.fwk42630947/

so that's not null any more.

now i get the following warning in karaf.log:

2014-03-05 22:04:49,528 | WARN  | pool-16-thread-1 | AbstractLifeCycle               
| 122 - org.eclipse.jetty.aggregate.jetty-all-server - 8.1.14.v20131031 |
FAILED HttpServiceContext{httpContext=WebAppHttpContext{com.nextgate.mm.AM -
243}}: java.lang.NoClassDefFoundError:
	at org.eclipse.core.runtime.FileLocator.toFileURL(FileLocator.java:205)

any idea how to resolve this?

also it doesn't go into the catch block (I added a brkpt there) and code
execution seems to suddenly stop after this line:

String realPath = FileLocator.toFileURL(url).getPath();

View this message in context: http://karaf.922171.n3.nabble.com/unable-to-getRealPath-for-servlet-context-tp4032109p4032119.html
Sent from the Karaf - User mailing list archive at Nabble.com.

View raw message