The problem to retrieve and edit Universe from server

I use CmsResourceService.retrieveUniverse to retrive *.unx from server to local.
Then , I use LocalResourceService to load *.blx and cast to RelationalBusinessLayer and throws exception in my program.
The exception is
NestedException Interface requested not found : csLIB
com.sap.tools.commons.exception.NestedException: Interface requested not found : csLIB
  at com.sap.tools.commons.exception.NestedException.create(Unknown Source)
  at com.businessobjects.mds.services.parser.decoder.DataFoundationSQLDecoder.getPRM(DataFoundationSQLDecoder.java:81)
  at com.businessobjects.mds.services.parser.decoder.DataFoundationSQLDecoder.<init>(DataFoundationSQLDecoder.java:96)
  at com.businessobjects.mds.services.parser.decoder.UniverseSQLDecoder.<init>(UniverseSQLDecoder.java:40)
  at com.businessobjects.mds.services.parser.EncodeDecodeHelper.decodeExpression(EncodeDecodeHelper.java:301)
  at com.businessobjects.mds.services.helpers.BindingHelper.decodeExpression(BindingHelper.java:250)
  at com.businessobjects.mds.services.helpers.BindingHelper.decodeResultExpression(BindingHelper.java:264)
  at com.sap.sl.sdk.authoring.businesslayer.internal.services.MdsToSdkBusinessLayerConverter.getResultExpression(MdsToSdkBusinessLayerConverter.java:336)
  at com.sap.sl.sdk.authoring.businesslayer.internal.services.MdsToSdkBusinessLayerConverter.copyBusinessItemProperties(MdsToSdkBusinessLayerConverter.java:296)
  at com.sap.sl.sdk.authoring.businesslayer.internal.services.MdsToSdkBusinessLayerConverter.createSdkItem(MdsToSdkBusinessLayerConverter.java:251)
  at com.sap.sl.sdk.authoring.businesslayer.internal.services.MdsToSdkBusinessLayerConverter.copyMdsToSdk(MdsToSdkBusinessLayerConverter.java:212)
  at com.sap.sl.sdk.authoring.businesslayer.internal.services.MdsToSdkBusinessLayerConverter.copyMdsToSdk(MdsToSdkBusinessLayerConverter.java:217)
  at com.sap.sl.sdk.authoring.businesslayer.internal.services.MdsToSdkBusinessLayerConverter.createSdkModel(MdsToSdkBusinessLayerConverter.java:146)
  at com.sap.sl.sdk.authoring.businesslayer.internal.services.BusinessLayerModelToModel.createSdkModel(BusinessLayerModelToModel.java:31)
  at com.sap.sl.sdk.authoring.local.internal.services.LocalResourceServiceImpl.createSdkBusinessLayer(LocalResourceServiceImpl.java:187)
  at com.sap.sl.sdk.authoring.local.internal.services.LocalResourceServiceImpl.loadInternal(LocalResourceServiceImpl.java:168)
  at com.sap.sl.sdk.authoring.local.internal.services.LocalResourceServiceImpl.load(LocalResourceServiceImpl.java:130)
  at com.sap.sl.sdk.authoring.samples.EditUniversesDemo.editUniverse(EditUniversesDemo.java:82)
  at com.sap.sl.sdk.authoring.samples.EditUniversesDemo.main(EditUniversesDemo.java:38)
Caused by: com.sap.connectivity.cs.core.CSError: Interface requested not found : csLIB
  at com.sap.connectivity.cs.extended.ImplementationManager.getImplementation(ImplementationManager.java:151)
  at com.sap.connectivity.cs.extended.ImplementationManager.getConfiguration(ImplementationManager.java:195)
  at com.sap.connectivity.cs.extended.NLDBProvider.populateMap(NLDBProvider.java:49)
  at com.sap.connectivity.cs.extended.NLDBProvider.getManager(NLDBProvider.java:157)
  at com.sap.connectivity.cs.extended.Provider.getEnvironment(Provider.java:93)
  at com.sap.connectivity.cs.extended.ConnectionServer.JobProfile(ConnectionServer.java:532)
  at com.sap.connectivity.cs.api.trace.EnvironmentLogger.JobProfile(EnvironmentLogger.java:609)
  at com.businessobjects.mds.services.relational.PrmProperties.getDbParameterSet(PrmProperties.java:1394)
  at com.businessobjects.mds.services.relational.PrmProperties.loadFunctions(PrmProperties.java:1437)
  at com.businessobjects.mds.services.relational.PrmProperties.loadParameters(PrmProperties.java:1411)
  at com.businessobjects.mds.services.relational.PrmProperties.<init>(PrmProperties.java:155)
  at com.businessobjects.mds.services.relational.CsService.getPRMProperties(CsService.java:1159)
  at com.businessobjects.mds.services.parser.decoder.DataFoundationSQLDecoder.getPRM(DataFoundationSQLDecoder.java:79)
  ... 17 more
Caused by: java.lang.UnsatisfiedLinkError: no cs_jni in java.library.path
  at java.lang.ClassLoader.loadLibrary(Unknown Source)
  at java.lang.Runtime.loadLibrary0(Unknown Source)
  at java.lang.System.loadLibrary(Unknown Source)
  at com.sap.connectivity.cs.library.ConnectionServer.<clinit>(ConnectionServer.java:330)
  at java.lang.Class.forName0(Native Method)
  at java.lang.Class.forName(Unknown Source)
  at com.businessobjects.connectionserver.ConnectionServer.getImplementation(ConnectionServer.java:428)
  at com.businessobjects.connectionserver.ConnectionServer.getInstance(ConnectionServer.java:132)
  at com.sap.connectivity.cs.extended.ImplementationManager.getImplementation(ImplementationManager.java:144)
  ... 29 more
But If I use IDT Tool to create unx in the local and publish to the server. I use the same program and I can load blx in the program without exception.

Hello Iris,
If you are using Eclipse IDE to run the application for Editing local business layer, please follow the below instructions:-
Add the jars in the class path by configuring the build path of your project & add all the jars from the location "C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\dataAccess\connectionServer\java". These jars contains the interfaces which is requested by Semantic Layer based applications.
Go for Run->Run Configurations->Arguments->VM Arguments. Define the location of your connection server such as -Dbusinessobjects.connectivity.directory="C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\dataAccess\connectionServer".
Go for Run->Run Configurations->Environment. Declare a new environment variable path specific to the java class & point it to the location C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86 which contains all the BusinessObjects DLL to make the communication between UNX universe to the database.
Build & Clean your project & run your application once again.
If you are using the standalone deployment, you can try the below steps:-
Create a batch file for compiling the java program containing Semantic Layer Java code.
declare the classpath & define all the libraries in the classpath from the below folder:
C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\dataAccess\connectionServer\java
C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\SL SDK\java
define the java compile command with the name of the java class along with the class path entries.
set the environment variable to point the BusinessObjects DLLs: C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86
define the java run command to run the java program along with the JVM argumnets: -Dbusinessobjects.connectivity.directory="C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\dataAccess\connectionServer
Please refer the attached txt file, convert the attached .txt file to .bat file, do the necessary changes according to your environments & try to run the batch file.
Hope it helps.
Thanks,
Shailendra

Similar Messages

  • How to store ,retreive and edit  data from an xml file

    I am new to XML. I am creating a phone book in JSP with backend as an XML file.How can I store retrieve and edit datas from a jsp file.
    Please provide me with examples.I dont want to use bean.
    Please provide examples

    You will have to do some leg-work yourself. You will probably want to use DOM to parse and manipulate your XML data. Xerces (xml.apache.org) is a good open source parser. There are extensive examples on their site.
    - Saish

  • Hello apple I have the problem with my iPhone and my friends have this problem too. My iPhone have the problem about calling and answer the call. When I use my iPhone to call I can't hear anything from my iPhone but the person that I call can answer it bu

    Hello apple
    I have the problem with my iPhone and my friends have this problem too.
    My iPhone have the problem about calling and answer the call. When I use my iPhone to call I can't hear anything from my iPhone but the person that I call can answer it but when answer both of us can't hear anything and when I put my iPhone to my face the screen is still on and when I quit the phone application and open it again it will automatic call my recent call. And when my friends call me my iPhone didn't show anything even the missed call I'm only know that I missed the call from messages from carrier. Please check these problem I restored my iPhone for 4 time now in this week. I lived in Hatyai, Songkhla,Thailand and many people in my city have this problem.
    Who have this problem??

    Apple isnt here. this is a user based forum for technical questions. The solution is to restart, reset, and restore as new which is in the manual after that get it replaced for hard ware failure. if your within your one year warranty its replaced if it is out of the warranty then it is 199$

  • Error when opening itunes : iTunes has stopped working ''A problem caused the program to stop working correctly''. When I repaired damaged files the problem still exists and also after uninstalling and redownloading and installing itunes. I have windows 8

    Error when opening iTunes : iTunes has stopped working '' A problem caused the program to stop working correctly''.
    When I repaired damaged files the problem still exists and also after uninstalling, redownloading and reinstalling iTunes.
    My pc is working with windos 8.
    Is there a solution?

    Hey there Rodney274,
    It sounds like you are getting an error from iTunes when you launch it. I would try the troubleshooting in this article named:
    iTunes for Windows Vista, Windows 7, or Windows 8: Fix unexpected quits or launch issues
    http://support.apple.com/kb/ts1717
    Start with troubleshooting for 3rd party plug ins section, then the rest of the article if needed:
    Start iTunes in Safe Mode
    Open iTunes in Safe Mode to isolate any interference from plug-ins or scripts not manufactured by Apple.
    Hold down Shift–Control while opening iTunes. You should see a dialog that says "iTunes is running in safe mode" before iTunes finishes starting up.
    Click Continue.
    See if the issue you're experiencing persists in Safe Mode.
    If you have the same issue while iTunes is in Safe Mode, proceed to the "Create a new user account" section. If you don't experience the same issue, follow these steps to remove third-party plug-ins.
    Thank you for using Apple Support Communities.
    Take care,
    Sterling

  • A different version of the problem loading raw images edited in LR 3.3 to CS4

    I have recently upgraded LR2 to LR3 (now up to 3.3). I have CS4 extended and ACR 5.7. Haven't printed for some months now because I have moved overseas (UK to Malaysia) until yesterday. The printing was a disaster because the colours printed are not as the finished print files. So I have been investigating (calibrated my monitor etc) and then I noticed any LR3 edited Nikon raw file when edited in CS4 carrying across the LR3 settings was so bad and very different to the LR3 version. The nice vibrant LR3 image was dull with inaccurate and toned down colours as though a piece of grey glass had been put in front of it.
    So I have read as many of the forum questions on the related issue and have not found an answer or more to the point a solution. I run a MacPro with the latest Snow Leopard OS but all of the fixes I have tried don't change the problem. Is it a compatability problem or an error by me due to some obscure setting or something else? Never had the problem with LR2 and the same Photoshop CS4 software.
    I also lost most of my LR2 edit setting for a good percdentage of the edited files when I upgarded to LR3. Don't know if this is related or another problem as now I have to redo all of the files that have lost their edited changes.
    I would appreciate any help in solving this/these issues.

    The question posted by me has not been answered and I am pulling my hair out trying to have my Lightroom/CS4 image processing work flow that has worked for nearly 2years back to normal.
    I might as well not have lightroom as opening a lightroom 3.3 edited image in CS4 removes all of the editing done in lightroom. This appears to be true since I upgraded to v 3.3. As one person who posted in another theme suggested I tried saving a Tiff of the lightroom changes which I did via Nik Efex (I do not know how to save a raw file as a Tiff in LR as I don't do it as part of my normal workflow) but it reverted to the totally unedited version of the raw file when it opened in CS4.
    Is there a problem with LR3.3 that Adobe are keeping quiet on. There was no warning when I picked uop the 'updated software' message when I opened LR a short while back. Now I am unable to use either as the processing route I use in LR is very fast compared to CS4 (in my view) and I do not have the time to completely change my work flow. I could revert back to LR3.2 but that may lose all of my editing and cause me no end of problems.
    As this is an Adobe forum I thought these problems would be discussed with a lot more answers.

  • My Adobe Acrobat 9 Standard stopped working after I performed an msconfig. I get the following message: "You cannot use this product at this time. You must repair the problem by uninstalling and reinstalling this product..." I installed this on Jan. 7, 20

    My Adobe Acrobat 9 Standard stopped working after I performed an msconfig. I get the following message: "You cannot use this product at this time. You must repair the problem by uninstalling and reinstalling this product..." I installed this on Jan. 7, 2010 and I have since misplaced the disk.
    How do I fix the problem?

    Hi Ali,
    You can download Acrobat 9 Std. from: https://files.acrobat.com/a/preview/8d640488-4a92-4f7d-b50b-d8eb7f96bff8
    and reinstall the software.
    Regards,
    Rave

  • TS3694 My iPad2 has repeatedly refused to update to iOS7, whether connected to a PC or not.  The error message indicates an unknown error has occurred, with error code 6.  Does anyone have any idea what the problem might be and how to solve it?  Many than

    My iPad2 has repeatedly refused to update to iOS7, whether connected to a PC or not.  The error message indicates an unknown error has occurred, with error code 6.  Does anyone have any idea what the problem might be and how to solve it?  Many thanks.

    Hi
    I followed this guy's instructions and it worked:
    http://evsiphone.blogspot.com/2009/05/iphone-iphone-could-not-be-restored.html
    I did disable the security (AVG and Zone Alarm) when I tried on my own PC. My wife's laptop which eventually got it working also uses AVG and Zone Alarm but on an XP O/S whereas my PC is Vista - maybe this is why.
    Cheers for you help.
    Andy
    Message was edited by: bigbadandy

  • Can i download java for my ipad, the problem is i open glovis.usgs from my ipad, but i can't see the full page, cause the page need a java...help me please

    Can i download java for my ipad, the problem is i open glovis.usgs from my ipad, but i can't see the full page, cause the page need a java...help me please

    Nope. The iPad (and iPhone and iPod touch) cannot execute Java applets. It's a limitation in iOS from the beginning (just like lack of Flash). You will either need to use a desktop computer or access a desktop computer via RDP or VNC to access that page on iPad.mIn short: there is no native way to use a Java applet on iOS.

  • I have a problem with my iphone 4,the problem is hanging and turning off automatically, it was started when I updated it to ios7.0.2, what should I do?

    I have a problem with my iphone 4,the problem is hanging and turning off automatically, it was started when I updated it to ios7.0.2, what should I do?

    mahtab2 wrote:
    I have a problem with my iphone 4,the problem is hanging and turning off automatically, it was started when I updated it to ios7.0.2, what should I do?
    Connect to iTunes on the computer you usually Sync with and Restore
    http://support.apple.com/kb/HT1414
    Make sure you have the Latest Version of iTunes (v11) Installed on your computer
    iTunes free download from www.itunes.com/download

  • I can not create a new ID in my iphon 4s, well I've created several to solve the problem of FaceTime, and the last restoration would not let me create a new ID. I can do? Thanks for helping.

    I can not create a new ID in my iphon 4s, well I've created several to solve the problem of FaceTime, and the last restoration would not let me create a new ID.
    I can do?
    Thanks for helping.

    Thanks Ckuan
    I can do, to create new ID?
    No way to delete all information from Iphon to create another ID?
    I will appreciate your answer

  • Itunes seems to be unable to locate original file to play songs. Songs are in the itunes media file and playable direct from file. Preferences/advance file location is correct. Some files are playing and others aren't with no obvious pattern.

    Itunes is unable to locate original file when attempting to play music. Songs are in the itunes media file and playable direct from there. Preferences/Advanced file location pointer is correct. Some songs play but most don't. I did move files around a bit in an attempt to share music with another account on same computor, however this did not work so have returned file to original location. Please help, I am way outside my feild in this one. Ta.

    I have solved the problem. i think when I moved the media file back out of public to my account, I put it back into the wrong place and ended up with a media file inside a media file, inside another media file!! So I moved it again and fixed!! Now I just need to work out why i can't share with another account user of same computor.

  • What is the URL to ad and remove devices from my profile account?

    What is the URL to ad and remove devices from my profile account?

    I've read Mr. Reed's Mac Malware Guide, and found it very interesting and informative. I use Sophos for Mac Home Edition; it's free and scored highly in Mr. Reed's tests of anti-virus software.
    Here is the link; if you choose to download click on the 'get started' icon at the right of the screen:
    http://www.sophos.com/en-us/products/free-tools/sophos-antivirus-for-mac-home-ed ition.aspx

  • I have a issue with my mac book pro. For some reason it won't stay powered on. I can't get past the apple loading logo. The battery is fully charged so it is not the problem. Can anyone tell me what the problem may be and how can i get it resolved?

    I have a issue with my mac book pro. For some reason it won't stay powered on. I can't get past the apple loading logo. The battery is fully charged so it is not the problem. Can anyone tell me what the problem may be and how can i get it resolved?

    The battery is fully charged so it is not the problem.
    What happens when you use the MagSafe?

  • The sound quality of my speaker suddenly got really poor when playing music or videos.  Sounds like an old AM radio or Sputnik.  Pretty sure it's hardware related but maybe not.  Thoughts on what the problem might be and if it can be repaired?

    The sound quality of my speaker suddenly got really poor when playing music or videos.  Sounds like an old AM radio or Sputnik.  Pretty sure it's hardware related but maybe not.  Thoughts on what the problem might be and if it can be repaired?

    The batterys the ipods come with are very sensetive somtimes they dont react right to the first couple of charges. Try fully charging it and then leaving it on until its completely drained a few times. If that doesnt work it might be a lemon.

  • Trying to launch photoshop cs3 on a mac running OS10.6.8 i keep getting the error message: Licensing for this product has stopped working  you cannot use this product at this time. You must repair the problem by uninstalling and then reinstalling this pro

    trying to launch photoshop cs3 on a mac running OS10.6.8 i keep getting the error message: Licensing for this product has stopped working  you cannot use this product at this time. You must repair the problem by uninstalling and then reinstalling this product or contacting your IT adminstrator or Adobe customer support for help
    I already Uninstalled and reinstalled the product and it still does not work.

    Hi,
    Try to uninstall the software again and you have to manually
    Delete the following folders:
    [Startup Disk]/Library/Application Support/Adobe/Adobe PCD
    [Startup Disk]/Library/Application Support/Adobe/caps
    [Startup Disk]/Library/Application Support/Adobe/backup
    [Startup Disk]/Library/Preferences/FLEXnet Publisher/
    [Startup Disk]/Library/Application Support/FLEXnet Publisher/
    Go to Applications-->Utilities-->Disk Utility, Open it and Select the MAC HD and then click on Repair permissions.
    After that try to run the cleaner tool as mentioned by kglad.
    Restart machine and then try to install again.
    *** Make sure , you only delete these folders if there is no other adobe applications installed on the machine. As if you have any other Adobe application of the suite ( not free applications ) then it will be a problem.

Maybe you are looking for

  • In actionscript 3.0 how do i make a nested movie clip button go to a frame on the main timeline

    I am making a website based in flash actionscript 3.0 i have a button nested in its own movie clip, because I have the button expanding to be able to read it i have figured out the only way to do this is by creating it as a movie clipa nd inside the

  • Problem with d/l itunes

    i tried upgrading to iTunes 6.2. it said it'd download automatically, but it didnt, and there was no link to the file in case of it not download automatically... anyone be able ot help me out here?

  • Does Satellite Pro C850-1EQ support Sata III?

    I've just picked up a new Satellite Pro C850-1EQ laptop, and am looking to replace the slow 5400rpm drive with an SSD. I can't find the SATA specifications of this machine anywhere - does it support Sata III (6Gb/sec)? Thanks, Gareth

  • How to change date format

    Can anyone help me with this, Please? I have a form with start date and end date and the date format I am getting is YYYY-MM-DD. But I would like to change it to MM-DD-YYYY format. How do I achieve this?? When I went to JFPREAMBLE_1, i see it reads:

  • What passwords should be changed after OAS cluster build?

    I have completed a cluster installation of Fusion Middleware and AIA 2.2.x. I would like to know what passwords should be changed other than oc4jadmin.