You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by themyriad <pr...@gmail.com> on 2008/12/08 11:36:39 UTC

Trinidad- 1.2.x on Websphere-6.0.1

Hi,
I am able to run JSF1.2 application with facelet support on websphere6.1,
using trinidad1.0.x and tomahawk1.1.8.
But if i am trying to upgrade Trinidad1.0.x to Trinidad1.2.x i am getting
following exception.

[12/8/08 15:46:42:812 IST] 0000004a SystemErr     R
javax.servlet.ServletException: Filter [trinidad]: filter is unavailable.
[12/8/08 15:46:42:906 IST] 0000004a SystemErr     R 	at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:233)
[12/8/08 15:46:42:906 IST] 0000004a SystemErr     R 	at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
[12/8/08 15:46:42:906 IST] 0000004a SystemErr     R 	at
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
[12/8/08 15:46:42:906 IST] 0000004a SystemErr     R 	at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
[12/8/08 15:46:42:906 IST] 0000004a SystemErr     R 	at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
[12/8/08 15:46:42:906 IST] 0000004a SystemErr     R 	at
com.test.myfilter.Filter.doFilter(Filter.java:80)
[12/8/08 15:46:42:906 IST] 0000004a SystemErr     R 	at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
[12/8/08 15:46:42:906 IST] 0000004a SystemErr     R 	at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
[12/8/08 15:46:42:906 IST] 0000004a SystemErr     R 	at
com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
[12/8/08 15:46:42:906 IST] 0000004a SystemErr     R 	at
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:696)
[12/8/08 15:46:42:906 IST] 0000004a SystemErr     R 	at
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:641)
[12/8/08 15:46:42:906 IST] 0000004a SystemErr     R 	at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:475)
[12/8/08 15:46:42:906 IST] 0000004a SystemErr     R 	at
com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)
[12/8/08 15:46:42:906 IST] 0000004a SystemErr     R 	at
com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3107)
[12/8/08 15:46:42:906 IST] 0000004a SystemErr     R 	at
com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:238)
[12/8/08 15:46:42:906 IST] 0000004a SystemErr     R 	at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
[12/8/08 15:46:42:906 IST] 0000004a SystemErr     R 	at
com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1425)
[12/8/08 15:46:42:906 IST] 0000004a SystemErr     R 	at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:92)
[12/8/08 15:46:42:906 IST] 0000004a SystemErr     R 	at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
[12/8/08 15:46:42:906 IST] 0000004a SystemErr     R 	at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)
[12/8/08 15:46:42:906 IST] 0000004a SystemErr     R 	at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:274)
[12/8/08 15:46:42:906 IST] 0000004a SystemErr     R 	at
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
[12/8/08 15:46:42:906 IST] 0000004a SystemErr     R 	at
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
[12/8/08 15:46:42:906 IST] 0000004a SystemErr     R 	at
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)
[12/8/08 15:46:42:906 IST] 0000004a SystemErr     R 	at
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)
[12/8/08 15:46:42:906 IST] 0000004a SystemErr     R 	at
com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)
[12/8/08 15:46:42:906 IST] 0000004a SystemErr     R 	at
com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
[12/8/08 15:46:42:906 IST] 0000004a SystemErr     R 	at
com.ibm.io.async.ResultHandler.complete(ResultHandler.java:193)
[12/8/08 15:46:42:906 IST] 0000004a SystemErr     R 	at
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:725)
[12/8/08 15:46:42:906 IST] 0000004a SystemErr     R 	at
com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:847)
[12/8/08 15:46:42:906 IST] 0000004a SystemErr     R 	at
com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498)

where trinidad is the filter name defined in web.xml as:- 

                  <filter>
		<filter-name>trinidad</filter-name>
		<filter-class>
			org.apache.myfaces.trinidad.webapp.TrinidadFilter
		</filter-class>
	        </filter>	

                 <filter-mapping>
		<filter-name>trinidad</filter-name>
		<servlet-name>faces</servlet-name>
	      </filter-mapping>

Thanks in advance


-- 
View this message in context: http://www.nabble.com/Trinidad--1.2.x-on-Websphere-6.0.1-tp20892957p20892957.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Re: Trinidad- 1.2.x on Websphere-6.0.1

Posted by Scott O'Bryan <da...@gmail.com>.
Matthias is right,  JSP2.1 is a prerequisite for JSF. My guess is that  
your varsion of websphere implements J2EE 1.4 instead of J2EE 5.  You  
also need to make sure you are running A 1.5 VM.

Sent from my iPhone

On Dec 9, 2008, at 1:50 AM, "Matthias Wessendorf" <ma...@apache.org>  
wrote:

> you need JSF 1.2 (and JSP 2.1 w/ unified EL):
>
> javax/faces/context/FacesContext.getELContext()Ljavax/el/ELContext;
>
> -M
>
> On Tue, Dec 9, 2008 at 9:34 AM, themyriad <pr...@gmail.com>  
> wrote:
>>
>> Hi,after removing the filter from the application, getting following
>> exception.
>>
>> 12/9/08 13:45:50:140 IST] 00000046 ServletWrappe E   SRVE0068E:  
>> Uncaught
>> exception thrown in one of the service methods of the servlet: faces.
>> Exception thrown : java.lang.NoSuchMethodError:
>> javax/faces/context/FacesContext.getELContext()Ljavax/el/ELContext;
>>       at
>> org. 
>> apache. 
>> myfaces. 
>> trinidadinternal. 
>> config.LazyValueExpression._getELContext(LazyValueExpression.java: 
>> 138)
>>       at
>> org. 
>> apache. 
>> myfaces. 
>> trinidadinternal. 
>> config. 
>> LazyValueExpression. 
>> _createValueExpressionFromApplication(LazyValueExpression.java:176)
>>       at
>> org. 
>> apache. 
>> myfaces. 
>> trinidadinternal. 
>> config. 
>> LazyValueExpression.createValueExpression(LazyValueExpression.java: 
>> 55)
>>       at
>> org.apache.myfaces.trinidadinternal.config.ConfigParser 
>> $Handler.endElement(ConfigParser.java:202)
>>       at  
>> org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown  
>> Source)
>>       at  
>> org. 
>> apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
>> Source)
>>       at
>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl 
>> $FragmentContentDispatcher.dispatch(Unknown
>> Source)
>>       at
>> org. 
>> apache. 
>> xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
>> Source)
>>       at org.apache.xerces.parsers.XML11Configuration.parse(Unknown  
>> Source)
>>       at org.apache.xerces.parsers.XML11Configuration.parse(Unknown  
>> Source)
>>       at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>>       at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown  
>> Source)
>>       at
>> org. 
>> apache. 
>> myfaces. 
>> trinidadinternal. 
>> config.ConfigParser.parseConfigFile(ConfigParser.java:80)
>>       at
>> org. 
>> apache. 
>> myfaces. 
>> trinidadinternal. 
>> context. 
>> RequestContextFactoryImpl._getBean(RequestContextFactoryImpl.java:71)
>>       at
>> org. 
>> apache. 
>> myfaces. 
>> trinidadinternal. 
>> context. 
>> RequestContextFactoryImpl. 
>> createContext(RequestContextFactoryImpl.java:56)
>>       at
>> org. 
>> apache. 
>> myfaces. 
>> trinidadinternal. 
>> config. 
>> GlobalConfiguratorImpl. 
>> _attachRequestContext(GlobalConfiguratorImpl.java:422)
>>       at
>> org. 
>> apache. 
>> myfaces. 
>> trinidadinternal. 
>> config. 
>> GlobalConfiguratorImpl.beginRequest(GlobalConfiguratorImpl.java:202)
>>       at
>> org. 
>> apache. 
>> myfaces. 
>> trinidadinternal. 
>> config. 
>> GlobalConfiguratorImpl. 
>> getExternalContext(GlobalConfiguratorImpl.java:304)
>>       at
>> org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl 
>> $CacheRenderKit.<init>(FacesContextFactoryImpl.java:86)
>>       at
>> org. 
>> apache. 
>> myfaces. 
>> trinidadinternal. 
>> context. 
>> FacesContextFactoryImpl. 
>> getFacesContext(FacesContextFactoryImpl.java:64)
>>       at
>> org. 
>> apache. 
>> myfaces. 
>> webapp. 
>> filter. 
>> TomahawkFacesContextFactory. 
>> getFacesContext(TomahawkFacesContextFactory.java:107)
>>       at javax.faces.webapp.FacesServlet.service(FacesServlet.java: 
>> 192)
>>       at
>> com. 
>> ibm. 
>> ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java: 
>> 966)
>>       at
>> com. 
>> ibm. 
>> ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java: 
>> 907)
>>       at
>> com. 
>> ibm. 
>> ws. 
>> webcontainer. 
>> filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
>>       at
>> org. 
>> apache. 
>> myfaces. 
>> webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:301)
>>       at
>> com. 
>> ibm. 
>> ws. 
>> webcontainer. 
>> filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
>>       at
>> com. 
>> ibm. 
>> ws. 
>> webcontainer. 
>> filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
>>       at
>> com. 
>> ibm. 
>> ws. 
>> webcontainer. 
>> filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
>>       at
>> com. 
>> ibm. 
>> ws. 
>> webcontainer. 
>> filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:696)
>>       at
>> com. 
>> ibm. 
>> ws. 
>> webcontainer. 
>> filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:641)
>>       at
>> com. 
>> ibm. 
>> ws. 
>> webcontainer. 
>> servlet.ServletWrapper.handleRequest(ServletWrapper.java:475)
>>       at
>> com. 
>> ibm. 
>> ws. 
>> wswebcontainer. 
>> servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)
>>       at  
>> com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3107)
>>       at  
>> com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java: 
>> 238)
>>       at
>> com. 
>> ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
>>       at
>> com. 
>> ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java: 
>> 1425)
>>       at
>> com. 
>> ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java: 
>> 92)
>>       at
>> com. 
>> ibm. 
>> ws. 
>> http. 
>> channel. 
>> inbound. 
>> impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
>>       at
>> com. 
>> ibm. 
>> ws. 
>> http. 
>> channel. 
>> inbound. 
>> impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)
>>       at
>> com. 
>> ibm. 
>> ws. 
>> http. 
>> channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:274)
>>       at
>> com. 
>> ibm. 
>> ws. 
>> tcp. 
>> channel. 
>> impl. 
>> NewConnectionInitialReadCallback. 
>> sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
>>       at
>> com. 
>> ibm. 
>> ws. 
>> tcp. 
>> channel. 
>> impl. 
>> NewConnectionInitialReadCallback. 
>> complete(NewConnectionInitialReadCallback.java:113)
>>       at
>> com. 
>> ibm. 
>> ws. 
>> tcp. 
>> channel. 
>> impl. 
>> AioReadCompletionListener. 
>> futureCompleted(AioReadCompletionListener.java:152)
>>       at
>> com. 
>> ibm. 
>> io. 
>> async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java: 
>> 213)
>>       at
>> com. 
>> ibm. 
>> io. 
>> async. 
>> AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java: 
>> 195)
>>       at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
>>       at com.ibm.io.async.ResultHandler.complete(ResultHandler.java: 
>> 193)
>>       at
>> com. 
>> ibm. 
>> io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:725)
>>       at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:847)
>>       at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498)
>>
>>
>>
>>
>>
>> Scott O'Bryan wrote:
>>>
>>> Try removing the filter and see if that fixes the issue.
>>>
>>> Sent from my iPhone
>>>
>>> On Dec 8, 2008, at 9:28 PM, themyriad <pr...@gmail.com> wrote:
>>>
>>>>
>>>> hi, Yes the filter is configured for Trinidad and also the same is
>>>> working
>>>> for trinidad-1.0.x, Only changing the Trinidad to
>>>> version1.2.x(compatible
>>>> for JSF1.2), i m getting the exception. Is there anything else we
>>>> need to
>>>> add to web.xml.
>>>>
>>>> Thanks.
>>>>
>>>>
>>>>
>>>> Hi,
>>>> I am able to run JSF1.2 application with facelet support on
>>>> websphere6.1,
>>>> using trinidad1.0.x and tomahawk1.1.8.
>>>> But if i am trying to upgrade Trinidad1.0.x to Trinidad1.2.x i am
>>>> getting
>>>> following exception.
>>>>
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/Trinidad--1.2.x-on-Websphere-6.0.1-tp20892957p20908612.html
>>>> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>>>>
>>>
>>>
>>
>> --
>> View this message in context: http://www.nabble.com/Trinidad--1.2.x-on-Websphere-6.0.1-tp20892957p20910628.html
>> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>>
>>
>
>
>
> -- 
> Matthias Wessendorf
>
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> twitter: http://twitter.com/mwessendorf

Re: Trinidad- 1.2.x on Websphere-6.0.1

Posted by Matthias Wessendorf <ma...@apache.org>.
you need JSF 1.2 (and JSP 2.1 w/ unified EL):

javax/faces/context/FacesContext.getELContext()Ljavax/el/ELContext;

-M

On Tue, Dec 9, 2008 at 9:34 AM, themyriad <pr...@gmail.com> wrote:
>
> Hi,after removing the filter from the application, getting following
> exception.
>
> 12/9/08 13:45:50:140 IST] 00000046 ServletWrappe E   SRVE0068E: Uncaught
> exception thrown in one of the service methods of the servlet: faces.
> Exception thrown : java.lang.NoSuchMethodError:
> javax/faces/context/FacesContext.getELContext()Ljavax/el/ELContext;
>        at
> org.apache.myfaces.trinidadinternal.config.LazyValueExpression._getELContext(LazyValueExpression.java:138)
>        at
> org.apache.myfaces.trinidadinternal.config.LazyValueExpression._createValueExpressionFromApplication(LazyValueExpression.java:176)
>        at
> org.apache.myfaces.trinidadinternal.config.LazyValueExpression.createValueExpression(LazyValueExpression.java:55)
>        at
> org.apache.myfaces.trinidadinternal.config.ConfigParser$Handler.endElement(ConfigParser.java:202)
>        at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
>        at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
> Source)
>        at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
> Source)
>        at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
> Source)
>        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>        at
> org.apache.myfaces.trinidadinternal.config.ConfigParser.parseConfigFile(ConfigParser.java:80)
>        at
> org.apache.myfaces.trinidadinternal.context.RequestContextFactoryImpl._getBean(RequestContextFactoryImpl.java:71)
>        at
> org.apache.myfaces.trinidadinternal.context.RequestContextFactoryImpl.createContext(RequestContextFactoryImpl.java:56)
>        at
> org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl._attachRequestContext(GlobalConfiguratorImpl.java:422)
>        at
> org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl.beginRequest(GlobalConfiguratorImpl.java:202)
>        at
> org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl.getExternalContext(GlobalConfiguratorImpl.java:304)
>        at
> org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$CacheRenderKit.<init>(FacesContextFactoryImpl.java:86)
>        at
> org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:64)
>        at
> org.apache.myfaces.webapp.filter.TomahawkFacesContextFactory.getFacesContext(TomahawkFacesContextFactory.java:107)
>        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:192)
>        at
> com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:966)
>        at
> com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:907)
>        at
> com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
>        at
> org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:301)
>        at
> com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
>        at
> com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
>        at
> com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
>        at
> com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:696)
>        at
> com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:641)
>        at
> com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:475)
>        at
> com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)
>        at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3107)
>        at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:238)
>        at
> com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
>        at
> com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1425)
>        at
> com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:92)
>        at
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
>        at
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)
>        at
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:274)
>        at
> com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
>        at
> com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
>        at
> com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)
>        at
> com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)
>        at
> com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)
>        at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
>        at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:193)
>        at
> com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:725)
>        at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:847)
>        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498)
>
>
>
>
>
> Scott O'Bryan wrote:
>>
>> Try removing the filter and see if that fixes the issue.
>>
>> Sent from my iPhone
>>
>> On Dec 8, 2008, at 9:28 PM, themyriad <pr...@gmail.com> wrote:
>>
>>>
>>> hi, Yes the filter is configured for Trinidad and also the same is
>>> working
>>> for trinidad-1.0.x, Only changing the Trinidad to
>>> version1.2.x(compatible
>>> for JSF1.2), i m getting the exception. Is there anything else we
>>> need to
>>> add to web.xml.
>>>
>>> Thanks.
>>>
>>>
>>>
>>> Hi,
>>> I am able to run JSF1.2 application with facelet support on
>>> websphere6.1,
>>> using trinidad1.0.x and tomahawk1.1.8.
>>> But if i am trying to upgrade Trinidad1.0.x to Trinidad1.2.x i am
>>> getting
>>> following exception.
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Trinidad--1.2.x-on-Websphere-6.0.1-tp20892957p20908612.html
>>> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Trinidad--1.2.x-on-Websphere-6.0.1-tp20892957p20910628.html
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf

Re: Trinidad- 1.2.x on Websphere-6.0.1

Posted by themyriad <pr...@gmail.com>.
Hi,after removing the filter from the application, getting following
exception.

12/9/08 13:45:50:140 IST] 00000046 ServletWrappe E   SRVE0068E: Uncaught
exception thrown in one of the service methods of the servlet: faces.
Exception thrown : java.lang.NoSuchMethodError:
javax/faces/context/FacesContext.getELContext()Ljavax/el/ELContext;
	at
org.apache.myfaces.trinidadinternal.config.LazyValueExpression._getELContext(LazyValueExpression.java:138)
	at
org.apache.myfaces.trinidadinternal.config.LazyValueExpression._createValueExpressionFromApplication(LazyValueExpression.java:176)
	at
org.apache.myfaces.trinidadinternal.config.LazyValueExpression.createValueExpression(LazyValueExpression.java:55)
	at
org.apache.myfaces.trinidadinternal.config.ConfigParser$Handler.endElement(ConfigParser.java:202)
	at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
	at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
	at
org.apache.myfaces.trinidadinternal.config.ConfigParser.parseConfigFile(ConfigParser.java:80)
	at
org.apache.myfaces.trinidadinternal.context.RequestContextFactoryImpl._getBean(RequestContextFactoryImpl.java:71)
	at
org.apache.myfaces.trinidadinternal.context.RequestContextFactoryImpl.createContext(RequestContextFactoryImpl.java:56)
	at
org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl._attachRequestContext(GlobalConfiguratorImpl.java:422)
	at
org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl.beginRequest(GlobalConfiguratorImpl.java:202)
	at
org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl.getExternalContext(GlobalConfiguratorImpl.java:304)
	at
org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$CacheRenderKit.<init>(FacesContextFactoryImpl.java:86)
	at
org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:64)
	at
org.apache.myfaces.webapp.filter.TomahawkFacesContextFactory.getFacesContext(TomahawkFacesContextFactory.java:107)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:192)
	at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:966)
	at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:907)
	at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
	at
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:301)
	at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
	at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
	at
com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
	at
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:696)
	at
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:641)
	at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:475)
	at
com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)
	at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3107)
	at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:238)
	at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
	at
com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1425)
	at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:92)
	at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
	at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)
	at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:274)
	at
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
	at
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
	at
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)
	at
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)
	at
com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)
	at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
	at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:193)
	at
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:725)
	at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:847)
	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498)





Scott O'Bryan wrote:
> 
> Try removing the filter and see if that fixes the issue.
> 
> Sent from my iPhone
> 
> On Dec 8, 2008, at 9:28 PM, themyriad <pr...@gmail.com> wrote:
> 
>>
>> hi, Yes the filter is configured for Trinidad and also the same is  
>> working
>> for trinidad-1.0.x, Only changing the Trinidad to  
>> version1.2.x(compatible
>> for JSF1.2), i m getting the exception. Is there anything else we  
>> need to
>> add to web.xml.
>>
>> Thanks.
>>
>>
>>
>> Hi,
>> I am able to run JSF1.2 application with facelet support on  
>> websphere6.1,
>> using trinidad1.0.x and tomahawk1.1.8.
>> But if i am trying to upgrade Trinidad1.0.x to Trinidad1.2.x i am  
>> getting
>> following exception.
>>
>> -- 
>> View this message in context:
>> http://www.nabble.com/Trinidad--1.2.x-on-Websphere-6.0.1-tp20892957p20908612.html
>> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/Trinidad--1.2.x-on-Websphere-6.0.1-tp20892957p20910628.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Re: Trinidad- 1.2.x on Websphere-6.0.1

Posted by Scott O'Bryan <da...@gmail.com>.
Try removing the filter and see if that fixes the issue.

Sent from my iPhone

On Dec 8, 2008, at 9:28 PM, themyriad <pr...@gmail.com> wrote:

>
> hi, Yes the filter is configured for Trinidad and also the same is  
> working
> for trinidad-1.0.x, Only changing the Trinidad to  
> version1.2.x(compatible
> for JSF1.2), i m getting the exception. Is there anything else we  
> need to
> add to web.xml.
>
> Thanks.
>
>
>
> Hi,
> I am able to run JSF1.2 application with facelet support on  
> websphere6.1,
> using trinidad1.0.x and tomahawk1.1.8.
> But if i am trying to upgrade Trinidad1.0.x to Trinidad1.2.x i am  
> getting
> following exception.
>
> -- 
> View this message in context: http://www.nabble.com/Trinidad--1.2.x-on-Websphere-6.0.1-tp20892957p20908612.html
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>

Re: Trinidad- 1.2.x on Websphere-6.0.1

Posted by themyriad <pr...@gmail.com>.
hi, Yes the filter is configured for Trinidad and also the same is working
for trinidad-1.0.x, Only changing the Trinidad to version1.2.x(compatible
for JSF1.2), i m getting the exception. Is there anything else we need to
add to web.xml.

Thanks.



Hi,
I am able to run JSF1.2 application with facelet support on websphere6.1,
using trinidad1.0.x and tomahawk1.1.8.
But if i am trying to upgrade Trinidad1.0.x to Trinidad1.2.x i am getting
following exception.

-- 
View this message in context: http://www.nabble.com/Trinidad--1.2.x-on-Websphere-6.0.1-tp20892957p20908612.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Re: Trinidad- 1.2.x on Websphere-6.0.1

Posted by Scott O'Bryan <da...@gmail.com>.
Hmm.  Looks like it's trying to use the filter.  Do you have the  
filter configured?

Sent from my iPhone

On Dec 8, 2008, at 3:36 AM, themyriad <pr...@gmail.com> wrote:

>
> Hi,
> I am able to run JSF1.2 application with facelet support on  
> websphere6.1,
> using trinidad1.0.x and tomahawk1.1.8.
> But if i am trying to upgrade Trinidad1.0.x to Trinidad1.2.x i am  
> getting
> following exception.
>
> [12/8/08 15:46:42:812 IST] 0000004a SystemErr     R
> javax.servlet.ServletException: Filter [trinidad]: filter is  
> unavailable.
> [12/8/08 15:46:42:906 IST] 0000004a SystemErr     R    at
> com. 
> ibm. 
> ws. 
> webcontainer. 
> filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:233)
> [12/8/08 15:46:42:906 IST] 0000004a SystemErr     R    at
> com. 
> ibm. 
> ws. 
> webcontainer. 
> filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
> [12/8/08 15:46:42:906 IST] 0000004a SystemErr     R    at
> org. 
> apache. 
> myfaces. 
> webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
> [12/8/08 15:46:42:906 IST] 0000004a SystemErr     R    at
> com. 
> ibm. 
> ws. 
> webcontainer. 
> filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
> [12/8/08 15:46:42:906 IST] 0000004a SystemErr     R    at
> com. 
> ibm. 
> ws. 
> webcontainer. 
> filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
> [12/8/08 15:46:42:906 IST] 0000004a SystemErr     R    at
> com.test.myfilter.Filter.doFilter(Filter.java:80)
> [12/8/08 15:46:42:906 IST] 0000004a SystemErr     R    at
> com. 
> ibm. 
> ws. 
> webcontainer. 
> filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
> [12/8/08 15:46:42:906 IST] 0000004a SystemErr     R    at
> com. 
> ibm. 
> ws. 
> webcontainer. 
> filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
> [12/8/08 15:46:42:906 IST] 0000004a SystemErr     R    at
> com. 
> ibm. 
> ws. 
> webcontainer. 
> filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
> [12/8/08 15:46:42:906 IST] 0000004a SystemErr     R    at
> com. 
> ibm. 
> ws. 
> webcontainer. 
> filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:696)
> [12/8/08 15:46:42:906 IST] 0000004a SystemErr     R    at
> com. 
> ibm. 
> ws. 
> webcontainer. 
> filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:641)
> [12/8/08 15:46:42:906 IST] 0000004a SystemErr     R    at
> com. 
> ibm. 
> ws. 
> webcontainer. 
> servlet.ServletWrapper.handleRequest(ServletWrapper.java:475)
> [12/8/08 15:46:42:906 IST] 0000004a SystemErr     R    at
> com. 
> ibm. 
> ws. 
> wswebcontainer. 
> servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)
> [12/8/08 15:46:42:906 IST] 0000004a SystemErr     R    at
> com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3107)
> [12/8/08 15:46:42:906 IST] 0000004a SystemErr     R    at
> com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java: 
> 238)
> [12/8/08 15:46:42:906 IST] 0000004a SystemErr     R    at
> com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java: 
> 811)
> [12/8/08 15:46:42:906 IST] 0000004a SystemErr     R    at
> com. 
> ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java: 
> 1425)
> [12/8/08 15:46:42:906 IST] 0000004a SystemErr     R    at
> com. 
> ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:92)
> [12/8/08 15:46:42:906 IST] 0000004a SystemErr     R    at
> com. 
> ibm. 
> ws. 
> http. 
> channel. 
> inbound. 
> impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
> [12/8/08 15:46:42:906 IST] 0000004a SystemErr     R    at
> com. 
> ibm. 
> ws. 
> http. 
> channel. 
> inbound. 
> impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)
> [12/8/08 15:46:42:906 IST] 0000004a SystemErr     R    at
> com. 
> ibm. 
> ws. 
> http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java: 
> 274)
> [12/8/08 15:46:42:906 IST] 0000004a SystemErr     R    at
> com. 
> ibm. 
> ws. 
> tcp. 
> channel. 
> impl. 
> NewConnectionInitialReadCallback. 
> sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
> [12/8/08 15:46:42:906 IST] 0000004a SystemErr     R    at
> com. 
> ibm. 
> ws. 
> tcp. 
> channel. 
> impl. 
> NewConnectionInitialReadCallback. 
> complete(NewConnectionInitialReadCallback.java:113)
> [12/8/08 15:46:42:906 IST] 0000004a SystemErr     R    at
> com. 
> ibm. 
> ws. 
> tcp. 
> channel. 
> impl. 
> AioReadCompletionListener. 
> futureCompleted(AioReadCompletionListener.java:152)
> [12/8/08 15:46:42:906 IST] 0000004a SystemErr     R    at
> com. 
> ibm. 
> io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java: 
> 213)
> [12/8/08 15:46:42:906 IST] 0000004a SystemErr     R    at
> com. 
> ibm. 
> io. 
> async. 
> AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java: 
> 195)
> [12/8/08 15:46:42:906 IST] 0000004a SystemErr     R    at
> com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
> [12/8/08 15:46:42:906 IST] 0000004a SystemErr     R    at
> com.ibm.io.async.ResultHandler.complete(ResultHandler.java:193)
> [12/8/08 15:46:42:906 IST] 0000004a SystemErr     R    at
> com. 
> ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java: 
> 725)
> [12/8/08 15:46:42:906 IST] 0000004a SystemErr     R    at
> com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:847)
> [12/8/08 15:46:42:906 IST] 0000004a SystemErr     R    at
> com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498)
>
> where trinidad is the filter name defined in web.xml as:-
>
>                  <filter>
>        <filter-name>trinidad</filter-name>
>        <filter-class>
>            org.apache.myfaces.trinidad.webapp.TrinidadFilter
>        </filter-class>
>            </filter>
>
>                 <filter-mapping>
>        <filter-name>trinidad</filter-name>
>        <servlet-name>faces</servlet-name>
>          </filter-mapping>
>
> Thanks in advance
>
>
> -- 
> View this message in context: http://www.nabble.com/Trinidad--1.2.x-on-Websphere-6.0.1-tp20892957p20892957.html
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>