LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-03-2011, 05:27 AM   #1
dexznrl
Member
 
Registered: Jul 2009
Posts: 36

Rep: Reputation: 0
Reverse proxy with apache


Hello my fellow linuxers,

I'm having a problem with reverse proxy on apache.

In the proxy I have a config like this:

<VirtualHost xxx.xxx.xxx.xxx:80>
RewriteEngine on
ServerName test2.mydomain.se
PROXYRequests Off
ProxyPass / http://app.otherdomain.se/
ProxyPassReverse / http://app.otherdomain.se
SecRuleEngine On
SecAuditEngine On
</VirtualHost>

When I try to reach the "http://test2.mydomain.se/Web_Framework/startpage.login?user=testuser&pwd=testpassword"
I get an error on a script in firebug.

GET http://test2.mydomain.se/Web_Framewo...?tagname=bulls

500 Internal Server Error
62ms
startp...tpassword (row 68)
document.getElementById(id) is null
[Stop by error] document.getElementById(id).innerHTML = result;

It seems to me that there is a problem with some XML stuff or something but I'm not sure about that.

Anyone got an idea?

Best regards

Johan
 
Old 04-04-2011, 02:23 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
well you need to look at the server side logs of whatever is reporting this error. only posting client side error messages isn't going to shed much light really.
 
Old 04-08-2011, 05:04 AM   #3
dexznrl
Member
 
Registered: Jul 2009
Posts: 36

Original Poster
Rep: Reputation: 0
Catalina.out

This is the catalina.out

2011-04-08 09:57:35,730 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/Simple_Web_Framework].[jsp]] - Servlet.service() for servlet jsp threw exception
javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.processor.TransformerFactoryImpl not found
at javax.xml.transform.TransformerFactory.newInstance(xml-commons-apis-1.3.02.jar.so)
at se.domain.swf.tags.misc.GetXmlXslFile.doStartTag(GetXmlXslFile.java:46)
at org.apache.jsp.includes.taginclude_jsp._jspx_meth_misc_005fXmlwithxsl_005f0(taginclude_jsp.java:329)
at org.apache.jsp.includes.taginclude_jsp._jspService(taginclude_jsp.java:195)
at org.apache.jasper.runtime.HttpJspBase.service(jasper5-runtime-5.5.23.jar.so)
at javax.servlet.http.HttpServlet.service(tomcat5-servlet-2.4-api-5.5.23.jar.so)
at org.apache.jasper.servlet.JspServletWrapper.service(jasper5-compiler-5.5.23.jar.so)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(jasper5-compiler-5.5.23.jar.so)
at org.apache.jasper.servlet.JspServlet.service(jasper5-compiler-5.5.23.jar.so)
at javax.servlet.http.HttpServlet.service(tomcat5-servlet-2.4-api-5.5.23.jar.so)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(catalina-5.5.23.jar.so)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(catalina-5.5.23.jar.so)
at org.apache.catalina.core.StandardWrapperValve.invoke(catalina-5.5.23.jar.so)
at org.apache.catalina.core.StandardContextValve.invoke(catalina-5.5.23.jar.so)
at org.apache.catalina.core.StandardHostValve.invoke(catalina-5.5.23.jar.so)
at org.apache.catalina.valves.ErrorReportValve.invoke(catalina-5.5.23.jar.so)
at org.apache.catalina.core.StandardEngineValve.invoke(catalina-5.5.23.jar.so)
at org.apache.catalina.connector.CoyoteAdapter.service(catalina-5.5.23.jar.so)
at org.apache.coyote.http11.Http11Processor.process(tomcat-http-5.5.23.jar.so)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(tomcat-http-5.5.23.jar.so)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(tomcat-util-5.5.23.jar.so)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(tomcat-util-5.5.23.jar.so)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(tomcat-util-5.5.23.jar.so)
at java.lang.Thread.run(libgcj.so.7rh)

I've also tested another proxy server (apache trafficserver) but that didn't help either.
The proxy server doesn't record anything in the logs about the problem.
 
Old 04-08-2011, 06:03 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
ok well that doesn't look relevant at all. If you think it is then google the error message there.

Last edited by acid_kewpie; 04-08-2011 at 06:05 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache as Reverse Proxy LR_Brian Linux - Server 4 02-17-2009 11:33 AM
Apache reverse proxy noir911 Linux - Server 0 02-05-2008 08:21 PM
reverse proxy with apache 2 bootiack Linux - Software 1 08-09-2005 06:47 PM
apache reverse proxy wildbob Linux - Networking 8 10-15-2003 12:16 PM
apache Reverse Proxy !!!!! ashish_v Linux - Software 0 09-05-2003 04:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration