9i Apache Server

This is probably a basic question, and if I knew where in the documentation to look, I could probably fix it myself. But sometimes too much documentation is just as bad as too little. :)
I finally got 9i working in RH 7.1, but when I try to access the web page I get a "not authorized" error. I get this for every page.
Does anyone know how to fix this or where to get the information on how to do so?
Thanks

It should be relatively straight forward.
If you have WAR files which you've deployed to Tomcat, then you should pretty much be able to deploy them as is to OracleAS using the application server control management console.
The mgt console has support for WAR file deployment.
In the documentation, the User's Guide is a good book to read to get up to speed.
http://download-west.oracle.com/docs/cd/B10464_02/web.htm
If you have just a collection of JSPs as your application, then I'd recommend you put them into a WAR file archive, and then deploy that.
cheers
-steve-

Similar Messages

  • Apache server + mod_python - Error 403

    Hi.
    I'm totally new in Apache server. As topic says, I have problems with permissions to my server directory. Here's my httpd.conf file:
    # This is the main Apache HTTP server configuration file. It contains the
    # configuration directives that give the server its instructions.
    # See <URL:http://httpd.apache.org/docs/2.4/> for detailed information.
    # In particular, see
    # <URL:http://httpd.apache.org/docs/2.4/mod/directives.html>
    # for a discussion of each configuration directive.
    # Do NOT simply read the instructions in here without understanding
    # what they do. They're here only as hints or reminders. If you are unsure
    # consult the online docs. You have been warned.
    # Configuration and logfile names: If the filenames you specify for many
    # of the server's control files begin with "/" (or "drive:/" for Win32), the
    # server will use that explicit path. If the filenames do *not* begin
    # with "/", the value of ServerRoot is prepended -- so "logs/access_log"
    # with ServerRoot set to "/usr/local/apache2" will be interpreted by the
    # server as "/usr/local/apache2/logs/access_log", whereas "/logs/access_log"
    # will be interpreted as '/logs/access_log'.
    # ServerRoot: The top of the directory tree under which the server's
    # configuration, error, and log files are kept.
    # Do not add a slash at the end of the directory path. If you point
    # ServerRoot at a non-local disk, be sure to specify a local disk on the
    # Mutex directive, if file-based mutexes are used. If you wish to share the
    # same ServerRoot for multiple httpd daemons, you will need to change at
    # least PidFile.
    ServerRoot "/etc/httpd/"
    # Mutex: Allows you to set the mutex mechanism and mutex file directory
    # for individual mutexes, or change the global defaults
    # Uncomment and change the directory if mutexes are file-based and the default
    # mutex file directory is not on a local disk or is not appropriate for some
    # other reason.
    # Mutex default:/run/httpd
    # Listen: Allows you to bind Apache to specific IP addresses and/or
    # ports, instead of the default. See also the <VirtualHost>
    # directive.
    # Change this to Listen on specific IP addresses as shown below to
    # prevent Apache from glomming onto all bound IP addresses.
    #Listen 12.34.56.78:80
    Listen 80
    # Dynamic Shared Object (DSO) Support
    # To be able to use the functionality of a module which was built as a DSO you
    # have to place corresponding `LoadModule' lines at this location so the
    # directives contained in it are actually available _before_ they are used.
    # Statically compiled modules (those listed by `httpd -l') do not need
    # to be loaded here.
    # Example:
    # LoadModule foo_module modules/mod_foo.so
    LoadModule authn_file_module modules/mod_authn_file.so
    #LoadModule authn_dbm_module modules/mod_authn_dbm.so
    #LoadModule authn_anon_module modules/mod_authn_anon.so
    #LoadModule authn_dbd_module modules/mod_authn_dbd.so
    #LoadModule authn_socache_module modules/mod_authn_socache.so
    LoadModule authn_core_module modules/mod_authn_core.so
    LoadModule authz_host_module modules/mod_authz_host.so
    LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
    LoadModule authz_user_module modules/mod_authz_user.so
    #LoadModule authz_dbm_module modules/mod_authz_dbm.so
    #LoadModule authz_owner_module modules/mod_authz_owner.so
    #LoadModule authz_dbd_module modules/mod_authz_dbd.so
    LoadModule authz_core_module modules/mod_authz_core.so
    #LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
    LoadModule access_compat_module modules/mod_access_compat.so
    LoadModule auth_basic_module modules/mod_auth_basic.so
    #LoadModule auth_form_module modules/mod_auth_form.so
    #LoadModule auth_digest_module modules/mod_auth_digest.so
    #LoadModule allowmethods_module modules/mod_allowmethods.so
    #LoadModule file_cache_module modules/mod_file_cache.so
    #LoadModule cache_module modules/mod_cache.so
    #LoadModule cache_disk_module modules/mod_cache_disk.so
    #LoadModule cache_socache_module modules/mod_cache_socache.so
    #LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
    #LoadModule socache_dbm_module modules/mod_socache_dbm.so
    #LoadModule socache_memcache_module modules/mod_socache_memcache.so
    #LoadModule watchdog_module modules/mod_watchdog.so
    #LoadModule macro_module modules/mod_macro.so
    #LoadModule dbd_module modules/mod_dbd.so
    #LoadModule dumpio_module modules/mod_dumpio.so
    #LoadModule echo_module modules/mod_echo.so
    #LoadModule buffer_module modules/mod_buffer.so
    #LoadModule data_module modules/mod_data.so
    #LoadModule ratelimit_module modules/mod_ratelimit.so
    LoadModule reqtimeout_module modules/mod_reqtimeout.so
    #LoadModule ext_filter_module modules/mod_ext_filter.so
    #LoadModule request_module modules/mod_request.so
    LoadModule include_module modules/mod_include.so
    LoadModule filter_module modules/mod_filter.so
    #LoadModule reflector_module modules/mod_reflector.so
    #LoadModule substitute_module modules/mod_substitute.so
    #LoadModule sed_module modules/mod_sed.so
    #LoadModule charset_lite_module modules/mod_charset_lite.so
    #LoadModule deflate_module modules/mod_deflate.so
    #LoadModule xml2enc_module modules/mod_xml2enc.so
    #LoadModule proxy_html_module modules/mod_proxy_html.so
    LoadModule mime_module modules/mod_mime.so
    #LoadModule ldap_module modules/mod_ldap.so
    LoadModule log_config_module modules/mod_log_config.so
    #LoadModule log_debug_module modules/mod_log_debug.so
    #LoadModule log_forensic_module modules/mod_log_forensic.so
    #LoadModule logio_module modules/mod_logio.so
    #LoadModule lua_module modules/mod_lua.so
    LoadModule env_module modules/mod_env.so
    #LoadModule mime_magic_module modules/mod_mime_magic.so
    #LoadModule cern_meta_module modules/mod_cern_meta.so
    #LoadModule expires_module modules/mod_expires.so
    LoadModule headers_module modules/mod_headers.so
    #LoadModule ident_module modules/mod_ident.so
    #LoadModule usertrack_module modules/mod_usertrack.so
    #LoadModule unique_id_module modules/mod_unique_id.so
    LoadModule setenvif_module modules/mod_setenvif.so
    LoadModule version_module modules/mod_version.so
    #LoadModule remoteip_module modules/mod_remoteip.so
    LoadModule proxy_module modules/mod_proxy.so
    LoadModule proxy_connect_module modules/mod_proxy_connect.so
    LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
    LoadModule proxy_http_module modules/mod_proxy_http.so
    LoadModule proxy_fcgi_module modules/mod_proxy_fcgi.so
    LoadModule proxy_scgi_module modules/mod_proxy_scgi.so
    #LoadModule proxy_fdpass_module modules/mod_proxy_fdpass.so
    LoadModule proxy_wstunnel_module modules/mod_proxy_wstunnel.so
    LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
    LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
    LoadModule proxy_express_module modules/mod_proxy_express.so
    #LoadModule session_module modules/mod_session.so
    #LoadModule session_cookie_module modules/mod_session_cookie.so
    #LoadModule session_dbd_module modules/mod_session_dbd.so
    LoadModule slotmem_shm_module modules/mod_slotmem_shm.so
    #LoadModule slotmem_plain_module modules/mod_slotmem_plain.so
    #LoadModule ssl_module modules/mod_ssl.so
    #LoadModule dialup_module modules/mod_dialup.so
    LoadModule lbmethod_byrequests_module modules/mod_lbmethod_byrequests.so
    LoadModule lbmethod_bytraffic_module modules/mod_lbmethod_bytraffic.so
    LoadModule lbmethod_bybusyness_module modules/mod_lbmethod_bybusyness.so
    LoadModule lbmethod_heartbeat_module modules/mod_lbmethod_heartbeat.so
    LoadModule mpm_event_module modules/mod_mpm_event.so
    LoadModule unixd_module modules/mod_unixd.so
    #LoadModule heartbeat_module modules/mod_heartbeat.so
    #LoadModule heartmonitor_module modules/mod_heartmonitor.so
    #LoadModule dav_module modules/mod_dav.so
    LoadModule status_module modules/mod_status.so
    LoadModule autoindex_module modules/mod_autoindex.so
    #LoadModule asis_module modules/mod_asis.so
    #LoadModule info_module modules/mod_info.so
    #LoadModule suexec_module modules/mod_suexec.so
    #LoadModule cgid_module modules/mod_cgid.so
    #LoadModule cgi_module modules/mod_cgi.so
    #LoadModule dav_fs_module modules/mod_dav_fs.so
    #LoadModule dav_lock_module modules/mod_dav_lock.so
    #LoadModule vhost_alias_module modules/mod_vhost_alias.so
    LoadModule negotiation_module modules/mod_negotiation.so
    LoadModule dir_module modules/mod_dir.so
    #LoadModule imagemap_module modules/mod_imagemap.so
    #LoadModule actions_module modules/mod_actions.so
    #LoadModule speling_module modules/mod_speling.so
    LoadModule userdir_module modules/mod_userdir.so
    LoadModule alias_module modules/mod_alias.so
    #LoadModule rewrite_module modules/mod_rewrite.so
    LoadModule python_module modules/mod_python.so
    <IfModule unixd_module>
    # If you wish httpd to run as a different user or group, you must run
    # httpd as root initially and it will switch.
    # User/Group: The name (or #number) of the user/group to run httpd as.
    # It is usually good practice to create a dedicated user and group for
    # running httpd, as with most system services.
    User http
    Group http
    </IfModule>
    # 'Main' server configuration
    # The directives in this section set up the values used by the 'main'
    # server, which responds to any requests that aren't handled by a
    # <VirtualHost> definition. These values also provide defaults for
    # any <VirtualHost> containers you may define later in the file.
    # All of these directives may appear inside <VirtualHost> containers,
    # in which case these default settings will be overridden for the
    # virtual host being defined.
    # ServerAdmin: Your address, where problems with the server should be
    # e-mailed. This address appears on some server-generated pages, such
    # as error documents. e.g. [email protected]
    ServerAdmin [email protected]
    # ServerName gives the name and port that the server uses to identify itself.
    # This can often be determined automatically, but we recommend you specify
    # it explicitly to prevent problems during startup.
    # If your host doesn't have a registered DNS name, enter its IP address here.
    #ServerName www.example.com:80
    # Deny access to the entirety of your server's filesystem. You must
    # explicitly permit access to web content directories in other
    # <Directory> blocks below.
    <Directory />
    AllowOverride none
    Require all denied
    </Directory>
    # Note that from this point forward you must specifically allow
    # particular features to be enabled - so if something's not working as
    # you might expect, make sure that you have specifically enabled it
    # below.
    # DocumentRoot: The directory out of which you will serve your
    # documents. By default, all requests are taken from this directory, but
    # symbolic links and aliases may be used to point to other locations.
    DocumentRoot "/srv/http"
    <Directory "/srv/http">
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    # Note that "MultiViews" must be named *explicitly* --- "Options All"
    # doesn't give it to you.
    # The Options directive is both complicated and important. Please see
    # http://httpd.apache.org/docs/2.4/mod/core.html#options
    # for more information.
    Options Indexes FollowSymLinks
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    # AllowOverride FileInfo AuthConfig Limit
    AllowOverride None
    # Controls who can get stuff from this server.
    Require all granted
    </Directory>
    # DirectoryIndex: sets the file that Apache will serve if a directory
    # is requested.
    <IfModule dir_module>
    DirectoryIndex index.html
    </IfModule>
    # The following lines prevent .htaccess and .htpasswd files from being
    # viewed by Web clients.
    <Files ".ht*">
    Require all denied
    </Files>
    # ErrorLog: The location of the error log file.
    # If you do not specify an ErrorLog directive within a <VirtualHost>
    # container, error messages relating to that virtual host will be
    # logged here. If you *do* define an error logfile for a <VirtualHost>
    # container, that host's errors will be logged there and not here.
    ErrorLog "/var/log/httpd/error_log"
    # LogLevel: Control the number of messages logged to the error_log.
    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn
    <IfModule log_config_module>
    # The following directives define some format nicknames for use with
    # a CustomLog directive (see below).
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    LogFormat "%h %l %u %t \"%r\" %>s %b" common
    <IfModule logio_module>
    # You need to enable mod_logio.c to use %I and %O
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
    </IfModule>
    # The location and format of the access logfile (Common Logfile Format).
    # If you do not define any access logfiles within a <VirtualHost>
    # container, they will be logged here. Contrariwise, if you *do*
    # define per-<VirtualHost> access logfiles, transactions will be
    # logged therein and *not* in this file.
    CustomLog "/var/log/httpd/access_log" common
    # If you prefer a logfile with access, agent, and referer information
    # (Combined Logfile Format) you can use the following directive.
    #CustomLog "/var/log/httpd/access_log" combined
    </IfModule>
    <IfModule alias_module>
    # Redirect: Allows you to tell clients about documents that used to
    # exist in your server's namespace, but do not anymore. The client
    # will make a new request for the document at its new location.
    # Example:
    # Redirect permanent /foo http://www.example.com/bar
    # Alias: Maps web paths into filesystem paths and is used to
    # access content that does not live under the DocumentRoot.
    # Example:
    # Alias /webpath /full/filesystem/path
    # If you include a trailing / on /webpath then the server will
    # require it to be present in the URL. You will also likely
    # need to provide a <Directory> section to allow access to
    # the filesystem path.
    # ScriptAlias: This controls which directories contain server scripts.
    # ScriptAliases are essentially the same as Aliases, except that
    # documents in the target directory are treated as applications and
    # run by the server when requested rather than as documents sent to the
    # client. The same rules about trailing "/" apply to ScriptAlias
    # directives as to Alias.
    ScriptAlias /cgi-bin/ "/srv/http/cgi-bin/"
    </IfModule>
    <IfModule cgid_module>
    # ScriptSock: On threaded servers, designate the path to the UNIX
    # socket used to communicate with the CGI daemon of mod_cgid.
    #Scriptsock cgisock
    </IfModule>
    # "/srv/http/cgi-bin" should be changed to whatever your ScriptAliased
    # CGI directory exists, if you have that configured.
    <Directory "/srv/http/cgi-bin">
    AllowOverride None
    Options None
    Require all granted
    </Directory>
    <IfModule mime_module>
    # TypesConfig points to the file containing the list of mappings from
    # filename extension to MIME-type.
    TypesConfig conf/mime.types
    # AddType allows you to add to or override the MIME configuration
    # file specified in TypesConfig for specific file types.
    #AddType application/x-gzip .tgz
    # AddEncoding allows you to have certain browsers uncompress
    # information on the fly. Note: Not all browsers support this.
    #AddEncoding x-compress .Z
    #AddEncoding x-gzip .gz .tgz
    # If the AddEncoding directives above are commented-out, then you
    # probably should define those extensions to indicate media types:
    AddType application/x-compress .Z
    AddType application/x-gzip .gz .tgz
    # AddHandler allows you to map certain file extensions to "handlers":
    # actions unrelated to filetype. These can be either built into the server
    # or added with the Action directive (see below)
    # To use CGI scripts outside of ScriptAliased directories:
    # (You will also need to add "ExecCGI" to the "Options" directive.)
    #AddHandler cgi-script .cgi
    # For type maps (negotiated resources):
    #AddHandler type-map var
    # Filters allow you to process content before it is sent to the client.
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #AddType text/html .shtml
    #AddOutputFilter INCLUDES .shtml
    </IfModule>
    # The mod_mime_magic module allows the server to use various hints from the
    # contents of the file itself to determine its type. The MIMEMagicFile
    # directive tells the module where the hint definitions are located.
    #MIMEMagicFile conf/magic
    # Customizable error responses come in three flavors:
    # 1) plain text 2) local redirects 3) external redirects
    # Some examples:
    #ErrorDocument 500 "The server made a boo boo."
    #ErrorDocument 404 /missing.html
    #ErrorDocument 404 "/cgi-bin/missing_handler.pl"
    #ErrorDocument 402 http://www.example.com/subscription_info.html
    # MaxRanges: Maximum number of Ranges in a request before
    # returning the entire resource, or one of the special
    # values 'default', 'none' or 'unlimited'.
    # Default setting is to accept 200 Ranges.
    #MaxRanges unlimited
    # EnableMMAP and EnableSendfile: On systems that support it,
    # memory-mapping or the sendfile syscall may be used to deliver
    # files. This usually improves server performance, but must
    # be turned off when serving from networked-mounted
    # filesystems or if support for these functions is otherwise
    # broken on your system.
    # Defaults: EnableMMAP On, EnableSendfile Off
    #EnableMMAP off
    #EnableSendfile on
    # Supplemental configuration
    # The configuration files in the conf/extra/ directory can be
    # included to add extra features or to modify the default configuration of
    # the server, or you may simply copy their contents here and change as
    # necessary.
    # Server-pool management (MPM specific)
    Include conf/extra/httpd-mpm.conf
    # Multi-language error messages
    Include conf/extra/httpd-multilang-errordoc.conf
    # Fancy directory listings
    Include conf/extra/httpd-autoindex.conf
    # Language settings
    Include conf/extra/httpd-languages.conf
    # User home directories
    Include conf/extra/httpd-userdir.conf
    # Real-time info on requests and configuration
    #Include conf/extra/httpd-info.conf
    # Virtual hosts
    #Include conf/extra/httpd-vhosts.conf
    # Local access to the Apache HTTP Server Manual
    #Include conf/extra/httpd-manual.conf
    # Distributed authoring and versioning (WebDAV)
    #Include conf/extra/httpd-dav.conf
    # Various default settings
    Include conf/extra/httpd-default.conf
    # Configure mod_proxy_html to understand HTML4/XHTML1
    <IfModule proxy_html_module>
    Include conf/extra/proxy-html.conf
    </IfModule>
    # Secure (SSL/TLS) connections
    #Include conf/extra/httpd-ssl.conf
    # Note: The following must must be present to support
    # starting without SSL on platforms with no /dev/random equivalent
    # but a statically compiled-in mod_ssl.
    <IfModule ssl_module>
    SSLRandomSeed startup builtin
    SSLRandomSeed connect builtin
    </IfModule>
    # uncomment out the below to deal with user agents that deliberately
    # violate open standards by misusing DNT (DNT *must* be a specific
    # end-user choice)
    #<IfModule setenvif_module>
    #BrowserMatch "MSIE 10.0;" bad_DNT
    #</IfModule>
    #<IfModule headers_module>
    #RequestHeader unset DNT env=bad_DNT
    #</IfModule>
    <Directory /home/developer/www/>
    AddHandler mod_python .py
    PythonHandler mptest
    PythonDebug On
    </Directory>
    httpd-userdir.conf file:
    # Settings for user home directories
    # Required module: mod_authz_core, mod_authz_host, mod_userdir
    # UserDir: The name of the directory that is appended onto a user's home
    # directory if a ~user request is received. Note that you must also set
    # the default access control for these directories, as in the example below.
    UserDir public_html
    # Control access to UserDir directories. The following is an example
    # for a site where these directories are restricted to read-only.
    <Directory "/home/developer/www/">
    AllowOverride FileInfo AuthConfig Limit Indexes
    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
    Require method GET POST OPTIONS
    </Directory>
    and path permissions
    drwxr-xr-x 4 root root 4096 03-16 12:24 home
    drwx-----x 11 developer users 4096 03-18 21:03 developer
    drwxr-xr-x 2 http http 4096 03-18 21:50 www
    -rwxrwxrwx 1 http http 137 03-18 21:08 mptest.py
    Do you have any suggestions? Thanks in advance

    Thanks for reply
    I've added read access to developer directory:
    drwxr--r-x 11 developer users 4096 03-18 21:03 developer
    Nothing changed.
    error_log
    [Tue Mar 18 22:42:47.462658 2014] [authz_core:error] [pid 2150:tid 2941197120] [client 192.168.1.100:56103] AH01630: client denied by server configuration: /home/developer/public_html
    No idea how "public_html" get there?!
    access_log
    192.168.1.100 - - [18/Mar/2014:22:38:34 +0100] "GET /~developer HTTP/1.1" 403 1081
    192.168.1.100 - - [18/Mar/2014:22:38:45 +0100] "GET /~developer/www HTTP/1.1" 403 1081
    192.168.1.100 - - [18/Mar/2014:22:42:47 +0100] "GET /~developer/www HTTP/1.1" 403 1081
    192.168.1.100 - - [18/Mar/2014:22:42:47 +0100] "GET /favicon.ico HTTP/1.1" 404 1099
    192.168.1.100 - - [18/Mar/2014:22:42:47 +0100] "GET /favicon.ico HTTP/1.1" 404 1099
    EDIT
    Ok, I've found the solution for that. In file httpd-userdir.conf UserDir was "public_html" instead of "www".
    Now I'm getting error 500
    error_log
    [Tue Mar 18 22:48:36.841443 2014] [mpm_event:notice] [pid 2803:tid 3074947456] AH00489: Apache/2.4.7 (Unix) mod_python/3.5.0- Python/3.3.5 configured -- resuming normal operations
    [Tue Mar 18 22:48:36.841528 2014] [core:notice] [pid 2803:tid 3074947456] AH00094: Command line: '/usr/bin/httpd'
    [Tue Mar 18 22:48:45.873329 2014] [:error] [pid 2805:tid 3033516864] make_obcallback: could not import mod_python.apache.\n
    [Tue Mar 18 22:48:45.874559 2014] [:error] [pid 2805:tid 3033516864] make_obcallback: Python path being used "['/usr/lib/python33.zip', '/usr/lib/python3.3', '/usr/lib/python3.3/plat-linux', '/usr/lib/python3.3/lib-dynload', '/usr/lib/python3.3/site-packages']".
    [Tue Mar 18 22:48:45.874589 2014] [:error] [pid 2805:tid 3033516864] get_interpreter: no interpreter callback found.
    [Tue Mar 18 22:48:45.874612 2014] [:error] [pid 2805:tid 3033516864] [client 192.168.1.100:56122] python_handler: Can't get/create interpreter., referer: http://192.168.1.108/~developer/
    Last edited by maci3k (2014-03-18 22:37:32)

  • How can i create datasource on apache server for ADF application?

    Hi All,
    i my use case i have created simple adf application using ADF BC and want to deploy on Apache server 6.x.
    So my question is that  how can i create Data Source i have goggling and find  two different way to do this.
    1. write following line of code on apache server conf/Context.xml file.
    <Resource name="jdbc/TestDB" auth="Container"
                  type="javax.sql.DataSource"
                   driverClassName="oracle.jdbc.OracleDriver"
                  url="jdbc:oracle:thin:@localhost:dst"
                  username="jagrandb" password="jagrantest" maxActive="20" maxIdle="10"
                  maxWait="-1"/>
    but when i have used this way i got following exception.
    org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper cannot be cast to oracle.jdbc.OracleConnection
    check link-
    https://forums.oracle.com/thread/2564233
    2. write following line of code apache conf/Server.xml file
    <GlobalNamingResources>
        <!-- Editable user database that can also be used by
             UserDatabaseRealm to authenticate users
        -->
        <Resource name="UserDatabase" auth="Container"
                  type="org.apache.catalina.UserDatabase"
                  description="User database that can be updated and saved"
                  factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
                  pathname="conf/tomcat-users.xml" />
    <Resource name="jdbc/TestDB" auth="Container"
                  type="oracle.jdbc.pool.OracleDataSource"
                  description="User database that can be updated and saved"
                  driverClassName="oracle.jdbc.driver.OracleDriver"
                  factory="oracle.jdbc.pool.OracleDataSourceFactory"
                  url="jdbc:oracle:thin:@//172.31.43.207:1521:dst"
                  username="jagrandb" password="jagrantest" maxActive="20" maxIdle="10"
                  maxWait="-1"   />
      </GlobalNamingResources>
    and add this line in context.xml file inside <context> tag
    <ResourceLink global="jdbc/TestDB" name="jdbc/TestDB" type="oracle.jdbc.pool.OracleDataSource"/>
    but when i have run application i have got following error
    log-
    javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: invalid arguments in call"
      at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.getConnection(QueryTagSupport.java:298)
      at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.doStartTag(QueryTagSupport.java:181)
      at org.apache.jsp.test_jsp._jspx_meth_sql_005fquery_005f0(test_jsp.java:110)
      at org.apache.jsp.test_jsp._jspService(test_jsp.java:63)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
      at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:857)
      at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565)
      at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)
      at java.lang.Thread.run(Thread.java:662)
    Aug 2, 2013 5:17:21 PM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: invalid arguments in call"
      at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.getConnection(QueryTagSupport.java:298)
      at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.doStartTag(QueryTagSupport.java:181)
      at org.apache.jsp.test_jsp._jspx_meth_sql_005fquery_005f0(test_jsp.java:110)
      at org.apache.jsp.test_jsp._jspService(test_jsp.java:63)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
      at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:857)
      at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565)
      at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)
      at java.lang.Thread.run(Thread.java:662)
    so what is the solution how to create datasource on apche server which suitable for adf application?
    when i test data source using  following code used 1. way as i mentioned above  its running fine bt not for second.
    <%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <sql:query var="rs" dataSource="jdbc/TestDB">
    select empname from pay_emphdr where empcd='JK1306'
    </sql:query>
    <html>
      <head>
        <title>DB Test</title>
      </head>
      <body>
      <h2>Results</h2>
    <c:forEach var="row" items="${rs.rows}">
        Foo ${row.empname}<br/>
    </c:forEach>
      </body>
    </html>
    please help me. it is very urgent.
    thanks in Advance
    Manish

    Hi Lindalnci
    i have already tried  this tutorial and in my post i have defined first way to do using this procedure.
    in that case i have got following exception as i have mentioned above
    org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper cannot be cast to oracle.jdbc.OracleConnection

  • How can I run a a class file on the Apache server?

    Hi Guys and Gurus,
    I am seeking some favor all of experienced gurus, i.e.
    How can I run a a class file on the Apache server?
    Actually, I want to extract some records from a MySQL Database running on Apache Server. I wrote a program just to select the columns and show them. It is now a Class file, Now how can I run this class file from the Server???
    Please advise...
    VJ

    cross posted
    http://forum.java.sun.com/thread.jsp?thread=299137&forum=31&message=1184025

  • How to get last modified date and time of a file which is in apache server.

    Hi ,
    I need to get last modified date and time of a file in remote machine.
    This file is in remote machine which has apache server installed.
    I am trying to get this information by connecting to apache server from client by giving absolute URI of the file to file object.
    URI is got from apache server URL by using toURI method.
    when I use lastModified method , its throwing exception , because scheme of URI is not file.
    I can't give scheme as file because ftp server is not installed on that server
    Is there any other way to get this information .

    No, unless you can use an FTP client.

  • How to get my apache server running on my ip address?

    I am new to apache server. I installed apache server as described in :
    https://wiki.archlinux.org/index.php/LAMP
    Firstly where do I store the files that I want to open using my apache server and how do I like map my public ip to apache server?
    say my public ip is x.x.x.x
    how do I get it work such that next time in browser instead of typing http://localhost/ if I type my public ip it shows the contents on my server.
    Thanks

    Read completely before trying.....
    1. Register an account at www.dyndns.org, its free, up to two domains.
    2. Login to dyndns and create a domain of your choice.
    3. This dyndns keeps track of your router IP addresses which is typically dynamic.
    4. Now we need to update the ip addresses of the domain when ever it changes. It generally changes every time we restart the router. In order to do it automatically we will setup the dyndns account on the router.
    5. On the router, login as admin to change/setup the settings. The router can be reached with the ip 192.168.1.1, this ip addresses changes with the manufacturer, like for belkin its 192.168.2.1
    6. On the router check for something which says DDNS, here you can setup the dyndns.
    7. Give the login details for your dyndns and the domain name.
    8. So, now you have linked your router to your dyndns and you can reach the router from anywhere in the world by type the domain name. The ip is not reliable since its dynamic and so it changes.
    9. No to use an application on a computer connected to the router. You need to use port forwarding.
    10. By using port forwarding, we can make the router redirect the requests to a computer on the network.
    11. Now again, your computer is typically connected to router using DHCP or dynamic ip. So need a static ip address for the computer as well so that it will remain constant all the times and the router can redirect the requests to this ip.
    12. Make the computer acquire a static ip. Configure your system for static ip. You just need to specify some ip address out of the dhcp range. So a static ip address can be 192.168.1.101 (as first 100 are for dhcp).
    13. Now on the router look for Port-Forwarding or Virtual Servers etc...
    14. You will be able to see a list of text boxes for ip and port.
    15. Now specify ip address of the static ip address computer and any port number like 8080. Make the private port or the internal port as the port number of your application. Application name can be anything. Type can be UDP or Choose Both, use TCP only if your are connected with a LAN cable.
    16. Here is an example...
    If we are using a webserver on our computer which runs on port 8080, we use it by typing..
    http://localhost:8080
    If someone on the same router whats to use our webserver they can type in:
    http://<ip-address>:8080 which can be http://192.168.1.5:8080
    Here as you can see, the ip address is dynamic, so change it to 101 from 5. When you choose static, the OS will ask you to specify the ip address, then just specify the ip as 101.
    Now you can access the web server by using the ip:
    http://192.168.1.101:8080
    But this can be done only by the people connected to the same router. Now we need to make it accessible by anyone in the world. So we need to make people access your computer which is behind the router.
    So first we need to make people access the router. But since the router's public IP is dynamic. We need something to keep track of the ever changing ip address of the router. Such kind of service is the dyndns.org
    By specifying the login details and domain from dyndns inside the router, the router uploads the new IP everytime it changes to the dyndns servers. The dyndns keeps track of the ip address.
    lets say our domain is registerd as: project.dyndns.org
    we provide this domain and login details to our router, and the router updates the ip address in case of any changes.
    We will now be able to reach the router by typing:
    http://project.dyndns.org
    we dont have to worry about the ip address any more.
    But still we need to get to the computer to access the web server.
    So we have to link the router to the computer. As we know our computer is at IP 192.168.1.101
    Now we will setup the port forwarding so that any request to a port A on the router will be redirected to a port B of the IP 192.168.1.101, which is the computer itself.
    Here port B is 8080 on the computer with the IP 192.168.1.101
    So we need to link a port say 8090 on the router to the 8080 on the computer.
    So, configure your router for port forwarding so that the 8090 on the router will point to 8080 on 192.168.1.101
    Now, anyone can access the router by typing:
    http://project.dyndns.org
    But to reach the computer we need to type the port as well, so type:
    http://project.dyndns.org:8090
    So any request to 8090 will be redirected to the 8080 on the computer which is handled by the webserver on the computer.
    EDIT:
    Once everything is setup, you can use the domain for SSH and other remote access tools. Just do the port forwarding for the required tools separately.
    Last edited by gopichand (2011-12-05 15:16:23)

  • URGENT PLEASE:How can I run a a class file on the Apache server?

    Hi Guys and Gurus,
    I am seeking some favor all of experienced gurus, i.e.
    How can I run a a class file on the Apache server? Can I run through an Applet?
    How can I set Environment variables in Windows2000 Professional Environment?
    Actually, I want to extract some records from a MySQL Database running on Apache Server. I wrote a program just to select the columns and show them. It is now a Class file, Now how can I run this class file from the Server???
    The code is here
    import java.sql.*;
    public class RecordShow {
    public static void main(String args[]) {
    String url = "jdbc:mysql://localhost/myhost";
    Connection con;
    String query = "select mytable.column," +
    "from mytable " +
    "where mytable.column = 1";
    Statement stmt;
    try {
    Class.forName("com.mysql.jdbc.Driver");
    } catch(java.lang.ClassNotFoundException e) {
    System.err.print("ClassNotFoundException: ");
    System.err.println(e.getMessage());
    try {
    con = DriverManager.getConnection(url,
    "myuser", "mypassword");
    stmt = con.createStatement();
    ResultSet rs = stmt.executeQuery(query);
    ResultSetMetaData rsmd = rs.getMetaData();
    int numberOfColumns = rsmd.getColumnCount();
    int rowCount = 1;
    while (rs.next()) {
    System.out.println("Row " + rowCount + ": ");
    for (int i = 1; i <= numberOfColumns; i++) {
    System.out.print(" Column " + i + ": ");
    System.out.println(rs.getString(i));
    System.out.println("");
    rowCount++;
    stmt.close();
    con.close();
    } catch(SQLException ex) {
    System.err.print("SQLException: ");
    System.err.println(ex.getMessage());
    Please advise... THANKS
    VJ

    Ehm, I wasn't referring to you at all... read up,
    there's a comment by jschell saying that CGI might be
    easier/better for his purposes.
    Yep.
    I know PHP/Perl/whatever might be easier for some
    purposes, but only if you happen to know them and want
    to/are able to use them. Ok. But you aren't the one asking the question are you. And the person who asked the question seems to have absolutely no familiarity with Apache or applets.
    So whatever they do they are going to have to learn a lot.
    And that does indeed suggest that in all likelyhood they have not investigated the alternatives.
    And for the vast majority of internet applications, especially with smaller projects (obvious this person is not working with a large team), using perl, or something besides java, is going to be the best business solution. It is simpler, and more secure (probably due to the fact that it is simpler.)
    Since this is a Java forum, I
    answer under the assumption that people have made a
    choice one way or another to use a Java solution to
    their problem, so I try to solve it in Java first, and
    only when that fails (very seldom) do I turn to other
    solutions.You approach problems by arbritrarily deciding to try to solve it in java first and only if you fail do you then look to other solutions?
    My first step is to try to figure out which of the various avenues is going to cost less. (And a secondary, but non-trivial concern, is then to convince the customer that just because they have heard of a buzz word like 'enterprise bean' that it doesn't mean that is a cost effective solution.) We must come from different worlds.

  • Can not connect to Admin Console FMS 3.5 running separate Apache Server

    Hi All! I have installed the FMS 3.5 Server on a separate IP from our main Apache Server: The server is running Redhat Linux 2.6.18-128.1.10.el5
    FMS 3.5 running on ***.***.**.138 using ports 1935, 8080 (Admin Server using port 1111)
    Apache 2 running on ***.***.**.139 using port 80, 443. (several sites setup on this IP)
    However, when accessing the fms_adminConsole.htm in the root directory of one of the domains on ***.***.**.139, all login attempts fail. I am connecting to localhost and using the assigned user and password set up in fms.ini. Using either IP fails as well. The FMS server is set up to listen to all hosts as no specific IPs were set.
    /var/log/messages show that FMS and the Admin Server are up an running and listening:
    Jul  7 12:15:37 228215-web1 Service[28196]: Server starting...
    Jul  7 12:15:37 228215-web1 Service[28196]: Server started (/opt/adobe/fms/conf/Server.xml).
    Jul  7 12:15:37 228215-web1 Adaptor[28216]: Listener started ( _defaultRoot__edge1 ) : localhost:19350/v4
    Jul  7 12:15:38 228215-web1 Adaptor[28216]: Listener started ( _defaultRoot__edge1 ) : 1935/v4
    Jul  7 12:15:38 228215-web1 Adaptor[28216]: Listener started ( _defaultRoot__edge1 ) : 8080/v4
    Jul  7 12:16:20 228215-web1 Service[28480]: Server starting...
    Jul  7 12:16:20 228215-web1 Adaptor[28480]: Listener started ( FCSAdminIpcProtocol ) : localhost:11110/v4
    Jul  7 12:16:21 228215-web1 Adaptor[28480]: Listener started ( FCSAdminAdaptor ) : 1111/v4
    Jul  7 12:16:22 228215-web1 Service[28480]: Server started (./conf/Server.xml).
    All other settings for FMS are default. This is my first time setting up FMS as a fresh install on a new unknown server and I am at a loss as to what settings to check or which files I may need to modify to get it to connect properly. It is a managed server is hosted by rackspace.com if that makes any difference.
    Sorry if I have not provided enough info... let me know what I missed and I will supply it.

    Sorry for the confusion! *I* am the one really confused. But to answer your question (I hope), the webpage is on the same physical server as the FMS server, but I am using an outside network (I am not on the local server network) to browse the webpages.
    Both IPs fail when trying to reach:
    http://***.***.**.138:1111
    http://***.***.**.139:1111
    Does that mean the ports are blocked? The /var/log/messages shows:
    Jul  7 13:20:37 228215-web1 Service[29862]: Server starting...
    Jul  7 13:20:37 228215-web1 Service[29862]: Server started (/opt/adobe/fms/conf/Server.xml).
    Jul  7 13:20:37 228215-web1 Adaptor[29882]: Listener started ( _defaultRoot__edge1 ) : localhost:19350/v4
    Jul  7 13:20:38 228215-web1 Adaptor[29882]: Listener started ( _defaultRoot__edge1 ) : 1935/v4
    Jul  7 13:20:38 228215-web1 Adaptor[29882]: Listener started ( _defaultRoot__edge1 ) : 8080/v4
    Jul  7 13:20:51 228215-web1 Service[30144]: Server starting...
    Jul  7 13:20:51 228215-web1 Adaptor[30144]: Listener started ( FCSAdminIpcProtocol ) : localhost:11110/v4
    Jul  7 13:20:52 228215-web1 Adaptor[30144]: Listener started ( FCSAdminAdaptor ) : 1111/v4
    Jul  7 13:20:53 228215-web1 Service[30144]: Server started (./conf/Server.xml).

  • How do you Configure Coldfusion MX7 Developer Version Step by Step to an Apache Server?

    Please provide exact steps as to how to Configure Coldfusion
    MX7 Developer Version Step by Step to an Apache Server Step by
    Step. I would be using the latest Apache Server download, which
    would be: apache_2.2.4-win32-x86-no_ssl.msi Please provide this
    answer ASAP.... Please also provide info on what folders to point
    the system to when configuring; in the version I provided it is
    rather hard to figure out what folders to use. Right now the way I
    did it does not work and I cannot see the administration page when
    the Apache Server is Running. Should the Apache Server be Running
    while installing? Also I noticed after the first install of Cold
    Fusion there is another step for full configuration where you have
    to go to the local host page for further configuration. What do you
    have to do there? I couldn't even get to that page because I
    couldn't access the admin page after I did the installation. Any
    help would be very welcome. Thanks in advance.

    This looks promising:
    http://www.sitepoint.com/article/install-coldfusion-mx-windows
    Ken Ford
    Adobe Community Expert
    Fordwebs, LLC
    http://www.fordwebs.com
    "spinaweb" <[email protected]> wrote in
    message
    news:eorrk3$m1g$[email protected]..
    > Please provide exact steps as to how to Configure
    Coldfusion MX7 Developer
    > Version Step by Step to an Apache Server Step by Step. I
    would be using
    > the
    > latest Apache Server download, which would be:
    > apache_2.2.4-win32-x86-no_ssl.msi Please provide this
    answer ASAP....
    > Please
    > also provide info on what folders to point the system to
    when configuring;
    > in
    > the version I provided it is rather hard to figure out
    what folders to
    > use.
    > Right now the way I did it does not work and I cannot
    see the
    > administration
    > page when the Apache Server is Running. Should the
    Apache Server be
    > Running
    > while installing? Also I noticed after the first install
    of Cold Fusion
    > there
    > is another step for full configuration where you have to
    go to the local
    > host
    > page for further configuration. What do you have to do
    there? I couldn't
    > even
    > get to that page because I couldn't access the admin
    page after I did the
    > installation. Any help would be very welcome. Thanks in
    advance.
    >
    >

  • Apache Server Sizing and Web Dispatcher filtering

    Hi,
    We are planning to expose our intranet portal for internet user. An internet user would access it via browser (https) -> Apache - reverse proxy (outer DMZ) -> Web Dispatcher - Load Balancing (Inner DMZ) -> Portal.
    We are looking for end-to-end SSL implementation.
    My questions:
    1] Do we need to have load balancing at apache server for performing reverse proxy? If yes, how it would be achieved?
    2] What is the hardware sizing required for Apache server on Linux box?
    3] Does the portal performance is affected by end-to-end SSL implementation?
    4] In load balancing using Web Dispatcher, can we forward particular request to a specific application server? Like, filter out the internet requests or forward BI related requests to a specific application server node.
    Regards,
    Sham

    Hi,
    1) Depends on your requirement. When you have 1 Apache RP and 1 SAP Web Dispatcher, you won't need load balancing of at the Apache.
    2) Depends on the number of concurrent requests you are expecting. More information on that can be found at apache.org
    3) Portal performance gets affected when using SSL and the portal is responsible for the SSL (there are product out there that do the SSL handling). How much the SSL will affect your portal depends on the number of users. But generally the impact of SSL isn't really high with recent hardware, the portal will be more occupied with the number of users, navigation, etc than with SSL
    4) You can use logon groups to assign a specific user (group) to a dedicated server
    br,
    Tobias

  • Accessing many databases with HTML DB from a single Apache Server

    Hello;
    I am planning the install of 10g and HTML DB on a HPUX server with many databases running out of many Oracle Homes 9.2.0, 9.0.1 and 8.1.7. I will be upgrading a number of the existing databases to 10g and want to access them with HTML DB.
    My question is how can I install HTML DB on many databases and use a single Apache Server to access them?

    Where would I find the DADs? a default installation of htmldb puts the modplsql DAD, "pls/htmldb", in a marvel.conf file located in $OHS_HOME/Apache/modplsql/conf/marvel.conf
    What would the URLs look like? not sure what you're asking. if you're asking about how the change in DAD's would affect the URLs you're calling, though, you should consider looking over the OHS (oracle http server) doc some more before making these types of customizations.
    And how would I install the HTML DB in the different databases?
    Would I use the installer or scripts?the only supported way to install htmldb is via the 10g Companion CD. just use that installer to point to your different db's.
    regards,
    raj

  • Getting Error 2140 while starting Oracle Apache Server in 11.5.6 Apps

    We are on Oracle Apps R11.5.6 on Win NT 4.0.
    When I tried to stop and start the Oracle Apache Server service, the service stopped normally but did not start at all. The error is as given below:
    When I try to start Apache Server through the services, I get the following error:
    "Could not start the OracleApacheServerTEST service on \\son1052.
    Error 2140: An internal Windows NT error occured."
    When I try to start Apache Server through the command prompt, I get the error:
    The OracleApacheServerTEST service is starting.
    The OracleApacheServerTEST service could not be started.
    The service did not report an error.
    More help is available by typing NET HELPMSG 3534.
    D:\oracle\testcomn\admin\scripts>goto end
    D:\oracle\testcomn\admin\scripts>echo "adapcctl.cmd exiting with status 2"
    "adapcctl.cmd exiting with status 2"
    D:\oracle\testcomn\admin\scripts>net helpmsg 3534
    The service did not report an error.
    EXPLANATION
    The service did not report an error.
    ACTION
    Try the task later. If the problem persists, contact your network administrator.
    What might be the problem?
    Any help would be greatly appreciated.
    Thanks in Advance.
    Praveen
    [email protected]

    Login from svrmgrl and shutdown the db and then restart the db now start the service and it must start. This problem comes when you restart the server. I hope this will solve your problem.
    [email protected]

  • Unable to start Apache server

    Hai,
    I am using WindowsNT. When i tried to create an item of image type Dr.Watson error appeared showing that an error has appeared on the Apache server. After that i couldn't start the server. When i tried to start the server on the command line it said some files are missing which are mention in the htpd.conf file. The irony is those files are present in the system. I don't know wether it could be because of PATH settings. I haven't altered the default path settings which included the directory for Apache server.
    regards,
    Mathan

    A handy (and free) tool for checking out these kinds of errors is filemon, available at www.sysinternals.com

  • Apache Server starting up problem !

    Hi,
    I am getting problem in starting up the server. Right now I am using the Apache - tomcat server. I have started the Apache server and restarted the tomcat server by using restart_apache.bat .The server is starting fine.
    Somehow i couldn't able to open the http://localhost:8080/ on the browser. I have read the forum answers , but it couldn't help me.
    I appreciate if anyone help me out.
    - balaji

    Did you check the port number? It may not be 8080.
    What error r u geting?

  • Error_log in apache server keep on growing

    I found the error_log in apache server keep on growing in every second! Anyone can tell me why it's growing like this?
    I have Oracle 9i Database on Windows XP Professional on Core 2 Duo/ 2 GB RAM machine.
    I have a peculiar problem. The error_log file in C:\oracle\Apache\Apache\logs\error_log keeps increasing in size rapidly, until my whole hard disc of 250 GB gets used up. The first time I had this problem, I thought it was some virus, then I traced it to this file.
    I tried deleted this file, but again its cones & stars growing until I STOP HTTP server.
    I also tried to make error_log file 'READ ONLY' but issue is not resolved.
    Can anyone tell me what the cause and solution of this problem is.
    Help appreciated!

    Please See below:
    [Sun Jul 18 15:07:03 2010] [notice] FastCGI: process manager initialized
    [Sun Jul 18 15:07:03 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" started (pid 2720)
    [Sun Jul 18 15:07:04 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" (pid 2720) terminated with exit with status '3504464'
    [Sun Jul 18 15:07:08 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" restarted (pid 2792)
    [Sun Jul 18 15:07:08 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" (pid 2792) terminated with exit with status '3504464'
    [Sun Jul 18 15:07:13 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" restarted (pid 3336)
    [Sun Jul 18 15:07:13 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" (pid 3336) terminated with exit with status '3504464'
    [Sun Jul 18 15:07:18 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" restarted (pid 3044)
    [Sun Jul 18 15:07:18 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" (pid 3044) terminated with exit with status '3504464'
    [Sun Jul 18 15:07:23 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" restarted (pid 3124)
    [Sun Jul 18 15:07:24 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" (pid 3124) terminated with exit with status '3504464'
    [Sun Jul 18 15:07:28 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" restarted (pid 628)
    [Sun Jul 18 15:07:28 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" (pid 628) terminated with exit with status '3504464'
    [Sun Jul 18 15:07:33 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" restarted (pid 3168)
    [Sun Jul 18 15:07:33 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" (pid 3168) terminated with exit with status '3504464'
    [Sun Jul 18 15:07:38 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" restarted (pid 2320)
    [Sun Jul 18 15:07:38 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" (pid 2320) terminated with exit with status '3504464'
    [Sun Jul 18 15:07:43 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" restarted (pid 2108)
    [Sun Jul 18 15:07:43 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" (pid 2108) terminated with exit with status '3504464'
    [Sun Jul 18 15:07:48 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" restarted (pid 488)
    [Sun Jul 18 15:07:48 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" (pid 488) terminated with exit with status '3504464'
    [Sun Jul 18 15:07:53 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" restarted (pid 524)
    [Sun Jul 18 15:07:53 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" (pid 524) terminated with exit with status '3504464'
    [Sun Jul 18 15:07:58 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" restarted (pid 560)
    [Sun Jul 18 15:07:58 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" can't be restarted:exceeded max restarts
    [Sun Jul 18 15:07:58 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" can't be restarted:exceeded max restarts
    [Sun Jul 18 15:07:58 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" can't be restarted:exceeded max restarts
    [Sun Jul 18 15:07:58 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" can't be restarted:exceeded max restarts
    [Sun Jul 18 15:07:58 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" can't be restarted:exceeded max restarts
    [Sun Jul 18 15:07:58 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" can't be restarted:exceeded max restarts
    [Sun Jul 18 15:07:58 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" can't be restarted:exceeded max restarts
    [Sun Jul 18 15:07:58 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" can't be restarted:exceeded max restarts
    [Sun Jul 18 15:07:58 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" can't be restarted:exceeded max restarts
    [Sun Jul 18 15:07:58 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" can't be restarted:exceeded max restarts
    [Sun Jul 18 15:07:58 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" can't be restarted:exceeded max restarts
    [Sun Jul 18 15:07:58 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" can't be restarted:exceeded max restarts
    [Sun Jul 18 15:07:58 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" can't be restarted:exceeded max restarts
    and so on........

  • Forms 6i and Apache server

    HI all,
    I have an assignment to replicate production installation to another environment on another server. Currently what is installed on those servers is:
    - Main server (production): Windows server 2000 SP4, Forms 6i service, Reports 6i service , iSuites HTTP listener. In some documents I found that 9i Rel1 Applications Server was actually installed creating Forms60service, Reports60service and HTTP listener. Unfortunately, I don't have access to 9i Rel1 disks (only 9i Rel2 and Forms6i Rel2) and since it is desupported, I can't download them online.
    - Other server: Windows Server 2003 ( with installed Forms 10g and services disabled).
    What I did was install Forms6i server and Apache web server. Apache server works, and I made aliases so it can access files on the server. Aliases were taken from documentation of production installation. However, I don't know how to make Apache listen for forms server requests. I assume in 9i it is handled automatically, like in 10g?
    Questions:
    -Does 9i Rel1 create those services? I'm new to 9i and 6i AS, and don't have disks to test it. Is there a way to download 9i Rel1?
    -How can Apache be configured to handle requests to Forms server? Its now listening on port 81, and when called gives a blank page. JInitiator isn't started.
    Any help would be greatly appreciated.

    If you are using a standalone Apache install and not the one included with iAS 1.0.2, you must run the Forms Server. If you are using the iAS installation, you can use either the Forms Server or the Forms Servlet. The Forms Servlet takes advantage of JServ, which allows requests from Forms to route on the same port by which the HTTP listener is using. On the other hand, if you don't use the Servlet and instead use the Forms Server, requests from the client are routed from the client directly to the Forms Server on a different port. In this case the HTTP Server is only used for the initial request which then pass future requests to the server. The down side to this is that you must run 2 servers and have 2 available ports - one for the http listener and one for Forms. This is why using the Servlet is preferred.
    I believe you must be using Forms 6i Release 2 (6.0.8.11) plus patch 10 or 11 or newer in order to successfully deploy using Servlet. This translates into being iAS 1.0.2.2.2 if I recall correctly.
    Here are some doc references which may be of help:
    http://www.oracle.com/technetwork/developer-tools/forms/documentation/techlisting-084882.html
    http://www.oracle.com/technetwork/documentation/6i-forms-084462.html
    http://www.oracle.com/technetwork/documentation/forms-094534.html
    http://www.oracle.com/technetwork/documentation/dev-arch-093406.html

Maybe you are looking for