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
« April 2014
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
   
       
Today