Tuesday Nov 11, 2014

Configure Client to Access API Catalog Import Export Utility

Oracle released API Catalog earlier this week and looks a great addition to the Oracle API Management story.

I was keen to have a play and see how I could harvest and discover services. If you have had experience with Oracle Enterprise Repository you would know that to configure the detailed assets you launched a client via the Java Web Start Launcher. In order to launch this you need ensure you have the right version of java installed and that the proxies are set correctly.

The best place to start is to go to your control panel and double-click Java, select the Java tab and select view. Make sure you a version 7 installed and enabled. As you can see from a screen shot below I have version 7 and 6 installed.

When you launch the Import /  Export utility you will be given the option to launch using the Java Web Start Launcher. If you have multiple Java versions installed as I do you will need to pick the right version.

It is hard to tell which is what version so it has to be trial and error. To know you have the right version you will see the splash screen Java 7. If you don't see this choose another file.

Hopefully at this stage you are presented with this screen and you are good to go.


If not you may be presented with a login screen like below.

When you enter the correct details you may be presented with the following error java.net.SocketException: Unknown Proxy Type: HTTP


If you get this error it means that you Java has not been configured correctly for your environment. Go back to the Control Panel and double-click Java as you did earlier.

Navigate to the General Table and select Network Settings.

If you need to go through a proxy server to get to the server set the proxy server setting, otherwise select direct.

Hopefully now you can start the client utility.

Tuesday Feb 22, 2011

Change Logging Level for SOA 11g

I’m sure there are many blogs out there that have this solution. But I seem to get asked this question a lot so I thought I would post it here for my convenience.

  1. Login to Enterprise Manager, e.g.

    http://localhost:7001/em
  2. Expand the SOA folder and right-click the soa-infra(soa_server1) folder and select Logs – Log Configuration

    image
  3. Navigate to the component you want to monitor and change the log level. It is possible to change at a parent level if required

    image

    It is not recommended that you set the level to FINIEST at a parent level as it will generate a lot of logging.
  4. Make sure you apply the change to take affect.

    image

Simple as that.

Tuesday Jun 08, 2010

Publish Static Content to WebLogic

This post has been updated to provide a more flexible approach to deploying static content 16.07.2012.

Most people know WebLogic has a built in web server. Typically this is not an issue as you deploy java applications and WebLogic publishes to the web. But what if you just want to display a simple static HTML page. In WebLogic you can develop a simple web application to display static HTML content.

In this example I used WLS 10.3.3. I want to display 2 files, an HTML file, and an xsd for reference.

  1. Create a directory of your choice, this is what I will call the document root.

    mkdir /home/oracle/html
  2. Download the war file here. This file creates a simple web app to expose the files.
  3. In the war file you will see a directory WEB-INF, inside there you will see 2 files, web.xml, and weblogic.xml. There is no need to edit these files but if you want to change the context or the directory edit the weblogic.xml file to match your environment.

    <!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application 8.1//EN" "http://www.bea.com/servers/wls810/dtd/weblogic-web-jar.dtd">

    <weblogic-web-app>

      <container-descriptor>
        <index-directory-enabled>true</index-directory-enabled>
      </container-descriptor>

      <virtual-directory-mapping>
        <local-path>/home/oracle/html</local-path>
        <url-pattern>*</url-pattern>
      </virtual-directory-mapping>

      <context-root>/html</context-root>

    </weblogic-web-app>

  4. Login to the WebLogic console to deploy application
  5. Click on Deployments
  6. Click on Lock & Edit
  7. Click Install and upload the war file downloaded in step 2

    image
  8. Leave default "Install this deployment as an application" and click Next

    image
  9. Select a Managed Server to deploy to and click Next

    image
  10. Accept the defaults and click Finish
  11. Deployment completes successfully, now click the Activate Changes

    image
  12. You should now see the application started in the deployments

    image
  13. You can now access your static content via the following URL

    http://localhost:7001/html/helloworld.html

    image

Wednesday May 19, 2010

WebLogic not reading boot.properties

[Read More]
About

Discussions and Examples using Oracle Fusion Middleware. Some image links are broken when using Firefox, Safari, and Chrome. If you want to see the full image please use IE.

Twitter:@james8001

tumblr hit counter vistors, thanks for your support

Search

Archives
« May 2015
SunMonTueWedThuFriSat
     
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
      
Today