Connection sharing for embedded JDBC and DatabaseController

<p> </p><p>I would like to share an existing JDBC connection with the DatabaseController (i.e. same session in database).  Basically I need to call a stored proc in the JSP page then use the same (already established and open) connection for the DatabaseController to run the report.</p><p>Is that possible?  If so, can you give me a brief example.  I&#39;m well versed in Java, but not at all in CR.  I&#39;m trying to help evaluate the effort to merge existing web application code with CR reports.  The company has many existing CR files that I would like to "take to the web", but the underlying database uses session information and VPD for security.</p><p>For reference I&#39;m using an Oracle 10g database.  I would also welcome an answer that uses connection pooling and I could simply hand out pooled connections to the DatabaseController.</p><p>Thanks! <br /></p><p> </p><p> </p>

<p>Hi, </p><p>      Unfortunately there currently is no way to pass a JDBC connection to the report at runtime (this would be a great idea to track under the enhancement requests forum section). That being said there are other options you can do to get connection pooling functionality within your application. Probably the easiest way is to use JNDI. This will allow the application server to handle the Connection Pool. There is an optional property of the database connection of a report which allows the report designer to specify a JNDI lookup name. At runtime the report will look for this lookup name first prior to attempting to make the JDBC connection.</p><p>You can look at this comment on another question for instructions on how to set the JNDI optional name:</p><p><u><strong><a href="/node/483#comment-79">http://diamond.businessobjects.com/node/483#comment-79</a></strong></u>  </p><p>Another option is for you to pass in a java.sql.ResultSet at runtime to the report. It sounds like you are already making a JDBC connection at runtime so it shouldn&#39;t be too difficult for you to add the SQL query statement to populate a ResultSet. Once you have the ResultSet populated you can pass it into the report. In fact the wizard which is outlined on the comment listed above has a screenshot of the wizard which will generate the code at runtime to view a report. If you select the option in the wizard to "<strong>Populate the report with a java.sql.ResultSet"</strong> it will generate the necessary code stub to demonstrate how this will work.</p><p>The only downside to passing in the resultset at runtime is that it requires the entire dataset to be populated prior to passing it to the report. If the dataset is relatively small the performance impact will likely be acceptable, however if you start getting in to the tens of thousands of records then you may start seeing some performance implications. </p><p>Hope this helps. Let me know if you have any follow-up questions. </p><p>Regards,<br />Sean Johnson (CR4E Product Manager) </p>

Similar Messages

  • I have a tesco router and an external hard drive attached to it as a network drive (shared) for my macbook and MB-Air. Have no problems with my MB accessing it, but with MB-AIR it says -  'the version of the server you are trying to connect to is not supp

    I have a tesco router and an external hard drive attached to it as a network drive (shared) for my macbook and MB-Air. Have no problems with my MB accessing it, but with MB-AIR it says -  'the version of the server you are trying to connect to is not supported. pls contact your system administrator to resolve the problem'. MB-Air uses maverick downloaded yesterday - upgrade from mountain lion. MB uses snow leopard still, as i am quite used to it and am thinking of upgrade if mavericks work fine on air. Also have parallel on snow leopard but it is no longer supported according to mac website - if i upgrade am i going to lose my parallel and will have to buy a new one!!!

    Yes, the Old Master file has a folder for each year where I find all photos from that specific year. I am attaching a screen shot of the file.
    In the meantime i have managed to download all photos (it did not download any video files though in mpg, avi, 3gp, m4v,mp4 and mov format) to a new iphoto library. Unfortunately the photos are quite mixed and often doubled up. I ma considering to purchase iphoto library which checks all duplicates in iphoto. this will save me a lot of time. What do you think?

  • Hi - Re Keynote  I'm trying to figure out how to create a music album on USB flash drive. What I want is a background picture with 'click-buttons' to play each track listed, also similar for embedded videos and photos etc.  Is this possible with Keynote ?

    Hi - Re Keynote  I'm trying to figure out how to create a music album (as an artist) on USB flash drive, (accessible by both Mac and PC). What I want is a background picture with 'click-buttons' to play each track listed, and play in order (like a cd) - also similar for embedded videos and photos etc. This should all be on the one page.  
    Is this possible with Keynote, or any other software package for Mac (am using Macbook Pro) ?
    Gav 88

    Hi there,
    Yikes, it sounds like you've been doing a lot of work on this project... Unfortunately, however, this isn't the Adobe Encore forum, but the Acrobat.com forum. While it seems like an exciting question, we're not able to address issues pertaining to other Adobe products and services. Here's a link to the Adobe Encore forum, where you're more likely to get help for this specific issue:
    http://forums.adobe.com/community/encore
    Sorry not to be of more specific help to you. Best of luck!
    Kind regards,
    Rebecca

  • Connection steps for SAP BW and R/3

    Hi Every Body,
    Can you please explain me detail about the connectivity between R/3 and BW.
    General steps which am aware is as follws;-
    SAP R/3 steps to be performed
    1.     Define Logical system---->(e.g ABC100)
    2.     Assign client to logical system -->(100)
    3.     Define RFC Destination.(Here I assume I have to give Destination user name and password should be the user which have SAP_ALL authorization) Am I right.
    SAP BW Steps:-
    4.     Define Logical system---->(e.g ABC100)
    5.     Assign client to logical system -->(100)
    6.     Define RFC Destination.(Here I assume I have to give Destination user name and password should be the user which have SAP_ALL authorization) Am I right.
    Then in BW Environment in RSA1->Source Systems->right click and choose Create
    There are two options available for R/3 system one is Manual and one is Automatic.
    For Manual  creation we give RFC Destination should be BW system and Logical system should be R/3 and Source system name is xyz.
    Is there any other steps am missing.What about the inbound and outbound Idoc Parameters.
    I feel this will help while transferring data to BW.am I right.
    Please clearly explain the steps for R/3 and BW connectivity.
    Regards,
    VJ

    Hi,
    <i>For Manual creation we give RFC Destination should be BW system and Logical system should be R/3 and Source system name is xyz.</i>
    RFC Destination should be R/3 system. NOT BW system.
    <i>should i make connection with only R/3 200(Data Client) to BW</i>
    Yes you have to connect to 200 only. Not to 100.Other wise you will not get data from R/3 to BW.
    <i>What is the Use of Transport Button in RSA6.Post Processing data sources.</i>
    It will be used to create Trasnport requests on DS .
    <i>Suppose if i activate data source from Customizing client(100)and click on Transport button in RSA6 if there is connection with this client to BW. What is the Impact.</i>
    It will not give any impact on BW. Actually it ask you to create a Transport requset by Prompting the message box. After click on create button and entering the description, it will create a transport request.
    <i>Clearly explain me in detail what happen when i choose Transport Button in RSA6 for BC data sources.</i>
    It is must and should process. Because you will not activate(using of RSA5) the DS in quality R/3 system. So to use this DS in QA system, you will import the Transport request creatd in DEV r/3.
    In your case, you will use client 100 for activating the DS and creating Transport reuests. And then these DS are automatically available in client 200, because DS are Client independent.
    With rgds,
    Anil Kumar Sharma .P

  • Internet connection sharing between Mac Mini and Imac G3- how?

    Ok, I'm trying to connect my G3 Imac (running 10.4.8) to my Mac Mini (also running 10.4.8) but it just wont work.
    I've turned Internet Connection sharing on on my Mac Mini, and set it to share the airport connection to computers connected using Built in ethernet.
    Network (on the M Mini) shows
    Built-In Ethernet is currently active. Built-In Ethernet has a self assigned IP address and may not be able to connect to the Internet.
    Network (on the G3) shows
    Built-In Ethernet is currently active and has the IP address 192.168.2.7. You are connected to the Internet via Built-In Ethernet.
    When i try to go to a webpage on the G3 it fails stating, 'You are not connected to the Internet'.
    I'm using a standard straight through ethernet cable, as I was told a while ago from apple support that it doesn't matter which u use, straight through or crossover.
    Any help would be really appreciated
    Macbook 2.0Ghz 2GB 80GB/Mac Mini 1.42Ghz 1GB 80GB/Imac G3 450Mhz 640MB 80GB   Mac OS X (10.4.8)  

    OK after some playing about I can now manage to connect to the mac mini and vice versa to share files.
    The iMac G3 now says it has an IP address of 192.168.2.18, and that it's connected to the internet via built-in ethernet. I've set configure IPV4 to Using DHCP.
    Except it's not connected to the net.
    If i select Using DHCP on the Mini it doesn't obtain an IP address, not even a self set one. So i've set a manual IP address on that, and everything shows up green. Airpot connected to the internet and Ethernet has an IP address of 192.168.2.30.
    After reading some forums I set up firewall logging. The result is what happens on the Mac Mini when I use network diagnostics on the G3:
    Feb 11 16:43:52 richard-xxxxx-mac-mini natd[394]: failed to write packet back (Host is down)
    So I opened port 394 (not really knowing what i'm trying) but it had no effect.

  • Connection Sharing between my mini and xbox

    Does anyone know how to enable shair the connection on my mini? I've tryed several ways and I haven't been able to do this. Thanks.
    Mac Mini   Mac OS X (10.4.6)  

    If you are using Connection Sharing as provided by Mac OS X (in the Sharing System Preference) then be sure to make sure the appropriate ports are open in your Firewall. If you fail to open the right ports the connection you are sharing will not work.

  • When Patch for embedded fonts and Lion OSX to be released?

    Was reading through the thread about the problem with embedded fonts and Lion OSX and a patch being released the 3rd week of August. Does anyone know about the patch being released?

    This patch was released as 11.5.9 a couple of weeks ago. See this thread:
    http://forums.adobe.com/thread/895280?tstart=0
    You should be able to get it through the Help / Check for Updates menu - but I would definitely be aware that it seems to have created a couple of new issues for some users (documented in other forum posts at forums.adobe.com).

  • HT204291 Airplay connected briefly for first time and then icon vanished from ipad

    I have been trying to locate Airplay on my new ipad3 This morning for the first time it appeared beside the volume control and I had brief success before the message appeared on the TV that Appletv was not connected. Both the ipad and and appletv are connected to the net and I have run photos and music through itunes happily. Now I can't find the Airplay icon and I have never been able to find it in Settings>General. Help

    I too have just had a similar problem once I upgraded to IOS6. I removed and then reconnected the wi-Fi to the Apple TV which reconnected the computer to Apple TV.  Still no airplay icon on IPad though.  So I reset the internet router which reconfigured all the wi-Fi connections and all appears to be working now. Hope this helps.

  • Internet connection sharing with a modem and WRT54G

    I currently have dial-up at my location, I will have dsl when i move down the street in about 2-3 months. My question is, I would like to hook up my WRT54G router to my desktop computer that has a external modem hooked to it. I would like to be able to use my laptop from my shop location out in the backyard without having to tie myself into the computer in the house. How can I be able to use the wireless link between the laptop and the router and have it dial the modem on the desktop so I can access the internet out in the shop? I read that this can't be done if using dhcp. I can see both computers hard drives on each machine. Would anyone know of any software that would allow me do this? Thanks, Joseph

    Configure WRT54G as access point only, so labtop can communicate with desktop that has Internet connection. Enable Internet Connection Sharing on desktop to share the Internet connection to labtop.
    Hope helps..
    picoHat

  • Error while doing connection test for a jdbc system

    Hi all,
    i created a JDBC system. i gave all the required information for creating it like username, passowrd, connection URL, driver class name.
    i even did the user mapping. But still when i try the connetion test it is giving me an error.
    the error message that is visible in the front end is like follows
    <i>Test Connection with Connector - Jan 1, 1970 2:29:41 PM
      Test Details:
    The test consists of the following steps:
    1. Retrieve the default alias of the system
    2. Check the connection to the backend application using the connector defined in this system object
      Results
    Retrieval of default alias successful
    Connection failed. Make sure user mapping is set correctly and all connection properties are correct.</i>
    when i c the log files i noticed the following log messages
    <b>
    #1.5#00065BF80BD800660000000000000C6C000414205F93044C#1148029181853#/System/Server#sap.com/irj#com.sap.portal.ivs.semantic.systemLandscape#Administrator#435####cf4424d0e71511da940a00065bf80bd8#D:/Triniti_Deployment_Source/infrastructure/fdt/WEB-INF/classes
    fdtout.log##0#0#Warning#1#com.sap.portal.ivs.semantic.systemLandscape#Java###Failed to retrieve Password##
    #1.5#00065BF80BD800660000000100000C6C000414205F93059D#1148029181853#/System/Server#sap.com/irj#com.sap.portal.ivs.semantic.systemLandscape#Administrator#435####cf4424d0e71511da940a00065bf80bd8#D:/Triniti_Deployment_Source/infrastructure/fdt/WEB-INF/classes
    fdtout.log##0#0#Warning#1#com.sap.portal.ivs.semantic.systemLandscape#Java###Failed to retrieve User##
    #1.5#00065BF80BD800660000000200000C6C000414205F930770#1148029181853#/System/Server#sap.com/irj#com.sap.portal.ivs.connectorService#Administrator#435####cf4424d0e71511da940a00065bf80bd8#D:/Triniti_Deployment_Source/infrastructure/fdt/WEB-INF/classes
    fdtout.log##0#0#Error#1#com.sap.portal.ivs.connectorService#Java###Failed to get connection for system #1#Dummy_JDBC_System#
    </b>
    can any one please tell me where i am going wrong.
    thanks in advance
    Pavan Kumar.

    Hi Pavan
    i see the log file that u provide
    check ur connection properties.
    further also check following might help u
    http://help.sap.com/saphelp_nw2004s/helpdata/en/29/acd8403e37762ae10000000a155106/frameset.htm
    also look at sap note 773401
    regards,
    kaushal
    Message was edited by: kaushal malavia

  • I lost the connection cable for my ipod and comp.

    can someone tell me how i could get another cable that connects my ipod to my computer? i lost mine and need to update my ipod, please help me.
    thank you

    Also many wall chargers for iPods that have a USB port for charging will often come with a replacement iPod USB cable. So if you don't already have a wall charger, getting one of those will get you both a wall charger and the replacement cable you need.
    An example of what I am talking about is the Griffin Powerblock...
    http://www.griffintechnology.com/products/powerblock/
    $30 but a very nicely made charger, comes with an additional sync cable, and the prongs fold up into the body so it travels nicely without stabbing everything in your bag. We have one that we use to charge our iPods AND my palm pilot & my wife's Blackberry too. So only one charger needs to be brought along on trips for a number of devices.
    Patrick

  • 2 TB Time Capsule Not Letting Windows 7 Prof Backup With Connection Sharing Off(Bridge Mode)

    Hello Everyone,
         I've been struggling with this and I am completely puzzled, I have a 2 TB Time Capsule that has the connection sharing: Off(Bridge Mode) and I am unable to backup my Windows 7 Professional Desktop to the Time Capsule.  So far I am able to map and access the Data file inside the Time Capsule
    in My Computer on the PC after installing Airport Utility version 5.5.3.  However, I see 2 errors when trying to perform a backup:
    Error 1)  When I try to do a regular back up using the Backup and Restore Utility, I get an error stating:
    Error Code: 0x81000031  The last backup did not complete successfully
    Error 2) When I try to create a system image :
    A backup cannot be done to a remote shared folder which is not hosted on a volume formatted with NTFS. 
    Error Code:  0x807800B0
         What's weird about all this is other then having the backup inside my Windows 7 Proffesional home PC configured the exact same way, and back up
    on my Linux and XP and Windows 7 Proffesional boxes with no issues, the only change in menu that is different on that Windows machine is that under the Internet Tab under the Airport Utility, Connection Sharing is set to:
    Share a public IP address
         I've read some post online and microsoft is saying that the error is generated because the Time Capsule is not in NTFS format.  However, my time
    capsule at home is a FAT32 just like the 2TB one here that is giving me all this grief.  Any help on this is greatly appreciated.
    Best Regards,
    Nevins Duret

    mocanuj wrote:
    Hello,
    Please read this article. So far as I've read the approach the author takes might make your task easier.
    http://howto.cnet.com/8301-11310_39-57401784-285/the-best-ways-to-format-an-exte rnal-drive-for-windows-and-mac/
    Some of the article is wrong.. so be careful.. HFSexplorer AFAIK cannot write.. only read HFS+.
    It is also irrelevant to the TC.. what the Mac can read and what the TC can read are two different things.. also storage on network drive is handled by SMB.. file format is actually irrelevant. For disks directly plugged into a computer.. buy two.. one for the Mac and one for the PC.. use each in native format. Share files the right way.. via network.

  • Re: JDBC and MSSQL

    I download MySQL Driver files and also include in classpath so when i compile it it give error msg: reference to Connection is ambiguous , both class com.mysql.jdbc.Connection in com.mysql.jdbc and class java.sql.Connection in java.sql match....
    so plz reply me on my account ([email protected]) ok bye..

    Okay, now I have another question that relates to this topic. In this project I am planning for, it will be a Swing application deployed via Java Web Start. It is also going to need to connect to the database, so will I run into any problems doing this through JDBC? Will each person that runs the app through JWS need to install the drivers as well, or do I simply include them in the CLASSPATH of the server that will store the app, then create a connection like usual? I was thinking about it when I realized I'm going to need to access a database server from (technically) a client machine. I've searched the forums for anyone who may have run into problems with this, and Google as well, to no avail. I'm thinking since I have to put the IP address of the server in the DriverManager.getConnection(), it should work okay. I'm just trying to find answers to things that I know will come up so I don't have to worry about it then. Thanks in advance for any info you can give me.
    James

  • How to set up individuals on family sharing for using Facetime - all are saying it's me!

    I've set up family sharing for my wife and kids. Currently all the devices are set up as me and linked to my email address and phone number. how do i separate them onto my wife's email / mobile no and then separate my kids (all under 13) so they can use Facetime etc? thanks!

    Hello Mevster,
    Welcome to Apple Support Communities.
    It sounds like you want to change the Apple ID used by services, like FaceTime, on some iOS devices. Take a look at the article linked below, it provides a lot of information that should answer your question and walk you through the process of changing the Apple ID that's used for services on iOS devices.
    Apple ID: What to do after you change your Apple ID - Apple Support
    Take care,
    -Jason

  • OIM connector for AD 2008 and exchange 2008

    hello,
    Customer is in migration of AD 2003 to AD 2008 and exchange 2003 to Exchange 2008. I do know that OIM connects exists for AD 2003 and Exchange 2003.. but not seen any for AD 2008 or Exchange 2008.. So, does any one have idea that how to get the connectors from oracle or already exists then where are those..
    Looking to here you soon.

    Hi,
    I don't know why your client want's to migrate to 2008, they are so new versions and there is no compatible connector at this moment for them. You could try to use the current ones, but for sure you'll find problems with them.
    If they are actually migrating to 2008, you'll probably need to code your own connector from scratch, or make huge modifications on current connectors as there is no announce from Oracle for new releases.
    I recommend to ask your Oracle provider or open an SR to ask about it.
    Good luck!

Maybe you are looking for

  • Error while activating ods

    Hi all, i have the following errors turning up while activating ods. 1. creation of export data source failed 2. rfc connection to source system b3tclnt800 is damaged - no meta data upload 3. error when activating ods object Can anyone let me know ho

  • HP Officejet Pro 8600 - Now won't print in Black Ink Only!

    Hi! After previously owning the Hp Officejet 8500a pro and experiencing numerous issues related to the 'Black Only' printing! We then decided to scrap the HP Officejet 8500a and move on to a new printer! We did a LOT of research into the new printer

  • Problem while updating record in WLS 6.1 sp4

    We have been using toplink in our application with Weblogic 6.1. We have not faced any problems after migrating to TopLink oracle release 9.0.3 while deploying on WLS 6.1 sp1 or sp2. However when we deploy on WLS 6.1 sp4, we get a 'invalid column nam

  • Production Order errors

    Hi gurus, When I am trying to create Production Order, system is showing  Error messages: 1. release of Order not possible    -    why? 2. No checking rule maintained for Operation   --- how to maitain? Regards, Sudha

  • Mpg movies stops every 7 seconds

    Recently, every time I try to play an mpg movie on QuickTime, the movie stops every 7 seconds approx. This started not long ago, and before that, all mpg movies played perfectly. I'm not aware of having made any changes in the QuickTime preferences o