Problems with report using isql*plus

Hi there,
As the title of this topic illustrates, i'm having trouble dumping relevant data from columns of different tables. Using isql*plus, I have three tables appropriatly related. A 'course' table, 'student' and 'next_of_kin' tables. I have many students enrolled on various courses but only a hanfull of courses offer the module option 'Database Systems'. I have no 'module' table but i know the three course names which provide the module option. I intend on producing a report hich lists all students enrolled on the courses which provid the module option 'Database Systems'. I have attempted the report but i keep getting a 'cartesian product' displaying all next_of_kin names instead of the appropriate. Also i am struggling to come up with the right WHERE statement to depict only the three courses which provide the module option 'Database Systems' as defined by 'courseNo' in both 'course' and 'student' tables.
Here is the most recent attempt:
--set echo off*
--set pagesize 24*
--set feedback off*
--set linesize 78*
col A format 99999999 heading 'Student No'
col B format A15 heading 'Student Name'
col C format A15 heading 'Course Name'
col D format 99999999 'Course No'
col E format A10 heading 'Next-of-Kin'
break on A skip 1 on B
TTitle 'Business Studies 1 Option BT300'
BTitle 'Prepared By : Richard Stroud / 20527796'
Select student.StudentNo "Student No",
student.fName || ' ' || student.lName "Student Name",
course.title "Course Name",
course.courseNo "Course No",
next_of_kin.fName || ' ' || next_of_kin.lName "Next-of-Kin"
From student, course, next_of_kin
where course.courseNo = '12885545'
order by studentNo
--clear columns*
--TTitle off*
--BTitle off*
--set feedback on*
--set pagesize 24*
--clear breaks*
Any help towards this toipic will be GREATLY appreciated

According to my little knowledge - i don't think Oracle is an AIDB. It is only RDBMS or rather you can call it Advanced RDBMS.
Now, you are thinking that since you have provided the relavant table here - so Oracle should automatically pic the single records. Since you have define every logic including the concept of primary key, foreign key in your table.
But, question is - did you apply the relationship in your join between the tables.
What does a primary key, foreign key do inside a table? Is it automatically select the unique rows from the join tables - when you didn't mention the join criterion.
If you think that - then you are wrong. My advice is - kindly go through the JOIN Concept.
Then start your coding. This is very dangerous way to start. Learn the basics at least.
So, what Senti suggested has a very much valid point.
Regards.
Satyaki De.

Similar Messages

  • Problems with report builder 3.0 in SCCM 2012 R2 CU2

    Hi All
    I have problems with editing  (Using Report builder) existing reports  or creating new ones in SCCM 2012 R2 CU2
    We version of SQL we use is SQL 2008 R2 SP2
    I already asked this question in the SCCM 2012 forum but the problem is not related to SCCM but has something to do with application report builder
    I changed the registry key and edited the Microsoft.ConfigurationManagement.exe.config.xml as described in the following link
    http://blogs.technet.com/b/smartinez/archive/2012/07/03/system-center-2012-configuration-manager-create-report-don-t-work-what-do-i-do-now.aspx
    Afterwards I try to edit an report I see report builder is being downloaded and after it generates the following error “Application did not succeed. Unable to continue”
    Error details are
    Following errors were detected during this operation.
    * [22-7-2014 13:55:07] System.Deployment.Application.InvalidDeploymentException (HashValidation)
    - File, Microsoft.DataWarehouse.dll, has a different computed hash than specified in manifest.
    - Source: System.Deployment
    - Stack trace:
    at System.Deployment.Application.ComponentVerifier.VerifyFileHash(String filePath, Hash hash)
    at System.Deployment.Application.ComponentVerifier.VerifyFileHash(String filePath, HashCollection hashCollection)
    at System.Deployment.Application.ComponentVerifier.VerifyComponents()
    at
    System.Deployment.Application.DownloadManager.DownloadDependencies(SubscriptionState subState, AssemblyManifest deployManifest, AssemblyManifest appManifest, Uri sourceUriBase, String targetDirectory, String group, IDownloadNotification notification, DownloadOptions
    options)
    at System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp)
    at System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState& subState, ActivationDescription actDesc)
    at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
    at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
    And in the SmsAdminUI.log I noticed the following error
    [16, PID:4460][07/21/2014 14:11:43] :[ReportProxy] - User-specified default Reporting Point [Server1.local.nl] could not be found, [Server2.local.nl] is now the default Reporting Point.
    [1, PID:4460][07/21/2014 14:11:11] :System.InvalidOperationException\r\nThere is an error in XML document (1, 1).\r\n at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
    I removed the reporting point no luck -> I already installed report builder 3.0 local on my computer still no luck.
    I hope someone can give me some advice , I am lost with this error
    Thx in advance
    Regards
    Johan

    Hi Miss Katherine,
    1. I went through the SQL steps in the link you posted
    2. I updated the Reg Key and Microsoft.ConfigurationManagement.exe.config file with 3.0 on both the
    server and the console machine.
    3. I copied the .DLL file from your OneDrive and replaced the existing one on the server.
    4. I uninstalled and re-installed the reporting role on the server and received the 1015 in the log.
    5. I restarted the server and the client machine
    I do get a slightly different error now after using the new DLL
    Errors With Original DLL
    ERROR DETAILS
    * [9/30/2014 8:42:03 AM] System.Deployment.Application.InvalidDeploymentException (HashValidation)
    - File, Microsoft.DataWarehouse.dll, has a different computed hash than specified in manifest.
    - Source: System.DeploymentERROR DETAILS
    Errors With New DLL
    ERROR DETAILS
    Following errors were detected during this operation.
    * [9/30/2014 9:17:13 AM] System.Deployment.Application.InvalidDeploymentException (RefDefValidation)
    - Reference in the manifest does not match the identity of the downloaded assembly Microsoft.DataWarehouse.dll.
    - Source: System.Deployment

  • Problems with Creative Zen V plus software

    *Problems with Creative Zen V plus software Dear friends,
    I'm trying to install the software included with creative Zen V Plus but it is not possible - it stops at 63%
    I get this following error:
    "CTIntrfu.dll can not be installed"
    "DoInstall fails to launch E:\PDE\CTXInst\Setup.inx"
    I'm using "Windows XP 2002 home edition - serivce pack 2"
    I'll appreciate any help.
    At the moment my PC doen't recognize the Zen V
    Sorry for my english... It's not my language.

    Hey Guys,Here is a link to instructions on how How to obtain and to install USB 2.0 drivers in Windows XP Service Pack . http://support.microsoft.com/default...;EN-US;Q329632?Win2000 and later have the capability to support USB 2.0, but USB 2.0 was released after XP was release, so there weren't any drivers installed before Windows XP service pack 2. Make sure you've installed all your windows updates including service pack 2. You can check if you have SP2 by right-clicking on my computer and choosing "properties", it will say on the general tab. Also the way to tell if you have USB 2.0 drivers installed is to right-click on my choose "Manage", then choose "device manager" look down to "uni'versal serial Bus controllers" and click on the + . This will expand the USB devices. Look for the word "enchanced" (USB enhanced host controller). If you see it, then you have USB 2.0 support. If not, use the link above and get the drivers. Hope this helps!?JT

  • Using iSQL *PLUS

    I would like to know how do I go about using the browser interface to SQL PLUS, called iSQL PLUS? I assume you invoke the http server first(in windows 2000, you can start the http server). Do I have to know the url of the http server and type it in the address bar? I appreciate your response. Thanks.

    Do I have to know the url of the http server and type it in the address bar? Yes, that's all you need to do. To get to your HTTP server, enter
    http://<machine_name>/
    To get to iSQL*Plus, enter
    http://<machine_name/isqlplus
    The iSQL*Plus login screen is displayed and just log in with your Oracle username and password.
    I suggest you then read the online help to give you more information on using iSQL*Plus, or post to the iSQL*Plus discussion forum.
    Alison
    iSQL*Plus Team

  • Problem with BAPI_CUSTOMER_CREATEFROMDATA1 using JCo on IDES

    sorry, wrong board - i opened a new post
    Problem with BAPI_CUSTOMER_CREATEFROMDATA1 using JCo on IDES
    Hello everyone,
    we are working on a student project and would like to create customers (debtors) in an SAP IDES system.
    Using the ref-customer to copy from, and some personal-data below, we get the error message
    'Internal error: External no.assignment for reference customer/customer'
    We also tried with BAPI_CUSTOMER_GETINTNUMBER, and ACCOUNTGROUP ZINT (New Internet Customer, others won't work?). But CREATEFROMDATA1 takes no CustomerNo created this way, nor it wants to create one 'internal'?
    Any suggestions? Thanks a lot for your help,
    Greetings,
    Tobias Schmidbauer
              inParams = function.getImportParameterList().getStructure(
                   "PI_COPYREFERENCE");
              inParams.setValue("0000001000", "REF_CUSTMR");
              inParams.setValue("1000", "SALESORG");
              inParams.setValue("10", "DISTR_CHAN");
              inParams.setValue("00", "DIVISION");
              inParams =function.getImportParameterList().getStructure(
                   "PI_PERSONALDATA");
              inParams.setValue("Simpson", "LASTNAME");
              inParams.setValue("Homer", "FIRSTNAME");
              inParams.setValue("Jay","MIDDLENAME");
              inParams.setValue("Springfield", "CITY");
              inParams.setValue("DE", "LANGU_P");
              inParams.setValue("DE", "LANGUP_ISO");
              inParams.setValue("DE", "COUNTRY");
              inParams.setValue("EUR", "CURRENCY");
              inParams.setValue("12345", "POSTL_COD1");
    Message was edited by: Tobias Schmidbauer

    Hello Brian,
    Thanks for your pointer. Actually The customer's reference number i was providing in the PI_COPYREFERENCE structure was a sold-to party customer and it uses external customer number assignment. When i used "New Internet Customer" (that doesnt use external assignment by default) as customer's account group, the customer was created successfully and assigned customer number was returned.
    I want to ask now how could we give a customer number in the BAPI as i am unable to find any such column in any of the tables. (Customer number is an "out" parameter so it can only return the number of created customer). Secondly, how to chnage the external assignment property of a particular account group (like sold-to party). i.e, how could we change the account group configurations through SAP GUI??
    - Umair

  • Help using isql*plus

    at the university we use isql*plus in the web browser, i installed oracle 10g and i have no idea how to use it :s
    how can i access iSQL*plus using my web browser??
    please, help!!

    how can i access iSQL*plus using my web browser??1. start iSql*plus on the server : (as oracle user)$ isqlplusctl start2. on your browser :http://<machine name or IP address>:<port>/isqlplusPort is normally 5560, but you can check out portlist.ini in $ORACLE_HOME/install.

  • Having a problem with creating/using a primary key on a view

    I have a problem with a primary key on a view
    I created the view and primary key as follows:
    CREATE OR REPLACE FORCE VIEW "MDD"."ROCK_LU" ("DESCRIPTION",
         UNIQUE ("DESCRIPTION") RELY DISABLE,
         CONSTRAINT "ROCK_LU_PK" PRIMARY KEY ("DESCRIPTION") RELY DISABLE) AS
    SELECT DESCRIPTION
    FROM MRMC_LU
    WHERE ROCK = 'T';
    The view with the primary key appears to have been created as there were no error messages. (The above was from the sql tab in sql developer.)
    When I try to create the foreign key on my mdd_hr table - I get an error
    /* hr_name - foreign key */
    ALTER TABLE mdd_hr add CONSTRAINT hr_name_fk FOREIGN KEY (hr_name) REFERENCES rock_lu(description);
    Error report:
    SQL Error: ORA-02270: no matching unique or primary key for this column-list.
    When I lookup the index in sql developer, rock_lu_pk is not there.
    All my other foreign keys work - but I don't understand what I am doing wrong with this one. Please help.
    glenn
    Background - as to why I want to use a view as a lookup table.
    The MRMC_LU table that the view is created from is structured like:
    DESCRIPTION - MINERAL - ROCK - MODIFIER - COMMODITY
    ANHYDRITE - T - T - T
    APLITE - T - - T
    GRAPHITE - T - - - T
    GREYWACKE - - T
    DESCRIPTION is a list of all names of minerals, rocks, modifiers and commodities. T is entered in each valid field. Often a description name is used for both a mineral and a rock or a mineral and a commodity or any other combination. Because this database is just starting up, it was more efficient to create one table that could be updated (and thereby automatically update the MINERAL_LU, ROCK_LU, MODIFIER_LY, COMMODITY_LU views) rather than create and maintain four separate but similar tables. A primary key cannot be generated for the MRMC_LU table as there are nulls in each column
    except DESCRIPTION.
    Perhaps there is a smarter way to do this?

    http://download-uk.oracle.com/docs/cd/B10501_01/server.920/a96540/statements_85a.htm#2065512
    You can specify constraints on views and object views. You define the constraint at the view level using the out_of_line_constraint clause. You define the constraint as part of column or attribute specification using the inline_constraint clause after the appropriate alias.
    Oracle does not enforce view constraints. However, operations on views are subject to the integrity constraints defined on the underlying base tables. This means that you can enforce constraints on views through constraints on base tables.
    Restrictions on View Constraints
    View constraints are a subset of table constraints and are subject to the following restrictions:
    You can specify only unique, primary key, and foreign key constraints on views. However, you can define the view using the WITH CHECK OPTION clause, which is equivalent to specifying a check constraint for the view.
    Because view constraints are not enforced directly, you cannot specify INITIALLY DEFERRED or DEFERRABLE.
    View constraints are supported only in DISABLE NOVALIDATE mode. You must specify the keywords DISABLE NOVALIDATE when you declare the view constraint, and you cannot specify any other mode.
    You cannot specify the using_index_clause, the exceptions_clause clause, or the ON DELETE clause of the references_clause.
    You cannot define view constraints on attributes of an object column.
    Rgds.

  • VAT declaration in XML - Problem with report RFASLDPC

    Hello all,
    I have a problem with the report RFASLDPC. We use it to download an XML file that we generated which contains the VAT declaration.
    In the report RFASDLPC, there is a FORM named QUELLFILE_PRUEFEN which stop the report and display a message : "Data file FILE_NAME is not correct".
    The reason is that QUELLFILE_PRUEFEN checks (for Belgium) that the beginning of my document starts with '000000' (six times zero). But this is impossible for an XML file to begin with '000000'. An XML file must begin with "<?xml version="1.0" ?>" or a least "<".
    Here is the code :
    FORM QUELLFILE_PRUEFEN.
      OPEN DATASET PAR_PATH FOR INPUT IN BINARY MODE.
      IF SY-SUBRC NE 0.
        MESSAGE E306 WITH PAR_PATH.        ''Quellfile nicht vorhanden
      ENDIF.
      READ DATASET PAR_PATH INTO HLP_RECORD.
      CASE PAR_FTYP.
        WHEN 'AT'.                         ''ASL Österreich
          IF HLP_RECORD(1) NE 'I' OR HLP_RECORD+46(2) NE 'ZM'.
            MESSAGE A185(FR) WITH PAR_PATH.
          ENDIF.
        WHEN 'BE'.                         ''ASL Belgien
          IF HLP_RECORD(6) NE '000000'.
            MESSAGE A185(FR) WITH PAR_PATH.
          ENDIF.
        WHEN 'ES'.                         ''ASL Spanien
    *     IF HLP_RECORD(1) NE '1' OR HLP_RECORD+104(3) NE '349'.
          IF HLP_RECORD(1) NE '1' OR HLP_RECORD+1(3) NE '349'.
            MESSAGE A185(FR) WITH PAR_PATH.
          ENDIF.
        when 'FI'.
          if hlp_record(3) ne '000'.
            MESSAGE A185(FR) WITH PAR_PATH.
          ENDIF.
      ENDCASE.
      CLOSE DATASET PAR_PATH.
    The line :
    READ DATASET PAR_PATH INTO HLP_RECORD.
    Put the 128 first character of the XML file in HLP_RECORD because HLP_RECORD is defined as :
    HLP_RECORD(128) TYPE C
    So as I work in Belgium, it is the condition :
    WHEN 'BE'.                         ''ASL Belgien
          IF HLP_RECORD(6) NE '000000'.
            MESSAGE A185(FR) WITH PAR_PATH.
          ENDIF.
    which is checked. But this condition cleary check if the beginning of the XML is '000000' and if it is not, it stop the program.
    I searched for all the SAP notes about RFASLDPC but I found none about this problem.
    Did someone else have also this problem ? Did you find a way to solve this ?
    Thank you in advance for your help.
    Best Regards.
    Gregory Pierre.

    anyone has an idea ? ...

  • Issue with Reports using costume measures - BPC 10.0 NW

    Hello BPC Colleagues,
    I’m having a problem with some BPC reports using costume measures and I would like to have your inputs about this issue.
    When all the reports are executed using a costume measures the report execution fails after a long time of execution (7min). The report has 1200 accounts and 57 company codes.
    In order to create trial balance we create these costume measure. Basically the measures are standars (with a few changes) and it works for limited reports (few account and companies) but we I try to executed for several accounts and companies I have the following error:
    “The execution of report Default Report failed. Please contact your administrator.”
    Error while communicating with the server
    Framework message:
    The underlying connection was close: An unexpected error occurred on a receive.
    Summary of the BPC LOG:
    |An error occurred while receiving the HTTP response to https://BPCENV.APPSET.MODEL. This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server (possibly due to the service shutting down). See server logs for more details.#
    We already increased the PSAPTEMP table and this didn’t fix the issue. At the beginning we were sure that this was an issue with table space but the error persist.
    I don’t think (maybe I’m wrong) that this is not an issue related to the costume measure or to authorizations since I can retrieve data if I reduce the request to less accounts an company, so in my point of view this looks like a performance issue.
    Just for you, below you will find the details about our measure that generate the problem:
    'IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="INC",SUM(PERIODSTODATE([%TIME%].[%TIMEYEARLEVEL%], [%TIME%].CURRENTMEMBER), [MEASURES].[/CPMB/SDATA]),
    IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="EXP",SUM(PERIODSTODATE([%TIME%].[%TIMEYEARLEVEL%],[%TIME%].CURRENTMEMBER),[MEASURES].[/CPMB/SDATA]),
    IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="AST",([MEASURES].[/CPMB/SDATA],CLOSINGPERIOD([%TIME%].[%TIMEBASELEVEL%])),
    IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="LEQ",([MEASURES].[/CPMB/SDATA], CLOSINGPERIOD([%TIME%].[%TIMEBASELEVEL%])),[MEASURES].[/CPMB/SDATA]))))';SOLVE_ORDER=3
    Finally is important to mention that we are using BPC 10.0 NW (SP08)
    If you have any suggestion for me I will appreciate.
    Thanks you a lot!

    Hi Vadim,
    Once again, thanks for your help.
    We already modified the YTD standard measure but is with that measure that I have problem. Do you think that my new formula is not efficient and for that reason I’m having this problem? Is this correct?.
    Below you will find the standard and costume measure. In red I marked the difference between these 2 formulas:
    YEAR TO DATE CUSTOME MESURE:
    'IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="INC",SUM(PERIODSTODATE([%TIME%].[%TIMEYEARLEVEL%], [%TIME%].CURRENTMEMBER), [MEASURES].[/CPMB/SDATA]),
    IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="EXP",SUM(PERIODSTODATE([%TIME%].[%TIMEYEARLEVEL%],[%TIME%].CURRENTMEMBER),[MEASURES].[/CPMB/SDATA]),
    IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="AST",([MEASURES].[/CPMB/SDATA],CLOSINGPERIOD([%TIME%].[%TIMEBASELEVEL%])),
    IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="LEQ",([MEASURES].[/CPMB/SDATA], CLOSINGPERIOD([%TIME%].[%TIMEBASELEVEL%])),[MEASURES].[/CPMB/SDATA]))))';SOLVE_ORDER=3
    YEAR TO DATE STANDAR MEASURE:
    'IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="INC",SUM(PERIODSTODATE([%TIME%].[%TIMEYEARLEVEL%], [%TIME%].CURRENTMEMBER),-[MEASURES].[/CPMB/SDATA]),
    IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="EXP",SUM(PERIODSTODATE([%TIME%].[%TIMEYEARLEVEL%],[%TIME%].CURRENTMEMBER),[MEASURES].[/CPMB/SDATA]),
    IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="AST",([MEASURES].[/CPMB/SDATA], CLOSINGPERIOD([%TIME%].[%TIMEBASELEVEL%])),
    IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="LEQ",-([MEASURES].[/CPMB/SDATA], CLOSINGPERIOD([%TIME%].[%TIMEBASELEVEL%])),-[MEASURES].[/CPMB/SDATA]))))';SOLVE_ORDER=3
    If you have any suggestion to correct my formula I would really appreciate it.
    Regards,

  • 2 'problems' with the K8N Diamond Plus

    Hi there.
    I just bought a K8N Diamond Plus and I'm having some troubles installing my system in conjunction to my Decklink Extreme PCI-E ( http://www.decklink.com/products/sd/ ).
    Here's my configuration:
    MSI K8N Diamond Plus
    AMD64 X2 4400+
    ROSEWILL 6600GT PCI-E VGA
    Decklink Extreme PCI-E
    2GB  RAM ( 2 x 1gb) Kingston
    OCZ-520 12U Modstream Power Supply
    plus 6 HD's (7200rpm) and 1 DVD-+RW
    The problem is, when I try to initialize the system with the Decklink, which it's a PCI-E 1x, it just don't boot. Neither putting the Decklink on the 1x, nor in the 4x slot and nor in the 16x.
    The Decklink is working just fine in another system and doesn't seem to be a problem with this card.
    I wondered if there's any limitation in the K8N Diamond Plus with working with the ROSEWILL 6600GT PCI-E VGA plus the Decklink.
    =======================
    The other thig is that when I take off the Decklink, the system boots normaly but a message appears while booting: "Not enough space to copy PCI option ROM 00:13:00".
    And I don't have a clue about what's going on.
    =======================
    Please enlighten me with this questions if possible.
    Thank you very much.
    Greets.
    Igor Bineli

    Remove the battery away for 10 minutes, clear CMOS, start the system to load setup/optimized defauts in bios setup. After that, disable all onboard items in bios setup that you won't to use.  Save and exit.
    Plug ROSEWILL 6600GT PCI-E VGA card,  and start your system to check if there is the error message. If there is, borrow another brand VGA card to do a test.
    Besides, update your MB bios and driver version to the latest one.

  • Cannot use iSQL*Plus to connect Oracle 9i for Intel Linux

    When I try to use brower connecting to isql*plus , nothing appear.
    By performing the following steps :
    1. Change directory to the Oracle HTTP Server home bin directory by entering:
    cd $ORACLE_HOME/Apache/Apache/conf
    3. Parse the Oracle HTTP Server httpd.conf configuration file by entering:
    apachectl configtest
    Display: Sytax OK
    4. Start the Oracle HTTP Server by entering
    apachectl start
    Display: Could not start
    Then, I find that the oracle http server cannot be started and open the error_log file of Oracle HTTP server :
    [Mon Nov 11 00:09:25 2002] [crit] (2)No such file or directory: Apache JServ encountered a fatal error; check your ApJServLogFile for details if none are present in this file. Exiting.
    There are also many files like:
    mm.1807.sem
    mm.2012.mem
    How can I fix this problem ?
    Thanks.

    Have you checked the ApJServLogFile? You might find some clues there.
    I'm curious as to why you are getting 'display' errors. Is your display environment set up properly?
    Alison

  • Problems with stopping dbconsole & iSQL+

    I have 2 databases (10.2.01) on 1 Linux RedHat server. We needed to implement ESRI GIS that’s why we wanted to keep those DB separate – GIS is on 2nd DB.
    I have problem with shutting down dbconsole & iSQL+:
    dbconsole is starting normally, but on shutdown it gives error „Failed to shutdown DBConsole Gracefully”. Not sure if it happens coz of 2 DBs on same server, because I forgot to add something to config files or I 1ce accidentally restarted server while DB was set to shut down normally.
    Reverting GIS DB to backup after making startup/shutdown script 1st box restart, but before box restart mid-normal DB shutdown didn’t change a thing.
    Startup/shutdown script in “/etc/rc.d/init.d”:
    #!/bin/sh
    # chkconfig: 345 99 10
    # description: Oracle auto start-stop script.
    # Set ORA_HOME to be equivalent to the $ORACLE_HOME
    # from which you wish to execute dbstart and dbshut;
    # Set ORA_OWNER to the user id of the owner of the
    # Oracle database in ORA_HOME.
    ORA_HOME=<Oracle home dir>
    ORA_OWNER=oracle
    if [ ! -f $ORA_HOME/bin/dbstart ]
    then
    echo "Oracle startup: cannot start"
    exit
    fi
    case "$1" in
    'start')
    # Start the Oracle databases:
    # The following command assumes that the oracle login
    # will not prompt the user for any values
    su - $ORA_OWNER -c "$ORA_HOME/bin/dbstart $ORA_HOME"
         su - $ORA_OWNER -c "ORACLE_SID=<DB SID>;$ORA_HOME/bin/emctl start dbconsole"
         su - $ORA_OWNER -c "ORACLE_SID=<GIS SID>;$ORA_HOME/bin/emctl start dbconsole"
         su - $ORA_OWNER -c "ORACLE_SID==<DB SID>;$ORA_HOME/bin/isqlplusctl start"
    'stop')
    # Stop the Oracle databases:
    # The following command assumes that the oracle login
    # will not prompt the user for any values
         su - $ORA_OWNER -c "ORACLE_SID==<DB SID>;$ORA_HOME/bin/isqlplusctl stop"
         su - $ORA_OWNER -c "ORACLE_SID==<DB SID>;$ORA_HOME/bin/emctl stop dbconsole"
         su - $ORA_OWNER -c "ORACLE_SID==<GIS SID>;$ORA_HOME/bin/emctl stop dbconsole"
    su - $ORA_OWNER -c "$ORA_HOME/bin/dbshut $ORA_HOME"
    Esac
    iSQL+ is also starting normally, but on stopping it gives:
    iSQL*Plus 10.2.0.1.0
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Stopping iSQL*Plus ...
    Error: Unable to find java:comp/ServerAdministrator: Lookup error: javax.naming.AuthenticationException: Invalid username/password for default (admin); nested exception is: javax.naming.AuthenticationException: Invalid username/password for default (admin)
    iSQL*Plus stopped.
    But it’s still running…
    I only managed to work around dbconsole by editing emctl.pid to match Enterprise Manager Agent Port for respective SID (not sure even if you can call that workaround), but emctl.pid seems to be random on dbconsole start.
    I really don’t want to put any DB updates on until I manage to shutdown dbconsoles & iSQL+ properly… or maybe update IS the solution.
    GIS DB is just created - no data on it. So I can delete it if its gona help, but Id prefer to solve this as experience never hurts (especially if Im gona have 2 DBs on 1 box).
    I’m new to Oracle – been on Administration workshop & backup/recovery courses, but those problems don’t really feel like basic stuff so some tips on this would be welcome.
    Thanks in advance.

    According to my little knowledge - i don't think Oracle is an AIDB. It is only RDBMS or rather you can call it Advanced RDBMS.
    Now, you are thinking that since you have provided the relavant table here - so Oracle should automatically pic the single records. Since you have define every logic including the concept of primary key, foreign key in your table.
    But, question is - did you apply the relationship in your join between the tables.
    What does a primary key, foreign key do inside a table? Is it automatically select the unique rows from the join tables - when you didn't mention the join criterion.
    If you think that - then you are wrong. My advice is - kindly go through the JOIN Concept.
    Then start your coding. This is very dangerous way to start. Learn the basics at least.
    So, what Senti suggested has a very much valid point.
    Regards.
    Satyaki De.

  • Problem with Report Output in Apps R12

    Hi,
    I am having some problems with my report output when run under Apps R12. It looks fine when I run in Reports Developer 10g.
    The problem is that pages get split into two (i think because there are too many rows). So page 1 of the report will be split into two pages in the Apps report output, and the page number (which is normally at the bottom) displays on the second page as "Page 1 of xx".
    I think there is some problem but I don't know what.
    I am running the report as Text Output in apps, and using the default Landwide style (which is 180 col x 66 rows). In my report design, I made the dimensions of the body section to be 180 col x 66 rows as well. I also have it set to 8.5 tall x 14 inches wide.
    Any suggestions?
    Thanks,
    Kevin

    SQL> set long 1000000
    SQL> set heading off
    SQL> column cola format a40000
    SQL> select cola from clob_dummy;
    gfhjtuioep mnhjkie rt-hlospd. ngktio pokdnebtt, gkhohphpdjdbs wmqksxnd - kfnfdkdldkdkdkdkdkdkdkdkdbdsjgdvj h geg.jv ehh  shgghsga wshkwlsgsdklghlahgkh lahgkas lhks  kglaks gksh a
    ssjfsjgskjhghsgskgkksl hgeldhldlkskhdlk dklhkdlkhlkdlhdkfhldkhkhdkhkdhkdhkdkhklhkddkhdkhdkl djhlkdkhdhkshlkd dkhdkhldsjhkslhjd eutywe 398863694 i230e ehgd ehglegighsihdlk eltiweytilhdhgehgisehbkd
    SQL>Edited by: Tubby on Oct 3, 2008 11:44 AM

  • JasperReports + ADF JSF: Problems with report on Lifecycle.PREPARE_MODEL_ID

    Hi people!
    I have created a report using Jasper and iReports. Then i have coded the call to this report in two different places: In the Application Module, i obtain the JasperPrint and fill it with data. Then in my backing bean, i created a method that calls it through OperationBinding.execute() , and exports it using JRPdfExporter, using as output: FacesContext.getCurrentInstance().getExternalContext().getResponse().getOutputStream(). In other words, i am exporting the print to a PDF Stream and flushing it to the HttpServletResponse under the current Faces Context.
    This works just fine when i call the method with a command button, it runs the code and displays the PDF on the page. Yet, i need a different approach: When i click the button, i want to launch a Dialog Window which will show the actual report. So i did some modifications to my code: I created a new page and the navigation case to redirect to it (dialog:showReport). Then i created a managed bean implementing the PagePhaseListener interface, and coded the beforePhase method to run the report creation when it enters the Prepare Model Phase.
    Now, when i run the application, the dialog is displayed, and it goes through the whole method (i saw it by debugging). It even shows the Adobe logo while starting Acrobat Reader. But the dialog page never shows anything... it stays blank forever, and does not allow me to right-click it and display the HTML Source Code (the context menu is blocked).
    Do you know why the report is not displayed on the Prepare Model phase? I have tried the Prepare Render also, but to no avail. Also, after calling the ExportReport method for the response, i have changed the outputStream to a file and exported right after. To my surprise, the PDF is correctly generated on the file! How can i display the report in a pop-up window? Has anyone developed a similar solution?
    I'd appreciate any response whatsoever.
    Thanks in advance for your time!
    Thiago Souza

    Hello Frank,
    Although I do not have code as in Rade's code, I still have the same problem.
    Following is the scenario where this exception occurs:
    We have 2 web-apps in single application. The home page is not a secure jsp. Home page has links to web-app 1 and web-app 2.
    1. From home page access web app 1. This prompts login page (SSO login page). User logs in.
    A new session is created in web-app 1.
    2. Come back to home page and access web app 2 (this creates new session in web-app2).
    3. Come back to home page and Access web app 1. Hit logout from within web-app 1. (SSO logout code kicks in See below).
    This shows SSO logout page, with "Return" button. Clicking on this button takes the user back to home page.
    NOTE that this SSO logout code only invalidates the session in web app 1. The session created in web-app 2 is still there.
    4. Now click on web-app 2. This throws the exception.
    HttpSession session = request.getSession(false);
    session.invalidate(); // THIS INVALIDATES ONLY SESSION FROM WEB_APP 1 try {
    String return_url = "/webapp1/index.jsp";
    response.setHeader( "Osso-Return-Url", return_url);
    response.sendError( 470, "Oracle SSO" );
    } catch(Exception e) {
    log.error("exception = " + e.getMessage());
    This exception will not occur if you access web-app1 then logout. Then access web-app2 then logout. You can do these operations any number of times.
    Message was edited by:
    avpavan

  • WWI server problem with report shipping order

    Hi everybody,
    we have a problem with the WWI server and report shipping orders for Inbound documents (PDF):
    after we created an entry in CVD1 and using buttons "Accept" and "Ship immediately" we run the report RCVDEVEN. First time we did it the WWI server started working and ended with error but assigned the correct PDF. After that, the WWI server didt start anyway.
    First error message:
    The description for Event ID ( 91 ) in Source ( PRD ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: PRD.
    Second error message after second attempt:
    The description for Event ID ( 95 ) in Source ( PRD ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event:   09/14/09 17:59:49 Start Function 'WWI_SERVER_INFO'
      Initializing parameters
      Initializing Tables
      Receiving data from client
      Sending data to client
    Elapsed time : 0.1 sec.
    OSS note 1058521 has already been found - but nothing described here is relevant for us: the RFC connection is working, the WWI monitor shows the server up and running.
    Any ideas?
    Thank you very much in advance and best regards,
    Christoph

    Hi folks,
    fixed the problem myself. There have been some documents with error in the printer queue of the WWI server.
    Best regards,
    Christoph

Maybe you are looking for

  • How to open Camera RAW (CR2) files in Photoshop CS3 and CS4? (Mac)

    I have a Canon 7D. I prefer to shoot in raw format, but the CR2 files cannot be opened by either Photoshop CS3 on my Mac in the office OR by Photoshop CS4 on my iMac at home. I have tried dowloading the Adobe DNG Coverter and Camera Raw 4.6 update (w

  • What is the use of switch control ?

    when i go to switch control and add a new switch as screen tap. then i enable the switch control. what is the use of that? every time i tap i get the app switcher(multi task) which is good but to go to a certain app i have to tap home button 3 times.

  • ITunes duplicates and moving files

    Hello, I am using windows xp. I am also not very adept at these kind of things. I have looked for answers on line and tried some, but it seems to get me in more trouble. I have added 8 play lists. Some are audio lectures, some are music. In my itunes

  • After Effects CS6 (11.0.2.12 Win) - Mask Feather Tool Freeze

    Whenever I use my Mask Feather Tool AfterFX.exe will freeze. Sometimes manipulating the feather works like thirty seconds before freeze, other times the application will freeze almost instantly. The feature is at this point practically useless. I'm r

  • Unable to load DLL access is denied (exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

    I'm consuming a 32-bit native DLL from a c# web service. Everything works fine locally in VS with IIS express. However when I deployed the site to a shared hosting provider (Server 2012 R2, IIS 7) the calls to the DLL (using platform invoke) generate