In summary for two different periods - 1 query?

Hello

To find budgetary changes to a project within a range of periods, I select the type of Budget records, get the settings "until the" and calculate the difference between the project_to_date_dr - project_to_date_cr of the tip and the FromDate. (I use the gl_balances twice in the query under two pseudonyms).

Do this in a query and the data that I checked are correct.

When I want to do the same for the load, it becomes problematic. My understanding is that in the calculation of the load, I need to know the difference between the SUM of the project_to_date_dr and the SUM... cr of dates. What happens is, since there are two rows in the example, I test, I don't get the charge but double the load.

The (shortened) query:
Select (sum (nvl(glb_ToDate.project_to_date_dr,0))-
Sum (NVL(glb_ToDate.project_to_date_cr,0))
) -
(sum (nvl(glb_FromDate.project_to_date_dr,0))-
Sum (NVL(glb_FromDate.project_to_date_cr,0))
) CCID_Encumbrance

of gl.gl_balances glb_ToDate,.
GL.gl_balances glb_FromDate
where
glb_FromDate.Code_Combination_Id = glb_ToDate.Code_Combination_Id and

glb_ToDate.set_of_books_id = 1 and
glb_ToDate.currency_code = "USD" and
glb_ToDate.actual_flag = 'E' and

glb_FromDate.set_of_books_id = 1 and
glb_FromDate.currency_code = "USD" and
glb_FromDate.actual_flag = 'E' and

glb_ToDate.Period_Name = ' 03-2010 "and
glb_FromDate.Period_Name = ' 01-2010"and

glb_FromDate.Code_Combination_Id = 442719

Glb_FromDate.Code_Combination_Id group,
glb_ToDate.Code_Combination_Id

The result of the load is 199,68.

If I remove the "sum" and "group by", I get four rows - two with an amount of 0 and two with a $ 99.84.

I have to build two separate queries/sub-sub-queries and then combine them?

Thank you.
Leah

You must use both hands and combine.

Tags: Database

Similar Questions

  • Two build for two different OS version

    Hello

    I have two different construction for two different OS version of the same application.

    It's a build for v5.0 and one for version 6.0.

    So how can I download this two builds on appworld

    can I download two builds?

    How appworld process works for different os?

    -David

    When you set your release simply add two bundles, for example MyApp50 and MyApp60. Download the file of cod for OS5.0 and speify minimum supported OS version 5.0. After that, download the 6.0 bundle and specify minimum supported OS version 6.0. And select all of the possible devices for two cod.

    App World will do the rest is the latest version that is possible for a given user, so users with 6.0 and above will receive 6.0 cod, while users with OS5.0 will receive the 5.0 file cod.

  • possible to have 2 different application fields for two different clips at the same time

    Hello

    possible to have 2 different application fields for two different clips at the same time for the classification match in terms of the scope, only not to the eye?

    Not that I know of.  And Yes, it would be very useful. As would the ability to go back 2 in reading monitor and a button "game clip under the read head 1. Sigh.

    Neil

  • view the code for two different pages at a time

    HI - in other editors I've used I've always been able to implement the code for two different pages so that I can watch side by side to compare. I can't find a way to do this in Dreamweaver. Anyone know if this is possible?
    Thank you

    Found. Always after asking for help! This is the "cascade" in the Windows menu.
    Thanks anyway!

  • Site2site two vpn "Server" for two different ISPS

    Hello. I have two lines of two different ISPS. Both are 4 / 4 Mbit/s leased lines. I want to create a vpn site-to site with a few points of end for each of them. I have ASA 5540 firewall as a VPN endpoint on my network. My question is. I have two different VPN? Can I create two outside interfaces and use each one for each ISP one here to create my VPN? I first thought of contexts, but I abandoned em as soon as I saw that there's no VPN with contexts.

    Thanks in advance.

    Simple topology is

    VPN - RTR - ASAOut1 VPN1ISP

    -ASAOut2 VPN2ISP

    Hello

    I understand that you need create a tunnel between ASA 1 and 2 of the ASA with an ISP and the other tunnel on ASA 2 other ASA 2 ISPS.

    It is possible as long as you take care of the delivery. For the remote access clients it will end interface ehich has the default gateway.

  • SIDS even be identified for two different VMs

    were presented in a new and interesting dilemma.   Our Active Directory Administrator has discovered two different machines virtual (VM different names) which seem to show that they have the same identical SID.    The two virtual machines created from the same template.   How is that possible?

    However, when you deploy virtual machines from the model, we have chosen "no customization.   So, maybe it's the source of the problem.  I guess we should be "Customizing" then?

    Yes, if you choose "no customization" it will be just like deploying a clone, then it would be something that you would see the SIDS the same for the two virtual machines.  «If you have you not the Customization Wizard, you could just sysprep your model, then deploy with no "personalization".»

  • One login for two different sites of the BC

    I have a client who has created two different sites of BC due to the product of the limit of two Types of pricing. Site 1 has the retail and dealer price and location 2 is distributor and master distributor prices.

    Site 1 is the main and has documents in a neighborhood secure requiring access to all levels of the four user, my client would like to allow customers to have a single login for both sites for users of site 2 can access documents in a space secured on site 1 without having to maintain two connections.

    Anyone know if it's feasible say with a biscuit or a special script?

    Thank you

    Barry

    Barry H, you must set up a system which hangs in the API of so, but that is at the heart of CRM and interacts with both sites.

  • Sampling frequency for two different routes for acquisition of data USB-6009

    Hello

    I use a box USB-6009 and incorporating the "daq assistant" to change the sampling frequency.  I'm trying to find a way to set the sampling frequency to two unique values for the two separate channels.  I tried implementing two assistants daq and different for each channel sampling frequency setting, although it does not work.  Is it possible to set the sampling frequency for all channels, and then reduce the rate for another channel - or an alternative?  I would be recognizing any input on this matter, thank you!

    -Anthony

    All tasks on a DAQ card using the sample clock should use the same clock.  Therefore, you cannot have two tasks on the same sample of DAQ card at different rates.

    Alternatives would be:

    1. to combine all channels in a single task and to accept additional data

    2 get an additional DAQ card to use at the same time

  • How to make the Apache configuration for two different areas

    Hello

    I was trying just a few clustering on weblogic workshop. I was facing a problem... Here's the scenario:

    I have two clusters:

    CLUSTER1: 3 managed servers (server1, server2, serveur3)
    Cluster2: 2managed servers (server4, Server5)

    I have two examples of applications I have made on these two clusters i.e on cluster1 app1 and app2 on cluster2.

    These two applications are deployed all as I am able to open these browser applications by calling the individual run as server port: http://localhost:7003 / app1.

    Now, I have installed an apache server on my laptop and configured the http.conf file.


    Question: I am not able to call the application of apache. If there is only a single cluster then it works very well and for an application two that a single cluster (application) only works too which port is set in the last.

    Here are the contents of 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.2 > for more information.
    # See especially
    # < URL: http://httpd.apache.org/docs/2.2/mod/directives.html >
    # for an analysis of each configuration directive.
    #
    # Do NOT simply read the instructions here without understanding
    # what they do. They are there only as advice or reminders. If you do not know
    # consult the online documentation. You have been warned.
    #
    # Configuration and logfile names: If the file names that you specify for a lot
    number of files in server control begin by "/" (or "drive: / 'for Win32 '), the
    # server uses this explicit path. If the file names do not start
    # with "/", the value of ServerRoot directive is preceded by - so "logs/foo.log.
    # with ServerRoot set to "C:/Program Files/Apache Software Foundation/Apache2. 2' will be interpreted by the
    # Server as "C:/Program Files/Apache Software Foundation/Apache2.2/logs/foo.log".
    #
    # NOTE: Where file names are specified, you must use forward slashes
    # instead of backslashes (e.g. "c:/apache" instead of "c:\apache").
    # If a drive letter is omitted, the drive on which httpd.exe is located
    # will be used by default. It is recommended that you always provide
    # an explicit drive letter in absolute paths to avoid confusion.

    #
    # ServerRoot: The top of the directory under which the server tree
    # configuration, error and the log files are kept.
    #
    # Do not add a bar slash at the end of the directory path. If you point
    # ServerRoot to non-local disk, remember to point the LockFile directive
    # to a local disk. If you want to share the same multiple ServerRoot
    demons of # httpd, you will need to change at least the LockFile and PidFile.
    #
    ServerRoot "C:/Program Files/Apache Software Foundation/Apache2. 2. "

    #
    # Listen: Allows you to bind Apache to specific IP addresses and/or
    ports #, instead of the default value. See also the < VirtualHost >
    directive #.
    #
    # Change this to listen on specific IP addresses below for
    # prevent Apache glomming on all related IP addresses.
    #
    #Listen 12.34.56.78:80
    Listen 80

    #
    # Dynamic Shared Object (DSO) Support
    #
    # To be able to use the features of a module that was built as a DSO you
    # duty place corresponding 'LoadModule' lines at this location until the
    # the directives that it contained are actually available before their use.
    # Modules statically compiled (those listed by "httpd-l") is not necessary
    # to be responsible here.
    #
    # Example:
    # LoadModule foo_module modules/mod_foo.so
    #
    LoadModule modules/mod_actions.so actions_module
    LoadModule alias_module modules/mod_alias.so
    LoadModule modules/mod_asis.so asis_module
    LoadModule auth_basic_module modules/mod_auth_basic.so
    #LoadModule auth_digest_module modules/mod_auth_digest.so
    #LoadModule authn_alias_module modules/mod_authn_alias.so
    #LoadModule authn_anon_module modules/mod_authn_anon.so
    #LoadModule authn_dbd_module modules/mod_authn_dbd.so
    #LoadModule authn_dbm_module modules/mod_authn_dbm.so
    LoadModule modules/mod_authn_default.so authn_default_module
    LoadModule authn_file_module modules/mod_authn_file.so
    #LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
    #LoadModule authz_dbm_module modules/mod_authz_dbm.so
    LoadModule modules/mod_authz_default.so authz_default_module
    LoadModule modules/mod_authz_groupfile.so authz_groupfile_module
    LoadModule modules/mod_authz_host.so authz_host_module
    #LoadModule authz_owner_module modules/mod_authz_owner.so
    LoadModule modules/mod_authz_user.so authz_user_module
    LoadModule autoindex_module modules/mod_autoindex.so
    #LoadModule cache_module modules/mod_cache.so
    #LoadModule cern_meta_module modules/mod_cern_meta.so
    LoadModule modules/mod_cgi.so cgi_module
    #LoadModule charset_lite_module modules/mod_charset_lite.so
    #LoadModule dav_module modules/mod_dav.so
    #LoadModule dav_fs_module modules/mod_dav_fs.so
    #LoadModule dav_lock_module modules/mod_dav_lock.so
    #LoadModule dbd_module modules/mod_dbd.so
    Modules/mod_deflate.so deflate_module #LoadModule
    LoadModule modules/mod_dir.so dir_module
    #LoadModule disk_cache_module modules/mod_disk_cache.so
    #LoadModule dumpio_module modules/mod_dumpio.so
    LoadModule env_module modules/mod_env.so
    #LoadModule modules/mod_expires.so expires_module
    #LoadModule ext_filter_module modules/mod_ext_filter.so
    #LoadModule file_cache_module modules/mod_file_cache.so
    #LoadModule filter_module modules/mod_filter.so
    #LoadModule modules/mod_headers.so headers_module
    #LoadModule ident_module modules/mod_ident.so
    #LoadModule imagemap_module modules/mod_imagemap.so
    LoadModule modules/mod_include.so include_module
    #LoadModule info_module modules/mod_info.so
    LoadModule modules/mod_isapi.so isapi_module
    #LoadModule ldap_module modules/mod_ldap.so
    #LoadModule logio_module modules/mod_logio.so
    LoadModule log_config_module modules/mod_log_config.so
    #LoadModule log_forensic_module modules/mod_log_forensic.so
    #LoadModule mem_cache_module modules/mod_mem_cache.so
    LoadModule mime_module modules/mod_mime.so
    #LoadModule mime_magic_module modules/mod_mime_magic.so
    LoadModule negotiation_module modules/mod_negotiation.so
    #LoadModule modules/mod_proxy.so proxy_module
    #LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
    Proxy_balancer_module modules/mod_proxy_balancer.so #LoadModule
    Modules/mod_proxy_connect.so proxy_connect_module #LoadModule
    Proxy_ftp_module modules/mod_proxy_ftp.so #LoadModule
    Modules/mod_proxy_http.so proxy_http_module #LoadModule
    #LoadModule proxy_scgi_module modules/mod_proxy_scgi.so
    #LoadModule reqtimeout_module modules/mod_reqtimeout.so
    #LoadModule rewrite_module modules/mod_rewrite.so
    LoadModule setenvif_module modules/mod_setenvif.so
    Modules/mod_speling.so speling_module #LoadModule
    Modules/mod_ssl.so ssl_module #LoadModule
    #LoadModule modules/mod_status.so status_module
    #LoadModule substitute_module modules/mod_substitute.so
    #LoadModule unique_id_module modules/mod_unique_id.so
    #LoadModule userdir_module modules/mod_userdir.so
    #LoadModule usertrack_module modules/mod_usertrack.so
    #LoadModule version_module modules/mod_version.so
    #LoadModule vhost_alias_module modules/mod_vhost_alias.so
    LoadModule modules/mod_wl.so weblogic_module



    * < IfModule mod_weblogic.c > *.
    WebLogicCluster 127.0.0.1:7005, 127.0.0.1:7007, 127.0.0.1:7003, 127.0.0.1:7103, 127.0.0.1:7104
    MatchExpression /app1
    * < / IfModule > *.
    * < location /weblogic > *.
    SetHandler weblogic-Manager
    WebLogicCluster 127.0.0.1:7003, 127.0.0.1:7005, 127.0.0.1:7007, 127.0.0.1:7103, 127.0.0.1:7104
    DebugConfigInfo WE
    PathTrim /weblogic
    * < / location >. *

    * < IfModule mod_weblogic.c > *.
    WebLogicCluster 127.0.0.1:7003, 127.0.0.1:7005, 127.0.0.1:7007
    MatchExpression /app2
    * < / IfModule > *.
    * < location /weblogic > *.
    SetHandler weblogic-Manager
    WebLogicCluster 127.0.0.1:7003, 127.0.0.1:7005, 127.0.0.1:7007
    DebugConfigInfo WE
    PathTrim /weblogic
    * < / location >. *


    < IfModule! mpm_netware_module >
    < IfModule! mpm_winnt_module >
    #
    # If you want httpd to run as a different user or group, you must run
    # httpd as root initially and it will pass.
    #
    # Group / user: the name (or #number) of the user/group to run httpd as.
    # It is generally advisable to create a dedicated and aggregatable for user
    # httpd, as with most system services are running.
    #
    Demon of the user
    Daemon group

    < / IfModule >
    < / IfModule >

    Server configuration # 'hand '.
    #
    # The directives in this section implement the values used by the 'hand '.
    # Server, which meets all demands that are not managed by a
    definition of # < VirtualHost >. These values also provide defaults for
    # all < VirtualHost > containers you can set later in the file.
    #
    # All these directives may appear inside containers < VirtualHost >,.
    # in which case the value default parameters will be substituted for the
    virtual host of # being defined.
    #

    #
    # ServerAdmin: Your address, where problems with the server should be
    # e-mail. This address appears on some generated by the page server, such
    # as error documents. for example [email protected]
    #
    ServerAdmin < adminurl >
    #
    # ServerName gives the name and the port used by the server to identify itself.
    # This can often be determined automatically, but we recommend that you specify
    # explicitly to avoid problems during startup.
    #
    # If your host doesn't have a registered DNS name, enter its IP address here.
    #
    #ServerName < servername >
    # DocumentRoot: The directory you are going to use your
    documents #. By default, all requests are taken from this directory, but
    aliases and symlinks # can be used to point to other locations.
    #
    DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs".

    #
    # Each directory that Apache has access can be configured in respect
    # to which services and features are allowed and/or disabled in this
    # Directory (and its subdirectories).
    #
    # Everything first, we configure the 'default' to be a very restrictive of game
    features #.
    #
    < directory / >
    Options FollowSymLinks
    AllowOverride None
    Order deny, allow
    Refuse to all the
    < / Book >

    #
    # Note that, from this point forward you must precisely enable
    features special # to be enabled - so if something doesn't work not as
    # you might expect, make sure that you have specifically enabled it
    # below.
    #

    #
    # This should be replaced by what you set DocumentRoot.
    #
    < directory "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs" >
    #
    # 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 -'all Options '.
    # is not give it to you.
    #
    # The Options directive is complex and important. Please see
    # http://httpd.apache.org/docs/2.2/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 key words:
    # Options FileInfo AuthConfig Limit
    #
    AllowOverride None

    #
    # Controls who can get stuff from this server.
    #
    Order allow, deny
    Allow all the

    < / Book >

    #
    # DirectoryIndex: sets the file Apache will serve if a directory
    # is requested.
    #
    < IfModule dir_module >
    DirectoryIndex index.html
    < / IfModule >

    #
    # The following lines prevent the .htaccess and .htpasswd files to be
    # seen by customers of the Web.
    #
    < FilesMatch "^ \.ht" > "".
    Order allow, deny
    Refuse to all the
    Meet all
    < / FilesMatch >

    #
    # ErrorLog: The location of the error log file.
    # If you do not specify an ErrorLog directive in a < VirtualHost >
    # container, error messages related to this virtual host will be
    # logged here. If you do define a for a < VirtualHost > error log
    container of #, that host errors will be logged there and not here.
    #
    ErrorLog logs / 'error.log '.

    #
    # LogLevel: Control the number of messages in the error_log.
    # Possible values include: debug, info, notice, warn, error, crit,.
    # emerg, alert.
    #
    LogLevel warn

    < IfModule log_config_module >
    #
    # The following directives define some nicknames format for use with
    # a directive CustomLog (see below).
    #
    "LogFormat '%%u %t \"%r\ hour' % > s \"%{Referer}i\ %b" \"%{User-Agent}i\" "handset"
    "LogFormat '%%u %t \"%r\ hour' % > s %b "commune

    < IfModule logio_module >
    # You must enable mod_logio.c use %I and frequency
    "" LogFormat '%%u %t \"%r\ hour' % > s %b \"%{Referer}i\ "\"%{User-Agent}i\ "%I %o "combinedio
    < / IfModule >

    #
    # The location and format of the access (Common Log Format) log file.
    # If you do not have any logfiles access set in a < VirtualHost >
    container of #, they will be saved here. On the other hand, if you the do
    # define per - < VirtualHost > access logfiles, transactions will be
    # logged there and not in this file.
    #
    Common CustomLog "logs/access.log.

    #
    # If you prefer a log file of access, agent, and referer information
    # (Combined logfile format) you can use the following directive.
    #
    #CustomLog "logs/access.log' combined
    < / IfModule >

    < IfModule alias_module >
    #
    # Redirect: Allows to tell clients the documents used for
    # exist in your server's namespace, but no more. The customer
    # make a new request for the document at its new location.
    # Example:
    # Redirect permanent/foo http:// < url >/bar

    #
    # Alias: Maps web paths into paths of file system and is used to
    # access content that don't live under the DocumentRoot directive.
    # Example:
    # Alias /webpath/full/filesystem/path
    #
    # If you include a trailing / on /webpath, then the server will be
    # require that he be present in the URL. It is also likely that
    # duty provide a < Directory > section to allow access to
    # the path to the file system.

    #
    # ScriptAlias: This controls which directories contain server scripts.
    # ScriptAliases are essentially the same as assumed names, except that
    # documents in the target directory are treated as applications and
    # executed by the server on demand, rather than as documents sent to the
    client of #. The same regulation on flight "/" applies to the ScriptAlias
    # as for the Alias directives.
    #
    ScriptAlias/cgi-bin / "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/".

    < / IfModule >

    < IfModule cgid_module >
    #
    # ScriptSock: On threaded servers, refers to the access path to the UNIX
    decision # used to communicate with the CGI mod_cgid daemon.
    #
    Newspapers/cgisock #Scriptsock
    < / IfModule >

    #
    # "C:/Program Files / Apache Software Foundation/Apache2.2/cgi-bin" should be replaced by everything that your ScriptAlias
    # CGI directory exists, if you have set up.
    #
    < directory "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" >
    AllowOverride None
    None of the options
    Order allow, deny
    Allow all the
    < / Book >

    #
    # DefaultType: Server default MIME type used for a document
    # If it cannot establish also as file name extensions.
    # If your server contains mainly text or HTML documents, it is "text/plain".
    # a good value. If your content is binary, such as applications
    # or images, you can use "application/octet-stream" instead of
    # Keep browsers try to view binary files, as if they were
    # text.
    #
    DefaultType text/plain

    < IfModule mime_module >
    #
    # TypesConfig points to the file containing the list of mappings from
    # MIME file extension - type.
    #
    TypesConfig conf/mime.types

    #
    # AddType allows you to add or replace the MIME configuration
    # the 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
    # should probably define these extensions to indicate media types:
    #
    AddType application/x-compress. Z
    AddType application/x-gzip .gz .tgz

    #
    # AddHandler allows you to map certain "manipulators": file extensions
    # No actions associated with the file type. It can be either integrated into the server
    # or added to the directive of the Action (see below)
    #
    # To use CGI outside of ScriptAlias directories scripts:
    # (You will also need to add "ExecCGI" to the "Options" directive.)
    #
    #AddHandler cgi-script .cgi

    # For maps of type (negotiated resources):
    #AddHandler type-plan of the var

    #
    # Filters allow you to process content before sending it to the client.
    #
    # To parse .shtml for server-side includes (SSI) files:
    # (You will also need to add "Includes" the "Options" directive.)
    #
    #AddType text/html .shtml
    #AddOutputFilter INCLUDES .shtml
    < / IfModule >

    #
    # The mod_mime_magic module allows the server to use various boards of the
    content of the file itself to determine its type. The MIMEMagicFile
    # directive tells the module where the definitions of suspicion.
    #
    #MIMEMagicFile conf/magic

    #
    # Customizable error responses come in three flavors:
    ((# 1) text 2) local redirects 3) external redirects
    #
    # Examples:
    #Error Document 500 "The server made a boo boo".
    #Error Document 404 Missing.html
    #Error Document 404 "/cgi-bin/missing_handler.pl"
    #Error Document 402 subscription_info.html < url >
    #

    #
    # EnableMMAP and EnableSendfile: on systems that support.
    projection in memory # or the sendfile syscall is used to deliver
    # files. Usually, this improves the performance of the server, but must
    # turn off when mounted network is served
    # file systems or if support for these functions is also
    # broken on your system.
    #
    #EnableMMAP off
    #EnableSendfile off

    # Additional configuration
    #
    # The configuration files in the conf/extra/directory can be
    # included to add additional features or change the default configuration
    # the server, or you can simply copy their content here and change as
    # necessary.

    # Server-pool management (MPM specific)
    #Include conf/extra/httpd-mpm.conf

    # Multilingual error messages
    #Include conf/extra/httpd-multilang-errordoc.conf

    # Entries to the fancy directory
    #Include conf/extra/httpd-autoindex.conf

    # Language settings
    #Include conf/extra/httpd-languages.conf

    # User directories
    #Include conf/extra/httpd-userdir.conf

    # Info in real time on the applications and configuration
    #Include conf/extra/httpd-info.conf

    # Virtual hosts
    #Include conf/extra/httpd-vhosts.conf

    # Local access to the manual for the Apache HTTP Server
    #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

    # Secure connections (SSL/TLS)
    #Include conf/extra/httpd-ssl.conf
    #
    # Note: The following text should be present to support
    # start without SSL on platforms without equivalent/dev/random
    but # a statically compiled in mod_ssl.
    #
    < IfModule ssl_module >
    SSLRandomSeed startup builtin
    SSLRandomSeed connect builtin
    < / IfModule >

    This is so for the app2 only configuration above, I am able to call and app1 his adage "404 page not found".

    Can soomebody help me cofiguring apache so that I can call the two applications.


    Thank you
    Ankit

    >

    WebLogicCluster 127.0.0.1:7005, 127.0.0.1:7007, 127.0.0.1:7003, 127.0.0.1:7103, 127.0.0.1:7104
    MatchExpression /app1


    SetHandler weblogic-Manager
    WebLogicCluster 127.0.0.1:7003, 127.0.0.1:7005, 127.0.0.1:7007, 127.0.0.1:7103, 127.0.0.1:7104

    DebugConfigInfo WE
    PathTrim /weblogic


    WebLogicCluster 127.0.0.1:7003, 127.0.0.1:7005, 127.0.0.1:7007
    MatchExpression /app2


    SetHandler weblogic-Manager
    WebLogicCluster 127.0.0.1:7003, 127.0.0.1:7005, 127.0.0.1:7007
    DebugConfigInfo WE
    PathTrim /weblogic

    >

    This configuration is a little weird. He has /app1 MatchExpression and MatchExpression /app2 and at the same time two sections . Are you sure you understand what means that the configuration?

    Try something like this...


    SetHandler weblogic-Manager
    WebLogicCluster 127.0.0.1:7003, 127.0.0.1:7005, 127.0.0.1:7007, 127.0.0.1:7103, 127.0.0.1:7104
    DebugConfigInfo WE


    SetHandler weblogic-Manager
    WebLogicCluster 127.0.0.1:7003, 127.0.0.1:7005, 127.0.0.1:7007
    DebugConfigInfo WE

    where /app1 and /app2 are your weblogic applications contexts.

    http://download.Oracle.com/docs/CD/E11035_01/WLS100/plugins/Apache.html
    http://httpd.Apache.org/docs/2.0/mod/core.html#location

  • I have 1 computer and need to install copies separated by a game for two different users

    I need to be able to install two copies separate from Dragon Age: Origins, one for me and one for my girlfriend under our separate user accounts on my computer, how can I do this?

    --------------

  • Passage of a setting for two different queries on a single page

    I followed tutorial ADF - value of the parameter passing between Pages. It works very well, but I tried to add a second query to the page single.jspx , using the same setting and it shows all the data.

    I tried to analyze the queries and the problem is in bind variables. While the first query gets the right value, the second Gets null (see the log below). I also noticed that if I return to the single.jspx page, only the first request is executed.

    < oracle.adf.model > < ViewObjectImpl > < buildQuery > < [3556] SELECT ServiceRequests.ASSIGNED_DATE,.

    ServiceRequests.ASSIGNED_TO,

    ServiceRequests.CREATED_BY,

    ServiceRequests.PROBLEM_DESCRIPTION,

    ServiceRequests.PROD_ID,

    ServiceRequests.REQUEST_DATE,

    ServiceRequests.STATUS,

    ServiceRequests.SVR_ID

    OF SERVICE_REQUESTS ServiceRequests

    WHERE (ServiceRequests.SVR_ID =: p_svr_id) >

    < oracle.adf.model > < ViewObjectImpl > < getPreparedStatement > < ViewObject [3557]: [oracle.srdemo.model.ServiceRequestById_VO] AppModule.ServiceRequestById_VO1 created new QUERY statement >

    < oracle.adf.model > < ViewObjectImpl > < bindParametersForCollection > < [3558] params for ViewObject Bind: [oracle.srdemo.model.ServiceRequestById_VO] AppModule.ServiceRequestById_VO1 >

    < oracle.adf.model > < OracleSQLBuilderImpl > < bindParamValue > < [3559] param 'p_svr_id' liaison: 111>

    < oracle.adf.model > < ViewObjectImpl > < buildQuery > < [3716] select svh_date, service_histories where svr_id =: p_svr_id order of svh_date >

    < oracle.adf.model > < ViewObjectImpl > < getQueryHitCount > < [3717] number of rows estimated for ViewObject: [oracle.srdemo.model.ServiceHistoryByRequestId_VO] AppModule.ServiceHistoryByRequestId_VO1, query statement: >

    < oracle.adf.model > < ViewObjectImpl > < getQueryHitCount > < [3718] ' SELECT count (1) FROM (select svh_date, notes from service_histories where svr_id =: p_svr_id order of svh_date) ">"

    < oracle.adf.model > < ViewObjectImpl > < getQueryHitCount > < [3719] Bind params for ViewObject.getQueryHitCount: ServiceHistoryByRequestId_VO1 >

    < oracle.adf.model > < ViewRowSetImpl > < doSetWhereClauseParam > < [3720] ServiceHistoryByRequestId_VO1 ViewRowSetImpl.doSetWhereClause(-1, p_svr_id, null) >

    < oracle.adf.model > < OracleSQLBuilderImpl > < bindParamValue > < [3721] null of type 12 for connection "p_svr_id" > ""

    I got it.

    I need to add an another ExecuteWithParams of the request on the other in the pageflow.

  • regexp_substr - how to search for two different words and result based on returning a different part of the string

    Hello everyone

    I fight with this regexp_substr and I wonder if there is a way to deal with it. I have two string type in a column with the following structure:

    structure 1 always starts with "app.catalog.school.", as the following three examples

    app.catalog.school.DB.BT

    app.catalog.school.B.FTA

    app.catalog.school.ACA.CD

    structure 2 always begins with "app.catalog.admin.", as the following three examples

    app.catalog.admin.C.ABC

    app.catalog.admin.BT.AP

    app.catalog.admin.MI.RT

    If the value of the field begins with "app.catalog.school." it should return everything after the last period (.) as follows

    BT

    FREE TRADE AGREEMENT

    CD

    If the value of the field begins with "app.catalog.admin." it should return the string between the third and fourth period (.) as follows

    C

    BT

    MI

    I actually have a solution to this:

    decode)

    regexp_substr (myfield, ' [^.] +' 1, 3), 'school', regexp_substr (myfield, ' [^.] +' 1, 5), "admin", regexp_substr (myfield, ' [^.] +' 1, 4)

    )

    I am not happy with the solution above using decode(). I think I should be able to solve this problem purely with reg_exp but after hours to try again without success. You have better solution/suggestion?

    I use Oracle version 10.2. Thank you very much.

    Oops: Oracle version 10.2, here to use regexp_replace

    WITH testdata UNTIL
    (SELECT 'app.catalog.school.DB.BT' FROM DUAL str

    UNION ALL

    SELECT 'app.catalog.admin.C.ABC' FROM DUAL
    )

    Select
    Str
    , regexp_replace (str, ' ^. * (admin | school\.)) [ ^.] +)\. ([^.] +). (* $', "\2") res
    of testdata

    RES STR

    "app.catalog.school.DB.BT" 'BT '.

    'app.catalog.admin.C.ABC' 'C '.

    to 11.x, we can use regexp_substr because he has this subexpression setting more pure accident.

    WITH testdata UNTIL
    (SELECT 'app.catalog.school.DB.BT' FROM DUAL str

    UNION ALL

    SELECT 'app.catalog.admin.C.ABC' FROM DUAL
    )

    Select
    Str
    , regexp_substr (str, ' (admin | school\.)) [ ^.] +)\. ([^.] +)', 1, 1, null, res) 2.
    of testdata

    STR RES
    app.catalog.school.DB.BT BT
    app.catalog.admin.C.ABC C

    Post edited by: extended chris227

  • I use two different versions of Firefox for two different employers - how to install the new version without losing an old?

    An employer requires that I use Firefox 3. The other requires that I use the most recent version. How to install a new version of Firefox to another path without overwriting the old version?

    The best way to have a version be an installation of Firefox Portable. The mobile facility is autonomous and will not affect your installation of Firefox "ordinary".

    http://PortableApps.com/apps/Internet/firefox_portable

    Otherwise, you will need to set up a profile specifically for version 2 and make sure the correct profile is launched in each version.

    http://support.Mozilla.com/en-us/KB/managing+profiles

    http://KB.mozillazine.org/Shortcut_to_a_specific_profile

    Overall, you are probably best to replace your current version of Firefox 3.6.25 with Portable Apps - http://portableapps.com/apps/internet/firefox_portable/localization#legacy36 - version and install Firefox 9.0.1 that your installation "regular".

  • Windows experience index for two different laptops with the same configuration of maximum output power

    [I have two almost identical laptops Lenovo T61p and running W7 64 Ultimate b: has] has an Intel T7700 processor and 8 GB of RAM. [B] has a CPU of Intel T8300 with 4 GB of RAM. They are clocked at 2.6 GHz and have identical hard drives.

    When the system is running Windows Experience Index, it does to 2.6 GHz. It doesn't matter what is the result.

    When the system B runs the WEI, it becomes 780 MHz. In the end, he will return to run at 2.6 GHz. Needless to say that it will reduce its index to I / 2 of the other system. During any normal operation, the processor remains a 2.6 GHz

    All other values of the indices are similar and irrelevant.

    As far as I checked, the two system has the same configuration of power to maximum performance, I did not miss something. MSCONFIG are also identical.

    Any ideas about where to look to fix this behavior?

    See you soon

    Rolando

    WEI is a meaningless number that does not reflect anything in reality.  You win nothing in this hunt.  Because it is a useless number, that it has been deleted in windows 8

  • Insert data. Select the sequence ID, but popuate even value for two different columns

    Hello

    Version Oracle 11 G

    [code]

    CREATE TABLE MT_PROGRAM

    (

    NUMBER OF "PROGRAM_ID."

    NUMBER OF "REPORTING_PROGRAM_ID."

    'PROGRAM_NAME' VARCHAR2 (128 BYTE)

    );

    INSERT INTO MT_PROGRAM)

    PROGRAM_ID,

    REPORTING_PROGRAM_ID,

    PROGRAM NAME)

    SELECT PROGRAM_ID,

    PROGRAM_ID,

    PROGRAM NAME

    Of

    (SELECT

    fn_get_new_prog_id()

    AS PROGRAM_ID,

    'Test' as the program name OF THE DOUBLE);

    The function has

    create or replace

    FUNCTION "FN_GET_NEW_PROG_ID".

    RETURN NUMBER

    AS

    BEGIN

    RETURN SQ_PROG_ID. NEXTVAL;

    END;

    [/ code]

    Problem is that I must get

    I need Reporting same Program ID ID program and the same sequence. But here I am ecstasy. For example, if my sequence is from 1 then it inserts

    1, 2, 'test '.

    But I need

    1, 1, 'test '.

    P.S. I can't not 1 insert unwanted accounting value of the program and of the update the program id. I have a trigger on the table which keeps track of each insert, update. And I don't want to use the separate update statement because it will create additional row in the history table.

    SQL > create the sequence Tessai minvalue maxvalue 1 99999999999999999 with increment of 1 by 1 cover 2;

    Order of creation

    SQL > select ttest.currval from double;

    Select double ttest.currval

    ORA-08002: sequence TESSAI. CURRVAL is not yet defined in this session

    SQL > select ttest.nextval from double;

    NEXTVAL

    ----------

    1

    SQL > select ttest.currval from double;

    CURRVAL

    ----------

    1

    SQL > select ttest.nextval from double;

    NEXTVAL

    ----------

    2

    SQL > select ttest.currval from double;

    CURRVAL

    ----------

    2

    SQL >

    I have it?

    ----

    Ramin Hashimzade

Maybe you are looking for

  • Printed in red ink only

    My printer prints in red only - I have checked the settings on the laptop. The cartridges are fairly new. He is recovering also several sheets of paper and the paper has been realigned. It drives me crazy. Can anyone help please?

  • directx_aug2009_redist and dxwebsetup does not run on Windows 7 Ultimate

    I brought Dirt 2 and error message "Dirt 2 may not start because D3Dcompiler_42.dll is missing" then I'll try to install the VERY latest versions of DirectX which I update in August.  I have a new install of Windows 7 Ultimate when when I downloaded

  • Whenever I type a research investigating all the search box, I click on a link any takes me into a different window, so I wanted to

    Hello I use Internet Explorer 8. Whenever I type a research investigate the entire area of research I get the normal lists of links to my request. Any link I click on / access to I always get a different window, so I tried. I get the yellow pages, ne

  • SL500 XP mode standby / Hibernation does not

    I did a clean install of Windows XP and installed the drivers. Mainly the power management driver. But the standby and hibernation does not always work. I don't have even as options in windows. I have another installation of XP has been transferred f

  • TX9000 time is incorrect on the Touchpad

    I thought I would try here first before opening a case. New TX9000s the keys to touch as the user interface, will only show the time in hour GMT. I have the TX9000 configuration in a pool of device using a date/time group we MST (GMT-7). There are ot