BEA Apache connector bug
I'd like to open a bug regarding the Apache connector. We first ran into it back in 7.0 and I just confirmed today it still exists in 8.1 (at least Apache 2.0/win32).
The bug is that the connector only forwards bodies for a subset of HTTP methods, so Webdav, for instance, is unusable via the connector.
For instance, the ACL method, RFC 3744, when sent to apache looks similar to
--- snip --
ACL /dav/testuser/foo2 HTTP/1.1
Host: localhost:80
Depth: Infinity
Content-Length: 690
Content-type: text/xml; charset="utf-8"
Connection: close
<?xml version="1.0" encoding="utf-8" ?>
<D:acl xmlns:D="DAV:">
<D:ace>
<D:principal>
<D:href>xxx</D:href>
</D:principal>
<D:grant>
<D:privilege> <D:read/> </D:privilege>
</D:grant>
</D:ace>
</D:acl>
but the BEA connector forwards this to BEA as:
-- snip---
ACL /dav/testuser/foo2 HTTP/1.1
Host: localhost:80
Depth: Infinity
Content-Length: 690
Content-type: text/xml; charset="utf-8"
Connection: Keep-Alive
WL-Proxy-SSL: false
WL-PATH-TRIM: /
WL-Proxy-Client-IP: 127.0.0.1
Proxy-Client-IP: 127.0.0.1
X-Forwarded-For: 127.0.0.1
X-WebLogic-Force-JVMID: unset
... which of course times out since the body is not sent but CL is (correctly) specified.
We have to ship our product with a separate apache module which changes all methods to a POST, then stuffs the real method in a header. Then in our special servlet that we ship just for BEA, we extract the real method from the header and use it instead of the POST in the ServletRequest.
Can someone with karma at BEA file this bug? Other methods with bodies that I suspect will probably fail include OPTIONS, PROPPATCH, & PROPFIND. I also verified that arbitrary (ie non-RFC'd) http methods will fail to transmit a body as well.
Our last customer who used our application with BEA was supposed to open a bug about this via standard support means but I don't have any record of it ever being done.
Thanks,
Keith
Hi. Please send me an email address and I'll do what I can.
j
o
e
b
e
a
c
o
m
Keith Wannamaker wrote:
I'd like to open a bug regarding the Apache connector. We first ran into it back in 7.0 and I just confirmed today it still exists in 8.1 (at least Apache 2.0/win32).
The bug is that the connector only forwards bodies for a subset of HTTP methods, so Webdav, for instance, is unusable via the connector.
For instance, the ACL method, RFC 3744, when sent to apache looks similar to
--- snip --
ACL /dav/testuser/foo2 HTTP/1.1
Host: localhost:80
Depth: Infinity
Content-Length: 690
Content-type: text/xml; charset="utf-8"
Connection: close
<?xml version="1.0" encoding="utf-8" ?>
<D:acl xmlns:D="DAV:">
<D:ace>
<D:principal>
<D:href>xxx</D:href>
</D:principal>
<D:grant>
<D:privilege> <D:read/> </D:privilege>
</D:grant>
</D:ace>
</D:acl>
but the BEA connector forwards this to BEA as:
-- snip---
ACL /dav/testuser/foo2 HTTP/1.1
Host: localhost:80
Depth: Infinity
Content-Length: 690
Content-type: text/xml; charset="utf-8"
Connection: Keep-Alive
WL-Proxy-SSL: false
WL-PATH-TRIM: /
WL-Proxy-Client-IP: 127.0.0.1
Proxy-Client-IP: 127.0.0.1
X-Forwarded-For: 127.0.0.1
X-WebLogic-Force-JVMID: unset
... which of course times out since the body is not sent but CL is (correctly) specified.
We have to ship our product with a separate apache module which changes all methods to a POST, then stuffs the real method in a header. Then in our special servlet that we ship just for BEA, we extract the real method from the header and use it instead of the POST in the ServletRequest.
Can someone with karma at BEA file this bug? Other methods with bodies that I suspect will probably fail include OPTIONS, PROPPATCH, & PROPFIND. I also verified that arbitrary (ie non-RFC'd) http methods will fail to transmit a body as well.
Our last customer who used our application with BEA was supposed to open a bug about this via standard support means but I don't have any record of it ever being done.
Thanks,
Keith
Similar Messages
-
Coldfusion 8 /Apache Connector Bug??????
I have wasted almost 3 weeks now on this problem. It will
cost us $500 to get a answer if this is a bug on Coldfusion 8.
Almost ready to jump this ship and go to the Open source camp!
Install went fine.
Running Red Hat 4AES
Apache 2.0
ColdFusion 8
I rebuilt the connector about 10 times now....using
the following document
http://kb.adobe.com/selfservice/viewContent.do?externalId=121a0b29&sliceId=2
when I try to start Coldfusion I get the following error....
The ColdFusion 8 server is starting up and will be available
shortly.
======================================================================
Running the ColdFusion 8 connector wizard
======================================================================
Configuring the web server connector (Launched on the first
run of the ColdFusion 8 start script)
Running apache connector wizard...
=======================================
There was an error while running the connector wizard
Connector installation was not successful
=======================================
======================================================================
ColdFusion 8 has been started.
ColdFusion 8 will write logs to
/usr/coldfusion8/logs/cfserver.logCould use similar assistance with our CF8 Standard upgrade.
I have spent a week trying to upgrade our dedicated server
from CFMX7 to CF8 with no success. I submitted an Adobe support
request ticket (Case #0180044098) about five days ago, but am still
waiting for them to help me resolve the problem. Thought I would
post this in case someone can offer assistance while I am waiting
for the Adobe school solution.
Our server configuration is as follows:
-- LINUX version: REDHAT Enterprise 4 i686 on standard - WHM
X v3.1.0
-- Apache version: 2.0.63
-- MySQL version: 5.0.45-community
-- PHP version: 5.2.5
-- WebHost Manager: version 11.15.0
-- cPanel Version: 11.18.1-RELEASE, cPanel Build: 20683
Here is what I have done most recently:
(1) Uninstalled CF8 (for about the fourth time).
(2) Deleted /opt/coldfusionmx7 and /opt/coldfusion8
directories.
(3) Restarted Apache, ensured the httpd-devel version of
Apache was installed.
(4) Reinstalled CF8 (for about the 5th time); it is running
and appears to have installed successfully (except for Apache
connectors).
(5) Modified
/opt/coldfusion8/bin/connectors/apache_connector.sh as follows:
../../runtime/bin/wsconfig \
-server coldfusion \
-ws apache \
-dir /etc/httpd/conf \
-bin /usr/local/apache/bin/httpd \
-script /usr/local/apache/bin/apachectl \
-coldfusion
(6) Ran ./wsconfig -uninstall to remove old/incorrect
connectors.
(7) Ran ./wsconfig per the information below which indicated
that JRun Apache connector install was successful.
Here are the results of running the ./wsconfig ...
[root@_______ bin]# ./wsconfig -uninstall
[Wed Mar 05 01:15:06 2008] [warn] NameVirtualHost *:80 has no
VirtualHosts
Restarted Apache server
The Apache connector was removed from /etc/httpd/conf
[root@_______ bin]# ./wsconfig -server coldfusion -ws Apache
-dir /etc/httpd/conf -bin /usr/local/apache/bin/httpd -script
/usr/local/apache/bin/apachectl -coldfusion -v
Found JRun server coldfusion at 127.0.0.1:2930
Red Hat Enterprise Linux ES release 4 (Nahant Update 6)
Using Apache binary /usr/local/apache/bin/httpd
Using resource gcc3/mod_jrun20.so.20020903
Server version: Apache/2.0.63
Using Apache control script /usr/local/apache/bin/apachectl
Parsing Apache configuration file /etc/httpd/conf/httpd.conf
Exec'ing chmod 777 /opt/coldfusion8/runtime/lib/wsconfig/1
Set permission to 777 on
/opt/coldfusion8/runtime/lib/wsconfig/1
Red Hat Enterprise Linux ES release 4 (Nahant Update 6)
Using resource gcc3/mod_jrun20.so.20020903
Server version: Apache/2.0.63
Exec'ing chmod +x
/opt/coldfusion8/runtime/lib/wsconfig/1/mod_jrun20.so
Set permission to execute on
/opt/coldfusion8/runtime/lib/wsconfig/1/mod_jrun20.so
Created file
/opt/coldfusion8/runtime/lib/wsconfig/1/mod_jrun20.so
Red Hat Enterprise Linux ES release 4 (Nahant Update 6)
Using resource gcc3/mod_jrun20.so.20020903
Server version: Apache/2.0.63
Red Hat Enterprise Linux ES release 4 (Nahant Update 6)
Using resource gcc3/mod_jrun20.so.20020903
Server version: Apache/2.0.63
Wrote file /etc/httpd/conf/httpd.conf
Added JRun configuration to Apache configuration file
/etc/httpd/conf/httpd.conf
Created file
/opt/coldfusion8/runtime/lib/wsconfig/1/README.txt
Wrote file
/opt/coldfusion8/runtime/lib/wsconfig/wsconfig.properties
Exec'ing /usr/local/apache/bin/apachectl restart
[Wed Mar 05 01:21:18 2008] [warn] NameVirtualHost *:80 has no
VirtualHosts
Restarted Apache server
The Apache connector was installed to /etc/httpd/conf
[root@_______ bin]#
Although everything appears to have installed correctly, our
server and website will still not recognize or process .cfm files.
So I am still unable to even access CF8 Administrator and our site
will not process Coldfusion files, just asks me, "Do you want to
save this file, or find a program online to open it?"
Never had any problems with CFMX7 install or operation, so
this is most disconcerting.
I am not a happy camper.
Any suggestions while I am waiting for my Adobe customer
support ticket to be answered will be most appreciated.
Thanks. -
CF10 64bit Apache connector (mod_jk.so) does not work for Apache2.4.3 (win64), where can I get a module that works?
I get this error from Apache :
C:\www\Apache2.4\bin>httpd -t
httpd: Syntax error on line 741 of C:/www/Apache2.4/conf/httpd.conf: Syntax error on line 2 of C:/www/Apache2.4/conf/mod_jk.conf: Cannot load C:\\ColdFusion10\\config\\wsconfig\\1\\mod_jk.so into server: The specified procedure could not be found.
I have already tried manually extracting the pre-built mod_jk22.so from the wsconfig.jar with same results.
If I switch to Apache 2.2.22 64bit, it does work. what I need is to be able to run on Apache 2.4.Please check out this link.
http://rob.brooks-bilson.com/index.cfm/2012/2/21/Installing-ColdFusion-10-with-Apache-on-W indows
In this link, they are configuring with Apache 2.2 only.
When we were working colfusion 9 with Linux and apache, we had the same problem, it will work when it connect to Apache 2.0 but not with Apache 2.2 version. -
JRUN Apache connector not timing out despite setting recvTimeout
Hi,
I have set a recvTimeout for the JRUN apache connector using the
[Thu Dec 15 15:29:48 2011] [notice] jrApache[3068: 20480] ap_escape_uri(TimeoutTest.cfm) = TimeoutTest.cfm
[Thu Dec 15 15:29:48 2011] [notice] jrApache[3068: 20480] jrun_trans: sub-request so DECLINED
[Thu Dec 15 15:29:48 2011] [notice] jrApache[3068: 20480] getRealPath(TimeoutTest.cfm) = TimeoutTest.cfm
[Thu Dec 15 15:29:48 2011] [notice] jrApache[3068: 20480] sent/avail/result 79/79/79
[Thu Dec 15 15:29:53 2011] [notice] jrApache[3068: 20480] read/len/total 4/4/4
[Thu Dec 15 15:29:53 2011] [notice] jrApache[3068: 20480] PROXY_GET_HEADER <- [11]
[Thu Dec 15 15:29:53 2011] [notice] jrApache[3068: 20480] read/len/total 4/4/4
[Thu Dec 15 15:29:53 2011] [notice] jrApache[3068: 20480] read/len/total 21/21/21
[Thu Dec 15 15:29:53 2011] [notice] jrApache[3068: 20480] HTTP_X_REQUESTED_WITH: <null>
[Thu Dec 15 15:29:53 2011] [notice] jrApache[3068: 20480] sent/avail/result 4/4/4
[Thu Dec 15 15:34:53 2011] [notice] jrApache[3068: 20480] 67.206.10.197:51050 jrConnect [9]
[Thu Dec 15 15:34:53 2011] [notice] jrApache[3068: 20480] sent/avail/result 4/4/4
[Thu Dec 15 15:34:53 2011] [notice] jrApache[3068: 20480] 67.206.10.197:51050 is reachable
[Thu Dec 15 15:34:53 2011] [notice] jrApache[3068: 20480] sent/avail/result 4/4/4
[Thu Dec 15 15:34:53 2011] [notice] jrApache[3068: 20480] 67.206.10.197:51050 is reachable
[Thu Dec 15 15:34:53 2011] [notice] jrApache[3068: 20480] 67.206.10.197:51050 returned socket [9] to pool
[Thu Dec 15 15:34:53 2011] [notice] jrApache[3068: 20480] jrRecv [11] timeout but server reachable so recv again
[Thu Dec 15 15:36:33 2011] [notice] jrApache[3068: 20480] read/len/total 4/4/4
[Thu Dec 15 15:36:33 2011] [notice] jrApache[3068: 20480] PROXY_GET_REALPATH <- [11]
[Thu Dec 15 15:36:33 2011] [notice] jrApache[3068: 20480] read/len/total 4/4/4
What does this error mean: jrRecv [11] timeout but server reachable so recv again
Is the jrun apache connector retrying or waiting some more for the page response ? I dont want it to retry / wait beyond the recvTimeout that I have set. What can I do in the config or elsewhere so that the recvTimeout returns as a timeout to apache and cleint without recv again attempt that it appears to be doing?
Thanks in advance for any help on this.
JRunConfig RecvTimeout 300
I want this setting so long running pages will time out and return after 300 s with a timeout error and return the error back to the client.
However, I see that the timeout is not working and long running cfm pages continue to cycle without returning. Upon enabling the verbose option I see the following error logged for the long running page after the timeout occurs, but the page does not return anything and continues to wait on the client side.sunilr1 wrote:
Hi,
I have set a recvTimeout for the JRUN apache connector using the
JRunConfig RecvTimeout 300
I want this setting so long running pages will time out and return after 300 s with a timeout error and return the error back to the client.
That is not the setting to time out long-running pages and then return a message. Why would you want to control request timeouts from JRun anyway? I don't think it's a good idea.
RecvTimeout determines how long to wait before timing out a socket receive call on a JRun server. The receive call is generally a synchronous call on a socket on a JRun server. It will throw an exception if the time out period is exceeded. In other words, a long-running page does not necessarily imply a long wait on a socket receive call. -
Can't configure Apache connector
I've tried this on Fedora Core 9 with no success and now I'm
trying it on FC8 with the same error. After installing CF and
configuring it to work with Apache, I go to start it and I get
quote:
[root@ns1 ~]# /opt/coldfusion8/bin/coldfusion start
Starting ColdFusion 8...
The ColdFusion 8 server is starting up and will be available
shortly.
======================================================================
Running the ColdFusion 8 connector wizard
======================================================================
Configuring the web server connector (Launched on the first
run of the ColdFusion 8 start script)
Running apache connector wizard...
=======================================
There was an error while running the connector wizard
Connector installation was not successful
=======================================
======================================================================
ColdFusion 8 has been started.
ColdFusion 8 will write logs to
/opt/coldfusion8/logs/cfserver.log
======================================================================
I changed the paths in the 'apache-connector.sh' file, but I
still can't get it to work. Any ideas?Ok, this is from this morning when trying:
07/25 09:05:39 info Macromedia JRun 4.0 (Build 108487)
07/25 09:05:40 debug Found JRun server coldfusion at
127.0.0.1:2930
07/25 09:05:40 debug Deleted directory
/opt/coldfusion8/runtime/lib/wsconfig/1/.libs
07/25 09:05:40 debug Deleted directory
/opt/coldfusion8/runtime/lib/wsconfig/1
07/25 09:05:40 info Fedora release 9 (Sulphur)
07/25 09:05:40 debug Using Apache binary /usr/sbin/httpd
07/25 09:05:40 info Server's Module Magic Number:
20051115:11. Supported major magic numbers on this platform are
20020628 and 20020903.
07/25 09:05:40 info Attempting to build connector from
sources
07/25 09:05:40 info Server version: Apache/2.2.8 (Unix)
07/25 09:05:40 debug Using Apache control script
/usr/sbin/httpd
07/25 09:05:40 debug Parsing Apache configuration file
/etc/httpd/conf/httpd.conf
07/25 09:05:40 debug Exec'ing chmod 777
/opt/coldfusion8/runtime/lib/wsconfig/1
07/25 09:05:40 debug Set permission to 777 on
/opt/coldfusion8/runtime/lib/wsconfig/1
07/25 09:05:40 debug Exec'ing chmod +x
/opt/coldfusion8/runtime/lib/wsconfig/1/build_jrun22
07/25 09:05:40 debug Set permission to execute on
/opt/coldfusion8/runtime/lib/wsconfig/1/build_jrun22
07/25 09:05:40 debug Exec'ing
/opt/coldfusion8/runtime/lib/wsconfig/1/build_jrun22
07/25 09:05:41 error Error running
"/opt/coldfusion8/runtime/lib/wsconfig/1/build_jrun22": exit code
was 1
07/25 09:05:41 error Could not build Apache2 web server
connector from source. Use build script /opt/coldfusion8/
runtime/lib/wsconfig/1/build_jrun22.
jrunx.connectorinstaller.ConnectorInstallerException: Could
not build Apache2 web server connector from source. U
se build script
/opt/coldfusion8/runtime/lib/wsconfig/1/build_jrun22.
at
jrunx.connectorinstaller.ApacheInstaller.buildModuleFromSource(ApacheInstaller.java:1234)
at
jrunx.connectorinstaller.ApacheInstaller.copyFiles(ApacheInstaller.java:1126)
at
jrunx.connectorinstaller.ApacheInstaller.installConnector(ApacheInstaller.java:223)
at
jrunx.connectorinstaller.ConnectorInstaller.installConnector(ConnectorInstaller.java:337)
at
jrunx.connectorinstaller.ConnectorInstaller.doIt(ConnectorInstaller.java:271)
at
jrunx.connectorinstaller.ConnectorInstaller.main(ConnectorInstaller.java:759) -
Does anyone know when the BEA server connector for Ganymede will be out? I really miss being able to run my bea test server from inside eclipse.
Sorry if that isnt the official name for it.
Thanks in advance
troyI am running into a new problem now, I used to be able to right click on the server and
select "manage deployments" and via that avenue deploy projects to the server. I no
longer have a manage deployments option, I have a add remove projects option but my
projects dont show in that list. Is there something special I have to do to get my projects
to show up there?I am not familiar with the "manage deployments" action that you are referring to. What product were you using before?
The most likely cause of your projects not showing up in the add/remove projects wizard is that they are somehow in the form that's viewed as not compatible with that version of the server. What type of projects are they? They have to be WTP projects such as Dynamic Web Project or Enterprise Application Project. Plain java projects will not deploy. If you aren't sure, you can check in the project properties. All WTP projects will have a "Project Facets" page in project properties. If you do have WTP projects and have found the Project Facets page, take a look at the facets that are listed. Make sure that the versions of facets are compatible with WLS 9.2 (no Java EE 5 module facet versions or version 6.0 for the java facet). If all facet versions are correct, you should be able to flip to the runtimes tab on the right hand side of the page and select WLS 9.2 as your target runtime. If you do that for all your projects, they should show up in the add/remove projects UI. -
Does anyone know where I can get the gxapache connector DLL for win32?
This is getting kind of urgent as we really need to switch from the
(dangerous) IIS4 as the web server.
I find information on it in release notes, but I can't find the actual file
anyway.
PS I am using NAS4.0 at present, but I think the connector is pretty much
unchanged since then.There is no Apache connector for NAS4. Apache is a new connector with sp3.
(I'd recommend iWS anyway.)
David
Michael Neale wrote:
Does anyone know where I can get the gxapache connector DLL for win32?
This is getting kind of urgent as we really need to switch from the
(dangerous) IIS4 as the web server.
I find information on it in release notes, but I can't find the actual file
anyway.
PS I am using NAS4.0 at present, but I think the connector is pretty much
unchanged since then. -
Coldfusion Jrun apache connector recvTimeout and retry.
Hi,
I have set a recvTimeout for the JRUN apache connector using the
JRunConfig RecvTimeout 300
I want this setting so long running pages will time out and return after 300 s with a timeout error and return the error back to the client.
However, I see that the timeout is not working and long running cfm pages continue to cycle without returning. Upon enabling the verbose option I see the following error logged for the long running page after the timeout occurs, but the page does not return anything and continues to wait on the client side.
What does this error mean: jrRecv [11] timeout but server reachable so recv again
Is the jrun apache connector retrying or waiting some more for the page response ? I dont want it to retry / wait beyond the recvTimeout that I have set. What can I do in the config or elsewhere so that the recvTimeout returns as a timeout to apache and cleint without recv again attempt that it appears to be doing?
Thanks in advance for any help on this.
[Thu Dec 15 15:29:48 2011] [notice] jrApache[3068: 20480] ap_escape_uri(TimeoutTest.cfm) = TimeoutTest.cfm
[Thu Dec 15 15:29:48 2011] [notice] jrApache[3068: 20480] jrun_trans: sub-request so DECLINED
[Thu Dec 15 15:29:48 2011] [notice] jrApache[3068: 20480] getRealPath(TimeoutTest.cfm) = TimeoutTest.cfm
[Thu Dec 15 15:29:48 2011] [notice] jrApache[3068: 20480] sent/avail/result 79/79/79
[Thu Dec 15 15:29:53 2011] [notice] jrApache[3068: 20480] read/len/total 4/4/4
[Thu Dec 15 15:29:53 2011] [notice] jrApache[3068: 20480] PROXY_GET_HEADER <- [11]
[Thu Dec 15 15:29:53 2011] [notice] jrApache[3068: 20480] read/len/total 4/4/4
[Thu Dec 15 15:29:53 2011] [notice] jrApache[3068: 20480] read/len/total 21/21/21
[Thu Dec 15 15:29:53 2011] [notice] jrApache[3068: 20480] HTTP_X_REQUESTED_WITH: <null>
[Thu Dec 15 15:29:53 2011] [notice] jrApache[3068: 20480] sent/avail/result 4/4/4
[Thu Dec 15 15:34:53 2011] [notice] jrApache[3068: 20480] 67.206.10.197:51050 jrConnect [9]
[Thu Dec 15 15:34:53 2011] [notice] jrApache[3068: 20480] sent/avail/result 4/4/4
[Thu Dec 15 15:34:53 2011] [notice] jrApache[3068: 20480] 67.206.10.197:51050 is reachable
[Thu Dec 15 15:34:53 2011] [notice] jrApache[3068: 20480] sent/avail/result 4/4/4
[Thu Dec 15 15:34:53 2011] [notice] jrApache[3068: 20480] 67.206.10.197:51050 is reachable
[Thu Dec 15 15:34:53 2011] [notice] jrApache[3068: 20480] 67.206.10.197:51050 returned socket [9] to pool
[Thu Dec 15 15:34:53 2011] [notice] jrApache[3068: 20480] jrRecv [11] timeout but server reachable so recv again
[Thu Dec 15 15:36:33 2011] [notice] jrApache[3068: 20480] read/len/total 4/4/4
[Thu Dec 15 15:36:33 2011] [notice] jrApache[3068: 20480] PROXY_GET_REALPATH <- [11]
[Thu Dec 15 15:36:33 2011] [notice] jrApache[3068: 20480] read/len/total 4/4/4sunilr1 wrote:
Hi,
I have set a recvTimeout for the JRUN apache connector using the
JRunConfig RecvTimeout 300
I want this setting so long running pages will time out and return after 300 s with a timeout error and return the error back to the client.
That is not the setting to time out long-running pages and then return a message. Why would you want to control request timeouts from JRun anyway? I don't think it's a good idea.
RecvTimeout determines how long to wait before timing out a socket receive call on a JRun server. The receive call is generally a synchronous call on a socket on a JRun server. It will throw an exception if the time out period is exceeded. In other words, a long-running page does not necessarily imply a long wait on a socket receive call. -
WL Apache plugin Bug: HttpServletResponce unable to send more the 1 cookie.
When using apache plugin with weblogic51 on solaris we run into problem when
trying to send several cookies; only first cookie makes it through Apache
plugin to the browser.
public void doGet(HttpServletRequest req, HttpServletResponse res) {
Cookie z = new Cookie("name3", "value3");
z.setMaxAge(0xFFFFF);
res.addCookie(z);
Cookie z1 = new Cookie("name1", "value2");
z1.setMaxAge(0xFFFFF);
res.addCookie(z1);
PrintWriter outputStream = res.getWriter();
outputStream.println("<HTML><BODY></BODY></HTML>");
outputStream.close();
catch(Exception e) {e.printStackTrace(System.out);}
Thanks,
Alex
This appears to be a bug. I suggest sending it as a bug report to our
support organization.
(... and the same for your other two posts as well! :-)
Thanks,
Michael
Michael Girdley
Product Manager, WebLogic Server & Express
BEA Systems Inc
Alex Rojkov <[email protected]> wrote in message
news:8ff9ls$qgu$[email protected]..
> When using apache plugin with weblogic51 on solaris we run into problem
when
> trying to send several cookies; only first cookie makes it through Apache
> plugin to the browser.
>
> public void doGet(HttpServletRequest req, HttpServletResponse res) {
>
>
> Cookie z = new Cookie("name3", "value3");
> z.setMaxAge(0xFFFFF);
> res.addCookie(z);
>
> Cookie z1 = new Cookie("name1", "value2");
> z1.setMaxAge(0xFFFFF);
> res.addCookie(z1);
>
> PrintWriter outputStream = res.getWriter();
>
> outputStream.println("<HTML><BODY></BODY></HTML>");
> outputStream.close();
> }
> catch(Exception e) {e.printStackTrace(System.out);}
> }
>
> Thanks,
>
> Alex
>
>
>
-
Bea content repository bug (?)
Hi All,
I've encountered a problem working with the Bea weblogic content repository.
I've tried to create a new property for a content type wich has already some contents associated.
The results is that if i try to set the new proprery value, for a content that has been loaded before the new property was created, the admin console displays an error (reported below)
Does someone know if there's a bug on the content managemtent, and if it is, how can be avoided?
Here is a summarization of the steps i followed:
1. Loaded a new content of Image type (named image1)
2. Created a new property (image width) for the type Image
3. Tried to set the new property of the content image1 --> (ERROR)
4. Loaded another content of the same type (named image2)
5. Tried to set the new property of the content image2 --> (OK)
Thank you in advance,
Kind regards.
-- Marco --
--------------------- ERROR LOG ---------------------
java.lang.NullPointerException
at content.node.nodeSelected.properties.NodePropertiesController.saveProperty(NodePropertiesController.java:1032)
at content.node.nodeSelected.properties.NodePropertiesController.saveProperties(NodePropertiesController.java:986)
at content.node.nodeSelected.properties.NodePropertiesController.saveProperties(NodePropertiesController.java:779)
at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
at org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:869)
at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:808)
at org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:477)
at org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:305)
at org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:335)
at org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execute(FlowControllerAction.java:51)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201(PageFlowRequestProcessor.java:95)
at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute(PageFlowRequestProcessor.java:2042)
at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors.wrapAction(ActionInterceptors.java:90)
at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPerform(PageFlowRequestProcessor.java:2114)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:554)
at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:851)
at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:630)
at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:157)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:1169)
at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:688)
at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.processActionInternal(ScopedContentCommonSupport.java:144)
at com.bea.portlet.adapter.scopedcontent.PageFlowStubImpl.processAction(PageFlowStubImpl.java:107)
at com.bea.portlet.adapter.NetuiActionHandler.raiseScopedAction(NetuiActionHandler.java:99)
at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:180)
at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:168)hi,
I have not verified it with BEA, but I have analyzed the error as I encountered it my self. Seems like the bug arises from a missing row in the CM_PROPERTY table. This seems to trigger a bug of some sort in the content framework.
You could try to make a sql ( should be easy ) to insert the missing rows.
I have blogged about this in my [url http://blog.thej2eestruggle.com]J2EE blog.
- Anders Mathisen -
Does anyone know where I can get the gxapache connector DLL for win32?
This is getting kind of urgent as we really need to switch from the
(dangerous) IIS4 as the web server.
I find information on it in release notes, but I can't find the actual file
anyway.
PS I am using NAS4.0 at present, but I think the connector is pretty much
unchanged since then.There is no apache plugin for NAS4
Michael Neale wrote:
>
Does anyone know where I can get the gxapache connector DLL for win32?
This is getting kind of urgent as we really need to switch from the
(dangerous) IIS4 as the web server.
I find information on it in release notes, but I can't find the actual file
anyway.
PS I am using NAS4.0 at present, but I think the connector is pretty much
unchanged since then.--
Senior Consultant / Instructor
iPlanet PS - ANZ
iPlanet e-commerce Solutions
- A Sun|Netscape Alliance
Sun Microsystems Australia Pty Ltd -
WebLogic 9.2 with Apache Connector Config
Hi I am new to this forum, WebLogic, and all Oracle products for that matter. I am a college intern and I have been asked to learn how to use WebLogic 9.2. I was told that they want it to be connected to apache with the mod_wl_22.so shared module for Apache. I have placed the module in the directory and added the LoadModule line to the httpd.conf file and the module loads fine. From reading through the WebLogic documentation I now know that I need to create a <Location> block in httpd.conf for the connector. I also know that the arguments that you need to use are WebLogicHost and WebLogicPort. So in my httpd.conf I have added the following.
<Location /weblogic>
WebLogicHost 10.15.107.90/weblogic
WebLogicPort 7001
</Location>
I also tried.....
<Location /weblogic>
WebLogicHost /weblogic
WebLogicPort 7001
</Location>
and.....
<Location /weblogic>
WebLogicHost 10.15.107.90
WebLogicPort 7001
</Location>
All with no luck. When I browse to http://10.15.107.90/weblogic I get nothing. Can anybody help me out here?
Thanks
ScottHi,
This is a template for 'httpd.conf'. Please make it sure that you are following this:
===
# Based upon the NCSA server configuration files originally by Rob McCool.
# This is the main Apache server configuration file. It contains the
# configuration directives that give the server its instructions.
# See <URL:http://httpd.apache.org/docs-2.0/> for detailed information about
# the directives.
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure
# consult the online docs. You have been warned.
# The configuration directives are grouped into three basic sections:
# 1. Directives that control the operation of the Apache server process as a
# whole (the 'global environment').
# 2. Directives that define the parameters of the 'main' or 'default' server,
# which responds to requests that aren't handled by a virtual host.
# These directives also provide default values for the settings
# of all virtual hosts.
# 3. Settings for virtual hosts, which allow Web requests to be sent to
# different IP addresses or hostnames and have them handled by the
# same Apache server process.
# Configuration and logfile names: If the filenames you specify for many
# of the server's control files begin with "/" (or "drive:/" for Win32), the
# server will use that explicit path. If the filenames do not begin
# with "/", the value of ServerRoot is prepended -- so "logs/foo.log"
# with ServerRoot set to "C:/Program Files/Apache Group/Apache2" will be interpreted by the
# server as "C:/Program Files/Apache Group/Apache2/logs/foo.log".
# NOTE: Where filenames are specified, you must use forward slashes
# instead of backslashes (e.g., "c:/apache" instead of "c:\apache").
# If a drive letter is omitted, the drive on which Apache.exe is located
# will be used by default. It is recommended that you always supply
# an explicit drive letter in absolute paths, however, to avoid
# confusion.
### Section 1: Global Environment
# The directives in this section affect the overall operation of Apache,
# such as the number of concurrent requests it can handle or where it
# can find its configuration files.
# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
# NOTE! If you intend to place this on an NFS (or otherwise network)
# mounted filesystem then please read the LockFile documentation (available
# at <URL:http://httpd.apache.org/docs-2.0/mod/mpm_common.html#lockfile>);
# you will save yourself a lot of trouble.
# Do NOT add a slash at the end of the directory path.
ServerRoot "C:/Program Files/Apache Group/Apache2"
# ScoreBoardFile: File used to store internal server process information.
# If unspecified (the default), the scoreboard will be stored in an
# anonymous shared memory segment, and will be unavailable to third-party
# applications.
# If specified, ensure that no two invocations of Apache share the same
# scoreboard file. The scoreboard file MUST BE STORED ON A LOCAL DISK.
#ScoreBoardFile logs/apache_runtime_status
# PidFile: The file in which the server should record its process
# identification number when it starts.
PidFile logs/httpd.pid
# Timeout: The number of seconds before receives and sends time out.
Timeout 300
# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to "Off" to deactivate.
KeepAlive On
# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
MaxKeepAliveRequests 100
# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
KeepAliveTimeout 15
## Server-Pool Size Regulation (MPM specific)
# WinNT MPM
# ThreadsPerChild: constant number of worker threads in the server process
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule mpm_winnt.c>
ThreadsPerChild 250
MaxRequestsPerChild 0
</IfModule>
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
#Listen 12.34.56.78:80
Listen 80
# Dynamic Shared Object (DSO) Support
# To be able to use the functionality of a module which was built as a DSO you
# have to place corresponding `LoadModule' lines at this location so the
# directives contained in it are actually available before they are used.
# Statically compiled modules (those listed by `httpd -l') do not need
# to be loaded here.
# Example:
# LoadModule foo_module modules/mod_foo.so
LoadModule access_module modules/mod_access.so
LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
LoadModule asis_module modules/mod_asis.so
LoadModule auth_module modules/mod_auth.so
#LoadModule auth_anon_module modules/mod_auth_anon.so
#LoadModule auth_dbm_module modules/mod_auth_dbm.so
#LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule autoindex_module modules/mod_autoindex.so
#LoadModule cern_meta_module modules/mod_cern_meta.so
LoadModule cgi_module modules/mod_cgi.so
#LoadModule dav_module modules/mod_dav.so
#LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule dir_module modules/mod_dir.so
LoadModule env_module modules/mod_env.so
#LoadModule expires_module modules/mod_expires.so
#LoadModule file_cache_module modules/mod_file_cache.so
#LoadModule headers_module modules/mod_headers.so
LoadModule imap_module modules/mod_imap.so
LoadModule include_module modules/mod_include.so
#LoadModule info_module modules/mod_info.so
LoadModule isapi_module modules/mod_isapi.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule mime_module modules/mod_mime.so
#LoadModule mime_magic_module modules/mod_mime_magic.so
#LoadModule proxy_module modules/mod_proxy.so
#LoadModule proxy_connect_module modules/mod_proxy_connect.so
#LoadModule proxy_http_module modules/mod_proxy_http.so
#LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule negotiation_module modules/mod_negotiation.so
#LoadModule rewrite_module modules/mod_rewrite.so
LoadModule setenvif_module modules/mod_setenvif.so
#LoadModule speling_module modules/mod_speling.so
#LoadModule status_module modules/mod_status.so
#LoadModule unique_id_module modules/mod_unique_id.so
LoadModule userdir_module modules/mod_userdir.so
#LoadModule usertrack_module modules/mod_usertrack.so
#LoadModule vhost_alias_module modules/mod_vhost_alias.so
#LoadModule ssl_module modules/mod_ssl.so
LoadModule weblogic_module modules/mod_wl_20.so
# ExtendedStatus controls whether Apache will generate "full" status
# information (ExtendedStatus On) or just basic information (ExtendedStatus
# Off) when the "server-status" handler is called. The default is Off.
#ExtendedStatus On
### Section 2: 'Main' server configuration
# The directives in this section set up the values used by the 'main'
# server, which responds to any requests that aren't handled by a
# <VirtualHost> definition. These values also provide defaults for
# any <VirtualHost> containers you may define later in the file.
# All of these directives may appear inside <VirtualHost> containers,
# in which case these default settings will be overridden for the
# virtual host being defined.
# ServerAdmin: Your address, where problems with the server should be
# e-mailed. This address appears on some server-generated pages, such
# as error documents. e.g. [email protected]
ServerAdmin [email protected]
# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
# If this is not set to valid DNS name for your host, server-generated
# redirections will not work. See also the UseCanonicalName directive.
# If your host doesn't have a registered DNS name, enter its IP address here.
# You will have to access it by its address anyway, and this will make
# redirections work in a sensible way.
ServerName beatest.kpit.com:80
# UseCanonicalName: Determines how Apache constructs self-referencing
# URLs and the SERVER_NAME and SERVER_PORT variables.
# When set "Off", Apache will use the Hostname and Port supplied
# by the client. When set "On", Apache will use the value of the
# ServerName directive.
UseCanonicalName Off
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs"
# Each directory to which Apache has access can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
# First, we configure the "default" to be a very restrictive set of
# features.
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
# Note that from this point forward you must specifically allow
# particular features to be enabled - so if something's not working as
# you might expect, make sure that you have specifically enabled it
# below.
# This should be changed to whatever you set DocumentRoot to.
<Directory "C:/Program Files/Apache Group/Apache2/htdocs">
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
# Note that "MultiViews" must be named explicitly --- "Options All"
# doesn't give it to you.
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs-2.0/mod/core.html#options
# for more information.
Options Indexes FollowSymLinks
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
AllowOverride None
# Controls who can get stuff from this server.
Order allow,deny
Allow from all
</Directory>
# UserDir: The name of the directory that is appended onto a user's home
# directory if a ~user request is received. Be especially careful to use
# proper, forward slashes here. On Windows NT, "Personal/My Website"
# is a more appropriate choice.
UserDir "My Documents/My Website"
# Control access to UserDir directories. The following is an example
# for a site where these directories are restricted to read-only.
# You must correct the path for the root to match your system's configured
# user directory location, e.g. "C:/WinNT/profiles/*/My Documents/My Website"
# or whichever, as appropriate.
#<Directory "C:/Documents and Settings/*/My Documents/My Website">
# AllowOverride FileInfo AuthConfig Limit
# Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
# <Limit GET POST OPTIONS PROPFIND>
# Order allow,deny
# Allow from all
# </Limit>
# <LimitExcept GET POST OPTIONS PROPFIND>
# Order deny,allow
# Deny from all
# </LimitExcept>
#</Directory>
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
# The index.html.var file (a type-map) is used to deliver content-
# negotiated documents. The MultiViews Option can be used for the
# same purpose, but it is much slower.
DirectoryIndex index.html index.html.var
# AccessFileName: The name of the file to look for in each directory
# for additional configuration directives. See also the AllowOverride
# directive.
AccessFileName .htaccess
# The following lines prevent .htaccess and .htpasswd files from being
# viewed by Web clients.
<FilesMatch "^\.ht">
Order allow,deny
Deny from all
</FilesMatch>
# TypesConfig describes where the mime.types file (or equivalent) is
# to be found.
TypesConfig conf/mime.types
# DefaultType is the default MIME type the server will use for a document
# if it cannot otherwise determine one, such as from filename extensions.
# If your server contains mostly text or HTML documents, "text/plain" is
# a good value. If most of your content is binary, such as applications
# or images, you may want to use "application/octet-stream" instead to
# keep browsers from trying to display binary files as though they are
# text.
DefaultType text/plain
# The mod_mime_magic module allows the server to use various hints from the
# contents of the file itself to determine its type. The MIMEMagicFile
# directive tells the module where the hint definitions are located.
<IfModule mod_mime_magic.c>
MIMEMagicFile conf/magic
</IfModule>
<IfModule mod_weblogic.c>
WebLogicCluster 127.0.0.1:7003,127.0.0.1:7004
WLLogFile C:/proxylog/wl-proxy.log
WLTempDir C:/temp/wl-proxy.log
MatchExpression /*
</IfModule>
<Location />
SetHandler weblogic-handler
WebLogicCluster 127.0.0.1:7003,127.0.0.1:7005
Debug ALL
WLLogFile C:/proxylog/wl-proxy.log
WLTempDir C:/temp/wl-proxy.log
DebugConfigInfo On
PathTrim /
DynamicServerList OFF
</Location>
# HostnameLookups: Log the names of clients or just their IP addresses
# e.g., www.apache.org (on) or 204.62.129.132 (off).
# The default is off because it'd be overall better for the net if people
# had to knowingly turn this feature on, since enabling it means that
# each client request will result in AT LEAST one lookup request to the
# nameserver.
HostnameLookups Off
# EnableMMAP: Control whether memory-mapping is used to deliver
# files (assuming that the underlying OS supports it).
# The default is on; turn this off if you serve from NFS-mounted
# filesystems. On some systems, turning it off (regardless of
# filesystem) can improve performance; for details, please see
# http://httpd.apache.org/docs-2.0/mod/core.html#enablemmap
#EnableMMAP off
# EnableSendfile: Control whether the sendfile kernel support is
# used to deliver files (assuming that the OS supports it).
# The default is on; turn this off if you serve from NFS-mounted
# filesystems. Please see
# http://httpd.apache.org/docs-2.0/mod/core.html#enablesendfile
#EnableSendfile off
# ErrorLog: The location of the error log file.
# If you do not specify an ErrorLog directive within a <VirtualHost>
# container, error messages relating to that virtual host will be
# logged here. If you do define an error logfile for a <VirtualHost>
# container, that host's errors will be logged there and not here.
ErrorLog logs/error.log
# LogLevel: Control the number of messages logged to the error.log.
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
# The following directives define some format nicknames for use with
# a CustomLog directive (see below).
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
# You need to enable mod_logio.c to use %I and %O
#LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio -
How to configure bea apache plugin to forward request from apache to bea se
Hi,
I have an apache server and a bea weblogic application server. For security reasons, I wold like to configure a bea plugin on the apache server to redirect the client http/https requests from the apache2 server to bea application server.
I have gone through the bea documentation and configure my apache2 httpd.conf as follows
LoadModule weblogic_module modules/mod_wl_20.so
<IfModule mod_weblogic.c>
WebLogicHost myweblogic.server.com
WebLogicPort 7001
MatchExpression *.jsp
</IfModule>
<Location /weblogic>
WebLogicHost myweblogic.server.com
WebLogicPort 7001
SetHandler weblogic-handler
PathTrim /weblogic
</Location>
Then Restarted the apache2 and tryied to acces bea application through http://myweblogic.server.com/weblogic/
and http://myweblogic.server.com/something.jsp
It did not work
httpd is started propery.
Any help would be highly apreciated
Many Thanks
Ushas SymonI have no experience with nginx and varnish and asking configuration problems regarding these products is perhaps beyond the scope of this forum.
While configuring varnish, we are getting issues and unable to connect server from my browser if I change port 80.
You did not describe the issues, but it is possible and very common that your IP Firewall is blocking access to ports other than 80 and 22. For testing, you can simply turn it off. If you do not know how, please post your OS distribution version first, as it all depends. -
WebLogic 10.3.5 with Apache Connector Config
Hi,
I have multiple apache/OHS running on the same HP-UX machine and am running into following issue in deploying SOA Processes on the second server.
deploy/sca_AIAErrorTaskAdministrationProcess_rev1.0.jar
[deployComposite] INFO: Creating HTTPS connection to host:soaa.eprod.com, port:443
[deployComposite] INFO: Received HTTP response from the server, response code=500
[deployComposite] SEVERE: Invalid logging line: <HTML>
[deployComposite] SEVERE: Invalid logging line: <HEAD>
[deployComposite] SEVERE: Invalid logging line: <TITLE>Weblogic Bridge Message
[deployComposite] SEVERE: Invalid logging line: </TITLE>
[deployComposite] SEVERE: Invalid logging line: </HEAD>
[deployComposite] SEVERE: Invalid logging line: <BODY>
[deployComposite] SEVERE: Invalid logging line: <H2>Failure of server APACHE bridge:</H2><P>
[deployComposite] SEVERE: Invalid logging line: <hr>Cannot open TEMP post file '/tmp/_wl_proxy/_post_17020_6' for POST of 72775 bytes
[deployComposite] SEVERE: Invalid logging line: <hr> </BODY>
[deployComposite] SEVERE: Invalid logging line: </HTML>
[deployComposite] SEVERE: Invalid logging line: <HTML>
[deployComposite] SEVERE: Invalid logging line: <HEAD>
[deployComposite] SEVERE: Invalid logging line: <TITLE>Weblogic Bridge Message
[deployComposite] SEVERE: Invalid logging line: </TITLE>
[deployComposite] SEVERE: Invalid logging line: </HEAD>
[deployComposite] SEVERE: Invalid logging line: <BODY>
[deployComposite] SEVERE: Invalid logging line: <H2>Failure of server APACHE bridge:</H2><P>
[deployComposite] SEVERE: Invalid logging line: <hr><PRE>Internal Server failure, APACHE plugin. Cannot continue.</PRE>
[deployComposite] SEVERE: Invalid logging line: <hr> </BODY>
[deployComposite] SEVERE: Invalid logging line: </HTML>
[deployComposite] ---->response code=500, error:nullI read on this post "http://www.techpaste.com/2012/04/open-temp-post-file-tmp_wl_proxy_post_21626_12548-apache/" to define the WLTempDir directive on each Apache / OHS installation to point to different directories so they do not conflict.
As it's a clustered environment so wanted to find out where should I put the below properties
WLLogFile
WLTempDir
I have configuration file in which the virtual host and other URLs are configured and then have included this file in httpd.conf. Want to find out where to enter the above 2 values in the below snippet
<VirtualHost *:8888>
ServerName ebs.uat.com
RewriteEngine On
RewriteOptions inherit
<IfModule ossl_module>
AddCertHeader HTTPS
SimulateHttps On
</IfModule>
<Location /weblogic>
SetHandler weblogic-handler
WebLogicHost ebscon.uat.com
# Admin Server's port
WeblogicPort 7007
</Location>
<Location /console>
SetHandler weblogic-handler
WebLogicHost ebscon.uat.com
WeblogicPort 7007
</Location>
<Location /consolehelp>
SetHandler weblogic-handler
WebLogicHost ebscon.uat.com
WeblogicPort 7007
</Location>
<Location /em>
SetHandler weblogic-handler
WebLogicHost ebscon.uat.com
WeblogicPort 7007
</Location>
<Location /wsm-pm>
SetHandler weblogic-handler
WebLogicCluster ebscon1.uat.com:7017,ebscon2.uat.com:7017
</Location>
# SOA Suite
<Location /soa-infra>
SetHandler weblogic-handler
WebLogicCluster ebscon1.uat.com:8007,ebscon2.uat.com:8007
</Location>
<Location /integration/>
SetHandler weblogic-handler
WebLogicCluster ebscon1.uat.com:8007,ebscon2.uat.com:8007
</Location>
<Location /b2bconsole>
SetHandler weblogic-handler
WebLogicCluster ebscon1.uat.com:8007,ebscon2.uat.com:8007
</Location>
<Location /soa/composer>
SetHandler weblogic-handler
WebLogicCluster ebscon1.uat.com:8007,ebscon2.uat.com:8007
</Location>
# BAM
<Location /OracleBAM>
SetHandler weblogic-handler
# WebLogicCluster PREFIXbam-web1.eprod.com:WLS_BAM1 port,host 2 from environment table:WLS_BAM2 port
WebLogicCluster ebscon1.uat.com:9007,ebscon2.uat.com:9007
</Location>
# BPM
<Location /bpm/composer>
SetHandler weblogic-handler
WebLogicCluster ebscon1.uat.com:8007,ebscon2.uat.com:8007
</Location>
<Location /bpm/workspace>
SetHandler weblogic-handler
WebLogicCluster ebscon1.uat.com:8007,ebscon2.uat.com:8007
</Location>
# OSB
<Location /sbinspection.wsil*>
SetHandler weblogic-handler
WebLogicCluster ebscon1.uat.com:4017,ebscon2.uat.com:4017
</Location>
<Location /sbresource*>
SetHandler weblogic-handler
WebLogicCluster ebscon1.uat.com:4017,ebscon2.uat.com:4017
</Location>
<Location /sbconsole>
SetHandler weblogic-handler
WebLogicHost ebscon.uat.com
WeblogicPort 7007
</Location>
# AIA
<Location /AIA>
SetHandler weblogic-handler
WebLogicCluster ebscon1.uat.com:8007,ebscon2.uat.com:8007
</Location>
</VirtualHost>Do I need to enter WLTempDir and WLLogFile values under each <Location tag i.e.
<Location /AIA>
SetHandler weblogic-handler
WebLogicCluster ebscon1.uat.com:8007,ebscon2.uat.com:8007
WLLogFile /tmp/server1
WLTempDir /tmp/server1
</Location>Any help is appreciated.
ThanksIf you want to have only one log file for all the virtual hosts configured in your environment, you can achieve it using global properties. Instead of specifying the same Debug, WLLogFile and WLTempDir properties in each virtual host you can specify them just once in the <IfModule> tag
Sample httpd.conf file:
<IfModule mod_weblogic.c>
WebLogicCluster johndoe02:8005,johndoe:8006
Debug ON
WLLogFile c:/tmp/global_proxy.log
WLTempDir "c:/myTemp"
DebugConfigInfo On
KeepAliveEnabled ON
KeepAliveSecs 15
</IfModule>
Please refer to the below link for more information:-
http://docs.oracle.com/cd/E15051_01/wls/docs103/plugins/apache.html
-Sandeep -
Apache 2.2.2 Jrun 4 WinXP --- Apache connector problem.
I configured External Web Server using Web Server
Configuration tool. I have cross-checked all the artifacts like
httpd.conf, etc. Everything looks fine. I started JRun and Apache
multiple times. "C:/JRun4/lib/wsconfig/1/mod_jrun20.so" is present.
I cannot get rid of following error.
Apache Server Start Console
Log.-------------------------------------
C:\Program Files\Apache Software
Foundation\Apache2.2\bin>httpd.exe -w -n Apache2.2 -k start
httpd.exe: Syntax error on line 486 of C:/Program
Files/Apache Software Foundation/Apache2.2/conf/httpd.conf: Cannot
load C:/JRun4/lib/wsconfig/1/mod_jrun20.so into server: The
specified procedure could not be found.
httpd.conf lines ---------------------------------
# JRun Settings
LoadModule jrun_module
"C:/JRun4/lib/wsconfig/1/mod_jrun20.so"
<IfModule mod_jrun20.c>
JRunConfig Verbose true
JRunConfig Apialloc false
JRunConfig Ssl false
JRunConfig Ignoresuffixmap false
JRunConfig Serverstore
"C:/JRun4/lib/wsconfig/1/jrunserver.store"
JRunConfig Bootstrap 127.0.0.1:51000
#JRunConfig Errorurl <optionally redirect to this URL on
errors>
AddHandler jrun-handler .jsp .jws
</IfModule>
BTW , Which procedure it is trying to find?
Can somebody help me.
Thanks in advance.
SuyogAnd what happens on Apache 1.3?
Thanks in advance,
Lopato
Maybe you are looking for
-
When attempting to log in to the web site the following message is received. This web site works on other systems using Firefox. This server could not verify that you are authorized to access the document requested. Either you supplied the wrong cred
-
Aperture photos from Photo Stream not syncing in iTunes
Hi I am running Aperture 3.4.3 on an iMac running 10.8.2. I have Photo Stream enabled. When I open Aperture, it downloads all the recent photos from Photo Stream and puts them in to one or more automatically created projects called something like "
-
Cannot download flash player can you assist?
I have been trying unsuccessfully for quite a time to download flash player but the system does not finish and it seems to go to download then stops how can I get this to download correctly?
-
Alphanumeric and pipe delimiter regular expression validation
i have a header in file like below EMP_ID|EMP_NAME|DEPARTMENT|SALARY|ACTIVE1 passed to a string String test = "EMP_ID|EMP_NAME|DEPARTMENT|SALARY|ACTIVE1"; I have to check if the header has only alphanumeric and pipedelimiter is allowed. other than th
-
I am thinking of buying a new ibook and am a little confused. Not sure if this is where I should post or not. 1) how is the word processing on the ibook? 2) could I install windows? Do not want to if the word processor is great. 3) If they decide to