voyent
How do I disable Asynchronous HTTP Server (AHS)?  XML
Forum Index -> Components
Author Message
pbk97030

Joined: 04/Oct/2007 00:00:00
Messages: 17
Offline


I am using Weblogic 9.2 and just upgraded to DR3, but I kept getting the following error.

For now, I don't need to use AHS, and it seems that default AHS causes this problem.

If you know any way to fix this, please help me.

Thanks all,
Park


Dec 26, 2007 9:56:49 AM com.icesoft.net.messaging.MessageServiceConfigurationProperties <init>
SEVERE: Parameter not defined: com.icesoft.net.messaging.properties
Dec 26, 2007 9:56:49 AM com.icesoft.net.messaging.jms.JMSAdapter initialize
INFO: JMS Environment:

Dec 26, 2007 9:56:49 AM com.icesoft.faces.async.server.AsyncHttpServerAdaptingServlet setUpMessageClientService
SEVERE:

Failed to subscribe to topic: icefaces.responseTopic
Exception message: javax.naming.NameNotFoundException: Unable to resolve 'ConnectionFactory'. Resolved ''; remaining name 'ConnectionFactory'
Exception cause: javax.naming.NameNotFoundException: Unable to resolve 'ConnectionFactory'. Resolved ''; remaining name 'ConnectionFactory'

The icefaces-ahs.jar is included in the deployment, but the JMS topics are not
configured correctly on the application server. If you intended to use the
Asynchronous HTTP Server (AHS), please refer to the ICEfaces Developer's Guide
for instructions on how to configure the JMS topics on the application server.
If you did not intend to use AHS, please remove the icefaces-ahs.jar from your
deployment and try again.

Dec 26, 2007 9:56:49 AM com.sun.faces.lifecycle.ELResolverInitPhaseListener populateFacesELResolverForJsp
INFO: JSF1027: [null] The ELResolvers for JSF were not registered with the JSP container.
Dec 26, 2007 9:56:49 AM com.sun.faces.lifecycle.LifecycleImpl phase
WARNING: executePhase(RENDER_RESPONSE 6,com.icesoft.faces.context.BridgeFacesContext@1b037fe) threw exception
javax.faces.FacesException: Can't parse stream for /testModel.jspx null
at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:496)
at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:154)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
at com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:18)
at com.icesoft.faces.webapp.http.core.PageServer$1.respond(PageServer.java:25)
at com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.respondWith(ServletRequestResponse.java:162)
at com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet$ThreadBlockingRequestResponse.respondWith(ThreadBlockingAdaptingServlet.java:36)
at com.icesoft.faces.webapp.http.core.PageServer.service(PageServer.java:30)
at com.icesoft.faces.webapp.http.core.MultiViewServer.service(MultiViewServer.java:56)
at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer$Matcher.serviceOnMatch(PathDispatcherServer.java:50)
at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:19)
at com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:19)
at com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:29)
at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:117)
at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:37)
at com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:52)
at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:29)
at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:76)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:223)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:503)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:245)
at weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:148)
at jsp_servlet.__datagrid._jspService(__datagrid.java:101)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:223)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:391)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:309)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3243)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2003)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1909)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
Caused by: java.lang.NullPointerException
at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:490)
... 46 more
<Dec 26, 2007 9:56:49 AM EST> <Error> <HTTP> <BEA-101020> <[weblogic.servlet.internal.WebAppServletContext@1900174 - appName: '_appsdir_WBR-prototype_dir', name: 'WBR-prototype', context-path: '/WBR-prototype'] Servlet failed with Exception
javax.faces.FacesException: Can't parse stream for /testModel.jspx null
at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:496)
at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:154)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
Truncated. see log file for complete stacktrace
java.lang.NullPointerException
at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:490)
at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:154)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
Truncated. see log file for complete stacktrace
 
ken.fyten

Joined: 26/Oct/2004 00:00:00
Messages: 1337
Offline


Hi,

If you don't want to use AHS, just remove it from your project lib / classpath, as per the message in the log:

" If you did not intend to use AHS, please remove the icefaces-ahs.jar from your deployment and try again."


Regards,
Ken

Ken Fyten
VP Product Development
ICEsoft Technologies, Inc.
pbk97030

Joined: 04/Oct/2007 00:00:00
Messages: 17
Offline


Dear Ken,

I did remove it and tested the application, but didn't work.

So, I wonder if the upgrade to DR3 requires any changes to web.xml or faces-config.xml?

For your information, I will attach part of my web.xml and faces-config.xml.

Under DR2, it was running W/O any problems.


<web-app>
<context-param>
<param-name>com.icesoft.faces.debugDOMUpdate</param-name>
<param-value>false</param-value>
</context-param>

<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>server</param-value>
<description>
State saving method: "client" or "server" (= default)
See JSF Specification 2.5.2
</description>
</context-param>

<context-param>
<param-name>com.icesoft.faces.concurrentDOMViews</param-name>
<param-value>true</param-value>
</context-param>

<!--
Asynchronous mode is the default for ICEfaces,
but in cases where asynchronous updates are not required,
ICEfaces can be configured to support synchronous mode only.
Running in synchronous mode reduces the connection resource requirements for an application deployment.

However, in order to use Ajax push such as server initiated renderer, Asynchronous mode is
required.
-->
<context-param>
<param-name>com.icesoft.faces.synchronousUpdate</param-name>
<param-value>false</param-value>
</context-param>

<context-param>
<param-name>javax.faces.DEFAULT_SUFFIX</param-name>
<param-value>.jspx</param-value>
</context-param>

...remainder omitted...

 



<faces-config>
<application>
<view-handler>
com.icesoft.faces.application.D2DViewHandler
</view-handler>

<locale-config>
<default-locale>en</default-locale>
</locale-config>
</application>

<navigation-rule>
<navigation-case>
<from-outcome>LoggedIn</from-outcome>
<to-view-id>/layout.iface</to-view-id>
<redirect></redirect>
</navigation-case>
<navigation-case>
<from-outcome>LoggedOut</from-outcome>
<to-view-id>/login.iface</to-view-id>
<redirect></redirect>
</navigation-case>
</navigation-rule>

...remainder omitted...
 




 
Forum Index -> Components
Go to:   
Powered by JForum 2.1.7ice © JForum Team