HTTP Server and XE

Can the Oracle HTTP Server (OHS) be configured to be used in place of the default web server on XE? I have seen the thread about using Apache as a reverse proxie, but I wanted to simply use the OHS as the only web server for my XE installation. Can someone tell me how this is done?

You might try the following:
(I just did a quick try and didn't make sure that everything will work afterwards, but it looks good).
XE uses the database user ANONYMOUS to connect to the database, not APEX_PUBLIC_USER or HTMLDB_PUBLIC_USER.
1) make a backup of XE first
2) change the password of anonymous:
SQL> conn / as sysdba;
Connect durchgef³hrt.
SQL> alter user anonymous identified by xxx5;
Benutzer wurde geõndert.3) add the following configuration to your dads.conf (or marvel.conf, depending on which you use):
<Location /pls/xe>
Order deny,allow
PlsqlDocumentPath docs
AllowOverride None
PlsqlDocumentProcedure      wwv_flow_file_manager.process_download
PlsqlDatabaseConnectString  localhost:1521:xe ServiceNameFormat
PlsqlNLSLanguage            GERMAN_GERMANY.AL32UTF8
PlsqlAuthenticationMode     Basic
SetHandler                  pls_handler
PlsqlDocumentTablename      wwv_flow_file_objects$
PlsqlDatabaseUsername       anonymous
PlsqlDefaultPage            apex
PlsqlDatabasePassword       xxx5
Allow from all
</Location>4) restart the Oracle http server
5) try http://<hostname>:7777/pls/xe (assuming that you run the OHS on the default port)
It works for me.
You only have to make sure that the /i/ directory contains the css and javascript files that are compatible with XE. I guess the ones from Apex 2.0 will work fine. But I am not sure. You might have to do some more testing here.
Regards,
~Dietmar.

Similar Messages

  • Front-end HTTP Server and Performance with .jspx pages?

    This is more of a general question that I'm looking for validation:
    If the majority of our website is implemented as .jspx pages, with very few straight HTML pages, is there benefit in deploying to an environment with a separate HTTP front-end web server and back-end Application server (java container)? For example, I'm deploying to Tomcat as both the HTTP server and Java Application server for the .jspx pages; is there a performance advantage in deploying to an Apache HTTP server with a connector to Tomcat if I'm primarily serving up .jspx pages? I'm not as familiar with Oracle AS architecture, so my question is primarily around Tomcat deployment.
    thanks

    This is more of a general question that I'm looking for validation:
    If the majority of our website is implemented as .jspx pages, with very few straight HTML pages, is there benefit in deploying to an environment with a separate HTTP front-end web server and back-end Application server (java container)? For example, I'm deploying to Tomcat as both the HTTP server and Java Application server for the .jspx pages; is there a performance advantage in deploying to an Apache HTTP server with a connector to Tomcat if I'm primarily serving up .jspx pages? I'm not as familiar with Oracle AS architecture, so my question is primarily around Tomcat deployment.
    thanks

  • Question about HTTP Server and 9iAS

    I am kind of new to Oracles 9is products. I installed Oracle 9i Rel. 2 recently and it installed HTTP Server and other stuff as part of that install. I am trying to write a small web application. Is this install good enough to do basic servlet's, jsp's and may be EJB's etc ... or do I need to install 9iAS. I am confused on the fact that I know 9iAS will give me j2ee container, web container, clustering, etc ..., what functionality is included in the 9i databases web server piece.
    Also, can anyone point me to a good documentation that explains directory structure of 9i Rel. 2. I am familiar with the database part fairly well(oracle 7 release). However, I am confused as to new web related stuff (Apache, bc4j, etc..) in 9i Rel. 2.
    Thanks.

    Hi,
    No, you cannot run EJB's in the Apache installation. For that you might want to download OC4J.
    Basic Http pages and Servlets can run but I dont think it is advisable to use it for that. For any kind of development, I would suggest you to use OC4J.
    Oracle9i Database is web enabled and you can access the table, etc.. from a browser too. This is the reason Apache is provided with the basic installation. Oracle9i Rel 2 has XML DB in it which again can be accessed from the Web.
    For more help on any of these check http://otn.oracle.com/documentation/oracle9i.html
    You will be able to get all the related Developer's Guide here.
    Hope this helps,
    Rajat

  • 10g: HTTP Server and OC4J on different servers?

    Can anyone assist with configuring HTTP Server and OC4J on different servers?
    I installed AS 10g on both; our application runs fine on one server, with the HTTP Server and OC4J both on the same box.
    I need to also test this with the HTTP Server on a separate box.
    I added this to mod_ocj4.conf:
    Oc4jMount /indox-qa1
    instance://cvodev2:oas_dev2.cvodev2.int.sys.com:indox-qa1
    Oc4jMount /indox-qa1/*
    instance://cvodev2:oas_dev2.cvodev2.int.sys.com:indox-qa1
    But when I try to access something like http://cvodev4/indox-qa1 I get this in the logs:
    [Wed Jul 06 16:54:10 2005] [warn] [client 10.1.1.231] [ecid: 1120683250:192.152.136.127:1248:1544:1,0] MOD_OC4J_0184: Failed to find an oc4j process for destination: instance://cvodev2.int.camsys.com:oas_dev2.cvodev2.int.camsys.com:indor-qa1
    [Wed Jul 06 16:54:10 2005] [error] [client 10.1.1.231] [ecid: 1120683250:192.152.136.127:1248:1544:1,0] MOD_OC4J_0145: There is no oc4j process (for destination: instance://cvodev2.int.camsys.com:oas_dev2.cvodev2.int.camsys.com:indor-qa1) available to service request.
    [Wed Jul 06 16:54:10 2005] [error] [client 10.1.1.231] [ecid: 1120683250:192.152.136.127:1248:1544:1,0] MOD_OC4J_0119: Failed to get an oc4j process for destination: instance://cvodev2.int.camsys.com:oas_dev2.cvodev2.int.camsys.com:indor-qa1
    [Wed Jul 06 16:54:10 2005] [error] [client 10.1.1.231] [ecid: 1120683250:192.152.136.127:1248:1544:1,0] MOD_OC4J_0013: Failed to call destination: instance://cvodev2.int.camsys.com:oas_dev2.cvodev2.int.camsys.com:indor-qa1's service() to service the request.
    I did some ethernet sniffing and it doesn't look to me like the OHS box is even trying to contact the OC4J box.
    Is there more configuration I need to do beyond this?
    Thanks,
    dwh

    hi user11159690
    Maybe this can help:
    "Oracle® HTTP Server Administrator's Guide 10g Release 3 (10.1.3) B25211-02"
    "7.32 mod_oc4j"
    http://download.oracle.com/docs/cd/B25221_04/web.1013/b25211/confmods.htm#i1025739
    Maybe more specifically "Oc4jMount":
    http://download.oracle.com/docs/cd/B25221_04/web.1013/b25211/confmods.htm#CIHJBGFB
    (tip : You can use "Your Control Panel" to make your name visible in forum posts.)
    success
    Jan Vervecken

  • Splitting HTTP Server and 9IAS

    Whats the advantage of splitting the HTTP Server and application server. Bcos in our case the web server is installed thro a minimal installation and the Application server is installed using the enterprise edition in separate servers. Hence in both the servers the HTTP service is enabled . Also the Jserver of web server is not being used by us.
    It would be helpful if somebody could list out the various advantages / disadvantages with the above architecture.
    Thanks and Regards
    Swaminathan

    Question is probably best answered on the general 9iAS forum:
    http://forums.oracle.com/forums/forum.jsp?id=466592
    A quick answer: Reasons vary from distributing load (HTTP hits or application execute), using distribution of HTTP servers for high availability via new clustering capabilities in 9iAS, using different size boxes for one piece or another (e.g. big cluster of tiny HTTP servers and a smaller number of larger servers for EJB), utilizing hardware, physically and logically splitting apart functionality of 9iAS (not such an issue with just the core but more significant with Forms, Reports, Portal, etc).
    This paper gives the feature set supporting distributed deployment:
    http://otn.oracle.com/products/ias/ohs/collateral/r2/clusters.pdf
    and this paper:
    http://otn.oracle.com/products/ias/ohs/collateral/r2/bp-core-v2.PDF
    gives best HTTP and deployment practices that might answer your question.
    Mike.

  • DMZ pattern with single HTTP server and OC4J separated

    I am new to Oracle products and I am I trying to configure 9iAS Rel 2 for a JSP/servlet project and would greatly appreciate any comments or pointers to specific documents that may be helpful.
    I would like to use the DMZ pattern for a small application without clustering anything or installing Infrastructure. I would like to have just the HTTP server between the two firewalls and have the application server (hosting the business logic) and the database server (9i Rel 2) behind the second firewall. I want to keep this as simple as possible.
    Is there any way to install just an HTTP server (such as Apache) in between the two firewalls and have it direct requests to the Oracle 9i (Rel 2) application server (J2EE & Web cache installation) behind the second firewall?
    If that is not possible (due to the need for Oracle's HTTP server and mod_OC4J to forward requests), then I would assume that I would have to install a copy of 9iAS on the one machine between the two firewalls (so that I would have the Oracle HTTP server with mod_OC4J) and then install another copy on a machine behind the second firewall (to host the business logic). Is this correct?
    With those installations in place, would I then follow the modifications that are mentioned in "Scenario C: Routing (or clustering) Instances Across Firewalls" of the 'Oracle9i Application Server: mod_oc4j Technical Overview' (i.e modify the following files opmn.xml, ons.conf mod_oc4j.conf) so that the 9iAS in between the two firewalls ignores its OC4J and forwards requests the to 9iAS behind the second firewall? (I know that this document is talking about clustering which is what I do not want to do, but I can't find any information about trying to put a single instance of a HTTP server in the DMZ while having a single instance of OC4J behind the second firewall).
    Would a better approach be to install a copy of 9iAS in the DMZ and then install a stand along copy of OC4J behind the second firewall?
    Does mod_oc4j automatically install with the J2EE and Web cache installation of 9iAS Rel 2?
    Thanks for your insights,
    - David

    You'r on the right track. You can't install just OHS or just OC4J seperatly but you can get the end result you are looking for.
    Install an iAS instance (j2ee&webcache) in the DMZ and shutdown all but the OHS process.
    Instanll a second iAS instance behind your firewall an shut down all but the OC4J process.
    you now have effectively what you want OHS in the DMZ and OC4J at the intranet.
    Now if you follow the directions in the Mod_oc4j overview doc. You modify the ons.conf by using the dcmctl commands
    getopmnport/addopmnlink
    Then you modify the mod_oc4j.conf using the instance:// tag to rouet requests from the OHS in the DMZ to the OC4J's
    in the intranet.
    You will need to open ports in the firewall for the ajp traffic between OHS and the OC4J's

  • Logging into APEX through Oracle XML DB HTTP Server and Embedded PL/SQL

    Hi,
    I have just finished installing Apex 3.0 on RHEL 4. I am not using HTTP Server, but Embedded PL/SQL. When I go to the page administrator page http://host:8080/pls/apex/apex_admin a prompt pops up and when I give the username as "admin" and the password then it doesn't log me in. I ran the apxconf.sql script and reset the admin password and it is still not letting me log in.
    Please advise

    Unfortunately, using the pl/sql gateway is not yet supported. The documentation should be more clear about that.
    You'll need to use the HTTP server.
    See FAQ #8:
    http://www.oracle.com/technology/products/database/application_express/html/3.0_fsps.html#08

  • 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ás

    To 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!
    Konstantin

    Hi,
    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-&#1044;&#1045;&#1050;. -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

  • Send from file to http server and save http/xml response to another file

    Hallo,
    is there anybody who made running simple think. Read xml file, send it to http server using plain HTTP adapter and then wait for response which is to be saved as another file?
    ThanX a lot.
    Honza Vrzak

    Hello Honza,
    I've made running these two asynchronous scenario. Maybe that might help you?
    1.a) FileAdapter picks up XML and sends it to XI2.0
    1.b) XI uses PlainHTTP-Adapter to sends the message to Webserver
    1.c) HTTPRequestHandler (written in C#) receives the XML and writes it to HD.
    2.a) JavaScript sending an XML to PlainHTTP adapter of XI2.0.
    2.b) XI sends the message to FileAdapter
    2.c) FileAdapter writes the XML to HD
    What you need is an synchrounus scenario and I think I remember that the fileadapter is not able to work synchrounus. So I think you have to combine these two scenarious to one.
    Regards Björn

  • Internal server error - Http server and OC4J intance

    Hi
    Internal Server error ( GET/&lt;app name&gt;
    Hi,
    We are using AS10g R1: 9.0.4.0.0 in production and occasionally getting Internal Server Error. And to overcome this problem, everytime we have to restart the HTTP server; we tried re-staring the OC4J instance to find out whether OC4j is causing the problem, however it doesn't work until we restart the Http server. Interestingly Http server serves well other OC4j instances during the error for a particular app runing in different OC4J instance.
    ANY HELP WILL BE HIGHLY APPRECIATED.
    Here are more details:
    It's a J2ee (struts) app.
    Operating System: Sun Solaris- 5.10
    Http server access log msg:
    "GET /&lt;app name&gt; HTTP/1.1" 500 544
    Http server error log msg:
    MOD_OC4J_0184: Failed to find an oc4j process for destination: OC4J_1
    [Mon Sep  8 17:55:13 2008|http://forums.oracle.com/forums/] error MOD_OC4J_0145: There is no oc4j process (for destination: OC4J_1) available to service request.
    [Mon Sep  8 17:55:13 2008|http://forums.oracle.com/forums/] error [ecid: 51865290138,1|http://forums.oracle.com/forums/] MOD_OC4J_0119: Failed to get an oc4j process for destination: OC4J_1
    [Mon Sep  8 17:55:13 2008|http://forums.oracle.com/forums/] error [ecid: 51865290138,1|http://forums.oracle.com/forums/] MOD_OC4J_0013: Failed to call destination: OC4J_1's service() to service the request.
    [Mon Sep  8 17:55:15 2008|http://forums.oracle.com/forums/] warn [ecid: 51865292545,1|http://forums.oracle.com/forums/] MOD_OC4J_0184: Failed to find an oc4j process for destination: OC4J_1
    OC4J Log:
    Nothing unusual; looks good
    Mod_oc4j.conf
    LoadModule oc4j_module libexec/mod_oc4j.so
    Oc4jConnTimeout 300
    Oc4jCacheSize 0
    # in response to eSecure findings
    RewriteEngine on
    RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
    RewriteRule .* - [F]
    Work around:
    Re-starting HTTP server

    Greetings,
    Since we see a 500 error below in the Http server access log msg: the server is unavailable. I suggest changing the OC4J logging to "FINEST" and then run your test again (server reset etc.) and post the log here.
    THX
    -Mike

  • Some Smaller Problems concerning HTTP-Server and iSQL*PLUS

    Hi!
    System: WIN2K, ORA 9.0.0.1
    1. Problem: With HTTP-Server launched by ORACLE at System Start
    can not connect to DB via iSQL*Plus, message: ORA-12638 (german
    message:"Abruf des Berechtigungsnachweis misslungen") Credential
    retrieval failed. Does no longer occur when shutting down
    service and relaunching Apache manually. Why?
    2. HTTP Server dies instantly when accidentially sending /*
    somewhere in SQL-Statement or alone via iSQL*Plus (in SQL*Plus
    Window /* starts DOC-Mode without chance to end DOC-mode with #)
    Can anyone help? Thank you!
    TIP: Manipulating Database via iSQL*Plus on a Eudora-Browser
    with IR Cellular impresses every Boss! :-)

    Hello CJ
    1st of all: Thank you for your answer!
    What privilege iSQL*Plus connection are you trying make?Tried as normal user and as sysdba. Both works well with Apache
    in Console, both doesn4t work with Apache as a Service started
    (even if there is a 2nd Apache started in Console window)
    Can you connect as a normal user
    if you specify a full DB connection string? By full connection
    string I mean the "(DESCRIPTION=(ADDRESS_LIST=(ADDRESS...)))"
    etc. syntax commonly seen in tnsnames.ora. No! Error "SP2-0306 Invalid Option" occurs.
    that the problem also occurs in the old GUI (non-web version)
    version of SQL*Plus?Right! Typing DOC means entering (now unsupported) DOC Mode
    (DOC> Prompt) return to SQL> with #. Typing /* gets you into DOC-
    Mode but you can4t leave with #. (SQL*Plus userguide and
    reference Part F Obsolete Commands)
    In iSQL*Plus (web based version) typing /* caused apache to die
    (on console!! as service as I mentioned: no connection ).
    Somehow problem no longer occurs. (Miracle?)
    3. Your Palm efforts sound neat! Can you share with the forum
    how usable it is? Are there any configuration tricks
    you found?No tricks needed, I just started a connection to a local
    Provider via IR and Nokia Cellular. Connected to DB via
    iSQL*Plus using Eudora-Browser, logged in as sysdba and shutdown
    DB and started it again. Looked at some v$-views, killed a
    session or two had a good time and impressed everyone. Decide
    for yourself if this could be useful. Might be helpful for
    remote troubleshooting during holidays so don4t tell your boss
    about it.
    (Did anyone try this on Windows CE? Like to know!)
    Dominic

  • 10GXE built-in http server and serving non-APEX pages

    Hello!
    I'm still looking around for more information on the http server software that was included with the 10gxe installation. I haven't been able to find anything about this. References have been to a separately installed web server product and associated folders||directories that don't seem to be relevant to the 10gXE installation.
    Can someone tell me whether the http server that came with the 10gXE serve non-application express pages, such as jsp pages that support oracle's custom jsp tags?
    If it can, can you give me a little more background, please. E.g., what is the name of the http server software's exe, where does the server software and supporting config file reside, and what is the equivalent web-inf directory for deploying a web app? A link to documentation about the built-in would be desirable.
    Thank you.
    Albert

    Okay, I did these steps this morning on my own computer, it took about 30 mintues and worked fine:
    A. Turn off your firewall, or be prepared to allow passage from TNSLSTNR.exe and oracle.exe several times.
    B. MS Loopback adapter should be installed
    C. Be sure you have a good backup
    D. Looks like it uses NT services, wouldn't suggest install on XP Home
    The steps are:
    1. Run the install program downloaded from Oracle
    2. When requested, enter your choice of password to use for SYS and SYSTEM (I'll use "QQ" as a sample later on in this list)
    3. About 7 minutes later, install completes, offers to go to the DB home page, do it
    4. Sign on as SYSTEM using the password you entered on #2
    5. Click "Administration"
    6. Click "Database Users"
    7. Click "Create User" (this user will be your development schema)
    8. Enter username ZZ, password ZZ, re-enter password ZZ, check all privilege boxes (substitute your selections for username and password)
    9. Click "Create"
    10. Click "Logout"
    11. Click Start | Programs | Oracle DB 10g XE | Run SQL Command Line
    12. Enter: conn sys/QQ as sysdba (remember, QQ is just my sample passwd)
    13. Enter: begin <press enter>
    14. Enter: dbms_epg.create_dad(dad_name=>'ox',path=>'/ox/*'); <press enter>
    15. Enter: dbms_epg.set_dad_attribute(dad_name=>'ox',attr_name=>'database-username',attr_value=>'ZZ'); <press enter>
    16. Enter: dbms_epg.authorize_dad(dad_name=>'ox',user=>'ZZ'); <press enter>
    17. Enter: end; <press enter> / <press enter>
    (should give a message about procedure successfully executed)
    18. This code will serve as a test for your DAD: Enter:
    create or replace procedure test1 as
    begin
    htp.p('<html><head><title>test page</title></head>');
    htp.p('<body><p align=center>welcome to '||
    to_char(sysdate,'Day, Month dd, yyyy hh:mi:ss am')||
    '</p></body>');
    end;
    (should give a message about procedure successfully executed)
    19. Using any browser on the machine, enter the URL:
    http://localhost:8080/ox/test1
    (should bring up a centered message with date and time in it)
    that's all there is too the basic setup. Let me know if you have a problem, I'll answer as far as I'm able.

  • WLS5.1 HTTP server and virtual directories

    Hi
    Could someone please tell me if you can configure a virtual directory in WLS5.1's
    HTTP server.
    We wish to configure a directory that is unrelated to the document root.
    Many thanks
    Tim

    You can write your own Servlet that serves up pages from wherever you like.
    There is now 'configurable' way to do this in WLS 5.1
    Mike
    "Tim Dickson" <[email protected]> wrote:
    >
    Hi
    Could someone please tell me if you can configure a virtual directory
    in WLS5.1's
    HTTP server.
    We wish to configure a directory that is unrelated to the document root.
    Many thanks
    Tim

  • Apache HTTP server and Tomcat integration using mod_jk

    Hi, I'm trying to get Apache version 2 Server running with Tomcat 7 as the Java Servlet container (I'll be using Solr as the webapp next). Followed the instructions in the wiki articles Tomcat and Apache and Tomcat.
    The applications work fine separately. It's only when I modify the httpd.conf files as instructed that I get this error when I restart httpd and tomcat. This problem seems identical to this topic although the user that posted it does't know how he fixed the problem.
    Terminal wrote::: Starting Apache Web Server                                                                        [BUSY]
                               /usr/sbin/apachectl: line 84:  8640 Bus error               $HTTPD -k $ARGV       [FAIL]
    The only bit that I didn't follow to the letter is the part where it says to set TOMCAT_JAVA_HOME=/opt/java \. I have it as
    TOMCAT_JAVA_HOME=/usr/lib/jvm/java-7-openjdk. No idea why it repeats that the java home is in the /opt directory.
    I installed mod_jk from the AUR version 1.2.37-1.
    Any idea what the problem is?

    download the binary version of TomCat from
    http://jakarta.apache.org/
    and install it. but your need to set the environment variable...pls refer to
    http://www.amazon.com/exec/obidos/tg/stores/detail/-/books/1861002092/reader/18/ref=lib_dp_TT01/103-9996294-0061449#reader-link
    JSP hava some similarity of ASP. ASP is using Personal Web Server.
    heng

Maybe you are looking for

  • How do I save NEW documents from Office 2011 to SP2010?

    Hi, We are using Office 2011 for Mac, with Safari and SP2010 for collaboration room and document libraries. Accessing, opening, reading and saving existing documents from SP2010 works all fine. But if I, after having opened and edited a Word document

  • Strange behavior with Zoom and Image control

    HELP - I have a strange behavior (bug?) with using Zoom effect on an Image that has been placed on a Canvas. I am using dynamically instantiated images which are placed on a canvas inside a panel. I then assign a Zoom IN and Zoom Out behavior to the

  • ELM send SOAP distributor - SSLCertificateException: certificate rejected

    Hi, I try to configure the Swiss income tax scenario ELM via our PI 7.11. The sending step produces the failure: SOAP: call failed: iaik.security.ssl.SSLCertificateException: Peer certificate rejected by ChainVeri-fier Usually I have to install the c

  • Develop module in Lightroom 5 Disabled

    I purchased LR5 and am unable to use Develop module. Notification say that trial version ended. I've deleted the app and tried to reinstall but "error message 36" appears. How can I solve this problem from the begining of turning laptop on? Thanks

  • Where are the Oracle Data Binding Frameworks for Oracle Objects?

    Oracle offers a few different options for data-binding frameworks to Oracle relational data. Amongst them they include TopLink and the Oracle Application Development Framework (ADF)in JDeveloper 10G. J2EE also offers the EJB standard framework. Both