Here is our python setup, it may give you something to go on as it works
for us, maybe you don't have the war classloader as single?

classloaderForApplication = "PARENT_FIRST"
classloaderForWebModules = "PARENT_FIRST"
classloaderForSharedLibrary = "PARENT_FIRST"
classloaderPolicyForWar = "SINGLE"
startingWeightForWebModule = "10000"                         # Default
for all Modules, overridden below
startingWeightForEjbModule = "5000"                           # Default
for all Modules, overridden below

webModuleClassloaderURI_1 = "mywebapp.war"
webModuleClassloaderPolicy_1 = "PARENT_LAST"
webModuleStartingWeight_1 = "10000"

-----Original Message-----
From: Luhtala Santeri [mailto:[EMAIL PROTECTED] 
Sent: 20 November 2008 08:33
To: MyFaces Discussion
Subject: RE: Running into NullPointerException when running Myfaces +
tiles on WebSphere 6.0

Have you tried to make a custom classloader and attach the Shared
libraries(that contain the MyFafes jars) to that.
That was the only way I could make the WAS installation work. (WAS 6.1)

S

-----Original Message-----
From: Madhav Bhargava [mailto:[EMAIL PROTECTED]
Sent: 19. marraskuuta 2008 15:42
To: [email protected]
Subject: Running into NullPointerException when running Myfaces + tiles
on WebSphere 6.0

Hi All,

I am using Myfaces 1.1.5, tomahawk 1.1.5, struts-tiles, ajax4jsf on
Websphere 6.0 and i am running into an exception (stack trace is
attached with this mail)

I have already gone through the link
http://wiki.apache.org/myfaces/Websphere_Installation and done loads of
googling but nothing seems to resolve the problem.

Setting PARENT_LAST on Class Loader option at MODULE level does not
solve the problem. Webshere still picks up the Sun RI jars (jsf-api.jar
and ws-jsf.jar) that are bundled along with Websphere 6.0.

We cannot remove these jars because we have a shared production
environment and there are other applications that are using the RI
implementation instead of myfaces.

Any suggestions would greatly be appreciated. It is too late in the
project too move to facelets :(.
If this problem cannot be solved then please suggest some alternate
templating frameworks which will work well with JSF.

Regards,
Madhav


**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
solely
for the use of the addressee(s). If you are not the intended recipient,
please
notify the sender by e-mail and delete the original message. Further,
you are not
to copy, disclose, or distribute this e-mail or its contents to any
other person and
any such actions are unlawful. This e-mail may contain viruses. Infosys
has taken
every reasonable precaution to minimize this risk, but is not liable for
any damage
you may sustain as a result of any virus in this e-mail. You should
carry out your
own virus checks before opening the e-mail or attachment. Infosys
reserves the
right to monitor and review the content of all messages sent to or from
this e-mail
address. Messages sent to or from this e-mail address may be stored on
the
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***


This e-mail is only for the above addressees.  It may contain confidential or 
privileged information.  If you are not an addressee you must not copy, 
distribute, disclose or use any of the information in it or any attachments.  
If you have received it in error please notify the sender and delete it 
immediately.

Lloyds TSB Bank plc.  Registered Office: 25 Gresham Street, London EC2V 7HN.  
Registered in England and Wales, number 2065.  Telephone: 020 7626 1500.
Lloyds TSB Scotland plc.  Registered Office: Henry Duncan House, 120 George 
Street, Edinburgh EH2 4LH.  Registered in Scotland, number 95237.  Telephone: 
0131 225 4555.
Cheltenham & Gloucester plc.  Registered Office: Barnett Way, Gloucester GL4 
3RL.  Registered in England and Wales, number 2299428.  Telephone: 01452 372372.
Cheltenham & Gloucester Savings is a division of Lloyds TSB Bank plc.

Lloyds TSB Bank plc, Lloyds TSB Scotland plc and Cheltenham & Gloucester plc 
are authorised and regulated by the Financial Services Authority.  

Lloyds TSB Group plc.  Registered Office: Henry Duncan House, 120 George 
Street, Edinburgh EH2 4LH.  Registered in Scotland, number 95000.  Telephone: 
0131 225 4555.
Lloyds TSB Group plc is a signatory to the Banking Codes.

Telephone calls may be monitored or recorded.

Reply via email to