Stephen Munro

Greenhorn
+ Follow
since Nov 12, 2010
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
(keep public parts private until JForum day)
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt
Moderation Tools

Recent posts by Stephen Munro

Hello,

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
der.java:1678)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1523)
at org.apache.catalina.startup.ContextConfig.checkHandlesTypes(ContextCo
nfig.java:2006)
at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(Co
ntextConfig.java:1969)
at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(Conte
xtConfig.java:1858)
at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(Conte
xtConfig.java:1826)
at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextC
onfig.java:1812)
at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.jav
a:1306)


My lib folder inside WEB-INF contains the following:
jstl.jar
standard.jar
jsf-api
jsf-impl

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
JSF
Hello,

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?
6 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?

regards,

Stephen
7 years ago