File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Websphere and the fly likes Websphere issue with icefaces , bean not initializing properly Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Websphere issue with icefaces , bean not initializing properly" Watch "Websphere issue with icefaces , bean not initializing properly" New topic
Author

Websphere issue with icefaces , bean not initializing properly

Ankur Bajaj
Greenhorn

Joined: Apr 25, 2012
Posts: 5
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Websphere issue with icefaces , bean not initializing properly
 
Similar Threads
need help configuring tomcat with eclipse (and icefaces or richfaces)
regarding request and session scope's
JBoss 3.2.1
Session backing beans / STATE_SAVING_METHOD / WAS7
How to create a tree component in JSF