Installing Apache-Weblogic Plug-in on RedHat 7.0
I am trying to install the apache-weblogic plug-in on redhat 7.0
I modifed my httpd.conf with the following lines:
LoadModule weblogic_module /usr/lib/apache/mod_wl.so
AddModule mod_weblogic.c
<Location /weblogic>
SetHandler weblogic-handler
PathTrim /weblogic
ErrorPage http://www.yahoo.com
</Location>
<Files *.jsp>
SetHandler weblogic-handler
</Files>
<Ifmodule mod_weblogic.c>
WebLogicHost 10.0.0.3
WebLogicPort 7001
</IfModule>
When I try 10.0.0.3/weblogic/ I get nothing!
Looking in my httpd logs it prints a 302 error!
Help
Kevin
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by david walker ([email protected]):
Has anyone encountered problems installing Oracle 8.0.5 on Redhat 7.0. RedHat 6.2 installation works.<HR></BLOCKQUOTE>
Should be OK. I was running that combination for a while and can't recall any serious issues during install.
I am currently running 8.0.5.1 on a Mandrake 7.2 PC. The install was pretty straightforward :
- Install compatability RPMs (I used slightly higher versioned RPMs than listed in the Oracle documentation);
- Install 8.0.5.1 s/w;
- Apply Oracle patch;
- Create dbs;
- Configure listener;
- Create the startup/shutdown rc script and links.
That's about it for the installation.
I haven't put the database to much use yet, so there may be other issues ahead :)
Oh, one thing to note on that last point is that you should have a look at how the /etc/rc.d/rc file operates.
Under Mandrake 7.2 it will look for a file in /var/lock/subsystem that has the same name as the /etc/init.d script before running the stop script correctly.
This differs slightly from what I see in the *8.1.7* documentation, so might be due to a difference between mandrake and the other distributions.
FWIW here is my /etc/init.d/oracle file.
#!/bin/sh
# chkconfig: 345 99 10
# description: Oracle databases
# Source function library.
. /etc/init.d/functions
CWD=`pwd`
# See how we were called.
case "$1" in
start)
su - oracle -c '. $HOME/.oraclerc && dbstart && lsnrctl start'
touch /var/lock/subsys/oracle
stop)
su - oracle -c '. $HOME/.oraclerc && dbshut && lsnrctl stop'
rm -f /var/lock/subsys/oracle
restart)
cd $CWD
$0 stop
$0 start
echo "Usage: oracle {start|stop|restart}"
exit 1
esac
exit 0
null
Similar Messages
-
Apache - Weblogic plug-in - Segmentation fault. Please Help me!
Hi all,
Im trying to set up Apache weblogic plug-in, and im having problems with
that.
Im running Solaris 9 with Apache/1.3.26 (Unix) and Weblogic 7 with sp2.
Here is what i did:
I copied mod_wl_ssl.so from
/bea/weblogic700/server/lib/solaris/mod_wl_ssl.so to /usr/apache/libexec
Added entries in httpd.conf as
LoadModule weblogic_module /usr/apache/libexec/mod_wl_ssl.so
AddModule mod_weblogic.c
<LocationMatch "\.jsp$">
SetHandler weblogic-handler
StatPath false
</LocationMatch>
<LocationMatch "/(service1|service2|service3)/">
SetHandler weblogic-handler
StatPath false
</LocationMatch>
<IfModule mod_weblogic.c>
WebLogicHost 127.0.0.1
WebLogicPort 7001
HungServerRecoverSecs 300
ConnectTimeoutSecs 5
</IfModule>
When i access the url with out specifying port 7001 it's not working.
I checked the /var/apache/logs/error_log file. Im getting the error as
child pid 805 exit signal Segmentation Fault (11)
Am i missing anything here?
Thank you
RajaYou may want to check the certifications for Solaris 9 and the Apache plug-in at
http://e-docs.bea.com/wls/certifications/certifications/sun_solaris9.html#40366.
It looks like you will have to upgrade to at least Apache 2.0.39. We had to do
this on Solaris 8 as well.
"Raja Balasubramanian" <[email protected]> wrote:
Thank you Eric,
I will do that
Raja
"Eric Gross" <[email protected]> wrote in message
news:[email protected]...
I believe this is going to require more debugging such as attachinga
debugger(gdb) to Apache and getting a backtrace.
I suggest opening up a support case.
Regards,
Eric
"Raja Balasubramanian" <[email protected]> wrote in message
news:[email protected]...
Hi Eric,
Thank you for the replies.
I tried with the same test as you specified. Still im getting the
same
problem.
[Mon Mar 10 13:57:21 2003] [notice] child pid 1184 exit signal
Segmentation Fault (11)
Im running Solaris 9 in SPARC platform. It's a Sun E450 server.
Im using the default apache package which comes with Solaris 9. Ididn't
do
anything with apache.
Bea website says that Weblogic 7 sp2 is certified for Soalris 9.
That's
y
i
installed Solaris 9.
I tested the same on a Linux Machine (Redhat Linux 7.1 on IA). It
works
fine
without any problem.
How can i make things work?
Thank you for your kind replies
Raja
"Eric Gross" <[email protected]> wrote in message
news:[email protected]...
Looks like it should work.
Let's simplify your test:
<Location /test>
WebLogicHost 127.0.0.1
WebLogicPort 7001
Debug ALL
DebugConfigInfo ON
SetHandler weblogic-handler
</Location>
Try with just that.
Another thing is that I am unsure as to whether we have tested
with
Solaris
9. This is SPARC right? Also, can you outline the steps you took
when
building apache? Did you use GCC?
Thanks,
Eric
"Raja Balasubramanian" <[email protected]> wrote
in
message
news:[email protected]...
Hi,
Now i changed to mod_wl_ssl.so.
And i changed the httpd.conf as
LoadModule weblogic_module libexec/mod_wl_ssl.so
<IfModule mod_weblogic.c>
WebLogicHost 127.0.0.1
WebLogicPort 7001
Debug ALL
DebugConfigInfo ON
StatPath true
HungServerRecoverSecs 300
ConnectTimeoutSecs 5
</IfModule>
But im getting the same error. NO wlproxy.log file is created
in my
server.
I tried Debug ON also. Still the same.
Am i doing anything wrong?
Please help me...
Thank you
Raja
"Eric Gross" <[email protected]> wrote in message
news:[email protected]...
That means that your apache instance is compiled with -DEAPI
and
should
use
the mod_wl_ssl.so.
Can you please try to set Debug ALL and get the log in
/tmp/wlproxy.log
and
share that?
Thanks,
Eric
"Raja Balasubramanian" <[email protected]> wrote
in
message
news:[email protected]...
Hi Eric,
When im using mod_wl.so im getting warning from Apache as
[Mon Mar 10 12:41:15 2003] [warn] Loaded DSO
libexec/mod_wl.so
uses
plain Apache 1.3 API, this module might crash under
EAPI!
(please
recompile it with -DEAPI)
Thank you
Raja
"Eric Gross" <[email protected]> wrote in message
news:[email protected]...
Are you using modssl or any apache with EAPI compiled in?
Otherwise, you should be using the mod_wl.so.
As well, please set Debug ALL to see if we can get more
debug.
Thanks,
Eric
"Raja Balasubramanian" <[email protected]>
wrote
in
message
news:[email protected]...
Hi all,
Im trying to set up Apache weblogic plug-in, and im having
problems
with
that.
Im running Solaris 9 with Apache/1.3.26 (Unix) and Weblogic
7
with
sp2.
Here is what i did:
I copied mod_wl_ssl.so from
/bea/weblogic700/server/lib/solaris/mod_wl_ssl.so to/usr/apache/libexec
Added entries in httpd.conf as
LoadModule weblogic_module/usr/apache/libexec/mod_wl_ssl.so
AddModule mod_weblogic.c
<LocationMatch "\.jsp$">
SetHandler weblogic-handler
StatPath false
</LocationMatch>
<LocationMatch "/(service1|service2|service3)/">
SetHandler weblogic-handler
StatPath false
</LocationMatch>
<IfModule mod_weblogic.c>
WebLogicHost 127.0.0.1
WebLogicPort 7001
HungServerRecoverSecs 300
ConnectTimeoutSecs 5
</IfModule>
When i access the url with out specifying port 7001 it's
not
working.
I checked the /var/apache/logs/error_log file. Im getting
the
error
as
child pid 805 exit signal Segmentation Fault
(11)
Am i missing anything here?
Thank you
Raja -
How to install Apache-Weblogic brige for Windows NT 4.0
I had installed weblogic 5.1 and Apache 1.3.6 at Windows NT 4.0 SP4.Use
apache as web server ,weblogic as web application server. But I can not find
the way to install Apache-Weblogic brige, can anybody help me?That is correct. However, we plan to add ports to these other platforms in
the future.
Thanks,
Michael
Michael Girdley
WLS Product Manager
cedar z <[email protected]> wrote in message
news:8ec3s4$5pv$[email protected]..
It's seem that wl5.1 has no weblogic-to-apache brige for window NT.
zhao wrote in message <8ebo1h$2gs$[email protected]>...
I had installed weblogic 5.1 and Apache 1.3.6 at Windows NT 4.0 SP4.Use
apache as web server ,weblogic as web application server. But I can notfind
the way to install Apache-Weblogic brige, can anybody help me? -
Multiple Apache-Weblogic plug-in configurations for the same host
Hi BEA,
I have a situation where I have more than one weblogic server/cluster both using
the same Apache to proxy. Reading the Apache plug-in configuration I gather that
below should work. In Apache (httpd.conf):
<Location /path1>
SetHandler weblogic-handler
WeblogicHost app1
WeblogicPort 7001
</Location>
<Location /path2>
SetHandler weblogic-handler
WeblogicHost app2
WeblogicPort 7001
</Location>
In this case the later Location of the two works fine and the other seems like
it is just not there. (If the two are switched the other works fine...) The thing
is that, if possible, I would like to avoid splitting the two locations onto two
different VirtualHosts (which works).
Does anyone have any ideas on how to solve this and still avoid the use of multiple
VirtualHost-definitions?
Is it due to a limitation in Apache module architecture that the configuration
above does not work or is it a design choice in the plug-in?
//GG
Gunnar,
I would post this Apache proxy plug in question to the
weblogic.developer.interest.plug-in forum
Chuck Nelson
DRE
BEA Technical Support
-
Apache 1.3.12 And Apach-weblogic plug-in
Hi,
I am trying to use the Apache-weblogic server plug-in
with Apache1.3.12.
I don't seem to be getting anywhere.
Has someone tried it?
I followed the apache-bridge.html instruction but
still couldn't get it to work.
If someone has already tried it and it works
can they share relevant parts of their httpd.conf.
ThanksCan you send us the lines you have added in the httpd.conf file. Also
please
go through the instructions once again and see what have you missed. It
is just a configuration problem.
--Vinod.
samir wrote:
Hi,
I am trying to use the Apache-weblogic server plug-in
with Apache1.3.12.
I don't seem to be getting anywhere.
Has someone tried it?
I followed the apache-bridge.html instruction but
still couldn't get it to work.
If someone has already tried it and it works
can they share relevant parts of their httpd.conf.
Thanks -
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 -
Getting the version of the Apache WebLogic plug in
Hi,
Other than looking at the log files, is there a quick way to get the exact version of the current Apache plug in for WebLogic is there a command I can use?
Regards,
Alistair.Yes, you can set the DebugConfigInfo to "on" in the plugin parameters and request the bridge config page which will display the build of the plugin. Bridge config page can be requested by appending the following in any of your requests via the plugin :- http://your_host:port/path/abc.jsp?__WebLogicBridgeConfig
-
Where can i download Apache Weblogic Plugi-in
Hi,
Can any one please guide me, where can i download the Weblogic 6.1(with SP2) plugin for apache (apache version 2.0.47).
Thank you very much for your help.:-)
Best Regards,
NarenderYou have to contact Oracle support. 10.3 is the only one available from the site
-
Problem installing weblogic 6.0 on Redhat 7.1
When trying to begin the install proccess of 'WebLogic Server 6.0 with Service Pack 2 For Redhat 7.1sh filename.bin I get the following:"Preparing to install...The included VM could not be unarchived(tar). Please try to downloadthe installer again and make sure that you download using 'binary' mode. Please do not attempt to install this currently downloaded copy."I've allocated an alternate directory for use as a temporary directorywith export IATEMPDIR=tmpdirnameThis dir has over 26 gigs.Note the group name is below 8 charsDoes anyone have a solution to this? ThanksJubran
Found it. Same problem as on Oracle 8.1.7 on RedHat 7.1.
1. Install the compat* RPMs from the RedHat 7.1 CD1 and CD2. These RPMs
allow compatibility with RedHat 6.2.
2. Put the following two statements in your environment prior to running
the install.
export LD_ASSUME_KERNEL=2.2.5
. /usr/i386-glibc21-linux/bin/i386-glibc21-linux-env.sh
These two statements will allow you to run your shell in a 6.2 compatibility
mode, for glibc 2.1.3 instead of the new glibc 2.2.2 libs.
It sounds to me like Sun needs to update the JDKs to support the new glibc
and the 2.4 kernel. I'm not sure this is even BEA's problem?
Glen Austin
OmniSYS, Inc.
"Glen Austin" <[email protected]> wrote in message
news:3b2e5873$[email protected]..
I installed jdk 1.3.1 from java.sun.com on a RedHat 7.1 O/S.
Originally, I was not pointing to the JDK correctly. I fixed the PATH,
CLASSPATH, JAVA_HOME, JAVA_PATH to point to the jdk1.3.1 dir.
Then I got an error saying that cut could not be found in /usr/bin, so I
ln -s /bin/cut cut in the /usr/bin directory.
I ran the install script a 3rd time and I'm seeing a [<defunct>] for myJava
VM in a ps -aef entry, which is in the process list along with the WLS 6.0
SP1 install bin file. I will try it one more time, but it's not looking
good.
Glen Austin
"Henri Jubin" <[email protected]> wrote in message
news:3b078ede$[email protected]..
You need to install the JDK 1.3.1 to have wls 6.0 working.
The JDK could be found at the developpers zone at javasoft.
root <[email protected]> wrote:
i tried installing the wls by using the command :
sh weblogic600sp1_linux.bin
i got the message ,
"Preparing to install..."
and thats where it stops !
any ideas ??
cheers
Pac -
How can i install the Apache-WLS Plug-in on W2K?
Hello,
I want to install the apache-Wls plug-in on W2K, but following the
installing guide, i cant't find the mod_wl.so file. Even if i found it, how
can i install it on win2000? My Wls is v5.10 and the service pack 6. The
apache httpd server is v1.3
BR
Steven Zhao
Oct 17,2000Actually I am using the Tradional Chinese Version, when I try to edit the jpg file with camera raw, the system shows that there is no camera raw plug-in. The cmaera raw never work.
-
Guide to install Oracle WebLogic Server 10.3 on RedHat 5
Hello buddies!
Can anybody help me to install Oracle WebLogic Server 10.3 on RedHat 5.
If anyone having Guide for that pls share wiith me..Sure. I always use the generic installer, that way the install is the same on all platforms:
1 download and install JDK 6 update 10
* http://java.sun.com/javase/downloads/index.jsp
2 download generic installer
* http://download.oracle.com/otn/bea/weblogic/server103/server103_generic.jar
3 install
* http://e-docs.bea.com/common/docs103/install/start.html#wp1074027
-Adrian -
Installing Apache as webserver
I'm working with wls 5.1 as webserver but I want to add a further tier to my
architecture installing apache and letting wls to work as application server
only.
Wich are the main steps to do this?
Wich are the main changes in weblogic.properties?
thanks to everyone.Hi Eugenio,
See "Installing the Apache-WebLogic Server Plug-in" at
http://www.weblogic.com/docs51/admindocs/apache_bridge.html for
instructions.
- Ginny
"Eugenio M. Lauro" <[email protected]> wrote in message
news:3b0b9076$[email protected]..
I'm working with wls 5.1 as webserver but I want to add a further tier tomy
architecture installing apache and letting wls to work as applicationserver
only.
Wich are the main steps to do this?
Wich are the main changes in weblogic.properties?
thanks to everyone. -
WLS 9.1 bug with WebLogic Plug-In Enabled?
We are currently upgrading from WLS 8.1 to WLS 9.1. We use Apache HTTP Server 2.0 on Red Hat Enterprise 4 with the weblogic plugin. We have the plugin configured properly as the application functions properly except for calls to request.getRemoteAddr(). We have WebLogic Plug-In Enabled enabled at the cluster and server level. We verified MBeans reported true using the weblogic scripting tool in interactive mode. We see the WL-Client-Proxy-IP header in the request as expected. We've searched the newsgroups and BEA site and they mention setting the WebLogic Plug-In Enabled option as the problem. It doesn't appear to be ours.
Is there a bug or are we missing something else? If it is a bug, is there a patch? We have a workaround in place which gets the WL-Client-Proxy-IP header directly, but obviously this isn't the optimal solution for something that was working properly in 8.1.
Thank you in advance,
DanielSure! Calling directly a server is more fast then pass through a load balancer and through a webserver and through (again?) the weblogic plugin (even if it's only a lib!!!)...
Moreover you could have performance problem if you use hostname instead of IP address, cause for every client call a DNS query must be executed.
One more thing... The only one load balancer algorithm you must use is the round robin, I'm not speaking about weblogic load balancing algorithm... But about hardware load balancer above the webserver.
Regards
Antenore Gatta
Middleware Specialist
Hequa S.r.l
C.so Buenos Aires 77
20124 Milano
http://www.Hequa.it
Tel +39(0)267493078
Fax +39(0)267493079
Mobile +39 3481537897
______________________________________ -
Apache Proxy Plug-in with multiple clusters?
We are using the Apache Proxy Plug-in , the
basic question is if we can place multiple cluster
IP's in the same Location definition or do we have
to have a different definition for each cluster?
Currently we have only 1 cluster, but if we decide
to segment the large cluster into smaller clusters
this is a critical network,url question.
For example we have 4 clusters containing 2 IP:PORT pairs each.
IP1:P1,IP2:P2 <== Cluster 1
IP3:P3,IP4:P4 <== Cluster 2
IP5:P5,IP6:P6 <== Cluster 3
IP7:P7,IP8:P8 <== Cluster 4
Can we have a single location "application" that services all of these clusters?
<Location /webapp>
SetHandler weblogic-handler
WebLogicCluster IP1:P1,IP2:P2,IP3:P3,IP4:P4,IP5:P5,IP6:P6,IP7:P7,IP8:P8
</Location>
Or do we have to have distinct entries?
<Location /webapp1>
SetHandler weblogic-handler
WebLogicCluster IP1:P1,IP2:P2
</Location>
<Location /webapp2>
SetHandler weblogic-handler
WebLogicCluster IP3:P3,IP4:P4
</Location>
<Location /webapp3>
SetHandler weblogic-handler
WebLogicCluster IP5:P5,IP6:P6
</Location>
<Location /webapp4>
SetHandler weblogic-handler
WebLogicCluster IP7:P7,IP8:P8
</Location>
Regards.you should define location for each cluster.This would be a proper setup.
The setup with same location definition would work partially, all the requests would be roundrobined across all the servers (all the clusters) and most likely you wouldn't get a proper failover.(cluster1 does not know about cluster2 from weblogic perspective)
Vijay
Maybe you are looking for
-
Creative Cloud - Download error - stubborn error
This seems to be inconsistency quality assurance going on with Creative Cloud using Adobe Application Manager, I always get this stubborn - darn stubborn error message "Download error. Please contact customer support." In this case, I have no idea wh
-
HT1353 Fault on my ipod nano 2gb.
my nano when connected to mains says battery is fully charged,when dissconected the screen freezes then goes off/out,and wont turn on unless mains powered again,also when connected to computer the apple logo on screen flashes on and off also does ba
-
I have a table which has a bunch of columns and one of which is XML type. I have .xsd for the XML which I plan to insert in that XML data type. How do I write a trigger on the table to make sure that the XML follows my schema
-
Why have BT put a backdoor in the 8.1.H.J firmware...
Hi all. Some know me here because I worked out how to unlock the Home Hub 1.5 and 2 so that they can be recycled and used on non BT connections. Some don't like me because I talk straight, which is what I am going to do now. This is a question for th
-
Oracle 11gr2 Cluster startup Sequences
Hi, What is the Sequences of starting Oracle RAC 11gr2 services?