Java sdk location

Running Kbuntu dapper
When installing i did not enter the correct path to the java sdk, not when i start i get an error message,
I have tired download a new copy but the problem still persists, does anyone know how to set the location of the java sdk. I have had a poke around in the .conf files but cant seem to find anything.
Many thanks
Karl Smolka

Don't use de JDK that comes whit kubuntu. Download the selfextracting package from Sun. The install it in your home user directory.
Delete the file .sqldeveloper from your home user directory.
When you start sqldevelor point it to the JDK in your home directory, it'll work.
By the way having that JDK around will help for other things, the JDK package of kubunto installs all in the distribution directories what is really right, but some aplications ask for the full JDK in one exact location. So it's better to have it around.
FJA

Similar Messages

  • Where is BusinessObjects Enterprise Java SDK jars located(BO XI3.1)?

    We need to import Business Objects Enterprise Java SDK's jar files. However, there is no document or forum post that have the directory for version BOXI3.1.
    By searching for the cecore.jar file, we find a directory that contains many Business Objects Enterprise Java SDK jar files:
    D:\Business Objects\BusinessObjects Enterprise 12.0\warfiles\WebApps\BusinessProcessBI\WEB-INF\lib
    Is this the correct directory for the Business Object Enterprise jar files?
    We imported bellow SDK jar files:
    asn1.jar
    cecore.jar
    celib.jar
    ceplugins_client.jar
    ceplugins_core.jar
    ceplugins_cr.jar
    cereports.jar
    certj.jar
    cesession.jar
    ceutils.jar
    clientplugins.jar
    commons-codec-1.3.jar
    commons-logging-1.1.jar
    corbaidl.jar
    ebus405.jar
    flash.jar
    freessl201.jar
    jsafe.jar
    logging.jar
    pluginhelper.jar
    postprocessing_oca2service.jar
    publishing_oca2service.jar
    rasapp.jar
    rascore.jar
    reporttemplate.jar
    serialization.jar
    SL_plugins.jar
    webreporting.jar
    xbean.jar
    xcelsius.jar
    XcelsiusSLPlugins.jar
    Is this the complete list that we should import for X3.1? there are some files like commons-codec-1.3.jar, it looks a Apache jar file, not the SDK's jar file. shall i include such files as well?

    Don't know why I see this error when I am creating the SessionMgr object even though I have the CrystalDecisions.Enterprise.Framework and CrystalDecisions.Enterprise.InfoStore referenced:
    SessionMgr sessionMgr = new SessionMgr();
    Retrieving the COM class factory for component with CLSID {E063B04A-CB8B-460E-99D0-F7D8FA2FAAA2} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).

  • Downloading and Installing Java SDK for AIX

    Could anyone please tell me where can i download Java SDk for AIX and how to install it before installing SAP?
    Thanks in Advance

    Hi Mega,
    You can downloads Java SDK 1.4.2 from this location, just choose the OS,
    https://sdlc5d.sun.com/ECom/EComActionServlet;jsessionid=CA558AF3F6842F61D26641D9A6853DCA
    installation is very simple, just copy the downloaded file and execute by running <b>./<name of the file>.sh</b> at the command prompt.
    Regards
    Juan
    Please reward with points if helpful

  • Read Before Posting - Where to find Business Objects Java SDK Resources

    Before posting you should look through the various resources below for the answers to your questions. A lot of the "how to" or "where can I find" questions are already answered in the material below.
    Search the Forums
    Use the search feature in these forums to see if your question has already been answered.
    SDK Libraries
    [BI 4.0|http://www.sdn.sap.com/irj/boc/sdklibrary]
    [BusinessObjects Enterprise XI 3.0|http://www.sdn.sap.com/irj/boc/sdklibrary?rid=/webcontent/uuid/90db428d-71ba-2e10-7eb7-d3286eec5ac0]
    [BusinessObjects Enterprise XI Release 2|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm]
    [BusinessObjects Enterprise XI Release 1|http://devlibrary.businessobjects.com/BusinessObjectsXI/en/devlib.htm]
    Crystal Enterprise 10, Not available online.
    [Online Viewable JavaDocs|http://help.sap.com/javadocs/index.htm#sapbobj]
    SAP Notes
    (Formerly known as the Business Objects Knowledge Base)
    This is a good location to find known issues, look up error messages, and general tips and tricks with the BusinessObjects Enterprise product line.
    [https://service.sap.com/notes] (this requires logon to the SAP Service Marketplace).
    Crystal Reports Server, Crystal Reports and Xcelsius SAP Notes are accessible here:
    [https://www.sdn.sap.com/irj/sdn/businessobjects-notes]
    Sample Code Search
    [BusinessObjects Enterprise SDK|https://wiki.sdn.sap.com/wiki/x/HQBmBQ]
    [RAS SDK|https://wiki.sdn.sap.com/wiki/x/HgBmBQ]
    [Web Services SDK|https://wiki.sdn.sap.com/wiki/x/HwBmBQ]
    [Report Engine SDK|https://wiki.sdn.sap.com/wiki/x/IABmBQ]
    [Crystal Reports Java SDK|https://wiki.sdn.sap.com/wiki/x/JgBmBQ]
    [Java Reporting Component SDK|https://wiki.sdn.sap.com/wiki/x/JwBmBQ]
    Business Objects Downloads
    - Service Packs and Fix Packs
    - Merge Modules and Installation Packages
    - Sample Reports and Databases
    [http://service.sap.com/bosap-downloads] (requires logon to SAP Service Marketplace).
    Crystal Report For Eclipse
    [WIKI|https://www.sdn.sap.com/irj/boc/crystalreports-java]
    [Product Portal|https://www.sdn.sap.com/irj/boc/crystalreports-java]
    Crystal Reports Server, Crystal Reports, and Xcelsius Downloads
    [https://www.sdn.sap.com/irj/sdn/businessobjects-downloads]
    Business Objects Articles
    [https://www.sdn.sap.com/irj/sdn/businessobjects-articles]
    Edited by: Aasavari Bhave on Oct 25, 2011 8:49 AM

    Thanks. That was useful.
    -Rajini

  • Retrieve underlying SQL query for deski report via java SDK in BOXIR2

    Hi all,
    I am trying to retrieve underlying SQL queries of a deski report in BOXIR2. However I find the error as
    oDataProvider = oDocumentInstance.getDataProviders().getItem(i1);               
    System.out.print(oDataProvider.getName());
    oSQLDataProvider = (SQLDataProvider) oDataProvider;
    oSQLContainer_root = oSQLDataProvider.getSQLContainer();
    But "This feature is not supported for desktop Intelligence " exception has occured.
    I am running the same query for Webi, and I did not find any issue . After several time spending in google, it appears to me that this code is supported by webi only. But "This feature is not supported for desktop Intelligence " exception has occured.
    Please help me to find out the solution in java SDK. If its not supported by Java SDK, then could you please provide me any workaround , e.g. any macro . Any help !!
    Regards,
    Nita
    Edited by: Nita Prasad on Aug 11, 2009 11:20 AM
    Edited by: Nita Prasad on Aug 11, 2009 11:25 AM

    Hi Fritz,
    I am not getting the way.. how to open the deski report programmatically. I am writing the code in this way:
    Dim oInfoObjects1 As CrystalInfoStoreLib.InfoObjects
            Set oInfoObjects1 = oInfoStore.Query("SELECT * FROM CI_INFOOBJECTS WHERE SI_NAME='" & oInfoObject.Title & "' AND SI_ID='" & oInfoObject.Id & "' order by SI_NAME")
        Dim oInfoObject1 As CrystalInfoStoreLib.InfoObject
        Dim UserCount1 As Integer
            UserCount1 = oInfoObjects1.ResultCount
            MsgBox "SELECT * FROM CI_INFOOBJECTS WHERE SI_NAME=' " & oInfoObject.Title & " ' AND SI_ID=' " & oInfoObject.Id & " ' order by SI_NAME"
            MsgBox " Total number of Deski reports are : [" & UserCount1 & "]", vbOKOnly
        Dim j As Integer
         For j = 1 To UserCount1
          Set oInfoObject1 = oInfoObjects1.Item(i)
                sFile_ReportList = StrConv(oInfoObject1.Title, vbLowerCase) & ".rep"
                sFile_Output = "D:\TraceWrite1\ " & StrConv(oInfoObject1.Id & "_" & oInfoObject1.Title, vbLowerCase) & ".txt"
                sFile_ReportListTemp = StrConv(oInfoObject1.Files.Item(j), vbLowerCase)
                MsgBox "[" & sFile_ReportList & "]", vbOKOnly
                        If Dir(sFile_ReportList) = "" Then
                MsgBox "The text file [" & sFile_ReportList & "] for the DeskI documents does not exist!" & vbCrLf & "Aborting process."
                Exit Sub
                End If
    I am getting the error on line ...  If Dir(sFile_ReportList) = "" Then...  The code is not able to locate the deski report path.
    Is this the correct way to get a deski report information? Please let me know, If I am going in the right direction.
    Edited by: Nita Prasad on Aug 18, 2009 3:47 PM

  • How to use Java SDK to schedule a report in business objects

    hi guys i am having a scenario , were the Java SDK will be passing the parameters dynamically to the report in business objects . the Java SDK is kicked by the file based events. this Java SDK will be on the unix server and the business object is also on the unix server. I am having the crystal reports in boe which need to be triggered by the Java SDK . such that the report is scheduled to a particular location on the unix  for every week,when the java passes the parameters to the report in boe
    Edited by: americansalt on Nov 4, 2010 11:30 AM

    You can do this by using the BOE SDK. Here are some samples:
    http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/806fc83f-18ba-2b10-f2b9-cbb49963fc93
    Regards,
    Stratos

  • How to uninstall Java SDK 1.5.0_14

    Dear,
    I just installed a brand new Solaris 10 and latest patch cluster.
    Default on my system are the following 2 folders under /usr/jdk:
    j2sdk1.4.2_11 and jdk1.5.0_06
    I installed the Java SDK 1.5.0_14, but in the wrong destination folder.
    When I check my Java version with "Java -version"
    java version "1.5.0_06"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
    Java HotSpot(TM) Server VM (build 1.5.0_06-b05, mixed mode)
    Why I don't have the latest one, the SDK 1.5.0_14 ?
    My question: I want a proper situation with only the Java SDK 1.5.0_14 installed.
    How do I remove Java SDK 1.5.0_14.
    How do I remove Java SDK 1.5.0_6
    Do I have to remove the 1.4.2_11 ?
    Thx guys...

    Thx for your answer...
    I want to have the installation of Java SDK 1.5.0_14 in a different location ?
    Can I just move the folder ?
    But I guess it's better to do uninstall and re-install it ?
    Right ?
    Thx in advance guys... (I'm not yet worked in in this stuff...)

  • How to Uninstall Java SDK Eval Package?

    First, some background info: I am not a Java programmer, but I need to have the Java SDK v1.4.1 (or later) installed on my Solaris 8 Sparc platform in order to be able to run some 3rd-party web-based database software tools.
    I accidentally installed the 'evaluation' Enterprise version of the Java SDK v1.4.1. I did not uninstall the underlying 1.2.1_04 JDK, so that still shows up when I run the "java -version" command, probably because I did not use the 'pkgadd' utility to add the eval SDK. Now I want to erase the evalware, but I'm afraid I might clobber something else in the process. How do I go about uninstalling the eval SDK?

    Thx for your answer...
    I want to have the installation of Java SDK 1.5.0_14 in a different location ?
    Can I just move the folder ?
    But I guess it's better to do uninstall and re-install it ?
    Right ?
    Thx in advance guys... (I'm not yet worked in in this stuff...)

  • Missing Java SDK component...how to reinstall just that component?

    We seem to be missing the Java SDK componet on our server, which is most likely the cause to why the CMS is not being found.
    Can this one component be reinstalled from the software cd?
    Thanks!

    I have just tried that...Tomcat looks to be installed.  I had to "start" the service.
    But somehow it still has not fixed the problem.
    I checked Add/Remove Program List and I don't see that Java SDK in the list, when I thought it had been there before.
    Leads me to believe that the Java did not install or install properly.
    I am considering a complete uninstall and then reinstall of the software.
    What files/directories/database locations should I be backing up before I attempt such a task?
    Thanks.

  • Java SDK in Fedora Core 3 (64 bit)

    Ok, I'm running on an AMD 64 so to install the java sdk I downloaded j2sdk-1_4_2_06-linux-ia64-rpm.bin. Next, I followed the instuctions located here: http://java.sun.com/products/archiv...tml#install-pkg
    This is what my terminal looked like:
    [root@localhost uphu]# chmod a+x j2sdk-1_4_2_06-linux-ia64-rpm.bin
    [root@localhost uphu]# ./j2sdk-1_4_2_06-linux-ia64-rpm.bin
                  Sun Microsystems, Inc.
              Binary Code License Agreement
                       for the
    JAVATM 2 SOFTWARE DEVELOPMENT KIT (J2SDK), STANDARD
    EDITION, VERSION 1.4.2_X
    [BLAH BLAH BLAH]
    Do you agree to the above license terms? [yes or no]
    yes
    Unpacking...
    Checksumming...
    0
    0
    Extracting...
    ./j2sdk-1_4_2_06-linux-ia64-rpm.bin: line 370: ./install.sfx.4032: cannot execute binary file
    Done.
    [root@localhost uphu]#So, any idea what's the matter?

    You write that you are running on the linux-amd64 platform:
    Ok, I'm running on an AMD 64 so to install the javaBut you grabbed the linux-ia64 (Itanium) install:
    sdk I downloaded j2sdk-1_4_2_06-linux-ia64-rpm.bin.That won't fly, as you discovered.
    ./j2sdk-1_4_2_06-linux-ia64-rpm.bin: line 370:
    ./install.sfx.4032: cannot execute binary file
    So, any idea what's the matter?You need linux-amd64 binaries to run on your amd64 machine This support was first released in the Tiger/1.5.0/5.0 release. If you must stay with 1.4.2, note that you can also run the linux-x86 binaries in 32-bit mode.
    ---To get the 32-bit Linux release (which will run on your AMD64
    machine), go to:
    http://java.sun.com/j2se/1.4.2/download.html
    click on Download J2SE SDK, accept the license, and look for:
    Linux Platform
    RPM in self-extracting file (j2sdk-1_4_2_06-linux-i586-rpm.bin, 33.63 MB)
    self-extracting file (j2sdk-1_4_2_06-linux-i586.bin, 34.73 MB)
    ---To get the native 64-bit SDK for linux-amd64, go to:
    http://java.sun.com/j2se/1.5.0/download.jsp
    click on Download JDK, accept the license, and look for:
    Linux AMD64 Platform
    Linux AMD64 RPM in self-extracting file (jdk-1_5_0-linux-amd64-rpm.bin, 39.14 MB)
    Linux AMD64 self-extracting file (jdk-1_5_0-linux-amd64.bin, 40.11 MB)

  • Whats is difference between Java JRE  and  Java SDK

    Hi,
    what is the difference between Java JRE and Java SDK...
    i think both of them have the same set of files to be installed...
    I am not able to understand where they differ

    The JRE (Java runtime Environment) contains just the stuff necessary to run Java and the SDK (System Development Kit) contains the extra stuff necessary (and also helpful) to develop in Java.

  • Installation Problem - Java SDK 1.4.1

    I have a problem with installing Java on my machine at home that you may be able to help me with.
    Here are the Details: 1) I installed the most recent java SDK on my machine. 2) I set the Autoexec file with the correct PATH statement. 3) Set the correct CLASSPATH statement 4) The "Java -Version" statement gives the correct reply that it is version 1.4.
    Below is my AutoExec.bat file
    SET windir=C:\WINDOWS
    SET winbootdir=C:\WINDOWS
    SET COMSPEC=C:\WINDOWS\COMMAND.COM
    SET PATH=C:\PROGRA~1\MICROS~3\OFFICE;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\ATF
    SET CLASSPATH=C:\J2SDK1_4\LIB\TOOLS.JAR;.;
    SET PROMPT=$p$g
    SET TEMP=C:\WINDOWS\TEMP
    SET TMP=C:\WINDOWS\TEMP
    Problem: Trying to compile a simple "HelloWorld" Program with "javac Helloworld.java" produces the error "Bad Command or File name".
    Issues: Command Line in Windows ME requires 8.3 format. Inserts tilde "~" and a number into the names of the files. even using a short name such as "HelWrld.java" inserts a tilde because of the "java" extension. Have tried using a "jav" extension but that does not work as the error is the same.
    Question: How can I get rid of the "Bad Command or File Name"?

    My First Java Progam (for Windows with Java 2 SDK v1.4.1)
    Follow these instructions EXACTLY.
    1. Download and install the Java 2 SDK, Standard Edition. You can find it here:
    http://java.sun.com/j2se/downloads.html
    Select the download for your operating system and be sure to download the SDK (rightmost column) and not the JRE. (The JRE is only the Java Runtime Environment, which does not include the Java compiler and other tools needed for software development).
    2. Read the README and installation instructions! Read these instead of asking questions about installation etc. in the Java forums.
    README for Java 2 SDK v1.4.1: http://java.sun.com/j2se/1.4.1/README.html
    Java 2 SDK v1.4.1 for Windows installation: http://java.sun.com/j2se/1.4.1/install-windows.html
    Things to note:
    - After installing, add the bin directory of the SDK to your PATH environment variable. For example, if you installed the SDK in C:\j2sdk1.4.1_01, add the directory C:\j2sdk1.4.1_01\bin to your PATH. (If you don't know what an environment variable is and how to set it, read the documentation of Windows; if you're using Windows XP, this might be useful: http://support.microsoft.com/default.aspx?scid=KB;EN-US;q310519& ).
    3. Open Notepad and type in your first program:
    public class HelloWorld {
    public static void main(String[] args) {
    System.out.println("Hello World!");
    Save this program somewhere with the filename "HelloWorld.java".
    Things to note:
    - The case of text is important. Don't type "Helloworld", "helloworld" or anything else. Also the case of the filename is important (even though Windows has case-insensive filenames!).
    - Watch out that Notepad doesn't append ".txt" to the filename. The file should be named "HelloWorld.java", not "HelloWorld.java.txt".
    4. Open a command prompt and go to the directory that contains the file "HelloWorld.java" (with the CD command).
    5. Compile the progam with the following command:
    javac HelloWorld.java
    Things to note:
    - If you get something like "Unknown command: javac" or "Bad command or filename", you did not (correctly) add the bin directory of the SDK to the PATH (see step 2).
    6. Run the program. If you didn't get any compile errors, you now have a new file "HelloWorld.class" in the same directory. Run the program with the following command:
    java HelloWorld
    Things to note:
    - If you get: "Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorld/class", you have typed "java HelloWorld.class". Leave off the ".class" at the end. You are typing a class name here, not a filename.
    - If you get something like: "Exception in thread "main" java.lang.NoClassDefFoundError: helloworld (wrong name: HelloWorld)", you have typed the class name wrong. Note that the case is important (i.e., don't type "helloworld" but "HelloWorld")!
    - You don't need to set any classpath here. In Java 1.4, the current directory is included in the classpath automatically. For older versions of Java, you may need to add the current directory (".") to the classpath, like this:
    java -classpath . HelloWorld
    7. Congratulations with your first working Java program. Now follow these links:
    Java Tutorial
    http://java.sun.com/docs/books/tutorial/
    New to Java Programming Center
    http://developer.java.sun.com/developer/onlineTraining/new2java/
    FAQ
    http://java.sun.com/products/jdk/faq.html
    How Classes are Found
    http://java.sun.com/j2se/1.4/docs/tooldocs/findingclasses.html
    Setting the class path
    http://java.sun.com/j2se/1.4/docs/tooldocs/win32/classpath.html
    JavaTM 2 SDK Tools and Utilities
    http://java.sun.com/j2se/1.4/docs/tooldocs/tools.html
    Jesper

  • How to create a report with data using the Crystal Reports for Java SDK

    Hi,
    How do I create a report with data that can be displayed via the Crystal Report for Java SDK and the Viewers API?
    I am writing my own report designer, and would like to use the Crystal Runtime Engine to display my report in DHTML, PDF, and Excel formats.  I can create my own report through the following code snippet:
    ReportClientDocument boReportClientDocument = new ReportClientDocument();
    boReportClientDocument.newDocument();
    However, I cannot find a way to add data elements to the report without specifying an RPT file.  Is this possible?  I seems like it is since the Eclipse Plug In allows you to specify your database parameters when creating an RPT file.
    is there a way to do this through these packages?
    com.crystaldecisions.sdk.occa.report.data
    com.crystaldecisions.sdk.occa.report.definition
    Am I forced to create a RPT file for the different table and column structures I have? 
    Thank you in advance for any insights.
    Ted Jenney

    Hi Rameez,
    After working through the example code some more, and doing some more research, I remain unable to populate a report with my own data and view the report in a browser.  I realize this is a long post, but there are multiple errors I am receiving, and these are the seemingly essential ones that I am hitting.
    Modeling the Sample code from Create_Report_From_Scratch.zip to add a database table, using the following code:
    <%@ page import="com.crystaldecisions.sdk.occa.report.application.*"%>
    <%@ page import="com.crystaldecisions.sdk.occa.report.data.*"%>
    <%@ page import="com.crystaldecisions.sdk.occa.report.document.*"%>
    <%@ page import="com.crystaldecisions.sdk.occa.report.definition.*"%>
    <%@ page import="com.crystaldecisions.sdk.occa.report.lib.*" %>
    <%@ page import = "com.crystaldecisions.report.web.viewer.*"%>
    <%
    try { 
                ReportClientDocument rcd = new ReportClientDocument();
                rcd.newDocument();
    // Setup the DB connection
                String database_dll = "Sqlsrv32.dll";
                String db = "qa_start_2012";
                String dsn = "SQL Server";
                String userName = "sa";
                String pwd = "sa";
                // Create the DB connection
                ConnectionInfo oConnectionInfo = new ConnectionInfo();
                PropertyBag oPropertyBag1 = oConnectionInfo.getAttributes();
                // Set new table logon properties
                PropertyBag oPropertyBag2 = new PropertyBag();
                oPropertyBag2.put("DSN", dsn);
                oPropertyBag2.put("Data Source", db);
                // Set the connection info objects members
                // 1. Pass the Logon Properties to the main PropertyBag
                // 2. Set the Server Description to the new **System DSN**
                oPropertyBag1.put(PropertyBagHelper.CONNINFO_CRQE_LOGONPROPERTIES, oPropertyBag2);
                oPropertyBag1.put(PropertyBagHelper.CONNINFO_CRQE_SERVERDESCRIPTION, dsn);
                oPropertyBag1.put("Database DLL", database_dll);
                oConnectionInfo.setAttributes(oPropertyBag1);
                oConnectionInfo.setUserName(userName);
                oConnectionInfo.setPassword(pwd);
                // The Kind of connectionInfos is CRQE (Crystal Reports Query Engine).
                oConnectionInfo.setKind(ConnectionInfoKind.CRQE);
    // Add a Database table
              String tableName = "Building";
                Table oTable = new Table();
                oTable.setName(tableName);
                oTable.setConnectionInfo(oConnectionInfo);
                rcd.getDatabaseController().addTable(oTable, null);
        catch(ReportSDKException RsdkEx) {
                out.println(RsdkEx);  
        catch (Exception ex) {
              out.println(ex);  
    %>
    Throws the exception
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: java.lang.NullPointerException---- Error code:-2147467259 Error code name:failed
    There was other sample code on SDN which suggested the following - adding the table after calling table.setDataFields() as in:
              String tableName = "Building";
                String fieldname = "Building_Name";
                Table oTable = new Table();
                oTable.setName(tableName);
                oTable.setAlias(tableName);
                oTable.setQualifiedName(tableName);
                oTable.setDescription(tableName) ;
                Fields fields = new Fields();
                DBField field = new DBField();
                field.setDescription(fieldname);
                field.setHeadingText(fieldname);
                field.setName(fieldname);
                field.setType(FieldValueType.stringField);
                field.setLength(40);
                fields.add(field);
                oTable.setDataFields(fields);
                oTable.setConnectionInfo(oConnectionInfo);
                rcd.getDatabaseController().addTable(oTable, null);
    This code succeeds, but it is not clear how to add that database field to a section.  If I attempt to call the following:
    FieldObject oFieldObject = new FieldObject();
                oFieldObject.setDataSourceName(field.getFormulaForm());
                oFieldObject.setFieldValueType(field.getType());
                // Now add it to the section
                oFieldObject.setLeft(3120);
                oFieldObject.setTop(120);
                oFieldObject.setWidth(1911);
                oFieldObject.setHeight(226);
                rcd.getReportDefController().getReportObjectController().add(oFieldObject, rcd.getReportDefController().getReportDefinition().getDetailArea().getSections().getSection(0), -1);
    Then I get an error (which is not unexpected)
    com.crystaldecisions.sdk.occa.report.lib.ReportDefControllerException: The field was not found.---- Error code:-2147213283 Error code name:invalidFieldObject
    How do I add one of the table.SetDataFields()  to my report to be displayed?
    Are there any other pointers or suggestions you may have?
    Thank you

  • How to get all permissions on server level and project collection level via tfs java sdk?

    i need to list project-collection level's permission and project level's permission on my project. now i have connected to tfs and i have got project collection list and user list via tfs java sdk. but i can't find the way to get the permission name list
    and permission list. how can i do to get that?
    i have checked the database, and find that the actions have some discrepancies with the tbl_securityaction'data.
    Can anyone give me some advice on that?
    davy

    David, Thanks for your reply.
    I have test the code above, but still get error. here is my code:
    final TFSTeamProjectCollection tpc = SnippetSettings.connectToTFS();
    final DefaultClientFactory factory = new DefaultClientFactory();
    final IIdentityManagementService2 ims = (IIdentityManagementService2)factory.newClient(IIdentityManagementService2.class, tpc);
    final String scopeId = null;
    final String[] propertyNameFilters = null;
    TeamFoundationIdentity[] appGroups = ims.listApplicationGroups(scopeId, ReadIdentityOptions.EXTENDED_PROPERTIES, propertyNameFilters, IdentityPropertyScope.BOTH);
    error message:
    java.lang.NullPointerException
    at com.microsoft.tfs.core.clients.webservices.IdentityManagementService2.listApplicationGroups(IdentityManagementService2.java:92).
    davy

  • How manage timeout Session using java SDK?

    Hi everyone !
    I'm working with BO 4.1 and the Java SDK. I'm refreshing and exporting webi reports in my code. But it happens, sometimes, the report takes longer to refresh (when calling "setPrompts") and the session is over (timeout like when you're connected in the Launchpad).
    Is there any specific way for me to test if the call to setPrompts ends without timeout? Because, now, if it ends by a timeout, I do not see anything and I'm exporting a blank document. No error or exception :-/
    Do I have to use de EnterpriseSession?
    Thanks in advance !

    Hi Jerome,
    To understand BO session management, refer to the below document.
    http://scn.sap.com/community/bi-platform/blog/2013/11/27/session-management-bible
    How do you specify that there is a timeout? Do you get timeout errors in web intelligence server logs?
    Check whether enterprise session is still valid.
    What is the approximate time delay you observe for setPrompts when you observe the timeout?
    -Prithvi

Maybe you are looking for