Test Datasource throws error

The Test JDBC data source results in lack of connection resource errors:
Intial Capacity=15
Maximum Capacity=40 (It was 30 before)
I see following in logs:
####<> <Info> <Common> <[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1302184555206> <BEA-000627> <Reached maximum capacity of pool "-DS", making "0" new resource instances instead of "1".>
####<> <Info> <Common> <> <> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1302184558675> <BEA-000627> <Reached maximum capacity of pool "-DS", making "0" new resource instances instead of "1".>
####<> <Info> <Common> <> <> <[ACTIVE] ExecuteThread: '11' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1302184563714> <BEA-000627> <Reached maximum capacity of pool "-DS", making "0" new resource instances instead of "1".>
####<> <Info> <Common> <> <> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1302184573482> <BEA-000627> <Reached maximum capacity of pool "-DS", making "0" new resource instances instead of "1".>
####<> <Info> <Common> <> <> <[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1302184590728> <BEA-000627> <Reached maximum capacity of pool "-DS", making "0" new resource instances instead of "1".>
####<> <Info> <Health> <> <> <weblogic.GCMonitor> <<anonymous>> <> <> <1302184595374> <BEA-310002> <16% of the total memory in the server is free>
In database i see only 11 sessions using this data source. The metalink document suggest that "Set the execute thread size equal to or greater than the maximum number of connections in the pool. ". How can i resolve this issue?
Thanks in advance

Point me to the doc. It's wrong. Clearly you want a connection for every thread that might want one,
so your max capacity needs to be higher. Is your app's JDBC code hand-written or generated? Does
it keep JDBC connections for sharing or multiple invokes, or is it pool-wize, getting, using, and closing
a JDBC connection ASAP, all within a single invoke?
Joe

Similar Messages

  • Upgraded TFS 2010 SP1 to TFS 2012 but "Test-SPContentDatabase" throws error while upgrading SP2010 to SP2013

    Hello All,
    Executed the following command in the SP 2013 management shell as administrator:
    "Test-SPContentDatabase -Name WSS_CONTENT -WebApplication http://tfs2010"
    Errors:
    1. Category        : MissingSetupFile
    Error           : True
    UpgradeBlocking : False
    Message         : File [Features\ReportServer\ReportViewer.dwp] is referenced
                      [2] times in the database [WSS_CONTENT], but is not
                      installed on the current farm. Please install any
                      feature/solution which contains this file.
    2. Category        : MissingSetupFile
    Error           : True
    UpgradeBlocking : False
    Message         : File [Features\TfsDashboardAgileReports\Reports\Report
                      Template.xltx] is referenced [2] times in the database
                      [WSS_CONTENT], but is not installed on the current farm.
                      Please install any feature/solution which contains this file.
    3. Category        : MissingSetupFile
    Error           : True
    UpgradeBlocking : False
    Message         : File [Features\TfsDashboardCmmiReports\Reports\Report
                      Template.xltx] is referenced [2] times in the database
                      [WSS_CONTENT], but is not installed on the current farm.
                      Please install any feature/solution which contains this file.
    4. Category        : Configuration
    Error           : False
    UpgradeBlocking : False
    Message         : The [SharePoint - 80] web application is configured with
                      claims authentication mode however the content database you
                      are trying to attach is intended to be used against a
                      windows classic authentication mode.
    Tried for the error 4: New-SPWebApplication -Name "TFSWEBAPP" -ApplicationPool "SharePoint Web Services System" -AuthenticationMethod "NTLM" -ApplicationPoolAccount
    (Get-SPManagedAccount "XXX\spservice") -Port 80 -URL "http://tfs2010
    After executing the above command I was getting ">>",
    didn't got any other reply for long time. Is there any power shell command to convert "claims mode" to "classic mode"
    Can someone help on the above mentioned errors.
    Thanks ,
    Rajukumar

    Hi Charles,
    Thanks for the reply.
    Environment  details:
    OS: Windows server 2008 R2
    Database: SQL Server 2008 R2
    TFS: TFS 2010 with SP1
    SharePoint: SharePoint 2010 with SP2
    Upgrade Environment details:
    OS: Windows server 2012
    Database: SQL Server 2012 with SP1
    TFS: TFS 2012
    SharePoint: SharePoint 2013
    Steps followed by me for upgradation:
    1. Stopped all the services of TFS and IIS
    2. Took backup of TFS and SP databases from SQL server 
    3. Installed the new environment and restored databsases to new Database server
    4. Upgraded to TFS 2012
    5. Installed and configured SP 2013
    6. Upgraded to SP 2013
    Go the errors mentioned in earlier message during up-gradation. I queried the files from ALLDOCS table of WSS_Content and deleted those.
    7. Upgraded successfully with minor issues ( reports are not available for the old Team project in the report manager URL)
    8. I updated the reports manually.
    Question: Please let me know is there any script to update reports in all the team projects.
    Thanks,
    Rajukumar

  • When i send a test message throw the RWB for Http receiver adapter it is giving the error "Error in processing caused by: com.sap.aii.adapter.http.api.HttpAdapterException: ERROR_SOCKET_TIMEOUT, Read timed out"

    when i send a test message throw the RWB for Http receiver adapter it is giving the error "Error in processing caused by: com.sap.aii.adapter.http.api.HttpAdapterException: ERROR_SOCKET_TIMEOUT, Read timed out"

    Hi, Michal
    I have read your Weblog. It makes sense to me. Thanks a lot for your help! However, I still have some questions and listed them as following. Could you please help to answer them?
    <b>Q1:</b> I am new to SAP-XI. So I have no idea about TCODE-SXMB_ADM. Could you introduce more details about it?
    <b>Q2:</b> The XI system I am using is running on SAP-ICC's machine. The tools I can use are:
    <b>1.</b>Builder for Integration Repository
    <b>2.</b>Builder for Integration Configuration
    <b>3.</b>System Landscape Directory
    <b>4.</b>Runtime Workbench
    <b>5.</b>Administration System (for Repository, Directory, Runtime)
    Please note that I do not have a complete control on this SAP-XI. Do you think whether or not I can set the timeout parameter by following the instructions provided in your Weblog?
    For more details about my SAP-XI, please access the following Web page:
    http://iccxi.sap.com:58000/rep/support/admin/index.html
    <b>Q3:</b> The following messages are extracted from the SAP-XI. Wish they are hepful to solving my problem.
    2006-06-19 05:12:16 Success The message was successfully received by the messaging system. Profile: XI URL: http://iccxi.sap.com:58000/MessagingSystem/receive/AFW/XI
    2006-06-19 05:12:16 Success Using connection AFW. Trying to put the message into the request queue.
    2006-06-19 05:12:16 Success Message successfully put into the queue.
    2006-06-19 05:12:16 Success The message was successfully retrieved from the request queue.
    2006-06-19 05:12:16 Success The message status set to DLNG.
    2006-06-19 05:12:16 Success Delivering to channel: ValidationRequestHandlerServiceChannel
    2006-06-19 05:12:16 Success SOAP: request message entering the adapter
    2006-06-19 05:12:37 Success SOAP: call failed
    2006-06-19 05:12:37 Error SOAP: error occured: java.net.ConnectException: Connection timed out: connect
    2006-06-19 05:12:37 Error Exception caught by adapter framework: Connection timed out: connect
    Thanks
    Menghua Li

  • SSRS dataset throws error when another stored procedure is called inside dataset stored procedure

    Hello;
    I am using Report Build 3.0, I have a simple report which gets data using dataset which is created from a Stored Procedure. I have another stored procedure which updates the data in the table which is used for the report. I want to get the live data on report everytime
    the report is run so that I call that stored procedure (sp_updatedata) inside my report dataset stored procedure and here where my report fails as it throws error while creating dataset.
    Here is sample:
    sp_updatedata (this only returns "Command(s) completed successfully"
    Create Proce sp_getReportData
    As
    Begin
    Exec sp_updatedata -- I call it to update the data before it displays on the report
    Select * from customers
    End
    If I remove this line it works.
    Exec sp_updatedata -- I call it to update the data before it displays on the report
    Thanks
    Essa Mughal

    Hi MESSA,
    According to your description, you create a dataset based on a stored procedure. In this procedure, it calls another procedure. Now it throws error when creating dataset. Right?
    In Reporting Services, when creating dataset, all the query or stored procedure will be executed in SSMS. So if the procedure can be executed in SSMS, it supposed to be working in SSRS. However, it has a limitation in SSRS. In a dataset, it can only return
    one result set.
    In this scenario, I don't think it's the issue of calling other procedure inside of procedure. Because we tested in our local environment, it works fine. I guess the sp_updatedata returns a result set, and the "select * from customers" returns
    another result set. This might be the reason cause the error.
    Reference:
    Query Design Tools in Report Designer SQL Server Data Tools (SSRS)
    Reporting Services Query Designers
    If you still have any question, please post the error message and the store procedure (sp_updatedata).
    Best Regards,
    Simon Hou

  • Why Webdynpro framework is throwing error in this testcase

    Hi All,
    In my requirement i'm using the WTGXXX(for Discount field) in Webdynpro ABAP.
    If I validate the entries there is a standard check performed by the webdynpro framework when entries other than the numercie fields are given.
    This is a webdypro ALV.
    For Ex:
    when the discount is given as (9-33) it is throwing the error that "The entered value can only contain numerical characters" but it is not throwing any error for (9-(9/22)) or (9-(42)) instead it is calculating the values which is a good feature. But why, (9-33) this case is not handled.
    I tried to keep the value in duegging it is working fine.
    Before any event gets trigerred for the above cases the value is calculated by the framweork by defalut.
    Some times some cases are handled sometimes not.
    I'm unable to get this behavior of the framework.
    For the first time (9-3*3) calcuation is throwing error from the 2nd time onwards this is giving the correct output. When I load the view for the first time and do this check then error is thrown, second time when the other calcuations are done and again do this calcaulation then this error is not shown instaead it is giving me 0 which is the result.
    This case applies to the cases where the expressions result in 0 (defalut values)
    One mroe test case for this is - (9-9).
    Eventhough the user knows the result of these expresions, these are throwing errors.
    How to handle this.
    I tired handling this with own DE/Domanin CURR 15 but for the 1st time this error is theon 2nd time on wards the reuslt is shown correct.
    Isn't a special case.
    When I bound the table again with INITIAL data then again the erorr is thrown for that case.
    ie I have one RESET button where i will bind the table again with the INITIAL table entries then agian the error is thrown for (9-3*3).
    Is there any SAPNOTE applied or Exceptions to this. Please let me know.
    Please replicate the same in Webdynpro Java also and share the reasons.
    Currently I'm doing this by taking the string only to avoid these erorrs in case of Zero.
    Regards,
    Lekha.

    Hi
    Use another forum for Webdynpro questions: Web Dynpro ABAP
    BR, Sergei

  • I am using Mac OS X 10.7.5 as of now and when I am trying to upgrade to Mavericks, it is throwing error "The product distribution file could not be verified. It may be damaged or not signed".

    I am using Mac OS X 10.7.5 as of now and when I am trying to upgrade to Mavericks, the App Store is throwing error "The product distribution file could not be verified. It may be damaged or not signed".
    Is there anything I should do differently? Is anyone else facing the same issue?
    Kindly help.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    Third-party system modifications are a common cause of usability problems. By a “system modification,” I mean software that affects the operation of other software — potentially for the worse. The following procedure will help identify which such modifications you've installed. Don’t be alarmed by the complexity of these instructions — they’re easy to carry out and won’t change anything on your Mac. 
    These steps are to be taken while booted in “normal” mode, not in safe mode. If you’re now running in safe mode, reboot as usual before continuing. 
    Below are instructions to enter some UNIX shell commands. The commands are harmless, but they must be entered exactly as given in order to work. If you have doubts about the safety of the procedure suggested here, search this site for other discussions in which it’s been followed without any report of ill effects. 
    Some of the commands will line-wrap or scroll in your browser, but each one is really just a single line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, and you can then copy it. The headings “Step 1” and so on are not part of the commands. 
    Note: If you have more than one user account, Step 2 must be taken as an administrator. Ordinarily that would be the user created automatically when you booted the system for the first time. The other steps should be taken as the user who has the problem, if different. Most personal Macs have only one user, and in that case this paragraph doesn’t apply. 
    Launch the Terminal application in any of the following ways: 
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.) 
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens. 
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid. 
    When you launch Terminal, a text window will open with a line already in it, ending either in a dollar sign (“$”) or a percent sign (“%”). If you get the percent sign, enter “sh” and press return. You should then get a new line ending in a dollar sign. 
    Step 1 
    Triple-click anywhere in the line of text below on this page to select it:
    kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}' | open -ef 
    Copy the selected text to the Clipboard by pressing the key combination command-C. Then click anywhere in the Terminal window and paste (command-V). I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting. A TextEdit window will open with the output of the command. If the command produced no output, the window will be empty. Post the contents of the TextEdit window (not the Terminal window), if any — the text, please, not a screenshot. You can then close the TextEdit window. The title of the window doesn't matter, and you don't need to post that. No typing is involved in this step.
    Step 2 
    Repeat with this line:
    { sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix\.cron)|org\.(amav|apac|cups|isc|ntp|postf|x)/{print $3}'; echo; sudo defaults read com.apple.loginwindow LoginHook; echo; sudo crontab -l; } 2> /dev/null | open -ef 
    This time you'll be prompted for your login password, which you do have to type. Nothing will be displayed when you type it. Type it carefully and then press return. You may get a one-time warning to be careful. Heed that warning, but don't post it. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator. 
    Note: If you don’t have a login password, you’ll need to set one before taking this step. If that’s not possible, skip to the next step. 
    Step 3
    { launchctl list | sed 1d | awk '!/0x|com\.apple|org\.(x|openbsd)/{print $3}'; echo; crontab -l 2> /dev/null; } | open -ef 
    Step 4
    ls -A /e*/{cr,la,mach}* {,/}Lib*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta}* L*/Fonts .la* 2> /dev/null | open -ef  
    Important: If you formerly synchronized with a MobileMe account, your me.com email address may appear in the output of the above command. If so, anonymize it before posting. 
    Step 5
    osascript -e 'tell application "System Events" to get name of login items' | open -ef 
    Remember, steps 1-5 are all copy-and-paste — no typing, except your password. Also remember to post the output. 
    You can then quit Terminal.

  • SQL Developer Connection Error: Status : Failure -Test failed: IO Error: The Network Adapter could not establish the connection

    Hi, I'm running the following setup:
    Mac OS X 10.8.4
    Virtual Box 4.2.16 r86992
    Oracle Developer Days (don't know the version, just downloaded it)
    SQL Developer 3.2.20.09
    Networking is host-only, I tried bridged but that doesn't make a difference for the problem at hand. I can ping my virtual box just fine, telnet to port 1521 looks good too:
    $ ping 192.168.56.101
    PING 192.168.56.101 (192.168.56.101): 56 data bytes
    64 bytes from 192.168.56.101: icmp_seq=0 ttl=64 time=0.449 ms
    ^C
    --- 192.168.56.101 ping statistics ---
    1 packets transmitted, 1 packets received, 0.0% packet loss
    round-trip min/avg/max/stddev = 0.449/0.449/0.449/0.000 ms
    $ telnet 192.168.56.101 1521
    Trying 192.168.56.101...
    Connected to 192.168.56.101.
    Escape character is '^]'.
    asdf
    asdf
    Connection closed by foreign host.
    When I create a new connection with sql developer, with the same hostname / IP (192.168.56.101), Port 1521 (didn't change that) and SID orcl, basic connection type, it can't even connect, throwing the error mentioned in the subject:
    Status : Failure -Test failed: IO Error: The Network Adapter could not establish the connection
    I have looked at various threads in the forums here but I'm still stymied why the connection seems to be ok, yet sql developer has problems with it. If I create an ssh tunnel so sql developer only has to connect to localhost it works:
    ssh -L 1521:192.168.56.101:1521 -l oracle 192.168.56.101
    Message was edited by: 2a2e67cd-b5b2-4229-9fa6-21f5dfe0760d

    Hi Ali,
    This may be of varoius reasons..
    Is the database that you are connecting on the same PC?
    You have specified Hostname: localhost.
    If not please replace it with the IP of that server.
    Else please check whether the database listener is started or not. if not please start the listener.
    Check the SID by tnsping command.
    Hope this will help you..
    Thanks
    Ashok

  • ColdFusion 11 Throws Error Session Variable Undefined, When in fact it is Defined as shown by CFDump.

    I've been having a particularly annoying error with ColdFusion 11, and unable to track down the source of this problem.
    Basically There are a few variables defined in the session scope we check with isdefined a few lines above to make sure they are defined. Subsequent lines may or may not throw a #variablename# is undefined on random lines.
    What can I do to fix this issue? Is this a known bug?

    I am doing isDefined checks for relevant variables when neccessary. The problem is not that the code errors out undefined ... it's that the variable is actually defined and errors out undefined.
    As a simplified example;
    Login.cfm Form supplies form.username and form.password to login_action.cfm then redirects to index.cfm after succesful LDAP authentication. I will not include all lines as it would be too long.
    Login_action.cfm
    <cfinclude template="ldap.cfm">
    <!--- LDAP login code goes here; checks if credential's supplied are valid and sets variable #logged_in# ... --->
    <cftry>
        <cfif isdefined("logged_in") and logged_in>
            <!--- Create Session User Structure and Default Profile --->
            <cfset session.user=StructNew()>
            <cfset session.user.username=form.username>
            <cfset session.user.firstname="">
            <cfset session.user.surname="">
            <cfset session.user.email="">
            <!--- Pull in additional Details --->
            <cfquery name="qDetails" datasource="userdetails">
            SELECT firstname,surname,email FROM Profiles
            WHERE username = '#session.user.username#'
            </cfquery>
            <cfif isdefined("qDetails") and qDetails.recordcount>
                <cfoutput query="qDetails">
                <cfset session.user.firstname ="#qDetails.firstname#">
                <cfset session.user.surname="#qDetails.surname#">
                <cfset session.user.email="#qDetails.email#">
                </cfouput>
            </cfif>
        <cfelse>
            <!--- Throw Error back to login page --->
            <cfthrow message="1" type="Custom_Security" ErrorCode="Fail">
        </cfif>
        <cfcatch type="any">
            <!--- Throw Error back to login page --->
            <cfthrow message="2" type="Custom_Security" ErrorCode="Fail">
        </cfcatch>
    </cftry>
    <!--- Redirect User to login page after Successful Login --->
    <cflocation url="index.cfm">
    Index.cfm
    <!--- At Top of Index session.user.email always exists, in the event it is undefined it will be set to "" --->
    <cfparam name="session.user.email" default="">
    <!--- Lots of lines of code above here build HTML page etc <cfoutput> references to #session.user.email# and other session vars --->
    <!--- Example pull some more information this line may or may not error... --->
    <cfquery name="qUserInformation" datasource="userdetails">
    SELECT * FROM Information
    WHERE user_email = '#session.user.email#'
    ORDER BY SomeOtherColumn
    </CFQUERY>
    <!--- Example point where a session error can be generated less than 2 lines above it has just finished getting information using session.user.email --->
    <cfquery name="qUserGroups" datasource="userdetails">
    SELECT * FROM Groups
    WHERE user_email = '#session.user.email#'
    ORDER BY SomeColumn
    </CFQUERY>
    <!--- Some other common examples require cfscript - and throw errors; above lines may not ... --->
    <cfscript>
    oHomePage=CreateObject("component","site_components.homepage");
    qNews=oHomePage.getNews("#session.user.category#");
    </cfscript>
    <!--- More lines to do with HTML Footer etc <cfoutput> more stuff --->
    in the wwwroot the Application.cfm handles all errors generated during rendering of the page, which includes generating a cfdump of the session scope.
    When I get the Error Log I can see in the cfcatch cfdump the error... Element USER.EMAIL UnDefined in SESSION.
    struct
    Browser
    Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36
    DateTime
    {ts '2014-09-28 11:38:48'}
    Diagnostics
    Element USER.EMAIL is undefined in SESSION. <br>The error occurred on line 15.
    However when I check the SESSION scope which is also dumped ... It is defined!
    struct
    user
    struct
    COLOR
    cccccc
    EMAIL
    [email protected]
    FIRSTNAME
    Example
    SURNAME
    Surname
    EXAMPLE1
    1
    TEMPLATE
    template14
    TEMPLATE_DETAILS
    0
    What is causing this strange and irratic behaviour? The problem is so far I cannot replicate the issue. It is intermittant. The issue only started after upgrading to ColdFusion 11. This code has worked flawlessly for years on CF8.

  • 0PROJECT_ATTR  datasource throws short dump in bw

    0PROJECT_ATTR datasource throws short dump in BW.  On checking the same at source system level in R3 using RSA3 transaction, the error has been cornered that "Project I0640-03/0001 does not exist".
    Now i would like to know the related transaction codes to even more corner the problem.
    Can anyone help me out in this.
    Regards
    Baskar
    Message was edited by: Baskar Rajagopalan

    For information, I dont have authorisation to use SE93.
    AS of now the problem has already been cornered that the issue is in R3 extraction only.
    Message was edited by: Baskar Rajagopalan

  • DataSource lookup error in bpel 10.1.3

    Hi,
    i have a java client program in jdeveloper 10.1.3 from which i am trying to connect bpel 10.1.3 datasource but it is not able to find the datasource even it is able to connect bpel server RMI port where all datasouces has been defined.
    as part of code is-
    Hashtable env = new Hashtable();
    env.put("java.naming.factory.initial",
    "com.evermind.server.ApplicationClientInitialContextFactory");
    env.put("java.naming.provider.url", "ormi://localhost:12401");
    \\ loacl bpel server RMI port connection
    env.put("java.naming.security.principal", "oc4jadmin"); \\username
    env.put("java.naming.security.credentials", "sadmin01"); \\Password
    context = new InitialContext(env);
    \\Till here it is able to create initial context using hashtable
    dataSource = (DataSource) context.lookup("jdbc/XRefFunctionsSource");
    \\ Here it failed to lookup datasource
    I had defined the datasouce in bpel sever through enterprise manager.
    I tried to connect all by default datasources which are there initially but it failed.
    Please tell any suggestion to change in my code to connect datasource.
    Thanks.

    This is the complete piece of code in which i am trying to get DB Connection from jdeveloper 10.1.3 -
    public class Test
    public Test() throws Exception
    static Test instance= null;
    Context context;
    Connection connection;
    DataSource dataSource;
    try{
    * Create access to the naming context, initialized from the
    * Hashtable parameter to the constructor.
    Hashtable env = new Hashtable();
    env.put("java.naming.factory.initial",
    "com.evermind.server.ApplicationClientInitialContextFactory");
    env.put("java.naming.provider.url", "ormi://localhost:12401");
    env.put("java.naming.security.principal", "oc4jadmin");
    env.put("java.naming.security.credentials", "sadmin01");
    context = new InitialContext(env);
    System.out.println("InitialContext created using Hashtable...");
    * Lookup the jdbc/BPELSamplesDataSource object.
    dataSource = (DataSource)
    context.lookup("jdbc/XRefFunctionsSource");
    System.out.println("jdbc/XRefFunctionsSource found...");
    System.out.println("Connecting to database ...");
    //dataSource =
    connection = dataSource.getConnection("orabpel","orabpel");
    System.out.println("Got database connection ...");
    catch(Exception e)
    System.out.println("" + e);
    throw e;
    private static Test instance() throws Exception
    if (instance== null)
    instance = new Test();
    return instance;
    private Connection getConnection() throws Exception
    return connection;
    public static void main(String[] args)
    Connection con = Test.instance().getConnection();
    I tried a lot with different options but still it is not working..
    As i told the same code is working for bpel 10.1.2 using jdeveloper 10.1.2.
    Is there any other way to get DB connection here?
    Thanks,
    Anil
    Message was edited by:
    user516357

  • Help, some font work on flash.text.engine throw Error #2161

    I found some font work on flash.text.engine throw Error #2161
    they are: "Vivaldi","Harlow Solid Italic","Bauhaus 93", "Algerian".
    the error info is:
    Error: Error #2161: 设置文本布局时出现内部错误。
    at flash.text.engine::TextBlock/DoCreateTextLine()
    at flash.text.engine::TextBlock/createTextLine()
    at flashx.tcal.compose::ComposeState/createTextLine()[C:\Development\tcal_core\flashx\tcal\c ompose\ComposeState.as:292]
    at flashx.tcal.compose::ComposeState/composeNextLine()[C:\Development\tcal_core\flashx\tcal\ compose\ComposeState.as:207]
    at flashx.tcal.compose::BaseCompose/composeParagraphElement()[C:\Development\tcal_core\flash x\tcal\compose\BaseCompose.as:238]
    at flashx.tcal.compose::BaseCompose/composeBlockElement()[C:\Development\tcal_core\flashx\tc al\compose\BaseCompose.as:150]
    at flashx.tcal.compose::BaseCompose/composeInternal()[C:\Development\tcal_core\flashx\tcal\c ompose\BaseCompose.as:213]
    at flashx.tcal.compose::ComposeState/composeInternal()[C:\Development\tcal_core\flashx\tcal\ compose\ComposeState.as:120]
    at flashx.tcal.compose::BaseCompose/composeTextFlow()[C:\Development\tcal_core\flashx\tcal\c ompose\BaseCompose.as:194]
    at flashx.tcal.compose::ComposeState/composeTextFlow()[C:\Development\tcal_core\flashx\tcal\ compose\ComposeState.as:89]
    at flashx.tcal.compose::StandardFlowComposer/http://ns.adobe.com/tcal/internal/2008::callThe Composer()[C:\Development\tcal_core\flashx\tcal\compose\StandardFlowComposer.as:383]
    at flashx.tcal.compose::StandardFlowComposer/compose()[C:\Development\tcal_core\flashx\tcal\ compose\StandardFlowComposer.as:434]
    at flashx.tcal.factory::TextLineFactory$/factoryMeasure()[C:\Development\tcal_core\flashx\tc al\factory\TextLineFactory.as:267]
    at flashx.tcal.factory::TextLineFactory$/createTextLinesFromTextFlow()[C:\Development\tcal_c ore\flashx\tcal\factory\TextLineFactory.as:186]
    at mx.graphics.graphicsClasses::TextFlowComposer/composeTextFlow()[E:\dev\trunk\frameworks\p rojects\flex4\src\mx\graphics\graphicsClasses\TextFlowComposer.as:123]
    at mx.graphics::TextGraphic/compose()[E:\dev\trunk\frameworks\projects\flex4\src\mx\graphics \TextGraphic.as:511]
    at mx.graphics::TextGraphic/measure()[E:\dev\trunk\frameworks\projects\flex4\src\mx\graphics \TextGraphic.as:297]
    at mx.graphics.graphicsClasses::GraphicElement/measureSizes()[E:\dev\trunk\frameworks\projec ts\flex4\src\mx\graphics\graphicsClasses\GraphicElement.as:2592]
    at mx.graphics.graphicsClasses::GraphicElement/validateSize()[E:\dev\trunk\frameworks\projec ts\flex4\src\mx\graphics\graphicsClasses\GraphicElement.as:2554]
    at mx.components::Group/validateSize()[E:\dev\trunk\frameworks\projects\flex4\src\mx\compone nts\Group.as:307]
    at mx.managers::LayoutManager/validateClient()[E:\dev\trunk\frameworks\projects\framework\sr c\mx\managers\LayoutManager.as:837]
    at mx.controls::List/makeRowsAndColumns()[E:\dev\trunk\frameworks\projects\framework\src\mx\ controls\List.as:1302]
    at mx.controls.listClasses::ListBase/makeAdditionalRows()[E:\dev\trunk\frameworks\projects\f ramework\src\mx\controls\listClasses\ListBase.as:3901]
    at mx.controls.listClasses::ListBase/updateDisplayList()[E:\dev\trunk\frameworks\projects\fr amework\src\mx\controls\listClasses\ListBase.as:3635]
    at mx.controls::List/updateDisplayList()[E:\dev\trunk\frameworks\projects\framework\src\mx\c ontrols\List.as:1004]
    at mx.controls.listClasses::ListBase/validateDisplayList()[E:\dev\trunk\frameworks\projects\ framework\src\mx\controls\listClasses\ListBase.as:3273]
    at mx.managers::LayoutManager/validateDisplayList()[E:\dev\trunk\frameworks\projects\framewo rk\src\mx\managers\LayoutManager.as:622]
    at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\trunk\frameworks\projects\frame work\src\mx\managers\LayoutManager.as:695]
    at Function/http://adobe.com/AS3/2006/builtin::apply()
    at mx.core::UIComponent/callLaterDispatcher2()[E:\dev\trunk\frameworks\proje

    <div class=Section1><br /><br /><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>xtaotao,<o:p></o:p></span></p> <br /><br /><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p> </o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Can<br />you please file a bug in the bug base at <a href="http://bugs.adobe.com/flex/">http://bugs.adobe.com/flex/</a><br />and include a simple test case (and/or a list of fonts not working for you)<br />showing the behavior. If you file against &#8220;Flex SDK&#8221; and the &#8220;Gumbo:<br />TextArea&#8221; it will end up in my queue and I can investigate and transfer<br />to the appropriate team(s) as needed.<o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p> </o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Thanks,<o:p></o:p></span></p>< br /><br /><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p> </o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Peter<br />deHaan<o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Flex<br />SDK Team | Adobe Systems Inc.<o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p> </o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'><o:p> </o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'><o:p> </o:p></span></p><br /><br /><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><br /><br /><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span<br />style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> xtaotao<br />[mailto:[email protected]] <br><br /><b>Sent:</b> Tuesday, November 04, 2008 4:07 AM<br><br /><b>To:</b> [email protected]<br><br /><b>Subject:</b> Re: Help, some font work on flash.text.engine throw Error #2161<o:p></o:p></span></p><br /><br /></div><br /><br /><p class=MsoNormal><o:p> </o:p></p><br /><br /><p class=MsoNormal style='margin-bottom:12.0pt'>A new message was posted by<br />xtaotao in <br><br /><br><br /><b>Developers</b> --<br><br />  Help, some font work on flash.text.engine throw Error #2161<br><br /><br><br />and more font work on flash.text.engine do not throw error, but display effect<br />are different with TextField. <o:p></o:p></p><br /><br /><div class=MsoNormal><br /><br /><hr size=2 width=200 style='width:150.0pt' align=left><br /><br /></div><br /><br /><p class=MsoNormal style='margin-bottom:12.0pt'>View/reply at <a<br />href="http://www.adobeforums.com/webx?13@@.59b6ee06/0">Help, some font work on<br />flash.text.engine throw Error #2161</a><br><br />Replies by email are OK.<br><br />Use the <a<br />href="http://www.adobeforums.com/webx?280@@.59b6ee06!folder=.3c060fa3">unsubscribe</a>< br />form to cancel your email subscription.<o:p></o:p></p><br /><br /></div>

  • Starting an array of DAQmx tasks throws error 50103 on start

    Hello,
    I am creating and starting a number of tasks from an enum array which will be subsequently used to read data from devices.  The issue is that the second iteration of the starting loop throws error 50103 (specified resource reserved).
    When I carried out some testing I discovered that the tasks are set up correctly and the error is thrown only on the start task.
    I have attached the section of code for reference. 
    Thanks
    Dave
    Attachments:
    DAQmx taskInit_fastLoop.vi ‏66 KB

    I have to call the start vi more than once as the tasks are contained within an array.  As I understand (but suspect I may be incorrect), that for each case corresponding to the input enum array, the task within that case is started (once) due to the auto indexing of the array.
    This is a subVI which is only called once in the application.  The output from this should be a list of started tasks which I use in subsequent read operations until the program is complete, where the tasks are then cleared down.
    Apologies if I have repeated myself, but I am trying to understand how this works, since what I am seeing does not seem to make any sense to me.
    Dave
    Attachments:
    tasksetup.png ‏103 KB

  • [svn:fx-trunk] 10891: Fix for ASDoc throws error when using getter methods for pseudo-inheritance of static constants

    Revision: 10891
    Author:   [email protected]
    Date:     2009-10-06 09:46:47 -0700 (Tue, 06 Oct 2009)
    Log Message:
    Fix for ASDoc throws error when using getter methods for pseudo-inheritance of static constants
    QE notes: None.
    Doc notes: None
    Bugs: SDK-22676
    Tests run: checkintests
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-22676
    Modified Paths:
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/AsDocUtil.java

    Have you tried using com.adobe.air.crypto.EncryptionKeyGenerator instead?

  • [svn:fx-trunk] 9284: Fix bug: Spark BasicLayout should throw error/ RTE when setting useVirtualLayout

    Revision: 9284
    Author:   [email protected]
    Date:     2009-08-13 15:33:07 -0700 (Thu, 13 Aug 2009)
    Log Message:
    Fix bug: Spark BasicLayout should throw error/RTE when setting useVirtualLayout
    QE notes: None
    Doc notes: None
    Bugs: SDK-22211
    Reviewer: Hans
    Tests run: checkintests, gumbo/core/Group, gumbo/core/DataGroup, gumbo/core/List
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-22211
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/bundles/en_US/layout.properties
        flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/BasicLayout.as

    This bug figures out also when creating a custom spark ComboBox, then trying to programatically update the userProposedSelectedIndex property. The proposed selected index is selected, but does not apply the same skin as when mouse is on rollover or item is selected due to up and down keys.
    The issue seems like updating the status of the item renderer to rollover or selected to get the same skin applied.
    Please could you attach DropDow nList.as that you edited ?
    Thank you so much.

  • Datasource 0SCALE_TEXT error in RSA3

    Hello everyone,
    current BW setup (SAP NetWeaver BI 7.0 support pack SAPKW70019)
    I have installed the Qualifications infocube (0PAPD_C01) succesfully in BWD and now require to transport into BWQ system. When i attempted to transport in to BWQ the transport failed with log error
    Mapping between data source 0SCALE_TEXT and source system SALF100 is inconsistent.
    i checked to see if this datasource exists in BWQ and it does but the version is set to modified, so i then tried to transport an active version of 0SCALE_TEXT from BWD to BWQ but again this failed with the same error
    Mapping between data source 0SCALE_TEXT and source system SALF100 is inconsistent.
    after researching on SDN i found that i should check in RSA5 and RSA3 in qa to see if datasource is active and works. As far as i can see the datasource is active but in RSA3 when i execute extractor checker it throws error message
    Errors occurred during the extraction
    Message no. RJ012
    again i researched SDN but many posts are not relevant or have no answers. Please can anyone help to resolve this problem.
    Many Thanks
    Forhad

    Hi Forhad,
    Doesn't this thread help you either?
    CRM datasources inactive after transport
    Rgds,
    Sarah

Maybe you are looking for