This discussion is archived
7 Replies Latest reply: Feb 4, 2013 2:36 AM by 659603 RSS

Virtual Host set up on Oracle iAS  httpd conf

659603 Newbie
Currently Being Moderated
Hi,

I have installed Oracle iAS and patched it.

The two URLs it has given both work, as follows.

http://dev26-mgt:7777
----------------------------------------
Use the following URL to access the Oracle Enterprise Manager Application Server Control:
http://dev26-mgt:1810


then I have edited the /disk0m1/app/oracle/product/ias_midtier/Apache/Apache/conf/httpd.conf file
and added

#NameVirtualHost 11.189.24.58:1810
NameVirtualHost 11.189.24.58

#<VirtualHost 11.189.24.58:1810>
<VirtualHost 11.189.24.58>
DocumentRoot /disk0m1/FML/web
DirectoryIndex cpl.htm
ServerName devdr.leeds.gov.uk
</VirtualHost>


However when I enter the http://devdr.leeds.gov.uk it does not find the new virtual server.

I have tried with the port http://devdr.leeds.gov.uk:1810 and it connects but not to the /disk0m1/FML/web/cpl.htm where it should take me.



FYI in the httpd there is also mention of
# This port is used when starting without SSL
#Port 1810
Port 7777
Listen 7778

I am not sure if the port no's are relevant.

Please can someone help me set up virtual host for first time so I can connect to cpl.htm by just entering the URL http://devdr.leeds.gov.uk

Any help appreciated.
  • 1. Re: Virtual Host set up on Oracle iAS  httpd conf
    Fabian Pro
    Currently Being Moderated
    Hi,

    http://dev26-mgt:7777 and http://dev26-mgt:1810 was working as

    "dev26-mgt" a hostname entry was made in "/etc/hosts file" (hostname is mapped to IP addresses)
    Your Current Host file may have an entry as below
    11.189.24.58 dev26-mgt

    So now, Login through root user,Take a backup of /etc/hosts file.
    Make changes in the file as below
    #11.189.24.58 dev26-mgt
    11.189.24.58 devdr.leeds.gov.uk

    Now open a new connection and try , ping devdr.leeds.gov.uk
    You should get the output as below
    64 bytes from devdr.leeds.gov.uk (11.189.24.58): icmp_seq=1 ttl=64 time=0.011 ms
    64 bytes from devdr.leeds.gov.uk (11.189.24.58): icmp_seq=2 ttl=64 time=0.017 ms
    64 bytes from devdr.leeds.gov.uk (11.189.24.58): icmp_seq=3 ttl=64 time=0.011 ms

    if you dont get the ping as above,then it means there is some problem in hosts file.
    However when I enter the http://devdr.leeds.gov.uk it does not find the new virtual server.
    Check on the Server,if Port 80 is being used by any other Software
    netstat -an|grep 80

    If you get the output as Listening or Established then it means Port 80 is already being used by some other software.
    If port 80 is available(free) then make the changes as below in your httpd.conf file

    NameVirtualHost 11.189.24.58:80

    #<VirtualHost 11.189.24.58:1810>
    <VirtualHost 11.189.24.58:80>
    DocumentRoot /disk0m1/FML/web
    DirectoryIndex cpl.htm
    ServerName devdr.leeds.gov.uk
    </VirtualHost>

    Restart Your Http Server After making all the changes,you would be able to access the application directly through http://devdr.leeds.gov.uk

    Regards
    Fabian
  • 2. Re: Virtual Host set up on Oracle iAS  httpd conf
    659603 Newbie
    Currently Being Moderated
    I have set the host file to have
    11.189.24.58 devdr.leeds.gov.uk

    When I do both
    ping devux26-mgt &
    ping devdr.leeds.gov.uk
    cmd is bringing back "reply from 11.189.24.58..." for both
    so host is set

    I checked port 80 to be added to httpd.conf. However port 80 is already being used.

    oracle@devux26 # netstat -an|grep 80
    *.32801 Idle
    11.189.24.58.22 192.168.94.2.62864 15616 0 49680 0 ESTABLISHED
    11.189.24.58.22 192.168.94.2.55579 16128 51 49680 0 ESTABLISHED



    I have also listed the relevant 7777, 7778 and 1810 ports below fyi. I found port 7800 to be free if I am correct. So I used this for the virtualHost info in httpd.conf (see below for spool of that).



    oracle@devux26 # netstat -an|grep 7777
    *.7777 *.* 0 0 49152 0 LISTEN
    11.189.24.58.61743 11.189.24.58.7777 49152 0 49152 0 TIME_WAIT
    oracle@devux26 #
    oracle@devux26 #
    oracle@devux26 #
    oracle@devux26 # netstat -an|grep 7778
    11.189.24.58.40541 11.189.24.58.7778 49152 0 49152 0 CLOSE_WAIT
    11.189.24.58.40542 11.189.24.58.7778 49152 0 49152 0 CLOSE_WAIT
    11.189.24.58.40544 11.189.24.58.7778 49152 0 49152 0 CLOSE_WAIT
    *.7778 *.* 0 0 49152 0 LISTEN
    11.189.24.58.7778 11.189.24.58.61709 49152 0 49152 0 TIME_WAIT
    11.189.24.58.61744 11.189.24.58.7778 49152 0 49152 0 CLOSE_WAIT
    11.189.24.58.7778 11.189.24.58.61744 49152 0 49152 0 FIN_WAIT_2
    11.189.24.58.61751 11.189.24.58.7778 49152 0 49152 0 TIME_WAIT

    oracle@devux26 # netstat -an|grep 7800

    oracle@devux26 # netstat -an|grep 1810
    *.1810 *.* 0 0 49152 0 LISTEN
    11.189.24.58.61867 11.189.24.58.1810 49152 0 49152 0 TIME_WAIT
    11.189.24.58.61883 11.189.24.58.1810 49152 0 49152 0 TIME_WAIT



    Part spool of /disk0m1/app/oracle/product/ias_midtier/Apache/Apache/conf/httpd.conf, changed as suggested...


    #NameVirtualHost 11.189.24.58:1810
    #NameVirtualHost 11.189.24.58
    #NameVirtualHost 11.189.24.58:80
    NameVirtualHost 11.189.24.58:7800


    #<VirtualHost 11.189.24.58:1810>
    #<VirtualHost 11.189.24.58>
    #<VirtualHost 11.189.24.58:80>
    <VirtualHost 11.189.24.58:7800>

    DocumentRoot /disk0m1/FML/web
    DirectoryIndex cpl.htm
    ServerName devdr.leeds.gov.uk
    </VirtualHost>


    Restarted the http server


    The http://devdr.leeds.gov.uk comes back with an internet explorer error as though it does not recognise the URL.

    When I now enter the above URL http://devdr.leeds.gov.uk:1810 ie with the 1810 port no (which is used for the iAS Enterprise manager, http://devux26-mgt:1810). It does pick up the /disk0m1/FML/web/cpl.htm. Which is great.
    However its still not picking up the same with just http://devdr.leeds.gov.uk as we would expect using the configured VirtualHost.

    Is port 7800 I am using the right one? and please can you adivce further how to open it using just the http://devdr.leeds.gov.uk from the above virtual host. Any help appreciated.

    Thanks
  • 3. Re: Virtual Host set up on Oracle iAS  httpd conf
    Fabian Pro
    Currently Being Moderated
    Hi,

    1st) If you want your application to listen directly to "http://devdr.leeds.gov.uk" instead of "http://devdr.leeds.gov.uk:port"
    Then you NEED port 80 to be open and make devdr.leeds.gov.uk listen to port 80.

    If you configure any other port then you would access the application http://devdr.leeds.gov.uk:port

    Check on your server which application is using port 80
    Loggin thro root,then execute the below command.
    netstat -tlnp | grep 80

    Once u get the application using the port 80, check whether you stop or configure that application to different port other then 80.
    <VirtualHost 11.189.24.58:7800>
    DocumentRoot /disk0m1/FML/web
    DirectoryIndex cpl.htm
    ServerName devdr.leeds.gov.uk
    </VirtualHost>
    2nd) I checked your last post,As u had made above changes..You should be able to access the application only through "http://devdr.leeds.gov.uk:7800" and not through "http://devdr.leeds.gov.uk:1810"
    and through "http://devdr.leeds.gov.uk:7800" it should pickup /disk0m1/FML/web/cpl.htm
    Let us know what output are you getting when you hit http://devdr.leeds.gov.uk:7800

    3rd) As mentioned in my 1st post
    #11.189.24.58 dev26-mgt
    11.189.24.58 devdr.leeds.gov.uk
    If you have done the above changes,then you should getting ping response only when you do ping devdr.leeds.gov.uk
    You should not get the ping response when you do ping devux26-mgt

    If Possible Post your entire httpd.conf file

    Regards
    Fabian


    If possible please post your httpd.conf file.
  • 4. Re: Virtual Host set up on Oracle iAS  httpd conf
    659603 Newbie
    Currently Being Moderated
    FYI.
    netstat -tlnp | grep 80 doesn't seem to work on Soalris box I am working on.

    (However this might be as I have not got root access)

    Since its a DR, I have been informed it is ok for us to append a port no at the end of a URL to get things going. So I don't need get to the required location with just the URL on port 80 now.
    Though this would have been nice to have done.


    The ping works bringing back the correct ip 11.189.24.58 for both the pings you wanted testing.



    the 7800 ports used does not work 9as if it doesn't recognise the URL address, however with the 1810 it seems to work and picks up the cpl.htm file.

    So at present the cpl.htm is apearing on my entering http://devdr.leeds.gov.uk:1810

    even though the httpd.conf is set to using 7800

    #added by Safi !!!8 lines added*The IP address is devux26 the FAB DR server at middleton
    #<VirtualHost 10.189.24.58:1810>
    #<VirtualHost 10.189.24.58:80>
    #<VirtualHost 10.189.24.58>
    <VirtualHost 10.189.24.58:7800>
    DocumentRoot /disk0m1/FML/web
    DirectoryIndex cpl.htm
    ServerName fabdr.leeds.gov.uk
    </VirtualHost>


    Which is a little baffling. But it seems to connect.

    Below the Enterprise manager is showing the Oracle Apps Server Ports being used as below...

    Component Type Port In Use Suggested Port Range Configure

    DCM Object Cache Cache Discovery Port 7100-7199

    home AJP 3301 3301-3400
    home JMS 3701 3701-3800
    home RMI 3201 3201-3300
    Log Loader Management
    44000-44099

    OC4J_BI_Forms JMS 3702 3701-3800
    OC4J_BI_Forms RMI 3202 3201-3300
    OC4J_BI_Forms AJP 3302 3301-3400
    OPMN ONS Local 6100 6100-6199
    OPMN ONS Remote 6200 6200-6299
    OPMN ONS Request 6003 6003-6099
    Oracle Enterprise Manager 10g Application Server Control 1810 1810-1829

    Oracle Enterprise Manager 10g Oracle Management Agent 1830 1830-1849

    Oracle Enterprise Manager 10g Application Server Control RMI 1850 1850-1869

    Oracle HTTP Server Diagnostic 7200 7200-7299
    Oracle HTTP Server Listen 7778 7777-7877
    Oracle HTTP Server Listen (SSL)
    4443-4543








    FYI.
    posting the full httpd.conf fyi

    ##
    ## httpd.conf -- Apache HTTP server configuration file
    ##
    # Listen: Allows you to bind Apache to specific IP addresses and/or
    # ports, in addition to the default. See also the <VirtualHost>
    # directive.
    #
    #Listen 3000
    #Listen 12.34.56.78:80
    #Listen 11.189.24.58:1810
    #
    /
    LoadModule wchandshake_module libexec/mod_wchandshake.so
    #
    ErrorLog "|/disk0m1/app/oracle/product/ias_midtier/Apache/Apache/bin/rotatelogs /disk0m1/app/oracle/product/ias_midti
    er/Apache/Apache/logs/error_log 43200"
    #
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    LogFormat "%h %l %u %t \"%r\" %>s %b" common
    LogFormat "%{Referer}i -> %U" referer
    LogFormat "%{User-agent}i" agent
    #
    # logged therein and not in this file.
    #
    CustomLog "|/disk0m1/app/oracle/product/ias_midtier/Apache/Apache/bin/rotatelogs /disk0m1/app/oracle/product/ias_midt
    ier/Apache/Apache/logs/access_log 43200" common
    #
    #NameVirtualHost *
    #NameVirtualHost 12.34.56.78:80
    #NameVirtualHost 12.34.56.78
    #added by Safi!!!***1 line IP address is devux26, the FAB DR server at middleton
    #NameVirtualHost 11.189.24.58:1810
    #NameVirtualHost 11.189.24.58
    #NameVirtualHost 11.189.24.58:80
    NameVirtualHost 11.189.24.58:7800
    #
    # VirtualHost example:
    # Almost any Apache directive may go into a VirtualHost container.
    # The first VirtualHost section is used for requests without a known
    # server name.
    #
    #<VirtualHost *>
    # ServerAdmin webmaster@dummy-host.example.com
    # DocumentRoot /www/docs/dummy-host.example.com
    # ServerName dummy-host.example.com
    # ErrorLog logs/dummy-host.example.com-error_log
    # CustomLog logs/dummy-host.example.com-access_log common
    #</VirtualHost>

    #<VirtualHost default:*>
    #</VirtualHost>


    #added by Safi !!!8 lines added*The IP address is devux26 the FAB DR server at middleton
    #<VirtualHost 11.189.24.58:1810>
    #<VirtualHost 11.189.24.58:80>
    #<VirtualHost 11.189.24.58>
    <VirtualHost 11.189.24.58:7800>
    DocumentRoot /disk0m1/FML/web
    DirectoryIndex cpl.htm
    ServerName devdr.leeds.gov.uk
    </VirtualHost>

    ## httpd.conf -- Apache HTTP server configuration file
    ##
    #
    Timeout 300
    #
    # KeepAlive: Whether or not to allow persistent connections (more than
    # one request per connection). Set to "Off" to deactivate.
    #
    KeepAlive On
    #
    # Listen: Allows you to bind Apache to specific IP addresses and/or
    # ports, in addition to the default. See also the <VirtualHost>
    # directive.
    #
    #Listen 3000
    #Listen 12.34.56.78:80
    #Listen 11.189.24.58:1810
    #
    # Port: The port to which the standalone server listens. For
    # ports < 1024, you will need httpd to be run as root initially.
    #
    # This port is used when starting without SSL
    #Port 1810
    Port 7777
    Listen 7778

    # First, we configure the "default" to be a very restrictive set of
    # permissions.
    #
    <Directory />
    Options FollowSymLinks MultiViews
    AllowOverride None
    </Directory>

    #
    # nameserver.
    #
    HostnameLookups Off
    # Set to one of: On | Off | EMail
    #
    ServerSignature On

    #
    #
    # Customize behaviour based on the browser
    #
    <IfModule mod_setenvif.c>
    #
    # The following directives modify normal HTTP response behavior.
    # The first directive disables keepalive for Netscape 2.x and browsers that
    # spoof it. There are known problems with these browser implementations.
    # The second directive is for Microsoft Internet Explorer 4.0b2
    # which has a broken HTTP/1.1 implementation and does not properly
    # support keepalive when it is used on 301 or 302 (redirect) responses.
    #
    BrowserMatch "Mozilla/2" nokeepalive
    BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
    #
    # The following directive disables HTTP/1.1 responses to browsers which
    # are in violation of the HTTP/1.0 spec by not being able to grok a
    # basic 1.1 response.
    #
    BrowserMatch "RealPlayer 4\.0" force-response-1.0
    BrowserMatch "Java/1\.0" force-response-1.0
    BrowserMatch "JDK/1\.0" force-response-1.0
    </IfModule>

    # End of browser customization directives

    #
    # Allow server status reports, with the URL of http://servername/server-status
    # Change the ".your_domain.com" to match your domain to enable.
    #
    <Location /server-status>
    SetHandler server-status
    Order deny,allow
    Deny from all
    Allow from localhost devux26-mgt devux26-mgt
    </Location>

    #
    #
    # Use name-based virtual hosting.
    #
    #NameVirtualHost *
    #NameVirtualHost 12.34.56.78:80
    #NameVirtualHost 12.34.56.78
    #added by Safi!!!***1 line IP address is devux26, the FAB DR server at middleton
    #NameVirtualHost 11.189.24.58:1810
    #NameVirtualHost 11.189.24.58
    #NameVirtualHost 11.189.24.58:80
    NameVirtualHost 11.189.24.58:7800
    #
    # VirtualHost example:
    # Almost any Apache directive may go into a VirtualHost container.
    # The first VirtualHost section is used for requests without a known
    # server name.
    #
    #<VirtualHost *>
    # ServerAdmin webmaster@dummy-host.example.com
    # DocumentRoot /www/docs/dummy-host.example.com
    # ServerName dummy-host.example.com
    # ErrorLog logs/dummy-host.example.com-error_log
    # CustomLog logs/dummy-host.example.com-access_log common
    #</VirtualHost>

    #<VirtualHost default:*>
    #</VirtualHost>


    #added by Safi !!!8 lines added*The IP address is devux26 the FAB DR server at middleton
    #<VirtualHost 11.189.24.58:1810>
    #<VirtualHost 11.189.24.58:80>
    #<VirtualHost 11.189.24.58>
    <VirtualHost 11.189.24.58:7800>
    DocumentRoot /disk0m1/FML/web
    DirectoryIndex cpl.htm
    ServerName devdr.leeds.gov.uk
    </VirtualHost>

    # Required for cgi perl scripts that are run from /cgi-bin/.
    SetEnv PERL5LIB "/disk0m1/app/oracle/product/ias_midtier/perl/lib/5.6.1:/disk0m1/app/oracle/product/ias_midtier/perl/lib/site_perl/5.6.1"

    <IfModule mod_perl.c>
    #
    # Perl Directives
    #
    # PerlWarn On
    # PerlFreshRestart On
    # PerlSetEnv PERL5OPT Tw
    # PerlSetEnv PERL5LIB "/disk0m1/app/oracle/product/ias_midtier/perl/lib/5.6.1:/disk0m1/app/oracle/product/ias_midtier/perl/lib/site_perl/5.6.1"
    PerlModule Apache
    # PerlModule Apache::Status
    PerlModule Apache::Registry

    # PerlModule Apache::CGI
    # PerlModule Apache::DBI
    # PerlRequire
    <Location /perl>
    SetHandler perl-script
    PerlHandler Apache::Registry
    AddHandler perl-script .pl
    Options +ExecCGI
    PerlSendHeader On
    </Location>

    # <Location /perl-status>
    # SetHandler perl-script
    # PerlHandler Apache::Status
    # order deny,allow
    # deny from all
    # allow from .your_domain.com
    # </Location>
    </IfModule>

    #Protect WEB-INF directory
    <DirectoryMatch /WEB-INF/>
    Order deny,allow
    Deny from all
    </DirectoryMatch>

    # Setup of FastCGI module
    <IfModule mod_fastcgi.c>
    Alias /fastcgi/ "/disk0m1/app/oracle/product/ias_midtier/Apache/fastcgi/"
    ScriptAlias /fcgi-bin/ "/disk0m1/app/oracle/product/ias_midtier/Apache/Apache/fcgi-bin/"

    <Directory "/disk0m1/app/oracle/product/ias_midtier/Apache/Apache/fcgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
    SetHandler fastcgi-script

    <IfModule mod_ossl.c>
    SSLOptions +StdEnvVars
    </IfModule>

    </Directory>

    </IfModule>

    PassEnv ORACLE_HOME
    PassEnv LD_LIBRARY_PATH
    PassEnv NLS_LANG
    PassEnv TNS_ADMIN

    # Include the configuration files needed for jserv
    #include "/disk0m1/app/oracle/product/ias_midtier/Apache/Jserv/etc/jserv.conf"

    # Setup of oprocmgr module.
    #
    <IfModule mod_oprocmgr.c>

    <Location /oprocmgr-service>
    SetHandler oprocmgr-service
    Order deny,allow
    Deny from all
    Allow from localhost devux26-mgt devux26-mgt
    </Location>

    <Location /oprocmgr-status>
    SetHandler oprocmgr-status
    Order deny,allow
    Deny from all
    Allow from localhost devux26-mgt devux26-mgt
    </Location>

    </IfModule>

    # Include the configuration files needed for mod_oc4j
    include "/disk0m1/app/oracle/product/ias_midtier/Apache/Apache/conf/mod_oc4j.conf"
    # Include the configuration files needed for mod_dms
    include "/disk0m1/app/oracle/product/ias_midtier/Apache/Apache/conf/dms.conf"
    # Loading mod_rewrite module here as it has to load before mod_oc4j
    LoadModule rewrite_module libexec/mod_rewrite.so
    # Include the SSL definitions and Virtual Host container
    include "/disk0m1/app/oracle/product/ias_midtier/Apache/Apache/conf/ssl.conf"
    # Include the configuration files needed for mod_osso
    #include "/disk0m1/app/oracle/product/ias_midtier/Apache/Apache/conf/mod_osso.conf"

    # Include the Oracle configuration file for custom settings
    include "/disk0m1/app/oracle/product/ias_midtier/Apache/Apache/conf/oracle_apache.conf"




    Now I am able to connect to the cpl.htm when I use http://fabdr.leeds.gov.uk:1810
    But get the below error



    load: class oracle.forms.engine.Main not found.
    java.lang.ClassNotFoundException: oracle.forms.engine.Main
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed:http://fabdr.leeds.gov.uk:1810/forms90/java/oracle/forms/engine/Main.class
         at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 7 more
    Exception: java.lang.ClassNotFoundException: oracle.forms.engine.Main

    Edited by: user5856470 on Jan 10, 2013 9:30 AM
  • 5. Re: Virtual Host set up on Oracle iAS  httpd conf
    659603 Newbie
    Currently Being Moderated
    FYI.
    netstat -tlnp | grep 80 doesn't seem to work on Soalris box I am working on.

    (However this might be as I have not got root access)

    Since its a DR, I have been informed it is ok for us to append a port no at the end of a URL to get things going. So I don't need get to the required location with just the URL on port 80 now.
    Though this would have been nice to have done.


    The ping works bringing back the correct ip 11.189.24.58 for both the pings you wanted testing.



    the 7800 ports used does not work 9as if it doesn't recognise the URL address, however with the 1810 it seems to work and picks up the cpl.htm file.

    So at present the cpl.htm is apearing on my entering http://devdr.leeds.gov.uk:1810

    even though the httpd.conf is set to using 7800

    relevant part of httpd.conf...
    #added by Safi !!!8 lines added*The IP address is devux26 the FAB DR server at middleton
    #<VirtualHost 10.189.24.58:1810>
    #<VirtualHost 10.189.24.58:80>
    #<VirtualHost 10.189.24.58>
    <VirtualHost 10.189.24.58:7800>
    DocumentRoot /disk0m1/FML/web
    DirectoryIndex cpl.htm
    ServerName fabdr.leeds.gov.uk
    </VirtualHost>


    Which is a little baffling. But it seems to connect.


    Below is the Enterprise manager showing the Oracle Apps Server Ports being used...

    HEADINGS...
    Component Type Port In Use Suggested Port Range Configure
    DATA...
    DCM Object Cache Cache Discovery Port 7100-7199

    home AJP 3301 3301-3400
    home JMS 3701 3701-3800
    home RMI 3201 3201-3300

    OC4J_BI_Forms JMS 3702 3701-3800
    OC4J_BI_Forms RMI 3202 3201-3300
    OC4J_BI_Forms AJP 3302 3301-3400
    OPMN ONS Local 6100 6100-6199
    OPMN ONS Remote 6200 6200-6299
    OPMN ONS Request 6003 6003-6099
    Oracle Enterprise Manager 10g Application Server Control 1810 1810-1829

    Oracle Enterprise Manager 10g Oracle Management Agent 1830 1830-1849

    Oracle Enterprise Manager 10g Application Server Control RMI 1850 1850-1869

    Oracle HTTP Server Diagnostic 7200 7200-7299
    Oracle HTTP Server Listen 7778 7777-7877
    Oracle HTTP Server Listen (SSL)
    4443-4543




    Now once the cpl.htm is loading on port 1810

    I get this when opening forms



    load: class oracle.forms.engine.Main not found.
    java.lang.ClassNotFoundException: oracle.forms.engine.Main
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed:http://devdr.leeds.gov.uk:1810/forms90/java/oracle/forms/engine/Main.class
         at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 7 more
    Exception: java.lang.ClassNotFoundException: oracle.forms.engine.Main

    ps. Appologies for the late reply. I have been on annual leave and been dragged on some other work in in the meantim...
  • 6. Re: Virtual Host set up on Oracle iAS  httpd conf
    Fabian Pro
    Currently Being Moderated
    Hi,
    load: class oracle.forms.engine.Main not found.
    java.lang.ClassNotFoundException: oracle.forms.engine.Main
    at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    Upgrade to SUN Java Plug-in 1.6 and open the Plug_in admin page via Control Panel

    1. Select the tab page "Advanced"
    2. Move to the Security menu and click on the checkbox 'Use SSL 2.0 compatible ClientHello format"

    Give a look at below metalink note
    *Forms in SSL Fail After Upgrade of Java Sun Plug-in or Modification of WebCache Webcach.xml File [ID 787739.1]*

    Regards
    Fabian
  • 7. Re: Virtual Host set up on Oracle iAS  httpd conf
    659603 Newbie
    Currently Being Moderated
    Appologies for not reposning. Thanks for your help so far. After the christmas hols, another priority project came into play and the server was taken off me to continue. But so far all the comments have been very useful and helpfull in moving further than without . Thank you

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points