myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Khurram Ahmed <khurramah...@gmail.com>
Subject Re: Websphere 6.0 page navigation problem
Date Thu, 22 Dec 2005 15:33:37 GMT
actually it didnt, see it discusses all the things that ive already
tried...umm well i did catch a glimpse of discussion of classloaders in
websphere in one of the ibm red books while i was looking for a solution to
another problem but didnt get to read it, ill post any answers or
conclusions that i might be able to derive after i read it......

On 12/21/05, Louis Burroughs <lburroug@aholdusa.com> wrote:
>
>
> This link has a little more information on this problem and may shed some
> insight on why PARENT_LAST didn't work.
>
>
> http://forum.java.sun.com/thread.jspa?threadID=606959&messageID=3302261
>
>
> Louis M. Burroughs III
>
>
>
> *Khurram Ahmed <khurramahmed@gmail.com>*
>
> 12/21/2005 10:30 AM
> Please respond to "MyFaces Discussion"
>
>
>
>         To:        MyFaces Discussion <users@myfaces.apache.org>
>         cc:
>         bcc:
>         Subject:        Re: Websphere 6.0 page navigation problem
>
>
>
> ok for those  interested i found out that there were two jsf related jars
> (ws-jsf.jar and jsf-api.jar) in websphere's lib directory i removed both
> of them added the missing commons jars except for commons validator and
> commons epl along with obviously myfaces-all.jar, changed the reference to
> the faces servlet in my web.xml to
> org.apache.myfaces.webapp.MyFacesServlet  and that fixed the problem for
> the time being, however, i am intrigued about the reasons for parent last
> class loading not working...since theoretically that should work.
>
> On 12/21/05, *Khurram Ahmed* <*khurramahmed@gmail.com*<khurramahmed@gmail.com>>
> wrote:ive already tried the parent last solution and it didnt help and i
> completely removed the ibm jsf implementation jars too that didnt help
> either....
>
>
> On 12/20/05, Rogerio Saulo (P) <* rsaulo@prservicos.com.br*<rsaulo@prservicos.com.br>>
> wrote:
> >
> >
> > Just change the classloader order in the EAR and WAR modules properties
> for
> > PARENT_LAST.
> >
> > With myfaces.jar in the WEB-INF/lib of your application, WAS will load
> the
> > myfaces implementation before the IBM one.
> >
> > This works for me.
> >
> > Rogerio
> >
> >
> > -----Original Message-----
> > From: fabio fornelli [mailto:* fabio.fornelli@wavegroup.it*<fabio.fornelli@wavegroup.it>
> ]
> > Sent: Tuesday, December 20, 2005 9:05 AM
> > To: MyFaces Discussion
> > Subject: Re: Websphere 6.0 page navigation problem
> >
> > Hi, we've had the same problem! it seems that Web sphere  6.0 ships with
> > IBM's JSF distribution and probably it's in the server's boot classpath
> as
> > well. We didn't manage to sort out the problem in a decent way. If you
> just
> > want your web app to work you have to swap the jars in the server's lib
> > (hope you can do that). Substitute myfaces.jar to ibm-jsf-impl.jar(check
> > the name of this jar. I'm not sure about that) and start the server
> again.
> > Obviously it's not a viable solution in a production environment but at
> > least you can work around the problem in your test environment.
> >
> > Hope this helps
> >
> > cheers
> > Fabio
> >
> >
> > Khurram Ahmed wrote:
> >
> > > MyFaces version:   1.1.1
> > > Tomact version: 5.0.27
> > >
> > > I have an application that was developed on tomcat 5.0.27 that refuses
> > > to work properly on websphere 6.0 i am able to access the opening page
>
> > > after logging however any subsequent attempts at navigation through a
> > > link menu in the application generates the following
> errors..............
> > >
> > > *Error Message: *
> > > *Error Code: *500
> > > *Target Servlet: *action
> > > *Error Stack: *
> > > java.lang.NullPointerException
> > >      at
> > >
> > com.ibm.websphere.product.WASProduct.listFileNames(WASProduct.java:2251)
>
> > >      at
> > >
> > com.ibm.websphere.product.WASProduct.listFileNames(WASProduct.java:2244)
> > >      at
> > >
> > com.ibm.websphere.product.WASProduct.basicGetProductNames(WASProduct.j
> > > ava:1467)
> > >
> > >      at
> > >
> > com.ibm.websphere.product.WASProduct.getProductNames(WASProduct.java:1
> > > 460)
> > >
> > >      at
> > >
> >  com.ibm.websphere.product.WASProduct.basicGetProducts(WASProduct.java:
> > > 1429)
> > >
> > >      at
> > >
> > com.ibm.websphere.product.WASProduct.getProducts(WASProduct.java:1422)
> > >      at
> > >
> > com.ibm.websphere.product.WASProduct.getProductById(WASProduct.java:942)
> > >      at
> > >
> > com.ibm.websphere.product.WASProduct.productPresent(WASProduct.java:968)
> > >      at
> > >
> > _ibmjsp.secure.layouts._contentLayout._jspService(_contentLayout.java:
> > > 467)
> > >
> > >      at
> > com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:88)
> > >      at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
> > >      at
> > >
> > com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.
> > > java:1212)
> > >
> > >      at
> > >
> > com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWr
> > > apper.java:629)
> > >
> > >      at
> > >
> > com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest
> > > (GenericServletWrapper.java:117)
> > >
> > >      at
> > >
> > com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleReques
> > > t(JSPExtensionServletWrapper.java:171)
> > >
> > >      at
> > >
> > com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppR
> > > equestDispatcher.java:250)
> > >
> > >      at
> > >
> >  org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.j
> > > ava:1070)
> > >
> > >      at
> > >
> > org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestPr
> > > ocessor.java:273)
> > >
> > >      at
> > >
> > org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(T
> > > ilesRequestProcessor.java:253)
> > >
> > >      at
> > >
> > org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(Til
> > > esRequestProcessor.java:308)
> > >
> > >      at
> > >
> > org.apache.struts.action.RequestProcessor.process (RequestProcessor.jav
> > > a:279)
> > >
> > >      at
> > >
> > org.apache.struts.action.ActionServlet.process(ActionServlet.java:1486)
> > >      at
> > >
> > org.apache.struts.action.ActionServlet.doGet (ActionServlet.java:510)
> > >      at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
> > >      at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
> > >      at
> > >
> > com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.
> > > java:1212)
> > >
> > >      at
> > >
> > com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest (ServletWr
> > > apper.java:629)
> > >
> > >      at
> > >
> > com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2841)
> > >      at
> > >
> > com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest (WebGroup.java
> :220)
> > >      at
> > >
> > com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204)
> > >      at
> > >
> > com.ibm.ws.webcontainer.WebContainer.handleRequest (WebContainer.java:1
> > > 681)
> > >
> > >      at
> > >
> > com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java
> > > :77)
> > >
> > >      at
> > >
> > com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscriminat
> > > ion(HttpInboundLink.java:421)
> > >
> > >      at
> > >
> > com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformat
> > > ion(HttpInboundLink.java:367)
> > >
> > >      at
> > >
> > com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(Http
> > > ICLReadCallback.java:94)
> > >
> > >      at
> > >
> > com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueue
> > > Manager.java:548)
> > >
> > >      at
> > >
> > com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO (WorkQueueManage
> > > r.java(Compiled
> > > Code))
> > >      at
> > >
> > com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManage
> > > r.java:934)
> > >
> > >      at
> > >
> > com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManag
> > > er.java:1021)
> > >
> > >      at
> > com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled
> > > Code))
> > >
> > >
> > > any solutions or workarounds or hints about the reason for this error
> >
> >
> >
> >
> > "Essa  mensagem �  destinada  exclusivamente ao seu destinat�rio e pode
> > conter informa��es confidenciais, protegidas por sigilo profissional ou
> cuja
> >  divulga��o  seja  proibida por  lei. O uso n�o autorizado de tais
> >
> > informa��es  �   proibido  e  est�   sujeito  �s  penalidades cab�veis.
> >
> > This message is intended exclusively for its addressee and may  contain
> > information that  is  confidential  and  protected  by  a  professional
> > privilege or whose disclosure is prohibited by law. Unauthorized use of
> such
> >  information is  prohibited and subject to  applicable penalties."
> >
> >
> >
> > "Essa  mensagem �  destinada  exclusivamente ao seu destinat�rio e pode
> > conter informa��es confidenciais, protegidas por sigilo profissional ou
> > cuja  divulga��o  seja  proibida por  lei. O uso n�o autorizado de tais
> > informa��es  �   proibido  e  est�   sujeito  �s  penalidades cab�veis.
> >
> > This message is intended exclusively for its addressee and may  contain
> > information that  is  confidential  and  protected  by  a  professional
> > privilege or whose disclosure is prohibited by law. Unauthorized use of
> > such  information is  prohibited and subject to  applicable penalties."
>
>
>
Mime
View raw message