Problem in a calculation in Oracle Answers

Hello experts.
I am facing some trouble in making a report.
Dimensions and Facts are like this.
Dimensions: Year Month, Quarter, Employee Name , Attribute Name (like A,B,C,D...I)
Facts : Attribute Fact1, Attribute Fact2, Attriute Fact3
Now we need to show DATA as follows
Columns:
Year | Month Quarter | Employee Name | (Attributes Name) A,B,C,D....J
Measure: (A calulation on Fact1,Fact3 and Fact3)
Eg. ((Fact1*Fact2)/Fact3)
We used a Pivot Table to draw this analysis:
In ROWS we put Year | Month | Quarter | Employee Name
In Measures_Lables We put 'Attribute Name'
In Measures we put an calulated column: ((Fact1*Fact2)/Fact3)
Now problem is there is one condition that if value of ((Fact1*Fact2)/Fact3) for Attribue 'A' is Zero then we need to multiply rest of Attributes with some Factor, lets day 10
I tried to put following Formulla/Expression:
CASE WHEN
IF NULL
(CASE WHEN Attribute.Name IN ('A') THEN ((Fact1*Fact2)/Fact3) END)
,0
) = 0
) THEN
((Fact1*Fact2)/Fact3)*10
ELSE
((Fact1*Fact2)/Fact3)
END
that is I am checking if Calculation for that Attribute ('A') is Zero then multiply by with 10 else just show calculation.
What happend is as soon as I apply CASE on Attribute 'A' value of other Attributes go out of scope for that particular CELL, so for these cells (except A) 'IF NULL' block is evaluated true
For example if data set is like this
Year | Month | Quarter | Employee Name | A | B |
2009 Jan Q1 Emp1 10 20
2009 Jan Q1 Emp2 0 20
THEN as per above my formulla resut it give is like this
Year | Month | Quarter | Employee Name | A | B |
2009 Jan Q1 Emp1 10 200
2009 Jan Q1 Emp2 0 200
So, for all other Attributes it muliplied by 10 because for all other cells it find value of A is 0 so it multiplies by 10
I am starting to think it might not be possible to do it this way.
Please suggest me a better way for this problem:

You could write a view over the table that has the XML column and use Oracle XML DB functions to extract and represent the data in a table format. You can then map this view in Oracle BI Administration.
I think stuff like XML transformations and extraction etc. is no task for Oracle BI and is best left to the Oracle Database.
Thanks,
Nilanshu.

Similar Messages

  • Regarding Calculation in Oracle Incentive module of Oracle Application R12

    Hi,
    We are facing a problem during 'CALCULATION'in ORACLE INCENTIVE OCMPENTSATION MODULE version R12 (12.0.5) .
    It takes long time to execute in a system and also doesn't show the Status as 'COMPLETE' in case of complete.
    This issue occurs in perticular development instance and We have observed that the CALCULATION take place very short to complete the process in different dev instances.
    We do 'CALCULATION' through Responsibility : - Compensation Manager--> Calcualte compensation
    We need your valuble inputs and suggestions
    Thanks and Regards,
    Deepak

    Deepak,
    The issue depends on many factors. One volume u are testing between instances, the way the plan is set up. if the plan is not set up right way or you have huge volumes, you may see these kind of issue.
    You may want to analyze reuqirements and plan configuration. This may give somes ideas on how to fix this.
    Regards
    Srini

  • Installation problem of ISSUE_TRACKER_1.6 on Oracle Express XE

    Sorry, but I'm new to HTMLDB, and have seen similar problems listed on the forum, but they have not given me insight into my problem.
    I am running Oracle XE beta on Windows. I only have one workspace and user at the moment. I imported the application, and had it load into my workspace. The 3 tables are in the database, and the data is loaded.
    Unfortunately, when I try to run the Issue Tracker I get:
    Error Unable to fetch authentication_scheme in application 100.
    The Debug output:
    0.00: S H O W: application="100" page="1" workspace="" request="" session="13190102205862944177"
    0.00: ...Language derived from: FLOW_PRIMARY_LANGUAGE, current browser language: en-us
    0.00: alter session set nls_language="AMERICAN"
    0.00: alter session set nls_territory="AMERICA"
    0.00: NLS: CSV charset=WE8MSWIN1252
    0.00: ...Setting NLS Decimal separator="."
    0.00: ...Setting NLS Group separator=","
    0.00: ...Setting NLS date format="DD-MON-RR"
    0.00: NLS: Language=en-us
    0.00: Application 100, Authentication: CUSTOM2, Page Template: 8088318536817124
    0.02: Show ERROR page...
    0.02: Fetch session state from database
    0.02: Processing point: AFTER_ERROR_HEADER
    ORA-0000: normal, successful completion
    Error Unable to fetch authentication_scheme in application 100.
    OK
    0.02: Processing point: BEFORE_ERROR_FOOTER
    0.02: ...Determine if user MRO with SGID 702411932698381 can develop application 100 in workspace 702411932698381
    I'm sure it is something simple, but will await your reply.
    Thanks!
    <<Martin Farber>>

    SQL> select id||':'||security_group_id from wwv_flow_custom_auth_setups where fl
    ow_id=100
    2 /
    no rows selected
    SQL> select custom_authentication_process||':'||security_group_id from wwv_flows
    where id=100
    2 /
    CUSTOM_AUTHENTICATION_PROCESS||':'||SECURITY_GROUP_ID
    .8095935619817161.:702411932698381

  • Installation problem with Siebel8.0 on Oracle Enterprise Linux 4 system

    We are having installation problem with Siebel8.0 on Oracle Enterprise Linux 4 system.
    Using interface, when installation come up to “Installing Wizard” window where Gateway Name Server Configuration window should take place, everything just freeze up
    Using console, after installation we obtain following errors:
    Installing Siebel Enterprise Server. Please wait...
    unable to launch: "ksh export
    LD_LIBRARY_PATH=/siebel/gtwysrvr/lib;PATH=${PATH}:.;/root/istemp8058094162222/_bundledJRE_/bin/java
    -Dtemp.dir=/root -cp /siebel/gtwysrvr/bin/setup.jar run -args LANG=ENU
    MODE=LIVE MODEL_FILE=/siebel/gtwysrvr/admin/enterprise_console.scm" error code:
    "236"(SBL-STJ-00152)
    LD_LIBRARY_PATH=/siebel/siebsrvr/lib;PATH=${PATH}:.;/root/istemp8058094162222/_bundledJRE_/bin/java
    -Dtemp.dir=/root -cp /siebel/siebsrvr/bin/setup.jar run -args LANG=ENU
    REPEAT=FALSE MODE=LIVE MODEL_FILE=/siebel/siebsrvr/admin/siebel_server.scm"
    error code: "236"(SBL-STJ-00152)
    LD_LIBRARY_PATH=/siebel/siebsrvr/mgmtagent/lib;PATH=${PATH}:.;/root/istemp8058094162222/_bundledJRE_/bin/java
    -Dtemp.dir=/root -cp /siebel/siebsrvr/mgmtagent/bin/setup.jar run -args
    LANG=ENU MODE=LIVE
    MODEL_FILE=/siebel/siebsrvr/mgmtagent/admin/mgmtagent_ses.scm" error code:
    "236"(SBL-STJ-00152)
    Running command :
    ./ssincfgw -is:javaconsole -console -args LANG=ENU MODE=LIVE MODEL_FILE=/siebel/gtwysrvr/admin/enterprise_console.scm
    Infinite loop of following error pops out:
    An error occurred during wizard bean change notification:
    java.lang.NoClassDefFoundError
    at ConfigInitialize.execute(ConfigInitialize.java:21)
    at com.installshield.wizard.StandardWizardListener.execute(StandardWizardListener.java:123)
    Is there any clue how this error can be solved??
    Thanks in advance!!
    Gordon
    Message was edited by:
    user605023

    I'm facing the same error message while install Siebel 8.0 on OEL. But before I had this ksh problem, it complains about disc space first, and I actually has plenty of disk space under the directory (it needs only 0.7 G and I have 17G free). Anybody has encountered such problem before?
    /net/sdcnas05/vol/engfs01/v_sia/8.0SIA[20405|http://forums.oracle.com/forums/]/Release/Linux/Server/Siebel_Enterprise_Server
    -bash-3.00$ ./setuplinux -is:javaconsole -console
    Initializing InstallShield Wizard........
    Initializing InstallShield Wizard........
    Launching InstallShield Wizard........
    0% 25% 50% 75% 100%
    Welcome to the InstallShield Wizard for Siebel Enterprise Server
    The InstallShield Wizard will install Siebel Enterprise Server on your
    computer.
    To continue, choose Next.
    Siebel Enterprise Server
    Siebel Systems
    Press 1 for Next, 3 to Cancel or 4 to Redisplay [1]
    Siebel Enterprise Server Install Location
    Please specify a directory or press Enter to accept the default directory.
    Directory Name: [siebel] /slot/ems1115/appmgr/20405
    Press 1 for Next, 2 for Previous, 3 to Cancel or 4 to Redisplay [1]
    Please select the products you wish to install.
    [ ] 1 - Gateway Name Server
    [ ] 2 - Siebel Server
    [ ] 3 - Database Configuration Utilities
    [ ] 4 - EAI Connectors
    To select an item enter its number, or 0 when you are finished: [0]: 1
    [X] 1 - Gateway Name Server
    [ ] 2 - Siebel Server
    [ ] 3 - Database Configuration Utilities
    [ ] 4 - EAI Connectors
    To select an item enter its number, or 0 when you are finished: [0]: 2
    [X] 1 - Gateway Name Server
    [X] 2 - Siebel Server
    [ ] 3 - Database Configuration Utilities
    [ ] 4 - EAI Connectors
    To select an item enter its number, or 0 when you are finished: [0]:
    Press 1 for Next, 2 for Previous, 3 to Cancel or 4 to Redisplay [1]
    Configuring uninstallers. Please wait...
    0% 25% 50% 75% 100%
    Choose the setup type that best suits your needs.
    [X] 1 - Typical
    [ ] 2 - Compact
    [ ] 3 - Custom
    To select an item enter its number, or 0 when you are finished: [0]
    Press 1 for Next, 2 for Previous, 3 to Cancel or 4 to Redisplay [1]
    Please select the languages you wish to install.
    [X] 1 - enu - English (American)
    [ ] 2 - fin - Finnish
    [ ] 3 - kor - Korean
    [ ] 4 - cht - Chinese (Traditional)
    [ ] 5 - ita - Italian (Standard)
    [ ] 6 - esn - Spanish (Modern)
    [ ] 7 - deu - German (Standard)
    [ ] 8 - chs - Chinese (Simplified)
    [ ] 9 - tha - Thai
    [ ] 10 - dan - Danish
    [ ] 11 - heb - Hebrew
    [ ] 12 - fra - French (Standard)
    [ ] 13 - nld - Dutch (Standard)
    [ ] 14 - ptb - Portuguese (Brazilian)
    [ ] 15 - csy - Czech
    [ ] 16 - jpn - Japanese
    [ ] 17 - ptg - Portuguese (Standard)
    [ ] 18 - ara - Arabic (Sa`udi)
    [ ] 19 - sve - Swedish
    To select an item enter its number, or 0 when you are finished: [0]
    Press 1 for Next, 2 for Previous, 3 to Cancel or 4 to Redisplay [1]
    {color:#ff0000}*Drive "/slot/ems1115/appmgr/20405" does not have enough space to install the*
    selected configuration. Please free up "766446" KB on drive
    *"/slot/ems1115/appmgr/20405" before continuing.*{color}
    -bash-3.00$ pwd
    /slot/ems1115/appmgr/20405
    -bash-3.00$ df -h .
    Filesystem Size Used Avail Use% Mounted on
    sdc1002nap-vlan1:/vol/ems_39426_1115
    71G 55G 17G 77% /slot/ems1115

  • Problem with date format from Oracle DB

    Hi,
    I am facing a problem with date fields from Oracle DB sources. The date format of the field in DB table is 'Date base type is DATE and DDIC type is DATS'.
    I mapped the date fields to Date characters in BI. Now the data that comes to PSA is in weird format. It shows like -0.PR.09-A
    I have changing the field settings in DataSource  to internal and external and also i have tried mapping these date fields to text fields with out luck. All delivers the same format.
    I have also tried using conversion routines like, CONVERSION_EXIT_IDATE_INPUT to change format. It also delivers me the same old result.
    If anybody of you have any suggestions or if anybody have you experienced such probelms, Please share your experience with me.
    Thanks in advance.
    Regards
    Varada

    Thanks for all your reply. I can only the solutions creating view in database. I want some solution to be done in BI. I appreciate if some of you have idea in it.
    The issue again in detail
    I am facing an issue with date fields from oracle data. The data that is sent from Oracle is in the format is -0.AR.04-M. I am able to convert this date in BI with conversion routine in BI into format 04-MAR-0.
    The problem is,  I am getting data of length 10 (Output format) in the format -0.AR.04-M where the month is not in numericals. Since it is in text it is taking one character spacing more.
    I have tried in different ways to convert and increased the length in BI, the result is same. I am wondering if we can change the date format in database.
    I am in puzzle with the this date format. I have checked other Oracle DB connections data for date fields in BI, they get data in the format 20.081.031 which will allow to convert this in BI. Only from the system i am trying creating a problem.
    Regards
    Varada

  • A problem regarding set up of Oracle Lite 3.6.0.2.0 on Win 95, with JDK 1.1.8 &java 2

    A problem regarding set up of Oracle Lite 3.6.0.2.0 on Win 95, with JDK 1.1.8 and Java 2 SDK ( Ver 1.3 Beta)
    After the installation of Oracle Lite 3.6.0.2.0 on a laptop (with WIN 95 OS), When I run Oracle Lite Designer from start menu, I receive following error message :
    ====================================
    Invalid class name 'FILES\ORA95_2\LITE\DESIGNER\oldes.jar;C:\PROGRAM'
    usage: java [-options] class
    where options include:
    -help print out this message
    -version print out the build version
    -v -verbose turn on verbose mode
    -debug enable remote JAVA debugging
    -noasyncgc don't allow asynchronous garbage collection
    -verbosegc print a message when garbage collection occurs
    -noclassgc disable class garbage collection
    -ss<number> set the maximum native stack size for any thread
    -oss<number> set the maximum Java stack size for any thread
    -ms<number> set the initial Java heap size
    -mx<number> set the maximum Java heap size
    -classpath <directories separated by semicolons>
    list directories in which to look for classes
    -prof[:<file>] output profiling data to .\java.prof or .\<file>
    -verify verify all classes when read in
    -verifyremote verify classes read in over the network [default]
    -noverify do not verify any class
    -nojit disable JIT compiler
    Please make sure that JDK 1.1.4 (or greater) is installed in your machine and CLASSPATH is set properly. JAVA.EXE must be in the PATH.
    ====================================
    My ORACLE_HOME is c:\program files\ora95_2 and Oracle Lite is installed under the ORACLE_HOME in LITE\DESIGNER directory.
    JDK version is 1.1.8 which is greater than 1.1.4 installed in c:\program files\jdk1.1.8, My PATH, and CLASSPATH are set in AUTOEXEC.BAT as follows:
    set CLASSPATH=c:\Progra~1\jdk1.1.8\lib\classes.zip;c:\progra~1\ora95_2\lite\classes\olite36.jar;c:\progra~1\ora95_2\lite\designer\oldes.jar;c:\progra~1\ora95_2\lite\designer\swingall.j ar
    PATH=C:\Progra~1\Ora95_2\bin;.;c:\Progra~1\jdk1.1.8\lib;c:\Progra~1\jdk1.1.8\bin;C:\Progra~1\Ora95_2\lite\Designer;C:\WIN95;C:\WIN95\COMMAND;C:\UTIL
    And, I can run JAVA.EXE from any directory on command prompt.
    With JAVA 2 SDK (ver 1.3 Beta) instead of JDK 1.1.8 I'm getting a different Error message as follows:
    =============================
    java.lang.NoClassFoundError: 'FILES\ORA95_2\LITE\DESIGNER\oldes.jar;C:\PROGRAM'
    Please make sure that JDK 1.1.4 (or greater) is installed in your machine and CLASSPATH is set properly. JAVA.EXE must be in the PATH.
    ==============================
    the PATH and CLASSPATH were set accordingly, as with JDK1.1.8, and there was no classes.zip in classpath
    also the class file or the jar file looks weird or wrapped in the error message : 'FILES\ORA95_2\LITE\DESIGNER\oldes.jar;C:\PROGRAM'
    Another interesting thing I noticed is if I run oldes.exe from Installation CD, the Oracle Lite Designer runs fine, and without error, I'm able to modify tables in the database of my laptop also.
    Could someone shade some light on what am I doing wrong here ?
    Thanks for help in advance .
    Regards
    Viral
    null

    On 07/20/2015 06:35 AM, Itzhak Hovav wrote:
    > hi
    > [snip]
    > [root@p22 eclipse]# cat eclipse.ini -startup
    > plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
    > --launcher.library
    > plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20120913-144807
    >
    > -showsplash
    > org.eclipse.platform
    > --launcher.XXMaxPermSize
    > 256m
    > --launcher.defaultAction
    > openFile
    > -vmargs
    > -Xms40m
    > -Xmx512m
    > [snip]
    Try this: http://wiki.eclipse.org/Eclipse.ini. You should have read the
    sticky posts at forum's top for getting started help.

  • Problem with the calculator and modifications needed

    i have got a problem with the calculator on my iphone i.e i cannot find any DEL key or Backspace....the problem is when typing a long value if one number is entered wrong we should start again.
    EXAMPLE...if i need to type    114678047 * 345612
    if acidentally if i type 114678047 * 3455           ( then i should start over typing  "C"  key)
    i should start over to type the whole data..if we have a delete key we can just correct it right away and continue.....rather than starting over
    we can find this feature in all the other smart phones , i dont know why apple coudnt find that
    even every scientific calculator have a DEL key...
    Thanks
    vickyk7

    FEEDBACK
    If you want to give Apple feed back then do it here http://www.apple.com/feedback/iphone.html

  • Problem creating JDBC dataview to oracle on Windows

    Hi,
    I'm trying to configure a JDBC dataview to an Oracle 10g database on DSEE 6.3.1 running Windows 2008
    Here are the command I used:
    dpconf create-jdbc-data-source -b MYDBSID -B jdbc:oracle:thin://dbhost:1510: \
         -J file://e:\dsee\ojdbc14.jar \
         -S oracle.jdbc.driver.OracleDriver mydb
    echo "password" > e:\dsee\instances\mydb.pwd
    dpconf set-jdbc-data-source-prop mydb db-user:myuser \
         db-pwd-file:e:\dsee\instances\mydb.pwd \
         is-enabled:true is-read-only:true \
    dpconf create-jdbc-data-source-pool mypool
    dpconf attach-jdbc-data-source mypool mydbAnd when trying to create the view with this command:
    dpconf create-jdbc-data-view myview mypool o=example.comHere is what I get:
    [LDAP: error code 1 - Unable to apply configuration changes:  Exception catched while initializing
    JDBC driver oracle.jdbc.driver.OracleDriver in configuration entry cn=mydb,cn=data sources,cn=config --
    java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver. Check that [Ljava.lang.String;@100
    bac2 is a valid URL to a jar file containing class oracle.jdbc.driver.OracleDriver]".
    {code}
    I guess that it doesn't find the jdbc driver for Oracle but the file is there in e:\dsee\ojdbc14.jar
    I tried to copy it to e:\dsee\dps6\lib but it doesn't work better.
    Any idea ?
    Frederic.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    I found the solution by adapting the path to the jdbc jar file:
    dpconf set-jdbc-data-source-prop ehldb driver-url:file:///e:/dsee/ojdbc14.jarAdding a third slash after file: and using backslashes instead of slashes solved my problem.
    Frederic.

  • Problem in loading Ntriple to Oracle

    Hello,
    Can some one please point what could be wrong in loading of Data in Ntriple format using the Code provide by Oracle to convert RDF data in N-Triple format to
    Oracle's RDF storage type, SDO_RDF_TRIPLE_S in Oracle10g R2.
    called TestNTriple2NDM.java
    C:\prateek\semdis\sdordf_converter>java TestNTriple2NDM Data/timestamp.nt TIMEST
    AMP_RDF_DATA TIMEMODEL 3
    ID: 1403 Error: java.sql.SQLException: ORA-13199: RDF:Error occurred
    ORA-06512: at "MDSYS.MD", line 1723
    ORA-06512: at "MDSYS.MDERR", line 17
    ORA-06512: at "MDSYS.SDO_RDF_TRIPLE_S", line 322
    ID: 3641 Error: java.sql.SQLException: ORA-13199: RDF:Error occurred
    ORA-06512: at "MDSYS.MD", line 1723
    ORA-06512: at "MDSYS.MDERR", line 17
    ORA-06512: at "MDSYS.SDO_RDF_TRIPLE_S", line 322
    ID: 5835 Error: java.sql.SQLException: Unsupported feature
    Rows: 10000
    ID: 10754 Error: java.sql.SQLException: ORA-13199: RDF:Error occurred
    ORA-06512: at "MDSYS.MD", line 1723
    ORA-06512: at "MDSYS.MDERR", line 17
    ORA-06512: at "MDSYS.SDO_RDF_TRIPLE_S", line 322
    ID: 10755 Error: java.sql.SQLException: ORA-13199: RDF:Error occurred
    ORA-06512: at "MDSYS.MD", line 1723
    ORA-06512: at "MDSYS.MDERR", line 17
    ORA-06512: at "MDSYS.SDO_RDF_TRIPLE_S", line 322
    ID: 10868 Error: java.sql.SQLException: Unsupported feature
    ID: 12002 Error: java.sql.SQLException: Unsupported feature
    ID: 12818 Error: java.sql.SQLException: Unsupported feature
    time (sec): 2342.0
    time (min): 39.03333333333333
    It loads the data,but I see all these errors.
    Thanks
    Prateek

    Hi Prateek,
    I have posted a response at Problem in loading Ntriple to Oracle .
    Melli

  • Urgent problem in connecting servlet and oracle

    Hi
    I have problem in connecting servlet with oracle.Kindly let me know what all the classes i should include in classpath to get connected.Where will i find the oracle driver.Kindly help me to do this.
    With regrds
    Vaiju

    http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq.html
    http://www.oracle.com/technology/sample_code/tech/java/sqlj_jdbc/index.html
    http://download-west.oracle.com/docs/cd/B10501_01/java.920/a96654/toc.htm
    http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html
    http://www.oracle.com/technology/sample_code/tech/java/codesnippet/jdbc/index.html

  • Having problem in using RUN_PRODUCT in oracle apps 11.0.3

    I am having problem in using RUN_PRODUCT in oracle apps 11.0.3. Error in oracle apps is
    FRM-40733 PL/SQL built-in RUN_PRODUCT failed
    What could be the possible cause for this error ?

    Hi again;
    I found this please also check this:
    Price List Migration from 11.0.3 to 11.5.10/R12.
    Regard
    Helios

  • Problem in connecting JSP with Oracle 9i.

    Hi,
    I am having problem in connecting JSP with Oracle 9i.
    I am using windows XP and my JDK version is 1.4. For executing JSP I am using
    "jakarta-tomcat-5.5.4-preconfigured". My database name is global.
    I have set java_home, j2ee_home, oracle_home, path, classpath as follows:
    j2ee_home=c:\sun\appserver
    java_home=c:\sun\appserver\jdk
    oracle_home=C:\oracle\ora92
    path=C:\Sun\AppServer\bin;C:\Sun\AppServer\jdk\bin;C:\oracle\ora92\bin
    classpath=C:\Sun\AppServer\lib\j2ee.jar;C:\oracle\ora92\jdbc\lib\ojdbc14.jar;C:\oracle\ora92\jdbc\lib\nls_charse
    t12.zip
    My code is as follows:
    <%@ page language="java" %>
    <%@ page import ="java.sql.*"%>
    <%
    try
    DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
    Connection conn = DriverManager.getConnection ("jdbc:oracle:oci8:@global", "scott", "tiger");
    catch(SQLException e)
    out.println(""+e);
    out.println("Connected");
    %>
    I tried other program:
    <%@ page language="java" %>
    <%@ page import ="java.sql.*"%>
    <%
    Class.forName("oracle.jdbc.driver.OracleDriver");
    Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:global","scott","tiger");
    out.println("Connected");
    %>
    I am getting following error:
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 5 in the jsp file: /jsp/oracle.jsp
    Generated servlet error:
    oracle.jdbc.OracleDriver cannot be resolved or is not a type
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
         org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:389)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:296)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    Thanking you in advance,
    Anurag

    maneesh108 wrote:
    hi this is maneesh1) Read the thread it has been answered.
    2) The thread is very old. Don't resurrect old threads.
    I'm locking this zombie thread.
    Kaj

  • Problem finding data in an Oracle Database using CMP beans

    I am having a problem retrieving data from an Oracle database that has a date as
    part of the key. This data was loaded into my database via a batch process writing
    in java using java.sql.Date to store the date information. When calling the findByPrimaryKey
    method of a CMP Entity Bean I continued to get the FinderException. I know this
    data is in my database because I can view the data via SQLPlus and Microsoft Access.
    Has anyone ever experience problems with CMP beans accessing data from an Oracle
    database that had a date as part if the key or with accessing data in the database
    that insert via another method outside of your CMP bean. I desperately need some
    answers.

    Hi Dave,
    You should probably post this type of question in the CMP or JDBC section
    for best results. Chances are that the date is suffering from a rounding
    problem (it could be a date/time in the database with a different time zone)
    or is not the date that you think it is (wrong century or millenium). I've
    seen both. You need to write a quick piece of code that loads in those
    values as both Java timestamps and dates and makes sure that they are what
    you think they are.
    Peace,
    Cameron Purdy
    Tangosol Inc.
    Tangosol Coherence: Clustered Coherent Cache for J2EE
    Information at http://www.tangosol.com/
    "Dave White" <[email protected]> wrote in message
    news:3c1a4ac3$[email protected]..
    >
    I am having a problem retrieving data from an Oracle database that has adate as
    part of the key. This data was loaded into my database via a batchprocess writing
    in java using java.sql.Date to store the date information. When callingthe findByPrimaryKey
    method of a CMP Entity Bean I continued to get the FinderException. Iknow this
    data is in my database because I can view the data via SQLPlus andMicrosoft Access.
    Has anyone ever experience problems with CMP beans accessing data from anOracle
    database that had a date as part if the key or with accessing data in thedatabase
    that insert via another method outside of your CMP bean. I desperatelyneed some
    answers.

  • I'm having problems installing disk 2 of oracle 9iAS linux edition

    I'm having problems installing disk 2 of oracle 9ias linux edition is thier anyone else having this same problem

    Is it original media? The first installation disk set i received from oracle had a bad disk 2. Once I received the new set, everything was fine. You may have bad media as well.

  • Problem with a calculated member browsing cube with a specific user role

    Good evening to all of you .
    I am not a newbie about SSAS nor an expert developer.
    I use SSAS 2008 R2 Standard Edition.
    I try to simplify my problem with a calculated measure.
    I have a CUBE with :
    [Measures].[Sales Amount]
    Dimension STORES - Dimension CUSTOMERS - Dimension DATE
    I have also 2 user roles :
    Direction Role can see all members of all dimensions.
    Customize Role  has a restriction about Dimension STORES ..it can see only a STORE of all (Suppose to have 100 stores).
    User that has a Customize Role, when browse cube in Excel , want to see for a specific CUSTOMER , Sales Amount of his own STORE but also the total Sales Amount of ALL STORES for that Customer...
    Is it possibile to do that ???
    Can you give any suggestion also using Adventure Works Cube ???
    I was able to create a calculated measure like that below.
    It does not work...It give the same result of Sales Amount
    It seems that Customize Role win Always about every kind of calculate measure i need to create..
    i.e  SUM([STORES].[STORES].[ALL STORES],[Measures].[Sales Amount])
    Thanks in advance.

    Hi maretix,
    According to your description, you have a customize role which limit the user can only see data about his own STORE. Now this user wants to see the total Sales Amount for his own STORES only. Right?
    In Analysis Services, when granting custom access to dimension data, it has a option "Enable Visual Total" in Advanced dimension security. By default, the
    VisualTotals property is disabled (set to False). This default setting maximizes performance because Analysis Services can quickly calculate the total of all cell values, instead of having to spend time selecting which
    cells values to calculate. So you always get same result which is the total for all STORES.
    In this scenario, please select this option. When you enable the VisualTotals property, your custom role can only view aggregated totals for dimension members to which the role has permission.
    Reference:
    Grant custom access to dimension data (Analysis Services)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou
    TechNet Community Support

Maybe you are looking for

  • 4 GB iPod Nano connected to A/C source but not charging

    I have resetted my iPod to factory settings and used all other common troubleshooting tips but... My 4GB iPod Nano is connected to an A/C source but does not charge. Oddly enough, the iPod says its charging, but when I disconnect the source, the batt

  • Connection Pooling in  Jboss

    Hi can any one explanin how to configure connection pooling in jBoss server.

  • Convert from USD to EUR

    I have an invoice and i want to convert the net value of the invoice (in this case KOMK-FKWRT) from usd to eur using the conversion factor from the invoice (in this case VBDKR-KURRF). If i trie:    price_eur = KOMK-FKWRT * VBDKR-KURRF doesn't work (i

  • Skipping Selection Screen for a report program

    Hi guys, I have a report program that works in 2 modes - Create and modify ( There is a toggle button in the ALV report). Its an editable ALV grid. There are 2 tcodes - zcreate and zmodify to access the same report in 2 above modes. For zmodify, i ha

  • Adding Territories via DI API

    Hi, I'm trying to add a territory using Territories object of DI API, but I keep getting error -2035, as the territory is always added with TerritoryID = 0, which is restricted. The AutoKey in ONNM table for this object (200) is ok (set to 2). Is the