Understanding available WebLogic Server downloads for ADF Applications

No Gravatar

I don’t envy our OTN content managers; organizing an ever-growing number of Oracle products into appropriate categories must be quite the challenge. Add to that the fact that each product has several flavors (studio, with language support, etc.) and the lists of links can get pretty confusing. So here’s a dummy’s guide.

Starting from the Fusion Middleware home page on OTN:

The first section is “For Development” – this includes the Net installer which I’m sure is very useful but I haven’t used it so I won’t cover that here. This section also includes the download links for the R1 version of JDeveloper. If you are an ADF-er, you need the recommended studio addition. By default, this JDeveloper R1 installation gives you both JDeveloper and WebLogic Server. You can use that download to configure a WebLogic Server installation as documented in the Appendix of Steve Muench’s Policy Migration document. So if you just need to deploy an ADF application to your local machine, or you already have the JDeveloper install downloaded to your group’s shared machine, you can stop here and follow Steve’s article to install and configure WebLogic Server. However, if you are looking to create a shared deployment server for ADF applications for your team, (and you don’t want to download JDeveloper to that separate server), keep reading…

The second section on the Fusion Middleware home page is “For Deployment”.
Click the See All link there to see all the various links for Fusion Middleware. You’re after the R1 release of WebLogic Server, so click All Available Platforms for the WebLogic Server entry under Runtime Software. Here’s a description of what each flavor contains:

Oracle WebLogic Server 11gR1 (10.3.1) + OEPE – Package Installer: Installer that includes Oracle Enterprise Pack for Eclipse (OEPE). If you are reading this, you’re probably using JDeveloper for development, not Eclipse, so skip this one.

Oracle WebLogic Server 11gR1 (10.3.1) + OEPE – Package Installer (International Languages): Same as above except that the installer includes support for multi-byte languages such as Chinese, Japanese, and Korean.

Oracle WebLogic Server 11gR1 (10.3.1) + OEPE – Net Installer: The fancy Net Installer for the above two flavors that I haven’t used and so won’t document here.

Oracle WebLogic Server 11gR1 (10.3.1) – Net Installer: Again, the Net Installer that I haven’t used and so won’t document here.

Oracle WebLogic Server 11gR1 (10.3.1) – Package Installer: This is the WLS flavor you want if you are looking for a generic server for deployment.

Oracle WebLogic Server 11gR1 (10.3.1) – Package Installer (International Languages): Download this WLS flavor if you are looking for a generic server for deployment, and you need the installer to support for multi-byte character sets.

The rest of the page lists versions of WLS prior to the R1 release.

There, that explains all the links anyway. Now for the installation and configuration.

For the installation of “Oracle WebLogic Server 11gR1 (10.3.1) – Package Installer”, see the WebLogic Server installation guide.

Then, to support deployment of ADF applications, follow this post to extend the server to include the Java Required Files (JRF), which include the ADF libraries. This is what you need if you’ve tried to deploy ADF applications to your standalone WebLogic Server and are seeing errors like the following:
weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, Implementation-Version: 11.1.1.1.0, exact-match: false], [Extension-Name: oracle.jsp.next, exact-match: false].

Finally, to ensure that the credentials that you supply in the database connections for your ADF Application are deployed and include the password, add -Djps.app.credential.overwrite.allowed=true to the JAVA_PROPERTIES entry in the FMW_HOME/user_projects/domains/yourdomain/bin/setDomainEnv.sh file (or setDomainEnv.cmd if you are on Windows). This is what you need if you have deployed an ADF application to your server but are seeing the following errors when the application is accessed:

oracle.jbo.DMLException: JBO-26061: Error while opening JDBC connection.
at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:253)
at oracle.jbo.server.ConnectionPool.instantiateResource(ConnectionPool.java:168)
at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:546)
at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:327)
at oracle.jbo.server.ConnectionPool.getConnectionInternal(ConnectionPool.java:104)
Truncated. see log file for complete stacktrace
java.sql.SQLException: ORA-01005: null password given; logon denied

9 Responses to 'Understanding available WebLogic Server downloads for ADF Applications'

  1. Joe In Illinois says:

    Wow! I have been fighting the JBO-26061 issue for almost a full day now. I finally got it resolved after reading your post (it was the -Djps.app.credential.overwrite.allowed=true that fixed it)

    If you were here right now, I’d give you a big hug.

    Thanks!

  2. ammar sajdi says:

    I hit the same problem and tried to search for the solution in many post that talk about ADF deployments on WLS. nobody mentions this issue.

    thank you

    ammar Sajdi
    Amman – jordan

  3. Dhawal says:

    Excellent. This really helps!

  4. Shankar says:

    Thanks!!!

  5. Edmundo Cerda says:

    Thank you very much,

    I was searching an answer in web but I couldn’t find something helpfull until now.

    It really worked for me.

    Thank you very much!!

    I have less problems installing OAS instead of Weblogic…

  6. Just1689 says:

    Hi Lynn,

    Thanks so much for your post! This has been a great help!

    Much Appreciated =)

  7. Santosh says:

    Thanks very much for posting this solution.after spending hours together landed up in your website.

    -Djps.app.credential.overwrite.allowed=true solution really helped.please keep posting more on ADF.All the best!

Trackbacks/Pingbacks
  1. [...] About « Understanding available WebLogic Server downloads for ADF Applications [...]

  2. [...] you need to apply to the WLS domain that you will be deploying the ADF BC Web Service to (see also http://radalcove.com/blog/?p=16). This setting is is required to prevent the “Null Password given” error message that [...]

Leave a Reply

Your email address will not be published. Required fields are marked *

*

For spam filtering purposes, please copy the number 5499 to the field below: