BOE XI 3.0 SDK connection

Hi all,
I am trying to connect via SDK to BO Edge 3.0, with the following code:
import com.crystaldecisions.sdk.exception.SDKException;
import com.crystaldecisions.sdk.framework.CrystalEnterprise;
import com.crystaldecisions.sdk.framework.CrystalEnterprise.*;
import com.crystaldecisions.sdk.framework.IEnterpriseSession;
import com.crystaldecisions.sdk.framework.ISessionMgr;
import com.crystaldecisions.sdk.framework.IEnterprisePrincipal;
import com.crystaldecisions.sdk.framework.*;
import com.crystaldecisions.sdk.occa.infostore.IInfoObjects;
import com.crystaldecisions.sdk.occa.infostore.IInfoStore;
import com.crystaldecisions.sdk.plugin.desktop.user.IUser;
import com.crystaldecisions.sdk.occa.infostore.*;
public class test
     public static void main(String args[]) throws Exception
          try
               //Modify these values for your system
               String cms = "XXXX:6400";
               String username = "Administrator";
               String password = "";
               String auth = "secEnterprise";
               IEnterpriseSession boEnterpriseSession = CrystalEnterprise.getSessionMgr().logon( username,password,cms,auth);
          catch(Exception e)
               System.out.println("Exceptions in main");
               System.out.println(e);
To compile the code I am executing the following:
C:\temp>javac -cp "C:\Program Files\Business Objects\common\4.0\j
ava\lib\cecore.jar";"C:\Program Files\Business Objects\common\4.0\java\lib\celib
.jar";"C:\Program Files\Business Objects\common\4.0\java\lib\cesession.jar";"C:\
Program Files\Business Objects\common\4.0\java\lib\ceplugins_core.jar";"C:\Progr
am Files\Business Objects\common\4.0\java\lib\biarengine.jar";"C:\Program Files\
Business Objects\common\4.0\java\lib\biplugins.jar";"C:\Program Files\Business O
bjects\common\4.0\java\lib\ceplugins_client.jar";"C:\Program Files\Business Obje
cts\common\4.0\java\lib\ceplugins_cr.jar";"C:\Program Files\Business Objects\com
mon\4.0\java\lib\ceutils.jar";"C:\Program Files\BusinessObjects\common\4.0\java\
lib\corbaidl.jar";"C:\Program Files\Business Objects\common\4.0\java\lib\ebus405
.jar";"C:\Program Files\Business Objects\common\4.0\java\lib\flash.jar";"C:\Prog
ram Files\Business Objects\common\4.0\java\lib\legacy_SL_plugins.jar";"C:\Progra
m Files\Business Objects\common\4.0\java\lib\logging.jar";"C:\Program Files\Busi
ness Objects\common\4.0\java\lib\pluginhelper.jar";"C:\Program Files\Business Ob
jects\common\4.0\java\lib\xcelsius.jar";"C:\Program Files\Business Objects\commo
n\4.0\java\lib\external\asn1.jar";"C:\Program Files\Business Objects\common\4.0\
java\lib\external\backport-util-concurrent-2.2.jar";"C:\Program Files\Business O
bjects\common\4.0\java\lib\external\certj.jar";"C:\Program Files\Business Object
s\common\4.0\java\lib\external\commons-logging.jar";"C:\Program Files\Business O
bjects\common\4.0\java\lib\external\derby.jar";"C:\Program Files\Business Object
s\common\4.0\java\lib\external\freessl201.jar";"C:\Program Files\Business Object
s\common\4.0\java\lib\external\jsafe.jar";"C:\Program Files\Business Objects\com
mon\4.0\java\lib\external\log4j.jar";"C:\Program Files\Business Objects\common\4
.0\java\lib\external\sslj.jar" "C:\temp\test.java"
It creates the class file, but when executing the next error is shown:
C:\temp>java test
Exception in thread "main" java.lang.NoClassDefFoundError: com/businessobjects/f
oundation/logging/LoggerManager
        at com.crystaldecisions.sdk.framework.CrystalEnterprise.<clinit>(Crystal
Enterprise.java:86)
        at changepassword.main(test.java:25)
Anyone knows if is there any configuration missing???
Many thanks!!!!
Bea

Thanks!
Does not support? Where is it written?
And what is the jar file that you think it is missing???
I have unzipped all the files included in the import clauses in the java file, and everything is there... Well, it seems to be there!!! any ideas?
Thanks again!
Bea

Similar Messages

  • BOE XI 3.0 SDK

    Hi Everybody,
    I am new to this forum.
    In our office, we have installed Business Objects Enterprise XI 3.0 recently.. Previously we have the Release 2 version. Using the SDK from release 2, we have created .net application to show the reports from Business objects. But when we migrated from release 2 to 3.0, the issue gets started... we couldn't find the .net SDK for 3.0 and I am getting only the SDK runtime for 3.1.
    My question is,
    Is BusinessObjects Enterprise XI 3.0 doesn't come up with .net SDK and it is only support Java?
    Regards,
    Prakash

    Hello Prakash,
    You are correct - BOE XI 3.0 does not include the .NET SDK.  The .NET SDK was included with BOE XI 3.1.  You'll need to move to XI 3.1 in order to upgrade your XI R2 application.
    You should be abel to consult your sales person, or create an SAP Business Objects support incident with the Enterprise Install team for additional assistance in getting your BOE XI 3.0 system upgraded correctly to 3.1.
    Sincerely,
    Dan Kelleher

  • RFC SDK, connect with japanese username to a unicode SAP system

    Hello everybody,
    I try to connect with a japanese username to a unicode SAP system. I use VC++ and make the call like this:
         BYTE utf8_byteArray[10] = {0xE3, 0x81, 0x8A, 0xE3, 0x81, 0x99, 0xE3, 0x81, 0x99, 0x00 };
         CString sJapUser(utf8_byteArray);
         sConnectParam.Format( cU("CLIENT=%s USER=%s PASSWD=%s LANG=%s SYSNR=%d ASHOST=%s PCS=2"),
                             "800",
                             sJapUser,
                             "password",
                             "EN",
                             1,
                             "9.22.104.145");
         hRfc = ::RfcOpenEx( (char*)(LPCTSTR)sConnectParam, &error_info);
    I tried it with different codepages and PCS settings (1/2) too but i always get the error:
    "Name or password is incorrect (repeat logon)"
    When I connect to a non unicode japanese system in locale encoding it works.
    Another thing i saw is that the utf8 string is truncated after 12 bytes (12 character/bytes is the limit of user name length). When I use a japanese username with 6 japanese symbols (18 bytes in utf8) I see the following in the RFC trace:
    rfcOpenHooked
        destination             <unknown>
        mode                    3
        conopt 3 hostname       9.22.104.145
        conopt 3 sysnr          1
        conopt 3 use_l_bal      0
        conopt 3 use_sapgui     0
        client                  800
        user                    おすすめ (here the username misses 2 japanese characters)
        language                E
        trace                   0
    L-GetCodePage (DEFAULT-CP) rc = 0: 1100
    Here the username is correct:
    >>> RfcOpenEx ...
    Got following connect_param string:
       CLIENT=800 USER=おすすめダウ PASSWD=******* LANG=EN SYSNR=1 ASHOST=9.22.104.145 CODEPAGE=4110 PCS=2
    Send RFCHEADER: 01/LIT/IEEE/SPACE/4110
    Send UNICODE-RFCHEADER: cp:4110/ce:IGNORE/et:5/cs:1/rc:0x00000023
    In the RFC trace the username is truncated (only 12 bytes(4 characters) instead of 18 bytes (6 characters))
    000160 | 44657369 676E0130 0111000C E3818AE3 |Design.0........|
    000170 | 8199E381 99E38281 01110117 000C905F |..............._|
    000180 | E417BBAC 1DDD543E CE540117 01140003 |......T>.T......|
    To connect with japanese usernames using the SAP-GUI works fine but the rfc traces show that the connection is established in another way.
    Can anyone help me with this or is it just impossible to use japanese usernames for logon with RFC.
    Thank you in advance.

    Please note the header of this forum: "This forum is dedicated to all other development-related questions which are not directly addressed by other forums. This includes Business Objects SDKs, products, or technologies which do not fall under BusinessObjects Enterprise, BusinessObjects Edge, Crystal Reports Server, or Crystal Reports (for example Desktop Intelligence SDK, Universe Designer SDK, Portal Integration Kits, Java User Function Libraries, and other third party technologies or development languages). "
    I do not think you are using any of the products described above. Please post to the correct forum.
    Ludek

  • RFC SDK connect call fails for NW2004s SPS13 if password in lowercase

    Hi all,
    I am running a sample rfc program on solaris m/c.
    SAP server details
    2004s SPS13
    I am using a communication user to connect to server using RFC SDK.
    If i connect to the server with password in smaller case it gives aerror message
    "Name or password is incorrect"
    But if i give the password in capital case,it works fine.
    BAsically i have to create a user with acapital password to work fine on SPS13
    ON SPS12 it worked fine for lower case password.
    Best Regards
    Manoj

    Please note the header of this forum: "This forum is dedicated to all other development-related questions which are not directly addressed by other forums. This includes Business Objects SDKs, products, or technologies which do not fall under BusinessObjects Enterprise, BusinessObjects Edge, Crystal Reports Server, or Crystal Reports (for example Desktop Intelligence SDK, Universe Designer SDK, Portal Integration Kits, Java User Function Libraries, and other third party technologies or development languages). "
    I do not think you are using any of the products described above. Please post to the correct forum.
    Ludek

  • Error Integrating BOE via KM in Portal : Connection Refused

    Hi
    I am following the steps outlined on http://wiki.sdn.sap.com/wiki/display/BOBJ/IntegrateBOEXI3.1intoaKMNavigationintoSAPEP+portal in order to integrate BOE content into the portal via KM iViews.
    I create the repository, and it shows up in the KM Content area, but as soon as I click on it, I get the following error:
    java.net.ConnectException: Connection refused
    I check the default trace file from NWA, and there are a bunch of error messages, starting with this one:
    com.sapportals.wcm.repository.ResourceException: Invalid root sid. It must be an Integer representing the SI_ID on CMS.
    I have used the default ID (23), which corresponds to the ID of the root folder in BOE. I have also tried using the ID of another folder, still with the same error message.
    I have checked the security settings on the folder(s), and the user group Everyone has Full Access, so I don't think it is an access problem.
    Any ideas on how I can get this working?
    Cheers,
    Andrew

    Hi Andrew
    Have you find a solution?
    br
    Murat

  • Configure SSO Connection from SAP Enterprise Portal to BOE Server

    Hi Guys,
    We recently installed a BOE Server and want to connect it to our SAP Enterprise Portal. What we need is just to display the Crystal Reports via Enterprise Portal. We have set up the following:
    SAP EP with AD Authentication
    SAP EP configured with SNC to SAP BI7 system
    SAP BOE XI 3.1 - SAP Integration Kit
    BOE Server configured with SAP Authentication via SAP BI7 System
    We've also set up BOE IK iviews and URL iviews pointing to existing reports in BOE. However, when we access it from EP, it prompts for a username and login to BOE. Is there a way to configure these so that there is no prompt for login to BOE server and SSO is used? Is it also possible to have a service account (e.g. domain/crystal) that will run the reports in BOE everytime a user accesses a report from SAP EP?
    Let me know if this is at all possible

    Hi,
    You should configure InfoView for SSO first, which required infoview.xml file modification, using windows AD default authentication. If you want to utilize the OpenDocument URL for iView then you also need to configure OpenDocument.xml file for SSO also. The SAP portal must have trust relation with the SAP BW server so the Windows AD token can be authenticate with SAP BW server.
    If you want crystal user to run all the report then you will lose data security. It can be done by hard coding user name and password in the report properties and database logon but the SSO capability can be accomplished only by windows AD, SAP or LDAP.
    For more details check BOXI Admin guide and SAP Integration Guide.
    Thanks,
    Muhammad

  • BOE 3.1 Service Pack 2 SDK changes

    We are getting ready to install Service Pack 2 in our BOE 3.1 environment.  In a test VM I have installed the SP and noticed that the dsws.jar files that are in the SDK directory (common\4.0\java\lib) are, in general, older than the dsws..jar file that are in webapps\dswsbobje\WEB-INF\lib directory.  Does this mean that the SDK did not get updated when the service pack was installed?  Can we continue to use the older files?

    Hi Ted,
    my post is about the same subject - BOE 3.1 SP2 SDK changes
    >> PromptsUtil isn't deprecated for BusinessObjects Enterprise SDK.
    PromptsUtil is marked as deprecated in 3.1 SP2 SDK. This is what I see in eclipse:
    @deprecated Class PromptsUtil is deprecated
    public class PromptsUtil
    Regards,
    Alexey

  • Trusted Authentication possible with Wed Sevices SDK? BOE - 3.1

    Hi,
    We are planning to upgrade to BOE 3.x. We have integrated our application with BOE using Wed Services SDK. I'd like to know if we can implement the trusted authentication using the web services APIs in BOE 3.x.
    Apparently the question was posted here before but no answers -
    Re: trusted authentication.
    Thanks
    Manas

    XI 3.1 Service Pack 2.
    Configure Trusted Authentication on the CMC.   Ensure TrustedPrincipal.conf file with the shared secret is in the <INSTALL>/BusinessObjects Enterprise 12.0/win32_x86 folder.
    If you look in dswsbobje/WEB-INF/classes/dsws.properties, you'll see a property trustedAuthentication.enabled set to false.
    Set it to true, then restart the dswsbobje Java Web Application Server.
    Then you only need to pass in domain (CMS name) and username to the Session Web Services for logon.
    Note that if you do the above, it'll use Trusted Authentication for all requests coming into dswsbobje - i.e., no longer need to pass in passwords.
    So you really need to put something in front of dswsbobje, to authenticate any requests going in.
    Sincerely,
    Ted Ueda

  • How to configure crystal report xml file as data source in BOE in Solaris?

    Hi,
    How to configure crystal reports from xml file as data source in Solaris? I didn't find any suitable driver for xml / excel files for sun solaris.
    Which driver i have to use to connect xml file to crystal report to view my crystal report in solaris BOE?
    And the same way excel file as data source for crystal report.
    Thanks

    Hi Don thanks for the reply,
    In windows environment I donot have any problem when creating crystal report from Xml file and Excel file. After creating reports when I publish those into boe server in solaris, getting connection failed error.
    My solaris BOE server doent have any network connection with windows machines. So i have to place the files in solaris server.
    Below the steps what I tried:
    1. Created crystal reports from cr designer in windows using ADO.Net(xml) and in another try with Xml webservices drivers. Reports works well as it should.
    2. Saved in BOE repository in Solaris server from crystal reports and changed database configuration settings as:
        -Used custom database logon information and specified cr_xml as custom driver.
        -Chnaged database path to file directory path according to solaris server file path </app/../../>
        -tried table prefix also
        - Selected radio button use same database logon as when report is run saved.
    My environment :
    SAP BOXI3.1 sp3
    crystal reports 2008 sp3
    SunOS
    Cr developing in windows 7.
    For Excel I tried with ODBC in windows but I can't find any ODBC or JDBC drivers for Excel in solaris.
    Any help to solve my issues
    Thanks
    Nagalla

  • Business Objects Enterprise SDK application.

    Hi All,
    I am planning to develop a custom web application using BOE 3.1 java SDK's.
    I would like to create only application level users, these users would be mapped with a single BO user account to create enterprise session.
    That means, My application "A" will have say 10 users (i.e. 10 userid and passwords). All these users will their different sets of userid's and passwords (custom application users), they can login into the application using application level credentials,  however to login into the enterprise the application will internally use only one BO user credential (i.e. only one named user acount info.)
    eg:
    user1-login -> application>logins using BO userX userid and password>BO Enterprise session created
    user2-login -> application>logins using BO userX userid and password>BO Enterprise session created
    user3-login -> application>logins using BO userX userid and password>BO Enterprise session created
    and so on.
    The idea is to purchase only one named user licence and create many application level users to login into BOE; but using the same BO user account.
    Is this approach legal in-terms of licensing?
    Would appreciate any help on this.
    Regards,
    Jon

    Hello Adam,
    Thank you very much.
    Please see the following post:
    Business Objects Enterprise 3.1 Licensing
    Tim says:
    names means you can have five users created, any amount logged on concurently (i.e the administrator could have 10 sessions, usera 20 etc no limit) But you can only create 5 different users names
    that means 1 Named user eg: 'A'  can login into the enterprise using his credentials and create any amount of enterprise sessions concurrently for self right??
    Each named user is for a specific user and not to be shared. If you were using concurrent user licensing, than this would be ok to use one enterprise user account.
    5 Concurrent linceses means one user account created in enterprise but, account info can be shared with 5 users, so they can login using same credentials and create five different enterprise sessions?? right?
    so, I can purchase one- 5 concurrent user license and share it with 5 users? OR purchase 5 named user licences and share it with 5 users?
    Either ways my understanding is number of users=number or linceses available (named or concurrent). please correct me if I am wrong.
    Now, which one is cost effective named user lincenses or concurrent?
    Awaiting your response.
    Regards,
    Jon

  • Is there SDK for import function in business view manager?

    Every time we deploy crystal objects to customers' environment, we have to import xml files one by one in business view manager. Now I'm working on a c# program(vs2005) to realize importing a batch of xml files. My design is to collect file names from customers first and import them by calling some SDK of import one by one each time. But I could not find such kind of SDKs. All information I got is related to InfoObjects for BOE. Is there SDK for importing xmls in business view manager?

    There currently is no SDK for the Business View Manager.
    Jason

  • How to decrease timeout value when there is no response from BOE server?

    We are using BOE XI R2 .NET SDK to logon BOE XI R2 Server as below as well as using Infoview/CMC logon BOE:
    set boSessionManager = Server.CreateObject("CrystalEnterprise.SessionMgr")
    set boEnterpriseSession = boSessionManager.Logon(boUserID, boPassword, boCMS, boAuthType)
    There is no response for long time from BOE server after I excuting log on BOE using .NET SDK or Infoview/CMC App for more than one minute.
    So I want to timeout the logon atction after a certain time such as one minute if there is no response from BOE server.
    My question comes:
    1. What is the default timeout value for this operation?
        Where can I find it and how to modify it?
    2. I found ther are some registry keys on .NET APP Server:
        HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 12.0\Report Application Server\InprocServer\EnterpriseRequestTimeout
        HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 12.0\Report Application Server\Client SDK\CorbaAdapter\WaitReplyTimeout
    Are they for the action timeout I mentioned above? If not, what do they work for?
    It seems that WaitReplyTimeout is for report data retrieval timeout according to Kbase article 1199286 and which registry setting to change for long running reports, is it correct?
    Thanks for any response.
    Thanks,
    Sunny

    I don't think there is a setting available for this.  The timeouts you are looking at are essentially how long to wait for a report to process.
    My concern about trying to find a setting like this is that if you do get the client (aka SDK) to timeout after one minute, the CMS may still recieve this request shortly after and logon, creating a session that no longer has a handle to it and will then have to wait for it to timeout because of inactivity which would tie up a license.

  • Forgotten BOE and Mysql passwords

    Hi,
    We used to run BOE XI 3.1 on Windows server 2003.
    The system hasnt been used in about 2 years, and we now need to revive it. But we have no recollection of the usernames\passwords for any of it.
    I've managed to reset the Mysql password, and reset the password for BOE(Like ive read in other forums), but this has resulted in not being able to access the CMC - the page dosnt show up. Im assuming because BOE wont be able to connect to the db, because of the new password.
    Is there any way to change the Mysql connection settings for BOE?
    Regards,

    Hi Jeff,
    Thanks for the quick reply.
    Managed to resolve it:
    Had to go into the Central Configuration Manager... Click on properties... Then the configuration tab... then click on specifiy - It allowed me to specify the new password there.
    Regards,

  • VB PMSDK CONNECT ERROR

    the p6 version is p6v7 ,os is windowxp sp3 32-bit use the oracle xe database
    the p6 sdk odbc configure as follow
    database alias value is pmsdk
    public password for databse alias pubuser
    public username for databse alias pubuser
    use vb6.0 to debug the ODBC connect with th e source code as follow:
    Private Sub Command2_Click()
    Dim sdk As New pmsdk.VDB
    Set sdk = New pmsdk.VDB
    Call sdk.Connect(xe, admin, admin, "pmsdk")
    End Sub
    return the error: invalid value in set alias

    Hi,
    Is the https port is assigned in your environment?
    Please check the same in SMICM under services. Also check all the parameters.
    Regards,
    Raja. G

  • FAQ: failed to connect to the Java on Raspberry

    Frequently people have issues connecting development (Netbeans, ME SDK, device manager, etc) host with Java on the RPi board. There might be multiple reasons for that. I'll try to list known causes and the ways to fix them
    Typically the problems shows itself like:
    EmbeddedExternalDevice1 is not present in Netbeans project configuration/Platform dialog
    Device manager (in windows tray) shows device connection status as "Connecting"
    Running the project or ME SDK (emulator.exe -Xjam) does not open ME SDK window
    Attempt to run project opens ME SDK window but application installation never completes
    The trivial things to verify are:
    First of all check that IP connectivity with the board (e.g. ping the board IP)
    Ensure you have Java started on the board ("sudo ./usertest.sh")
    RPi board IP shall be added to device manager (icon in tray) as an address to connect to
    Make sure you have only one instance of ME SDK connected with one Java ME runtime/RPi board (e.g. form multiple PCs). Note that Java ME will allow for mutliple connections but all of these connections will be unstable and unusable
    If all the above is good but you still have the problem there seem to be more serious issue
    Check that you have ME runtime and ME SDK of exactly the same version ("8.0 GA", "8.1 EA" or "latest developer build". In the latter case the "latest build" shall have exactly the same number). The versions must mach exactly. If not sure - download again and reinstall
    Latest Netbeans is suggested as well. Please note that current Netbeans 8.0 is not fully ME8-ready. The full ME8 support will appear a bit later in Netbeans 8.0 patch 2 release
    Check that you have proper permissions for all ME runtime files on RPi (sometimes even running under sudo does not help to read some files, e.g. on network mounted drives)
    If you have updated ME SDK please make sure to stop device manager (from tray icon) and remove it's work dir (c:/Users/<user>/javame-sdk) and start emulator.exe (without parameters)
    Please note that if you run proxy.jar manually (skip this step if you don't know what it is) you have to have no instance of ME SDK connected to the RPi. Or alternatively if you connect ME SDK you shall have no proxy.jar manually started
    If nothing of the above helps please do the following:
    Stop device manager (using icon in windows tray)
    Delete c:/Users/<user>/javame-sdk
    Start device manager (e.g. by running emulator.exe)
    Try to connect
    Post here your c:\Users\<user>\javame-sdk\8.0\log\device-manager.log and c:\Users\<user>\javame-sdk\8.0\work\EmbeddedExternalDevice1\device.log (if any)
    I'll add more hints here along the way
    Regards,
    Andrey

    Hi Andrey,
    Connection to the RPi is intermittent. There are several exceptions in the logs.
    I have attached the log files. I have a wired and a wireless connection to the RPi.
    1. I ping the RPi from my PC - fine
    2. I can see tthe RPi IP address registered in the device manager - fine.
    3. I run the example, the AMS window opens and an error dialog pops up saying "Connection lost to the device".
    Also, I have trouble SSH ing to the RPi sometimes. The wired works fine but the wireless is the issue.
    Can you please help.
    Thanks.

Maybe you are looking for