WLS 8.1 Apache Plug-in is changing HTTP status code 999 to 500
I'm seeing the weblogic server 8.1 sp4 apache plug-in change the HTTP status code of 999 (set by the application) to 500 Internal Server Error. I'm seeing this with Apache 2.0.48 on aix and with Apache 2.0.58 on windows. I've tried the plug-in from 8.1 SP2, SP4 and SP6 with all yielding the same result. I've tried the SSL plug-in too - same result. I'm told by the maker of this application that they are not seeing this issue with the plug-in for SunOne/NES. What does BEA say about the Apache plug-in changing the http status code? Why is it doing this? Why doesn't the SunOne/NES plug-in do it? Can you provide a plug-in that does not do this?
Try setting
Debug ALL
inside your IfModule. All proxy activity will be written to /tmp/wlproxy.log (on
unixes). If no info appears in the log, Apache is not invoking the plug-in properly.
HTH
"Lukas" <[email protected]> wrote:
>
I am trying to set up Apache 2.0.49 proxy plug-in for my WLS 8.1 cluster
(2 managed
servers). I followed instructions at http://edocs.bea.com/wls/docs81/plugins/apache.html.
My test web application runs on
192.168.10.142:5001/public/testwebapp
and
192.168.10.142:6001/public/testwebapp
I have tested my cluster using another instance on WLS and HttpClusterServlet
and it works fine.
I have added following section to my httpd.conf
LoadModule weblogic_module modules/mod_wl_20.so
<IfModule mod_weblogic.c>
WebLogicCluster 192.168.10.142:6001,192.168.10.142:5001
</IfModule>
<Location /public/testwebapp>
SetHandler weblogic-handler
PathTrim /public/testwebapp
ErrorPage http://myerrorpage1.mydomain.com
</Location>
I restarted my wls cluster and apache as well and when I specify http://192.168.10.142/public/testwebapp
(apache web server) I receive Error 404--Not Found (even thou I have
tested my
http://192.168.10.142:5001/public/testwebapp and http://192.168.10.142:6001/public/testwebapp
- they work correctly).
There is nothing in apache’s error_log file.
There is a record in access_log file reading:
192.168.10.126 - - [08/Jun/2004:16:23:32 -0700] "GET /public/testwebapp
HTTP/1.1"
404 1214
which gives me an impression that “proxy” – forwarding does not work.
Where should I look for some errors?
Thanks,
Lukas
Similar Messages
-
Apache Tomcat/4.0.4 - HTTP Status 500 - Internal Server Error
Can someone give my a hand with this problem because the unix administrator of my website don't know how to fixes.
When I try to run a servlet name SimpleServer or other servlet from my website I received the following error:
Apache Tomcat/4.0.4 - HTTP Status 500 - Internal Server Error
type Exception report
message Internal Server Error
description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Cannot allocate servlet instance for path /servlet/SimpleServlet
at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:419)
at org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:180)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:458)
at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:551)
at java.lang.Thread.run(Thread.java:484)
root cause
java.lang.ClassFormatError: SimpleServlet (Illegal constant pool type)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1643)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:937)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1372)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1254)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:867)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:655)
at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:400)
at org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:180)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:458)
at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:551)
at java.lang.Thread.run(Thread.java:484)
Thanks in advance,
JoseHi,
ClassFormatError is Thrown when the Java Virtual Machine attempts to read a class file and determines that the file is malformed or otherwise cannot be interpreted as a class file.
So check whether you have properly configured servlet and whether class file is VALID and is in right place or not.
Sandesh -
how can i change http response code?
plsi used
response.setStatus(HttpServletResponse.SC_BAD_REQUEST);but when i capture the packets from ethereal i'm getting
0000 00 14 38 c2 4f c7 00 90 7f 05 e7 50 08 00 45 00 ..8.O......P..E.
0010 02 40 0a 70 40 00 e7 06 37 fc c0 c3 cc d8 c0 a8 [email protected]@...7.......
0020 01 07 00 50 f3 d6 72 7c 82 f2 e1 3d 48 a0 50 10 ...P..r|...=H.P.
0030 06 8e 9d 89 00 00 48 54 54 50 2f 31 2e 31 20 32 ......HTTP/1.1 2
0040 30 30 20 4f 4b 0d 0a 44 61 74 65 3a 20 54 75 65 00 OK..Date: Tue
0050 2c 20 32 31 20 4e 6f 76 20 32 30 30 36 20 30 37 , 21 Nov 2006 07
0060 3a 32 33 3a 30 38 20 47 4d 54 0d 0a 53 65 72 76 :23:08 GMT..Servand also the error which i wrote is not comming in the body part.
whats seen is
0160 59 50 45 20 68 74 6d 6c 20 50 55 42 4c 49 43 20 YPE html PUBLIC
0170 22 2d 2f 2f 57 33 43 2f 2f 44 54 44 20 58 48 54 "-//W3C//DTD XHT
0180 4d 4c 20 31 2e 30 20 54 72 61 6e 73 69 74 69 6f ML 1.0 Transitio
0190 6e 61 6c 2f 2f 45 4e 22 20 22 68 74 74 70 3a 2f nal//EN" "http:/
01a0 2f 77 77 77 2e 77 33 2e 6f 72 67 2f 54 52 2f 78 /www.w3.org/TR/x
01b0 68 74 6d 6c 31 2f 44 54 44 2f 78 68 74 6d 6c 31 html1/DTD/xhtml1
01c0 2d 74 72 61 6e 73 69 74 69 6f 6e 61 6c 2e 64 74 -transitional.dt
01d0 64 22 3e 0a 3c 68 74 6d 6c 3e 0a 20 20 20 20 0a d">.<html>. .
01e0 3c 68 65 61 64 3e 0a 09 09 3c 74 69 74 6c 65 3e <head>...<title>
01f0 48 54 4d 4c 20 50 61 67 65 3c 2f 74 69 74 6c 65 HTML Page</title
0200 3e 0a 3c 2f 68 65 61 64 3e 0a 0a 3c 62 6f 64 79 >.</head>..<body
0210 20 62 67 63 6f 6c 6f 72 3d 22 23 46 46 46 46 46 bgcolor="#FFFFF
0220 46 22 3e 0a 54 68 69 73 20 69 73 20 74 65 73 74 F">.This is test
0230 2e 68 74 6d 6c 20 70 61 67 65 0a 3c 2f 62 6f 64 .html page.</bod
0240 79 3e 0a 20 20 20 20 0a 3c 2f 68 74 6d 6c y>. .</htmlsomething like this...i'ven't copied fully... -
Apache Tomcat/4.0.6 - HTTP Status 500 - Internal Server Error
Hi all,
I am using JBulider 8.0 and developing a web application in JSP and Access. When I run the application, i get the following error while going from an HTML page to a JSP page:
Apache Tomcat/4.0.6 - HTTP Status 500 - Internal Server Errortype Exception reportmessage Internal Server Errordescription The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.exception java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:394)
at java.lang.Integer.parseInt(Integer.java:476)
at org.apache.jsp.addJob$jsp._jspService(addJob$jsp.java:150)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:201)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
at java.lang.Thread.run(Thread.java:536)
Can anyone tell me what can possibly be wrong? Reply quickly as deadline of my project is not far away :(
Regards,The exception is throwing when u r trying to convert null value into integer/float or double..
Check for this -
Apache Tomcat/4.0.4 - HTTP Status 500 - Internal Server Error - I don't know what this means or how to fix it, I get it when I try to enter a ticket into one of our custom data bases in Access
Apache Tomcat/4.0.4 - HTTP Status 500 - Internal Server Error - I don't know what this means or how to fix it, I get it when I try to enter a ticket into one of our custom data bases in Access
-
Apps 11i change product status code from "Installed" to "Shared"
Hi All,
is it possible to change product status code from "Installed" to "Shared"?
Reg
chirag PatelWhy would you need to do this?
Generally, it is not possible (not supported). However, you can do that for certain modules (like HR/Payroll). Refer to the following note for more details:
Note: 461063.1 - HR and Financials Applications Installed as Full Instead of Shared
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=461063.1
Note: 461063.1 - Changing Oracle Human Resources Installation from FULL HR/FULL Payroll Install to SHARED HR/SHARED Payroll Install
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=461063.1 -
WLS 7.0SP2 Apache Plug-in application fault
I'm running WLS 7.0SP2 on XP and have the WLS Apache plug-in in Apache 2.0.49.
I get this application fault alot...
Faulting application apache.exe, version 2.0.49.0, faulting module unknown, version
0.0.0.0, fault address 0x008be6ae.
The only other non-default module I'm using mod_headers.
I have the same problem in Apache 2.0.45, 2.0.46, 2.0.47, 2.0.48, and 2.0.49
Has anyone else run across this problem? I'd REALLY like to know the root cause..
Thanks,I'm running WLS 7.0SP2 on XP and have the WLS Apache plug-in in Apache 2.0.49.
I get this application fault alot...
Faulting application apache.exe, version 2.0.49.0, faulting module unknown, version
0.0.0.0, fault address 0x008be6ae.
The only other non-default module I'm using mod_headers.
I have the same problem in Apache 2.0.45, 2.0.46, 2.0.47, 2.0.48, and 2.0.49
Has anyone else run across this problem? I'd REALLY like to know the root cause..
Thanks, -
Apache Virtual Hosting and WLS 6.0 Apache plug-in
We have a client that uses Apache and virtual hosting. We also have a
single webapp that serves these virtual hosts/domains.
Therefore, all of the served virtual hosts/domain has the same webapp
directory structure ( e.g.: index.jsp, advert.jsp, css/ )
For the above to work, we are thinking of getting the requested virtual
hostname ( supposedly part of the HTTP header sent by the browser as the
"Host:" parameter ) to figure out how the page will be displayed ... Does
the Apache plug-in send this information to WLS?Apache plugin will forward the "Host" header to wls.
BTW, HTTP1.0 client will not send the HOST header if I recalled properly since
HOST header is not part of HTTP1.0 spec.
Jesus M. Salvo Jr. <[email protected]> wrote:
>
We have a client that uses Apache and virtual hosting. We also have a
single webapp that serves these virtual hosts/domains.
Therefore, all of the served virtual hosts/domain has the same webapp
directory structure ( e.g.: index.jsp, advert.jsp, css/ )
For the above to work, we are thinking of getting the requested virtual
hostname ( supposedly part of the HTTP header sent by the browser as
the
"Host:" parameter ) to figure out how the page will be displayed ...
Does
the Apache plug-in send this information to WLS? -
Apache Tomcat/4.0.6 - HTTP Status 500 Help!!!
When I requst a simple jsp page, I got error:
(I have set my env as:
----CLASSPATH as C:\Program Files\Apache Tomcat 4.0\common\lib\servlet.jar;C:\j2sdk1.4.2_01\lib\tools.jar;C:\j2sdk1.4.2_01\lib\dt.jar
----JAVA_HOME as C:\j2sdk1.4.2_01
----path as C:\j2sdk1.4.2_01\bin;c:\JBuilder4\jdk1.3
Is it something wrong?
type Exception report
message Internal Server Error
description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSPerror: Invalid class file format in C:\j2sdk1.4.2_01\jre\lib\rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand.
C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\test\jsp\check$jsp.java:0: Class java.lang.Object not found in class javax.servlet.GenericServlet.
package org.apache.jsp;
^
2 errors
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:176)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:188)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
at java.lang.Thread.run(Thread.java:534)Why nobody reply????? Because noone cares.
At a guess, you have upgraded from a previous version of java?
And you installed Tomcat with the previous version?
Check which version of Java the Tomcat engine is actually using:
System.getProperty("java.version")
Probably it still has some remnants of 1.3 around that it is using.
Just a guess... -
Error... Apache Tomcat/4.0.3 - HTTP Status 404 ??
I receive this error when I type http://localhost:8080/servlet/ShowError (ShowError being my app)
The rest of the page says...
type: status report
message: /servlet/ShowError
description: The requested resource (/servlet/ShowError) is not available.
I put ShowError.jsp in Tomcat\Webapps\Root directory and I put ShowError.class in Tomcat\webapps\ROOT\WEB-INF\classes directory. I do not know what else to do. Tomcat is definitely running.
I can successfully execute an example servlet by typing http://localhost:8080/examples/servlet/RequestInfoExample which came with Tomcat.
Any ides?
ThanksHi,
You are trying to run a servlet called ShowError.
Try running the JSP file you have called ShowError.jsp.
try typing http://localhost:8080/ShowError.jsp
Phil -
Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error
Here's more of the error:
root cause
java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
Does anyone know how to fix this problem? I have MySQL and Sun ONE Studio 4 Comm. Ed. Just trying a simple page as follows:
<%@page contentType="text/html"%>
<html>
<head><title>JSP Page</title></head>
<%@ page import="java.io.*" %>
<%@ page import="java.text.*" %>
<%@ page import="java.util.*" %>
<%@ page import = "java.sql.*" %>
<body>
<%
String url = "jdbc:mysql://localhost/htc_presite_signup";
Class.forName("com.mysql.jdbc.Driver").newInstance();
java.sql.Connection connection = java.sql.DriverManager.getConnection(url);
java.sql.Statement statement = connection.createStatement();
java.sql.ResultSet columns = statement.executeQuery("select * from visitors");
while(columns.next())
out.println(columns.getString(1));
%>
</body>
</html>No, neither registerDriver nor newInstance are the problem.
Your JDBC driver class isn't in the CLASSPATH.
Put the JAR in the TOMCAT_HOME/common/lib directory and restart Tomcat. - MOD -
Apache Plug-In: PathPrepend doesn't work?
Hello All,
I've run into a problem at a customer site with the WLS 5.1 Apache Plug-In
with Apache 1.3.12 on Solaris 6: the PathTrim parameter does not work.
Could somebody look at my httpd.conf file and tell me what I'm doing wrong:
<Location /weblogic>
SetHandler weblogic-handler
</Location>
WebLogicHost ism-app
WebLogicPort 7010
PathTrim weblogic
DebugConfigInfo ON
That's as basic as it gets, but it doesn't work! The url
/weblogic/index.html should get sent to wls as /index.html; instead, it's
sent verbatim.
I've tried the plug-in from service pack versions 3, 4, 6, and 8, and tried
the PathPrepend parameter inside the Location tag as well as outside. I
can't imagine that this does not work for any plug-in in any service pack;
if this is a bug in all these service packs, we really need to take a
serious look at QA.
Vijay Garla
Consultant, BEA Systems
[httpd.conf]Hi,
the "apex.widget.initPageItem" will not help you in your case, it's used to register callbacks for $s, $v, show, hide, ... if you have a more advanced item type. You can have a look at the "Star Rating" plug-in which implements several of these callbacks.
For adding cascading LOV support, please have a look at our own select list implementation in /i/javascript/uncompressed/apex_widget_4_0.js
Search for
apex.widget.selectList = function(pSelector, pOptions) {to get a blue print implementation for all the steps you have to add to your widget to add cascading LOV support.
If you need further help, please let me know.
Regards
Patrick
My Blog: http://www.inside-oracle-apex.com
APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
Twitter: http://www.twitter.com/patrickwolf -
Is it possible to change status code within a serlvet filter
I tried to update the HTTP status code within a filter's do filter method, but it doesn't work,
public void doFilter(ServletRequest request, ServletResponse response, FilterChain, chain){
chain.doFilter(request, response);
((HttpServletResponse)response).setStatus(HttpServletResponse.SC_OK);
Did I do anything wrongHi, sorry I did not get the relevance of the posted link. It refers to standard customisation, which I think is opposite to what Neil asks. Normally you can execute a GPS on changing the status in STS. But Neil is wanting to do the opposite, if I am not mistaken,: change the status in the STS by running a sequence in the planning.
I don't have a solution; but my question would be why use the STS if not using for status control? One can see issues arising, like when the current status in not what you are expecting, or if a sequence should be run when the status changes, and maintaining the fields that change (status history log). I guess it may be doable, but is it worth it?
Stephen -
Help about W2K Apache plug-in for WLS
Hi,everybody.
I want to use the W2K apache http server for redirect the dynamic request to
WLS. But i don't have the corresponding plug-in. Who can help me? or Who can
give me some hint about this?
Thanks in advance.
BR
Steven ZhaoHi Steven,
as far as I know there is no Apache Plugin for Windows Platform. Your
choice is either Unix->Apache or Windows->IIS. I think there is a
Netscape Plugin as well, but I don't know for which platforms.
Daniel
-----Original Message-----
From: Steven Zhao [mailto:[email protected]]
Posted At: Friday, October 20, 2000 6:02 AM
Posted To: management
Conversation: Help about W2K Apache plug-in for WLS
Subject: Help about W2K Apache plug-in for WLS
Hi,everybody.
I want to use the W2K apache http server for redirect the dynamic
request to
WLS. But i don't have the corresponding plug-in. Who can help me? or Who
can
give me some hint about this?
Thanks in advance.
BR
Steven Zhao -
WLS 8.1, Apache 2.0.49 proxy plug-in problem
I am trying to set up Apache 2.0.49 proxy plug-in for my WLS 8.1 cluster (2 managed
servers). I followed instructions at http://edocs.bea.com/wls/docs81/plugins/apache.html.
My test web application runs on
192.168.10.142:5001/public/testwebapp
and
192.168.10.142:6001/public/testwebapp
I have tested my cluster using another instance on WLS and HttpClusterServlet
and it works fine.
I have added following section to my httpd.conf
LoadModule weblogic_module modules/mod_wl_20.so
<IfModule mod_weblogic.c>
WebLogicCluster 192.168.10.142:6001,192.168.10.142:5001
</IfModule>
<Location /public/testwebapp>
SetHandler weblogic-handler
PathTrim /public/testwebapp
ErrorPage http://myerrorpage1.mydomain.com
</Location>
I restarted my wls cluster and apache as well and when I specify http://192.168.10.142/public/testwebapp
(apache web server) I receive Error 404--Not Found (even thou I have tested my
http://192.168.10.142:5001/public/testwebapp and http://192.168.10.142:6001/public/testwebapp
- they work correctly).
There is nothing in apache’s error_log file.
There is a record in access_log file reading:
192.168.10.126 - - [08/Jun/2004:16:23:32 -0700] "GET /public/testwebapp HTTP/1.1"
404 1214
which gives me an impression that “proxy” – forwarding does not work.
Where should I look for some errors?
Thanks,
LukasTry setting
Debug ALL
inside your IfModule. All proxy activity will be written to /tmp/wlproxy.log (on
unixes). If no info appears in the log, Apache is not invoking the plug-in properly.
HTH
"Lukas" <[email protected]> wrote:
>
I am trying to set up Apache 2.0.49 proxy plug-in for my WLS 8.1 cluster
(2 managed
servers). I followed instructions at http://edocs.bea.com/wls/docs81/plugins/apache.html.
My test web application runs on
192.168.10.142:5001/public/testwebapp
and
192.168.10.142:6001/public/testwebapp
I have tested my cluster using another instance on WLS and HttpClusterServlet
and it works fine.
I have added following section to my httpd.conf
LoadModule weblogic_module modules/mod_wl_20.so
<IfModule mod_weblogic.c>
WebLogicCluster 192.168.10.142:6001,192.168.10.142:5001
</IfModule>
<Location /public/testwebapp>
SetHandler weblogic-handler
PathTrim /public/testwebapp
ErrorPage http://myerrorpage1.mydomain.com
</Location>
I restarted my wls cluster and apache as well and when I specify http://192.168.10.142/public/testwebapp
(apache web server) I receive Error 404--Not Found (even thou I have
tested my
http://192.168.10.142:5001/public/testwebapp and http://192.168.10.142:6001/public/testwebapp
- they work correctly).
There is nothing in apache’s error_log file.
There is a record in access_log file reading:
192.168.10.126 - - [08/Jun/2004:16:23:32 -0700] "GET /public/testwebapp
HTTP/1.1"
404 1214
which gives me an impression that “proxy” – forwarding does not work.
Where should I look for some errors?
Thanks,
Lukas
Maybe you are looking for
-
Bill Cosby has admitted https://www.reddit.com/3cfx1r https://www.reddit.com/3cfxoo https://www.reddit.com/3cfyhx https://www.reddit.com/3cfz7w https://www.reddit.com/3cfzxf
-
Ejb-jar.xml gets corrupted..at the time of deployment
Hi, I'm Implemnting an application for Ejb's in WebDynpro. I'm conncting my database table in java dictionary to Webdynpro Interface using EJB. I have used the follwing link... Link: Consuming EJBs in web dynpro Using java dictionary But i'm facing 2
-
Keyboard shortcuts are blocked in Indesign
Hello, I can't move objects with the arrows on my keyboard. I can't move my cursor up, down, right or left with the arrowe. I can't delete an object with the delete button on my keyboard. Anyway all the shortcuts don't work anymore. It would be reall
-
Log Files for an Edge 95 running F9.3.3
I have an Edge 95 that is having trouble and we feel it may be the camera losing connection to the codec. Is the log file I can look at that may show loss of contact with the camera? Do I need to increase the logging level with the syslog command? We
-
Itunes store will not open with AVG Family filter installed
Itunes store will not open with AVG family filter installed