Apache weblogic plugin issue
Hi,
Configuration: Apache 2.0.63 as the front end to weblogic (9.1) application server. same thing observed in weblogic 9.2 as well.
Our client application sends the Cookies to the Apache:
Cookie: Server_session_id=XXXXXXXX
Cookie: JSESSIONID=LhTTZ2Cs1JSlRMPgGTx4BxmG67ML3ryv0PlPbYkhp4s72dpngsJl!-912570241
But Apache weblogic plugin when sends the request to weblogic:
Cookie: DAKServer_session_id=14612273741264701005679, JSESSIONID=LhTTZ2Cs1JSlRMPgGTx4BxmG67ML3ryv0PlPbYkhp4s72dpngsJl!-912570241
Note: comma is used as deliminator
HttpservletRequest consider only 1 cookie instead of 2.
I’m looking for resolution for this. Is there a way I can configure Apache plugin to send 2 cookies or configure it to send cookies with deliminator ‘;’
Please help.
Thanks..
Usha
I asked the same question and was told that this is not possible. There is only one way that the plugin can balance requests and that is using the round robin approach. If you talk to support, ask them to submit a feature request. ...I was told that if enough people request more options for load balancing, they may build it into the plug-in.
-Brad
Similar Messages
-
Apache - Weblogic Connection Issue
Hi
we are facing with Apache weblogic communication issues.
The communication with Apache and Weblogic works for some time ( few hrs), But after some time we get the below error.
Let us take one pair. (Apachedevv1 ----> Weblogicdevp1)
Yesterday evening it was working fine. Today morning I see the below error.
http://Apachedevv1/
Failure of server APACHE bridge:
No backend server available for connection: timed out after 10 seconds or idempotent set to OFF.
Build date/time: Apr 20 2009 21:26:02
Change Number: 1211636
Then I run the below command on Weblogicdevp1
C:\> telnet Apachedevv1 80
This is success as the Apache is running on Apachedevv1:80
Now If I access the URL http://Apachedevv1/ it is success now and I get the weblogic home page.
Pls let us know if you had face this type of issue earlier.
Following are the lines added in httpd.conf of Apache.
<IfModule mod_weblogic.c>
WebLogicHost Weblogicdevp1
WebLogicPort 7001
</IfModule>
<Location />
SetHandler weblogic-handler
</Location>
I see the below errors in error.log of Apache.
[Wed Dec 29 09:10:59 2010] [error] [client xx.yy.49.39] ap_proxy: trying GET / at backend host 'xx.yy.86.54/7001; got exception 'CONNECTION_REFUSED [os error=0, line 1715 of ../nsapi/URL.cpp]: Error connecting to host xx.yy.86.54:7001'
[Wed Dec 29 09:11:03 2010] [error] [client xx.yy.49.39] ap_proxy: trying GET / at backend host 'xx.yy.86.54/7001; got exception 'CONNECTION_REFUSED [os error=0, line 1715 of ../nsapi/URL.cpp]: Error connecting to host xx.yy.86.54:7001'
[Wed Dec 29 09:11:07 2010] [error] [client xx.yy.49.39] ap_proxy: trying GET / at backend host 'xx.yy.86.54/7001; got exception 'CONNECTION_REFUSED [os error=0, line 1715 of ../nsapi/URL.cpp]: Error connecting to host xx.yy.86.54:7001'
ThanksThe error means , there is no application server running on that port configured in apache that is 7001 at the time of issue.
One more thing you are doing telnet on 80 , but you should do telnet on 7001 and not on apache port.
So if you face the issue again, please do telnet on weblogic host like " telnet weblogicdevp1 7001".
It's not problem with apache version and weblogic plugin version.
You can integrate weblogic with apache using mod_proxy module also, pls refer the below link for more info:
http://middlewareforum.com/weblogic/?p=292
Rgds,
Kartheek -
Hello :
How to configure the Apache - Weblogic Plugin in BEA 8.1. I am doing all
as per the doc but I am not able to get the result.
My configuration RH 7.3, BEA 8.1 , Apache 2.3.9
If somebody have configured could u guys give little insight..
regards
Boney JoseYou need to make sure you are using the latest plugin. Please download the
latest Service Pack and grab the mod_wl.so from there.
Regards,
Eric
"Mandar" <[email protected]> wrote in message
news:[email protected]..
>
Hi,
I am trying to plug-in Apache on one Solaris machine with Weblogic serverrunning
on separate Solaris machine.
I am using the Weblogic documentation '
http://www.weblogic.com/docs51/admindocs/apache_bridge.html
However it looks like the plug-in does not recognize some of theparameters like
DefaultFileName, MatchExpression etc.
Any hints?
How can we forward (tunnel) all jsp requests to weblogic server?
Where and how do we use MatchExpression *.jsp tag?
Thanks
Mandar -
Installing Apache-WebLogic plugin
I have followed the steps (1-6) mentioned at
http://www.weblogic.com/docs51/admindocs/apache_bridge.html
for installing the Apache-WebLogic plugin.
However, after doing it I could not start Apache. I get the following error.
Syntax error on line 235 of /etc/apache/httpd.conf:
Cannot load /usr/apache/libexec/mod_wl.so into server: ld.so.1:
/usr/apache/bin/httpd: fatal: /usr/apache/libexec/mod_wl.so: open failed: No
such file or directory
Line 235 consists of the following entry
LoadModule weblogic_module /usr/apache/libexec/mod_wl.so
I do have the file /usr/apache/libexec/mod_wl.so in my directory with the
same permissions
as other files in the same directory.
Any help is appreciated.
JRI found the problem. mod_wl.so is the SPARC version and I was trying to
run on Intel Solaris. Is there an Intel version of this file?
John Ruskin wrote in message <8i2uaj$21v$[email protected]>...
I have followed the steps (1-6) mentioned at
http://www.weblogic.com/docs51/admindocs/apache_bridge.html
for installing the Apache-WebLogic plugin.
However, after doing it I could not start Apache. I get the followingerror.
>
Syntax error on line 235 of /etc/apache/httpd.conf:
Cannot load /usr/apache/libexec/mod_wl.so into server: ld.so.1:
/usr/apache/bin/httpd: fatal: /usr/apache/libexec/mod_wl.so: open failed:No
such file or directory
Line 235 consists of the following entry
LoadModule weblogic_module /usr/apache/libexec/mod_wl.so
I do have the file /usr/apache/libexec/mod_wl.so in my directory with the
same permissions
as other files in the same directory.
Any help is appreciated.
JR -
Installing apache weblogic plugin in linux
want to install weblogic plugin in apache running on redhat Linux WS4. I have read the documentation. In my local weblogic,under this directory C:\bea81SP4\weblogic81\server\lib\linux
I see the following three folders
a) i686
b) ia64
c) s390.
I dont know which folder to choose. Please advise.Hi,
according to your processer you have to chose mod_ ..so file
if you got error with sp4 plug in file use the plug in file from the another version
plug in files are compatable
Regards,
Prasanna Yalam -
Hello All,
Many thanks for helping me,
We have two webapps running in a single enterprise application and it's hosted
in WLP 7.0 SP2 Cluster(2 servers). We have a single IPlanet webserver where the
plugin configured and it routes the request to any one of the Weblogic servers.
We got the latest plugin from BEA(libproxy_p4_357725.zip) and it works ok for
one web application but not for the other. We also enabled the plugin log to see
what happens. We saw enormous number of "Preferred server not set or it was marked
bad, going to next server" when it fails. A complete set of log file is below:
Wed Jun 9 10:44:49 2004 ============================= new request ===============================
Wed Jun 9 10:44:49 2004 INFO: SSL is not configured
Wed Jun 9 10:44:49 2004 resolveRequest return code is [0]
Wed Jun 9 10:44:49 2004 URI=[NewBusinessWebApp/index.jsp]
Wed Jun 9 10:44:49 2004 Hdrs from Client:[accept]=[application/msword, application/vnd.ms-excel,
application/vnd.ms-powerpoint, image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/x-shockwave-flash, */*]
Wed Jun 9 10:44:49 2004 Hdrs from Client:[accept-language]=[en-gb]
Wed Jun 9 10:44:49 2004 Hdrs from Client:[accept-encoding]=[gzip, deflate]
Wed Jun 9 10:44:49 2004 Hdrs from Client:[user-agent]=[Mozilla/4.0 (compatible;
MSIE 5.5; Windows NT 4.0)]
Wed Jun 9 10:44:49 2004 Hdrs from Client:[host]=[10.227.4.33]
Wed Jun 9 10:44:49 2004 attempt #0 out of a max of 5
Wed Jun 9 10:44:49 2004 Server details are ''/0/0
Wed Jun 9 10:44:49 2004 Server was mark bad, going to next server
Wed Jun 9 10:44:49 2004 Server details are ''/0/0
Wed Jun 9 10:44:49 2004 Server was mark bad, going to next server
Wed Jun 9 10:44:49 2004 got pooled connection to server '10.227.4.33/8101/65535'
from general list for '-40700948'
Wed Jun 9 10:44:49 2004 WLS info : 10.227.4.33:8101 recycled? 1
Wed Jun 9 10:44:49 2004 URL::sendHeaders(): meth='GET' file='/NewBusinessWebApp/index.jsp'
protocol='HTTP/1.1'
Wed Jun 9 10:44:49 2004 Hdrs to WLS:[accept]=[application/msword, application/vnd.ms-excel,
application/vnd.ms-powerpoint, image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/x-shockwave-flash, */*]
Wed Jun 9 10:44:49 2004 Hdrs to WLS:[accept-language]=[en-gb]
Wed Jun 9 10:44:49 2004 Hdrs to WLS:[accept-encoding]=[gzip, deflate]
Wed Jun 9 10:44:49 2004 Hdrs to WLS:[user-agent]=[Mozilla/4.0 (compatible; MSIE
5.5; Windows NT 4.0)]
Wed Jun 9 10:44:49 2004 Hdrs to WLS:[host]=[10.227.4.33]
Wed Jun 9 10:44:49 2004 Hdrs to WLS:[Proxy-Path-Translated]=[u01/apps/iWS/docs/NewBusinessWebApp/index.jsp]
Wed Jun 9 10:44:49 2004 Hdrs to WLS:[Proxy-Path-Translated-Base]=[u01/apps/iWS/docs]
Wed Jun 9 10:44:49 2004 Hdrs to WLS:[WL-Proxy-Client-IP]=[128.31.10.79]
Wed Jun 9 10:44:49 2004 Hdrs to WLS:[WL-Proxy-SSL]=[false]
Wed Jun 9 10:44:49 2004 Hdrs to WLS:[Proxy-Client-IP]=[128.31.10.79]
Wed Jun 9 10:44:49 2004 Hdrs to WLS:[X-Forwarded-For]=[128.31.10.79]
Wed Jun 9 10:44:49 2004 Hdrs to WLS:[Connection]=[Keep-Alive]
Wed Jun 9 10:44:49 2004 Hdrs to WLS:[X-WebLogic-Request-ClusterInfo]=[true]
Wed Jun 9 10:44:49 2004 Hdrs to WLS:[X-WebLogic-KeepAliveSecs]=[30]
Wed Jun 9 10:44:49 2004 Hdrs to WLS:[x-weblogic-cluster-hash]=[MxxEFWztTtKnWbJArcJ2B/b7aZ0]
Wed Jun 9 10:44:49 2004 INFO: sysSend 732
Wed Jun 9 10:44:49 2004 *******Exception type [READ_ERROR_FROM_SERVER] (socket
read failure) raised at line 197 of Reader.cpp
Wed Jun 9 10:44:49 2004 read zero byte during read HTTP status, RETRYWed Jun
9 10:44:49 2004 *******Exception type [HALF_OPEN_SOCKET_RETRY] (fill() got zero
byte error during reading HTTP status - request retry) raised at line 748 of URL.cpp
Wed Jun 9 10:44:49 2004 got exception in sendRequest phase: HALF_OPEN_SOCKET_RETRY:
[os error=131, line 748 of URL.cpp]: fill() got zero byte error during reading
HTTP status - request retry at line 1051
Wed Jun 9 10:44:49 2004 attempt #0 out of a max of 5
Wed Jun 9 10:44:49 2004 Server details are ''/0/0
Wed Jun 9 10:44:49 2004 Server was mark bad, going to next server
Wed Jun 9 10:44:49 2004 Server details are ''/0/0
Wed Jun 9 10:44:49 2004 Server was mark bad, going to next server
Wed Jun 9 10:44:49 2004 general list: trying connect to '10.227.4.33'/8103/65535
at line 1338 for '/NewBusinessWebApp/index.jsp'
Wed Jun 9 10:44:49 2004 INFO: New NON-SSL URL
Wed Jun 9 10:44:49 2004 Going to check the general server list
Wed Jun 9 10:44:49 2004 WLS info : 10.227.4.33:8103 recycled? 0
Wed Jun 9 10:44:49 2004 URL::sendHeaders(): meth='GET' file='/NewBusinessWebApp/index.jsp'
protocol='HTTP/1.1'
Wed Jun 9 10:44:49 2004 Hdrs to WLS:[accept]=[application/msword, application/vnd.ms-excel,
application/vnd.ms-powerpoint, image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/x-shockwave-flash, */*]
Wed Jun 9 10:44:49 2004 Hdrs to WLS:[accept-language]=[en-gb]
Wed Jun 9 10:44:49 2004 Hdrs to WLS:[accept-encoding]=[gzip, deflate]
Wed Jun 9 10:44:49 2004 Hdrs to WLS:[user-agent]=[Mozilla/4.0 (compatible; MSIE
5.5; Windows NT 4.0)]
Wed Jun 9 10:44:49 2004 Hdrs to WLS:[host]=[10.227.4.33]
Wed Jun 9 10:44:49 2004 Hdrs to WLS:[Proxy-Path-Translated]=[u01/apps/iWS/docs/NewBusinessWebApp/index.jsp]
Wed Jun 9 10:44:49 2004 Hdrs to WLS:[Proxy-Path-Translated-Base]=[u01/apps/iWS/docs]
Wed Jun 9 10:44:49 2004 Hdrs to WLS:[WL-Proxy-Client-IP]=[128.31.10.79]
Wed Jun 9 10:44:49 2004 Hdrs to WLS:[WL-Proxy-SSL]=[false]
Wed Jun 9 10:44:49 2004 Hdrs to WLS:[Proxy-Client-IP]=[128.31.10.79]
Wed Jun 9 10:44:49 2004 Hdrs to WLS:[X-Forwarded-For]=[128.31.10.79]
Wed Jun 9 10:44:49 2004 Hdrs to WLS:[Connection]=[Keep-Alive]
Wed Jun 9 10:44:49 2004 Hdrs to WLS:[X-WebLogic-Request-ClusterInfo]=[true]
Wed Jun 9 10:44:49 2004 Hdrs to WLS:[X-WebLogic-KeepAliveSecs]=[30]
Wed Jun 9 10:44:49 2004 Hdrs to WLS:[x-weblogic-cluster-hash]=[MxxEFWztTtKnWbJArcJ2B/b7aZ0]
Wed Jun 9 10:44:49 2004 INFO: sysSend 732
Wed Jun 9 10:44:49 2004 Hdrs from WLS:[Date]=[Wed, 09 Jun 2004 09:44:49 GMT]
Wed Jun 9 10:44:49 2004 Hdrs from WLS:[Location]=[http://10.227.4.33/NewBusinessWebApp/application;JSESSIONID_NewBusinessWebApp=AGcRVXb2ZloCZUTmMEnhSEf84rmmpZ9ILgDmaki2EVmqifD1qpqh!1122206164?namespace=security&origin=index.jsp&event=link.login]
Wed Jun 9 10:44:49 2004 Hdrs from WLS:[Server]=[WebLogic WebLogic Temporary Patch
for CR105924 07/08/2003 12:14:20]
Wed Jun 9 10:44:49 2004 Hdrs from WLS:[Content-Type]=[text/plain]
Wed Jun 9 10:44:49 2004 Hdrs from WLS:[Transfer-Encoding]=[Chunked]
Wed Jun 9 10:44:49 2004 Hdrs from WLS:[Set-Cookie]=[JSESSIONID_NewBusinessWebApp=AGcRVXb2ZloCZUTmMEnhSEf84rmmpZ9ILgDmaki2EVmqifD1qpqh!1122206164;
path=/NewBusinessWebApp]
Wed Jun 9 10:44:49 2004 parsed all headers OK
Wed Jun 9 10:44:49 2004 sendResponse() : uref_p->getStatus() = '302'
Wed Jun 9 10:44:49 2004 Hdrs to client:[Date]=[Wed, 09 Jun 2004 09:44:49 GMT]
Wed Jun 9 10:44:49 2004 Hdrs to client:[Location]=[http://10.227.4.33/NewBusinessWebApp/application;JSESSIONID_NewBusinessWebApp=AGcRVXb2ZloCZUTmMEnhSEf84rmmpZ9ILgDmaki2EVmqifD1qpqh!1122206164?namespace=security&origin=index.jsp&event=link.login]
Wed Jun 9 10:44:49 2004 Hdrs to client:[Server]=[WebLogic WebLogic Temporary
Patch for CR105924 07/08/2003 12:14:20]
Wed Jun 9 10:44:49 2004 Hdrs to client:[Content-Type]=[text/plain]
Wed Jun 9 10:44:49 2004 Hdrs to client:[Transfer-Encoding]=[Chunked]
Wed Jun 9 10:44:49 2004 Hdrs to client:[Set-Cookie]=[JSESSIONID_NewBusinessWebApp=AGcRVXb2ZloCZUTmMEnhSEf84rmmpZ9ILgDmaki2EVmqifD1qpqh!1122206164;
path=/NewBusinessWebApp]
Wed Jun 9 10:44:49 2004 ============================= new request ===============================I am encountering a similiar problem. Can someone help ?
The following is my error ....
Fri Aug 05 11:49:02 2005 ========================== New Request ==========================
Fri Aug 05 11:49:02 2005 SSL is not being used
Fri Aug 05 11:49:02 2005 resolveRequest: wlforward: portal/appmanager/EpworthPortal/EpworthDesktop.wlforward
Fri Aug 05 11:49:02 2005 Request URI = [portal/appmanager/EpworthPortal/EpworthDesktop]
Fri Aug 05 11:49:02 2005 attempt #0 out of a max of 5
Fri Aug 05 11:49:02 2005 WARNING!! No good servers left in the general list, reverting back to the static list
Fri Aug 05 11:49:02 2005 Host extracted from serverlist is [EETST03A]
Fri Aug 05 11:49:02 2005 parseServerList: could not resolve hostname 'EETST03A', treating it as invalid
Fri Aug 05 11:49:02 2005 Host extracted from serverlist is [EETST03B]
Fri Aug 05 11:49:02 2005 parseServerList: could not resolve hostname 'EETST03B', treating it as invalid
Fri Aug 05 11:49:02 2005 Initializing lastIndex=0 for a list of length=2
Fri Aug 05 11:49:02 2005 general list: trying connect to ''/0/0 at line 1218 for 'portal/appmanager/EpworthPortal/EpworthDesktop'
Fri Aug 05 11:49:02 2005 INFO: New NON-SSL URL
Fri Aug 05 11:49:02 2005 *******Exception type [UNKNOWN_HOST] (null or zero-length hostname) raised at line 1545 of ..\nsapi\.\URL.cpp
Fri Aug 05 11:49:02 2005 Exception occurred for backend host '/0/0' while error while connecting to : 'UNKNOWN_HOST [os error=0, line 1545 of ..\nsapi\.\URL.cpp]: null or zero-length hostname'
Fri Aug 05 11:49:02 2005 Failed to connect to the general server :0:0, mark it BAD
Fri Aug 05 11:49:02 2005 sleeping for 2 sec at 906
Fri Aug 05 11:49:04 2005 attempt #1 out of a max of 5
Fri Aug 05 11:49:04 2005 WARNING!! No good servers left in the general list, reverting back to the static list
Fri Aug 05 11:49:04 2005 Host extracted from serverlist is [EETST03A]
Fri Aug 05 11:49:04 2005 Host extracted from serverlist is [EETST03B]
Fri Aug 05 11:49:04 2005 Initializing lastIndex=0 for a list of length=2
Fri Aug 05 11:49:04 2005 general list: trying connect to '172.17.35.51'/7001/7001 at line 1218 for 'portal/appmanager/EpworthPortal/EpworthDesktop'
Fri Aug 05 11:49:04 2005 INFO: New NON-SSL URL
Fri Aug 05 11:49:04 2005 Connection refused, error = 10022
Fri Aug 05 11:49:04 2005 Local Port of the socket is 1208
Fri Aug 05 11:49:04 2005 Remote Host 172.17.35.51 Remote Port 7001
Fri Aug 05 11:49:04 2005 general list: created a new connection to '172.17.35.51'/7001 for 'portal/appmanager/EpworthPortal/EpworthDesktop', Local port: 1208
Fri Aug 05 11:49:04 2005 WLS info in sendRequest: 172.17.35.51:7001 recycled? 0
Fri Aug 05 11:49:04 2005 URL->reallySend 449
Fri Aug 05 11:52:13 2005 *******Exception type [READ_ERROR_FROM_SERVER] (socket read failure) raised at line 197 of ..\nsapi\.\Reader.cpp
Fri Aug 05 11:52:13 2005 caught exception in readStatus: READ_ERROR_FROM_SERVER [os error=10054, line 197 of ..\nsapi\.\Reader.cpp]: socket read failure at line 775
Fri Aug 05 11:52:13 2005 PROTOCOL_ERROR: Backend Server not responding - isRecycled:0
Fri Aug 05 11:52:13 2005 *******Exception type [PROTOCOL_ERROR] (Backend Server not responding) raised at line 793 of ..\nsapi\.\URL.cpp
Fri Aug 05 11:52:13 2005 NOT failing over after sendRequest() due to error 10054
Fri Aug 05 11:52:13 2005 request [portal/appmanager/EpworthPortal/EpworthDesktop] did NOT process successfully
Message was edited by:
bennyng -
Apache-WebLogic Bridhge Failures
Hi all, We are also having a similar setup, except that we are using WebLogic Server 5.1. We had this problem when the traffic in our production site is high. We thought we had solved the problem when we applied Service Pack 5. But after behaving for sometime if the data upload goes beyond say 5 MB the Bridge fails, but surprisingly the actual data gets uploaded. This happens when the traffic is slightly high on the site. We have set the parameter ConnectionTimeoutSecs in weblogic.conf which is called by the httpd.conf to 900. Still we are having this bridge failure problem once in a while. We are not sure what to do, is there anybody who has faced this problem and managed to solve it ? if so please SOS.Cheers,Aejaz
We don't have apache plugin for Win NT.
check our platform support page.
Kumar
ASIF wrote:
where can i get apache-weblogic PLUGIN for
WINNT -
Apache - weblogic connector query
I am configuring Apache 2.0 - Weblogic server 8.1 on Linux.
In this setup, Apache is the Web Server and Weblogic is the App Server. We
are using the library "mod_wl_20.so" to connect Apache and Weblogic.
Weblogic default port : 7001
Apache default port : 80
After configuring this setup, the request are getting correctly routed
through the apache server port. i.e. the URL
http://localhost:80/gepam/jsp/test.jsp gets the proper request from
weblogic.
But at the sane time , we are also able to hit the site using the weblogic
server port i.e. http://localhost:7001/gepam/jsp/test.jsp . We want to
disable this weblogic web server port.
Any clue on how to go about. Your valuable suggestion is highly appreciated.We don't have apache plugin for Win NT.
check our platform support page.
Kumar
ASIF wrote:
where can i get apache-weblogic PLUGIN for
WINNT -
Weblogic plugin for Apache 2.2
Where should I download the weblogic plugin for Apache 2.2?
I'm running WL 10.3 on windows xp.
Please provide the link .
Thanks,
sriposHi
On this link, click Accept license and go all the way to bottom and click on All Versions link named next to "Oracle WebLogic Server Web Server Plugins 1.1"
http://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-main-097127.html
That click should open this below link. Accept the license and Download the zip file. Then follow the instructions.
http://www.oracle.com/technetwork/middleware/ias/downloads/wls-plugins-096117.html
Thanks
Ravi Jegga -
Installing weblogic plugin in apache running on RedHat Linux WS4
I want to install weblogic plugin in apache running on redhat Linux WS4. I have read the documentation. In my local weblogic,under this directory C:\bea81SP4\weblogic81\server\lib\linux
I see the following three folders
a) i686
b) ia64
c) s390.
I dont know which folder to choose. Please advise.Hi,
according to your processer you have to chose mod_ ..so file
if you got error with sp4 plug in file use the plug in file from the another version
plug in files are compatable
Regards,
Prasanna Yalam -
Apach 2.2.21 using Weblogic Plugin (10.3.5)
Hi All,
I have configure apache using Weblogic Plugin and it work for http. So moving forward, i am trying to configure a 2 way SSL with weblogic plugin and have configure all the oracle wallet.
I got my plugin from my weblogic server /opt/bea/wlserver_10.3/server/plugin/solaris/sparc/. The version of my weblogic is 10.3.5.
When i do a apachectl -t to check the syntax and i got the following errors:
# /usr/local/apache2/bin/apachectl -t
Syntax error on line 475 of /usr/local/apache2/conf/httpd.conf:
Invalid command 'WLSSLWallet', perhaps misspelled or defined by a module not included in the server configuration
Below is the configuration files on my httpd.conf
<IfModule mod_weblogic.c>
WebLogicCluster server1:4567,server2:4567,server1:1234,server2:1234
SecureProxy ON
WLSSLWallet /opt/certificate/oracle_wallet
</IfModule>
<Location /something>
SetHandler weblogic-handler
PathTrim /
Debug ON
WLLogFile /tmp/web_log.log
</Location>
My oracle wallet is as follows:
# ./orapki wallet display -wallet /opt/certificate/oracle_wallet/
Oracle PKI Tool : Version 11.1.1.4.0
Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
Requested Certificates:
Subject: CN=somehost,DC=example,DC=com
User Certificates:
Trusted Certificates:
Subject: CN=somehostCA,DC=example,DC=com
Subject: OU=Class 3 Public Primary Certification Authority,O=VeriSign\, Inc.,C=US
Subject: CN=GTE CyberTrust Global Root,OU=GTE CyberTrust Solutions\, Inc.,O=GTE Corporation,C=US
Subject: CN=somehost,DC=example,DC=come
Subject: OU=Class 2 Public Primary Certification Authority,O=VeriSign\, Inc.,C=US
Subject: OU=Class 1 Public Primary Certification Authority,O=VeriSign\, Inc.,C=US
Could this be a bug on the weblogic plugin ? Please advise.
Edited by: 885587 on Sep 15, 2011 9:53 PMMy apache is compile with the following flags, if that matters to anyone. Advance thanks to anyone who reply this thread =)
./configure prefix=/usr/local/apache2 enable-modules=all enable-mods-shared=all enable-ssl with-ssl enable-so --enable-rewrite -
Hi All,
I have installed apache well and as per the documents i could read that the apache related plugins are present under weblogic_home/server/bin
but its clear in the apache guide that the plugins are not available for weblogic 10.3 release.which we have to download externally and put it in the apache server.
can some one let me know where can i find these zip files which contain mod_jk plugins
Thanks in Advance....I find this very confusing, finding the Apache plugins for 10.3.x. After searching around, looking into the download categories that I would think are relevant, I found nothing. I don't really need support information, support site requires its own logins and everything, and I just want that little piece of software. I ended up finding the direct link on http://vikashazrati.wordpress.com/2009/10/10/apache-weblogic-ubuntu/. This is very much not encouraging...
-
Hi,
We're experiencing an issue when we use the Apache HTTP plugin supplied by WebLogic
for Apache 2.0. After starting Apache, everything works fine for a while and goes
south after a period that is anywhere from 5 minutes to an hour. At this point,
Apache will allow connections, but will not respond to requests. This behavior
is seen on all URL namespaces, not just those mapped into the WebLogic plugin.
Eventually, this message is writte to error_log many times over:
[error] READ_TIMEOUT [os error=0, line 199 of ../nsapi/Reader.cpp]: no read after
300 seconds
I have seen traffic on this group about similar issues with the plugin that came
with WL 6.0, bu nothing about this plugin. Eventually, the problem corrects itself
and the server begins responding normally.
We are using Apache 2.0.46 on Linux.
Thanks.
-brianI asked the same question and was told that this is not possible. There is only one way that the plugin can balance requests and that is using the round robin approach. If you talk to support, ask them to submit a feature request. ...I was told that if enough people request more options for load balancing, they may build it into the plug-in.
-Brad -
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 -
Keep-alive problem in apache/weblogic
I have a server with Weblogic 5.1 and Apache
1.3.12 with the weblogic-plugin.
When apache serves pages, the keep-alive works
fine.
When weblogic serves pages, the keep-alive works
fine.
When i added a handler in apache so all requests
to apache should go to weblogic through the
plugin, the keep-alive stopped working.
Anyone seen this before?
Gunnarsend a message to [email protected] with as much info as you can. i d
on't think they're watching the newsgroups for bug reports.
maybe someone who frequents the newsgroups regularly could do a FAQ...
anyone actually got time?
"Gunnar" <[email protected]> wrote in message
news:3a51995e$[email protected]..
In case anyone wondered:
I tried with sp5 and sp7 and everything worked fine. It seems sp6 is
buggy...
Gunnar <[email protected]> skrev i
meldingsnyheter:3a41e618$[email protected]..
I have a server with Weblogic 5.1 and Apache
1.3.12 with the weblogic-plugin.
When apache serves pages, the keep-alive works
fine.
When weblogic serves pages, the keep-alive works
fine.
When i added a handler in apache so all requests
to apache should go to weblogic through the
plugin, the keep-alive stopped working.
Anyone seen this before?
Gunnar
Maybe you are looking for
-
hello friends, Please give me the steps to config outboudn idoc (out from R/3). just installed the 2004s. what steps to do. what i know 1) create port in xi 2) create rfc in xi to connect to R/3 How to create RFC in R/3 ( what connection i have to ch
-
Customizing List Selection Indication
Hello Everyone, I would like to customize the way the List shows a selected item. The default implementation is to highlight the background. I would like to change that to a glow filter around the border. The default implementation for the "Ite
-
Best Practice for naming share point URL
Hi, Could you please help on this. If we have, Site Name : SharePoint Sub Site URL : SharePoint-Sub-Site or SharePoint_Sub_Site (I would prefer one of these two options) which option is best ( - or _) as per the best practice. I do not want to keep
-
Every time I create a Table of Contents in an InDesign document it works and looks beautiful but once I close the document it cannot be opened again. Lost forever. Any ideas?
-
Can't download previously purchased Elements on new Macbook
I purchased Photoshop Elements 12 in November 2013 and downloaded it to my Macbook Pro. I recently bought a new Macbook and wanted to install this previously purchased version of elements. I went to my order history on the Adobe site and pressed down