HTTP server on Oracle 11g R1 and apex listener
I have installed APEX 4.0.1 on Oracle 11g R1 and things went well until the installation of the APEX listener.
- I followed the installation guide and I opted for the basic connection type but I found the following message:
the network adapter could not establish the connection
I then checked my services and i noted that i had only four services which are:
- OracleDBConsoleORCL
- OracleJobSchedulerORCL
- OracleOraDb11g_home1TNSListener
- OracleServiceORCL
And there is no oracle HTTP server as I had for oracle 9.2 on another machine.
Can Anybody help on this ?
thanks in advance for your help,
Pierre
Hi Pierre,
as Tony posted, you usually chose the APEX Listener to access your APEX instance by using a J2EE container (like OAS/OC4J, Oracle WebLogic, Sun Glassfish) rather than using OHS+mod_plsql. So you'd need to search for the service that comprises the J2EE container to which you deployed the war-File for the APEX Listener.
So as it seems you did not deploy to an existing J2EE container (you would not the proper URL...) you probably want to use the embedded web container of the APEX Listener. This container does not register any service and is started on demand.
If you deployed to an existing J2EE container, use its access scheme ( PROTOCOL://HOST:PORT/CONTEXT ) to access the APEX Listener, where CONTEXT is defaulted to apex if you stick to the installation manual. Remember to configure the APEX Listener after deployment via PROTOCOL://HOST:PORT/CONTEXT/listenerConfigure , as described in the installation manual.
Please follow the installation manual for the APEX Listener thoroughly to configure that instance and get the right port to access the service on the machine on which you started that embedded container, probably your localhost.
-Udo
Similar Messages
-
***Backup from System A, restored in System B wont work.***
Hi!
i have a problem, my Apex 4.2 computer/server died, broken motherboard, made me to take the backup files from the HDDs within System A, moved them over to the HDD within System B.
System OS: Win7 Ult 64bit.
1. Installed Oracle 11g XE
2. Installed Java JRE-7 (1.7.0_40)
3. Installed Java Glassfish Server 3.1.2.2 (ogs-3.1.2.2-windows.exe) (Java EE6 Compatible)
4. Run Restore, Succefully Restored. (the Backup is taken from System "A" that worked properly with Apex 4.2 before hardware crash.)
The Result
http://127.0.0.1:8080/apex/f?p=4950
Error Error processing request.
ORA-01403: no data found
OK <-( Button )then i tryed just this URL -> http://127.0.0.1:8080/apex
it works as it schould. -
Where to locate HTTP Server for use with Oracle Express 10g and Apex?
Hello,
Im a newbie and I downloaded oracle express 10g and Apex 3.2.1. The Apex install is referencing "choosing a HTTP Server" specifically "Oracle HTTP Server and mod_plsql and the embedded PL/SQL Gateway". My question is do the HTTP server or PL SQL embedded Gateway come with the 10g install or do I need to download them seperately? If so where can I locate them?
Thank you!user12027813 wrote:
If using Oracle XE, then which APEX install scenario would I used if I downloaded both the XE and apex from the OTN?Oracle XE includes APEX 2.1 and uses the PL/SQL Gateway for HTTP service work. No separate HTTP Server is required.
If, after you install XE, you want to upgrade to APEX 3.x, you would select the PL/SQL Gateway for the upgrade.
If the PL/SQL Gateway (EPG) does not provide the full set of services you need, you could put a regular Apache in front and redirect to APEX for those specific issues.
If that is to complicated, then you could license Oracle Application Server Standard Edition 1 (for a fee) to get an Oracle HTTP Server and it's mod_plsql to replace the internal EPG. -
Error while install oracle 11G forms and reports -creating Reports Server components error
Hello,
while install oracle 11G forms and report i face below issue on below step ( configuration step)
>> creating Reports Server components error
[2014-10-15T09:26:26.328+03:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 45] [ecid: 0000K^EnlatDg^WFLzfP8A1KFHkM00000^,0] [SRC_CLASS: oracle.as.config.utl.FileUtil] [SRC_METHOD: isWebsphereEnabled] Java property is not defined. isWebsphereEnabled=false
[2014-10-15T09:26:26.328+03:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 45] [ecid: 0000K^EnlatDg^WFLzfP8A1KFHkM00000^,0] [SRC_CLASS: oracle.as.config.utl.FileUtil] [SRC_METHOD: isWebsphereEnabled] Java property is not defined. isWebsphereEnabled=false
[2014-10-15T09:26:26.449+03:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 45] [ecid: 0000K^EnlatDg^WFLzfP8A1KFHkM00000^,0] [SRC_CLASS: oracle.as.config.utl.FileUtil] [SRC_METHOD: isWebsphereEnabled] Java property is not defined. isWebsphereEnabled=false
[2014-10-15T09:26:26.458+03:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 45] [ecid: 0000K^EnlatDg^WFLzfP8A1KFHkM00000^,0] [SRC_CLASS: oracle.as.config.impl.OracleASInstanceProvisioner] [SRC_METHOD: directoryIsPopulated] directoryIsPopulated found unexcluded file/dir: /u01/app/oracle/product/fmw11g/asinst_1/tmp
[2014-10-15T09:26:26.459+03:00] [as] [TRACE:32] [] [oracle.as.config] [tid: 45] [ecid: 0000K^EnlatDg^WFLzfP8A1KFHkM00000^,0] [SRC_CLASS: oracle.as.config.impl.OracleASInstanceProvisioner] [SRC_METHOD: calcDirectoryStatus] Oracle Instance directory status: INSTANCERam,
You didn't read the response in your other thread.
WLS 10.3.5 isn't the right version of WLS to use with Forms 11.1.1.3
John -
Oracle 11G database and Application Server installed on same server
What are the pros and cons installing Oracle 11G database and Oracle Application Server (Forms and Reports) on the same server?
Thank you in advance, SonyaSome may want their data in a separate network zone for security reasons.
It also depends if it is the same people that do maintenance on db and appserver.
It is lower cost with one server, and only 1 Os to set up. -
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 -
Oracle 11G,10g and DB2 replication?
Oracle 11G,10g and DB2 replication?
=======================================
We are using Oracle 11gR2. We have a table in Oracle filled with partial data (over 200K+, it may grow to 1M). The rest need to be obtained from DB2. It is not from one DB2 table.
The DB2 is configured to run Oracle 10g within it. We have given http interface, where we need to supply(Push) the partial data using HTTP_UTIL package for each row, then DB2/Oracle 10g return the result as XML.
It is a network heavy, slow and not reliable.
Are we able to replicate tables between Oracle 11g and DB2/oracle 10g?
We like to leverage the features on 11gR2 effectively.
I find some interesting folks in this forum.
Did anyone face such situation?
I like to know the best approach with good performance options.
Any idea?
Thanks in helping.qwe16235 wrote:
The DB2 is configured to run Oracle 10g within it. We have given http interface, where we need to supply(Push) the partial data using HTTP_UTIL package for each row, then DB2/Oracle 10g return the result as XML.
Any idea?http://en.wikipedia.org/wiki/Rube_Goldberg_machine
why is DB2 required to produce XML? -
Move database from server running Oracle 11G to server running Oracle 12c
I'm trying to find out the easiest way to migrate a database from a server running Oracle 11G to a server running Oracle 12c. I have tried using RMAN's duplicate database command but have run into far too many issues when trying to setup both servers before running the duplicate command. If someone could provide some clear guidance on configuring both servers for the RMAN Duplicate command then that would be great. The other thing I have tried is performing a cold backup of all the files for the database (control files, data files, etc.). Copying them to the new server and then recreating the control file to include the correct location and names for the datafiles and redologs. After recreating the control file the database will not start up. I'm suspecting this is due to the version differences. If you can provide me clear (ie. migration for dummies) instruction for getting either of these methods to work it would be greatly appreciated. I'm also open to any other method you can think of to achieve what I'm trying to accomplish. Thanks, Paul Noyes
Pl do not post duplicates - Move database from server running Oracle 11G to server running Oracle 12c
-
Connect to Oracle 9i server using oracle 11g client
Hi,
my oracle 9i server is on unix machine.
I got new Window 7 64 bit machine for .NET code development(framework 4.0).It is having Oracle 11G installed.I am getting oracle connection error while running .NET application.
what changes (connection string/tnsnames.ora/others) will I have to do to connect Oracle 9i server using oracle 11g client ?Hi,
Please post the complete error stack you are getting.
Regards
Yoonas -
Forgot my oracle 11g username and password
hi all
forgot my oracle 11g username and password , how can i recover them although i tried multiple ways as using / as sysdba and it didnot work .Please in addition to your own words, post full copy-paste of command line sessions including actual error messages (e.g. cannot access database is not an actual error).
Try from a command window (cmd), assuming Windows platform:
sqlplus / as sysdba
If it says "Connected to idle instance.", try:
SQL> startup
Did you just install XE or was it working before and now suddenly it doesn't? (what changed in the latter case?)
Edited by: orafad on Nov 24, 2012 7:52 PM -
Oracle 10g http issue. always ask for XDB and APEX password
As i m uses oracle 10g express edition, it ask for XDB and Apex password frequently.
i changed the port from 8080 to 8181 but still same problem.
Any solution?If you wish to enable anonymous access to the ML DB repository, the following code creates the "<allow-repository-anonymous-access>" element if it is missing, or updates it if it is already present in the xdbconfig.xml file.
CONN sys/password AS SYSDBA
SET SERVEROUTPUT ON
DECLARE
l_configxml XMLTYPE;
l_value VARCHAR2(5) := 'true'; -- (true/false)
BEGIN
l_configxml := DBMS_XDB.cfg_get();
IF l_configxml.existsNode('/xdbconfig/sysconfig/protocolconfig/httpconfig/allow-repository-anonymous-access') = 0 THEN
-- Add missing element.
SELECT insertChildXML
l_configxml,
'/xdbconfig/sysconfig/protocolconfig/httpconfig',
'allow-repository-anonymous-access',
XMLType('<allow-repository-anonymous-access xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd">' ||
l_value ||
'</allow-repository-anonymous-access>'),
'xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd"'
INTO l_configxml
FROM dual;
DBMS_OUTPUT.put_line('Element inserted.');
ELSE
-- Update existing element.
SELECT updateXML
DBMS_XDB.cfg_get(),
'/xdbconfig/sysconfig/protocolconfig/httpconfig/allow-repository-anonymous-access/text()',
l_value,
'xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd"'
INTO l_configxml
FROM dual;
DBMS_OUTPUT.put_line('Element updated.');
END IF;
DBMS_XDB.cfg_update(l_configxml);
DBMS_XDB.cfg_refresh;
END;
/ -
Connecting SQL server from Oracle 11g
Hello,
I know there are several threads available to this post but please help me in
*step by step process to follow in connecting 2 servers.
I tried everything in internet but got Connection closed error after tnsping of DNS name. Do i need to run any instance sort of thing in SQL server?
I dont have any access on SQL server.Whatever i have to do that has to be only in Oracle server.I got all those information and created ODBC (using SQL server driver) and tested the connection successfully in Oracle server. Altered INIT*.ORA,TNSNAMES.ORA and LISTENER.ORA but when pinging TNS awfully getting the afore said error.
My environment : Oracle 11g server - SQL server 2008 ( both in windows platform).
My
TNS names entry
GSIS =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.1.1)(PORT = 63455))
(CONNECT_DATA = (SID=GSIS)
(SERVER = DEDICATED)
(HS=OK)
Listener entry
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1522))
(ADDRESS = (PROTOCOL = TCP)(HOST = COB417147.cob.apac.bosch.com)(PORT = 1522))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\Oracle\app\amk1cob\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:C:\Oracle\app\amk1cob\product\11.2.0\dbhome_1\bin\oraclr11.dll")
(SID_DESC =
(SID_NAME = GSIS)
(ORACLE_HOME = C:\Oracle\app\amk1cob\product\11.2.0\dbhome_1)
(PROGRAM = hsodbc)
and
initGSIS
entry
# This is a sample agent init file that contains the HS parameters that are
# needed for the Database Gateway for ODBC
# HS init parameters
HS_FDS_CONNECT_INFO = GSIS
HS_FDS_TRACE_LEVEL = OFF
# Environment variables required for the non-Oracle system
#set
when tnsping i am getting
TNS connection closed.
I am awfully stuck here.
Please guide..Status
C:\Oracle\app\amk1cob\product\11.2.0\dbhome_1\BIN>lsnrctl status
LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 11-MAY-2012 17:48
:14
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1522)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Produ
ction
Start Date 11-MAY-2012 17:36:30
Uptime 0 days 0 hr. 11 min. 48 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\Oracle\app\amk1cob\product\11.2.0\dbhome_1\network\
admin\listener.ora
Listener Log File c:\oracle\app\amk1cob\diag\tnslsnr\COB417147\listener\
alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1522ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=COB417147.cob.apac.bosch.com)(PORT=1
522)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=COB417147.cob.apac.bosch.com)(PORT=8
080))(Presentation=HTTP)(Session=RAW))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "GSIS" has 1 instance(s).
Instance "GSIS", status UNKNOWN, has 1 handler(s) for this service...
Service "orcl.cob.apac.bosch.com" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB.cob.apac.bosch.com" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully
TNS ping
C:\Oracle\app\amk1cob\product\11.2.0\dbhome_1\BIN>tnsping GSIS
TNS Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on 11-MAY-2
012 18:21:55
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
C:\Oracle\app\amk1cob\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.
1.1)(PORT = 63455)) (CONNECT_DATA = (SID=GSIS)) (HS=OK))
TNS-12537: TNS:connection closed
C:\Oracle\app\amk1cob\product\11.2.0\dbhome_1\BIN>
BTW it is 32-bit machine.
Edited by: 933729 on May 11, 2012 5:57 AM -
Install Http Server in ORACLE 10g 10.2.0.3
Hi, before i had Oracle XE 10.2.0.1 and Apex 3.2 both worked ok. Now remove Oracle XE and APEX 3.2 and then installed ORACLE 10g 10.2.0.3 and Apex 4.0, but when i try to login to apex http://server:8080/pls/apex/apex_admin the login page not appears.
Before run apex with OC4J from developer suite 10g, but now i need to install some particular http server with the companion cd or something like that.
I guess i have to install http server and xml database from companion cd but which option have to choose.
RegardsPl post details of your OS. If you installed 10.2.0.3, you will also need to install the HTTP server from the companion CD.
http://download.oracle.com/docs/cd/E17556_01/doc/install.40/e15513/overview.htm#CJAFEAJJ
http://www.oracle.com/technology/obe/apex/apexinst/apexinst.htm#t2
HTH
Srini -
How to configure http server in oracle 10g
Hi
I am configuring apex 3.2.1 on oracle 10g 10.2.0 I need help how to configure http server bec i did not find any Apache file or folder in 10g if it is then how .
ArshadHi
I use to configure only this in $ORACLE_HOME/forms/server/forms.conf (and restart ias):
AddType application/x-orarrp rrp_
AddType application/x-orarrp-text rrpt
AddType application/x-orarrp-ps rrpp
AddType application/x-orarrp-pdf rrpa
AddType application/x-orarrp-rtf rrpr
AddType application/x-orarrp-html rrph -
Start HTTP Server on Oracle 9.2.0.1 Server version
I have Used Oracle 9.2.0.1 server edition on Windows 2000 server with service pack 4 platform. I want to know how could I start HTTP Server?
When I start HTTP server from Strat > Program > Oracle Ora home 92 > Oracle HTTP Server > start HTTP server powered by Apache then error comes as below..
'Access is denied : FastCGI : create Mutex () failed...What does the error_log of the Oracle Apache HTTP server say? This is typically in the $ORACLE_HOME/Apache/Apache/logs directory.
Weird that a mutex create failed. Without the actual o/s error code that resulted, it is difficult to diagnose the problem. Anything in the Application (or Security) Event Log? Access denied seems to indicate an ACL failure of sorts.
You could also disable FastCGI - it is not very often used and APEX (mod_plsql) does not need it. The httpd.conf file (in $ORACLE_HOME/Apache/Apache/conf) can be edited to disable FastCGI.
Maybe you are looking for
-
ALV GRID Display function module giving Run time error
Hello Experts, I have ALV report, In which I am using ALV grid dispaly FM to display the report. But when my out table which I am passing to FM is empty that time ALV grid display shows blank ALV report. but when out table is not empty that time I a
-
ITunes unexpectantly crashes on iPad.
iTunes crashes while shopping. Never had a problem before this week and iTunes is the only app that's crashing on my iPad. Any ideas as to why this is happening?
-
Media Encoder failing with AVCHD
There's been a few discussions about AVCHD but I haven't been able to find any that were resolved. In using AVCHD footage from my Canon C100 I've found that media encoder fails if CUDA hardware acceleration is enabled for the project. Having accelera
-
After I get down importing content from audio CD and Eject the CD, the next CD to load is not recognized in iTunes Devices window - What gives?
-
Hard Drive Carrier old & new Mac Pro
hi! i'm asking me if the hd carriers from the "old" mac pro fits in the early 08 one's? thx alot