About HTTP Server--PL/SQL Properties

When I click link 'PL/SQL Properties' on HTTP Server page
It display a blank page,and can not display normally
When I reboot server,It only display normally once,and once again click it,the blank page appeared.
I used Oracle 9iAS R2
Can u help me?

What Navigator for Internet is???
And what version???

Similar Messages

  • 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

  • Virtual Directory Change from Oracle HTTP Server to Embedded PL/SQL Gateway

    We finally upgraded from htmldb 1.6 to ApEx 3.1.2 late last year. This was in conjunction with setting up a new server and installing Oracle 11g DB, while our production DB is still 10g. During this install, I opted for the Embedded PL/SQL Gateway, whereas our htmldb is running with the Oracle HTTP Server.
    During the conversion of one of our applications I learned that Virtual Directory references to #IMAGE_PREFIX# are no longer valid for custom CSS so I had to change an entry in the page templates that I'm using to use #WORKSPACE_IMAGES#. Now I am importing another application from our htmldb 1.6 environment to our ApEx 3.1.2 environment, and I have a new problem that I think is related.
    In this application we have been uploading report files for outside users to be able to download at their convenience. I think the upload is working OK, but when I try to download the report file I get the following:
    Not found
    The requested URL /apex/IMR.ofile was not found on this server.
    The download is accomplished with a link on an SQL Report region. The Column Link info is:
    Link Text = <img src="#IMAGE_PREFIX#edit_big.gif" border="0" alt="Icon 1">
    Target = URL
    URL = #OWNER#.ofile?p_file=#VIEW_REPORT#&v_auth=&APP_USER.
    When I change the Link Text to <img src="#WORKSPACE_IMAGES#edit_big.gif" border="0" alt="Icon 1"> I lose the Edit Icon image. However, what I'm really concerned about is the URL not found error
    Now, maybe I'm barking up the wrong tree, so if the problem isn't related to virtual directories, which tree should I be barking up?
    Any suggestion?
    Thanks,
    Gregory

    Is the IMR.ofile a custom package for downloading files? If so, you might need to add it to the wwv_flow_epg_include_mod_local function.
    I am not certain how this function also plays into the embedded pl/sql gateway, but do know it would affect this running through Oracle HTTP server when configured with the before proc.
    With the embedded gateway it may very well be that you need to add this package into the ACL for outside availability.

  • 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.

  • 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

  • 500 internal server error when I look at http_server - pl/sql properties

    When I click on PL/Sql Properties under http_server/administration I get
    500 Internal Server Error
    java.lang.NullPointerException
         at oracle.webdb.monitoring.hawkeye.bean.CacheWizardBean.refresh9025(Unknown Source)
         at oracle.webdb.monitoring.hawkeye.bean.CacheWizardBean.refresh(Unknown Source)
         at oracle.webdb.monitoring.hawkeye.bean.CacheWizardBean.<init>(Unknown Source)
         at oracle.webdb.monitoring.hawkeye.MonitoringControl.setBeans(Unknown Source)
         at oracle.webdb.monitoring.hawkeye.MonitoringControl.handleEvent(Unknown Source)
         at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:406)
         at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:728)
         at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:307)
         at oracle.sysman.eml.app.Console.doGet(Console.java:271)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:847)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:340)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    And idea on what is causing this? This OAS installation is not new. It's a test setup so I don't check it often but it was working as far as I knew.

    Please ,
    post this thread to JDeveloper forum.....
    Regards,
    Simon

  • System Level deployment.properties on https Server

    We want to use the system level deployment.properties (
    http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/properties.html#location )
    which is placed on our https server.
    For Java Webstart applications this works perfect.
    But applets wont start.
    Applet console output when deployment.properties is placed on https server:
    Java Plug-in 1.5.0_06
    Using JRE version 1.5.0_06 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\xxxFinalizer, called close()
    Finalizer, called closeInternal(true)
    network: Loading user-defined proxy configuration ...
    network: Done.
    network: Loading proxy configuration from Internet Explorer ...
    network:     Auto config URL: http://proxy.xxx.com/pac/proxy.pac
    network: Done.
    network: Loading auto proxy configuration ...
    network: Downloading auto proxy file from http://proxy.xxx.com/pac/proxy.pac
    network: Done.
    network: Proxy Configuration: Automatic Proxy Configuration
         URL: http://proxy.xxx.com/pac/proxy.pac
    basic: Registered modality listener
    liveconnect: Invoking JS method: document
    liveconnect: Invoking JS method: URL
    basic: Referencing classloader: sun.plugin.ClassLoaderInfo@1efb836, refcount=1
    Exception in thread "Thread-2" java.lang.ClassCastException: sun.net.ProgressMonitor
         at sun.plugin.util.GrayBoxPainter.beginPainting(Unknown Source)
         at sun.plugin.AppletViewer.initApplet(Unknown Source)
         at sun.plugin.AppletViewer.appletInit(Unknown Source)
         at sun.plugin.viewer.LifeCycleManager.initAppletPanel(Unknown Source)
         at sun.plugin.viewer.IExplorerPluginObject$Initer.run(Unknown Source)
    Applet console output when deployment.properties is placed on http server:
    Java Plug-in 1.5.0_06
    Using JRE version 1.5.0_06 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\xxx
    network: Loading user-defined proxy configuration ...
    network: Done.
    network: Loading proxy configuration from Internet Explorer ...
    network:     Auto config URL: http://proxy.xxx.com/pac/proxy.pac
    network: Done.
    network: Loading auto proxy configuration ...
    network: Downloading auto proxy file from http://proxy.xxx.com/pac/proxy.pac
    network: Done.
    network: Proxy Configuration: Automatic Proxy Configuration
         URL: http://proxy.xxx.com/pac/proxy.pac
    basic: Cache is enabled
    basic: Location: C:\Documents and Settings\xxx\Application Data\Sun\Java\Deployment\cache\javapi\v1.0
    basic: Maximum size: unlimited
    basic: Compression level: 0
    c:   clear console window
    f:   finalize objects on finalization queue
    g:   garbage collect
    h:   display this help message
    l:   dump classloader list
    m:   print memory usage
    o:   trigger logging
    p:   reload proxy configuration
    q:   hide console
    r:   reload policy configuration
    s:   dump system and deployment properties
    t:   dump thread list
    v:   dump thread stack
    x:   clear classloader cache
    0-5: set trace level to <n>
    basic: Registered modality listener
    liveconnect: Invoking JS method: document
    liveconnect: Invoking JS method: URL
    trustStore is: C:\PROGRA~1\Java\JRE15~1.0_0\lib\security\jssecacerts
    trustStore type is : jks
    trustStore provider is :
    init truststore
    adding as trusted cert:
    X509KeyManager passed to SSLContext.init():  need an X509ExtendedKeyManager for SSLEngine use
    trigger seeding of SecureRandom
    done seeding SecureRandom
    basic: Referencing classloader: sun.plugin.ClassLoaderInfo@fc9944, refcount=1
    basic: Added progress listener: sun.plugin.util.GrayBoxPainter@1256ea2
    basic: Loading applet ...
    basic: Initializing applet ...
    basic: Starting applet ...
    # and so on ...I guess that the trusted jssecerts is not regarded until the system level deployment.properties has been downloaded.
    Whereas the deployment.properties can not be downloaded from my https server when the trusted certs are not known at this time.
    Or any other presumptions?
    Maybe it helped you ;-)

    I did something very similar. I am using jre 1.5.0_01.
    And it seems to work!
    The deployment.config is:
    deployment.system.config=file:/c:/jws/deployment.properties
    deployment.system.config.mandatory=true
    and the deployment.properties is (at the location above):
    deployment.system.cachedir=cache
    To load the cache I start javaws as follows:
    javaws -import -system -codebase file:/c:/cd file:/c:/cd/notepad.jnlp
    This results in creating the cache in
    file:/c:/jws//cache
    To start the app I did:
    javaws -system http://java.sun.com/products/javawebstart/apps/notepad.jnlp
    The -system seems to be neccessary but I am not quite sure. If it is omitted
    the app also starts, but javaws stores just the jnlp in the default user cache!

  • Installation Problem about ORACLE HTTP SERVER 10g

    I tried to install oracle http server on windows xp sp2. Everthing was all right until
    it made some recommend tasks while installing. It could'nt start the http server at there. I completed the installation. After then when i connect to the internet and try to start http server it starts. But when i do not connect to the internet it gives an error like apache.exe couldn't start on executing ApacheModuleonsinst.dll. I want to learn what causes to this problem.

    pparkko wrote:
    With this type of behaviour, you always need to find out the real error.
    Try opening a command prompt (cmd) and running the command from the command line.
    Then you can see what is going wrong.I have a question, I just upgraded our test 11i database (9i) to 10g (10.2), as a part of that upgraded forms, reports, graphics to patchset 18. Now planning to install 10giAS on appsTier on which forms, Apache and discoverer running. If I install 10giAS in differnet home, how can I get that in to appsTier?, does it mean adapcctl script no longer be used to start webservices?. I haven’t done this before, if my question is stupid, please ignore :).

  • Memory leak issue with link server between SQL Server 2012 and Oracle

    Hi,
    We are trying to use the linked server feature with SQL Server 2012 to connect SQL server and Oracle database. We are concerned about the existing memory leak issue.  For more context please refer to the link.
    http://blogs.msdn.com/b/psssql/archive/2009/09/22/if-you-use-linked-server-queries-you-need-to-read-this.aspx
    The above link talks about the issues with SQL Server versions 2005 and 2008, not sure if this is still the case in 2012.  I could not find any article that talks about if this issue was fixed by Microsoft in later version.
    We know that SQL Server process crashes because of the third-party linked server provider which is loaded inside SQL Server process. If the third-party linked server provider is enabled together with the
    Allow inprocess option, the SQL Server process crashes when this third-party linked server experiences internal problems.
    We wanted to know if this fixed in SQL Server 2012 ?

    So your question is more of a information type or are you really facing OOM issue.
    There can be two things for OOM
    1. There is bug in SQL Server which is causing the issue which might be fixed in 2012
    2. The Linked server provider used to connect to Oracle is not upto date and some patch is missing or more recent version is to be used.  Did you made sure that you are using latest version.
    What is Oracle version you are trying to connect(9i,10g, R2...)
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • Problem: [Microsoft][ODBC SQL Server Driver][SQL Server]The Microsoft Distributed Transaction Coordinator (MS DTC) has cancelled the distributed transaction.

    Hi Gurus,
    I have this problem in my MS SQL Server 2012 that is running in SQL Server 2008 R2 Enterprise 64 bit.. Not sure why... Here is the full details of the error:
    Microsoft OLE DB Provider for ODBC Drivers 80040E14
    [Microsoft][ODBC SQL Server Driver][SQL Server]The Microsoft Distributed Transaction Coordinator (MS DTC) has cancelled the distributed transaction.
    /Libraries/DBA/DBA.asa, line 717
    Line 717 is this:
    rs.open destTableName,,,,adCmdTable
    Full details of the code:
        'Field object used to iterate through each field of the rs
        dim rs, fld
        'call dbInitRS(rs)
        set rs = server.createobject("adodb.recordset")
        'On Error Resume Next
        'Open rs
        set rs.activeConnection = myConnection
        rs.cursorType = adOpenKeyset
        rs.lockType = adLockOptimistic
        'rs.open destTableName
        rs.open destTableName,,,,adCmdTable
        'if err.number <> 0 then
        '    goto HandleError
        'end if
        rs.addNew
    Any ideas how to solve this problem?
    Thanks

    Still does not work. I have allow MSDSTC in my firewall list.
    Hi dudskie,
    Have you try to use DTCTester or DTCPing to verify MSDTC functionality over the network? Please refer to the following article:
    Troubleshooting Problems with MSDTC:
    http://msdn.microsoft.com/en-us/library/aa561924.aspx
    Use the DTCTester utility to verify transaction support between two computers if SQL Server is installed on one of the computers. The DTCTester utility uses ODBC to verify transaction support against a SQL Server database. For more information about
    DTCTester see How to Use DTCTester Tool.
    Use DTCPing to verify transaction support between two computers if SQL Server is not installed on either computer. The DTCPing tool must be run on both the client and server computer and is a good alternative to the DTCTester utility when SQL Server
    is not installed on either computer. For more information about DTCPing, see
    How to troubleshoot MS DTC firewall issues.
    If you have any feedback on our support, please click
    here.
    Hope this helps.
    Regards,
    Elvis Long
    TechNet Community Support

  • Problem in starting sqlplus after installing http server only on red hat linux 7.1

    I have installed http server on my pc. it was installed
    successfully mt http server is running on port 7777 but when i
    am trying to run sqlplus from user root
    /home/oracle/OraHome1/bin > ./sqlplus
    it's giving msg1<lang>.msb file not found.
    error 6 intializing sql*plus
    but i have seen that sqlplus/message directory has msg1us.msb
    file . since sqlplus is a bin file otherwise i can change it's
    path. i think so.
    give expert suggestions
    brajesh karn

    What about your envirnoment variables (ORACLE_HOME, ORACLE_SID,
    ORA_NLS33) ?

  • Advice on setting up a HTTP server for APEX

    Hi Experts,
    I'm very busy to setup an application in APEX, and we're about to deploy it on our production servers.
    Database side is fine, but I got some questions about the HTTP server.
    (I come from an engineering background, working with databases for a couple of years but the whole HTTP world is pretty new for me).
    - What is the best option for HTTP server?
    I've been testing apex_listener stand-alone now, and under GlassFish server.
    When we move to production, I'm looking at:
    - max 10 concurrent users
    - windows 2003 based webserver
    - APEX 4.1
    - oracle 10.2
    - After we installed APEX on the database server, do we have to keep the apex files available, or can I just remove it?
    (I know I need the apex\images folder on the webserver).

    Hi JP,
    - What is the best option for HTTP server?
    I've been testing apex_listener stand-alone now, and under GlassFish server.The standalone mode is intended to be used for development/testing purposes only. If you plan a productive deployment, use a "full-blown" JEE server. GlassFish is one option. If it's the one you'll want depends on your production scenario and your previous experiences with JEE servers. You'll get a full list of all officially supported JEE servers in the requirements section of the Installation Guide.
    - After we installed APEX on the database server, do we have to keep the apex files available, or can I just remove it?
    (I know I need the apex\images folder on the webserver).You can simply remove the installation package, though you might want to keep a few files for maintenance/development tasks, e.g. the apxchpwd.sql in order to be reset the password for the APEX internal ADMIN, and the contents of apex\utilities if you ever have to reset the images prefix or want to use the java-based APEX export for command line/script based export of (multiple) APEX applications.
    -Udo

  • Re Post: Http server cannot start after running the following JSP

    Hi,
    I have 9iAS 1.0.2.2 and it has been working fine.
    My http server was running fine until I ran the following Jsp. Now I cannot start the Http server at all.
    I check the Oracle home and the path and make sure they match (i.e. if my Oracle Home is iSuites, I have the PATH variable: c:\oracle\isuites\bin as the 1st one. And I reboot the system after I changed the Oracle Home, check the PATH variable etc.)
    I also check the oci.dll files, and I have the oci.dll file in the following directories:
    c:\oracle\ora81\BIN 87KB
    c:\oracle\806\BIN 38KB
    c:\oracle\iSuites\BIN 87KB
    I check the Registry (regedit) and found that I have ORACLE_HOME_KEY for ora81 home, iSuites home, but not
    806 home. And there are oracle.key files in c:\oracle\ora81\bin, c:\oracle\806\bin, c:\oracle\isuites\bin .
    The contents of oracle.key in c:\oracle\ora81\bin and c:\oracle\isuites\bin are correct (i.e. "Software\ORACLE\HOME0" "Software\ORACLE\HOME2" respectively.) However, the content in c:\oracle\806\bin is "Software\ORACLE" .
    Will this be a problem because there is no corresponding ORACLE_HOME_KEY for 806 in regedit?
    OR
    the OCI.DLL file is corrupted in one of the above directory.
    Below is the JSP code that I ran. Before that, my HTTP server is started correctly.
    I really appreciate if someone could give me some pointers about this.
    I also suspect that when the HTTP server was brought down for some reasons and it was not a clean shutdown.
    So how can I shutdown the http server cleanly before restarting that?
    Thanks;
    Kelly.
    <%@ page language="sqlj"
    import="sqlj.runtime.ref.DefaultContext,oracle.sqlj.runtime.Oracl
    e" %>
    <HTML>
    <HEAD> <TITLE> The SQLJQuery JSP </TITLE> </HEAD>
    <BODY BGCOLOR="white">
    <% String empno = request.getParameter("empno");
    if (empno != null) { %>
    <H3> Employee # <%=empno %> Details: </H3>
    <%= runQuery(empno) %>
    <HR><BR>
    <% } %>
    <B>Enter an employee number:</B>
    <FORM METHOD="get">
    <INPUT TYPE="text" NAME="empno" SIZE=10>
    <INPUT TYPE="submit" VALUE="Ask Oracle");
    </FORM>
    </BODY>
    </HTML>
    <%!
    private String runQuery(String empno) throws
    java.sql.SQLException {
    DefaultContext dctx = null;
    String ename = null; double sal = 0.0; String hireDate = null;
    StringBuffer sb = new StringBuffer();
    try {
    dctx = Oracle.getConnection("jdbc:oracle:oci8:@", "scott",
    "tiger");
    #sql [dctx] {
    select ename, sal, TO_CHAR(hiredate,'DD-MON-YYYY')
    INTO :ename, :sal, :hireDate
    FROM scott.emp WHERE UPPER(empno) = UPPER(:empno)
    sb.append("<BLOCKQUOTE><BIG><B><PRE>\n");
    sb.append("Name : " + ename + "\n");
    sb.append("Salary : " + sal + "\n");
    sb.append("Date hired : " + hireDate);
    sb.append("</PRE></B></BIG></BLOCKQUOTE>");
    } catch (java.sql.SQLException e) {
    sb.append("<P> SQL error: <PRE> " + e + " </PRE> </P>\n");
    } finally {
    if (dctx!= null) dctx.close();
    return sb.toString();
    %>

    I had this problem and the pkgchk mentioned above helped to get the admin server going (thanks!) but I could not run the admin console. I saw:
    Exception in thread "main" java.lang.UnsupportedClassVersionError: org/GNOME/Accessibility/JavaBridge (Unsupported major.minor version 49.0)
    It turned out that something (I suspect the patch) had replaced my java1.5.0_06 binary with a java1.4.2_03 binary - but left the java1.5 directory structure alone! i.e. looking in /usr/jdk would have indicated that java1.5 was installed, but when I ran jdk1.5.0_06/bin/java -version , it reported java version "1.4.2_03". I was unimpressed.
    I ended up removing all the SUNWj5* packages and reinstalling them and then I could start the admin console.
    Now to find out what other damage this patch might have caused.....

  • Http server cannot start after running the following JSP

    Hi,
    I have 9iAS 1.0.2.2 and it has been working fine.
    My http server was running fine until I ran the following Jsp. Now I cannot start the Http server at all.
    I check the Oracle home and the path and make sure they match (i.e. if my Oracle Home is iSuites, I have the PATH variable: c:\oracle\isuites\bin as the 1st one. And I reboot the system after I changed the Oracle Home, check the PATH variable etc.)
    I also check the oci.dll files, and I have the oci.dll file in the following directories:
    c:\oracle\ora81\BIN 87KB
    c:\oracle\806\BIN 38KB
    c:\oracle\iSuites\BIN 87KB
    I check the Registry (regedit) and found that I have ORACLE_HOME_KEY for ora81 home, iSuites home, but not
    806 home. And there are oracle.key files in c:\oracle\ora81\bin, c:\oracle\806\bin, c:\oracle\isuites\bin .
    The contents of oracle.key in c:\oracle\ora81\bin and c:\oracle\isuites\bin are correct (i.e. "Software\ORACLE\HOME0" "Software\ORACLE\HOME2" respectively.) However, the content in c:\oracle\806\bin is "Software\ORACLE" .
    Will this be a problem because there is no corresponding ORACLE_HOME_KEY for 806 in regedit?
    OR
    the OCI.DLL file is corrupted in one of the above directory.
    Below is the JSP code that I ran. Before that, my HTTP server is started correctly.
    I really appreciate if someone could give me some pointers about this.
    Thanks;
    Kelly.
    <%@ page language="sqlj"
    import="sqlj.runtime.ref.DefaultContext,oracle.sqlj.runtime.Oracl
    e" %>
    <HTML>
    <HEAD> <TITLE> The SQLJQuery JSP </TITLE> </HEAD>
    <BODY BGCOLOR="white">
    <% String empno = request.getParameter("empno");
    if (empno != null) { %>
    <H3> Employee # <%=empno %> Details: </H3>
    <%= runQuery(empno) %>
    <HR><BR>
    <% } %>
    <B>Enter an employee number:</B>
    <FORM METHOD="get">
    <INPUT TYPE="text" NAME="empno" SIZE=10>
    <INPUT TYPE="submit" VALUE="Ask Oracle");
    </FORM>
    </BODY>
    </HTML>
    <%!
    private String runQuery(String empno) throws
    java.sql.SQLException {
    DefaultContext dctx = null;
    String ename = null; double sal = 0.0; String hireDate = null;
    StringBuffer sb = new StringBuffer();
    try {
    dctx = Oracle.getConnection("jdbc:oracle:oci8:@", "scott",
    "tiger");
    #sql [dctx] {
    select ename, sal, TO_CHAR(hiredate,'DD-MON-YYYY')
    INTO :ename, :sal, :hireDate
    FROM scott.emp WHERE UPPER(empno) = UPPER(:empno)
    sb.append("<BLOCKQUOTE><BIG><B><PRE>\n");
    sb.append("Name : " + ename + "\n");
    sb.append("Salary : " + sal + "\n");
    sb.append("Date hired : " + hireDate);
    sb.append("</PRE></B></BIG></BLOCKQUOTE>");
    } catch (java.sql.SQLException e) {
    sb.append("<P> SQL error: <PRE> " + e + " </PRE> </P>\n");
    } finally {
    if (dctx!= null) dctx.close();
    return sb.toString();
    %>

    Hi Jim,
    I have the same environment with almost similar problem, no IIS services being started, but HTTP_Server still failed to start. Below log:
    +10/09/28 23:35:04 Start process+
    +[Tue Sep 28 23:35:06 2010] [warn] pid file c:/oracle/frhome_1/apache/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous+
    Apache run?
    ap_spawn_child: Bad file descriptor
    Couldn't fork child for piped log process
    Regards,
    Chai
    Edited by: user13350226 on Sep 28, 2010 9:14 AM

  • HTTP Server - what to select

    Hi,
    While installing APEX I see below instruction -
    2.3 HTTP Server Requirements
    In order to run, Oracle Application Express you must have access to one of the following:
    Oracle Application Express Listener
    Embedded PL/SQL gateway
    Oracle HTTP Server and mod_plsql
    Not clear on what these option are and what to choose. I don't know about java. I have installed Oracle in my system with default database. Can someone tell me what to choose here? Many thanks.

    Which version and edition of DB? Version of Apex?
    If you are using XE then EPG is already installed and good for you. And will recommend not to bother about other choices till get more familiar with Apex.
    The choice has more to do with what you already have installed, the available infrastructure ,licensing costs,etc.
    At a broad level
    a. Simplest out of the box : EPG. Good for learning and dev, not the best choice for Prod
    b. ApexListener. Standalone or with J2EE container. Standalone to learn , with J2EE for something more serious.
    c. OHS: If you already have OHS installed or some reasons to use it. It runs fine and has been around longer. Its just that Apexlistener is the one developing faster.
    Regards,

Maybe you are looking for

  • Firefox crashing when opening Microsoft SharePoint

    Hello, Currently the organization I'm with recently transitioned to Microsoft SharePoint for several hosting needs, including a place to host a new "home page." We did extensive testing in a few browsers including Firefox. At the time, this was under

  • Anyone getting error -50?

    I have been trying to do the upgrade since 1:30 PM EST. It will not let me get past the backup before doing the upgrade. This is the error I keep getting, "An error occurred while backing up this iPhone (-50). Would you like to continue to update thi

  • Setting access privileges to document / assigning global preferences

    Good Morning, I have just finished designing my first document in Web Intelligence (as this is my first Business Objects experience).  The report will be moved to prod soon but there are two issues which are still pending.  I have looked for solution

  • Setting priority of an job

    What is the way you can set a job to run first. We are using DBMS_job but can use the scheduler....But can not find a way to priority a job stream....

  • InDesign CS2 Setting up a new document

    When opening a new document how do you get three pages to view in the page layout? (For instance when creating a six page folder.)