facebook

WebLogic 8.1 Connection Pool [Closed]

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #203597 Reply

    Roger Irvin
    Member

    Eclipse 3.0M4 with corresponding MyEclipse install.
    app server -> WL 8.1SP1
    JDK -> 1.4.2_01
    Platform -> Windows XP

    I have enabled the WebLogic 8.1 app server and confirmed that the connection properties are correct. I can successfully stop and start the server from MyEclipse. I have two Connection Pools configured in the WLS config file and both of them fail to deploy when I start the WLS app server from MyEclipse. The console record indicates that the appropriate config file is being accessed. If I start the same server instance from the command line, the Connection Pools are deployed with no issues.

    Any ideas will be greatly appreciated!

    Thanks much,
    rogerirvin

    #203737

    itzMe
    Member

    Hi Roger,
    Can you tell how you configured Weblogic 8.1 in MyEclipse IDE and if u have the plug in can you pls share it with me. Pls tell me the steps involved also. This is kind of urgent and pls reply asap

    Thanks in advance,
    Vinu

    #203765

    Scott Anderson
    Participant

    rogerirvin,

    If your connection pools don’t deploy, it’s typically because you haven’t added the necessary database driver jar files to the server classpath or have not configured the library classpath to include a directory with any native drivers. Try turning the logging level to <Info> to see the full stacktraces to let you know what the root problem is.

    #203894

    Roger Irvin
    Member

    Vinu,

    The Weblogic app server plug-in is a standard plug-in packaged with myEclipse. The myEclipse website contains an installation and configuration “how-to”.

    Roger

    #203896

    Roger Irvin
    Member

    Scott,

    I set the server logging to “info” and no errors were thrown until the server attempted to instantiate datasources from the non-existant connection pools. I also started WLS (from myEclipse) in debug, configuring stops at all errors and again an error was not throw until the server attempted to instantiate the datasources.

    I double checked that the classpath variables included paths to both the Oracle and Weblogic libraries required to establish the connection pools. I would expect a “ClassNotFound” error if any of the required jars were unavailable.

    Thanks for your input and any additional thoughts would be greatly appreciated.

    Roger

    #203909

    Scott Anderson
    Participant

    Roger,

    The problem probably isn’t a Java jar that you’re missing. It’s most likely that you don’t have the directory that contains some native code on the library path, which is can be configured on the connector preference pages. For example, Oracle typically has native drivers for speed. For example, in the WebLogic 8.1 installation, look in <install>/server/bin and you’ll see directories called oci817_8, oci901_8, and oci920_8. I would guess that if you’re using Oracle you need to add one of those directories to the Java library path using the connnector’s preference page so that your driver will load properly.

    #203935

    Roger Irvin
    Member

    Scott,

    That was it! I wasn’t thinking dll!!!

    Thanks for your assistance . . . much appreciated!!!!

    Roger

    #203946

    Scott Anderson
    Participant

    Roger,

    No problem. Most server drivers are Type II for speed, not pure-Java Type IV. One for you to remember for next time. 😉

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: WebLogic 8.1 Connection Pool [Closed]

You must be logged in to post in the forum log in