Why opening from java the rpt search for a JNDI when it's setup for a DNS ?

I downloaded CR for eclipse 2.
All is 'quite' working froma a java app.
i've only a problem with an 'jndi name search error'. I'll try to explain.
In the RPT i use a DSN connection to a sql server into a differente machine. When I open directly the rpt, all is working.
From java code, i'll open the report, but when i try to export  to pdf iit tell me about an error 'jndi name search error', with the name of the DSN connection i setup.
Why? Why opening rpt all is working, but opening from code NOT is working ?
What's the difference from two opening methods? Why an .rpt opened from java cannot just open the connection like when opened from cristal report !?
*My question is: why opening from java the rpt search for a JNDI when it's setup for a DNS connection ?! *

The .rpt has been originally created from an ancient version of Cristal report. probably the '8'.
In an italian software called 'Business', the .rpt is populated for printing of invoices and similar docs.
My society is trying to 'integrate' our software with the .rpt used from our customer.
So we want simply open .rpt, add a new logo, set the selection for record and save as pdf.
We so bought Cristal report 2008 (v.12 ), opened the .rpt, saved (so it 's now in a supported version).
The sql server is located at 10.1.2.40, and is a Microsoft Sql Server.
In my development pc I've installed Cr 12. I added a User DSN to point to Sql server at 10.1.2.40, at right DB with username and password. Opening from my development machine the .rpt and 'running' it, it display the data. Ok !
I downloaded CR4 Eclipse 2.
I open report using the unmanaged sdk. (to access it through file system, not via RAS), Ok.
I set selection record. Ok.
I execute .export with 'PDF' for format option and here I get an exception: the JNDI name 'CPR'  is not found. Where CPR is the DSN name setup into .rpt from Cristal Report 2008.
So, no, i'm not trying to using the designer from Eclipse, but from the full application. But I must use the rpt at runtime to export some rendered records.
What must I do to do this?
CR4E only supports java based connections, so it is looking for the JDBC/JNDI name and won't look at the DSN's.
How Can i setup at runtime a JDBC / JNDI connection ?
I already have a 'connection' from my code to the sql server, using sqlserver jdbc driver v. 4 from microsoft. And executing query I see the results. So i have right driver, ip, db name, user name and password
But is there a way to simply tell at runtime to my .rpt to use THIS connection? Or a similar connection...
Thanks in advance for help provided to us. (we bought a CR license only for this work...)

Similar Messages

  • "The FAST Search backend reported warnings when processing the item." for XLSX

    Hi,
    i am running an FAST for Sharepoint 2010 for development purpose. I can index DOCX files successfully, but for XLSX files i get the following error:
    "The FAST Search backend reported warnings when processing the item. ( Document conversion failed: LoadIFilter() failed: No IFilter registered for the extension '.xlsx' (0x80004005)"
    What is wrong here?
    Best regards,
    Yavuz B.
    My Sharepoint and Enterprise 2.0 Blog http://www.bogazci.com |
    Microsoft Sharepoint Resources & Blog List

    Check if Microsoft Filter Pack 2.0 and the latest Service Pack for Filter Pack is installed.
    Sometimes it´s not installed with the Prerequisities.
    Tomas Andersson

  • When i open a file the pictures show at bottom, but when I click on a pic it only shows a triangle with a ! in the center

    when i open some files the pictures show at bottom, but when I click on a pic to open it only shows a triangle with a ! in the center

    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  
    Regards
    TD

  • When will you make an IPad YouTube app. There is one for iPhone and when you use it for the iPad the quality is bad since you have to zoom in. Please fix

    When will you make an IPad YouTube app. There is one for iPhone and when you use it for the iPad the quality is bad since you have to zoom in. Please fix

    If you lost sounds for keyboard clicks, games or other apps, email notifications and other notifications, system sounds may have been muted.
    System sounds can be muted and controlled two different ways. The screen lock rotation can be controlled in the same manner as well.
    Settings>General>Use Side Switch to: Mute System sounds. If this option is selected, the switch on the side of the iPad above the volume rocker will mute system sounds.
    If you choose Lock Screen Rotation, then the switch locks the screen. If the screen is locked, you will see a lock icon in the upper right corner next to the battery indicator gauge.
    If you have the side switch set to lock screen rotation then the system sound control is in the control center if you are running iOS 7. Swipe up from the bottom of the screen to get to control center . Tap on the bell icon and system sounds will return.
    If you are running iOS 5 or iOS 6, the system sound control is in the task bar at the bottom. Double tap the home button and swipe all the way to the right in the task bar to get to the speaker icon on the left side. Tap on that and the sounds will return.
    If you have the side switch set to mute system sounds, then the screen lock can be accessed in the same manner as described above.
    This support article from Apple explains how the side switch works.
    http://support.apple.com/kb/HT4085

  • When I open (launch) ps6, two old images always open.  always the same 2 images, and always when I launch the program. what is going on?

    when I open (launch) ps6, two old images always open.  always the same 2 images, and always when I launch the program. what is going on?

    Check your userid autorecovery folder after you close Photoshop. If there are psb files in it delete them

  • I bought the iPhone4 in the apple store. Why iTunes shows that the SIM card isn't inserted when I connect to the compter? But I have inserted the SIM card.

    I bought the iPhone4 in the apple store. Why iTunes shows that the SIM card isn't inserted when I connect to the compter? But I have inserted the SIM card.
    Even if I inserted another SIM card which can work nomally in other‘s iPhone, it still doesn't work in my iPhone. So I think the problem isn't because of the SIM card.bwow

    Where did you buy it?  And was it connected to a carrier?

  • HT1937 I have successfully restored my iPhone 3 gs( Ios )  by itunes. After activation it is asking for activation. When I am going for activation its saying that no SIM card is inserted, but I have already Ufone SIM card is inserted. I checked it with ot

    I have successfully restored my iPhone 3 gs( Ios )  by itunes. After activation it is asking for activation. When I am going for activation its saying that no SIM card is inserted, but I have already Ufone SIM card is inserted. I checked it with other SIM card like Zong etc but the response was same i.e; no SIM card is inserted. It not catching the signals. I am trying to use  my wifi to activate my iphone but it iss not processing then i used itunes to activate by it's again saying that no sim card is detected.
    My all contacts and all data is in this mobile. Now Iam unable to contact anyone. Please help me. How can I sort it out?
    Thank you
    Regards
    Wazir Ali

    Well, if you did it yourself, then there is a chance that you damaged some other component inside the device that is causing your issue. The iPhone's are not user serviceable, and once you have opened the device you have voided any warranty and post-warranty support from Apple. I would try Google to see if you can find any other way to repair your device, as Apple will no longer look at it.

  • How do I get a new icloud account for my phone when it was setup with my wifes account?

    How do I get a new icloud account for my phone when it was setup with my wifes account?

    Go to Settings>iCloud and sign out. Any synced data, such as calendars and contacts, will be removed.
    To get a new ID: go to http://appleid.apple.com and create a new ID - you will need a different non-Apple email address from any ID you already have.
    Then go back to Settings>iCloud and sign in there, enabling any data types you want to sync in the list there. You will be asked to create a new @icloud.com address when enabling Mail.

  • How AP behaves for withholding tax when vertax is used for tax calculation

    Hi,
    I am currently working on R12 implementation, I have requirement where business has to calculate the USE tax and withhold it from being paid to the supplier in case if use tax is not mentioned on the Invoice and pay it to tax authorities directly by business. Our client has Vertax third party tax engine. now the question is does it works same as it is in oracle payables in cases if client want to use vertax to calculate tax. How oracle behaves for withholding tax when vertax is used for tax calculations.
    Regards,
    Shashi.

    Hi
    Cheque Go to Menubar of  which document you have to  post for getting the WHT value  Menubar Settings - editing options -  remove the tick calculate tax on net amount.
    Rgds
    Vani

  • How can I prevent my tabs from loading the Tuvaro search page?

    I have tried everything listed in the popular articles for this. Firefox shows my home page when I open it (yay!) but new tabs - tabs specifically - still default to the Tuvaro search engine. I have gone into "about:config" and reset the "browser.newtab.url" setting, and it works! But when I close Firefox and open it back up again, the string has been replaced on "Browser.newtab.url" and my tabs default to Tuvaro again. As stated previously, I've uninstalled ALL bloatware from my (brand new) computer, fixed the shortcuts, cleaned my registry, and reset firefox. This one detail just refuses to be fixed.
    Thank you!

    Hello SkyeVeran, check if exist inside the "Programs" in windows, go from Start button > Control Panel > Programs > Uninstall a program or Program and Features > find it and uninstall, also uninstall any other unwanted suspicious program.
    also, check if exist in your extensions, click the 3-bar menu button > Add-ons > Extensions or Appearance > select if exist as an add-on > click Remove button.
    after the above, Reset Firefox
    To Reset Firefox do the following:
    #Click the menu button [[Image:New Fx Menu]], click help [[Image:Help-29]] and select ''Troubleshooting Information''.Now, a new tab containing your troubleshooting information should open.
    #At the top right corner of the page, you should see a button that says "Reset Firefox"[[Image:Button reset]]. Click on it.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Thank you.

  • Why do I find the Dogpile (search) addon will not download?

    I find Firefox-listed, in Get Addons: " Dogpile 20091122 " , by Ahmed El-Mahdawy, jtekUSA
    (Dogpile.com Web Search)
    I click on the "Add to Firefox" green button; but I only get error message:
    Firefox could not install the search plugin from "https://addons.mozilla.org/firefox/downloads/latest/14038/addon-14038-latest.xml?src=ss" because an engine with the same name already exists.
    Odd, as I can't find such an item in my Firefox addons ..... and I'm wondering if this problem might be linked to the yahoo search preference suddenly and unwittingly being applied to my Firefox addressbar.
    Is the Dogpile addon incompatible with my Firefox; or has some buggorother corrupted my bits?
    While I'm here, is there a safe way to lose the previous version (11.5 r502) of my Shockwave Flash plugin: I have disabled it to avoid any possible conflict with later version, but would prefer it was gone.

    Thanks for trying; but I seem to be travelling backwards on this problem.
    I have been using InstantFox addon very happily for some months; and had customised its options, replacing g-for-goggle with dp-for-dogpile and adding several extra search code options.
    I'd also removed the redundant g-icon from my address box; as part of a simplification of toolbar area. I prefer to see no unused clutter 24-7. Now yahoo is suddenly the default search from the address bar; but there is no icon for it, to click on as you describe; and simultaneously my InstantFox 'dp(space)searchitem' won't work: I think it got corrupted last week when yahoo searches started.
    Today I found dogpile search, as an addon, at this url:
    https://addons.mozilla.org/en-US/firefox/addon/dogpile/?src=ss
    I wrongly thought that might be a simple install; but it won't even download. As I said, I get the error message saying there is already a file with that name.
    I now appear to have other problems in about:config:
    browser.search.defaulturl;http://websearch.just-browse.info/?l=1&q=
    but what is websearch? it's new to me, and perhaps viral/trojan?
    regarding flash, I said I have two date-versions of shockwave flash: not macromedia or adobe. neither will uninstall using win or iobit uninstallers.
    and I also don't know whether this win7 is a 64- or 32-bit OS.
    I don't have time to chase around the wrekin at the moment; so I'll have to look into this poo in a couple of weeks or so.

  • Pages (or Numbers) Template Cannot Be Opened From Outside the Application

    Ever since the upgrade to Mavericks, I cannot open a Pages (or Numbers) template without being asked.....
    Do you want to add this custom template to the Template Chooser?  Then my only options are Cancel or Add to Template Chooser.
    If I cancel, it won't open anything.
    But this template is already in my Template Chooser.
    So the only way to open a template in Pages (or Numbers) is to open the application first, and then click "New", and choose the template.
    I can't figure out a way to open the template from outside the application, which is very very handy, rather than having to open the application every time that I want to access a template.
    How can I open a template simply by clicking on it?

    Yes, the problem is that opening the template from outside of the application will not open the application, showing the document.  I only get this....
    Do you want to add this custom template to the Template Chooser?  Then my only options are Cancel or Add to Template Chooser.
    If I cancel, it won't open anything. 
    But this template is already in my Template Chooser.
    Put your Pages or Numbers document on your desktop and open it by double-clicking it, and you'll understand.  You can't do it, even if the template is in your template chooser.
    The only way to do this now is to open the application, select "New", and the select the template.  So you cannot open a template from outside the application....only from within.

  • Numbers (or Pages) Template Cannot Be Opened From Outside the Application

    Ever since the upgrade to Mavericks, I cannot open a Numbers (or Pages) template without being asked.....
    Do you want to add this custom template to the Template Chooser?  Then my only options are Cancel or Add to Template Chooser.
    If I cancel, it won't open anything.
    But this template is already in my Template Chooser.
    So the only way to open a template in Numbers (or Pages) is to open the application first, and then click "New", and choose the template.
    I can't figure out a way to open the template from outside the application, which is very very handy, rather than having to open the application every time that I want to access a template.
    How can I open a template simply by clicking on it?

    Yes, the problem is that opening the template from outside of the application will not open the application, showing the document.  I only get this....
    Do you want to add this custom template to the Template Chooser?  Then my only options are Cancel or Add to Template Chooser.
    If I cancel, it won't open anything. 
    But this template is already in my Template Chooser.
    Put your Pages or Numbers document on your desktop and open it by double-clicking it, and you'll understand.  You can't do it, even if the template is in your template chooser.
    The only way to do this now is to open the application, select "New", and the select the template.  So you cannot open a template from outside the application....only from within.

  • Receive the following error message when trying to approve or reject from Pending "The service threw an unknown exception. See inner exception for details"

    Hi, The server agent was grayed out.  I uninstall it from control panel and removed it from agent managed.  When I tried to install the agent, it failed.  I installed the agent manaully and tried to approve it received the error message
    "The service threw an unknown exception. See inner exception for details"  I have the details but does not tell me much (I can post it).  I removed it from control panel (while still showin in pending),
    and tried to reject it.  Again, received the same error message as above.  This a very critical server, could someone help me with this issue?  Thanks, Ziba

    Thank you Alexey, please see the following details:
    Date: 8/19/2010 7:28:51 AM
    Application: System Center Operations Manager 2007 R2
    Application Version: 6.1.7221.0
    Severity: Error
    Message:
    Microsoft.EnterpriseManagement.Common.UnknownServiceException: The service threw an unknown exception. See inner exception for details. ---> System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]:
    Exception of type 'Microsoft.EnterpriseManagement.Common.DataItemDoesNotExistException' was thrown. (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
    Microsoft.EnterpriseManagement.Common.DataItemDoesNotExistException: Exception of type 'Microsoft.EnterpriseManagement.Common.DataItemDoesNotExistException' was thrown.
       at Microsoft.EnterpriseManagement.Mom.DataAccess.DataAccessUtility.GetManagedEntityKeyValuePairs(IList`1 baseManagedEntityIds, DatabaseConnection databaseConnection)
       at Microsoft.EnterpriseManagement.Mom.ServiceDataLayer.DiscoveryDataManager.DeleteUserActionManagersByAgentPendingActionId(IList`1 agentPendingActionIds)
       at Microsoft.EnterpriseManagement.Mom.ServiceDataLayer.SdkDataAccess.RejectAgentPendingActions(IList`1 agentPendingActionIds)
       at Microsoft.EnterpriseManagement.Mom.ServiceDataLayer.SdkDataAccessTieringWrapper.RejectAgentPendingActions(IList`1 agentPendingActionIds)
       at Microsoft.EnterpriseManagement.Mom.ServiceDataLayer.SdkDataAccessExceptionTracingWrapper.RejectAgentPendingActions(IList`1 agentPendingActionIds)
       at ...).
       --- End of inner exception stack trace ---
       at Microsoft.EnterpriseManagement.DataAbstractionLayer.SdkDataAbstractionLayer.HandleIndigoExceptions(Exception ex)
       at Microsoft.EnterpriseManagement.DataAbstractionLayer.AdministrationOperations.RejectAgentPendingActions(IList`1 agentPendingActionIds)
       at Microsoft.EnterpriseManagement.Administration.ManagementGroupAdministration.RejectAgentPendingActions(IList`1 monitoringObjects)
       at Microsoft.EnterpriseManagement.Mom.Internal.UI.Views.PendingManagementView.<>c__DisplayClass8.<OnRejctAgent>b__7(Object , ConsoleJobEventArgs )
       at Microsoft.EnterpriseManagement.Mom.Internal.UI.Console.ConsoleJobExceptionHandler.ExecuteJob(IComponent component, EventHandler`1 job, Object sender, ConsoleJobEventArgs args)
    System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Exception of type 'Microsoft.EnterpriseManagement.Common.DataItemDoesNotExistException' was thrown. (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true,
    whose value is:
    Microsoft.EnterpriseManagement.Common.DataItemDoesNotExistException: Exception of type 'Microsoft.EnterpriseManagement.Common.DataItemDoesNotExistException' was thrown.
       at Microsoft.EnterpriseManagement.Mom.DataAccess.DataAccessUtility.GetManagedEntityKeyValuePairs(IList`1 baseManagedEntityIds, DatabaseConnection databaseConnection)
       at Microsoft.EnterpriseManagement.Mom.ServiceDataLayer.DiscoveryDataManager.DeleteUserActionManagersByAgentPendingActionId(IList`1 agentPendingActionIds)
       at Microsoft.EnterpriseManagement.Mom.ServiceDataLayer.SdkDataAccess.RejectAgentPendingActions(IList`1 agentPendingActionIds)
       at Microsoft.EnterpriseManagement.Mom.ServiceDataLayer.SdkDataAccessTieringWrapper.RejectAgentPendingActions(IList`1 agentPendingActionIds)
       at Microsoft.EnterpriseManagement.Mom.ServiceDataLayer.SdkDataAccessExceptionTracingWrapper.RejectAgentPendingActions(IList`1 agentPendingActionIds)
       at ...).

  • The last search site pops up when entering Mozilla why?

    When I click on Mozilla logo to log on, the system brings up the last search made rather the home page, why?

    Select one of these:
    *Tools > Options > General > Startup: "When Firefox Starts": "Show my home page" or "Show a blank page"

Maybe you are looking for

  • Determining Duplicate Entries in Editable ALV Grid

    Hopefully this question is not as obvious as it may seem at first. Thanks for any input or ideas...read carefully, it is not just a simple duplicate check with which I'm having a problem. I have an editable ALV grid and I need to ensure that the user

  • Classpath and DataSource within Tomcat

    Used software: - Tomcat 5.5.11 - JDK 5.0 - Windows XP SP2 Problem statement: I have a webapplication, called monitorclient, which uses a connection to a database using a JNDI bound DataSource object through my context.xml file. To connect to the data

  • How do I set up the .exe file for silent (unattended) install?

    I'm looking to do multi installs across different platforms with a WPI

  • Mail is invisible

    My G4 powerbook finally died. I pulled the hard drive out and put it in a case so I could retrieve my files. Diskwarrior stated that the hard drive was malfunctioning. I successfully pulled all of my emails out of the drive then imported them into th

  • Auto Login Key Search

    Hey everyone.  I have a little bit of a conundrum. I need to be able to run a script on a OU (and subfolders) that will find a specific registry key on the computers and report it into an CSV/XLS file. Specifically I need to find all computers within