WebLogic Can't find JDBC Connection created in IDE

Hi,
Got a strange problem. I am migrating to JDeveloper 11g an EJB application that was running fine in 10.x. I have a problem with database connections. Although I can successfully create a connection using the Database Navigator - and I can add it to my project. When I launch the application, I get the following error when WebLogic Integrated Server starts up:
<Oct 29, 2008 8:15:59 PM EDT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1225325759343' for task '0'. Error is: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException:
     at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:289)
     at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
     at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
     at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
     at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
     Truncated. see log file for complete stacktrace
weblogic.common.resourcepool.ResourceSystemException: Cannot load driver class: com.microsoft.jdbc.sqlserver.SQLServerDriver
Yes, I know it's the SQLServer JDBC Driver (shame on me); but it is a library listed in my application, it is also registered within the IDE.
I did also notice that creating a database connection does NOT create a connections.xml file anywhere on my machine, although I notice that your documentation on the web tells me it should.
Any ideas?
Best regards,
Nigel

Hi,
WLS seems to have a problem with loading the JDBC driver. I suggest you create a Java EE data source in WLS and then use this data source in your application. Before you do this, and if you have time, can you create a quick testcase from scratch with the same code you used in 10.1.3 ? Doing this allows to exclude a migration problem
Frank

Similar Messages

  • Moved the "Connections" folder, now Dreamweaver CS3 can't find MySQL connection...

    Hi,
    Dreamweaver creates a "Connections" folder in the site root
    where all database connection files are stored. I want to move this
    folder to another path but then DW can't find the connection (for
    example in admin/includes/Connections).
    How can I tell DW the new path of the "Connections" folder so
    I can still use DW extensions to find all available database
    connections?
    Thanks!
    Regards,
    Checo

    _Checo_ wrote:
    > How can I tell DW the new path of the "Connections"
    folder so I can still use
    > DW extensions to find all available database
    connections?
    Answered your duplicate post in the AppDev forum. Please
    don't post
    identical questions in multiple forum.s
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • How can I find out who created or which id created the Essbase app. Is there any file where can i go and check to see?

    Hi All,       
                   Do you guys know how can I find out who created or which id created the Essbase app. Is there any file where can i go and check to see?
    I am on UNIX and 11.1.2.2
    Thanks all.

    Don't think that information is kept anywhere.
    This is how the log will look like during app and db creation
    [Fri Aug 02 13:35:55 2013]Local/ESSBASE0///9036/Info(1051001)
    Received client request: Get Extended Application Info (from user [celvin@Native Directory])
    [Fri Aug 02 13:36:04 2013]Local/ESSBASE0///8072/Info(1042059)
    Connected from [fe80::a531:1592:875b:3873]
    [Fri Aug 02 13:36:04 2013]Local/ESSBASE0///8072/Info(1051001)
    Received client request: MaxL: Execute (from user [celvin@Native Directory])
    [Fri Aug 02 13:36:06 2013]Local/ESSBASE0///5432/Info(1042059)
    Connected from [fe80::a531:1592:875b:3873]
    [Fri Aug 02 13:36:15 2013]Local/ESSBASE0///8072/Info(1051061)
    Application test loaded - connection established
    [Fri Aug 02 13:36:15 2013]Local/ESSBASE0///8072/Info(1054027)
    Application [test] started with process id [4324]
    [Fri Aug 02 13:36:15 2013]Local/ESSBASE0///8072/Info(1056010)
    Application test created
    [Fri Aug 02 13:37:22 2013]Local/ESSBASE0///6972/Info(1051001)
    Received client request: MaxL: Define (from user [celvin@Native Directory])
    [Fri Aug 02 13:37:22 2013]Local/ESSBASE0///6972/Info(1051001)
    Received client request: MaxL: Fetch (from user [celvin@Native Directory])
    [Fri Aug 02 13:37:28 2013]Local/ESSBASE0///4520/Info(1042059)
    Connected from [fe80::a531:1592:875b:3873]
    [Fri Aug 02 13:37:28 2013]Local/ESSBASE0///4520/Info(1051001)
    Received client request: MaxL: Execute (from user [celvin@Native Directory])
    [Fri Aug 02 13:37:28 2013]Local/ESSBASE0///4520/Info(1054014)
    Database test loaded
    [Fri Aug 02 13:37:28 2013]Local/ESSBASE0///4520/Info(1056020)
    Database test.test created
    Regards
    Celvin
    http://www.orahyplabs.com

  • Acrobat XI can't find internet connection

    I have had Adobe CC subsciption for some time now, but recently my Acrobat stopped working. it says that it can't find internet connection. But all the other Adobe applications installed through the CC application manager are working fine.
    I've had numerous chats with Adobe agents, and with my office's IT guys, and there has been no solution.
    We use corporate anti-virus, firewall and proxy scrypts. I've had all Adobe links whitelisted that were given to me by the Adobe agents. The hosts file doesn't have any Adobe info. I've tried reinstalling n+1 number of times, with various options such as selected boot and such, and still no solution.
    Why is it that all other Adobe applications installed under the CC work fine, but Acrobat doesn't?
    It's sad that if one buys a subscription and loses internet, one would lose all the products as well. One should be allowed to work on the applications, internet connection or not.
    Please help with this Acrobat that has created a circus for me here.

    Have you also asked in http://forums.adobe.com/community/acrobat to find out if someone there has the same problem... and a solution?

  • My apple tv can't find or connect to my itunes library

    Hi my Apple TV can't find or connect to my library

    Hi lassefromnora,
    In order for you to be able to see content on your Apple TV from your Mac, you need to set up Home Sharing on the Mac. You can do this by following the steps in this article -
    Setting up Home Sharing for Apple TV (2nd generation and 3rd generation) - Apple Support
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

  • Windows can't find harddisk (connected through usb-hub to airport extreme) although airport utility can

    windows can't find harddisk (connected through usb-hub to airport extreme) although airport utility can

    There are a number of posts related to copying issues between Windows Vista / 7 and AirPort Disks. Two potential solutions being forwarded are: 1) Changing the LAN Manager authentication level, and/or 2) Disabling the Windows Search feature.
     To change the LAN Manager authentication level:
    From the Windows Vista / 7 desktop, click Start
    Search for: security
    Click 'Local Security Policy'
    Goto Local Policies > Security Options
    Under Policy, double-click 'Network security: LAN Manager authentication level'
    Change level to: Send LM & NTLM responses
    Under Policy, double-click 'Network security: Minimum session security for NTLM SSP based (including RPC) clients'
    De-select 'Require 128-bit encryption'
    Click OK
     To disable Windows Search:
    Start > Control Panel > Programs > Programs & Features
    On the right-hand side, click "Turn Windows features on/off"
    Scroll down, and de-select "Windows Search".
    Press OK, close all windows and restart.
     A third "solution," that has worked for me, is verify that both the AirPort base station and the Win7 PC are using the exact same Workgroup Name. In my case, I use "WORKGROUP" (without the quote marks) for this name. From the AirPort Utility, you would enter this value on the Disks > File Sharing tab. On Win7, Start > Control Panel > System and Security > System > Change Settings > Change > Workgroup

  • My Photoshop Elements  (8 and 11) can't find the connected camera.

    My Photoshop elements (both 8 and 11) can't find the connected camera for importing pictures.

    Does Explorer find your camera? If it doesn't then the connection isn't solid.

  • Iphone 6 airdrop problem can't find or connect to my iPhone 5s to share pic, how i can fix this ? at the same time my iPhone 5s no problem with airdrop to share.

    Iphone 6 airdrop probleme can't find or connect to my iPhone 5s to share pic, how i can fix this ? at the same time my iPhone 5s no problem with airdrop to share.

    hi raz, i don't have problem how to use airdrop , but the iPhone  6 can not find other contact so i can share pic , and i have iOS 8.0.2 on both iphone.and i have the same network .
    with iPhone 5s i can share with airdrop and he find my iPhone 6 name so i share and accept pic, but from iPhone 6 i can't do the same.

  • HT201413 Was following prompts to update my ipod to iOS6 and itunes says the ipod needs to be restored, but when I follow the prompts to restore it says it can't find the ipod? Any ideas?

    Was following prompts to update my ipod to iOS6 and itunes says the ipod needs to be restored, but when I follow the prompts to restore it says it can't find the ipod? Any ideas?

    Did you try removing and reinstalling all the Apple software using:
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP

  • I have set up home sharing on both home computers, but as soon as I did this, the "shared" title on the left hand panel disappeared and I can't find it again.  Any ideas?

    I have set up home sharing on both home computers, but as soon as I did this, the "shared" title on the left hand panel disappeared and I can't find it again.  Any ideas?

    I have the same problem - can anyone help??

  • Errors using weblogic sql driver: "No JDBC connection can be made because the transaction state is marked rollback"

    One of our customers starts to encounter this error message recently.
    We checked our log files. It seems that the error happens when
    to obtain a jdbc connection. Have anyone seen similar problems
    and knows how to fix it? thanks in advance.
    We are using weblogic server 6.1sp2, and weblogic sql type 4 driver.
    The functions that invoke the jdbc calls are stateless session bean
    methods with their transaction attributes marked as Required.
    There is no nested calls of these methods.
    A partial stack trace we obtained is as following:
    java.sql.SQLException: No JDBC connection can be made
    because the transaction state is
    Marked Rollback
         at weblogic.jdbc.jts.Connection.getOrCreateConnection(Connection.java:586)
         at weblogic.jdbc.jts.Connection.prepareStatement(Connection.java:115)
         at weblogic.jdbc.rmi.internal.ConnectionImpl.prepareStatement(ConnectionImpl.java:135)
         at weblogic.jdbc.rmi.SerialConnection.prepareStatement(SerialConnection.java:76)
    lixin

    Joseph Weinstein <[email protected]> wrote:
    >
    >
    YuanHui Liu wrote:
    Joe,
    We got the exact same error message. The error came after we got theJDBC connection,
    and trying to create statement off it.
    It occurs intermitently when we are running another standalone JAVAapp to do
    some end of day work, which results in the DB Server being very busy(90+%CPU
    usage) for about 5 minutes. We see a surge of requests to the WLSJDBC Connection
    pool. This would sometimes result in all our subsequent DB requeststo fail and
    lead to a crash.
    We are using WLS6.0SP1. I do not think there's a 30 seconds wait leadingto a
    connection timeout that caused this(rather it is the end effect).
    Can you give us a more detailed explanation? Is there a miscommunicationbetween
    our DB(Sybase12) and WLS?Hi. It looks to you like it's after you get the connection, but really
    it's when the server is
    gettng the pool connection. For performance/synchronization reasons we
    do a clever
    delay: When your code asks for a pool connection we quickly give you
    the pool wrapper,
    but we delay actually reserving the real underlying DBMS connection until
    your first
    real need for a connection, at your first JDBC call, such as createStatement()
    etc.
    It is while waiting for a pool connection long enough for the transaction
    coordinator
    to have timed you out before you ever get a chance. It's nothing to do
    with the
    DBMS or even JDBC, I believe. I think the weblogic server either has
    too few execute-threads
    and/or too few CPU cycles to do the work load.
    Okay, so there's a lazy initialization of the connection.
    From reading our log I believe our failur is immediate rather
    than waiting for 30+ seconds(the default setting) from the DB,
    the timeout occurred later as a result. At the time either because the DB Server
    is very busy.
    Since we are running WLS6.0 we have only one connection pool,
    we have defined a max of 150 threads in the pool. While this
    is happening the DB Server is being pinned by an overnight job,
    but the WLS Server is not busy at all. The DB and WLS resides
    on different physical boxes.
    We also have a thread dump from the WLS console when we rebooted the server, it
    showed that we are hanging on to the thread & jdbc
    connections after these exceptions has occurred instead of releasing them, note
    "16083"(~4.5 hours) seconds has passed:
    142 116222 Retry rollback request for tx: 'transaction=(IdHash=2963855,Name =
    [EJB UserManagerBeanImpl.signalICUserServletHeartBeat()],Xid=30643:8f3838f3709bf53d,Status=Rolling
    Back. [Reason = Unknown],numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since
    begin=16083,seconds left=10,ServerResourceInfo[weblogic.jdbc.jts.Connection]=(state=started,assigned=server),SCInfo[server]=(state=active),properties=({weblogic.jdbc=t3://159.55.158.25:8005,
    weblogic.transaction.name=[EJB UserManagerBeanImpl.signalICUserServletHeartBeat()]}))'
    Scheduled Trigger
    So I would argue this problem actually chewed up resources on the WLS server.
    -Yuanhui Liu
    >>
    >>
    Thanks.
    -YuanHui Liu
    Joseph Weinstein <[email protected]> wrote:
    lixin wrote:
    One of our customers starts to encounter this error message recently.
    We checked our log files. It seems that the error happens when
    to obtain a jdbc connection. Have anyone seen similar problems
    and knows how to fix it? thanks in advance.
    We are using weblogic server 6.1sp2, and weblogic sql type 4 driver.
    The functions that invoke the jdbc calls are stateless session bean
    methods with their transaction attributes marked as Required.
    There is no nested calls of these methods.
    A partial stack trace we obtained is as following:
    java.sql.SQLException: No JDBC connection can be made
    because the transaction state is
    Marked Rollback
    at weblogic.jdbc.jts.Connection.getOrCreateConnection(Connection.java:586)Hi. This sounds like a JVM thread starvation issue, and/or a server
    load
    issue. What is
    happening is that the transaction is started, and times out beforethe
    SSB even gets to
    the first JDBC work. I would first verify that the customer is using
    the very latest JVM
    available for the machine.
    Joe Weinstein
    at weblogic.jdbc.jts.Connection.prepareStatement(Connection.java:115)
    at weblogic.jdbc.rmi.internal.ConnectionImpl.prepareStatement(ConnectionImpl.java:135)
    at weblogic.jdbc.rmi.SerialConnection.prepareStatement(SerialConnection.java:76)
    lixin

  • 9ias JSP can't find Classes I created

    I created a package for my JSP and import it to be used in a JSP. It works great, but for some reason, it displays an error message saying it can't find the class in import. Can anyone explain that? Thanks.

    I created a package for my JSP and import it to be used in a JSP. It works great, but for some reason, it displays an error message saying it can't find the class in import. Can anyone explain that? Thanks.

  • Weblogic 6.1 sp1 jdbc connection to SQL Srv 7; receiving resources not available

    We've been running some load balancing testing on our website and at the high end
    of the number of concurrent users, we begin to receive "QLException: java.sql.SQLException:
    weblogic.common.ResourceException: No resources available" this is usually around
    the 40 concurrent user mark. I've set the max JDBC connections to around 50,
    initial connections to 20, capacity increment to 2 and the shrink period to 1
    minute (though we've had that at 10, 15, and 59 minutes)...looking for suggestions
    on problems. Currently using wblogic.jdbc.mssqlserver4.Driver and weblogicis
    running on Linux

    Will Darton wrote:
    We've been running some load balancing testing on our website and at the high end
    of the number of concurrent users, we begin to receive "QLException: java.sql.SQLException:
    weblogic.common.ResourceException: No resources available" this is usually around
    the 40 concurrent user mark. I've set the max JDBC connections to around 50,
    initial connections to 20, capacity increment to 2 and the shrink period to 1
    minute (though we've had that at 10, 15, and 59 minutes)...looking for suggestions
    on problems. Currently using wblogic.jdbc.mssqlserver4.Driver and weblogicis
    running on LinuxHi. I would like to see the code that uses connections from the pool. If you code correctly,
    to always close a pool connection regardless of any exception, by the end of every user
    request, then you should need only as many connections in the pool as there are execute
    threads in the server. Do you have more than 50 execute threads?
    Joe

  • Can't find jdbc-odbc bridge driver

    Hi
    I've installed sdk 2.0 (v1.4.1) and am getting the runtime error:
    "Exception in thread main java.lang.NoClassDefFoundError <prog name>/class" from the java prompt.
    I suspect it is the jdbc-odbc bridge driver that is the problem. It should have downloaded with the SD 2.0 installation, but I can't find it on my NT PC.
    Any ideas?

    I suspect you are using,java <program_name>.class to execute your program.
    Then it will try to find the promram 'class' in the package '<program_name>'.
    You need to use, java <program_name>, thats all.
    For eaxample if you have Prg1.java, then use,
    'javac Prg1.java' to compile it and 'java Prg1' to run it.
    Sudha

  • Tomcat + FedoraCore5 can't find JDBC Library

    Hi,
    I installed Fedora Core 5 + Tomcat5 and installed my old webapps. I added the oracle JDBC driver to the WEB-INF/lib directory but still the servlet can't find the jar file (???). It is a JAR file, not a ZIP file.
    Tomcat 5.5.9 didn't have this problem.
    Anybody who knows of a solution ?
    Thanks
    Coen

    I suspect you are using,java <program_name>.class to execute your program.
    Then it will try to find the promram 'class' in the package '<program_name>'.
    You need to use, java <program_name>, thats all.
    For eaxample if you have Prg1.java, then use,
    'javac Prg1.java' to compile it and 'java Prg1' to run it.
    Sudha

Maybe you are looking for

  • DOWNLOADED SOUND CLIPS FROM MY LG PHONE, THEY WON'T PLAY

    I DOWNLOADED SOUND CLIPS FROM MY LG PHONE. THEY HAVE A .qcp AT THE END. WHAT APPLICATION DO I USE TO PLAY THEM ? DO THEY NEED TO BE CONVERTED TO SOMETHING ELSE?

  • HP LaserJet m1212nf goes offline in control panel after PC (windows 7) restart

    Hello, i have an issue that i couldn't find an answer on the internet. We use HP LaserJet m1212nf multifunctional device in our company via networking. It has a static IP adress and the latest firmware. Also the software and drivers are the latest on

  • Flatten to/Unflatten from XML on ARM

    Using LV 9 with the ARM module on an EK-LM3S8962. I want to use XML on the embedded target. The data to be converted is a group of arrays in a cluster. The cluster is a type def in the embedded project. The Flatten to/Unflatten from XML VIs from the

  • Update to TwonkyMedia Server 6.0.32

    Hi, is there any chance to get a latest version of TwonkyMedia Server running on the NSS?  I replaced the files, all works fine. But after a restart all files are restored to the old 5.x version. Regards, Martin

  • Billing for shipment cost

    hi all, can anyone tell me how will add the calculated shipmet cost in to my billing,so that i adds to hte net value in the billing. please do guide me if any configuration is required. thanks.