Oc4jmount

in the Infrastructure we configured 2 servers and webcache installed in one machine.
server A and server B.
shall i modify mod_oc4j.conf file
like the below one for load balancing .
Oc4jMount /myapp instance://app1:home, app2:home
Oc4jMount /myapp/* instance://app1:home, app2:home

in the Infrastructure we configured 2 servers and webcache installed in one machine.
server A and server B.
shall i modify mod_oc4j.conf file
like the below one for load balancing .
Oc4jMount /myapp instance://app1:home, app2:home
Oc4jMount /myapp/* instance://app1:home, app2:home

Similar Messages

  • How apache map oc4j without Oc4jMount

    I installed an oracle application server 10 release 3.
    It works, but there is something I do not understand.
    How does apache map / to oc4j as mod_oc4j.conf is empty of any Oc4jMount ?
    only oc4j related entry I have in mod_oc4j.conf is
    LoadModule oc4j_module libexec/mod_oc4j.so
    Is there any default directive included in the module? As / is mapped to OC4J.
    Regards
    Kuon

    Hi,
    what is says is that by example its mapped to the mail address. If you change the mapping attribute to some other unique property like username then this is used.
    Frank

  • How to create a directory for JSPs under infrastructure "root"?

    Hi,
    I'm not very familiar with Oracle 10gAS, but someone else got it configured and running on a Solaris 9 system, so my terminology may not be correct...
    We now have an "infrastructure" website (at port 7777) and an "ias" website (at port 8000).
    Right now, under the "infrastructure" website, we have the following applications:
    - sso
    - oiddas
    These all are "under" an OC4J instance called "OC4J_SECURITY".
    I need to somehow configure things so that I have a directory directly under the "root" of the "infrastructure" website (e.g., at http://<host>:7777/myjspdirectory) where I can run some JSPs. For example, I want to be able to put a JSP named "foo.jsp" and be able to access it at http://<host>:7777/myjspdirectory/foo.jsp.
    Is there a SIMPLE way to do this? If there is, can someone provide the specific steps (e.g., which directories, and files I need to create/modify)?
    It's not a "full" web application, so I don't want to have to create a WAR, etc.
    So far, I think that I need to add some "MountOc4j" lines to the mod_oc4j.conf file:
    Oc4jMount /myjspdirectory OC4J_SECURITY
    Oc4jMount /myjspdirectory/* OC4J_SECURITY
    But, after that I'm kind of lost :(...
    Is the only way to create a full WAR and then try to deploy it?
    Sorry if my question is somewhat confused, but I guess I am :(...
    Thanks in advance,
    Jim

    qlin,
    Ok, thanks.
    I've been working on creating a WAR the last several hours. I don't have 10g AS here at home, so I've been testing the deployment of the WAR on Tomcat.
    If the WAR deploys all right in something like Tomcat, will it deploy correctly in 10g AS also?
    Are there any "gotchas" that I should be aware of ahead of deploying the WAR on 10g AS?
    Also, I have a bunch of JSPs, but in the the web.xml that I'm using in my testing, it seems to work even though I don't list all of the JSPs. Here's what I have:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    <web-app>
         <servlet>
              <servlet-name>foo1</servlet-name>
              <jsp-file>foo1.jsp</jsp-file>
         </servlet>
         <display-name>WhatEverNameYouWantDisplayed</display-name>
         <description>replace this with a short description</description>
         <welcome-file-list>
              <welcome-file>foo.html</welcome-file>
         </welcome-file-list>
    </web-app>
    Is that (only including one pair of <servlet-name> and <jsp-file> tags all right, or do I have to include a pair of tags for EACH JSP?
    Other than the above, hopefully things will go all right tomorrow... I'm going to have to undo the edits that I did manually on mod_oc4j.conf (the Mount...) and in server.xml before I try the WAR deploy, I think, right?
    Jim

  • Setup cocoon with 9ias 9.0.2 under windows NT

    Setup Cocoon with 9ias OC4J (9.0.2) under Windows NT
    This was a painful process for me. I finally made it work. Thought my story might help someone else. If anyone sees anything that could cause problems down the line, please let me know.
    NOTE: This took me a week to get right, so the restarts I suggest may not be appropriate, just guesses on my part.
    A. FIRST SECTION (Based off of steps 9 - 11 of Metalink note 148497.1) - This deploys the cocoon.war file
    1. Copy cocoon.war file to oracle 9ias home in the j2ee/home/applications directory. (NOT cocoon_jvm14. I tried to use the cocoon with jvm1.4. The version of 9ias I use wanted 1.3, so that is what I ended up using.)
    NOTE: I followed the 9-11 steps from the above note the first time and manually changed the files below, but when I had to reboot my machine a couple of days later it lost the changes. So I went in thru OEM and did it there and have had no problems. These steps are detailed below.
    2. Log into Oracle Enterprise Manager. Click on 9ias instance. Click OC4J_home.
    3. Go to Advanced Properties. Edit the default-web-site.xml file. Look for the statement <default-web-app application="default" name="defaultWebApp" root="/j2ee"/>. After that statement, add the following: <web-app application="default" name="cocoon" root="/cocoon"/>
    4. Go back to OC4J_home. Click on default link near the top of the page. (It has a Path underneath is that says application.xml) Then click on Advanced Properties. Edit the application.xml file. Look for the statement <web-module id="defaultWebApp" path="../../home/default-web-app"/>. After that statement, add the following: <web-module id="cocoon" path="../../home/applications/cocoon.war"/>.
    5. Go back to 9ias instance and do a "Restart All".
    B. SECOND SECTION ( Based off of Metalink note 184826.1)
    1. Go to the Apache/Apache/conf/mod_oc4j.conf file underneath your 9ias home. Add the following line at the bottom of the file: Oc4jMount /cocoon/* home
    Either "Restart All" from OEM again, or follow step 3 from the note. WARNING: I read somewhere that if you try to do the dos dcm/opmn stuff with the OEM at the same time, that you have corruption problems? So close the OEM if you do the dos commands just in case.
    C. THIRD SECTION (This is what I did with the Cocoon jars to make 9ias/oc4J find them and use them. I am by no means saying this is the correct way. Just a way. If anyone has a different way, I would appreciate hearing it.)
    1. Go to 9ias home and in the j2ee/home directory make a new folder. (I called mine xerces.) Copy the following jar files, found in the j2ee/home/applications/cocoon/web-inf/lib directory (this dir will show up after cocoon.war is deployed with the A. FIRST SECTION restart), into your new folder:
    a. batik-all-1.5b2.jar
    b. xalan-2.3.1.jar
    c. xercesImpl-2.0.0.jar
    d. xml-apis.jar
    2. Log into the Oracle Enterprise Manager. Click on OC4J_home. Click on Server Properties. Scroll down to the bottom and type the following into Java Options: -Djava.ext.dirs=xerces. (If you named your new folder xerces.)
    D. LAST SECTION
    1. I rebooted my machine and said a prayer. From the url "http://myhost:7777/cocoon/" I got the cocoon welcome page!

    I've heard rumors its about a month away. We were waiting for it, but then
    decided to go to Linux, as it probably performs better, and the release for
    Linux is already out. 9.0.2 is certified on Linux:
    - SuSe SLES7
    - Red Hat Advanced Server 2.1
    Waiting for Oracle to release a software product seems almost like waiting
    for a sunny day in Seattle -- you eventaly get it, but its unpredicatable
    as to when it will actually be at best...

  • Java sample with mod_osso doesn't work

    Hi,
    I use 9iASR2 and i'm developing an easy sample extracted from "Oracle Single Sign-On Application developer guide" (January 2002)
    I've developed a servlet :
    public class ssotest extends HttpServlet
    public void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
    response.setContentType(CONTENT_TYPE);
    PrintWriter out = response.getWriter();
    out.println("Remote User: " + request.getRemoteUser());
    out.println("Osso-User-Dn: " + request.getHeader("Osso-User-Dn"));
    out.println("<a href=/osso_logout?p_done_url=http://www.yahoo.com>Logout</a>" + request.getHeader("OssoUser-Dn"));
    and i've added in mod_osso.conf file :
    <Location /mypath>
    require valid-user
    authType Basic
    <Location>
    So, when i try to access the servlet, i'm redirected to the SSO server (that's good) but when i put a login and password and click, the error message below diplayed :
    Oracle SSO Warning
    Request not granted. Please specify the URL in terms of a fully-qualified host name and try your request again.
    If the problem persists, please notify your administrator as the Oracle SSO configuration may be invalid.
    Thank you for your help.
    Franck

    Also, try using the same value for the hosts in all the directives. And, maybe drop the weights down from 50 each to 1 each, so that it looks like this:
    Oc4jSelectMethod roundrobin:weighted
    Oc4jRoutingWeight FRServices.server1 1
    Oc4jRoutingWeight FRServices.server2 1
    Oc4jMount /forms/frmservlet instance://FRServices.server1:OC4J_BI_Forms,FRServices.server2:OC4J_BI_Forms
    Oc4jMount /forms/frmservlet/* instance://FRServices.server1:OC4J_BI_Forms,FRServices.server2:OC4J_BI_Forms

  • OBIEE 10g and Workspace 11.1.1.3 integration

    Hi All,
    I've been trying to integrate OBIEE 10.1.3.4.1 with Hyperion Workspace 11.1.1.3. I got it partially working, i.e. in Workspace Applications I can see Answers, Interactive Dashboards menu items. However, I couldn't get the single sign-on part to work. OBIEE will ask me to login again if I open it through Workspace. Here's what I got so far
    - OBIEE is installed on OC4J, Hyperion on Oracle AS 10.1.3.1. They are installed on the same server.
    - After I configured Hyperion Web Server, I had to add ProxyPass and ProxyReverse manually to httpd.conf
    ProxyPass /analytics http://XXXX:9704/analytics
    ProxyPassReverse /analytics http://XXXX:9704/analytics
    ProxyPass /xmlpserver http://XXXX:9704/xmlpserver
    ProxyPassReverse /xmlpserver http://XXXX:9704/xmlpserver
    - Javahost config.xml looks like this
    <ClassConfig>
    <cssURL>http://XXXX:7777/interop/framework/getCSSConfigFile</cssURL>
    <useCSSURL>no</useCSSURL>
    <logFolder>D:\OracleBIData\web\log</logFolder>
    <cssDebug>yes</cssDebug>
    <processAdministrator>no</processAdministrator>
    <ssoTokenPassword>obips.hss.ssotoken</ssoTokenPassword>
    </ClassConfig>
    - I had to remove these two lines from mod_oc4j.conf to get Presentation Services to run on port 7777
         Oc4jMount /analytics bips
         Oc4jMount /analytics/* bips
    On the other hand, BI Publisher works perfectly. Is there anything I'm missing?
    Regards,
    Gerd

    Were u able to ever resolve this? And how?
    Thanks,
    Sejal

  • Load balancing with mod_oc4j doesn't work

    Hi
    Environment: 2 servers HP-UX with OAS 10.1.2 (server1 and server2). not clustered, web cache disabled, Oracle HTTP Server UP on the two servers. (we don't want to go with 10.1.3 now).
    I've configured mod_oc4j with a classic round robin option, updated the config, restarted all my components but i guess that requests are not able to the OC4J instance (this one on the second server).
    Test protocol: I've open 10 different browsers with the same url like http://server1/... on different clients. Metric obsverations lets to 0 the OC4J frmservelt on the server2. on the server1 count (10) is correct.
    I would like to have 50-50 !
    why ? something wrong ?
    André-Guy

    Also, try using the same value for the hosts in all the directives. And, maybe drop the weights down from 50 each to 1 each, so that it looks like this:
    Oc4jSelectMethod roundrobin:weighted
    Oc4jRoutingWeight FRServices.server1 1
    Oc4jRoutingWeight FRServices.server2 1
    Oc4jMount /forms/frmservlet instance://FRServices.server1:OC4J_BI_Forms,FRServices.server2:OC4J_BI_Forms
    Oc4jMount /forms/frmservlet/* instance://FRServices.server1:OC4J_BI_Forms,FRServices.server2:OC4J_BI_Forms

  • Load balancing HTTP requests for an OC4J instance w/multiple JVMs

    Hello everyone,
    I am using OAS 10.1.3.1 and wish to load balance HTTP requests across an OC4J group of one or more OC4J instances, where each like named OC4J instance may have multiple JVMs or it may just have one JVM.
    My mod_oc4j.conf file would contain the following directives :
    Oc4jSelectMethod roundrobin:local
    Oc4jRoutingMode Static
    Oc4JMount /xyz/* xyz
    In the degenerate case, I would like to have an OC4J group with a cluster size of one, and have that one OC4J instance have two or more JVMs. I would like to be able to receive a request within my web application, determine that the JVM that has been sent the request is the wrong JVM to process the request, and then call HttpServletResponse.sendRedirect("/xyz"). Then, when the browser receives the HTTP 302 response and issues the subsequent HTTP request, have that request sent to a different JVM than the previous JVM that issued the sendRedirect().
    What I have seen is that the subsequent request is sent back to the same JVM that issued the sendRedirect(). I also call invalidate() against the HttpSession prior to calling sendRedirect(), but that does not seem to affect the behavior that I see.
    In the full blown case, I would have an OC4J group with a cluster size > 1, and each of those OC4J instances would have at least one JVM. In that case, I wish the sendRedirect() call to allow the subsequent request to be sent to any one of the OC4J instances in the group, and any one of those JVMs within all of those OC4J instances.
    Can anyone verify that my mod_oc4j mount directive is appropriate given the select method and routing mode? What else might I need to do to have a chance to have a different JVM respond to the request that results from a sendRedirect()?
    Thank you,
    Doug

    I should clarify that in the full blown environment, the OC4J instances that form a group will each be housed within a separate OAS instance that resides on its own machine.
    So ideally, a request could be inbound to say OAS instance 1 on machine A, OC4J instance AA, JVM 2, and I need to force a redirect so that the request can actually be serviced by OAS instance 3 on machine C, OC4J instance AA, JVM 1, and I need to be able to call sendRedirect() against an HttpServletResponse from within a JVM until the subsequent request from the browser, Internet Explorer in my case, is serviced by that JVM.
    Thanks,
    Doug

  • Mod_oc4j and load balancing

    Load balancing is not working :(
    I have 2 servers with OAS 10.1.2.0.2
    They are joined to DCM-Managed cluster.
    Users access web app on the first server.
    This server has mod_oc4j.conf:
    <IfModule mod_oc4j.c>
    <LocationMatch "/j2ee/.*/Spy">
    Order deny,allow
    Deny from all
    </LocationMatch>
    <LocationMatch "/j2ee/.*/AggreSpy">
    Order deny,allow
    Deny from all
    </LocationMatch>
    <Location /oc4j-service>
    SetHandler oc4j-service-handler
    Order deny,allow
    Deny from all
    Allow from localhost host1.my.dom host1
    </Location>
    Oc4jMount /j2ee/*
    Oc4jMount /webapp home
    Oc4jMount /webapp/* home
    Oc4jMount /IsWebCacheWorking home
    Oc4jMount /IsWebCacheWorking/* home
    #Here is my App I want to be load balanced
    Oc4jMount /app1 instance://host2:instance2:home, host1:instance1:home
    Oc4jMount /app1/* instance://host2:instance2:home, host1:instance1:home
    Oc4jMount /app2 app2
    Oc4jMount /app2/* app2
    Oc4jSelectMethod random
    </IfModule>
    I tried to specify cluster://clustername - the same result.
    Nothing in logs of App on server 2.

    can i use this loadbalancer.jar or not?
    how to mod_oc4j in standalone app server

  • Configuring Standalone Oracle HTTP server (1.3) with  Mid tier (10.1.2)

    Hai All,
    We have installed OHS 1.3 in DMZ and we have 10.1.2 midtier installed with B2B server in Firewall.
    I have modified mod_oc4j.conf of standalone OHS with following content to route the requests to midtier
    Oc4jMount /b2b/* instance://ap6003idmz.oracle.com:AS_10gR2_MID:OC4J_B2B
    I restarted OHS and I tried http://ap6001eip.oracle.com:7777/b2b/transportServlet on standalone OHS but no use then I removed above line and added below line
    Oc4jMount /b2b/* ajp13://ap6003idmz.us.oracle.com:12502
    Restarted OHS abd tried above url but no use
    b2b/transportServlet is a servlet deployed on midtier
    What else do I need to route the requests from OHS to OC4J on midtier
    Any suggestions..?
    Thanks

    my Apache logs:
    [Thu May 31 06:04:42 2007] [debug] mod_plsql: Cache cleanup has not reached the time period for cleaning yet minutes 1015 left
    [Thu May 31 06:04:50 2007] [error] [client 10.176.195.74] [ecid: 1180616501:141.146.13.203:5622:0:17,0] (110)Connection timed out: MOD_OC4J_0085: connect() returns: -1.
    [Thu May 31 06:04:50 2007] [error] [client 10.176.195.74] [ecid: 1180616501:141.146.13.203:5622:0:17,0] (110)Connection timed out: MOD_OC4J_0088: connect() returns error: -1.
    [Thu May 31 06:04:50 2007] [error] [client 10.176.195.74] [ecid: 1180616501:141.146.13.203:5622:0:17,0] (110)Connection timed out: MOD_OC4J_0051: Tried 1 times and failed to connect to oc4j with worker: ajp13://ap6003idmz.us.oracle.com:12501.
    [Thu May 31 06:04:50 2007] [error] [client 10.176.195.74] [ecid: 1180616501:141.146.13.203:5622:0:17,0] MOD_OC4J_0030: Failed to connect an oc4j process. This request is recoverable.
    [Thu May 31 06:04:50 2007] [error] [client 10.176.195.74] [ecid: 1180616501:141.146.13.203:5622:0:17,0] MOD_OC4J_0026: Failed to marshal a request to ajp13 message headers or send them to the web container.
    [Thu May 31 06:04:50 2007] [error] [client 10.176.195.74] [ecid: 1180616501:141.146.13.203:5622:0:17,0] MOD_OC4J_0013: Failed to call destination: ajp13://ap6003idmz.us.oracle.com:12501's service() to service the request.
    [Thu May 31 06:04:55 2007] [debug] mod_plsql: Starting cleanup (id=162d)
    [Thu May 31 06:04:55 2007] [debug] mod_plsql: Starting session cleanup with 15 maxmarks

  • J2ee Web application exploded format in oracle 10g

    Hi,
    I am trying to develop a simple j2ee application in Exploded Format
    in oracle 10g AS. i have created a new OC4J instance called
    TestOC4j for this. A .war file works fine in this instance.
    I have placed the application under applications directory of TestOC4j.
    I have made entries in server.xml, oc4j_mod.conf,
    default-web-site.xml,http-web-site.xml and application.xml in META-INF
    of the application.
    The application get deployed with no errors.gets created in
    application-deployments too.
    But the url http://server-ipaddress:7778/test_app is not working.
    Please help.
    The folder struture is as follows:
    test_app
    --META-INF
    -----application.xml
    --test_web
    -----pages
    -------welcome.jsp
    -----WEB-INF
    -------web.xml
    -------lib
    -------src
    The entries in server.xml is as follows:
    <application name="test_app" path="../applications/test_app" auto-start="true" />
    <web-site path="./http-web-site.xml" />
    The entries in application.xml is as follows :
    <module>
    <web>
    <web-uri>test_web</web-uri>
    <context-root>/test_app</context-root>
    </web>
    </module>
    The entries in default-web-site.xml is as follows:
    <web-app application="test_app" name="test_web" load-on-startup="true" root="/test_app" />
    The entries in http-web-site.xml is as follows:
    <web-app application="test_app" name="test_web" load-on-startup="true" root="/test_app" />
    The entries in oc4j_mod.conf is as follows:
    Oc4jMount /test_app TestOC4j
    Oc4jMount /test_app/* TestOC4j
    Regards,
    Roopa

    Roopa, it looks like there is no problem with the deployment of your application in exploded format. Have you accessed http://server-ipaddress:7778/test_app/pages/welcome.jsp? Any problem access http://server-ipaddress:7778/j2ee/, the default home page of the default-web-app ?
    When you say the url http://server-ipaddress:7778/test_app is not working, what is the error message if any on the browser, on server console, in the server.log and http-web-access.log of ORACLE_HOME/j2ee/home/log/, ORACLE_HOME/j2ee/home/application-deployments/test_app/application.log?

  • Load Balancing Two Servers

    i have two Solaris servers running 9iAS R2 OC4j.
    current patch level is 9.0.2.3
    i'm trying to load balance the instances according
    to the instructions in this document:
    Oracle9i Application Server: mod_oc4j Technical Overview
    all i should need to do is run the command:
    dcmctl addOPMNLink <IP>:<PORT>
    but when i do this i get this error:
    ADMN-906026
    i could not find any info on this error with searches of:
    Google, Google Groups, Oracle MetaLink, Oracle OTN.
    ideas? suggestions? anything?
    thanks,
    .rich

    Rich -- if you have installed the Oracle9iAS instances and associated them with the infrastructure, then you don't need to perform the manual clustering operations which are contained in the doc you reference.
    By associating with the infrastructure (as the error message indicates you have done), the components should all be associated with one another and you'll be working in what we call a managed cluster mode.
    If you do have the instances associated with the infrastructure, then what you need to do is use the management console (or dcmctl) to create a cluster and then add the two instances to the cluster. This will then mean that the same applications get deployed to the two instances, and will add an Oc4jMount point to OHS that will allow the incoming requests to be dispatched to the two backend instances.
    There should be a guide on OTN (HA Guide, Concepts Guide) which explains the concepts behind these terms if you need.
    Here's the dcmctl commands to create a cluster then add the instances to the cluster (this is from my 904 instance, I don't have a 902 instance installed)
    [oracle@peterman ~]$ dcmctl -help createcluster
    createCluster
    Creates a managed Oracle Application Server cluster.
    Note
    Oracle recommends that Oracle Application Server Clusters using a file based repository contain four (4) or less than four instances.
    Type
    Configuration Management
    Syntax
    createCluster -cl cluster_name
    Description
    A managed cluster is created.
    Notes for using createCluster:
    You must issue this command in the Oracle home of an instance that
    belongs to a farm (that is, is associated with a metadata repository).
    The cluster will be created in that farm.
    The cluster has no members when created. You can add members using
    joinCluster.
    You can create an unlimited number of clusters.
    Example
    dcmctl createCluster -cl cluster1
    [oracle@peterman ~]$ dcmctl -help joincluster
    joinCluster
    Adds an Oracle Application Server instance to the named managed cluster.
    Notes for using Oracle Application Server clusters:
    Oracle Application Server supports heterogeneous instances as part of the same farm. For example, an instance running on Solaris Operating System, an instance running on a Linux system, and an instance running on an HP-UX system can reside in the same farm.
    Oracle Application Server instances that you want to be part of a cluster must be installed on identical operating systems
    Oracle recommends that Oracle Application Server Clusters using a file based repository contain four (4) or less than four instances.
    If you are using Oracle Enterprise Manager Application Server Control, then, after issuing the dcmctl joinCluster command, you must stop and then start Oracle Enterprise Manager Application Server Control using the commands:
    %emctl stop iasconsole
    %emctl start iasconsole
    Type
    Configuration Management
    Syntax
    joinCluster -cl cluster_name [-i instance_name]
    Description
    Adds an application server instance to the managed Oracle Application Server cluster specified with the -cl option. By default, this command uses the local instance. You can specify a different instance with the -i option. The instance must be a member of the same farm as the
    cluster. There is no limit to the number of instances you can add to a cluster. An instance is stopped after being added to a cluster, so you must manually start it.
    Example
    To add the local application server instance to cluster1 and restart
    it:
    dcmctl joinCluster -cl cluster1
    dcmctl start
    To add instance1 to cluster1 and restart it:
    dcmctl joinCluster -cl cluster1 -i instance1
    dcmctl start -i instance1
    cheers
    -steve-

  • Slow redirect by mod_oc4j during network failover - 10g R2

    I have successfully installed two OracleAS 10g application server instances (app1, app2) on two machines and added both instances to a cluster (cluster1). Each application server contains a single OC4J instance (home) with a single OC4J process. I have enabled state replication of my web application (MyApp) and edited its web deployment descriptor to contain the <distributable/> tag necessary for state replication.
    On a third machine, I have also installed the stand-alone Oracle HTTP Server (1.3) w/ mod_oc4j acting as a load balancer between the OC4J instances on my app servers. My mod_oc4j is successfully routing requests to both instances. The only parameter entries in my mod_oc4j.conf file are:
    Oc4jMount /MyApp/ cluster://cluster1:home
    Oc4jMount /MyApp/* cluster://cluster1:home
    My PROBLEM: During testing, when one of my app servers experiences a network failure (disconnected cable), the user being served by that app server isn't redirected until 10 minutes after submitting a request. There is no timeout of any kind. The browser just waits for the response and the mod_oc4j plugin seems to keep attempting to connect to the disconnected server. Eventually, about 8-1/2 to 12-1/2 minutes pass, mod_oc4j finally gives up and the user gets redirected to the only other available machine, with his/her session intact :-). This problem ONLY occurs if the 'outage' is network related. If I were to shut down/power off one of my app servers instead of disconnecting it, the user is redirected to the other server instantly.
    Can anyone shed some light on why mod_oc4j doesn't seem to be handling network outages very well?
    All machines are Windows Server 2003 Enterprise w/ SP1.

    It seems that i have the same problem. Any help welcome
    Thanks
    renaud

  • WebUtil Help:WUC-015

    Hi,all.
    I have installed WebUtil and modified formsweb.cfg,default.env and orion-web.xml etc.
    But when I run WebUtil Demo I got error:
    WUC-015:You Form must contain the following Bean for this function to be available:oracle.forms.webutil.browser.BrowserFunctions.
    Please help

    here is my orion-web.xml:
    <?xml version="1.0"?>
    <!DOCTYPE orion-web-app PUBLIC "-//Evermind//DTD Orion Web Application 2.3//EN" "http://xmlns.oracle.com/ias/dtds/orion-web.dtd">
    <orion-web-app
         deployment-version="9.0.2.0.0"
         jsp-cache-directory="./persistence"
         temporary-directory="./temp"
         servlet-webdir="/servlet/"
    >
         <context-param-mapping name="configFileName">D:\Oracle9iDS/forms90/server/formsweb.cfg</context-param-mapping>
         <virtual-directory virtual-path="/html" real-path="D:\Oracle9iDS/tools/web90/html" />
         <virtual-directory virtual-path="/java" real-path="D:\Oracle9iDS/forms90/java" />
         <virtual-directory virtual-path="/jinitiator" real-path="D:\Oracle9iDS/jinit" />
         <virtual-directory virtual-path="/webutil" real-path="D:\Oracle9iDS/forms90/webutil/lib" />
         <session-tracking cookies="disabled" />
    </orion-web-app>
    ##############################3
    forms90web.cfg:
    # $Id: formsweb.cfg,v 1.23 2002/01/25 06:51:41 oraforms Exp $
    # formsweb.cfg - Forms Servlet default configuration file
    # This file defines parameter values used by the FormsServlet (f90servlet)
    # DEFAULT CONFIGURATIONS
    # These are the default settings. Any of them may be overridden in the
    # Named Configurations section. If they are not overridden, then the
    # values here will be used.
    # System Paremeters cannot be overridden in the URL. User Parameters can.
    # SYSTEM PARAMETERS
    # These have fixed names and give information required by the Forms
    # Servlet in order to function. They cannot be specified in the URL query
    # string. But they can be overriden in a named configuration (see below).
    # Some parameters specify file names: if the full path is not given,
    # they are assumed to be in the same directory as this file. If a path
    # is given, then it should be a physical path, not a URL.
    baseHTML=base.htm
    baseHTMLjinitiator=D:\Oracle9iDS\forms90\webutil\server\webutiljini.htm
    #baseHTMLjinitiator=basejini.htm
    baseHTMLjpi=basejpi.htm
    baseHTMLie=baseie.htm
    HTMLdelimiter=%
    # WorkingDirectory defaults to <oracle_home>/forms90 if unset.
    workingDirectory=
    envFile=default.env
    # The next parameter specifies how to execute the Forms applet under
    # Microsoft Internet Explorer 5.x. Put IE=native if you want the
    # Forms applet to run in the browser's native JVM.
    IE=JInitiator
    # USER PARAMETERS
    # These match variables (e.g. %form%) in the baseHTML file. Their values
    # may be overridden by specifying them in the URL query string
    # (e.g. "http://myhost.mydomain.com/servlet/f90servlet?form=myform&width=700")
    # or by overriding them in a specific, named configuration (see below)
    # 1) Runform arguments:
    form=test.fmx
    userid=
    # These settings support running and debugging a form from the Builder:
    otherparams=debug=%debug% buffer_records=%buffer% debug_messages=%debug_messages% array=%array% query_only=%query_only% quiet=%quiet% render=%render% host=%host% port=%port% record=%record% tracegroup=%tracegroup% log=%log% term=%term%
    debug=no
    buffer=no
    debug_messages=no
    array=no
    query_only=no
    quiet=yes
    render=no
    host=
    port=
    record=
    tracegroup=
    log=
    term=
    # 2) HTML page title, attributes for the BODY tag, and HTML to add before and
    # after the form:
    pageTitle=Oracle9iAS Forms Services
    HTMLbodyAttrs=
    HTMLbeforeForm=
    HTMLafterForm=
    # 3) Values for the Forms applet parameters:
    serverURL=/forms90/l90servlet
    codebase=/forms90/java
    imageBase=DocumentBase
    ##<michael wang>
    width =100%
    height =100%
    separateFrame=false
    splashScreen=
    background=
    lookAndFeel=Oracle
    colorScheme=teal
    logo=
    formsMessageListener=
    recordFileName=
    serverApp=default
    # The following archive settings are for
    # archive_jini - settings for JInitiator
    # archive_ie - settings for IE native JVM
    # archive - settings for all other cases (Java Plugin, Appletviewer, etc)
    archive_jini=f90all_jinit.jar
    archive_ie=f90all.cab
    archive=f90all.jar
    ##<michael wang> for WebUtil
    webUtilArchive=/forms90/webutil/webutil.jar,/forms90/webutil/jacob.jar
    # Number of times client should retry if a network failure occurs. Only
    # change after having read the documentation.
    networkRetries=0
    # 4) Parameters for JInitiator (used with Windows clients)
    # Page displayed to Netscape users to allow them to download JInitiator.
    # If you create your own page, you should set this parameter to point to it.
    jinit_download_page=/forms90/jinitiator/us/jinit_download.htm
    # Parameters related to the version of JInitiator.
    jinit_classid=clsid:CAFECAFE-0013-0001-0009-ABCDEFABCDEF
    jinit_exename=jinit.exe#Version=1,3,1,9
    jinit_mimetype=application/x-jinit-applet;version=1.3.1.9
    # 5) Parameters for the Java Plugin (used with non-Windows clients)
    # Page displayed to users to allow them to download the JPI
    # (NOTE: you should check this page and possibly change the settings)
    jpi_download_page=http://java.sun.com/products/plugin/1.3/plugin-install.html
    # Parameters related to the version of the Java Plugin
    jpi_classid=clsid:8AD9C840-044E-11D1-B3E9-00805F499D93
    jpi_codebase=http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0
    jpi_mimetype=application/x-java-applet;version=1.3
    # 6) EM config parameter
    # Set this to "1" to enable Enterprise Manager to track Forms processes
    em_mode=0
    # 6) OID Config parameters (for Single Sign-On)
    oid_formsid=%OID_FORMSID%
    oracle_home=D:\Oracle9iDS
    # NAMED CONFIGURATIONS
    # You may define your own specific, named configurations (sets of parameters)
    # by adding special sections as illustrated in the following examples.
    # Note that you need only specify the parameters you want to change. The
    # default values (defined above) will be used for all other parameters.
    # Use of a specific configuration can be requested by including the text
    # "config=<your_config_name>" in the query string of the URL used to run
    # a form. For example, to use the sepwin configuration, your could issue
    # a URL like "http://myhost.mydomain.com/servlet/f90servlet?config=sepwin".
    # Example 1: configuration to run forms in a separate browser window with
    # "generic" look and feel (include "config=sepwin" in the URL)
    [sepwin]
    separateFrame=True
    lookandfeel=Generic
    # Example 2: configuration affecting users of MicroSoft Internet Explorer 5.x.
    # Forms applet will run under the browser's native JVM rather than
    # using Oracle JInitiator.
    [ienative]
    IE=native
    # Example 3: configuration forcing use of the Java Plugin in all cases
    # (even if the client browser is on Windows)
    [jpi]
    baseHTMLJInitiator=basejpi.htm
    baseHTMLie=basejpi.htm
    # Example 4: configuration running the Forms ListenerServlet in debug mode
    # (debug messages will be written to the servlet engine's log file)
    [debug]
    serverURL=/servlet/l90servlet/debug
    [webutil]
    pageTitle=Oracle9iAS Forms Services - WebUtil
    webUtilArchive=webutil.jar
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    #baseHTMLjinitiator=D:\Oracle9iDS\forms90\webutil\server\webutiljini.htm
    archive_jini=f90all_jinit.jar
    archive=f90all.jar
    lookAndFeel=oracle
    envFile=webutil.env
    forms90.conf
    # $Id: forms90.conf,v 1.8 2002/03/01 01:11:53 pkuhn Exp $
    # Name
    # forms90.conf
    # Purpose
    # Apache mod_oc4j and mod_jserv configuration file for Forms 9i Services.
    # This file should be included into the Oracle Apache HTTP Listener
    # configuration file (typically by adding an include statement to the
    # oracle_apache.conf file)
    # Remarks
    # If Forms is to be used with JServ, the jserv.properties file needs editing
    # to add the "forms90" servlet zone with properties file forms90.properties
    # Notes
    # Virtual paths: We use AliasMatch when defining virtual paths for
    # security reasons (prevents directory browsing).
    # Virtual path mapping for Forms Java jar and class files (codebase)
    AliasMatch ^/forms90/java/(..*) "D:\Oracle9iDS/forms90/java/$1"
    # Virtual path for JInitiator downloadable executable and download page
    AliasMatch ^/forms90/jinitiator/(..*) "D:\Oracle9iDS/jinit/$1"
    # Virtual path for runform.htm (used to run a form for testing purposes)
    AliasMatch ^/forms90/html/(..*) "D:\Oracle9iDS/tools/web90/html/$1"
    #<michael wang>
    AliasMatch ^/forms90/webutil/(..*) "D:\Oracle9iDS/forms90/webutil/lib/$1"
    #<michael wang>
    # Configuration for JServ (if mod_jserv.c is available and not mod_oc4j.c)
    <IfModule mod_jserv.c>
    # Only configure for JServ if mod_oc4j is NOT available:
    <IfModule !mod_oc4j.c>
    # Virtual path mapping for FormsServlet and ListenerServlet.
    # Purpose: paths to invoke the servlets should be /forms90/f90servlet
    # and /forms90/l90servlet respectively.
    # We map f90servlet to servlet.if90, and l90servlet to servlet.ifl90.
    # The apJServAction directives (below) will then remap those.
    AliasMatch ^/forms90/f90servlet(.*) "/servlet.if90"
    AliasMatch ^/forms90/l90servlet(.*) "/servlet.ifl90"
    ApJServMount /forms90/servlet /forms90
    # Let the servlets be called by file extension (e.g /servlet.if90)
    ApJServAction .if90 /forms90/servlet/f90servlet
    ApJServAction .ifl90 /forms90/servlet/l90servlet
    # Prevent access to the Forms Servlets by paths other than
    # /forms90/f90servlet and /forms90/l90servlet.
    # 1. Prevent access via the .if90 and .ifl90 file extensions:
    <LocationMatch ^.*\.if.*90>
    order deny,allow
    deny from all
    </LocationMatch>
    # 2. Stop access by class (by paths like
    # /forms90/servlet/oracle.forms.servlet.FormsServlet)
    <LocationMatch ^/forms90/servlet/oracle\.forms.*>
    order deny,allow
    deny from all
    </LocationMatch>
    </IfModule>
    </IfModule>
    # Config. for OC4J
    <IfModule mod_oc4j.c>
    Oc4jMount /forms90 OC4J_BI_Forms
    Oc4jMount /forms90/f90servlet OC4J_BI_Forms
    Oc4jMount /forms90/f90servlet/* OC4J_BI_Forms
    Oc4jMount /forms90/l90servlet OC4J_BI_Forms
    Oc4jMount /forms90/l90servlet/* OC4J_BI_Forms
    </IfModule>
    ########################3
    webutil.cfg
    # webutil.cfg - WebUtil default configuration file
    # This file provides all of the configuration settings
    # for webutil. These are divided into the following
    # sections:
    # 1. Logging Options
    # 2. Installation Options
    # 3. FileUpload and Download Options
    # 4. Untranslatable Strings
    # 5. Translatable Strings
    # 1. Server Side Logging Options for logging errors and log messages
    # You must set Enabled to true to allow mid tier logging without this
    # mid tier logging will not take place no matter what PL/SQL or URL
    # options are supplied to switch it on
    # Once logging is enabled the other settings come into play
    # Details
    # file : Defines the file name and location of the log file.
    # Note that WebUtil does no log file management you may
    # need to manually clean this file up from time to time
    # enabled : Can be TRUE or FALSE
    # errorsonly : Can be TRUE or FALSE setting to true will ensure that
    # only errors and not normal informational log messages
    # are written to the log file
    # For product use this would normally be set to TRUE
    # connections: Can be TRUE or FALSE setting to true will cause each connection
    # from a form using WebUtil to write into the log as it sets up.
    logging.file=
    logging.enabled=FALSE
    logging.errorsonly=FALSE
    logging.connections=FALSE
    # 2. Installation Options
    # WebUtil needs to download some files to the client in order to perform
    # certain integration operations such as OLE or Registry Access
    # These files are downloaded the first time that you access one of the
    # functions than needs them
    # You have to define the location of these files on the server
    # Details
    # syslib.location: The vitual path to the directory holding the
    # the webutil library files on the server side
    # this must either be an absolute URL or a url
    # URL that is relative to the documentbase
    # syslib.<os>.<package>.<n>: The name(s) of the libraries required for particular
    # webutil beans
    # The format of this is name|size|version|showDownloadDialog
    # multiple libraries can be downloaded per package but
    # ensure that the <n> values are consecutive and start at 1
    install.syslib.location=/webutil
    ## Do not change the following lines unless instructed to do so
    install.syslib.0.7.1=jacob.dll|94208|1.0|true
    install.syslib.0.9.1=JNIsharedstubs.dll|65582|1.0|true
    install.syslib.0.9.2=d2kwut60.dll|192512|1.0|true
    ## But you can add your own libraries in here
    #install.syslib.0.user.1=testwebutil.dll|204872|1.0|true
    # 3. Upload / Download options
    # For the file upload and download options you can define the default
    # locations on the server that webutil can use as a work area
    # Optionally you can switch upload and download off
    # Details
    # transfer.database.enabled: Can be TRUE or FALSE - allows you to disable
    # upload and download direct from the database
    # server.
    # transfer.appsrv.enabled: Can be TRUE or FALSE - allows you to disable
    # upload and download direct from the application
    # server.
    # transfer.appsrv.workAreaRoot: The root of the location in which WebUtil can
    # store temporary files uploaded from the client.
    # This location is always readable and writable
    # no matter what the settings in appsrv.read and
    # appsrv.write are.
    # This setting is required if you need the
    # Client side READ /WRITE_IMAGE_FILE procs
    # transfer.appsrv.accessControl:Can be TRUE or FALSE - allows you to indicate
    # that uploads and downloads can only occur from
    # the directories named in the
    # transfer.appsrv.read.n and transfer.appsrv.write.n
    # entries and their subdirecories. If this setting
    # is FALSE transfers can happen anywhere.
    # transfer.appsrv.read.<n>: List of directory names that downloads can read
    # from.
    # transfer.appsrv.write.<n>: List of directory names that uploads can write
    # to.
    #NOTE: By default the file transfer is disabled as a security measure
    transfer.database.enabled=FALSE
    transfer.appsrv.enabled=FALSE
    transfer.appsrv.workAreaRoot=c:\temp
    transfer.appsrv.accessControl=TRUE
    #List transfer.appsrv.read.<n> directories
    transfer.appsrv.read.1=c:\temp
    #List transfer.appsrv.write.<n> directories
    transfer.appsrv.write.1=c:\temp
    # 4. Untranslatable Strings
    # These errors can happen early in the initialisation process before we
    # have the client locale information to use to detect the correct
    # language version for the error
    EN.msg.error.error008=WUC-008: Server side logging was requested but no log file was specified - logging is disabled
    # 5. Translatable Strings
    # The following properties represent Strings displayed in various server
    # side error messages
    # They are available here to allow customisation
    # Messages are in the Format "<countrycode>.msg.key
    # The message reading code picks up the country code automatically from the
    # client. If the required country code cannot be found then the english (EN)
    # message is displayed as a default.
    # You may alter the EN versions of each key, but do not remove them!
    # General Dialog titles
    EN.msg.install.progress.title=WebUtil Install
    EN.msg.install.progress.subtitle=Downloading required libraries; Please wait...
    EN.msg.errordialog.title=WebUtil Error
    # App Server side errors
    EN.msg.error.error007=WUC-007: Unable to write to WebUtil logging file
    EN.msg.error.error015=WUC-015: Your Form must contain the following Bean for this function to be available:
    EN.msg.error.error408=WUH-408: The WebUtil Client code sent back a bad Process ID - Please report this error
    EN.msg.error.error110=WUT-110: Database LOB is of zero length
    EN.msg.error.error111=WUT-111: Database LOB is un-initialised
    EN.msg.error.error112=WUT-112: Invalid open mode for Blob. Value should be W or R
    EN.msg.error.error113=WUT-113: Too many rows match the supplied where clause
    EN.msg.error.error114=WUT-114: SQL Error
    EN.msg.error.error115=WUT-115: Checksum Failed
    EN.msg.error.error116=WUT-116: Transfer already in progress
    EN.msg.error.error117=WUT-117: Application Server file name cannot be null
    EN.msg.error.error118=WUT-118: Application Server file does not exist or is of zero length
    EN.msg.error.error119=WUT-119: Error reading data from Application Server file
    EN.msg.error.error120=WUT-120: Zero bytes read from Application Server file
    EN.msg.error.error121=WUT-121: This file transfer has been forbidden by the Adminstrator
    EN.msg.error.error122=WUT-122: Java Functions are not available on the Appliciation Server
    EN.msg.error.error123=WUT-123: The webutil.jar file cannot be found on the Appliciation Server Classpath - Some file transfer functions will not work.
    EN.msg.error.error124=WUT-124: Unable write data on the application server
    EN.msg.error.error125=WUT-125: Checksum error closing file on application server
    EN.msg.error.error126=WUT-126: Error closing application server file
    EN.msg.error.error127=WUT-127: Unable to create workarea
    EN.msg.error.error128=WUT-128: Exception creating workarea
    #German versions of the Dialog Titles
    DE.msg.install.progress.title=WebUtil Installation
    DE.msg.install.progress.subtitle=Ben�tigte Bibliotheken werden geladen; Bitte warten ...
    DE.msg.errordialog.title=WebUtil Fehler
    #German versions of the Errors
    DE.msg.error.error007=WUC-007: Kann nicht auf die WebUtil Log Datei zugreifen
    DE.msg.error.error015=WUC-015: Folgende Bean muss in der Form enthalten sein um diese Funktion zu nutzen:
    DE.msg.error.error408=WUH-408: Der WebUtil Client Code hat eine ung�ltige Prozess ID zur�ckgegeben - Bitte melden Sie diesen Fehler
    DE.msg.error.error110=WUT-110: Datenbank LOB hat eine L�nge von Null
    DE.msg.error.error111=WUT-111: Datenbank LOB ist nicht initialisiert
    DE.msg.error.error112=WUT-112: Ung�ltiger Modus zum �ffnen eines Blobs. Wert muss W oder R sein
    DE.msg.error.error113=WUT-113: Zu viele Reihen entsprechen der angegebenen Bedingung
    DE.msg.error.error114=WUT-114: SQL Fehler
    DE.msg.error.error115=WUT-115: Checksummen Fehler
    DE.msg.error.error116=WUT-116: �bertragung erfolgt bereits
    DE.msg.error.error117=WUT-117: Ein g�ltiger Dateiname auf dem Applikation Server ist erforderlich
    DE.msg.error.error118=WUT-118: Datei auf dem Applikation Server fehlt oder hat eine L�nge von Null
    DE.msg.error.error119=WUT-119: Fehler beim Lesen der Datei auf dem Applikations Server
    DE.msg.error.error120=WUT-120: Es konnte kein Byte vom Applikation Server gelesen werden
    DE.msg.error.error121=WUT-121: Die �bertragung dieser Datei wurde vom Administrator unterbunden
    DE.msg.error.error122=WUT-122: Java Funktionen sind auf dem Applikations Server nicht verf�gbar
    DE.msg.error.error123=WUT-123: Die Datei webutil.jar befindet sich nicht im CLASSPATH des Applikations Servers - Einige Datei�bertragungsfunktionen stehen somit nicht zur Verf�gung
    DE.msg.error.error124=WUT-124: Es konnte nicht schreibend auf den Applikations Server zugegriffen werden
    DE.msg.error.error125=WUT-125: Checksummen Fehler beim Schlie�en der Datei auf dem Applikations Server
    DE.msg.error.error126=WUT-126: Fehler beim Schlie�en der Datei auf dem Applikations Server
    DE.msg.error.error127=WUT-127: Der Arbeitsbereich konnte nicht erstellt werden
    DE.msg.error.error128=WUT-128: Ausnahmefehler beim Erstellen des Arbeitsbereiches
    #French versions of the Dialog Titles
    FR.msg.install.progress.title=WebUtil Installation
    FR.msg.install.progress.subtitle=Ben�tigte Bibliotheken werden geladen; Bitte warten ...
    FR.msg.errordialog.title=WebUtil Fehler
    #French versions of the Errors
    FR.msg.error.error007=WUC-007: Ecriture impossible dans le fichier de log WebUtil
    FR.msg.error.error015=WUC-015: Votre forme doit contenir le Bean suivant pour que cette fonction soit disponible:
    FR.msg.error.error408=WUH-408: Le client Webutil a renvoy?un numero de process erron?- Contactez votre administrateur
    FR.msg.error.error110=WUT-110: LOB dans la base de donn�es a une longueur de zero
    FR.msg.error.error111=WUT-111: LOB dans la base de donn�es n'est pas initialis?
    FR.msg.error.error112=WUT-112: Mode d'ouverture invalide pour un BLOB. La valeur doit �tre W ou R
    FR.msg.error.error113=WUT-113: Trop de lignes renvoy�es pour cette clause where
    FR.msg.error.error114=WUT-114: Erreur SQL
    FR.msg.error.error115=WUT-115: Echec du Checksum
    FR.msg.error.error116=WUT-116: Transfer d�j?en progr�s
    FR.msg.error.error117=WUT-117: Le nom du fichier sur le serveur d'application ne peut �tre null
    FR.msg.error.error118=WUT-118: Le nom du fichier sur le serveur d'application n'existe pas ou a une taille de zero
    FR.msg.error.error119=WUT-119: Erreur en lecture des donn�es provenant du fichier sur le serveur d'application
    FR.msg.error.error120=WUT-120: Zero bytes lu ?partir du fichier sur le serveur d'application
    FR.msg.error.error121=WUT-121: Ce transfert de fichier est interdit par l'administrateur
    FR.msg.error.error122=WUT-122: Java Fonctions non disponibles sur le serveur d'application
    FR.msg.error.error123=WUT-123: Le fichier webutil.jar n'est pas present dans le Classpath du serveur d'application - Certaines fonctions de transfert de fichiers ne fonctioneront pas
    FR.msg.error.error124=WUT-124: Impossible d'�crire sur le serveur d'application
    FR.msg.error.error125=WUT-125: Erreur de Checksum en fermant le fichier sur le serveur d'application
    FR.msg.error.error126=WUT-126: Erreur pendant la fermeture du fichier sur le serveur d'application
    FR.msg.error.error127=WUT-127: Creation de la Workarea impossible
    FR.msg.error.error128=WUT-128: Exception pendant la creation de la workarea
    webutil.env
    #A sample .ENV file for use with WebUtil note the following important Points:
    # 1. The webutil.jar file is in the classpath so that the upload to app server will work
    # 2. The FORMS90_PATH includes the directory which holds the webutil.pll
    # 3. The WEBUTIL_CONFIG parameter is defined to point at the webutil.cfg file
    # !! If you re-use this env file then rememeber to change the paths !!
    ORACLE_HOME=D:\Oracle9iDS
    FORMS90_PATH=D:\Oracle9iDS\forms90\webutil\forms
    CLASSPATH=D:\Oracle9i\jlib\debugger.jar;D:\Oracle9i\jlib\ewt3.jar:D:\Oracle9i\jlib\share.jar;D:\Oracle9i\jlib\utj90.jar;D:\Oracle9i\jdk\jre\lib\rt.jar;D:\Oracle9iDS\forms90\webutil\lib\webutil.jar
    WEBUTIL_CONFIG=D:\Oracle9iDS\forms90\webutil\server\webutil.cfg
    I've double checked my configuration many times.
    but the error WUC-015 still exist, and the webutil-demo
    failed to run.

  • Forms 10G – Replacing Oracle Logo in Menu Bar

    Hello:
    Forms 10G – Replacing Oracle Logo in Menu Bar
    We use “lookAndFeel=oracle” which gives Oracle Logo in the Manu Bar at top right corner.
    What is the simplest way to replace this with our own logo?
    Thanks

    Here you go. (foroms.conf, formsweb.cfg)
    Forms.conf
    # $Id: forms.conf 22-nov-2004.03:29:38 osingh Exp $
    # Name
    # forms.conf
    # Purpose
    # Apache mod_oc4j and mod_jserv configuration file for Forms Services.
    # This file should be included into the Oracle Apache HTTP Listener
    # configuration file (typically by adding an include statement to the
    # oracle_apache.conf file)
    # Remarks
    # If Forms is to be used with JServ, the jserv.properties file needs editing
    # to add the "forms" servlet zone with properties file forms.properties
    # Notes
    # Virtual paths: We use AliasMatch when defining virtual paths for
    # security reasons (prevents directory browsing).
    # Virtual path mapping for Forms Java jar and class files (codebase)
    AliasMatch ^/forms/java/(..*) "E:\oracle\FRHome_1/forms/java/$1"
    # Virtual path for JInitiator downloadable executable and download page
    AliasMatch ^/forms/jinitiator/(..*) "E:\oracle\FRHome_1/jinit/$1"
    # Virtual path for runform.htm (used to run a form for testing purposes)
    AliasMatch ^/forms/html/(..*) "E:\oracle\FRHome_1/tools/web/html/$1"
    # Virtual path for webutil
    AliasMatch ^/forms/webutil/(..*) "E:\oracle\FRHome_1/forms/webutil/$1"
    # Configuration for JServ (if mod_jserv.c is available and not mod_oc4j.c)
    <IfModule mod_jserv.c>
    # Only configure for JServ if mod_oc4j is NOT available:
    <IfModule !mod_oc4j.c>
    # Virtual path mapping for FormsServlet and ListenerServlet.
    # Purpose: paths to invoke the servlets should be /forms/frmservlet
    # and /forms/lservlet respectively.
    # We map frmservlet to servlet.frm, and lservlet to servlet.frml.
    # The apJServAction directives (below) will then remap those.
    AliasMatch ^/forms/frmservlet(.*) "/servlet.frm"
    AliasMatch ^/forms/lservlet(.*) "/servlet.frml"
    ApJServMount /forms/servlet /forms
    # Let the servlets be called by file extension (e.g /servlet.frm)
    ApJServAction .frm /forms/servlet/frmservlet
    ApJServAction .frml /forms/servlet/lservlet
    # Prevent access to the Forms Servlets by paths other than
    # /forms/frmservlet and /forms/lservlet.
    # 1. Prevent access via the .frm and .frml file extensions:
    <LocationMatch ^.*\.frm.*>
    order deny,allow
    deny from all
    </LocationMatch>
    # 2. Stop access by class (by paths like
    # /forms/servlet/oracle.forms.servlet.FormsServlet)
    <LocationMatch ^/forms/servlet/oracle\.forms.*>
    order deny,allow
    deny from all
    </LocationMatch>
    </IfModule>
    </IfModule>
    # Config. for OC4J
    <IfModule mod_oc4j.c>
    Oc4jMount /forms OC4J_BI_Forms
    Oc4jMount /forms/frmservlet OC4J_BI_Forms
    Oc4jMount /forms/frmservlet/* OC4J_BI_Forms
    Oc4jMount /forms/lservlet OC4J_BI_Forms
    Oc4jMount /forms/lservlet/* OC4J_BI_Forms
    </IfModule>
    formsweb.cfg
    # $Id: formsweb.cfg 15-apr-2005.13:17:30 pkuhn Exp $
    # formsweb.cfg defines parameter values used by the FormsServlet (frmservlet)
    # This section defines the Default settings. Any of them may be overridden in the
    # following Named Configuration sections. If they are not overridden, then the
    # values here will be used.
    # The default settings comprise two types of parameters: System parameters,
    # which cannot be overridden in the URL, and User Parameters, which can.
    # Parameters which are not marked as System parameters are User parameters.
    # SYSTEM PARAMETERS
    # These have fixed names and give information required by the Forms
    # Servlet in order to function. They cannot be specified in the URL query
    # string. But they can be overridden in a named configuration (see below).
    # Some parameters specify file names: if the full path is not given,
    # they are assumed to be in the same directory as this file. If a path
    # is given, then it should be a physical path, not a URL.
    # USER PARAMETERS
    # These match variables (e.g. %form%) in the baseHTML file. Their values
    # may be overridden by specifying them in the URL query string
    # (e.g. "http://myhost.mydomain.com/forms/frmservlet?form=myform&width=700")
    # or by overriding them in a specific, named configuration (see below)
    [default]
    # System parameter: default base HTML file
    baseHTML=base.htm
    # System parameter: base HTML file for use with JInitiator client
    baseHTMLjinitiator=basejini.htm
    # System parameter: base HTML file for use with Sun's Java Plug-In
    baseHTMLjpi=basejpi.htm
    # System parameter: delimiter for parameters in the base HTML files
    HTMLdelimiter=%
    # System parameter: working directory for Forms runtime processes
    # WorkingDirectory defaults to <oracle_home>/forms if unset.
    workingDirectory=
    # System parameter: file setting environment variables for the Forms runtime processes
    envFile=default.env
    # Forms runtime argument: whether to escape certain special characters
    # in values extracted from the URL for other runtime arguments
    escapeparams=true
    # Forms runtime argument: which form module to run
    form=test.fmx
    # Forms runtime argument: database connection details
    userid=
    # Forms runtime argument: whether to run in debug mode
    debug=no
    # Forms runtime argument: host for debugging
    host=
    # Forms runtime argument: port for debugging
    port=
    # Other Forms runtime arguments: grouped together as one parameter.
    # These settings support running and debugging a form from the Builder:
    otherparams=buffer_records=%buffer% debug_messages=%debug_messages% array=%array% obr=%obr% query_only=%query_only% quiet=%quiet% render=%render% record=%record% tracegroup=%tracegroup% log=%log% term=%term%
    # Sub argument for otherparams
    buffer=no
    # Sub argument for otherparams
    debug_messages=no
    # Sub argument for otherparams
    array=no
    # Sub argument for otherparams
    obr=no
    # Sub argument for otherparams
    query_only=no
    # Sub argument for otherparams
    quiet=yes
    # Sub argument for otherparams
    render=no
    # Sub argument for otherparams
    record=
    # Sub argument for otherparams
    tracegroup=
    # Sub argument for otherparams
    log=
    # Sub argument for otherparams
    term=
    # HTML page title
    # HTML attributes for the BODY tag
    HTMLbodyAttrs=
    # HTML to add before the form
    HTMLbeforeForm=
    # HTML to add after the form
    HTMLafterForm=
    # Forms applet parameter: URL path to Forms ListenerServlet
    serverURL=/forms/lservlet
    # Forms applet parameter
    codebase=/forms/java
    # Forms applet parameter
    imageBase=DocumentBase
    # Forms applet parameter
    width=750
    # Forms applet parameter
    height=600
    # Forms applet parameter
    separateFrame=false
    # Forms applet parameter
    splashScreen=
    # Forms applet parameter
    background=
    # Forms applet parameter
    lookAndFeel=Oracle
    # Forms applet parameter
    colorScheme=teal
    # Forms applet parameter
    logo=
    # Forms applet parameter
    restrictedURLparams=HTMLbodyAttrs,HTMLbeforeForm,HTMLafterForm,log,allow_debug,allowNewConnections
    # Forms applet parameter
    formsMessageListener=
    # Forms applet parameter
    recordFileName=
    # Forms applet parameter
    serverApp=default
    # Forms applet archive setting for JInitiator
    archive_jini=frmall_jinit.jar
    # Forms applet archive setting for other clients (Sun Java Plugin, Appletviewer, etc)
    archive=frmall.jar
    # Number of times client should retry if a network failure occurs. You should
    # only change this after reading the documentation.
    networkRetries=0
    # Page displayed to Netscape users to allow them to download Oracle JInitiator.
    # Oracle JInitiator is used with Windows clients.
    # If you create your own page, you should set this parameter to point to it.
    jinit_download_page=/forms/jinitiator/us/jinit_download.htm
    # Parameter related to the version of JInitiator
    jinit_classid=clsid:CAFECAFE-0013-0001-0022-ABCDEFABCDEF
    # Parameter related to the version of JInitiator
    jinit_exename=jinit.exe#Version=1,3,1,22
    # Parameter related to the version of JInitiator
    jinit_mimetype=application/x-jinit-applet;version=1.3.1.22
    # Page displayed to users to allow them to download Sun's Java Plugin.
    # Sun's Java Plugin is typically used for non-Windows clients.
    # (NOTE: you should check this page and possibly change the settings)
    jpi_download_page=http://java.sun.com/products/archive/j2se/1.4.2_06/index.html
    # Parameter related to the version of the Java Plugin
    jpi_classid=clsid:CAFEEFAC-0014-0002-0006-ABCDEFFEDCBA
    # Parameter related to the version of the Java Plugin
    jpi_codebase=http://java.sun.com/products/plugin/autodl/jinstall-1_4_2-windows-i586.cab#Version=1,4,2,06
    # Parameter related to the version of the Java Plugin
    jpi_mimetype=application/x-java-applet;jpi-version=1.4.2_06
    # EM config parameter
    # Set this to "1" to enable Enterprise Manager to track Forms processes
    em_mode=1
    # Single Sign-On OID configuration parameter
    oid_formsid=%OID_FORMSID%
    # Single Sign-On OID configuration parameter
    oracle_home=E:\oracle\FRHome_1
    # Single Sign-On OID configuration parameter
    formsid_group_dn=%GROUP_DN%
    # Single Sign-On OID configuration parameter: indicates whether we allow
    # dynamic resource creation if the resource is not yet created in the OID.
    ssoDynamicResourceCreate=true
    # Single Sign-On parameter: URL to redirect to if ssoDynamicResourceCreate=false
    ssoErrorUrl=
    # Single Sign-On parameter: Cancel URL for the dynamic resource creation DAS page.
    ssoCancelUrl=
    # Single Sign-On parameter: indicates whether the url is protected in which
    # case mod_osso will be given control for authentication or continue in
    # the FormsServlet if not. It is false by default. Set it to true in an
    # application-specific section to enable Single Sign-On for that application.
    ssoMode=false
    # The parameter allow_debug determines whether debugging is permitted.
    # Administrators should set allow_debug to "true" if servlet
    # debugging is required, or to provide access to the Forms Trace Xlate utility.
    # Otherwise these activities will not be allowed (for security reasons).
    allow_debug=false
    # Parameter which determines whether new Forms sessions are allowed.
    # This is also read by the Forms EM Overview page to show the
    # current Forms status.
    allowNewConnections=true
    # EndUserMonitoring
    # EndUserMonitoringEnabled parameter
    # Indicates whether EUM/Chronos integration is enabled
    EndUserMonitoringEnabled=
    # EndUserMonitoringURL
    # indicates where to record EUM/Chronos data
    EndUserMonitoringURL=
    # Example Named Configuration Section
    # Example 1: configuration to run forms in a separate browser window with
    # "generic" look and feel (include "config=sepwin" in the URL)
    # You may define your own specific, named configurations (sets of parameters)
    # by adding special sections as illustrated in the following examples.
    # Note that you need only specify the parameters you want to change. The
    # default values (defined above) will be used for all other parameters.
    # Use of a specific configuration can be requested by including the text
    # "config=<your_config_name>" in the query string of the URL used to run
    # a form. For example, to use the sepwin configuration, your could issue
    # a URL like "http://myhost.mydomain.com/forms/frmservlet?config=sepwin".
    [sepwin]
    separateFrame=True
    lookandfeel=Generic
    # Example Named Configuration Section
    # Example 2: configuration forcing use of the Java Plugin in all cases (even if
    # the client browser is on Windows)
    [jpi]
    baseHTMLJInitiator=basejpi.htm
    # Example Named Configuration Section
    # Example 3: configuration running the Forms ListenerServlet in debug mode
    # (debug messages will be written to the servlet engine's log file).
    [debug]
    serverURL=/forms/lservlet/debug
    # Sample configuration for deploying WebUtil. Note that WebUtil is shipped with
    # DS but not AS and is also available for download from OTN.
    [webutil]
    WebUtilArchive=frmwebutil.jar,jacob.jar
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    baseHTMLjinitiator=webutiljini.htm
    baseHTMLjpi=webutiljpi.htm
    archive_jini=frmall_jinit.jar
    archive=frmall.jar
    lookAndFeel=oracle
    [devBala]
    envFile=E:\Khamel\conf\devBala.env
    WIDTH=832
    HEIGHT=662
    pageTitle=Khameleon DEV-Bala Environment
    separateFrame=True
    splashScreen=No
    Background=No
    #lookAndFeel=oracle
    colorScheme=BLAF
    form=sylogin.fmx
    logo=/ksfiles/kham_log.gif
    [devBala1]
    envFile=E:\Khamel\conf\devBala.env
    WIDTH=1000
    HEIGHT=850
    #pageTitle=Khameleon DEV-Bala1 Environment
    separateFrame=True
    splashScreen=/ksfiles/Khameleon.gif
    Background=/ksfiles/Khameleon1.gif
    #lookAndFeel=oracle
    colorScheme=BLAF
    form=sylogin.fmx
    logo=/icons/kham_log.gif

Maybe you are looking for

  • IDoc- File scenario: can you explain thses acknowledgments?

    Hi, I have an idoc->file scenario. in sxmb_moni I can see a green "OK" mark for my message in acknowldgment status column. when I dblclick the message, I can see my original message and 2 acknowldgment messages under this one in the top left. 1 ackno

  • Tiles, jsf and css

    Hi, I use JSF with Tiles for the first time to built a web application. I have a problem with my stylesheet which I use for my layout and the other pieces of pages. When I start my application, the first page works and the look and feel uses the styl

  • Turning pages in a .pdf

    I have Adobe Photoshop CS3, which contains Acrobat 8 professional on a PC. Is there any way I can add some animation to a .pdf so that the pages of the document turn in the same way as they would in a book, just by clicking the mouse? Someone suggest

  • Help in Socket Programing Plz

    Hi everyBody!!! I m writing a client/server program in which client requests to the server to get the contents of the directory of the server computer (path of the directory is specified by client). Server gets the contents fo the director by using t

  • Will my Razer Gaming products work on my Macbook pro 2011 with bootcamp?

    I have purchased 16gb of RAM for my Macbook pro late 2011 so bootcamp will run very fast when I purchase it. I was wondering if my Razer gaming accesories will work on my Macbook with bootcamp, and for future purchases of gaming accessories. Thanks