- This topic has 7 replies, 3 voices, and was last updated 21 years, 5 months ago by
Scott Anderson.
-
AuthorPosts
-
Roger IrvinMemberEclipse 3.0M4 with corresponding MyEclipse install.
app server -> WL 8.1SP1
JDK -> 1.4.2_01
Platform -> Windows XPI 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,
rogerirvinFebruary 24, 2004 at 7:51 am #203737
itzMeMemberHi 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 asapThanks in advance,
VinuFebruary 24, 2004 at 4:36 pm #203765
Scott AndersonParticipantrogerirvin,
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.
February 25, 2004 at 7:48 pm #203894
Roger IrvinMemberVinu,
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
February 25, 2004 at 7:57 pm #203896
Roger IrvinMemberScott,
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
February 26, 2004 at 6:54 am #203909
Scott AndersonParticipantRoger,
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.
February 26, 2004 at 12:16 pm #203935
Roger IrvinMemberScott,
That was it! I wasn’t thinking dll!!!
Thanks for your assistance . . . much appreciated!!!!
Roger
February 26, 2004 at 2:32 pm #203946
Scott AndersonParticipantRoger,
No problem. Most server drivers are Type II for speed, not pure-Java Type IV. One for you to remember for next time. 😉
-
AuthorPosts