Configuring b2b/transportServlet on another HTTP server
Hi All,
Here we have a strange requirement
Actually we are trying to configure B2B with DMZ in place
Our approach follows like
B2B should be within Oracle firewall and HTTP server will be in DMZ
we will open required ports on firewall to have communication between HTTP and B2B instance
Now HTTP server sits between remote TP and host B2B
To make above configuration possible
I am thinking whether it is possibe to host 'b2b/transportServlet' which comes with B2B on the HTTP server sits in DMZ
Any ideas would be great and helpful
Thanks
-Praveen
But Ramesh
Our main intention is not high availability configuration fro B2B
Its just connecting to B2B(in Firewall) from OHS(in DMZ)
After going through the doc what I understood is
Whole components should be in Active-Active topology
For this to happen we need atleast 2-mid tiers running B2B instances
Obviously which we are not having
Thanks
-Praveen
Similar Messages
-
Installed Forms 11g ok but do I need another HTTP Server to run APEX?
Friends,
I have posted this Installed Forms 11g ok but do I need another HTTP Server to run APEX? over in the Forms forum. I'm not sure if it's best suited to here?
I'm not chasing for an answer, just trying to find the correct place for my question.
Thanks
IanThe answer from a software licensing perspective depends on the licening model you are on. If Unified Workspace Licensing (UWL), then you already have license entitlement to CUP under the Business Edition of that licence program. If you are on a DLU or UCL-based license program, CUP is seperately licensed.
You will need s seperate MCS server.
Softphones again depend on your license schema. If UWL, each user is entitled to one softphone. DLU and UCL each charge for softphone usage seperately. -
I configure the JServ , but Oracle HTTP Server doesn't work agian
my Oracle HTTP Server doesn't work after i've configured the JServ by Oracle Enterprise Manager.
when i run flowing command :
D:\oraias\dcm\bin>dcmctl getstate -v
and Error message : "ADMN-100999 Base Exception:
java.lang.ClassCastException:java.lang.Boolean" has shown.
and i navigate Enterprise Manager web site these Error Message showing:
"Your browser or operating system is not a supported client configuration for this version of Enterprise Manager. Using Enterprise Manager with your current client configuration may result in incorrect display of data or incorrect updates to configuration settings. See the release notes for information on supported client configurations. Root Cause: java.lang.Boolean. java.lang.Boolean"
how can i do? please help me.
THXThe key message -
mod_plsql: /pls/htmldb/htmldb_login HTTP-503 ORA-12541
Looking up that error gives -
[jes@spdb1 ~]$ oerr ora 12541
12541, 00000, "TNS:no listener"
// *Cause: The connection request could not be completed because the listener
// is not running.
// *Action: Ensure that the supplied destination address matches one of
// the addresses used by the listener - compare the TNSNAMES.ORA entry with
// the appropriate LISTENER.ORA file (or TNSNAV.ORA if the connection is to
// go by way of an Interchange). Start the listener on the remote machine.So it looks like the listener isn't running for your database to me (i.e. "lsnrctl start") -
Configuring UI service using IBM HTTP server
Hi,
I am doing an install of 9.2.1. WebSphere has been used as the app server throughout the installation. When I go to configure UI services (web analysis etc) I have to enter the location of the IBM http server. However, I do not know what file to use. I have also heard it is a separate install??
I would appreciate any help.
Thanks,
NathanHi,
I think you have to install the IBM http server prior to the configuration, you can download it from http://www-01.ibm.com/software/webservers/httpservers/
Cheers
John
http://john-goodwin.blogspot.com/ -
Move apex to another http server "Error on Page"
Hi,
I runing apex 2.2 on an oracle http server, but now I have installed collaboration suite on the same server and want to move my apex. Can't get it working the browser says "Error on page", the login button is not working and strange fonts.
I hade moved image directory and created the marvel.conf + included in http.conf.
http error log shows entries:
File does not exist: /oracle/product/ocs_app/Apache/Apache/htdocs/calendar/images/javascript/htmldb_html_elements.js
but my marvel.conf has:
Alias /i/ "/oracle/product/http/Apache/Apache/images/"
Have tried to copy images also to /oracle/product/ocs_app/Apache/Apache/htdocs/calendar/ the errors disappears from log file but browser still shows “Error on Page”
Can anyone help, please?Hi Praveen,
Looks like a Reverse Proxy solution where you have one HTTP server in DMZ and one behind the firewalls. Please check Apache docs for Reverse Proxy. You can also use Web Cache for this purpose, or use a Hardware Load Balancer.
Regards,
Martin -
WLS is blocked when contacting another http server
Hi,
I have developed a servlet in WLS. It must communicates with another
over an HTTP request. For that I have used :
- URLConnection,
- URL,
- DataOutputStream
Everything works well but when the targeted server is not available, WLS
is completely blocked by a single user. When the targeted server is
available again, WLS begin reworks well.
I don't see where I can put a timeout when using URL... objects ?
Has anyone an idea ?
Thanks for your help,
Manuel.It is cerainly possible (but killing the thread is not a very good idea - if it
fails to make HTTP connection it's better to let it wait until default timeout
expires and return from it's run() method).
Probably better solution (for now) will be to implement your own HTTP handler
which allows you to specify connect and wait-for-response timeouts.
Daniel Hoppe <[email protected]> wrote:
Hi,
I'm waiting for this flag as well ;-). If this was not a server-side
problem I'd try the following:
Start a thread which tries to build establish the connection / read from
the URL. When the thread has successfully finished, set a flag. The
method starting the thread can loop / wait until a time-out value has
been reached and check the flag on each loop. If the thread has not set
the flag after your timeout value, you can kill the thread and either
retry or throw an exception. If the flag has been set, your input has
been read and you can continue.
I'm using this approach on the clientside quite successfully, but people
alway warn of starting threads within weblogic. Maybe something like
your 'long-running-task-in-weblogic' pattern could be used to achieve
something similar on the serverside.
Cheers,
Daniel--
Dimitri -
Problme in HTTP Server Configuration
I have installed APEX on 9i DataBase. I have configured and Oracle 10g AS http server (That http server is installed on another machine)
The http server is workig rightly. With only one problem. And the problem is that there are some links in apex Admin like
Instance setting
Security etc.
When I click on these links then an error is displayed.
"Page not found"
for diagnosis purposes I have configured my http server to an other instance of apex. Is is working fine there
Wht is the problem.Here is the entyr of the webserver
Mon Jul 02 10:05:48 2007] [error] [client 10.8.8.212] [ecid: 1183352748:172.16.8.211:4232:3576:563,0] mod_plsql: /pls/apex/f HTTP-404
ORA-06502: PL/SQL: numeric or value error\nORA-06512: at line 56\n -
Hi all,
My configuration is as follows: I have an iPlanet web-server that uses a WebLogic
6.1 (sp1) server to proxy requests to another HTTP server. The HTTP request runs
for 120 seconds. This causes Weblogic to timeout after a while. The error I get
is as follows:
<Aug 25, 2003 3:37:09 PM GMT+00:00> <Warning> <HttpClient> <Couldn't open connection
java.net.ConnectException: Connection timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:320)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:133)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:120)
at java.net.Socket.<init>(Socket.java:273)
at java.net.Socket.<init>(Socket.java:127)
at weblogic.net.http.HttpClient.openServer(HttpClient.java:194)
at weblogic.net.http.HttpClient.openServer(HttpClient.java:254)
at weblogic.net.http.HttpClient.<init>(HttpClient.java:117)
at weblogic.net.http.HttpClient.New(HttpClient.java:149)
at weblogic.net.http.HttpURLConnection.connect(HttpURLConnection.java:109)
at com.db.gmr.dcm.DebtIssueServlet.getVectorFromConnection(DebtIssueServle
t.java:285)
at com.db.gmr.dcm.IssuesUSThread.run(IssuesUSThread.java:29)
>
I get the same error when I added the following plug-in configuration parameters
(in obj.conf):
ConnectTimeoutSecs="170" ConnectRetrySecs="170".
What do I need to do to extend this timeout? Any help you can provide will be
greatly appreciated..
Thanks
ManishHi all,
My configuration is as follows: I have an iPlanet web-server that uses a WebLogic
6.1 (sp1) server to proxy requests to another HTTP server. The HTTP request runs
for 120 seconds. This causes Weblogic to timeout after a while. The error I get
is as follows:
<Aug 25, 2003 3:37:09 PM GMT+00:00> <Warning> <HttpClient> <Couldn't open connection
java.net.ConnectException: Connection timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:320)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:133)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:120)
at java.net.Socket.<init>(Socket.java:273)
at java.net.Socket.<init>(Socket.java:127)
at weblogic.net.http.HttpClient.openServer(HttpClient.java:194)
at weblogic.net.http.HttpClient.openServer(HttpClient.java:254)
at weblogic.net.http.HttpClient.<init>(HttpClient.java:117)
at weblogic.net.http.HttpClient.New(HttpClient.java:149)
at weblogic.net.http.HttpURLConnection.connect(HttpURLConnection.java:109)
at com.db.gmr.dcm.DebtIssueServlet.getVectorFromConnection(DebtIssueServle
t.java:285)
at com.db.gmr.dcm.IssuesUSThread.run(IssuesUSThread.java:29)
>
I get the same error when I added the following plug-in configuration parameters
(in obj.conf):
ConnectTimeoutSecs="170" ConnectRetrySecs="170".
What do I need to do to extend this timeout? Any help you can provide will be
greatly appreciated..
Thanks
Manish -
Hi All,
My group has an old web-based application using Servlet 2.0 specs that needs to be migrated to Servlet 2.3+ specs. The Servlet 2.0 specs does not have a concept of webapp context. Therefore, this application has hard-coded a lot of URL, which assume it is using the "/" root context.
Since the "/" root context in HTTP server may be used by other applications, it may be better to create another HTTP Server component.
The OAS 9i and 10g do not allow administrators to add another HTTP Server using the web-based EM.
Instead of creating virtual hosts based on port number, is there a way to create multiple HTTP Server components on a OAS middle-tier instance?
Does it make sense to create a multiple HTTP Server components managed by DCM?
Thanks.Stefan,
Yes, I am planning to use a Cisco CSS loadbalancer to load request to multiple OAS instances on several hosts.
Also, I am looking into OracleAS Cluster based on DB repository. I hope to use the OAS cluster for management and configuration for multiple OAS instnaces (i.e. all J2EE/WebCache instances on separate hosts). However, I have found that the OAS cluster behaves very differently than what I have thought.
Here are what I have done:
1. Create an OAS cluster with two J2EE/WebCache instances in similar hosts. (Both instances have exactly the same OAS components, HTTP Server and OC4J).
2. On host1, create a new OC4J component called "OC4J_Dev1".
3. On host1, deploy a J2EE application (i.e. helloworld.ear) to "OC4J_Dev1" component. (The helloworld.ear has only 1 web-app).
Here are the results:
1. I am able to access the helloworld webapp on the browser (e.g. http://host1/helloworld/helloworld.jsp ).
2. I am unable to see the "OC4J_Dev1" component on the host2, which is belong to the same OAS cluster as host1.
3. I am unable to access the host2's helloworld web-app (e.g. http://host2/helloworld/helloworld.jsp ).
All the hosts and ports are correct. I expect the OAS cluster will distribute the host1 configuration to host2.
Do you know of any good reference of the OAS cluster? I am trying to look through the OAS documentation.
Thanks. -
Error starting up ApEx's Oracle HTTP server
Hello.
I have just configured a brand new Oracle HTTP server on a brand new ApEx database. When I try to start the server, it doesn't start and I see errors in the log files.
dads.conf in Apache/modplsql/conf directory:
Alias /i/ "/u01/app/oracle/product/10.2.0/http/Apache/images/"
AddType text/xml xbl
AddType text/x-component htc
<Location /pls/apex>
Order deny,allow
PlsqlDocumentPath docs
AllowOverride None
PlsqlDocumentProcedure wwv_flow_file_mgr.process_download
PlsqlDatabaseConnectString zemple:1521:orp244a.<my domain here>.com ServiceNameFormat
PlsqlNLSLanguage AMERICAN_AMERICA.WE8ISO8859P1
PlsqlAuthenticationMode Basic
SetHandler pls_handler
PlsqlDocumentTablename wwv_flow_file_objects$
PlsqlDatabaseUsername APEX_PUBLIC_USER
PlsqlDefaultPage apex
PlsqlDatabasePassword <my password here>
PlsqlRequestValidationFunction wwv_flow_epg_include_modules.authorize
Allow from all
</Location>
orp244a is a 10.2.0.4 database into which ApEx has been installed per the install guide with no errors. The Oracle HTTP server is 10.2.0.1. Both run on Zemple. I have substituted the domain name and the password for APEX_PUBLIC_USER account with <my domain here> and <my password here>, respectively, for security reasons.
When I check http://zemple.<my domain here>:7777, I get the standard Oracle HTTP Server page. But when I check http://zemple.<my domain here>:7777/pls/apex I get the "Page cannot be found" error.
error_log in Apache/logs directory:
[Mon Mar 16 14:50:59 2009] [notice] Oracle-Application-Server-10g/10.1.2.0.2 Oracle-HTTP-Server configured -- resuming normal operations
[Mon Mar 16 14:50:59 2009] [notice] Accept mutex: fcntl (Default: fcntl)
[Mon Mar 16 14:51:07 2009] [error] [client 10.222.137.7] [ecid: 1237233067:10.220.17.126:21396:0:2,0] File does not exist: /u01/app/oracle/product/10.2.0/http
/Apache/Apache/htdocs/pls
[Mon Mar 16 14:51:55 2009] [error] [client 10.222.137.7] [ecid: 1237233115:10.220.17.126:21399:0:2,0] mod_plsql: /pls/apex/apex HTTP-404 ORA-06502: PL/SQL: nu
meric or value error\nORA-06512: at "SYS.OWA_MATCH", line 41\nORA-06512: at line 18\n
[Mon Mar 16 14:51:59 2009] [error] [client 10.222.137.7] [ecid: 1237233119:10.220.17.126:21399:0:4,0] mod_plsql: /pls/apex/apex HTTP-404 ORA-06502: PL/SQL: nu
meric or value error\nORA-06512: at "SYS.OWA_MATCH", line 41\nORA-06512: at line 18\n
Any idea what my problem might be?
Thank You
BorisThe modplsql/logs directory is completely empty.
The stop and start of the http server is clean - no errors reported.
The main log in Apache/Apache/logs directory is not big, since it is a brand new install of the http server. Here is the complete log:
[Mon Mar 16 13:45:38 2009] [notice] FastCGI: process manager initialized (pid 7879)
[Mon Mar 16 13:45:39 2009] [notice] Oracle-Application-Server-10g/10.1.2.0.2 Oracle-HTTP-Server configured -- resuming normal operations
[Mon Mar 16 13:45:39 2009] [notice] Accept mutex: fcntl (Default: fcntl)
[Mon Mar 16 14:45:06 2009] [notice] FastCGI: process manager initialized (pid 18854)
[Mon Mar 16 14:45:07 2009] [notice] Oracle-Application-Server-10g/10.1.2.0.2 Oracle-HTTP-Server configured -- resuming normal operations
[Mon Mar 16 14:45:07 2009] [notice] Accept mutex: fcntl (Default: fcntl)
[Mon Mar 16 14:45:56 2009] [error] [client 10.222.137.7] [ecid: 1237232756:10.220.17.126:18862:0:1,0] mod_plsql: /pls/apex/apex_admin HTTP-404 ORA-06502: PL/S
QL: numeric or value error\nORA-06512: at "SYS.OWA_MATCH", line 41\nORA-06512: at line 18\n
[Mon Mar 16 14:46:32 2009] [error] [client 10.222.137.7] [ecid: 1237232792:10.220.17.126:18866:0:1,0] File does not exist: /u01/app/oracle/product/10.2.0/http
/Apache/Apache/htdocs/pls/
[Mon Mar 16 14:46:38 2009] [error] [client 10.222.137.7] [ecid: 1237232798:10.220.17.126:18860:0:2,0] File does not exist: /u01/app/oracle/product/10.2.0/http
/Apache/Apache/htdocs/pls/
[Mon Mar 16 14:46:45 2009] [error] [client 10.222.137.7] [ecid: 1237232805:10.220.17.126:18866:0:2,0] File does not exist: /u01/app/oracle/product/10.2.0/http
/Apache/Apache/htdocs/pls/
[Mon Mar 16 14:50:58 2009] [notice] FastCGI: process manager initialized (pid 21392)
[Mon Mar 16 14:50:59 2009] [notice] Oracle-Application-Server-10g/10.1.2.0.2 Oracle-HTTP-Server configured -- resuming normal operations
[Mon Mar 16 14:50:59 2009] [notice] Accept mutex: fcntl (Default: fcntl)
[Mon Mar 16 14:51:07 2009] [error] [client 10.222.137.7] [ecid: 1237233067:10.220.17.126:21396:0:2,0] File does not exist: /u01/app/oracle/product/10.2.0/http
/Apache/Apache/htdocs/pls
[Mon Mar 16 14:51:55 2009] [error] [client 10.222.137.7] [ecid: 1237233115:10.220.17.126:21399:0:2,0] mod_plsql: /pls/apex/apex HTTP-404 ORA-06502: PL/SQL: nu
meric or value error\nORA-06512: at "SYS.OWA_MATCH", line 41\nORA-06512: at line 18\n
[Mon Mar 16 14:51:59 2009] [error] [client 10.222.137.7] [ecid: 1237233119:10.220.17.126:21399:0:4,0] mod_plsql: /pls/apex/apex HTTP-404 ORA-06502: PL/SQL: nu
meric or value error\nORA-06512: at "SYS.OWA_MATCH", line 41\nORA-06512: at line 18\n
[Mon Mar 16 15:01:46 2009] [error] [client 10.222.137.7] [ecid: 1237233706:10.220.17.126:21399:0:9,0] File does not exist: /u01/app/oracle/product/10.2.0/http
/Apache/Apache/htdocs/pls/htmldb
[Mon Mar 16 15:01:53 2009] [error] [client 10.222.137.7] [ecid: 1237233713:10.220.17.126:21399:0:11,0] mod_plsql: /pls/apex/apex HTTP-404 ORA-06502: PL/SQL: n
umeric or value error\nORA-06512: at "SYS.OWA_MATCH", line 41\nORA-06512: at line 18\n
Thank You
Boris -
Does HTTP server needs to running??
I am following Oracle by example documents to configure Streams. Does Oracle HTTP server needs to be running in order to setup Streams successfully?? Or it is not relate?? thanks...
Oracle streams only needs packages and views in the database.
Streams Contents / Search / Index / PDF
http://download-east.oracle.com/docs/cd/B10501_01/server.920/a96571.pdf
Joel P�rez -
Virtual Hosts in Apache HTTP Server
How to configure virtual hosts in Apache HTTP Server httpd.conf file.
If I want to access my server with some other name(alias), how can I do this ?
Suggestions in this matter would be highly helpful.
Thanks
Vidhyut AroraFollowing is a note explaining how to setup
Virtual hosts.
Hope this helps
Ranga
Note:70647.1
Subject: Apache Server Virtual Hosting
Last Revision Date: 07-JUN-2001
PURPOSE
This document discusses considerations for setting up virtual hosts on an
Apache machine, to include how to get the hostname working and how to
configure Apache.
SCOPE & APPLICATION
The information in this document is intended for those who manage multiple sites
using an Apache machine.
REFERENCES
First published in Apache Week issue 31 (6th September 1996)
Last update 20th September 1998
Using Virtual Hosts
Virtual Hosts let you run multiple independent Web sites on a single host with
a single Apache setup.
One of the most important facilities in Apache is its ability to run virtual
hosts. This is now the essential way to run multiple Web services - each with
different host names and URLs - that appear to be completely separate sites.
This is widely used by ISPs, hosting sites and content providers who need to
manage multiple sites but do not want to buy a new machine for each one.
Picking an IP address
There are two types of virtual hosts: IP-based and non-IP-based. The former is
where each virtual host has its own IP address. You must have a new IP address
for each virtual host you want to set up, either from your existing allocation
or by obtaining more from your service provider. When you have extra IP
addresses, you tell your machine to handle them. On some operating systems, you
can give a single ethernet interface multiple addresses (typically with an
fconfig alias command). On other systems, you must have a different
physical interface for each IP address (typically by buying extra ethernet
cards).
IP addresses are a resource that costs money and are increasingly difficult to
get, so modern browsers can now also use 'non-IP' virtual hosts. This
lets you use the same IP address for multiple host names. When the server
receives an incoming Web connection, it does not know the hostname that was used
in the URL. However, the new HTTP/1.1 specification adds a facility where the
browser must tell the server the hostname it is using, on the Host: header. If
an older browser connects to a non-IP virtual host, it does not send the Host:
header, so the server must respond with a list of possible virtual
hosts. Apache provides some help for configuring a site for both old and new
browsers.
Picking a Hostname and Updating the DNS
Having selected an IP address, the next stage is to update the DNS so that
browsers can convert the hostname into the right address. The DNS is the system
that every machine connected to the internet uses to find the IP address of host
names. If your hostname is not in the DNS, no one can connect to
your server (except by the unfriendly IP address).
If the virtual hostname you are going to use is under your existing domain,
you can just add the record into your own DNS server. If the virtual hostname
is in someone else's domain, you must get them to add it to their DNS
server files. In some cases, you want to use a domain not yet used on the
internet, in which case you must apply for the domain name from the
InterNIC and set up the primary and secondary DNS servers for it, before adding
the entry for your virtual host.
In any of these cases, the entry you need to add to the DNS is an address record
(an A record) pointing to the appropriate IP address. For example, say you want
the domain www.my-dom.com to access your host with IP address 10.1.2.3: you
must add the following line to the DNS zone file for my-dom.com:
www A 10.1.2.3
Now, users can enter http://www.my-dom.com/ as a URL in their browsers and get
to your Web server. However, it will return the same information as if the
machine's original hostname had been used. So, the final stage is to tell Apache
how to respond differently to the different addresses.
How Apache Handles Virtual Hosts
Configuring Apache for virtual hosts is a two-stage process. First, it needs
to be told which IP addresses (and ports) to listen to for incoming Web
connections. By default, Apache listens to port 80 on all IP addresses of the
local machine, and this is often sufficient. If you have a more complex
requirement, such as listening on various port numbers, or only to specific IP
addresses, then the BindAddress or Listen directives can be used.
Second, having accepted an incoming Web connection, the server must be
configured to handle the request differently, depending on what virtual host it
was addressed to. This usually involves configuring Apache to use a different
DocumentRoot.
Telling Apache Which Addresses to Listen To
If you are happy for Apache to listen to all local IP addresses on the port
specified by the Port directive, you can skip this section. However, there are
some cases where you want to use the directives explained here:
- If you have many IP addresses on the machine but only want to run a Web
server on some of them
- If one or more of your virtual hosts is on a different port
- If you want to run multiple copies of the Apache server serving different virtual
hosts
There are two ways of telling Apache what addresses and ports to listen to:
- Use the BindAddress directive to specify a single address or port
- Use the Listen directive to any number of specific addresses or ports
For example, if you run your main server on IP address 10.1.2.3 port 80, and a
virtual host on IP 10.1.2.4 port 8000, you would use:
Listen 10.1.2.3:80
Listen 10.1.2.4:8000
Listen and BindAddress are documented on the Apache site.
Configuring the Virtual Hosts
Having gotten Apache to listen to the appropriate IP addresses and ports, the
final stage is to configure the server to behave differently for requests on
each of the different addresses. This is done using <VirtualHost> sections in
the configuration files, normally in httpd.conf.
A typical (but minimal) virtual host configuration looks like this:
<VirtualHost 10.1.2.3>
DocumentRoot /www/vhost1
ServerName www.my-dom.com
</VirtualHost>
This should be placed in the httpd.conf file. You replace the text
10.1.2.3 with one of your virtual host IP addresses. If you want to specify a
port as well, follow the IP address with a colon and the port number
(example: 10.1.2.4:8000). If omitted, the port defaults to 80.
If no <VirtualHost> sections are given in the configuration files, Apache
treats requests from the different addresses and ports identically. In terms of
setting up virtual hosts, we call the default behavior the main server
configuration. Unless overridden by <VirtualHost> sections, the main server
behaviour is inherited by all the virtual hosts. When configuring virtual
hosts, you must decide what changes to make in each of the virtual
host configurations.
Any directives inside a <VirtualHost> section apply to just that virtual host.
The directives either override the configuration give in the main server, or
supplement it, depending on the directive. For example, the DocumentRoot
directive in a <VirtualHost> section overrides the main server's DocumentRoot,
while AddType supplements the main server's mime types.
Now, when a request arrives, Apache uses the IP address and port it arrived on
to find a matching virtual host configuration. If no virtual host matches the
address and port, it is handled by the main server configuration. If it does
match a virtual host address, Apache uses the configuration of that virtual
server to handle the request.
For the example above, the server configuration used is the same as the
main server, except that the DocumentRoot is /www/vhost1, and the
ServerName is www.my-dom.com. Directives commonly set in <VirtualHost>
sections are DocumentRoot, ServerName, ErrorLog and TransferLog. Directives
that deal with handling requests and resources are valid inside <VirtualHost>
sections. However, some directives are not valid inside <VirtualHost> sections,
including BindAddress, StartSevers, Listen, Group and User.
You can have as many <VirtualHost> sections as you want. You can
leave one or more of your virtual hosts being handled by the main server, or
have a <VirtualHost> for every available address and port, and leave the main
server with no requests to handle.
VirtualHost sections for non-IP Virtual Hosts
Non-IP virtual hosts are configured in a very similar way. The IP address that
the requests arrive on is given in the <VirtualHost> directive, and the
host name is put in the ServerName directive. The difference is that there
(usually) is more than one <VirtualHost> section handling the same IP address.
For Apache to know whether a request arriving on a particular IP
address is supposed to be a name-based requests, the NameVirtualHost directive
addresses for name-based requests. A virtual host can handle more than one
non-IP hostname by using the ServerAlias directive, in addition to the
ServerName.
null -
Re-install of Oracle HTTP Server in a configured environment
OS: Oracle Enterprise Linux 5.5 64 bit
Hyperion: v11.1.2.0
Web Server1: SharedServices, Calc, EAS, APS, Planning installed and configured. They are working from URL and clients.
We ran into issues with Workspace configuration. If we have to re-install Oracle HTTP server on the web server, will it affect the current configuration adversely? In other words, do we need to start all over again?
Has anyone else run into similar or related issues? How were you able to resolve it?
This is related to another thread I have on this forum. It is related but these are different issues and we are trying to see how we can proceed while waiting for support to respond.
Configuration of Workspace failed
Any thoughts/ suggestions?
Thanks,The errors I see in the config log are:
[server1]$ grep Error configtool.log.bak15
[2010-12-01T16:44:40.106-08:00] [EPMCFG] [ERROR] [EPMCFG-05364] [oracle.EPMCFG] [tid: 19] [ecid: 0000Im^YOPRCOtmMwqIbMG1CxihS00000A,0] [SRC_CLASS: com.hyperion.foundation.config.WebServerConfigurationTaskProcessor] Error in web server configuring:[[
[2010-12-01T16:51:34.658-08:00] [EPMCFG] [ERROR] [EPMCFG-05364] [oracle.EPMCFG] [tid: 17] [ecid: 0000Im^ZxIYCOtmMwqIbMG1CxinO000008,0] [SRC_CLASS: com.hyperion.foundation.config.WebServerConfigurationTaskProcessor] Error in web server configuring:[[
[server1]$ grep ERROR configtool.log.bak15
[2010-12-01T16:44:25.648-08:00] [EPMCFG] [ERROR] [EPMCFG-02151] [oracle.EPMCFG] [tid: 19] [ecid: 0000Im^YOPRCOtmMwqIbMG1CxihS00000A,0] [SRC_CLASS: com.hyperion.hit.fusion.FusionComponent] oracleComponent is null. Component will not be provisioned.
[2010-12-01T16:44:40.106-08:00] [EPMCFG] [ERROR] [EPMCFG-07236] [oracle.EPMCFG] [tid: 19] [ecid: 0000Im^YOPRCOtmMwqIbMG1CxihS00000A,0] [SRC_CLASS: com.hyperion.cis.config.ant.apache2.OHS2Configurator] /apps/Oracle/Middleware/user_projects/epmsystem1/httpConfig/ohs/config/OHS/ohs_component/httpd.conf wasnt found. OHS wasnt configured successfully, see oraInventory logs for more details"
[2010-12-01T16:44:40.106-08:00] [EPMCFG] [ERROR] [EPMCFG-05364] [oracle.EPMCFG] [tid: 19] [ecid: 0000Im^YOPRCOtmMwqIbMG1CxihS00000A,0] [SRC_CLASS: com.hyperion.foundation.config.WebServerConfigurationTaskProcessor] Error in web server configuring:[[
[2010-12-01T16:51:18.900-08:00] [EPMCFG] [ERROR] [EPMCFG-02151] [oracle.EPMCFG] [tid: 17] [ecid: 0000Im^ZxIYCOtmMwqIbMG1CxinO000008,0] [SRC_CLASS: com.hyperion.hit.fusion.FusionComponent] oracleComponent is null. Component will not be provisioned.
[2010-12-01T16:51:34.658-08:00] [EPMCFG] [ERROR] [EPMCFG-07236] [oracle.EPMCFG] [tid: 17] [ecid: 0000Im^ZxIYCOtmMwqIbMG1CxinO000008,0] [SRC_CLASS: com.hyperion.cis.config.ant.apache2.OHS2Configurator] /apps/Oracle/Middleware/user_projects/epmsystem1/httpConfig/ohs/config/OHS/ohs_component/httpd.conf wasnt found. OHS wasnt configured successfully, see oraInventory logs for more details"
[2010-12-01T16:51:34.658-08:00] [EPMCFG] [ERROR] [EPMCFG-05364] [oracle.EPMCFG] [tid: 17] [ecid: 0000Im^ZxIYCOtmMwqIbMG1CxinO000008,0] [SRC_CLASS: com.hyperion.foundation.config.WebServerConfigurationTaskProcessor] Error in web server configuring:[[ -
Configuring Apache HTTP Server with Oracle Weblogic Server plugin
Hello friends,
I have a scenario of OIM 9.1.0.2 on Oracle Application Server 11g and Weblogic Server Apache HTTP Server.
Oracle WebLogic Server is configured in cluster (node1 and node2), also use the Oracle Weblogic Server plugin for integration with Apache.
One of the tests is to lose one of the nodes for the apache plugin redirects the node that has less overhead.
When the mode is node1 and node2 stop start mode and try to access the management console of Oracle Identity Manager, the plugin sometimes redirects to the other active node, and on another occasion shows the oracle management console identity manager without the colors of the basic look and feel.
Deputy of the Apache HTTP Server log, do you expect your comments to solve this case?
*************************************************log****************************************************
Server Details are:
OrigHostInfo [192.168.1.200]
isOrigHostInfoDNS [0]
Host [192.168.1.200]
Port [7002]
SecurePort [7004]
Mon Jan 30 22:10:43 2012 <2600713279794431> Initializing lastIndex=0 for a list of length=1
Mon Jan 30 22:10:43 2012 <2600713279794431> initJVMID: Trying to locate Primary or Secondary using SrvrInfo with JVMID [-872106207]
Mon Jan 30 22:10:43 2012 <2600713279794431> initJVMID: Found Primary 192.168.1.200:7002:7004
Mon Jan 30 22:10:43 2012 <2600713279794431> INFO: Closing SSL context
Mon Jan 30 22:10:43 2012 <2600713279794431> .....internal request /bea_wls_internal/WLDummyInitJVMIDs.....processed
Mon Jan 30 22:10:43 2012 <2600713279794431> getPreferredFromCookie: Found 1 servers
Mon Jan 30 22:10:43 2012 <2600713279794431> attempt #0 out of a max of 5
Mon Jan 30 22:10:43 2012 <2600713279794431> trying connect to PRIMARY '192.168.1.200'/7002/7004
Mon Jan 30 22:10:43 2012 <2600713279794431> getPooledConn: No more connections in the pool for Host[192.168.1.200] Port[7002] SecurePort[7004]
Mon Jan 30 22:10:43 2012 <2600713279794431> New SSL URL: match = 0 oid = 22
Mon Jan 30 22:10:43 2012 <2600713279794431> Connect returns -1, and error no set to 150, msg 'Operation now in progress'
Mon Jan 30 22:10:43 2012 <2600713279794431> EINPROGRESS in connect() - selecting
Mon Jan 30 22:10:43 2012 <2600713279794431> Setting peerID for new SSL connection
Mon Jan 30 22:10:43 2012 <2600713279794431> 0ae2 0436 0000 1b5c ...6...\
Mon Jan 30 22:10:43 2012 <2600713279794431> Local Port of the socket is 39186
Mon Jan 30 22:10:43 2012 <2600713279794431> Remote Host 192.168.1.200 Remote Port 7004
Mon Jan 30 22:10:43 2012 <2600713279794431> created a new connection to preferred server '192.168.1.200/7004' for '/xlWebApp/images/spacer.gif', Local port:39186
Mon Jan 30 22:10:43 2012 <2600713279794431> INFO: CA certificate missing basicConstraints, validation failed
Mon Jan 30 22:10:43 2012 <2600713279794431> ERROR: SSLWrite failed
Mon Jan 30 22:10:43 2012 <2600713279794431> SEND failed (ret=-1) at 793 of file ../nsapi/URL.cpp
Mon Jan 30 22:10:43 2012 <2600713279794431> *******Exception type [WRITE_ERROR_TO_SERVER] raised at line 794 of ../nsapi/URL.cpp
Mon Jan 30 22:10:43 2012 <2600713279794431> Marking 192.168.1.200:7004 as bad
Mon Jan 30 22:10:43 2012 <2600713279794431> got exception in sendRequest phase: WRITE_ERROR_TO_SERVER [os error=0, line 794 of ../nsapi/URL.cpp]: at line 3160
Mon Jan 30 22:10:43 2012 <2600713279794431> INFO: Closing SSL context
Mon Jan 30 22:10:43 2012 <2598413279794431>
================New Request: [GET /images/cab.gif HTTP/1.1] =================
Mon Jan 30 22:10:43 2012 <2598413279794431> INFO: SSL is configured
Mon Jan 30 22:10:43 2012 <2598413279794431> SSL Main Context not set. Calling InitSSL
Mon Jan 30 22:10:43 2012 <2598413279794431> INFO: SSL configured successfully
Mon Jan 30 22:10:43 2012 <2598413279794431> Using Uri /images/cab.gif
Mon Jan 30 22:10:43 2012 <2598413279794431> After trimming path: '/images/cab.gif'
Mon Jan 30 22:10:43 2012 <2598413279794431> adding prepend path: /xlWebApp/
Mon Jan 30 22:10:43 2012 <2598413279794431> The final request string is '/xlWebApp/images/cab.gif'
Mon Jan 30 22:10:43 2012 <2598413279794431> Host extracted from serverlist is [192.168.1.100]
Mon Jan 30 22:10:43 2012 <2598413279794431> Host extracted from serverlist is [192.168.1.200]
Mon Jan 30 22:10:43 2012 <2598413279794431> Initializing lastIndex=0 for a list of length=2
Mon Jan 30 22:10:43 2012 <2598413279794431> getListNode: created a new server node: id='192.168.1.100:7004,192.168.1.200:7004' server_name='OIMSERVER', port='443'
Mon Jan 30 22:10:43 2012 <2598413279794431> getPreferred: availcookie=[JSESSIONID=6RGCPnbTFRG7LBrTRpFnv1QLnQHkxkqr4pjGhhGJyrJWJ1rv86NK!-872106207!NONE]
Mon Jan 30 22:10:43 2012 <2598413279794431> Found cookie from cookie header: JSESSIONID=6RGCPnbTFRG7LBrTRpFnv1QLnQHkxkqr4pjGhhGJyrJWJ1rv86NK!-872106207!NONE
Mon Jan 30 22:10:43 2012 <2598413279794431> Parsing cookie JSESSIONID=6RGCPnbTFRG7LBrTRpFnv1QLnQHkxkqr4pjGhhGJyrJWJ1rv86NK!-872106207!NONE
Mon Jan 30 22:10:43 2012 <2598413279794431> getpreferredServersFromCookie: [-872106207!NONE]
Mon Jan 30 22:10:43 2012 <2598413279794431> primaryJVMID: [-872106207]
secondaryJVMID: [NONE]
Mon Jan 30 22:10:43 2012 <2598413279794431> No of JVMIDs found in cookie: 1
Mon Jan 30 22:10:43 2012 <2598413279794431> getPreferredFromCookie: Start Position is 0, listLen is 2
Mon Jan 30 22:10:43 2012 <2598413279794431> getPreferredFromCookie: Either JVMIDs not set or they are stale. Will try to get JVMIDs from WLS
Mon Jan 30 22:10:43 2012 <2598413279794431> initJVMID: Iterating SrvrList from position 0
Mon Jan 30 22:10:43 2012 <2598413279794431> ======internal request /bea_wls_internal/WLDummyInitJVMIDs======
initJVMID: Trying Host[192.168.1.100] Port[7004] SecurePort[7004] useSSL [1] ioTimeout [30] socketTimeout [2]
Mon Jan 30 22:10:43 2012 <2598413279794431> New SSL URL: match = 0 oid = 0
Mon Jan 30 22:10:43 2012 <2598413279794431> Connect returns -1, and error no set to 146, msg 'Connection refused'
Mon Jan 30 22:10:43 2012 <2598413279794431> Error connecting to host 192.168.1.100:7004
Mon Jan 30 22:10:43 2012 <2598413279794431> *******Exception type [CONNECTION_REFUSED] (Error connecting to host 192.168.1.100:7004 errno = 146) raised at line 1723 of ../nsapi/URL.cpp
Mon Jan 30 22:10:43 2012 <2598413279794431> initJVMID: Failed to retrieved JVMID for 192.168.1.100:7004:7004
Mon Jan 30 22:10:43 2012 <2598413279794431> initJVMID: Marked server as BAD
Mon Jan 30 22:10:43 2012 <2598413279794431> INFO: Closing SSL context
Mon Jan 30 22:10:43 2012 <2598413279794431> .....internal request /bea_wls_internal/WLDummyInitJVMIDs.....processed
Mon Jan 30 22:10:43 2012 <2598413279794431> ======internal request /bea_wls_internal/WLDummyInitJVMIDs======
initJVMID: Trying Host[192.168.1.200] Port[7004] SecurePort[7004] useSSL [1] ioTimeout [30] socketTimeout [2]
Mon Jan 30 22:10:43 2012 <2598413279794431> New SSL URL: match = 0 oid = 0
Mon Jan 30 22:10:43 2012 <2598413279794431> Connect returns -1, and error no set to 150, msg 'Operation now in progress'
Mon Jan 30 22:10:43 2012 <2598413279794431> EINPROGRESS in connect() - selecting
Mon Jan 30 22:10:43 2012 <2598413279794431> Setting peerID for new SSL connection
Mon Jan 30 22:10:43 2012 <2598413279794431> 0ae2 0436 0000 1b5c ...6...\
Mon Jan 30 22:10:43 2012 <2598413279794431> Local Port of the socket is 39188
Mon Jan 30 22:10:43 2012 <2598413279794431> Remote Host 192.168.1.200 Remote Port 7004
Mon Jan 30 22:10:43 2012 <2598413279794431> INFO: Certificate validation succeeded
Mon Jan 30 22:10:43 2012 <2598413279794431> INFO: Negotiated to cipher: 3
Mon Jan 30 22:10:43 2012 <2598413279794431> SSLWrite sent 171
Mon Jan 30 22:10:43 2012 <2598413279794431> SSLWrite completed, sent 171
Mon Jan 30 22:10:43 2012 <2598413279794431> Reader::fill() SSLRead returned: 0 290
Mon Jan 30 22:10:43 2012 <2598413279794431> URL::parseHeaders: CompleteStatusLine set to [HTTP/1.1 404 Not Found]
Mon Jan 30 22:10:43 2012 <2598413279794431> URL::parseHeaders: StatusLine set to [404 Not Found]
Mon Jan 30 22:10:43 2012 <2598413279794431> parsed all headers OK
Mon Jan 30 22:10:43 2012 <2598413279794431> Parsing cluster list: -872106207!182584374!7002!7004
Mon Jan 30 22:10:43 2012 <2598413279794431> parseJVMID: Parsing JVMID '-872106207!182584374!7002!7004'
Mon Jan 30 22:10:43 2012 <2598413279794431> parseJVMID: Actually parsing '-872106207!182584374!7002!7004'
Mon Jan 30 22:10:43 2012 <2598413279794431> ServerInfo struct for JVMID '-872106207' populated
Server Details are:
OrigHostInfo [192.168.1.200]
isOrigHostInfoDNS [0]
Host [192.168.1.200]
Port [7002]
SecurePort [7004]
Mon Jan 30 22:10:43 2012 <2598413279794431> Initializing lastIndex=0 for a list of length=1
Mon Jan 30 22:10:43 2012 <2598413279794431> initJVMID: Trying to locate Primary or Secondary using SrvrInfo with JVMID [-872106207]
Mon Jan 30 22:10:43 2012 <2598413279794431> initJVMID: Found Primary 192.168.1.200:7002:7004
Mon Jan 30 22:10:43 2012 <2598413279794431> INFO: Closing SSL context
Mon Jan 30 22:10:43 2012 <2598413279794431> .....internal request /bea_wls_internal/WLDummyInitJVMIDs.....processed
Mon Jan 30 22:10:43 2012 <2598413279794431> getPreferredFromCookie: Found 1 servers
Mon Jan 30 22:10:43 2012 <2598413279794431> attempt #0 out of a max of 5
Mon Jan 30 22:10:43 2012 <2598413279794431> trying connect to PRIMARY '192.168.1.200'/7002/7004
Mon Jan 30 22:10:43 2012 <2598413279794431> getPooledConn: No more connections in the pool for Host[192.168.1.200] Port[7002] SecurePort[7004]
Mon Jan 30 22:10:43 2012 <2598413279794431> New SSL URL: match = 0 oid = 22
Mon Jan 30 22:10:43 2012 <2598413279794431> Connect returns -1, and error no set to 150, msg 'Operation now in progress'
Mon Jan 30 22:10:43 2012 <2598413279794431> EINPROGRESS in connect() - selecting
Mon Jan 30 22:10:43 2012 <2598413279794431> Setting peerID for new SSL connection
Mon Jan 30 22:10:43 2012 <2598413279794431> 0ae2 0436 0000 1b5c ...6...\
Mon Jan 30 22:10:43 2012 <2598413279794431> Local Port of the socket is 39189
Mon Jan 30 22:10:43 2012 <2598413279794431> Remote Host 192.168.1.200 Remote Port 7004
Mon Jan 30 22:10:43 2012 <2598413279794431> created a new connection to preferred server '192.168.1.200/7004' for '/xlWebApp/images/cab.gif', Local port:39189
Mon Jan 30 22:10:43 2012 <2598413279794431> INFO: CA certificate missing basicConstraints, validation failed
Mon Jan 30 22:10:43 2012 <2598413279794431> ERROR: SSLWrite failed
Mon Jan 30 22:10:43 2012 <2598413279794431> SEND failed (ret=-1) at 793 of file ../nsapi/URL.cpp
Mon Jan 30 22:10:43 2012 <2598413279794431> *******Exception type [WRITE_ERROR_TO_SERVER] raised at line 794 of ../nsapi/URL.cpp
Mon Jan 30 22:10:43 2012 <2598413279794431> Marking 192.168.1.200:7004 as bad
Mon Jan 30 22:10:43 2012 <2598413279794431> got exception in sendRequest phase: WRITE_ERROR_TO_SERVER [os error=0, line 794 of ../nsapi/URL.cpp]: at line 3160
Mon Jan 30 22:10:43 2012 <2598413279794431> INFO: Closing SSL context
Thanks"One of the tests is to lose one of the nodes for the apache plugin redirects the node that has less overhead."
Note that the plug-in does a round robin load balancing, for example, in the case of three server (1,2,3) it does 1-2-3-1-2-3-1...
with server 3 going down it does 1-2-1-2-1...
An example configuration (with SSL off) looks as follows:
LoadModule weblogic_module "/home/oracle/weblogic12.1.1/apache/modules/mod_wl.so"
<IfModule weblogic_module>
ConnectTimeoutSecs 10
ConnectRetrySecs 2
DebugConfigInfo ON
WLSocketTimeoutSecs 2
WLIOTimeoutSecs 300
Idempotent ON
FileCaching ON
KeepAliveSecs 20
KeepAliveEnabled ON
DynamicServerList ON
WLProxySSL OFF
</IfModule>
<Location /LoadTest6>
SetHandler weblogic-handler
WebLogicCluster 172.31.0.175:7002,172.31.0.113:7003
</Location>Also see the complete example here: http://middlewaremagic.com/weblogic/?p=7795
"the plugin sometimes redirects to the other active node"
This is somewhat strange, do you have session binding turned off?
"and on another occasion shows the oracle management console identity manager without the colors of the basic look and feel."
This could happen due to mime types (not really sure just a hunch). Here is a general story on this concept: https://developer.mozilla.org/en/Properly_Configuring_Server_MIME_Types
and the apache module: http://httpd.apache.org/docs/2.2/mod/mod_mime.html -
Http server to configure mod plsql for creating DAD required by Workflow
Hi,
I have a question.
Actually, I am working on Oracle Workflow 2.6.3, which need the Oracle HTTP server to configure the DAD.
I have already installed Oracle HTTP server (which called Apache Standalone 10.1.2.0.0) using the Oracle Database10g Companion Products 10.2.0.1.0 CD on my Windows 2000 SP4.
At the end of the installation, it refers to http://<computer_name>:7777
to open the HTTP server page.
It seems work fine that it showed the Welcome page of HTTP Server.
But I could'nt do anything of using the mod_plsql components nor another
Modules (mods) which showed in the welcome page
since there is no link to such things.
BTW, I have experienced with the HTTP server previously on Oracle9i
When I open the HTTP server page, it showed links to some Modules (mods)
components such as mod_plsql, etc.
Does it need to be configured or anything else to use the links like in Oracle9i?
Or the new Oracle HTTP server does not support for this thing?
Please, can anybody help me to solve this problem.
Thanks,
Buntorolook at
http://download-west.oracle.com/docs/cd/B14117_01/server.101/b12255/confmods.htm
hope this helps
carlos
Maybe you are looking for
-
ADF Security unable to run/deploy
Hi all, I want to use ADF Security in my new project, so I created an simple test application in my JDeveloper 11g R1. What I have done is simple, I created a new application using Fusion Web Application Template, and then I run the Config ADF Securi
-
2 Transport Request for a report
Hi Experts, I am having 2 Transport requests for the same Z report (classical report). I have transported both of them to quality on after another with different modifications in both of them. Now i want to transport it to Production. I want to know
-
Dears, I receive this error while doing MIGO "Transaction type is a mandatory field". Please advise in which field i can put the transaction type. Thanks in advance,
-
Multiple Ship to Party( 999) ,Partner Determination Exit
Due to the 999 entry restriction we cannot maintain more than 999 ship to party in the sold to customer master data, to overcome this problem we have implemented a workaround, We dont maintain the ship to party in the sold to party customer data , b
-
ESS Configuration problem - Salary statement
I have configured the ESS as per the documentations. We have ECC 6.0 with EA-HR SP03 and XSS SP6. The following JCO connections are all setup to ECC 6.0 back end and are pinging and tested successfully, even though not all are required.