Hi all,
While I am rehearsing my JEE5 to JEE6 migration presentation for
tomorrow, I run into this issue that I have seen before but forgot to
mention.
According to tje JSF 2.0 spec it is possible to do without a
faces-config.xml file. When I remove the file from my project and reload
the application, it runs perfectly ok. However, GlassFish v3 complains
about a missing file and keeps on throwing FileNotFoundExceptions:
java.io.FileNotFoundException
at org.apache.naming.resources.DirContextURLConnection.getInputStream(DirContextURLConnection.java:395)
at com.sun.faces.config.ConfigureListener$WebConfigResourceMonitor$Monitor.getLastModified(ConfigureListener.java:1025)
at com.sun.faces.config.ConfigureListener$WebConfigResourceMonitor$Monitor.hasBeenModified(ConfigureListener.java:1001)
at com.sun.faces.config.ConfigureListener$WebConfigResourceMonitor.run(ConfigureListener.java:960)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Is this a known issue? Sorry to not search the issue database myself,
but I am a bit stressed about finishing the preparations for my demo :-)
Thanks, Wouter
--
Cloudless everyday you fall upon my waking eyes
inviting and inciting me to rise
And through the window in the wall
Come streaming in on sunlight wings
A million bright ambassadors of morning
[Pink Floyd - Echoes]
Skype: wvreeven
Facebook: wvreeven
Twitter: wvreeven