This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Servlets and the fly likes Redirection failed from apache web server to WASapplication server.-Solution for probelm Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Redirection failed from apache web server to WASapplication server.-Solution for probelm" Watch "Redirection failed from apache web server to WASapplication server.-Solution for probelm" New topic
Author

Redirection failed from apache web server to WASapplication server.-Solution for probelm

Seema Nidoni
Greenhorn

Joined: Dec 08, 2010
Posts: 5
Hi All,

web server: Apache web server
application server:WebSphere7.0

Made build(.jar) from build.cmd from RAD tool and deployed on web server.
But when URL is hit, the request is not redirected to application server,
only welcome page of .html is seen. If you cliick on any option on the page, page cannot be dispalyed:HTTP 404 error is coming.

No logs on Application server as hit is not redirected to app server.


Finding these below logs on web server.

GET / HTTP/1.1" 302 38 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; F-6.0SP2-20041109; InfoPath.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 1.1.4322)"

GET / HTTP/1.1" 200 10252 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; F-6.0SP2-20041109; InfoPath.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 1.1.4322)"

Both the servers are remotely accessed & what configuration files/anything should be changed for this to work?

Please help in this issue,

Thanks
Seema
Seema Nidoni
Greenhorn

Joined: Dec 08, 2010
Posts: 5
HI,

2011-03-18 11:48:23,973 [TP_http1 : 2] ERROR LogContextWriterLog4j - <<no session info>>:UNKNOWN SERVLET EXCEPTION
2011-03-18 11:48:23,975 [TP_http1 : 2] FATAL LogContextWriterLog4j - exception:java.lang.NullPointerException
at java.util.StringTokenizer.<init>(StringTokenizer.java:197)
at java.util.StringTokenizer.<init>(StringTokenizer.java:219)
at com.ford.pim.vsp.efdvsii.preference.servlet.EFDVSParentJadeGatewayServlet.eFDVSEntryPoint(EFDVSParentJadeGatewayServlet.java:375)
at com.ford.pim.vsp.efdvsii.preference.servlet.EFDVSParentJadeGatewayServlet.processEFDVSRequest(EFDVSParentJadeGatewayServlet.java:676)
at com.ford.pim.vsp.efdvsii.preference.servlet.EFDVSParentJadeGatewayServlet.processWithoutSession(EFDVSParentJadeGatewayServlet.java:890)
at com.ibm.ead4j.jade.servlet.JadeGatewayServlet.service(JadeGatewayServlet.java:356)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:501)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3276)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:113)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:263)
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:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture$1.run(AsyncChannelFuture.java:205)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)

Now receiving these logs on application server.
What can be the reason?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Redirection failed from apache web server to WASapplication server.-Solution for probelm
 
Similar Threads
Server log question. 404 error.
Base64 encoded file as POST request not working correctly.
Cookies not getting stored in IE6 and IE7 when running in environment resembling production
trouble with url connection
java maskeraiding as firefox - how?