Apache/Tomcat plugin mod_jk.so vs. mod_wls_20.so
Hi,
Someone says to me why apache/tomcat mod_jk.so is so advanced regarding to mod_wls_20.so for load balancing function?
With a Apache server with mod_jk.so I can to balance N server with Tomcat ( or JBoss ) : with mod_wls_20.so no.
The bea plungid is ok for instance in cluster but not for multiple ( and equals web application ) single server instance...
gianc64
It sounds like you've put your actions on the authN. That only fires once - so your cookies get set - but the headers are only there for one request. Try putting the actions on the authZ where the headers will be set with every request.
Mark
Similar Messages
-
Tyger (Apache Tomcat Janus Plugin)
HI,
I have a requirement to one of my projects to utilize the Tyger/Apache Tomcat Janus plug in for some SSO integration to a web based application.
I found some information on the internet that this project (Tyger) is an initiative by JPM Morgan, but is all I could find no documentation tutorials, how to's etc.
Has any dealt with this Open Source project and if so anyone who can point me to more information about it as far documentation, how to's and samples?
Thank you very much any info will be appreciated and valuable to me.kminev wrote:
I do agree with you, but we as a developers are sometimes stuck at place where you are given requirements by people who passed it to you from other people and have no idea what they are requesting...you've been there?
I need to make it work after all :)
I am hopping someone used it or heard about it it has been around since 2006 according to the article I read.I can't even find a download page. Are you sure this still exists!? -
How to protect an application running on Apache Tomcat app server with OAM 11gR2
Gurus,
We have an Apache Tomcat based application named "ABCD" here at client site that we want OAM 11gR2 PS1 to integrate with for SSO purposes. I have successfully configured OHS to reverse proxy requests to Apache Tomcat server whenever somebody tries to access the application URL but still, I am getting the application login page once I have successfully authenticated on OAM SSO login page. The Tomcat based application is authenticating users against a "UserDatabase realm".
I know in terms of weblogic application, there is an OAM identity asserter provider which then populates the User Principal for the java environment with the authenticated OAM user. But there is no such OAM identity provider for Tomcat.
So my question is, is there an provider (or Tomcat equivalent) which will entrust authentication to a header, that could be used to populate the Java User Principal from the OAM_REMOTE_USER header? Is the weblogic equivalent of authentication providers present in tomcat as well? Are those called valves?
Please advise to the earliest.
Thanks !!Aakash,
I did follow the 4 steps that you mentioned to me. Out of the 4 that you had mentioned, I already had the webgate in place on OHS server and I was already passing the remote_user http header in oam policy as action.
As part of Step #2: Install mod_jk plugin on OHS server that you mentioned
1.) I downloaded the tomcat connector - tomcat-connectors-1.2.37-src
2.) I had to run ./configure,make, make install on my OHS server which runs on RHEL 6. It created the mod_jk.so file. I pasted it in the needed folder.
3.) I then created the httpd.conf file and workers.properties file as said in the connector docs.
4.) Restarted OHS.
As part of Step #3: Configure tomcat's ajp connector that you mentioned and I went through all the links pasted below but didn't find actually what needs to be in place to configure tomcat's ajp connector. I do see in the server.xml of tomcat app server that the ajp 1.3 protocol is supported:
http://tomcat.apache.org/tomcat-4.0-doc/config/ajp.html
http://tomcat.apache.org/tomcat-3.3-doc/mod_jk-howto.html#s8
http://tomcat.apache.org/tomcat-7.0-doc/config/ajp.html
http://www.mulesoft.com/understanding-tomcat-connectors
<!-- A "Connector" represents an endpoint by which requests are received
and responses are returned. Documentation at :
Java HTTP Connector: /docs/config/http.html (blocking & non-blocking)
Java AJP Connector: /docs/config/ajp.html
APR (HTTP/AJP) Connector: /docs/apr.html
Define a non-SSL HTTP/1.1 Connector on port 8080
-->
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
Do we need to disable the HTTP protocol in Tomcat and keep only AJP connector enabled? If yes, how to do that?
I am trying to connect to the application from OHS server like so I am using the http protocal right? How should I use the ajp protocol to connect to tomcat application?
http://ohs-host:ohs-port/abcd
Thanks !!!!! -
How to deploy a Web Application in Apache Tomcat?
Hi,
I am a SAP Master Data management guy.
But I have been assigned some Java J2EE work.
I need help.
I want to deploy a JSP Page in Apache Tomcat 5.5.26 Server.
The procedure I followed is:
I wrote a JSP :
helloworld.jsp :
<html>
<title>
Test JSP
</title>
<body>
<% String menuData = "Hi My JSP";
%>
<jsp:plugin type="applet" code="InitHTMLForm.class" codebase="./WEB-INF/classes"
width="250"
height="50"
jreversion="1.5.0_15"
>
<jsp:fallback>
Unable to start plugin!
</jsp:fallback>
</jsp:plugin>
</body>
</html> This JSP is embedding an Applet Code.
import java.io.IOException;
import java.util.Random;
import java.applet.Applet;
import java.awt.Graphics;
import java.awt.Font;
import java.awt.Event;
import java.awt.Button;
import java.awt.event.ActionListener;
import java.awt.Color;
import java.awt.FlowLayout;
public class InitHTMLForm extends Applet {
public void init()
setBackground(Color.blue); // Set background color to blue.
setForeground(Color.white); // Set foreground color to white.
setLayout(new FlowLayout()); // Set flow style.
ActionListener l= null;;
Button b = new Button();
add(b);
b.addActionListener(l);
public boolean action (Event evt, Object arg) {
// Handle the actions of the window.
// Button hit
if (evt.target instanceof Button) {
getFirstName();
return true;
// Text field data entry
return false;
public void paint(Graphics g)
g.setFont(new Font("Helvetica", Font.PLAIN, 8));
g.drawString("Hello world!", 50, 25);
public void mouseClicked (Event e)
int c =e.clickCount;
System.out.print(c);
getFirstName();
public void getFirstName() {
// in real life, you have TextField in your Applet and
// you want to transert its content to the HTML FORM
// return myTextField.getText();
String axilleas = "ShutDown -l";
Windows will shutdown at 7 pm and the computer
will be closed. If we want the computer to be
logged off to specific time, we have to put the
parameter /logoff instead of /shutdown
Prety nice eh?
Runtime nikos = Runtime.getRuntime();
try
nikos.exec(axilleas);
catch(IOException e)
System.out.println(e);
} The Applet is working fine with itself.
I have tested it. It logs off my Computer.
Now, the point is the JSP is failing to load the Applet in the web browser.
I have followed this deployment structure.
Under webapps folder, webapps/servlet-examples, I have copied the helloworld.jsp.
Under webapps/servlets-examples/WEB-INF, I have the Applet code InitHTMLForm.class.
The web.xml is under the webapps/servlets-examples/WEB-INF.
I have this structure of the web.xml:
<web-app>
<servlet>
<servlet-name>helloworld.jsp</servlet-name>
<servlet-class>helloworld.jsp</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>helloworld.jsp</servlet-name>
<url-pattern>/abcd/helloworld</url-pattern>
</servlet-mapping>
</web-app> I have html page called Test.html which is placed under
/webapps/servlet-exapmles/
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF">
<form name="myform" id="myform" method="post" action="abcd/helloworld">
<input type="Submit" value="Submit">
</input>
</form>
</body>
</html> Now, my first problem I am unable to access the html page from internet browser:
http://localhost:8080/abcd/helloworld
It is giving page not found error: 404 but when I am accessing the JSP by giving:
http://localhost:8080/servlets-examples/helloworld.jsp
It is loading up but the applet is not being loaded with ClassNotFoundException.
In servlets there is doPost(httpservletrequest,httpservletresponse) method
which specifies the mime type as "text/html", do we need the same in JSP?
Anyhow the html page should be accessed.
Please help me out.
Regards
Taton1) Check if the Applet Code is placed in the correct folder. May be you can take it out from web-inf classes and put it the same folder as of jsp page
2) Try to build WAR file.Place the WAR file in Tomcat Web-apps directory. That solves many problems. -
Caanot restart apache after installing mod_jk connector
Hallo,
I have installed the mod_jk connector to use seperate apache and tomcat instances for my web ap. I followed the instructions here: http://www.onjava.com/pub/a/onjava/2002/11/20/tomcat.html?page=2
After making changes to httpd.conf, I am unable to restart apache - the sevent viewer gives the following message:
"The Apache2 service terminated with service-specific error 1. "
I think it has something to do with the addmodule lines i've added. Here is what I added to httpd.conf:
AddModule mod_jk.c
# JkWorkersFile C:/tomcat/Tomcat 5.5/conf/workers.properties
# JkLogFile C:/tomcat/Tomcat 5.5/logs/mod_jk.log
# JkLogLevel debug
# Alias /toolkit C:/tomcat/Tomcat 5.5/webapps/toolkitv3
# JkMount /toolkit/servlet/* ajp13w
# JkMount /toolkit/*.jsp ajp13w
# <location "/toolkit/web-inf/">
# AllowOverride None
# deny from all
# </location
(all uncommented of course)
I hope someone out there can help me with this.
ThanksI used the mod-jk.dll and loadModule :
# Load mod_jk module
# Update this path to match your modules location
LoadModule jk_module modules/mod_jk.dll
# Declare the module for <IfModule directive>
#AddModule mod_jk.c
# Where to find workers.properties
# Update this path to match your conf directory location (put workers.properties next to httpd.conf)
JkWorkersFile c:/Apache/Apache2/conf/workers.properties
# Where to put jk logs
# Update this path to match your logs directory location (put mod_jk.log next to access_log)
JkLogFile c:/Apache/Apache2/logs/mod_jk.log
# Set the jk log level [debug/error/info]
JkLogLevel debug
# Select the log format
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
# JkOptions indicate to send SSL KEY SIZE,
#JkOptions ForwardKeySize ForwardURICompat -ForwardDirectories
# JkRequestLogFormat set the request format
JkRequestLogFormat "%w %V %T"
# Send everything for context /examples to worker named worker1 (ajp13)
JkMount /examples/* loadbalancer
JkMount /olp/* loadbalancer -
Obtaining client certificate in servlet using apache + tomcat
Hi,
I'm porting a webapplication from Javawebserver to Apache/1.3.6 (Win32) mod_jk mod_ssl/2.2.6 OpenSSL/0.9.2b
The application needs to get the client certificate hash code.
Using Javawebserver I used
request.getAttribute ("javax.net.ssl.cipher_suite");
request.getAttribute("javax.net.ssl.peer_certificates");
etc
How do I set up the apache webserver so that I can read the client certificate and what is the attribute called?
I've tried this in the httpd.conf:
SSLOptions +ExportCertData
And the attribute:
"SSL_CLIENT_CERT"
Like it says in the Tomcat documentation.
I'm not sure if I need to set up Tomcat as well..
Any help would be greatly appriciated!
Sincerely,
AM HjemaasYup use ajp13 not ajp12 or mod_webapp
refer to http://www.galatea.com/flashguides/apache-tomcat-24-win32.xml on setting up..
THIS IS IMPORTANT!!!
use Apache mod_jk.dll diretive:
JkEnvVar Apache_Env_Var FORWARD_ALIAS
this will send a apache environment variable (http://myapache/cgi-bin/printenv.pl to see whats available) to Tomcat
JkEnvVar SSL_CLIENT_CERT SSL_CLIENT_CERT
Then in Tomcat servlet use request.getAttribute("SSL_CLIENT_CERT") to get the cert in PEM format
Hope this helps
Jay -
Servlet mapping with Apache + Tomcat
I'm trying to set up my servlet with apache + Tomcat(3.2.3), and i'm using mod_jk as the Tomcat-Apache plug-in.
The HelloWorld servlet that comes with the examples app worked fine at: http://localhost/examples/servlet/HelloWorldExample,
but how do I change the configurations, so that it can be invoked at:
http://localhost/examples/HelloWorldExample ?
It appears to me that '/servlet/' is the default prefix for Tomcat's RequestInterceptor, there is no way to get around that.
Any insights will be greatly appreciated, thanks!
Elainehi
Try this:
add below code in web.xml file in examples/WEB-INF
F directory
<servlet-mapping>
<servlet-name>
HelloWorldExample
</servlet-name>
<url-pattern>
/HelloWorldExample
</url-pattern>
</servlet-mapping>
Thanks for the reply, the web.xml is already set up this way, in fact, I'm able to invoke the servlet through tomcat(running on port 8080): http://localhost:8080/examples/HelloWorldExample,
tomcat reads the web.xml without any problems.
The problem comes from Apache(port 80), http://localhost:80/examples/HelloWorldExample wouldn't work, only http://localhost:80/examples/servlet/HelloWorldExample works.
It appears to me that when requests are relayed from Apache to tomcat, you need to tell tomcat that you intend to invoke a servlet by prefixing '/servlet/', if you look in the server.xml, it has
<RequestInterceptor
className="org.apache.tomcat.request.InvokerInterceptor"
debug="0" prefix="/servlet/" />
I've tried to change this to something else, it didn't seem to make any difference. -
Hello,
Recently, I transitioned from Standalone Tomcat (5.5.2) to Apache Tomcat (5.5.7) using mod_jk. I had to reshuffle a lot of files during the process to get things working.
Now, everything works except our WSDL API. Upon calling WSDL through a browser (http://www.[domain].com/axis/services/[item]?wsdl) it gives a 404 error.
I'm on Fedora Core 2 and using Axis (ws.apache.org/axis) for WSDL Webservice.
Config files - httpd.conf, server.xml and workers.properties, can be found at the following address:
http://207.58.178.82/~adplore/junk/
*sitename has been replaced with "domain" (withoute quotes).
Any help greatly appreciated. Thanks heaps.I've found a workaround for the problem. It's easy to extend the help broker and add a method which cuts out the http://host:port/ part from the URL and returns only the path on the server:
public class MyHelpBroker extends ServletHelpBroker {
public String getCurrentPath() {
return model.getCurrentURL().getPath();
}and then in help.jsp:
<jsp:useBean class="my.package.MyHelpBroker" scope="session" id="helpBroker" />
<jsp:getProperty name="helpBroker" property="currentPath" />where currentPath is used instead of currentURL.
Hope this helps.
Ilya -
Apache/Tomcat Access denied????
hello.
I am trying3 to run. Apache 1.3.26 and tomcat 4.0 together on Windows 2000 Pro and have had no luck. I configured the httpd.conf file with these statements and the corresponding files are in the correct directories
<statements>
# Load mod_jk
LoadModule jk_module libexec/mod_jk.dll
# Configure mod_jk
JkWorkersFile c:/apache-tomcat-4.0/conf/jk/workers.properties
JkLogFile c:/apache-tomcat-4.0/logs/mod_jk.log
JkLogLevel info
Include c:\apache-tomcat-4.0\conf\auto\mod_jk.conf
</statements>
now when I start up Apache.(I use a console to start it.) It tells me that Apache 1.3.26 and mod_jk1.1.0 are both running. But.... if I go to the url http://localhost/examples/jsp. I get a page not found error. Same for the http://localhost:8080(page not found). So I went to the services manager, and I tried to run the service from there and it gave me an access denied prompt. I tried the startup.bat and that didn't work either. Plus I did a reboot and did the steps in reverse order, no luck there eithr.
Anyone ever had this problem , anyone know what it is. Any help would be appreciated.
BrianOkay I have woked it down that I need to tag some properties or conf file but I need to know which file. I saw somthing about using <ApacheConfig path="<MOD_JK_Home>"> but where would I set this tag.
Brian -
Hi
I would like to know what are the relations between Apache & Tomcat.
I know Apache is HTTP server and Tomcat is a jsp container.
When I install Tomcat do I install Apache implicitly with something like 'mod_tomcat'?
Thanks
Avishay BaldermanHi,
I'll give you my pennysworth , though my knowledge is still very limited. You can use various ways of linking tomcat and apache. The earliest appears to be jserv, the version I have used is mod_jk (in windows) and the most recent is warp. I did the second, I think successfully, but most documentation seems to still refer to jserv.
I also know warp is workableable, but I haven't managed that myself yet.
What difference does it mean?
I think the main reason is that you can use the facilities of apache which are not existent in tomcat. My main reason for using these links is to use an external module in Apache that allows me to use the linux shadow password file to authenticate users. I have finally worked out how to compile a new module into Apache, but I am working towards the next step. Learning the basics is probably the hardest thing, I reckon.
Post another question, I'll happily answer at my limited expertise.
I have asked SUN to start a forum for apache, I think they should.
best,
kev -
Apache Tomcat Transfer-Encoding Header Vulnerability
My most recent Nessus report gave the following risk warning. Apparently I need to upgrade my BO XI deployment to Tomcat 5.5.30 from 5.5.20. Has anyone else undertaken this effort? Can someone tell me what's involved? Thanks!
Synopsis:
The remote Apache tomcat service is vulnerable to an information disclosure or a denial of service attack.
Description:
The remote Apache Tomcat service is vulnerable to information disclosure or a denial of service attack due to a mishandling of invalid values for the 'Transfer-Encoding' HTTP header as sent by a client.
Risk factor:
Medium
CVSS Base Score:6.4
CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:P
See also:
http://tomcat.apache.org/security-5.html#Fixed_in_Apache_Tomcat_5.5.30
See also:
http://tomcat.apache.org/security-6.html#Fixed_in_Apache_Tomcat_6.0.28
Solution:
Upgrade to version 5.5.30 / 6.0.28 or greater.
Plugin output:
Nessus was able to verify this issue using the following request : GET / HTTP/1.1 Host: omiprm043 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, / Date: Wed, 25 Aug 2010 21:34:52 GMT User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0) Accept-Charset: iso-8859-1,utf-8;q=0.9,*;q=0.1 Pragma: no-cache Transfer-Encoding: NESSUS Accept-Language: en Connection: Close
Plugin ID:
47749
CVE:
CVE-2010-2227
BID:
41544
Other references:
OSVDB:66319, Secunia:39574Hi,
According to my experiences if you update tomcat where you can , BO XI platform might have problems. My suggestion is for you is to full backup system before anything you do, Also you can update BO XI where you can have a new version of tomcat embeeded.
Regards. -
Problem when rendering a report in BI Publisher deployed on Apache Tomcat
Hello for all.
First, I am going to tell you technical specifications about the software where I have deployed BI Publisher:
1. OS: Windows XP SP3
2. JDK and JRE: 1.6.0_24
3. Apache Tomcat: 5.5.33 (Set JVM Max Memory in 768MB)
4. BI Publisher EE: 10.1.3.4.1
I have deployed BI Publisher on Apache Tomcat without any problem, I uploaded Report files (both XDO and RTF), and I can see the reports in XML output format, but when I try to see the reports rendered by using the rtf file I have configured, BI Publisher shows me an Error; I checked the Apache Tomcat log and the following error is reported:
[042511_033325984][oracle.apps.xdo.common.xml.XSLTWrapper][ERROR] XSL error:
<Line 3, Column 123>: XML-22002: (Fatal Error) Error while processing include XSL file (rtf2xsl://http_//localhost:8080/xmlpserver/SubTemplates/sub-template-parameters.rtf?sid=1&eaf=3).
<Line 296, Column 18>: XML-22000: (Error) Error while parsing XSL file (null).
[042511_033325984][oracle.apps.xdo.template.FOProcessor][ERROR] End Memory: max=247MB, total=44MB, free=15MB
[042511_033325984][][EXCEPTION] java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at oracle.apps.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(Unknown Source)
at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
at oracle.apps.xdo.common.xml.XSLTWrapper.transform(Unknown Source)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
at oracle.apps.xdo.template.FOProcessor.createFO(Unknown Source)
at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)
at oracle.apps.xdo.servlet.RTFCoreProcessor.transform(RTFCoreProcessor.java:91)
at oracle.apps.xdo.servlet.CoreProcessor.process(CoreProcessor.java:276)
at oracle.apps.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.java:82)
at oracle.apps.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:552)
at oracle.apps.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.java:255)
at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:270)
at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:250)
at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:178)
at oracle.apps.xdo.servlet.XDOServlet.doPost(XDOServlet.java:201)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:94)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:879)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Unknown Source)
Caused by: java.util.EmptyStackException
at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:806)
at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:571)
... 39 more
[042511_033325984][][EXCEPTION] java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at oracle.apps.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(Unknown Source)
at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
at oracle.apps.xdo.common.xml.XSLTWrapper.transform(Unknown Source)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
at oracle.apps.xdo.template.FOProcessor.createFO(Unknown Source)
at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)
at oracle.apps.xdo.servlet.RTFCoreProcessor.transform(RTFCoreProcessor.java:91)
at oracle.apps.xdo.servlet.CoreProcessor.process(CoreProcessor.java:276)
at oracle.apps.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.java:82)
at oracle.apps.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:552)
at oracle.apps.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.java:255)
at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:270)
at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:250)
at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:178)
at oracle.apps.xdo.servlet.XDOServlet.doPost(XDOServlet.java:201)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:94)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:879)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Unknown Source)
Caused by: java.util.EmptyStackException
at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:806)
at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:571)
... 39 more
I checked that the url http://localhost:8080/xmlpserver/SubTemplates/sub-template-parameters.rtf would be accesible via Internet Explorer, and It is accesible.
I am glad if you can tell me what could be the cause of the error.
Thanks.Finally, I stop working in the implementation of BIP over Apache Tomcat; I installed OC4J 10.1.3.5.0 (standalone installation) and I deployed BIP on it.
It seems the error I wrote in last post has been fixed, but actually I am obtaining the following error with the deployment on OC4J:
[042711_055706687][][ERROR] Namespace 'http://www.oracle.com/XSL/Transform/java/
oracle.com.xmlpublisher.reports.BIPExtension' failed Secure Java Extensions chec
k.
[042711_055706687][oracle.apps.xdo.template.FOProcessor][ERROR] End Memory: max=
494MB, total=46MB, free=21MB
[042711_055706687][][EXCEPTION] oracle.apps.xdo.XDOException: XSLT10gR1: Failed
Secure Java Extensions check.
at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
at oracle.apps.xdo.common.xml.XSLTWrapper.transform(Unknown Source)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
at oracle.apps.xdo.template.FOProcessor.createFO(Unknown Source)
at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)
at oracle.apps.xdo.servlet.RTFCoreProcessor.transform(RTFCoreProcessor.j
ava:91)
at oracle.apps.xdo.servlet.CoreProcessor.process(CoreProcessor.java:276)
at oracle.apps.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.
java:82)
at oracle.apps.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:552
at oracle.apps.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.ja
va:255)
at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:270)
at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:250)
at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:178)
at oracle.apps.xdo.servlet.XDOServlet.doPost(XDOServlet.java:201)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterC
hain.java:64)
at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilt
er.java:94)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletReque
stDispatcher.java:644)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Ser
vletRequestDispatcher.java:391)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequ
estHandler.java:908)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
tHandler.java:458)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpReque
stHandler.java:226)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:127)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:116)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSo
cketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
sableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:662)
[042711_055706687][][EXCEPTION] oracle.apps.xdo.XDOException: XSLT10gR1: Failed
Secure Java Extensions check.
at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
at oracle.apps.xdo.common.xml.XSLTWrapper.transform(Unknown Source)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
at oracle.apps.xdo.template.FOProcessor.createFO(Unknown Source)
at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)
at oracle.apps.xdo.servlet.RTFCoreProcessor.transform(RTFCoreProcessor.j
ava:91)
at oracle.apps.xdo.servlet.CoreProcessor.process(CoreProcessor.java:276)
at oracle.apps.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.
java:82)
at oracle.apps.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:552
at oracle.apps.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.ja
va:255)
at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:270)
at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:250)
at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:178)
at oracle.apps.xdo.servlet.XDOServlet.doPost(XDOServlet.java:201)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterC
hain.java:64)
at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilt
er.java:94)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletReque
stDispatcher.java:644)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Ser
vletRequestDispatcher.java:391)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequ
estHandler.java:908)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
tHandler.java:458)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpReque
stHandler.java:226)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:127)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:116)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSo
cketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
sableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:662)
May you know the cause of the error above?
Thanks, -
Setting up the Apache HTTP Plugin for several BEA Servers
Hey together,
i would like to setup the apache http plugin for several bea-servers.
I am running apache 1.x on my hp-ux system. There are 2 bea-server-domains on this box and both should be proxied by the plugin simultaneously.
As far as i know it isn't possible to run 2 or more instances of the apache webserver. I heard of virtualhosts, maybe i should try this one out.
Somebody knows how to deal with this problem or does any1 know if virtualhosts could cope with my needs?
Thanks in advanceOk here i am again and i'm stuck. Here my wishes again:
there are 2 weblogic-instances (domains) running on a machine xxx, instance A listening on port 8041, instance B listening on port 8051. I want to configure apache virtualhosts in combination with weblogic plugins, so that request with /ld will be sent to instance A while requests with /ldd will be sent to instance B. Both are no clusters. Therefore i tried it with the following configuration (httpd.conf):
<VirtualHost xxx:8080>
DocumentRoot "/opt/hpws/apache/htdocs"
ServerName xxx:8080
<IfModule mod_weblogic.c>
WebLogicHost xxx
WebLogicPort 8041
#MatchExpression *
#PathPrepend=/test2
</IfModule>
<Location /ld>
SetHandler weblogic-handler
PathTrim /ld
</Location>
</VirtualHost>
# VirtualHost2 = xxx:8090
<VirtualHost xxx:8090>
DocumentRoot "/opt/hpws/apache/htdocs"
ServerName xxx:8090
<IfModule mod_weblogic.c>
WebLogicHost xxx
WebLogicPort 8051
#MatchExpression *
#PathPrepend=/test2
</IfModule>
<Location /ldd>
SetHandler weblogic-handler
PathTrim /ldd
</Location>
Doesnt really work. Can some1 help please?
Thanks -
Unable to resolve Apache-Tomcat after 5.0.2 Upgrade / Content Server Install
I recently upgraded from 5.0.1 to 5.0.2. With 5.0.1, I was able to resolve to http://<apache-tomcat.domain.com>:8080 as well as http://<apache-tomcat.domain.com>:8080/ptcsand http://<apache-tomcat.domain.com>:8080/ptcs/diagnosticsTest.jsp. However, after upgrading to 5.0.2, I am unable to resolve to any of these URLs. The 'Content Server' admin. folder shows up within the admin. ui and all necessary objects are there. Other than the upgrade, no other changes were made to the server. Any suggestions? Thanks.
Did you upgrade to Tomcat 4.1.27LE version ?
-
How can I run two instances of apache tomcat in the same machine.
Hi
Can I run 2 instances of apache tomcat in the same machine.If yes then how.?Yes, you can. Just run 2 instances. Make sure that they run on different ports.
Maybe you are looking for
-
I've windows vista business on my MacPro and when i connect it through s-video to my Tv using Mac OS it works perfectly but on windows it does not dispay anything on the TV. Please, i need help. Thank You deeds
-
Scanning batches of photos as one time
Is there an easy way to scan a batch of photos on the flatbed of a scanner and have the software recognize them as distinct images? And then save them that way?
-
Mail suddenly not exporting messages as PDFs
I think this is related to recently upgrading to OS X 10.9.3, but lately Mail seems unable to export a mail message to PDF. I just started using this feature a few weeks ago regularly and now I am unable to use it. I am almost dependant on this fea
-
Black screen: sudden death?
Suddenly, the phone stopped responding, screen is black. I've tried reset and restart, no response...that is, no light in the screen, no bar to swipe, no apple logo. nothing at all. at the same time, plugging in yields nothing, no response that indic
-
Picture message converts to audio message??
Hi, I am using Nokia 5320 Xpress Music. I am facing a problem that when i receive a picture message and when i try to forward it, then it converts to audio message which is MMS. I want these picture message to treat as picture message as i was using