[Logo] OLD FORUM - Use new one: https://www.CaptainCasa.online/forum
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
JSF Problem in simple scenario  XML
Forum Index -> Development
Author Message
bthalheim

Power User

Joined: 05/04/2012 11:45:24
Messages: 72
Offline

Hi,

If I create a simple jsf and UI, the following error happens when I press the refresh preview button in my Development Tools.

2012:07:12 13:33:33:734 | 50 | INFO | <<<<<<<<<< request processed [25] ---------------------------------------------
2012:07:12 13:33:33:734 | 50 | INFO | consumedNanosGet: 0 ms (nanos: 0, callCount: 0)
2012:07:12 13:33:33:734 | 50 | INFO | Re-setting session attributes - begin
2012:07:12 13:33:33:734 | 50 | INFO | Re-setting session attributes - end
12.07.2012 13:33:33 com.sun.faces.mgbean.BeanManager preProcessBean
SCHWERWIEGEND: JSF kann auf Anforderung nicht den verwalteten Bean d erstellen. Die folgenden Probleme wurden gefunden:
- Bean- oder Eigenschaftenklasse managedbeans.Dispatcher f?r verwalteten Bean d kann nicht gefunden werden.
 

Any idea how this can be? Source files are attached.

Last thing I changed was in my catalina.sh:
Code:
 JAVA_OPTS="$JAVA_OPTS -Xms1536m -Xmx1536m -XX:NewSize=256m -XX:MaxNewSize=256m -XXermSize=256m -XX:MaxPermSize=256m"
 


But I don't think that is the problem ...

Thanks,

Björn
 Filename OuterFrameUI.java [Disk] Download
 Description
 Filesize 466 bytes
 Downloaded:  485 time(s)

 Filename simpleTest.jsp [Disk] Download
 Description
 Filesize 573 bytes
 Downloaded:  406 time(s)

CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5555
Offline

Hi,

...there seems to be a problem creating the instance of the Dispatcher.

In any case: please check the CaptainCasa log (tomcat/works/....) if you can find some info here... The creation of the d-bean is done by JSF, so this is in front of us, but anyway...

Debug into the constructor of the Dispatcher-class. Something happens there, which causes an exception.

Regards, Björn

Björn Müller, CaptainCasa GmbH
bthalheim

Power User

Joined: 05/04/2012 11:45:24
Messages: 72
Offline

Hm, this is very weird. I finally rebooted my computer. Afterwards everything was OK, both with my extended JAVA_OPTS and without.

So that error is indeterministic, and now it's gone ...

Björn
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team