As9i R2 Oracle HTTP Server at Port 80
I installed the Application Server 9i R2 , but would like to make the Port 80 to be the Standard Port of the Application Server
already it is Port 7777 or 7778 as Standard !
what can i do ??
thanx :)
You can do it with Oracle Enterprise Manager Web. Point your web browser to
http://<application server>:1810
Login with username "ias_admin" and password that was set during installation.
Then you should select your Oracle Application Server instance under "Standalone Instances".
You will get "System Components" list, just click on "HTTP Server".
On next page, select Server Properties under "Administration".
If you are using web cache, you should change only listening port to 80, and if you don't change also default port.
Similar Messages
-
Difference between HTTP Server port and HTTP Server listen port
Hi,
What's the difference between the following?
Oracle HTTP Server port = 7780
Oracle HTTP Server listen port = 7781
They are the ports used in my 9ias 9.0.3 instance.
Please advise.
Thank you.Hi,
The server port, 7780, is port where HTTP server response and listen ports are other ports tha HTTP Server can listen. In IAS, the default configuration, the server port is response for Web Cache and Web Cache connect with HTTP Server in listen port.
Marcio Mesti -
Oracle Http server 11g, change ports with command-line tool
I have installed the WLS11g webtier's Oracle Http server 11g. I installed the OH 11g only.
The OH is runing fine with ports: non-ssl 7779 and ssl 4444
I want to change the ssl port to 443 such that we can have the url without showing the port as https://hostname.domain/
I have looked up the documnet http://download.oracle.com/docs/cd/E15523_01/core.1111/e10105/ports.htm#CIHJIFHB for "managing port".
it states "You can change the port numbers for some Oracle Fusion Middleware components, using Fusion Middleware Control, Oracle WebLogic Server Administration Console, or *the command line*."
Because I only installed the OH, I have no the Fusion Middleware control , admin console available for making the port change. And I cannot find out how to the command line tool to make the change.
I followed the steps in section 5.3.2.1 Enabling Oracle HTTP Server to Run as Root for Ports Set to Less Than 1024 (UNIX Only) http://download.oracle.com/docs/cd/E15523_01/core.1111/e10105/ports.htm#CIHJEEJH
And I did edit ssl.conf for port change to 443 ---- this is not documented in the document. I think because Oracle wants you to use the console to make the change.
OH is not working after I made the change.
Does anyone know how to use the commend line tool for making the port changes for OH11g?
ThanksHi,
if u want to achieve it using JMX then u can try :
http://middlewaremagic.com/weblogic/?p=613
Using Command Line Option WLST you can do it in ONLINE Mode...like:
Step1). Please run the ". ./setWLSEnv.sh" script to set the CLASSPATH & PATH in the shell prompt.
<b><font color=red>NOTE:</font></b> Run the “setWLSEnv.sh” by adding two DOTs separated by a single space …..before the actual script like following : (use ‘cd’ command to move inside the <BEA_HOME>/wlserver_10.3/server/bin) then run the following command….
*. ./setWLSEnv.sh*
Note: the first DOT represents that set the Environment in the current Shell, AND the second ./ represents execute the script from the current directory.
Step2). Now in the same Shell Prompt please run the WLST Utility like following:
<b><font color=maroon>
java weblogic.WLST
wls:/offline> connect()
Please enter your username [weblogic] : weblogic
Please enter your password [weblogic] : weblogic
Please enter your server URL [t3://localhost:7001] : t3://localhost:7001
Connecting to t3://localhost:7001 with userid weblogic ...
edit()
startEdit()
cd ('Servers/AdminServer')
cmo.setListenPort(9999)
save()
activate()
</font></b>
Now you NEED NOT to restart your Server to reflact these Changes....
The Above JMX Code is also able to do it in Runtime only on the Fly.
Thanks
Jay SenSharma
http://middlewaremagic.com/weblogic (Middleware Magic Is Here) -
Oracle HTTP Server (OHS) Installation Problem on Win 2003 Server SP2
Hi,
I tried to install Oracle HTTP Server (OHS) on my Windows 2003 server SP2, however I couldn't manage to succeed this.
I tried on 3 different win2003 server SP2 machines and couldn't able to install properly.
I easily installed and run this HTTP server on my Windows 7 machine. However on the other partition of my PC
windows server 2003 is installed. It didn't worked on this OS.
Once I was somehow able to install OHS on my 64 bit Windows 2008 Server, but again never:((
I got the following error messages during the install.
waiting for your answers .
ERROR1
Web Tier Configuration
Log
Config Action Web Tier Configuration started
Create and Start AS Instance (instance1)
Error
Unable to validate NonJ2EEManagement Application deployment on admin server.
Step Create and Start AS Instance (instance1) failed
Unable to validate NonJ2EEManagement Application deployment on admin server.
Step Create and Start AS Instance (instance1) failed
Log
Step Create and Start AS Instance (instance1) started
Deploying NonJ2EEManagement Application...
Step Create and Start AS Instance (instance1) failed
Step Create and Start AS Instance (instance1) failed
Create and Start OHS Component (ohs1)
Log
Create Shortcuts
Log
ERROR2
Web Tier Configuration
Log
Config Action Web Tier Configuration started
Create and Start AS Instance (inst2)
Error
Unable to start opmn
Step Create and Start AS Instance (inst2) failed
Unable to start opmn
Step Create and Start AS Instance (inst2) failed
Log
Step Create and Start AS Instance (inst2) started
Creating Oracle Instance directories...
Recording OPMN ports reservations...
Bootstrapping OPMN configuration files...
Instantiating opmnctl for direct usage...
Registering instance
Step Create and Start AS Instance (inst2) failed
Step Create and Start AS Instance (inst2) failed
Create and Start OHS Component (ohs2)
Log
Create Shortcuts
LogA few guesses what could be wrong.
- Under which user are you installing, does this user have all the rights to create and start stuff.
- Have you first installed a weblogic server (this should be installed) and did associate any components with the weblogic domain?
I usually do not associate anything with my weblogic domain and configure the httpd.conf file for the Apache server by hand instead of using the enterprise manager.
Once the WebLogic server is installed i follow the following steps
Installation WebTier
Run setup.exe
Select Install Software - Do Not Configure.
Click Next.
Prerequisite Checks --> Next.
Accept the default installation directory.
Click Next.
Uncheck i wish to... click Next (in the pop-up Yes)
Click Install.
Click when the installation it finished and click Finish
Configuration WebTier
Run the file <WebTier-Home>/bin/config.bat.
Click Next
Uncheck Associate Selected Components with WebLogic Domain and click Next
Accept the defaults and click Next
Enter the parameters for the WebCache
Web Cache Administrator Password: password
Confirm Password: password
Click Next.
Select Auto Port Configuration and click Next.
Uncheck I wish to... and click Next. (pop-up Yes)
Click Configure
Click Next and Click Finish
When i follow the above steps an instance of the webtier is running. -
How to call webservice through Oracle HTTP Server
I have cluster of three Managed Servers. They are behind a Oracle HTTP Server. I deployed a web service to the cluster. When calling web service, I got the error. The error is that the client of web service can not directly access the Managed Servers.
The error tell that it can not access http://webapp01:7003/webservice/HelloWorld?WSDL
Where webapp01 is the host name of a managed server.
Is there a way that web service return the result to HTTP Server and HTTP Server return it to web service client.1. Before you invoke the WebServices from client program, I guess you may have already generated the webservices client jar for the WSDL that is deployed using sun jdk "wsimport" command or bea's clientgen ant task. At this time, what is the wsdl url you gave. In the generated client jar file you should see .JAVA files also. Check the Service related .java file and check the WSDL URL in that file. If it is using weblogic servers managed server host and port, then the problem you see is obvious.
2. To fix this, you re-generate the webservices client jar file again this time giving the http server host and port instead of weblogic host and port. I am hoping you already modified httpd.conf file to accept the webservice url pattern. Check the .JAVA file generated for service to see the WSDL URL that is having inside.
3. Another approach is on your client side, before you invoke any operation on WebService, you will be first getting Service object, then Port object and invoke methods on Port object. When you get Service Object, you can pass the WSDL URL as one parameter and ServiceName (QName) as second parameter. Most of time we use default constructor without any parameters to get Service object. But you can use other constructor and pass 2 parameters. The WSDL URL will have HttpServers host and port, and rest of the url for wsdl will be the same.
In our env, we have similar requirment. SOAP BPEL Process WebServices are deployed on WLS 10.3.1 on a Cluster with 2 ManagedServers. We have Apache Proxy in front of this Cluster. All our WSDL requests goes to Apache host and port + wsdl url. This inturn goes to one of the managed servers at a time in round-robin. This is working. In httpd.conf we gave "MatchExpression / " so that any request from apache will go to cluster.
HTH
Ravi Jegga -
Weblogic certificate is not being authenticated in Oracle HTTP Server
I am using Oracle HTTP Server with SSL and mod_proxy set up trying to pass a url through to the weblogic server. I start with my OHS url in the browser and the proxy is switches to the url to weblogic but I get the following error on the OHS side:
[2011-12-22T18:40:09.4683-07:00] [OHS] [INCIDENT_ERROR:32] [OHS-2077] [core.c] [host_id: denovm11-6] [host_addr: 10.139.164.196] [tid: 1155799360] [user: root] [ecid: 004hBXzInYHEOPb_THt1ic0007DM000002] [rid: 0] [VirtualHost: social.us.oracle.com:443] nzos proxy handshake error, nzos_Handshake returned 29024(server social.us.oracle.com:443, client 10.139.164.191)
[2011-12-22T18:40:09.4683-07:00] [OHS] [INCIDENT_ERROR:32] [OHS-2171] [core.c] [host_id: denovm11-6] [host_addr: 10.139.164.196] [tid: 1155799360] [user: root] [ecid: 004hBXzInYHEOPb_THt1ic0007DM000002] [rid: 0] [VirtualHost: social.us.oracle.com:443] NZ Library Error: Invalid X509 certificate chain [Hint: the client probably doesn't provide a valid client certificate]
[2011-12-22T18:40:09.4685-07:00] [OHS] [INCIDENT_ERROR:32] [OHS-9999] [core.c] [host_id: denovm11-6] [host_addr: 10.139.164.196] [tid: 1155799360] [user: root] [ecid: 004hBXzInYHEOPb_THt1ic0007DM000002] [rid: 0] [VirtualHost: social.us.oracle.com:443] (20014)Internal error: proxy: pass request body failed to 10.139.164.191:7001 (denovm11-1.us.oracle.com)
[2011-12-22T18:40:09.4685-07:00] [OHS] [INCIDENT_ERROR:32] [OHS-9999] [core.c] [host_id: denovm11-6] [host_addr: 10.139.164.196] [tid: 1155799360] [user: root] [ecid: 004hBXzInYHEOPb_THt1ic0007DM000002] [rid: 0] [VirtualHost: social.us.oracle.com:443] proxy: pass request body failed to 10.139.164.191:7001 (denovm11-1.us.oracle.com) from 10.139.164.196 ()
And the following error on the weblogic side:
####<Dec 22, 2011 6:40:10 PM MST> <Warning> <Security> <denovm11-1> <AdminServer> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <8e6c6502a1af117a:4eeee51e:13466bb040d:-8000-000000000000a764> <1324604410502> <BEA-090482> <BAD_CERTIFICATE alert was received from denovm11-6.us.oracle.com - 10.139.164.196. Check the peer to determine why it rejected the certificate chain (trusted CA configuration, hostname verification). SSL debug tracing may be required to determine the exact reason the certificate was rejected.>
Here is my ssl.conf from OHS:
# Oracle HTTP Server mod_ossl configuration file: ssl.conf #
# OHS Listen Port
Listen 443
<IfModule ossl_module>
## SSL Global Context
## All SSL configuration in this context applies both to
## the main server and all SSL-enabled virtual hosts.
# Some MIME-types for downloading Certificates and CRLs
AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl .crl
# Pass Phrase Dialog:
# Configure the pass phrase gathering process.
# The filtering dialog program (`builtin' is a internal
# terminal dialog) has to provide the pass phrase on stdout.
SSLPassPhraseDialog builtin
# Inter-Process Session Cache:
# Configure the SSL Session Cache: First the mechanism
# to use and second the expiring timeout (in seconds).
SSLSessionCache "shmcb:${ORACLE_INSTANCE}/diagnostics/logs/${COMPONENT_TYPE}/${COMPONENT_NAME}/ssl_scache(512000)"
SSLSessionCacheTimeout 300
# Semaphore:
# Configure the path to the mutual exclusion semaphore the
# SSL engine uses internally for inter-process synchronization.
<IfModule mpm_winnt_module>
SSLMutex "none"
</IfModule>
<IfModule !mpm_winnt_module>
SSLMutex pthread
</IfModule>
## SSL Virtual Host Context
<VirtualHost *:443>
<IfModule ossl_module>
# SSL Engine Switch:
# Enable/Disable SSL for this virtual host.
SSLEngine on
# Client Authentication (Type):
# Client certificate verification type and depth. Types are
# none, optional and require.
SSLVerifyClient none
# SSL Cipher Suite:
# List the ciphers that the client is permitted to negotiate.
SSLCipherSuite SSL_RSA_WITH_RC4_128_MD5,SSL_RSA_WITH_RC4_128_SHA,SSL_RSA_WITH_3DES_EDE_CBC_SHA,SSL_RSA_WITH_DES_CBC_SHA,TLS_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_AES_256_CBC_SHA
# SSL Certificate Revocation List Check
# Valid values are On and Off
SSLCRLCheck Off
#Path to the wallet
SSLWallet "${ORACLE_INSTANCE}/config/${COMPONENT_TYPE}/${COMPONENT_NAME}/keystores/default"
<FilesMatch "\.(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
<Directory "${ORACLE_INSTANCE}/config/${COMPONENT_TYPE}/${COMPONENT_NAME}/cgi-bin">
SSLOptions +StdEnvVars
</Directory>
BrowserMatch ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
</IfModule>
<IfModule proxy_module>
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
# Path to the wallet
SSLProxyWallet "${ORACLE_INSTANCE}/config/${COMPONENT_TYPE}/${COMPONENT_NAME}/keystores/default"
SSLProxyEngine on
SSLProxyVerify none
# ottest : denovm11-1
ProxyPass /test https://abc.us.oracle.com:7001/test
ProxyPassReverse /test https://abc.us.oracle.com:7001/test
</IfModule>
</VirtualHost>
</IfModule>
On the OHS side I have all the certificates needed so SSL is working properly. The weblogic environment is currently working fine with other webgates, but those are apache and we are trying to switch to OHS.
Can OHS use mod_proxy to connect to weblogic or do I need to use mod_wl_ohs?
Does anyone see anything wrong in my ssl.conf file in regards to the proxy section.
Thanks in advance.In summary:
You need to create a new wallet with CSR (certificate signing req)
Send this to your certificate authority and get the signed server certificate.
Now import the signed server cert and the trusted root cert in to the wallet that you created newly.
Modify ssl.conf to point to the new wallet location.
To create wallet refer to : http://docs.oracle.com/cd/E25054_01/core.1111/e10105/wallets.htm#CHDGIJDC
Further reference: http://docs.oracle.com/cd/E25054_01/core.1111/e10105/sslconfig.htm#CBDGIJDF
Dont mind if this doc is 500 pages ;) -
No Http server on port 8080 with 10g Express Edition ( TNS-12631 error)
I downloaded the Oracle 10g Express Edition for Microsoft Windows and tried to install the software on 3 pcs.
2 pc works but mine is not working.
All works well during installation but when I want to connect to the home web page, it displays error (http://127.0.0.1:8080/apex)
It isnormal because I have no process running under 8080 port.
But I don't know why there is not an http server on port 8080.
netstat -a :
Connexions actives
Proto Adresse locale Adresse distante Etat
TCP LABOLLC:epmap LABOLLC.castel.fr:0 LISTENING
TCP LABOLLC:microsoft-ds LABOLLC.castel.fr:0 LISTENING
TCP LABOLLC:1521 LABOLLC.castel.fr:0 LISTENING
TCP LABOLLC:42510 LABOLLC.castel.fr:0 LISTENING
TCP LABOLLC:1051 LABOLLC.castel.fr:0 LISTENING
TCP LABOLLC:1255 LABOLLC.castel.fr:0 LISTENING
TCP LABOLLC:1291 localhost:1292 ESTABLISHED
TCP LABOLLC:1292 localhost:1291 ESTABLISHED
TCP LABOLLC:netbios-ssn LABOLLC.castel.fr:0 LISTENING
TCP LABOLLC:1338 messagerie.castel.fr:1026 ESTABLISHED
TCP LABOLLC:1342 messagerie.castel.fr:1390 ESTABLISHED
TCP LABOLLC:1355 messagerie.castel.fr:1026 ESTABLISHED
TCP LABOLLC:1359 messagerie.castel.fr:1390 ESTABLISHED
TCP LABOLLC:1472 messagerie.castel.fr:epmap TIME_WAIT
TCP LABOLLC:1473 messagerie.castel.fr:1026 TIME_WAIT
UDP LABOLLC:microsoft-ds *:*
UDP LABOLLC:isakmp *:*
UDP LABOLLC:1027 *:*
UDP LABOLLC:1339 *:*
UDP LABOLLC:1340 *:*
UDP LABOLLC:1356 *:*
UDP LABOLLC:1357 *:*
UDP LABOLLC:1427 *:*
UDP LABOLLC:4500 *:*
UDP LABOLLC:ntp *:*
UDP LABOLLC:1028 *:*
UDP LABOLLC:1062 *:*
UDP LABOLLC:1900 *:*
UDP LABOLLC:ntp *:*
UDP LABOLLC:netbios-ns *:*
UDP LABOLLC:netbios-dgm *:*
UDP LABOLLC:1900 *:*
UDP LABOLLC:42508 *:*
The file sqlnet.log contains the following comments :
Fatal NI connect error 12631, connecting to:
(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
VERSION INFORMATION:
TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 10.2.0.1.0 - Production
Time: 08-MARS -2007 16:28:39
Tracing not turned on.
Tns error struct:
ns main err code: 12631
TNS-12631: Echec de recherche de nom
ns secondary err code: 0
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
I don't know what to do !!
HelpYes i Check all that.
For example, I have Tomcat installed on my PC and I can launch it easily.
So that means that port 8080 is completly free.
No I haven't http service as you can see with netstat results.
Lokk at the log sqlnet.log, I have following :
Fatal NI connect error 12631, connecting to:
(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
VERSION INFORMATION:
TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 10.2.0.1.0 - Production
Time: 09-MARS -2007 14:46:35
Tracing not turned on.
Tns error struct:
ns main err code: 12631
TNS-12631: Echec de recherche de nom
ns secondary err code: 0
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
Thanks -
Sir,
I once again facing problem of HTTP Server it again not started the file contain the following entries where didn't show any duplicate entries but HTTP server couldn't start please help me.
Oracle Appachae file contain following entries
# Advanced Queuing - AQ XML
include "H:\oracle\ora92\rdbms\demo\aqxml.conf"
include "H:\oracle\ora92\xdk\admin\xml.conf"
include "H:\oracle\ora92\Apache\modplsql\cfg\plsql.conf"
include "H:\oracle\ora92\Apache\jsp\conf\ojsp.conf"
include "H:\oracle\ora92\sqlplus\admin\isqlplus.conf"
include "H:\oracle\ora92/oem_webstage/oem.conf"
oracle isqlplus.conf contain following entries
# Copyright (c) 2001, 2002, Oracle Corporation. All rights reserved.
# NAME
# isqlplus.conf
# PURPOSE
# Oracle HTTP Server directives for the iSQL*Plus server
# USAGE
# This file should be included in the Oracle HTTP Server
# "oracle_apache.conf" file.
# Enable handling of all virtual paths beginning with "/iplus/"
# Note: only /iplus/ is mapped, /iplus is not being mapped
<IfModule mod_alias.c>
Alias /iplus/ "H:\oracle\ora92\sqlplus\admin\iplus/"
# Disallow users from trying to access /iplus/ directory listing
<Directory "H:\oracle\ora92\sqlplus\admin\iplus">
AllowOverride None
Options FollowSymLinks
Order deny,allow
Allow from all
</Directory>
</IfModule>
# Maps all virtual paths beginning with "/isqlplus*" to the iSQL*Plus
# FastCGI application
<IfModule mod_alias.c>
ScriptAliasMatch ^/isqlplus(.*) H:\oracle\ora92\bin\isqlplus
ScriptAliasMatch ^/isqlplusdba(.*) H:\oracle\ora92\bin\isqlplus
<Directory "H:\oracle\ora92\bin">
AllowOverride None
Options FollowSymLinks
Order deny,allow
Allow from all
</Directory>
</IfModule>
# Enable handling of all virtual paths beginning with "/isqlplus"
<Location /isqlplus>
SetHandler fastcgi-script
Order deny,allow
# Comment "Allow ..." and uncomment the four lines "AuthType ..."
# to "Require ..." if Oracle HTTP authentication access is required
# for the http://.../isqlplus URL
Allow from all
#AuthType Basic
#AuthName 'iSQL*Plus'
#AuthUserFile H:\oracle\ora92\sqlplus\admin\iplus.pw
#Require valid-user
</Location>
# Enable handling of all virtual paths beginning with "/isqlplusdba".
# Note: Oracle HTTP authentication access must be configured to
# prevent unauthorized users performing DBA operations on
# the database
# Use the HTTP server utility script "htpasswd" to add users to the
# "iplusdba.pw" file.
<Location /isqlplusdba>
SetHandler fastcgi-script
Order deny,allow
AuthType Basic
AuthName 'iSQL*Plus DBA'
AuthUserFile H:\oracle\ora92\sqlplus\admin\iplusdba.pw
Require valid-user
</Location>
# Setup the iSQL*Plus FastCGI application.
<IfModule mod_fastcgi.c>
FastCgiServer H:\oracle\ora92\bin\isqlplus -port 8228 -initial-env iSQLPlusNumberOfThreads=20 -initial-env iSQLPlusTimeOutInterval=30 -initial-env iSQLPlusLogLevel=off -initial-env iSQLPlusAllowUserEntMap=none -idle-timeout 3600
</IfModule>I once again facing problem of HTTP Server it again not startedWhat error do you get? What OS are you using? Which release
and version of Oracle are you using? What debugging steps have you
alread tried and what results did they give you?
-- CJ -
Can you run Embedded PL/SQL Gateway and Oracle HTTP Server at the same time
Hi,
I know this will sound a bit odd but their is a business case for asking this. Can you run APEX via the Embedded PL/SQL Gateway and the Oracle HTTP Server at the same time? Would their be any security/stability/etc issues I'd need to worry about? I know that I'll need to run them on different ports.
Thank you,
Martin Giffy D'Souza
[http://apex-smb.blogspot.com/]I think I've done this in the past. Theres no technical reason why you can't do this as far as I know.
I can't remember if I used different ports or same port. -
Slow performance with oracle http server connecting weblogic
I have a performance issue while using Oracle HTTP server as a proxy with weblogic server. It takes 10-15 seconds to pass the requests.
I also received the error related to SSL in my error logs even though i havent configured the SSL.
please find the error received in the OHS error logs
nzos handshake error, nzos_Handshake returned 28862
NZ Library Error: SSL IO error [Hint: the client stop the connection unexpectedly]
And please find a request information from the access log files.
Fri May 28 09:24:48 2010 <5944127503148828> getPooledConn: No more connections in the pool for Host[114.57.162.39] Port[6499] SecurePort[6499]
Fri May 28 09:24:48 2010 <5944127503148828> general list: trying connect to '114.57.162.39'/6499/6499 at line 3082 for '/fed/user/authnoam?refid=id-ixGFItkxw4Nt4l3wlz4W9sWR-ao-'
Fri May 28 09:25:00 2010 <5944127503148828> SSL is not configured for this connection
Fri May 28 09:25:00 2010 <5944127503148828> Local Port of the socket is 4472
it is visible that the while it is doing "general list trying to connect to" it takes a long time
Any pointers are highly appreciated.Shannon,
The OHS + Weblogic installation, just means you will have an admin server, with Enterprise Manager that can manage your OHS instances. That being said:
1 - You don't have to extend any domain, since the only thing OHS will need is an Admin Server with Enterprise Manager.
2 - I (myself, I don't speak for Oracle here) have a personal preference of having stand alone OHS. If you don't know how to work with httpd.conf and mod_wl.conf, I would suggest installing a separate domain only for it, that way you can keep the weblogic turned off, and turn it on only when you need to edit any configuration.
Thanks -
Scenario
We are considering using APEX with Oracle 10g. However, we don't have Oracle application server.At the same time we do not want to use the Oracle HTTP server(OHS) on the database server. The propsed application intend to use by approx. 5000 users
Questions
As APEX requires just OHS and mod_plsql plugin,
1. Can we install just Oracle HTTP server and mod_plsql on standalone server? Which CD need to be used?
2. Can OHS can be licensed separately as Oracle Internet application server(Enterprise Edition) based on processor licensing is expensive and not affordable.However, there are other options like Standard Edition and Standard Edition One as well but do not require any other options except OHS and mod_plsql plugin.Hence, what is the cost effective option to have OHS and mod_plsql as a middle tier component to deploy APEX applications
Thanks in advanceAll,
I'm by no means a security expert, but I don't think this is a best practice. I think the best practice is to use two HTTP servers: one in the DMZ and one on the DB server. The one in the DMZ can be a standard Apache install - it acts as a proxy server and does not need mod_plsql. The second should be OHS. This configuration allows you to block ports that are usually used to communicate with the DB from the server in the DMZ.
Did I get that right or am I way off?
Regards,
Dan
http://danielmcghan.us
http://sourceforge.net/projects/tapigen
http://sourceforge.net/projects/plrecur
You can reward this reply by marking it as either Helpful or Correct ;-) -
New Oracle HTTP server install unable to host remote HTMLDB.
Hi all.
I installed the Oracle HTTP Server from the Oracle 10G Release 1 companion CD on a Mac Powerbook running the Tiger OS. I have a CentOS Linux server on my network with Oracle 10G R2 database running that I've installed HTMLDB 2.0 on. I can not seem to get the HTTP server to serve up a front end to my HTMLDB. I can connect and log into the Oracle Database from the MAC using SQLPlus using the HTMLDB_PUBLIC_USER account and password.
Here is my dads.conf file:
Alias /i/ "/oracle/product/10.1.0/db_1/Apache/Apache/images/"
<Location /pls/htmldb>
SetHandler pls_handler
Order deny,allow
Allow from all
AllowOverride None
PlsqlDatabaseUsername HTMLDB_PUBLIC_USER
PlsqlDatabasePassword HTMLDB
PlsqlDatabaseConnectString CentOSServ3:1521:htmldb ServiceNameFormat
PlsqlDefaultPage htmldb
PlsqlDocumentTablename wwv_flow_file_objects$
PlsqlDocumentPath docs
PlsqlDocumentProcedure wwv_flow_file_manager.process_download
PlsqlAuthenticationMode Basic
PlsqlNLSLanguage AMERICAN_AMERICA.WE8MSWIN1252
</Location>
AddType text/xml xbl
AddType text/x-component htc
Here is the errors I'm seeing on the error log:
[Wed Jan 10 12:58:47 2007] [notice] FastCGI: process manager initialized (pid 246)
[Wed Jan 10 12:58:48 2007] [emerg] mod_onsint can't initialize ons runtime.
[Wed Jan 10 12:58:48 2007] [notice] Oracle-Application-Server-10g/10.1.2.0.0 Oracle-HTTP-Server configured -- resuming normal operations
[Wed Jan 10 12:58:48 2007] [notice] Accept mutex: flock (Default: flock)
[Wed Jan 10 12:58:58 2007] [error] [client 127.0.0.1] [ecid: 1168451937:192.168.2.121:249:0:12,0] mod_plsql: /pls/htmldb/htmldb HTTP-503 ORA-12514
It keeps giving me the error for the Language, but I've changed the PlsqlNLSLanguage serveral times to other posted values I've found and other postings and I still get that error.
Has anyone else worked through this or may have an idea how I can get this working?
Thanks,
MikeAlso, here is the error I get when browsing to : http://localhost:7780/pls/htmldb/htmldb from the HTTP server.
Service Temporarily Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
Oracle-Application-Server-10g/10.1.2.0.0 Oracle-HTTP-Server Server at 192.168.3.1 Port 7780
Thanks,
Mike -
Oracle HTTP Server and Node Manager
Hi,
I installed Oracle HTTP Server with Node Manager. I set "CrashRecoveryEnabled=true" in the nodemanager.properties. It works fine when I reboot the machine, but when I kill the root process (kill -9), the new process can not be started as the previous process does not have enough time to die and still uses the ports. I tried to run "nmGenBootStartupProps" in wlst, or set the
RestartMax=2
RestartDelaySeconds=5
variables in "[domain_name]/servers/[server_name]/data/nodemanager/startup.properties" - no success.
Any ideas, how to set the number of retries and the delay between restarts?
Versions:
Oracle HTTP Server: version="12.1.3.0.0"
java version "1.7.0_79"
OHS log:
[2015-05-04T11:43:48.0653+02:00] [OHS] [NOTIFICATION:16] [OHS-9999] [mod_weblogic.c] [host_id: dev-oep-soalb-1] [host_addr: 192.168.0.226] [pid: 18651] [tid: 140166670751552] [user: app] [VirtualHost: main] WebLogic Server Plugin version 12.1.3 <WLSPLUGINS_12.1.3.0.0_LINUX.X64_140421.1459>
[2015-05-04T11:43:48.0854+02:00] [OHS] [NOTIFICATION:16] [OHS-9999] [core.c] [host_id: dev-oep-soalb-1] [host_addr: 192.168.0.226] [pid: 18651] [tid: 140166670751552] [user: app] [VirtualHost: main] Oracle-HTTP-Server-12c/12.1.3.0.0 (Unix) mod_ssl/12.1.3.0.0 OtherSSL/0.0.0 mod_plsql/11.1.1.0.0 configured -- resuming normal operations
[2015-05-04T11:48:53.9584+02:00] [OHS] [INCIDENT_ERROR:32] [OHS-9999] [worker.c] [host_id: dev-oep-soalb-1] [host_addr: 192.168.0.226] [pid: 18838] [tid: 140103489120064] [user: app] [VirtualHost: main] (98)Address already in use: make_sock: could not bind to address 192.168.0.226:80
[2015-05-04T11:48:53.9585+02:00] [OHS] [INCIDENT_ERROR:20] [OHS-9999] [worker.c] [host_id: dev-oep-soalb-1] [host_addr: 192.168.0.226] [pid: 18838] [tid: 140103489120064] [user: app] [VirtualHost: main] no listening sockets available, shutting down
[2015-05-04T11:48:53.9585+02:00] [OHS] [ERROR:32] [OHS-9999] [core.c] [host_id: dev-oep-soalb-1] [host_addr: 192.168.0.226] [pid: 18838] [tid: 140103489120064] [user: app] [VirtualHost: main] Unable to open logs
Node Manager log:
<May 4, 2015 11:37:50 AM CEST> <INFO> <Loading domains file: /opt/app/soalb_domain/nodemanager/nodemanager.domains>
<May 4, 2015 11:40:18 AM CEST> <INFO> <Loading identity key store: FileName=/opt/app/soalb_domain/security/DemoIdentity.jks, Type=jks, PassPhraseUsed=true>
<May 4, 2015 11:40:18 AM CEST> <INFO> <Loaded NodeManager configuration properties from '/opt/app/soalb_domain/nodemanager/nodemanager.properties'>
<May 4, 2015 11:40:18 AM CEST> <INFO> <Node manager v12.1.3 #1604337>
<May 4, 2015 11:40:18 AM CEST> <INFO> <soalb_domain> <soalb_server1> <Startup configuration properties loaded from "/opt/app/soalb_domain/servers/soalb_server1/data/nodemanager/startup.properties">
<May 4, 2015 11:40:19 AM CEST> <INFO> <Secure socket listener started on port 5556, host localhost/127.0.0.1>
<May 4, 2015 11:43:53 AM CEST> <INFO> <soalb_domain> <soalb_server1> <The server 'soalb_server1' is running now.>
<May 4, 2015 11:48:53 AM CEST> <INFO> <soalb_domain> <soalb_server1> <The server 'soalb_server1' with process id 18672 is no longer alive; waiting for the process to die.>
<May 4, 2015 11:48:53 AM CEST> <INFO> <soalb_domain> <soalb_server1> <Server failed so attempting to restart (restart count = 1)>
<May 4, 2015 11:48:54 AM CEST> <SEVERE> <soalb_domain> <soalb_server1> <Unexpected error while monitoring server>
java.io.IOException: Failed to start the server soalb_server1
Check log file /opt/app/soalb_domain/system_components/OHS/ohs_nm.log
Check log file /opt/app/soalb_domain/servers/soalb_server1/logs/soalb_server1.log
at oracle.ohs.plugin.nodemanager.OhsProcessManagementPlugin$ProcessImpl.buildIoException(Unknown Source)
at oracle.ohs.plugin.nodemanager.OhsProcessManagementPlugin$ProcessImpl.start(Unknown Source)
at weblogic.nodemanager.server.DecoratedSystemComponentManager$DecoratedProcess.start(DecoratedSystemComponentManager.java:129)
at weblogic.nodemanager.server.ServerMonitor.startProcess(ServerMonitor.java:441)
at weblogic.nodemanager.server.ServerMonitor.runMonitor(ServerMonitor.java:406)
at weblogic.nodemanager.server.ServerMonitor.run(ServerMonitor.java:295)
at java.lang.Thread.run(Thread.java:744)
ohs_nm.log:
<2015-05-04 11:48:53> <INFO> <OHS-0> <The server 'soalb_server1' with process id 18672 is no longer alive; waiting for the process to die.>
<2015-05-04 11:48:53> <INFO> <OHS-0> <Server failed so attempting to restart (restart count = 1)>
<2015-05-04 11:48:53> <INFO> <OHS-4018> <Starting server soalb_server1>
<2015-05-04 11:48:53> <INFO> <OHS-0> <Running /opt/app/ohs12c/wlserver/../ohs/bin/httpd.sh httpd.worker -k start -f /opt/app/soalb_domain/config/fmwconfig/components/OHS/instances/soalb_server1/httpd.conf>
<2015-05-04 11:48:53> <INFO> <OHS-0> <[Mon May 04 11:48:53 2015] [warn] Errors will be logged into /opt/app/soalb_domain/servers/soalb_server1/logs/soalb_server1.log>
<2015-05-04 11:48:54> <INFO> <OHS-0> </opt/app/ohs12c/wlserver/../ohs/bin/httpd.sh httpd.worker -k start -f /opt/app/soalb_domain/config/fmwconfig/components/OHS/instances/soalb_server1/httpd.conf: exit status = 1>
<2015-05-04 11:48:54> <INFO> <OHS-4005> <Check the instance log file for more information: /opt/app/soalb_domain/servers/soalb_server1/logs/soalb_server1.log>
<2015-05-04 11:48:54> <SEVERE> <OHS-0> <Failed to start the server soalb_server1>
<2015-05-04 11:48:54> <SEVERE> <OHS-0> <Unexpected error while monitoring server>
Node Manager properties:
#Wed Apr 29 18:31:26 CEST 2015
#Node manager properties
#Wed Apr 29 17:18:21 CEST 2015
DomainsFile=/opt/app/soalb_domain/nodemanager/nodemanager.domains
LogLimit=0
PropertiesVersion=12.1.3
AuthenticationEnabled=true
NodeManagerHome=/opt/app/soalb_domain/nodemanager
JavaHome=/opt/app/jdk1.7.0_79
LogLevel=INFO
DomainsFileEnabled=true
StartScriptName=startWebLogic.sh
ListenAddress=localhost
NativeVersionEnabled=true
ListenPort=5556
LogToStderr=true
SecureListener=true
LogCount=1
StopScriptEnabled=false
QuitEnabled=false
LogAppend=true
StateCheckInterval=5000
CrashRecoveryEnabled=true
StartScriptEnabled=true
LogFile=/opt/app/soalb_domain/nodemanager/nodemanager.log
LogFormatter=weblogic.nodemanager.server.LogFormatter
ListenBacklog=50
Startup properties:
#SSLArguments=-Dweblogic.security.SSL.ignoreHostnameVerification\=false -Dweblogic.ReverseDNSAllowed\=false
RestartMax=2
RestartDelaySeconds=5
FileTimeSpan=24
RestartInterval=3600
FileTimeSpanFactor=3600000
RotatedFileCount=7
RotationType=bySize
#AdminURL=http\://192.168.0.224\:7001
NumberOfFilesLimited=true
AutoRestart=true
RotationTimeStart=00\:00
FileSizeKB=500
Regards,
AndrásTo deploy your FMX you need AS 10.1.2 Forms installed, and then you can use AS control or Forms server configuration file.
For more information regarding FMX deployment, refer to http://download.oracle.com/docs/cd/B14099_19/web.1012/b14032/toc.htm
Regards,
Preet -
Oracle HTTP Server and mod_plsql
Hi there,
I have a problem using HTML DB on a small network. LAN consists of two computers with Windows XP Professional, Service Pack 1. Server has two NIC. One connected to the local internet provider (PPPoE) with TCP/IP set to "Obtain an IP address automatically" and second network adapter (for the LAN) with TCP/IP address 192.168.0.2. Second computer has NIC with IP 192.168.0.3. The server is set with HTML DB 2.0. There is NO ANY problem if I work on it as stand alone computer - second network adapter disable!
The problem arises if I connect the second computer and then start HTML DB by http://localhost:7777/ "503 the service is temporary unavailable", emagent is down, DBconsole service is not active anymore, etc. Apache or Oracle HTTP Server is up.
I have found, after several days of troubleshooting, that the problem might be in httpd.config file. If somebody have experience in similar networks or Oracle HTTP Server settings please, give me advice or send httpd.conf file as an example.
Please help me!
KonstantinHi,
If I disable the network adapters and restart the computer, then connect to the HTML DB or my application, everything is OK. Then enable connection and I can work from both computers!
This is listener.ora
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = KONCOMP)(PORT = 1521))
This is tnsnames.ora
KONSTA10 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = koncomp)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = KONSTA10)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
The dad.conf is empty because I am using marvel.conf. I just checked the rules to build such file. Listener uses as host name - computer name (in my case koncomp), but in all config files Oracle HTTP Server uses name localhost or 127.0.0.1. That is the reason for SYSMAN to make too separate folders in Oracle home named LOCALHOST_instancename and hostname_instanceename.
One error from emagent.log
It goes down all the times when the problem arises.
2005-12-05 15:11:58 Thread-1996 ParseError: File=stream, Line=4, Msg=Missing value for ARG in RemoteOperationArgument (01006)
An error from sqlnet.log
Fatal NI connect error 12541, connecting to:
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=koncomp)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=KONSTA10)(CID=(PROGRAM=C:\oracle\product\10.2.0\db_1\jdk\jre\bin\java.exe)(HOST=KONCOMP)(USER=Konsta))))
VERSION INFORMATION:
TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 10.2.0.1.0 - Production
Time: 08-ДЕК. -2005 20:31:09
Tracing not turned on.
Tns error struct:
ns main err code: 12541
TNS-12541: TNS:no listener
ns secondary err code: 12560
nt main err code: 511
TNS-00511: No listener
nt secondary err code: 61
nt OS err code: 0
Moreover in listener.log LISTENER is tried to connect to 127.0.0.1 and to 192.168.1.2 which is the second network adapter.
From Database Control, then Management Services and Repository, and Agent there are one agent and 4 targets. I found there several Metric erros.
Agent to Agent (Agent Process Statistics)
em_result=3696|0.00|14204|20384|1.94||751|12|14204|20384 Terminating on signal SIGTERM(15)
Agent to Database Instance (SQL Response Time, Streams Capture Queue Statistics, SGA Pool Wastage, etc.)
ORA-12505: TNS:listener does not currently know of SID given in connect descriptor,
ORA-12545: Connect failed because target host or object does not exist,
em_error=Could not connect to dbsnmp/(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(Port=1521))(CONNECT_DATA=(SID=Konsta10))) : ORA-12505: TNS:listener does not currently know of SID given in connect descriptor (DBD ERROR: OCIServerAttach),
ORA-12528: TNS:listener: all appropriate instances are blocking new connections
Agent to Listener (Response)
Terminating on signal SIGTERM(15)
Policy Violations found
Oracle recommends that you close all unnecessarily open ports, especially on internet-facing hosts -
Down Time for Installing APEX 4.2.1 and oracle HTTP server?
Hi, all:
I plan to install APEX 4.2.1 and oracle HTTP server on 10.2.0.4 database.
Is there any down time required during installation?
I mean during installation, do I need to block users from accessing the database?
Can they do their normal data entry / inquiry?
thanks,
John
ps. There will be server backup before installation.Hi,
Documentation says
>
3.1 Recommended Pre-installation Tasks
Before installing Oracle Application Express, Oracle recommends that you complete the following steps:
Review and satisfy all Oracle Application Express installation requirements. See "Oracle Application Express Installation Requirements".
Shut down with normal or immediate priority the Oracle Database instances where you plan to install Oracle Application Express. On Oracle Real Application Clusters (Oracle RAC) systems, shut down all instances on each node.
An alternative to shutting down the database is to prevent all users from accessing Oracle Application Express when upgrading your installation from a previous release of Oracle Application Express. Oracle only recommends this option in high availability production environments where planned outages are not available. For all other scenarios, the database should be shut down.
To disable access to Oracle Application Express when the existing installation is using the Application Express Listener, shut down the appropriate application server where the Application Express listener is deployed.
To disable user access to Oracle Application Express when the existing installation is using the Oracle HTTP Server with mod_plsql, you should either shut down the Web server or disable the Application Express Database Access Descriptor of the Web server.
For an existing installation using the embedded PL/SQL gateway, you should disable the Oracle XML DB Protocol Server by setting the HTTP port to 0. This can be accomplished by starting SQL*Plus, connecting as SYS to the database where Oracle Application Express is installed, and running:
EXEC DBMS_XDB.SETHTTPPORT(0);
Once you have prevented access from Oracle Application Express users, you should log into SQL*Plus as SYS, connecting to the database where Oracle Application Express is installed, and query V$SESSION to ensure there are no long running sessions which would interfere with the upgrade process.
Back up the Oracle Database installation.
Oracle recommends that you create a backup of the current Oracle Database installation before you install Oracle Application Express. You can use Oracle Database Recovery Manager, which is included in the Oracle Database installation, to perform the backup.
See Also:
Oracle Database Backup and Recovery User's Guide
Start the Oracle Database instance that contains the target database.
After backing up the system, you must start the Oracle instance that contains the target Oracle database. Do not start other processes such as a Web Listener. However, if you are performing a remote installation, make sure the database listener for the remote database has started.
>
Regards,
Jari
My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
Twitter: http://www.twitter.com/jariolai
Maybe you are looking for
-
I need to get 7.0.4 off and reinstall 6.5.2, but it won't let me
hi there, I am having trouble reinstalling QT 6.5.2 from QT 7.0.4. I had deleted my .pkg files with the numbers behind it and tried the 6.5.2 reinstaller, but when it came to the part where I select a drive to put it on, it said: "you can't install t
-
How do I save 2 iphoto libraries onto one external drive?
Hi I have an iphoto library on my MacBook Pro and I have an older library of different photos on my graphite iBook. I'd like to store all my photos onto one external drive. How can I do this without losing either library in the process? I actually ha
-
Custom field in XK05-Block/UnBlock Vendor details
Is it any way possible to capture blocking period(date) of a vendor in XK05 along with reasons description besides block function?
-
Hi, I want to sep up Message on my mac pro, version (Mac OS X version 10.7.5), in sync with imessage on the iphone. However, I can't find the Message program on the Mac pro. I'm wonderring if I should download one from somewhere (I can't find the lin
-
Adobe AIR 1.5.1: issue on opening encrypted DB
Hi all, I got a sqlite DB that's encrypted using sqlite3 command line tool: sqlite3.exe -key test123Test test.db I able to do this encryption because I bought the SEE license. And I did test that the encryption does work, I could not view the DB cont