Stephen Munro

+ Follow
since Nov 12, 2010
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Stephen Munro


I'm trying to get started on learning JSF (mojarra - 2.0.6). I was following along with a tutorial posted on youtube and currently I cannot get the application deployed on tomcat 7.
There exception I'm getting is:

WARNING: Unable to load class [DojoFileStorageProvider] to check against the @Ha
ndlesTypes annotation of one or more ServletContentInitializers.
java.lang.ClassNotFoundException: DojoFileStorageProvider
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
at org.apache.catalina.startup.ContextConfig.checkHandlesTypes(ContextCo
at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(Co
at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(Conte
at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(Conte
at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextC
at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.jav

My lib folder inside WEB-INF contains the following:

I'm guessing I'm missing a JAR file if I'm getting a class not found exception, but the tutorial makes no reference to any other required jars than the ones I mentioned. So, I'm guessing either the tutorial is out of date and I need an extra JAR or something is wrong with my tomcat container setup. Any ideas?

6 years ago

I'd like to run this by the forum as I've had a lot of trouble finding ways to come up with good solid testing strategies for location apps on a mobile device.
This may boil down to finding the best mock frameworks, but I'm more interested in the workflow that people use:

What would be the best strategy to mock a discovery service for finding locations and returning results?

One of the main issues I have as a J2ME/BlackBerry developer is the strong reliance on an active simulator running. One way I've thought is to isolate the core code into a domain layer and run it in isolation of the emulator (as a standard J2SE JUnit app). The problem with that is that the infrastruture components are part of the device per se and I'm not sure what the approach would be to get round this.

Any thoughts?
7 years ago
Hi, I'm trying to get a basic AWT app working that supports right to left text entry.
This is easy enough to to in Swing with .setOrientation(Orientation.RIGHT_TO_LEFT), but
when trying the same with AWT, nothing seems to happen.

I'm not too sure why this is happening and I know I shound't be using AWT , but unfortunately our PDA
app is constrained to use this until we find another solution. Anyone got any ideas how I can get awt components
like TextArea to support RTF?


7 years ago