BC4J Connection Re-use

Hi
How can I re-use the BC4J Database connection in my other Java classes to generate PDF Reports.(Now I am using JDBC connection, which I dont like).
Thanks your help.
Regards
acnu

Srini,
this is what we understand. How are you creating the PDF reports? Are you using a Java class on the server or a Pluggable Data Source for Oracle Reports?
If you are creating the Reports in a Java class then you access to teh Forms transaction (database connection) the way that Arno mentioned it. If using Oracle Reports, then you will have to create your own Pluggable Data Source.
Frank

Similar Messages

  • Data Connection Library used in the workbook is not in a trusted location.

    I got a requirement to display excel charts with data source as SharePoint list.
    Here are the steps which I am following:
    Exported SharePoint list to excel sheet and exported connection file to local drive.
    Uploaded to data connection library.
    Created a new excel file and consumed data from connection file which was stored in data connection library.
    Published the excel sheet to document library with publish options as Chart and Pivot Table.
    Able to see Excel Chart and Pivot table from the browser.
    Getting Error when I try to refresh the excel sheet to get updated data from SharePoint list.
    I added data connection library details to Trusted Data Connection & Trusted File locations still I am getting error. That .odc file is not in Trusted Location.
    "The Data Connection File used in the workbook is not in a trusted location. The following connections
    failed to refresh:"
    Please help me on this and suggest if there is any other approach to fulfill this requirement.

    Hi Pratik,
    Thanks for your input.
    I created a new document library and data connection library and tried the steps mentioned below:
    Configuration
    Enable Claims to Windows Token Service
    The first step, check the status of the Claims to Windows Token Service on SharePoint.
    Use the following instructions to check and enable the Claims to Windows Token Service.
    In Central Administration, in System Settings, click Manage services on server.
    Select Claims to Windows Token Service, and then click Start.
    Verify the service is also running in the Services console:
    In Administrative Tools, click Services.
    Start the Claims to Windows Token Service if it is not running.
    Create a New Secure Store Application
    Create a New Secure Store Target Application and set the credential.
    This credential will be used by SharePoint to access the database. The account set into this step need to have access to the database or SSAS cube/tabular databases.
    Use the following instructions to create and set credential.
    In Central Administration, in Application Management, click Manage service applications.
    Click Secure Store Services, and then click New.
    Target Application Settings:
    Tagert Application ID: ExcelServicesSSS
    Display Name: Excel
    Service Secure Store App
    Contact e-mail: [email protected]
    Target Application Type: Individual
    Target Application Page URL: None
    Click Next.
    Click Next again.
    Target Application Administrators: contoso\administrator
    (Type the user account that will administrate the Secure Store Application.
    Click OK.
    Select Target Application ID ExcelServicesSSS, and then click Set Credential.
    Type Credential Owner, Windows User Name and Password.
    Configure Excel Services
    Add the Application Id created in the previous step to the Excel Services and configure the Trusted Data Connection Library.
    Use the following instructions to add the Application ID.
    In Central Administration, in Application Management, click Manage service applications.
    Click Excel Services Application, and then click Global Settings.
    On External Data, Application ID type ExcelServicesSSS.
    Click OK.
    Click Trusted Data Connection Libraries.
    Click Add Trusted Data Connection Library.
    Address: http://<sharepoint_site>/ (Enter
    the Data Connection Address)
    Click OK.
    But no luck in resolving the issue. Anyhelp would be really thankful.
    Please clarify whether can we pull data from sharepoint list to excel services to display charts?
    Regards,
    N.Srinivas

  • SAP Crystal Reports data source connection problem using sap business one

    Hi,
    I m facing a problem regarding: SAP Crystal Reports data source connection problem using sap business one
    I am trying to create a Crystal report but when I try to configure a new connection it does not work.
    I select Sap Business One data source and try to complete the information required to connection but it does not list my companies databases, what is the problem?
    Our Current SAP related software details are as follows:
    OS: Windows Server 2008
    SAP B1 Version: SAP B1 9 (902001) Patch 9
    SAP Crystal Report Version: 14.0.4.738 RTM
    Database: MS SQL Server 2008 R2
    I have also added some screenshots of the issues.
    Please have a look and let me know if you have any questions or any further clarifications.
    I m eagerly waiting for a quick and positive reply.

    Hi,
    There is problem with SAP Business One date source.
    I had faced same problem, I used OLEDB Data-source, and it worked fine for me.
    So, try to use OLEDB.
    Regards,
    Amrut Sabnis.

  • OS 10.4.6. has broken dialup connectivity when using fast user switching

    I installed OS 10.4.6. It seems to have broken dialup connectivity when using fast user switching when switching from one user to the next.
    For dialup, it is extreamly annoying that I can not resume downloading a file from were it got cut off, but now, if another user wants to check their email, my download always gets broken and has to be restarted. Dialup is slow enough with out having to start from scratch even more frequently, now.
    Also, in earlier versions of 10.2 or 10.3 (I don't remember which), I was able to switch users and maintain listening to a single users' iTunes.
    I would like to be able to switch users and not lose either my dialup network connection or the primary users currently playing iTunes songs.
    Perhaps for iTunes, one should be able to chose to mute another users' instance of iTunes, if it is currently playing.
    Mini-Mac 1.42GHz 80GB BT/AE   Mac OS X (10.4.6)  

    I have not tried replicating this but might be able to provide some additional information.
    We use network login accounts on our desktop computers. Fast User switching deliberately will not work for multiple network login accounts. (Remember network login accounts normally also have an associated network home directory mounted via AFP.)
    Now a bit of background about volumes and mount points under Mac OS X. Under Mac OS X, any additional drive (or more accurately 'volume') is listed under the 'Volumes' folder, remember also that Mac OS X is a Unix operating system. So just as normal for Unix, the boot drive is '/' or the root level and Volumes is a folder in it. The underlying Mac OS X software automatically 'attaches' and additional volumes as sub-folders in the 'Volumes' folder (in Unix speak these are called 'Mount Points'), if you have an external hard-disc called 'Fred' then this would be represented by the following path
    /Volumes/Fred
    If you happen to have two volumes with the same name connected at the same time then while in the Finder they may show up with the same name, in Unix they would have different names automatically assigned to keep them separate like so
    /Volumes/Fred
    /Volumes/Fred 1
    Now getting back to the Fast User switching problem and AFP volumes, when you login to a File Server volume it also is automatically added to the Volumes folder, so if we have a File Server volume called 'Shared' it would look like
    /Volumes/Shared
    With Fast User switching potentially both user accounts could be accessing the same /Volumes/Shared which means both user accounts would be talking to the server via the same File Server login, hence the possibility for one of the Fast User accounts to be using the 'wrong' permissions.

  • Unable to connect facebook using HTTP_CONNECTOR in Integrator. Can anybody help for connecting Facebook with Integrator.??

    Hi,
    I am unable to connect facebook using HTTP_CONNECTOR component i have added all the parameters required for its authentication i.e client_id , client_secret, grant_type correct but the graph is giving the following error:
    ====================================================================================================================
    ERROR [WatchDog_0] - Component [Query for access token:QUERY_FOR_ACCESS_TOKEN] finished with status ERROR.
    peer not authenticated
    ERROR [WatchDog_0] - Error details:
    org.jetel.exception.JetelRuntimeException: Component [Query for access token:QUERY_FOR_ACCESS_TOKEN] finished with status ERROR.
      at org.jetel.graph.Node.createNodeException(Node.java:535)
      at org.jetel.graph.Node.run(Node.java:514)
      at java.lang.Thread.run(Thread.java:722)
    Caused by: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
      at sun.security.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:397)
      at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:128)
      at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:572)
      at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180)
      at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:151)
      at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:125)
      at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:641)
      at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:480)
      at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
      at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805)
      at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:784)
      at org.jetel.component.HttpConnector.buildAndSendRequest(HttpConnector.java:1836)
      at org.jetel.component.HttpConnector.process(HttpConnector.java:1803)
      at org.jetel.component.HttpConnector.executeForRecord(HttpConnector.java:1947)
      at org.jetel.component.HttpConnector.execute(HttpConnector.java:1914)
      at org.jetel.graph.Node.run(Node.java:485)
      ... 1 more
    ============================================================================================================
    Can anybody help with this ??

    Hi Brett,
    I have installed endeca in non-ssl mode. I am trying to validate the HTTP_Connector component as shown below and its showing the following error:  
    and if run the graph its showing error as mention above. I am new to endeca so can you please help me that what can i do for validating this component and connecting to facebook.

  • "Maximum no. of connections in use.." error messag...

    Hi
    Recently I am getting this message whenever using Ovi Maps or Google maps :
    "Maximum no. of connections in use. Close an active connection first"
    When i close the O2 active connection it makes me open the O2 video connection, which doesn't work either.
    So i can't use any navigation on this 5800xm
    Latest software (v6.0.xx) & have tried a full phone reset.
    Any advice ?
    Thanks

    97268450 wrote:
    when i open face book application,the same problem maximum number of connection in use. Close an active connection first. i have nokia 5233
    This issue was already answered by other threads. You can click here and  here for more information.
    Hope this will help you.

  • Max. Number of connections in use Nokia N93

    Hi
    I am trying to connect to wireless router using WEP. I have configured the access point and when I try to connect with Opera Mobile 3.6 an error occurs:
    Max. Number of connections in use. Close na active connection first.
    Note that my phone is not woring in dual mobe but GSM only.
    When I try connecting with the Phone's browser:
    WLAN: Unable to connect. WLAN Network not found
    Lumia 920 OS version: 8.0.10521.155
    FW revision number: 3047.0000.1326.2002

    Every time you up-date the firmware, you get from your network opperator the settings for various access points (Internet, MMS, Vodafone Live, whatever....) This leads to duplicates (or even mode) access-points. Moreover, some of these access points are saved as "default" access point in various applications. This is where the mess starts.
    To clean-up the mess, you first have to REMOVE all duplicate access points and keep only one access point for each purpose: Internet connection, MMS, Live (if you are are on Vodafone), etc. After this, you will probably get messages from various applications to define a new default access point. And things will be sorted our automatically.
    Hope this helps, even though it might not be simple for some.
    2110i, 6150, 6210, 6310i, 6670, 9300, 9300i, E90, E72, HTC Touch Pro2, Samsung Galaxy S, Samsung Galaxy S II

  • HT1386 I have iTunes (up to date) and an iPhone 4s. When I connect it using the USB cable it does not appear in the top right corner. Other devices do and also the cable is fine as it charges and the PC sees it as a device. I've looked online and have no

    I'm new to this and I think I typed a long heading!
    Anyway the issue is I have iTunes and just updated it to the latest. I also have various Apple devices however my iPhone won't sync with iTunes. When I connect it using the USB cable it does not appear in the top right corner as does other devices. The cable is fine as it charges and also my PC sees the device. However it does not appear in iTunes so I can't sync music to it.
    I've searched the web but all asume iTunes can see the device.
    Help!?

    Hi David,
    If you are having issues with your iPhone not being recognized by iTunes on your Windows machine, you may find the troubleshooting steps in the following article helpful:
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/ts1538
    Regards,
    - Brenden

  • HT5299 I have a Gdrive mini and 2 LaCie hard drives that connect fine using USB. Thunderbolt to fire wire 800 adaptor will not connect to either my MAC air or LaCie drives. Help

    I have a G drive mini and 2 LaCie hard drives that connect fine using USB. Thunderbolt to fire wire 800 adaptor will not connect to either my iMAC  or Mac air or LaCie drives. Help

    Have you tried any of these soundcards designed for 2.0?
    The 3.0 port is categorically designed to be comoatible with all 2.0 devices. The port itself will adapt to the usage parameters of the device.
    But if you really want to downgrade, then simply plug any 2.0 hub into a MBA 3.0 port. The ports on the hub will be 2.0.

  • When try to connect my iPod touch 4th gen to my house Wifi it won't connect, it used to work fine but now it dosen't work, but it does say that the internet is available, but when I tap on it it just loads. all other devices work fine.

    When try to connect my iPod touch 4th gen to my house Wifi it won't connect, it used to work fine but now it dosen't work, but it does say that the internet is available, but when I tap on it it just loads. all other devices work fine.

    Does the iOS device connect to other networks? If yes that tend to indicate a problem with your network.
    Does the iOS device see the network?
    Any error messages?
    Do other devices now connect?
    Did the iOS device connect before?
    Try the following to rule out a software problem:                
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on your router
    .- Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - Wi-Fi: Unable to connect to an 802.11n Wi-Fi network      
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    If still problem and it does not connect to any networks make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar

  • Connect database using ext javascript or applescipt in indesign

    Hi,
    I need to connect oracle database using extended javascript or apple script in indesign. Can somebody help by giving any suggestion. Or is there any possibility to connect database using the two scripting methods.
    It  is really urgent.
    Thanks
    Karthik B

    ExtendScript has a Socket object prototype you can use to e.g. connect to the internet. Calling a web service would probably be more elegant than addressing the database directly. Socket is fairly low-level, though. If you need something easier, you could always try out http://extendables.org/docs/packages/http/doc/readme.html
    I seem to recall some InDesign plug-ins you could buy that allow you to connect to a database directly, but you'd have to google that yourself.

  • Maximum number of connections in use. Close an act...

    Hi everyone.
    I try to connect my N95 to internet, using "One Touch Access" and USB. It used to be working ages ago! but now, it is impossible. it gets connected with the phone, but when i want to open a web page, it say "maximum number of connections in use. Close an active connection first", and forces me to close my Modem connection, and everything gets disconnected...
    what should i do????
    help please...

    97268450 wrote:
    when i open face book application,the same problem maximum number of connection in use. Close an active connection first. i have nokia 5233
    This issue was already answered by other threads. You can click here and  here for more information.
    Hope this will help you.

  • Maximum number of connection in use. Close an acti...

    When I am using nokia maps . A popup message comes in as (maximum number of connection in use . Close an active connection) and an option yes or no . When I press yes . The active connections are displayed there are only one active connections when it is disconnected . An another message comes in as connection needed to continue nokia maps . And when use no message popup again and again and I can't use maps .... I have formatted phone memory and memory card several times and I have updated phone program also . Can you please help me .
     i am using Nokia 5800xpressmusic . model-5800d-1.
                                                                             tankyou
    Solved!
    Go to Solution.

    Hi virajkumar
    Please bear in mind two processes involved here, OVI Maps application which may either be "Online" or "Offline" (spanner icon > Internet > Connection) and Assisted GPS feature utilizing a network access point (Menu > Applications > Location > Positioning > Positioning server > Access point). 
    Happy to have helped forum in a small way with a Support Ratio = 37.0

  • Unable to connect internet using Bluetooth in my E...

    Hi
    Iam using Nokia E5.
    Iam able to connect to mobile internet to laptop using USB connection,while using bluetooth for connceting internet iam getting below error.
    "failed to connect to network.the modem is in use by another application ormay not be configured properly"
    please advise how to over come this.

    Same problem here with E72...well in 75% of cases, sometimes it connect easily, which make me believe the settings are correct.
    Any news here? Does the problem lie with the computer or with the phone? Sometimes, but usually not, restarting one or both device helps.
    Thanks,

  • E66 - "Maximum number of connections in use. Clos...

    When I try to use the web or Google Maps I get an error message: "Maximum number of connections in use. Close an active connection first."
    I suspect it's related to having a connection going for automatic email but I did not have this message on my N78 or my 6120 classic. I suspect it's NOT related to my service provider since it works fine with the other phones.
    The window that lets you close the active connections only has one to close. It crashes Google Maps pretty hard too.
    I've got the e66-2 (NAM version) I don't know if that makes a difference. Any firmware upgrade for the e66-2 yet?
    Any workaround ideas?
    6133>6131>6120c>N82>N78>e66
    Solved!
    Go to Solution.

    Try quitting the active connection and starting a connection on Google Maps first, the next time. This is not abnormal. And are you sure that you used the same provider and were able to do the same thing without closing connections in the other devices ? In my experience, this is network related.
    Mobile Royale - Latest News, Reviews and Software for Mobiles
    Aero Everyday - Aviation News and Insights
    GoMobile Forums-The best mobile technology discussions
    Please visit http://alifeofmisery.blogspot.com or www.miserylife.tk and help someone smile.
    Dreaming of a 5320XpressMusic - 128MB RAM makes up for the 2MP cam !

Maybe you are looking for

  • How to get the layout by the layout name

    Dear guys:     I had a program show the oo alv, and it could change the layout and download file with the layout format. My user want to run it in the background now,but the background enviorment not support the GUI,so i want to get the default layou

  • GZip error in Solaris 9

    I have wrote a program using GZIP to compress data, it work well in Solaris 2.6 with any any version of JDK. But recently we plan to migrate the OS to Solaris 9, and I found the program nolonger work now, it throws out a java.io.Exception : not a GZI

  • How can i take itunes & usb cable icons off from black screen ??

    Thanks !

  • ArrayIndexOutOfBoundsException when searching in ImapFolder

    Hi, Occasionally, some of my test fail with an ArrayIndexOutOfBoundsException: java.lang.ArrayIndexOutOfBoundsException: message number (6) out of bounds (5)      at com.sun.mail.imap.MessageCache.getMessage(MessageCache.java:132)      at com.sun.mai

  • All instances of one symbol turned white

    Hi There, Not sure what I'm doing wrong but I've just noticed that all instances of one particular symbol is showing up document-wide as a white box. At first I thought it may have happened after I grouped several objects together but if I place the