WARNING. Several JSF applications are found on the same ClassLoader. It is not safe to determine which instance of FactoryManager to use.

I am trying to create an application in which I am integrating jsf2, surfacefaces, jpa and glassfish 3.1. I had download problems that were fixed by following the instructions here .

However, after completing the steps, I had a problem with Glassfish being flooded with some really annoying warning messages. These are stitches, they do not affect the functionality of my page, but I would like to know if there is anything that will make them go away? Warning:

WARNING: Multiple JSF Applications found on same ClassLoader.  Unable to safely determine which FactoryManager instance to use. Defaulting to first match

Also, I have a problem deploying this webapp. Glassfish admin gui will display a text that says “A long process has been detected” before admin gui is useless and I need to restart the gf server. I get an error in the gf log:

INFO: PrettyFilter shutting down...
INFO: Admin Console: Initializing Session Attributes...
WARNING: java.lang.reflect.InvocationTargetException while attempting to process a 'command' event for 'button1'.
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException while attempting to process a 'command' event for 'button1'.

Not sure if this makes sense to everyone, but any help is much appreciated !! :)

+3
source share
1 answer

Both issues are already being reported to the Glassfish development team.

Glassfish 3.2 will be the earliest version where both issues will be fixed.

+5
source

All Articles