Hi,
We're trying to load an xml file, located in another weblogic domain, through a HttpProxy servlet mapping in our "web.xml" file.But, have hit a road block due to the below exception.Please see the below stacktrace.
We've seen another post on the forum with reference to this.
The posts show that it happens due to a bug in the HttpyProxyServlet, which was to be fixed in the 6.5.2 release.
Can you please let us know if this was accomplished and if we just replace the existing class file, with the one from 6.5.2 version, the above exception should get resolved.
Thanks in Advance,
Chandrashekhar
We're trying to load an xml file, located in another weblogic domain, through a HttpProxy servlet mapping in our "web.xml" file.But, have hit a road block due to the below exception.Please see the below stacktrace.
Code:
=== 2009-02-25 20:13:43,232 [ng)'] INFO HttpProxyServlet - httpproxy - Method succeeded: : HTTP/1.1 200 OK === 2009-02-25 20:13:43,232 [ng)'] ERROR HttpProxyServlet - httpproxy - Top-level servlet error: java.lang.IllegalArgumentException: Header:Content-Length Cannot contain CRLF Charcters at weblogic.servlet.internal.ServletResponseImpl.checkForCRLFChars(ServletResponseImpl.java: 1507) at weblogic.servlet.internal.ServletResponseImpl.addHeader(ServletResponseImpl.java:534) at com.isomorphic.servlet.HttpProxyServlet.doPost(HttpProxyServlet.java:522) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:152) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper. java:226) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at com.db.portal.toolkit.plugin.websso.WebSSOSupportFilter.doFilter(WebSSOSupportFilter.java :203) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at com.db.portal.foundation.session.plugin.SSOPlugin.doFilter(SSOPlugin.java:54) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:413) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:99) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletC ontext.java:3368) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(Unknown Source) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2 117) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2023) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200) at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
Code:
http://forums.smartclient.com/showthread.php?t=2162
Code:
contentLengthHeader.toExternalForm()
Thanks in Advance,
Chandrashekhar
Comment