Thanks for the responses everyone! I reverted back to trying to get the Sun JSF numberguess demo to work on WebSphere (as my app has some Custom components and I didn't want to complicate the issue further!).
So with a couple of slight modifications to the numberguess demo (ie removing a seemingly random 'lang' tag from one of the labels) and also removing all the JSF related jars from the WEB-INF/lib directory I was able to get this to run on WebSphere. Moving onto custom JSF components... Now I can't get my app with custom components to work on WebSphere (it works fine on JBoss). The problem seems to be with my custom component tag java class (which extends UIComponentTag). First of all the JSP would not compile, resulting in a 500 error. It was complaining that there was no setId setter in my custom tag class. Strange, seeing as my class extends UIComponent which has got a setId setter. So anyway, I decided to see what would happen if I added a setter to my custom component tag class. Now I get the following error: JSPG0049E: /test.jsp failed to compile : JSPG0091E: An error occurred at line: 24 in the file: /test.jsp JSPG0093E: Generated servlet error from file: /test.jsp C:\Program Files\IBM\WebSphere6.1\AppServer\profiles\AppSrv01\temp\00504Node01\server1\CustomFieldComponentEAR\CustomFieldComponent.war\_test.java : 149 : The method setPageContext(PageContext) is undefined for the type FieldComponentTag JSPG0091E: An error occurred at line: 24 in the file: /test.jsp JSPG0093E: Generated servlet error from file: /test.jsp C:\Program Files\IBM\WebSphere6.1\AppServer\profiles\AppSrv01\temp\00504Node01\server1\CustomFieldComponentEAR\CustomFieldComponent.war\_test.java : 150 : The method setParent(Tag) is undefined for the type FieldComponentTag JSPG0091E: An error occurred at line: 24 in the file: /test.jsp JSPG0093E: Generated servlet error from file: /test.jsp C:\Program Files\IBM\WebSphere6.1\AppServer\profiles\AppSrv01\temp\00504Node01\server1\CustomFieldComponentEAR\CustomFieldComponent.war\_test.java : 153 : The method doStartTag() is undefined for the type FieldComponentTag JSPG0091E: An error occurred at line: 24 in the file: /test.jsp JSPG0093E: Generated servlet error from file: /test.jsp ...etc ie for some reason it doesn't seem to realise that all these methods should be available from the UIComponentTag super class. Any ideas? thanks Nick Shinpei Ohtani wrote: > > Hi, > >> the sun RI is included in the WS6.1! >> IBM takes a lot of jars (jsf, many apache-common and other) and >> repacked them into a single jar file, i don't remember the exact name, >> something like webapp.jar ?. > > No. > It is com.ibm.ws.webcontainer_2.0.0.jar. > > That jar includes Sun JSF RI, web container and so on. > This causes lots of problem I think.... > > > 2006/9/6, Volker Weber <[EMAIL PROTECTED]>: >> Hi, >> >> the sun RI is included in the WS6.1! >> IBM takes a lot of jars (jsf, many apache-common and other) and >> repacked them into a single jar file, i don't remember the exact name, >> something like webapp.jar ?. >> >> Try to remove the api and impl jars from your webapp. Your (tobago) >> app works without problems after doing that. >> >> regards, >> >> Volker >> >> 2006/9/5, Nick77 <[EMAIL PROTECTED]>: >> > >> > Hi, >> > >> > I also have this problem - have followed instructions to set up all the >> > required jars from here >> > http://wiki.apache.org/myfaces/Websphere_Installation >> > http://wiki.apache.org/myfaces/Websphere_Installation although as far >> as I >> > can tell (ie by searching in the WS6.1 directory, there are no IBM JSF >> jars >> > bundled with 6.1). >> > >> > I can successfully deploy the application, and no error messages are >> output >> > to the log files, but the JSF components are simply not rendered. >> > >> > One thing that may be significant is that I do get the warning >> 'Unsupported >> > component-family/renderer-type: >> > <family-name>.<component-name>/javax.faces.Text' but I also get this >> when >> > using JBoss and the app runs fine. >> > >> > Did you manage to solve this? And if so how? >> > >> > Thanks >> > >> > Nick >> > >> > >> > pds wrote: >> > > >> > > Hi, >> > > >> > > I am using myfaces1.1.3 in websphere6.1 .When deploying no exception >> is >> > > occuring after I made the class-loader value as PARENTLAST.But the >> problem >> > > is non of the jsf elements are rendering html content.Thats why my >> screen >> > > is remaining blank.But my log statements are showing that its going >> > > through all the phases of lifecycle.In websphere 6.0 this problem was >> not >> > > occuring. >> > > >> > > Can anybody tell me what can be the problem ? >> > > >> > >> > -- >> > View this message in context: >> http://www.nabble.com/Problem-with-websphere-6.1-and-myfaces1.1.3-tf2163963.html#a6154547 >> > Sent from the MyFaces - Users forum at Nabble.com. >> > >> > >> > > > -- > ============================= > Shinpei Ohtani > [EMAIL PROTECTED] > ============================= > > -- View this message in context: http://www.nabble.com/Problem-with-websphere-6.1-and-myfaces1.1.3-tf2163963.html#a6168461 Sent from the MyFaces - Users forum at Nabble.com.

