Create java: error reporting

Hey all,
Does anyone have any suggestions for how to receive more specific error messages from the compilation of java sources through sql statements? For example, I just tried compiling a piece of code and received the following error message:
ORA-29511: could not resolve Java class
I'm not surprised that I received the error, but it's a little inconclusive.
Any ideas?
Thanks,
Jonathan

Umm.....so....I just realized this may actually be a problem with the HTML DB interface. I had assumed it would transparently pass db error messages to the front-end. -_-;;
I'm actually having trouble replicating this error now. Right now, when I try the following three commands I receive the following replies:
1) Statement processed.
2) Function created.
3) ORA-29541: class ARDB.CalendarInterface could not be resolved
The 'create java' statement should be returning a 'cannot find class' error.
Hmm.....excuse the long post.
Jonathan
create or replace and compile java source named "CalendarInterface" as
import oracle.calendar.soap.client.CalendaringResponse;
import oracle.calendar.soap.client.Calendarlet;
import oracle.calendar.soap.client.CreateCommand;
import oracle.calendar.soap.client.authentication.BasicAuth;
import oracle.calendar.soap.iCal.iCalendar;
import oracle.calendar.soap.iCal.vCalendar;
import oracle.calendar.soap.iCal.vEvent;
public class CalendarInterface
  public static int addEvent(String title, String description, String dtStart, String duration)
       iCalendar ical   = new iCalendar();    
       vCalendar vcal   = new vCalendar();
       vEvent    vevent = new vEvent();
       ical.addvCalendar(vcal);
       vcal.addvComponent(vevent);
       String uid     = "ARDB-TEST-2";
       vevent.setEventClass(vEvent.k_eventClassPublic);
       // dtStart format: "yyyymmddThhmmssZ"
       vevent.setDtStart(dtStart);
       // Duration format: "PThhHmmM"
       vevent.setDuration(duration);
       vevent.setLocation("HQ");
       vevent.setSummary(title);
       vevent.setUid(uid);
       vevent.setXEventType(vEvent.k_eventTypeAppointment);
       vevent.setDescription(description);
       CreateCommand create = new CreateCommand();
       create.setCmdId("test");
       create.setiCalendar(ical);
       Calendarlet cws = new Calendarlet();      
       BasicAuth auth = new BasicAuth();
       auth.setName("username");
       auth.setPassword("password");
       cws.setEndPointURL("url");
       cws.setWantIOBuffers(true);
       cws.setAuthenticationHeader(auth.getElement());
       try {
          CalendaringResponse response = cws.Create(create.getElement());
       } catch (Exception ex)
         System.out.println("There was an error while retrieving a response from the Calendar server.");
       return 1;
CREATE OR REPLACE FUNCTION addEvent (
   title IN VARCHAR2,
   description IN VARCHAR2,
   dtStart IN VARCHAR2,
   duration IN VARCHAR2)
   RETURN NUMBER
AS LANGUAGE JAVA
   NAME 'CalendarInterface.addEvent (
            java.lang.String,
            java.lang.String,
            java.lang.String,
            java.lang.String)
            return int';
declare
  retval   number;
begin
  retval := addEvent('Title', 'Description', '20050817T100000Z', 'PT01H00M');
  htp.p(retval);
end;

Similar Messages

  • ITunes and Error Report

    Today I updated to iTunes 7.7 (I have Windows XP Home Edition Service Pack 3) and every time I close iTunes, I see this dialog window:
    iTunes has encountered a problem and needs to close. We are sorry for the inconvenience.
    If you were in the middle of something, the information you were working on might be lost.
    Please tell Microsoft about this problem.
    We have created an error report that you can send to us. We will treat this report as confidential and anonymous.
    To see what data this error report contains, click here.
    [Send Error Report] [Don't Send]
    Some additional info from the Error Report software:
    AppName: itunes.exe AppVer: 7.7.0.43 ModName: quicktime.qts
    ModVer: 7.50.61.0 Offset: 0015e693

    Here are two other threads that you may wish to check out. You're not the only one experiencing this problem.
    http://discussions.apple.com/thread.jspa?threadID=1621476
    http://discussions.apple.com/thread.jspa?threadID=1635246
    By the way, do you also find that if you play a video podcast, or some other video within iTunes, that iTunes is then able to exit cleanly?
    Hope this helps...

  • Itunes only shows error report when starting up

    Ok so I've downloaded some songs and every time that i double click Itunes to start it up this is exactly what pops up:
    iTunes has encountered a problem and needs to close.
    We are sorry for the inconvenience.
         If you were in the middle of something, the information you were working on might be lost.
              Please tell Microsoft about this problem.
         We have created an error report that you can send to us. We will treat this report as confidential and anonymous.
         To see what data this error report contains, Click here.
         Error Signature (after clicking click here)
              EventType: InPageError        P1:c000009c      P2: 00000003  (I may have added or subtracted a few 0's)
    THen it says alot of stuff on the report details the tech infomation about the error report.
    The error report contents includes 2 documents
    C:/DOCUME~1\Janet\LOCALS~1\Temp\WERe592.dir00\iTunes.exe.mdmp
    C:/DOCUME~1\Janet\LOCALS~1\Temp\WERe592.dir00\appcompat.txt
    I have a Hp Pavilion Enterainment Notebook PC
    Dont have much experience with computers
    The problem occured after downloading a Media file from a Youtube to mp2 converter

    many thanks for the detailed info, Dakota.
    EventType: InPageError
    A rarer one. It tends to be associated with disk/file damage.
    The first thing I'd try with that is running a disk check (chkdsk) over your C drive.
    XP instructions in the following document: How to perform disk error checking in Windows XP
    Select both Automatically fix file system errors and Scan for and attempt recovery of bad sectors, or use chkdsk /r (depending on which way you decide to go about doing this). You'll almost certainly have to schedule the chkdsk to run on startup. The scan should take quite a while ... if it quits after a few minutes or seconds, something's interfering with the scan.
    Does the chkdsk find/repair any damage? If so, does iTunes launch properly afterwards?

  • Error (WIS 10901) while creating a webi report against SAP data source

    Hi,
    While creating a webi report against a universe created using Infocube/Bex query (basically SAP data source) get a error message -
    A database error occured. The database error text is: A runtime exception has occured. (License key check failed. Check that you are licensed to access SAP data sources). (WIS 10901).
    Any clues whether this is a license issue or something else?
    Thanks,
    -Purav.

    >
    George Pertea wrote:
    > Does your connection in the Universe test ok on the server if you are on Win? Did you install the Java Connector properly?
    I am having the same problem.  I checked and double checked everything, including deleting and recreating the Universe and the Connection.  No improvement.  On a whim, I deleted the hierarchy from the query on which the Universe was based, and recreated the Universe on the query without the hierarchy.  The problem went away.
    Now, the question is, why do I get the WIS 10901 error when a hierarchy is present in the query/Universe?

  • Java.rmi.RemoteException: Protocol error reported by the card! why?

    Hello,
    I am currently trying to run the JCK 2.2.1 SecureRMIDemo using SmartCardIO instead of OCF, but getting an error:
    java.rmi.RemoteException: Protocol error reported by the card
    (in my last post I succesfully ran the RMIDemo using my SmartCardIO implementation, see http://forums.sun.com/thread.jspa?threadID=5405634&tstart=15)
    So here is what I did:
    - I succesfully loaded the server app (com.sun.javacard.samples.SecureRMIDemo) on the card without changes.
    - I created an new accessor class: public class PINCardAccessor extends SmartCardIOAccessor (I wrote SmartCardIOAccessor for the RMIDemo, it should work fine as an accessor)
    - The contents of PINCardAccessor class and SecureOCFCardAccessor are the same, just the class declration makes the difference
    - Here is the most important part of my main method:
                   ca = new PINCardAccessor(false);
                   JavaCardRMIConnect  jcRMI = new JavaCardRMIConnect(ca);                         
                   jcRMI.selectApplet(appAID);
                   // send PIN
                   System.out.println("Sending PIN...");
                if (! ((PINCardAccessor) ca).authenticateUser( PRINCIPAL_APP_PROVIDER_ID ))
                     System.out.println("Wrong PIN!");
                     System.exit(0);
                   Purse myServ = (Purse) jcRMI.getInitialReference();
                   if(myServ == null)
                      throw new Exception("Received null instead of the initial ref");
                   // print balance
                   System.out.println("Balance: "+myServ.getBalance());And finally here is the debug output:
    accessor: select command
    0 a4 4 0 a a0 0 0 0 62 3 1 c a 1 7f
    90 0 6f 42 6e 40 5e 3e 2 2 38 81 33 f1 0 26 63 6f 6d 2f 73 75 6e 2f 6a 61 76 61 63 61 72 64 2f 73 61 6d 70 6c 65 73 2f 53 65 63 75 72 65 52 4d 49 44 65 6d 6f f 53 65 63 75 72 65 50 75 72 73 65 49 6d 70 6c
    90 0 6f 42 6e 40 5e 3e 2 2 38 81 33 f1 0 26 63 6f 6d 2f 73 75 6e 2f 6a 61 76 61 63 61 72 64 2f 73 61 6d 70 6c 65 73 2f 53 65 63 75 72 65 52 4d 49 44 65 6d 6f f 53 65 63 75 72 65 50 75 72 73 65 49 6d 70 6c
    Sending PIN...
    80 39 0 0 4 12 34 0 46 7f
    90 0 0 0
    Le=2
    csum1=0
    csum2=0
    90 0
    80 38 2 2 6 33 f1 ec a8 ff b8 7f
    90 0 99 0 6 ff 9f
    Le=5
    csum1=-97
    csum2=-97
    90 0 99 0 6
    java.rmi.RemoteException: Protocol error reported by the card
         at com.sun.javacard.javax.smartcard.rmiclient.CardObjectFactory.throwError(Unknown Source)
         at com.sun.javacard.javax.smartcard.rmiclient.CardObjectFactory.throwException(Unknown Source)
         at com.sun.javacard.javax.smartcard.rmiclient.CardObjectFactory.getObject(Unknown Source)
         at com.sun.javacard.ocfrmiclientimpl.JCRemoteRefImpl.parseAPDU(Unknown Source)
         at com.sun.javacard.ocfrmiclientimpl.JCRemoteRefImpl.invoke(Unknown Source)
         at com.sun.javacard.samples.SecureRMIDemo.SecurePurseImpl_Stub.getBalance(Unknown Source)
         at SecureClient.main(SecureClient.java:60)Please help me, I cant find the reason for this exception.
    thank you
    sebastaian

    Oh, thanks for pointing at the JCRE Spec, it is very informative, but i still have not found the problem yet.
    If i understand everything right, the communication's flow is
    SecureClient <-> PINCardAccessor <-> SmartCardIOAccessor <-> MySecurityService <-> SecurePurseImpl (with help of SecurePurseApplet)
    probably i made a mistake in a protocol of one or more layers.
    - MySecurityService, SecurePurseImpl and SecurePurseApplet are EXACTLY the one's from com.sun.javacard.samples.SecureRMIDemo of JCDK 2.2.1, so there cant be any mistake (?).
    - SmartCardIOAccessor worked fine in my RMIDemo tests, see http://forums.sun.com/thread.jspa?threadID=5405634&tstart=15 - there is also the implementation)
    - SecureClient must be obviously correctly
    so maybe it's something about PINCardAccessor? hmm...i havent found anything, but here is the complete code:
    import javax.smartcardio.CardException;
    * Copyright © 2003 Sun Microsystems, Inc. All rights reserved.
    * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
    * @(#)SecureOCFCardAccessor.java     1.11 03/07/08
    public class PINCardAccessor extends SmartCardIOAccessor {
        public PINCardAccessor(boolean debug) throws CardException {
              super(debug);
         private static final byte INS_SELECT   = (byte)0xA4;
        private static final byte APDU_CMD_MASK = (byte)0xFC;
        private static final byte CLA_ISO7816 = (byte)0x00;
        private static final byte CLA_AUTH = (byte)0x80;
        private static final byte INS_AUTH = (byte)0x39;
        private static final boolean debug2 = false;
        /** Modifies the data and calls super.sendCommandAPDU to perform the actual send.
         * The data returned from the smart card is returned by this method within
         * the <CODE>ResponseAPDU</CODE> object
         * @param apdu The command APDU to be sent to the smart card
         * @return The response APDU returned from the card. <CODE>null</CODE> if none available.
         * @throws Exception if a communication error or timeout occurred
        public byte[] exchangeAPDU( byte[] sendData ) throws java.io.IOException{
            System.out.println("Send Data:"+SmartCardIOAccessor.getHexString(sendData));
            final boolean select = isSelect(sendData);
            byte[] dataWithChecksum;
            if(select) {
                dataWithChecksum = new byte[ sendData.length ];
                System.arraycopy(sendData, 0, dataWithChecksum, 0, sendData.length);
            else {
                dataWithChecksum = new byte[ sendData.length + 2];
                System.arraycopy(sendData, 0, dataWithChecksum, 0, sendData.length-1);
                dataWithChecksum[dataWithChecksum.length-1] = sendData[sendData.length-1];
                int Lc = dataWithChecksum[4];
                short csum = 0;
                for(short n = 5; n<Lc+5; ++n) {
                    csum += sendData[n];
                dataWithChecksum[Lc+5] = (byte) (csum>>8);
                dataWithChecksum[Lc+6] = (byte) (csum);
                dataWithChecksum[4] += 2;  // increase Lc
            if(debug2) {
                for(int i=0; i<dataWithChecksum.length;++i) {
                    System.out.print(Integer.toHexString(dataWithChecksum[i] & 0x00FF) + " ");
                System.out.println();
            byte[] receiveDataWithChecksum =  super.exchangeAPDU( dataWithChecksum );
            byte[] receiveData;
            if(debug2) {
                for(int i=0; i<receiveDataWithChecksum.length;++i) {
                    System.out.print(Integer.toHexString(receiveDataWithChecksum[i] & 0x00FF) + " ");
                System.out.println();
                System.out.println();
            if(!select)  // verify the checksum
                int Le = receiveDataWithChecksum.length - 2;   // 2 bytes reserved for SW
                if(debug2) {
                    System.out.println("Le=" + Le);
                short csum1 = 0;
                for(short n = 2; n<Le; ++n) {
                    csum1 += receiveDataWithChecksum[n];
                short csum2 = (short)
                (receiveDataWithChecksum[receiveDataWithChecksum.length - 2]<<8)
                |
                (receiveDataWithChecksum[receiveDataWithChecksum.length - 1] & 0x00FF)
                if(debug2) {
                    System.out.println("csum1=" + csum1);
                    System.out.println("csum2=" + csum2);
                System.out.println("csum1=" + Integer.toHexString(csum1));
                System.out.println("csum2=" + Integer.toHexString(csum2));
                if(csum1 != csum2) throw new java.io.IOException("Wrong checksum on returned data");
                receiveData = new byte[receiveDataWithChecksum.length-2];
                System.arraycopy(receiveDataWithChecksum, 0, receiveData, 0, receiveData.length);
            else {
                receiveData = new byte[receiveDataWithChecksum.length];
                System.arraycopy(receiveDataWithChecksum, 0, receiveData, 0, receiveData.length);
            if(debug2) {
                for(int i=0; i<receiveData.length;++i) {
                    System.out.print(Integer.toHexString(receiveData[i] & 0x00FF) + " ");
                System.out.println();
                System.out.println();
            System.out.println("Receive Data:"+SmartCardIOAccessor.getHexString(receiveData));
            return receiveData;
        boolean authenticateUser( short ID ){
            byte[] externalAuthCommand = new byte[8];
            externalAuthCommand[0] = CLA_AUTH;
            externalAuthCommand[1] = INS_AUTH;
            externalAuthCommand[4] = 2;  // Lc
            externalAuthCommand[5] = (byte)(ID>>8);
            externalAuthCommand[6] = (byte)ID;
            externalAuthCommand[7] = 0x7F;
            try {
                byte[] response = this.exchangeAPDU( externalAuthCommand );
                if(response[0] != (byte)0x90 || response[1] != 0x00) return false;
                else return true;
            }catch (Exception e){
                return false;
        private boolean isSelect(byte[] buffer) {
            if(buffer.length < 2) return false;
            if((buffer[0]&APDU_CMD_MASK)==CLA_ISO7816 && buffer[1]==INS_SELECT) {
                if(debug2) {
                    System.out.println("accessor: select command");
                return true;
            else {
                return false;
    }

  • Error Report when calling Java thru C

    Currently we have encountered some issues with our C code calling java module in NT- Itanium 64bit machine. We get the following error message (we don't get this on the 32 bit):
    Another exception has been detected while we were handling last error.
    Dumping information about last error:
    ERROR REPORT FILE = (N/A)
    PC = 0x0000000077f69684
    SIGNAL = -1073741819
    FUNCTION NAME = (N/A)
    OFFSET = 0xFFFFFFFF
    LIBRARY NAME = (N/A)
    Please check ERROR REPORT FILE for further information, if there is any.
    Good bye.
    Has anybody seen this and has any suggestions? using JDK 1.4
    Thanks

    I was thinking JVM should the classpath when it is invoked. But obviously it is not and we need to assign the classpath ourselves when invoking from native side. Thanks for pointing that out. For other people's benefit the following is the code piece I for initializing JVM.
    char* str1;
              char* str2;
              char* classpath;
              str1 = "-Djava.class.path=";
              str2 = std::getenv("CLASSPATH");
              classpath = (char*)malloc(strlen(str1) + strlen(str2) + 1);
              strcpy(classpath, str1);
              strcat(classpath, str2);
              if (str2 == NULL)     {
                   printf("CLASSPATH environment variable is not defined.");
                   exit(1);
              m_VmArgs.version = JNI_VERSION_1_4;
              m_options[0].optionString= classpath;
              m_VmArgs.options = m_options;
              m_VmArgs.nOptions = 1;
              m_VmArgs.ignoreUnrecognized = JNI_TRUE;
              JNI_GetDefaultJavaVMInitArgs(&m_VmArgs);
              /* Create the Java VM */
              m_Res = JNI_CreateJavaVM(&m_Jvm, (void**)&m_Env, &m_VmArgs);
              if (m_Res < 0) {
                   printf("Can't create JVM\n");
                   exit(1);
    thanks,
    chancellor

  • Getting an Error WIJ20002 while trying to create a webi report in infoview

    Hi,
    We are getting an error " The Webintelligence Report Panel cannot connect to the server.Close the report panel and try to connect again or see your Business Objects Administrator ( WIJ20002)" only for a single universe.
    Please suggest how can we fix this error.
    Regards
    Chaitanya

    I am giving you couple of scenario based on which this error might occur.I include below a selection of what would seem to be the more relevant ones in your case. Please review these and try the suggested solutions and then let us know the outcome in each case.
    Scenario1:
    When creating a new document based on linked universes in InfoView 6.5.x, the following error message appears:
    "The WebIntelligence Java Report Panel cannot connect to the server. Close the report panel and try to connect again or see your BusinessObjects administrator. (Error: WIJ 2002)."
    When you click on details, the following error message appears:
    "java.lang.IllegalStateException: Cannot load DS; no ID set
    at com.bo.wp.om.OMDataProvider.getDataSource(OMDataProvider.java:192)
    at com.bo.wp.tc.TCMain.newDocument(TCMain.java:807)
    at com.bo.wp.tc.TCMain.initDocument(TCMain.java:649)
    at com.bo.wp.tc.TCMain.initClient(TCMain.java:1253)
    at com.bo.w.tc.thread.InitAppletRunner.run(InitAppletRunner.java:82)
    at java.lang.Thread.run(Unknown Source)"
    Resolution:
    In Supervisor, the user does not have the Import Universe right in the designer.
    Enable the Import Universe right for the user, and ensure they have rights at the user and group level.
    Scenario2:
    In BusinessObjects version 6.5, when attempting to create a new WebIntelligence report using the Java Query Panel, one of the following error messages appears:
    "The Web Intelligence Java Report Panel cannot connect to the server. Close the report panel and try to connect again or see your Business Objects Administrator (Error: WIJ 20002)"
    or
    u201CWeb Intelligence cannot retrieve this document due to a server problem or an error in the document structure. See your Business Objects Administrator".
    Also, the bottom of the Java applet window states Launching new document.
    Resolution:
    The error messages occur because either the universe file name contains an ampersand character (u201C&u201D) in the name or the .unv or .unw files used by the Java Query Panel have become corrupted.
    To resolve the error messages
    Navigate to <installation directory>:/Business Objects/BusinessObjects Enterprise 6/nodes/<server name>/<cluster name>/universes/.
    Remove the .unv file for the derived universe.
    Navigate to <installation directory>: /Business Objects/BusinessObjects Enterprise 6/nodes/<server name>/<cluster name>/universes/<universe domain name>/ucdz.
    Remove the .unw file for the derived universe.
    Remove the ampersand character ("&") from the universe name.
    Scenario3:
    Problem:
    Error: "The WebIntelligence Java Report Panel cannot connect to the server. Close the report panel and try to connect again or see your BusinessObjects administrator. (Error: WIJ 20002)" when you try to open the Java Report Panel.
    Resolution:
    ****CONFIGURATION*****
    WebIntelligence version 6.1b
    Windows 200 Server SP4
    IIS 5
    JDK 1.42_03
    **********SYMPTOMS******
    You try to open the Java Report Panel and you receive the following error:
    "The WebIntelligence Java Report Panel cannot connect to the server. Close the report panel and try to connect again or see your BusinessObjects administrator. (Error: WIJ 20002)"
    *********CAUSE*************
    You do not have the correct permissions to access files from the wiasp virtual directory. The virtual directory and all sub-directories were initially configured to use "Scripts only" or "None".
    *********RESOLUTION*****
    Here are the steps to follow:
    1. Open the Internet Information Services Manager Console.
    2. Expand the "Default Web Site" and "wiasp" directories.
    3. Right-click each of the following directories, and in Properties for each, set the respective value for Execute Permissions:
    scripts = "Scripts"
    viewers = "Scripts"
    bin = "Scripts and Executables"
    classes = "Scripts"
    onlineguides = "Scripts"
    help = "Scripts"
    distribution = "Scripts" or "None"
    Scenario4:
    Problem:
    Error: "WebIntelligence Java Report Panel cannot connect to the server (WIJ 20002)" when attempting to create a new report
    Resolution:
    ****CONFIGURATION*****
    WebIntelligence 6.5.x
    **********SYMPTOMS******
    You attempt to create a new report using the Java panel based on a universe. The universe list appears as expected, but upon selecting the universe you receive an error similar to the following:
    "The WebIntelligence Java Report Panel cannot connect to the server. Close the report panel and try to connect again or see your BusinessObjects administrator. (WIJ 20002)"
    *********CAUSE*************
    There is a connectivity issue to the universe and/or document domain. The universe list is still displayed because that information is cached.
    *********RESOLUTION*****
    Here are the steps to follow:
    1. Log into Supervisor as a General Supervisor.
    2. Go to Tools > Repository to open the Repository Management dialog where domain connections are listed.
    3. Test the document and universe domain connections and update where needed to establish connectivity.
    Scenario5:
    Problem:
    Error: "WIJ 20002" when launching the Java Report Panel on a Windows 2003 Server.
    Resolution:
    ****CONFIGURATION*****
    WebIntelligence version 6.5
    Windows 2003
    IIS 6
    **********SYMPTOMS******
    You launch the Java Report Panel on a Windows 2003 Server and receive the following error:
    The WebIntelligence Java Report Panel cannot connect to the server. Close the report panel and try to connect again or see your Business Objects administrator. (Error: WIJ 20002).
    *********CAUSE*************
    This error message appears because ISAPI (Internet Server Application Program Interface) extensions are disabled by default on IIS 6.
    *********RESOLUTION*****
    Here are the steps to follow to enable ISAPI extensions:
    1. Click Start > All Programs > Administrative Tools > Internet Information Services (IIS) Manager.
    2. Expand the "" beside the server name by clicking the "" icon.
    3. Select "Web Service Extensions."
    4. Select "All Unknown ISAPI Extensions" from the right pane and click "Allow."
    5. Restart the IIS web server.
    I know it's a bit long but i hope this will help you to some extent in troubleshooting WIJ2002 Error.

  • Error creating iPad mobile reports

    I have a question specifically on creating mobile reports.  I have searched as many places as I could find for this answer and have found nothing except ipad connection and mobile usage instructions.  I must confess upfront that I am new to working with this system.
    Background:
    We have successfully connected to the iPad and I can see and download my reports.  Per the instructions, the reports are in the Mobile category and show up correctly in the iPad app.  I can open the reports, but that is where the issue starts.  The server setup is BusinessObjects XI 3.1 SP4 and BusinessObjects Mobile SP4. 
    My understanding is that these reports are basic Web Intelligence reports that are sized for the iPad's screen.  I am using InfoView to create these WebI reports through the browser-based Java GUI -- as the instructions suggest.  The instructions suggest many design best-practices and suggest that pie charts and bar charts are available.
    Problem
    I have created the most basic report that contains only a table and a pie chart (I tried the bar chart too).  When viewing this on the iPad, the table shows up formatted nicely but the pie chart has an error message in its place that says "This content is not supported".
    i have taken the "Features Sample" report called "Formatted Report for Drill" and copied into the mobile folder.  I appears on the iPad with tables shown nicely and all graphs replaced with the same "This content is not supported" error.
    Can anyone tell me what I am doing wrong? 
    Thanks.

    After posting the question, I found this document:
    Link: [SAP BusinessObjects Mobile Release Notes|http://help.sap.com/businessobject/product_guides/boexir31SP4/en/400_mobile_for_iPad_rn_en.pdf]
    which describes many unsupported features and partially explains the issues I'm seeing. 
    On some reports I can switch to simpler graphs (basic 2D pie, etc) and the graph will work on the iPad.  But there are others where I cannot get any graph to work.  I'm still working on that...

  • JAVA error when exporting to reporting schema ODDM 4.1

    When attempting to export a design to a reporting schema, we received the following error:
    ERROR ReportsHandler - error exporting to reporting schema:
    java.lang.classcastException: oracle.dbtools.crest.model.design.relational.column cannot be cast to oracle.dbtools.crest.model..design..relational.columnView
    at oracle.dbtools.crest.exports.reports.RSViewColumn.export (RSViewColumns.java:43
    at oracle.dbtools.crest.exports.reports.RSRelationalModel.export (RSRelationalModel.java:62)
    at oracle.dbtools.crest.exports.reports.ReportsHandler.export (ReportsHandler.java:135)
    at oracle.dbtools.crest.swingui.ControllerApplication$ExportToReportsSchema$1.run (ControllerApplication.java:2079)
    We downloaded and installed ODDM 4.1 (EA-1) build 4.1.0.866 to resolve an issue with column widths when exporting to the reporting schema (per SR 3-10154440761).  This is the 64 bit version with the included JAVA 1.8 JRE.

    David,
    We migrated this model from data modeler 3.3.  That Model was created from an import from Oracle Designer.  We have not yet tried to import the data model from Oracle Designer directly into v4.1 but are planning to do so shortly.   When we tried to export that design (from v3.3) to the reporting schema, it failed with object too large for column errors.  We wrote SR 3-10154440761 and were advised by Michael Wickham to use v4.1 EA as the column size issue had been resolved in this version.  It was apparent that the export to the reporting schema was making more progress before it failed on the JAVA error.
    We are trying to migrate from Oracle designer to Oracle Data Modeler

  • Java Language Specification error reports

    Well, I wanted to report a typo in The Java Language Specification, Third Edition (http://java.sun.com/docs/books/jls/download/langspec-3.0.pdf), so from http://java.sun.com/docs/books/jls/ I clicked on the "feedback form" link (which points at http://developers.sun.com/contact/feedback.jsp?&category=doc&mailsubject=Java%20Language%20Specification%20Feedback). This was redirected to http://www.oracle.com/technetwork/community/join/overview/index.html which offers no such feedback form. Consider this sort-of-broken link as the first problem I'm reporting.
    The second problem is in the aforementioned pdf, section 4.8 (Raw Types), page 58, where on can read:
    "The type of the member(s) of Inner depends on the type parameter of Outer. If Outer is raw, Inner must be treated as raw as well, as their is no valid binding for T."
    This should be instead:
    "The type of the member(s) of Inner depends on the type parameter of Outer. If Outer is raw, Inner must be treated as raw as well, as there is no valid binding for T."
    I think a forum category should be created for just this: error reports about the documentation (pdfs, APIs, support web pages).
    Edited by: Urhixidur on 2011-09-08 09:23

    Your intentions are admirable, but you are probably wasting your time. This is a forum for Java development related questions and 99.5% of the visitors are not related to Oracle at all. most likely nothing will be done with your information.
    I think a forum category should be created for just this: error reports about the documentation (pdfs, APIs, support web pages).It is a good idea actually, but such a thing would need very tight moderation and then there is still the question of how to arrange that something is actually done with the reports.

  • Create a Crystal Report using Java

    Hi
    Im Using Java 6 to connect to a Crystal Reports server. Im trying to create a common API that we can use throughout our office for integration with Crystal Reports.
    But Im having troubles with my method to upload/create a report. If I create a new Report Object via the Business Objects Central Management Console then everything is fine, but I get some funnies when I do it via Java.
    My upload code is like this :
    IInfoObjects newObjs = infoStore.newInfoObjectCollection();
    IPluginInfo pluginInfo = infoStore.getPluginMgr().getPluginInfo(CeProgID.REPORT);
    IInfoObject newObj = newObjs.add(pluginInfo);
    IReport myReport = (IReport)newObj;
    myReport.setTitle("title");
    myReport.setParentID(parentId);
    IFiles files = myReport.getFiles();
    files.addFile(file);
    infoStore.commit(newObjs);
    Now that all works fine and I get no errors. When I look at the Central Management Console I can see the newly created Report, but when I click on it I dont get any of the standard tabs. i.e. 'Properties', 'History' etc, but I do get an error message on the screen that simply says "An internal error has occurred"
    I cant find anything in the logs to tell me what this error is, and my steps to create/upload the report seem to match every example I have found.
    Can anyone help with this problem?
    Thanks for your time

    cwhiteside, please don't post in threads that are long dead. When you have a question, start your own topic. Feel free to provide a link to an old post that may be relevant to your problem.
    I'm locking this thread now.
    db

  • Error in phase creating java users during installation!!

    Hi,
    We are getting error at step "Creating java Users" while installing NW 2004s SR1  non unicode dual stack on HP Ux Pa Risc 64 bit with database Oracle 10g.
    Erro logs of file /tmp/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS/sapinst_dev.log are as:
    ==================================================================================================
    ERROR      2011-07-21 13:20:37
               CJSlibModule::writeError_impl()
    CJS-30197  . For more details see output of logfile:
    TRACE      [iaxxejsbas.hpp:460]
               EJS_Base::dispatchFunctionCall()
    JS Callback has thrown unknown exception. Rethrowing.
    ERROR      2011-07-21 13:20:37 [iaxxgenimp.cpp:736]
               showDialog()
    FCO-00011  The step createJSF with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CI_Instance|ind|ind|ind|ind|11|0|NW_CI_Instance_Doublestack|ind|ind|ind|ind|2|0|createJSF was executed with status ERROR .
    =================================================================================================
    Also please note that we have already 1 instance (dual stack) on same host and that is running fine.
    Could someone please assist us in proceeding further.
    Regards
    Joy Garg

    Hi,
    Issue gets resolved by  extracting manualy from JAVA_DVD_DIR/J2EE_OSINDEP/J2EEINSTALL.SAR to SAPINST install directory using SAPCAR. The path of this install directory is:/tmp/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS/install as:
    > pwd
    /tmp/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS/install
    > SAPCAR -xvf /SW/NW_2004s_SR1Java_based_SW_Comp/J2EE_OSINDEP/J2EE-INST/J2EEINSTALL.SAR
    Once we have extracted the J2EEINSTALL.SAR relaunch SAPINST again and the installation continue.
    Regards
    Joy garg
    Once you will have extracted the J2EEINSTALL.SAR please launch SAPINST again and the installation will continue.

  • Error when attempting to create new Crystal Report against SAP BW

    We're getting an error when attemptiing to create a new report using the SAP toolbar in CR:
    "Failed to retrieve SSO2 logon ticket. Please contact your BW administrator".
    Any ideas? We're able to run existing reports fine. Just can't create new ones using the toolbar.

    Hi,
    but you do realize that it is a pre-requisite ?
    your BW system needs to be configured for reading and generating SSO token
    Ingo

  • Creating a Linked Report in SC 2012 - Operations Manager fails with Error

    Hello everyone,
    I was trying to create a linked report based on an availability report recently. I found Emre Guclu's scom linked report creation guide here:
    http://blogs.technet.com/b/emreguclu/archive/2011/10/13/using-linked-reports-in-scom-to-create-custom-availability-reports-for-specified-monitors.aspx
    I go to SSRS web console and select a report (Which is Microsoft.SystemCenter.DataWarehouse.Availability in Microsoft.SystemCenter.Datawarehouse.Reports), select "Create a Linked Report" from context menu, select another location for storing the
    report just like on this guide but i get an error rsWrongItemType with exact text:
    "The operation you are attempting on item ' Microsoft.SystemCenter.Datawarehouse.Reports/ Microsoft.SystemCenter.Datawarehouse.Availability' is not allowed for this item type. rsWrongItemType"
    Does anyone know why is this error happening and better how to fix this?
    Below is the screenshot of SSRS.

    Hi,
    Please check the report path you have set, the location must specify the full report path, such as
    /custom report folder/MyReport.
    Alex Zhao
    TechNet Community Support

  • Creating a sample report using JAVA SDK

    Hi,
    I am trying to create a sample report using JAVA SDK.
    I slelect 4 "free cells" and pass 4 different strings to it.
    I even slelect the font colour and size. When i run the class and try to view the report in Infoview, I only seeblank blocks without any data. Now if I edit the report from infoview, and save the changes, I am able to see the data.
    My issue is, Why am I not able to see the data when I run the java code.
    Please find teh code below.
    package com;
    import java.awt.Color;
    import java.io.FileOutputStream;
    import java.util.ArrayList;
    import java.util.Date;
    import java.util.List;
    import com.businessobjects.rebean.wi.BinaryView;
    import com.businessobjects.rebean.wi.DataProvider;
    import com.businessobjects.rebean.wi.DataProviders;
    import com.businessobjects.rebean.wi.DataSource;
    import com.businessobjects.rebean.wi.DataSourceObject;
    import com.businessobjects.rebean.wi.DocumentInstance;
    import com.businessobjects.rebean.wi.DocumentLocaleType;
    import com.businessobjects.rebean.wi.FontImpl;
    import com.businessobjects.rebean.wi.FreeCell;
    import com.businessobjects.rebean.wi.HTMLView;
    import com.businessobjects.rebean.wi.OutputFormatType;
    import com.businessobjects.rebean.wi.PageHeaderFooter;
    import com.businessobjects.rebean.wi.Query;
    import com.businessobjects.rebean.wi.Recordset;
    import com.businessobjects.rebean.wi.Report;
    import com.businessobjects.rebean.wi.ReportBody;
    import com.businessobjects.rebean.wi.ReportCell;
    import com.businessobjects.rebean.wi.ReportContainer;
    import com.businessobjects.rebean.wi.ReportElement;
    import com.businessobjects.rebean.wi.ReportEngine;
    import com.crystaldecisions.sdk.framework.CrystalEnterprise;
    import com.crystaldecisions.sdk.framework.IEnterpriseSession;
    import com.crystaldecisions.sdk.framework.ISessionMgr;
    import com.crystaldecisions.sdk.occa.infostore.IInfoObject;
    import com.crystaldecisions.sdk.occa.infostore.IInfoObjects;
    import com.crystaldecisions.sdk.occa.infostore.IInfoStore;
    import com.crystaldecisions.sdk.plugin.CeKind;
    public class Aug7th {
          * @param args
         public static void main(String[] args) {
              // TODO Auto-generated method stub
              String CMS = "pundl8136:6400";
              String userID = "srivas";
              String password = "morcom123";
              String auth = "secEnterprise";
              List<String> entire =new ArrayList<String>();
              List<String> country =new ArrayList<String>();
              List<String> resort =new ArrayList<String>();
              IEnterpriseSession enterpriseSession;
              try
                   ISessionMgr mySessionMgr = CrystalEnterprise.getSessionMgr();
                   enterpriseSession = mySessionMgr.logon(userID, password, CMS,auth);
                   if (enterpriseSession != null)
                   {//Create and store useful objects for the session.
                        IInfoStore iStore = (IInfoStore)enterpriseSession.getService("InfoStore");
                        ReportEngine reportEngine = (ReportEngine)enterpriseSession.getService("WebiReportEngine");
                        IInfoObject infoView = null;
                        String str = "SELECT SI_ID, SI_NAME, SI_PARENTID FROM CI_INFOOBJECTS WHERE (SI_KIND = '"+CeKind.WEBI+"' OR SI_KIND='FullClient') " +
                        "AND SI_INSTANCE = 'false' AND SI_NAME='Structure Test_001_Java' ORDER BY SI_NAME ASC ";
                        //String str = "SELECT SI_ID, SI_NAME, SI_PARENTID FROM CI_INFOOBJECTS ORDER BY SI_NAME ASC ";
                        IInfoObjects objInfoObjectsWIDs = (IInfoObjects) iStore.query(str);
                        System.out.println(objInfoObjectsWIDs.size());
                        IInfoObject objInfoObjectWID = (IInfoObject) objInfoObjectsWIDs.get(0);
                        DocumentInstance doc = reportEngine.openDocument(objInfoObjectWID.getID());
                        DataProviders dps = doc.getDataProviders();
    //                     Retrieve the 1st data provider
                        DataProvider dp = dps.getItem(0);
    //                     Retrieve the universe objects
                        DataSource ds = dp.getDataSource ();
                        Query q = dp.getQuery();
                        Recordset rs = dp.getResult(0);
    //                     0: assume query has one flow
                        rs.first();
    //                     Print the column types. They can be Integer, String,
    //                     or Date.
                        for (int i = 0; i < rs.getColumnCount(); i++) {
                        Class c = rs.getColumnType(i);
                        StringBuffer sbt = new StringBuffer();
                        if ( c.equals(Integer.class) )
                        sbt.append("Integer");
                        if ( c.equals(String.class) )
                        sbt.append("String");
                        if ( c.equals(Date.class) )
                        sbt.append("Date");
                        sbt.append(";");
                        System.out.println(sbt.toString());
                        System.out.println(rs.getColumnCount());
                        while (!rs.isLast()) {
    //                          column names
                             StringBuffer sbn = new StringBuffer();
                             StringBuffer sbd = new StringBuffer();
                             for (int j = 0; j < rs.getColumnCount(); j++) {
                             sbn.append( rs.getColumnName(j).toString() );
                             sbn.append(";");
                             System.out.println("sbn "+sbn.toString());
    //                          data
                             for (int k= 0; k< rs.getColumnCount(); k++) {
                             sbd.append( rs.getCellObject(k).toString() );
                             sbd.append(";");
                             entire.add(rs.getCellObject(k).toString());
                             System.out.println("sbd "+sbd.toString());
                             rs.next();
                        System.out.println(entire.size());
                        for(int i=0;i<entire.size();i++){
                             country.add(entire.get(i));
                             i++;
                             System.out.println("entireList "+entire.get(i));
                             resort.add(entire.get(i));
                        DataSourceObject city = ds.getClasses().getChildByName("Country");
                        DataSourceObject resorts = ds.getClasses().getChildAt(1);
                        dp.runQuery();
                        ReportContainer report = doc.createReport("Resort");
                        PageHeaderFooter header = report.getPageHeader();
                        FreeCell headerCell = header.createFreeCell("Resort Report");
                        PageHeaderFooter footer = report.getPageFooter();
                        FreeCell footerCell = footer.createFreeCell("Report Ends");
                        ReportBody body =  report.createReportBody();
                        for(int k=0;k<resort.size();k++){
                        FreeCell res=body.createFreeCell(resort.get(k));
                        res.getAttachTo();
                        res.setHeight(15d);
                        res.setWidth(30d);
                        Color c = new Color(255,255,255);
                        Color c1 = new Color(255,0,0);
                        FontImpl fnt = (FontImpl)res.getFont();
                        fnt.getDecoration().setTextColor(c1);
                        res.setFont(fnt);
                        //res.deleteAttachment();
                        //res.setAttachTo(body,VAnchorType.BOTTOM,HAnchorType.NONE);
                        doc.applyFormat();
                        doc.refresh();
                        final String l_docToken = doc.getStorageToken();
                        final DocumentInstance l_docToSave = reportEngine.getDocumentFromStorageToken(l_docToken);
                        doc.saveAs("mor31",835,null,null);
                        doc.closeDocument();
                        str = "SELECT SI_ID, SI_NAME, SI_PARENTID FROM CI_INFOOBJECTS WHERE (SI_KIND = '"+CeKind.WEBI+"' OR SI_KIND='FullClient') " +
                        "AND SI_INSTANCE = 'false' AND SI_NAME='mor31' ORDER BY SI_NAME ASC ";
                        //String str = "SELECT SI_ID, SI_NAME, SI_PARENTID FROM CI_INFOOBJECTS ORDER BY SI_NAME ASC ";
                        objInfoObjectsWIDs = (IInfoObjects) iStore.query(str);
                        System.out.println(objInfoObjectsWIDs.size());
                        objInfoObjectWID = (IInfoObject) objInfoObjectsWIDs.get(0);
                        DocumentInstance doc1 = reportEngine.openDocument(objInfoObjectWID.getID());
                        String token = doc1.getStorageToken();
                        DocumentInstance doc2 = reportEngine.getDocumentFromStorageToken(token);
                        doc2.saveAs("123123", 835, null, null);
                   //     doc.refresh();
                        //doc.save();
                   enterpriseSession.logoff();
              catch(Exception e)
                   e.printStackTrace();

    duplicate post:
    Sample report using JAVA SDK

Maybe you are looking for