Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Websphere issue with icefaces , bean not initializing properly  RSS feed

Ankur Bajaj
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an application which uses jsf 1.2 , icefaces 1.8.2

the problem is my backing bean initializes on startup which I don't want

actually I am using basic authentication in tomcat for development (websphere 7 for production) and use the username entered in by the user to connect to the database

and when the app loads the request does not contain any data and is null. the constructor of the bean tries to access the request and gets initialized with null as userid

Its working fine in Tomcat 6 server but will not reinitialize in websphere 7. Any websphere setting required?

I am using a Phase listener and someone told me that causes it to initialize the beans at startup

Is it possible to override this feature ?

please tell me if any other information is needed
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!