Skip navigation.

Feed aggregator

Taking backup of AIA Middleware Domains Excluding log files

Arun Bavera - Wed, 2016-02-10 15:24

tar -zcvf /opt/app/oracle/BACKUP/AIA_MSERVER.tar.gz --exclude='core.*'  --exclude='*.log*'  --exclude='*.out*'  --exclude='*ConsumeFaultMessage*.dat' /opt/app/oracle/fmw_domains/aia_domain/mserver/aia01_domain

tar -zcvf /opt/app/oracle/BACKUP/AIA_ASERVER.tar.gz --exclude='core.*'  --exclude='*.log*'  --exclude='*.out*'  --exclude='*ConsumeFaultMessage*.dat' /opt/app/oracle/fmw_domains/aia_domain/aserver/aia01_domain

Refer:
https://www.gnu.org/software/tar/manual/html_section/tar_49.html

Categories: Development

SRM Social Cloud Support Resources

Chris Warticki - Wed, 2016-02-10 15:00

First and ALWAYS – the #1 investment is made in the PRODUCT, PRODUCT, PRODUCT.

Remain a student of the product.

1.SRM Social Product Information Page

2. YouTube - SRM Training

3. Training on the PRODUCT

Personalize My Oracle Support Experience

1. Setup Proactive Alerts and Notifications

2. Customize your MOS Dashboard

3. Remain in the Know

Collaborate. Communicate. Connect

1. Oracle Mobile App – News, Events, Mobile MOS, Videos etc

2. Social Cloud - Applications Customer Connect

3. OPN Social Cloud Community

4. Oracle Support's SRM Community

SOCIAL Circles of Influence

1. Oracle Social

2. Oracle Cloud Zone

3. Oracle Cloud Marketplace

4. Cloud Café (Podcasts)

5. Social Spotlight Blog

6. Oracle Social - FB

7. Oracle Customer Experience Blog

Engage with Oracle Support

1. Upload ALL reports if logging a Service Request

2. Leverage Oracle Collaborative Support (web conferencing)

3. Better Yet – Record your issue and upload it (why wait for a scheduled web conference?)

4. Request Management Attention as necessary

Two New Oracle Security Presentations Available

Pete Finnigan - Wed, 2016-02-10 12:05

I attended the UKOUG conference last week Monday to Wednesday in Birmingham. This is the first year for three years that it has been back at the ICC in the center of Birmingham. The last two years have seen the....[Read More]

Posted by Pete On 14/12/15 At 08:54 PM

Categories: Security Blogs

Oracle Security Training In York

Pete Finnigan - Wed, 2016-02-10 12:05

We ran a five day Oracle Security training event in York, England from September 21st to September 25th at the Holiday Inn hotel. This proved to be very successful and good fun. The event included back to back teaching by....[Read More]

Posted by Pete On 22/10/15 At 08:49 PM

Categories: Security Blogs

New Presentation - Building Practical Oracle Audit Trails

Pete Finnigan - Wed, 2016-02-10 12:05

I wrote a presentation on designing and building practical audit trails back in 2012 and presented it once and then never again. By chance I did not post the pdf's of these slides at that time. I did though some....[Read More]

Posted by Pete On 01/10/15 At 05:16 PM

Categories: Security Blogs

Protect Your APEX Application PL/SQL Source Code

Pete Finnigan - Wed, 2016-02-10 12:05

Oracle Application Express is a great rapid application development tool where you can write your applications functionality in PL/SQL and create the interface easily in the APEX UI using all of the tools available to create forms and reports and....[Read More]

Posted by Pete On 21/07/15 At 04:27 PM

Categories: Security Blogs

Oracle Security and Electronics

Pete Finnigan - Wed, 2016-02-10 12:05

How does Oracle Security and Electronic mix together? - Well I started my working life in 1979 as an apprentice electrician in a factory here in York, England where I live. The factory designed and built trains for the national....[Read More]

Posted by Pete On 09/07/15 At 11:24 AM

Categories: Security Blogs

New Conference Speaking Dates Added

Pete Finnigan - Wed, 2016-02-10 12:05

In the last few years I have not done as many conference speaking dates as I used to. This is simply because when offered they usually clashed with pre-booked work. I spoke for the UKOUG in Dublin last year and....[Read More]

Posted by Pete On 06/07/15 At 09:40 AM

Categories: Security Blogs

Happy 10th Belated Birthday to My Oracle Security Blog

Pete Finnigan - Wed, 2016-02-10 12:05

Make a Sad Face..:-( I seemed to have missed my blogs tenth which happened on the 20th September 2014. My last post last year and until very recently was on July 23rd 2014; so actually its been a big gap....[Read More]

Posted by Pete On 03/07/15 At 11:28 AM

Categories: Security Blogs

Oracle Database Vault 12c Paper by Pete Finnigan

Pete Finnigan - Wed, 2016-02-10 12:05

I wrote a paper about Oracle Database Vault in 12c for SANS last year and this was published in January 2015 by SANS on their website. I also prepared and did a webinar about this paper with SANS. The Paper....[Read More]

Posted by Pete On 30/06/15 At 05:38 PM

Categories: Security Blogs

LittleArduinoProjects#182 Building a Bench Power Supply

Paul Gallagher - Wed, 2016-02-10 07:26
I've wanted a variable mains-powered power supply for a while, so when I found this kit for a reasonable price I decided to give it a go. Some things that attracted me:

  • 220V/110V mains-powered
  • continuously adjustable output voltage
  • isolated output
  • nice acrylic case
  • built-in LED voltmeter

The kit and PCB comes with a few "valued-added features" unrelated to the power supply function (CD4069 square-wave generator, externally-triggered piezo buzzer, externally-triggered polarity tester), but I decided to leave those out of the build.

I also enjoyed investigating and old-school transformer-based power supply. These are getting rare .. it's hard to even find a 220/12 transformer for less than the price of the kit these days, and then they are mostly used/refurbished.

How does it perform? Nice! No smoke on power-up, but a few things to note and/or improve. And I'm sure it wouldn't pass a safety certification, so don't go building one like this for friends.

As always, all notes, schematics and code are on GitHub.

LittleArduinoProjects#181 Voltmeter Modules

Paul Gallagher - Wed, 2016-02-10 07:17
Voltmeter modules are a very convenient way of adding voltage display to any project, because they require no supporting circuitry or microcontrollers.

There are two and three wire modules in the market. Two-wire modules are the simplest (and generally cheapest). For most applications where a simple readout of a power supply is required, they are most convenient since a separate power supply connection is not required. It does mean of course that the meter draws current from the circuit under test, and will only work down to a certain voltage (usually ~4.5V).

For more precision measurement, the three-wire modules are best as they present relatively high input impedance (> 100kΩ), and can measure voltages all the way down to 0. As an example, Adafruit have this 3-wire module in their catalogue, but they are widely available from most online sellers.

I recently received a 3-wire module as part of a kit and put it to the test. Using my DMM as a reference, it appears accuracy is within 40mV, good enough for general purposes.

As always, all notes and code are on GitHub.

Invoking the Billing API for Bluemix Public Organizations

Pas Apicella - Tue, 2016-02-09 17:09
The ability to view usage data from a billing perspective on IBM Bluemix Public is available as a REST based API. To use it follow the steps below.

In order to use the API you have to have the Billing Manager Role or be the Account Owner of the organization as shown below.



Steps

1. Log into the PUBLIC Bluemix region as shown below

pasapicella@Pas-MacBook-Pro:~$ cf login -u pasapi@au1.ibm.com -p ***** -o pasapi@au1.ibm.com -s dev
API endpoint: https://api.ng.bluemix.net
Authenticating...
OK

Targeted org pasapi@au1.ibm.com

Targeted space dev

API endpoint:   https://api.ng.bluemix.net (API version: 2.40.0)
User:           pasapi@au1.ibm.com
Org:            pasapi@au1.ibm.com
Space:          dev

2. List all your Organizations as shown below

pasapicella@Pas-MacBook-Pro:~$ cf orgs
Getting orgs as pasapi@au1.ibm.com...

name
iwinoto@au1.ibm.com
vralh@au1.ibm.com
MobileQualityAssurance
arthur.proestakis@au1.ibm.com
abentley@au1.ibm.com
shawmale@au1.ibm.com
ANZ-Innovation-Lab
pasapi@au1.ibm.com
NAB Experimentation
Telstra-CustomerA

3. Determine the GUID of the Org you wnat to get metering usage from

pasapicella@Pas-MacBook-Pro:~$ cf org pasapi@au1.ibm.com --guid
e270a605-978e-45fc-9507-00a50dec2469

4. Determine the region name for the PUBLIC instance your connected to as follows

pasapicella@Pas-MacBook-Pro:~$ curl http://mccp.ng.bluemix.net/info
{
  "name": "Bluemix",
  "build": "221004",
  "support": "http://ibm.com",
  "version": 2,
  "description": "IBM Bluemix",
  "authorization_endpoint": "https://mccp.ng.bluemix.net/login",
  "token_endpoint": "https://mccp.ng.bluemix.net/uaa",
  "min_cli_version": null,
  "min_recommended_cli_version": null,
  "api_version": "2.40.0",
  "app_ssh_endpoint": "ssh.ng.bluemix.net:2222",
  "app_ssh_host_key_fingerprint": null,
  "app_ssh_oauth_client": "ssh-proxy",
  "routing_endpoint": "https://api.ng.bluemix.net/routing",
  "logging_endpoint": "wss://loggregator.ng.bluemix.net:443",
  "doppler_logging_endpoint": "wss://doppler.ng.bluemix.net:4443",
  "console_endpoint": "https://mccp.ng.bluemix.net/console",
  "region": "us-south"
}

5. Determine the OAUTH token for your connected session as follows

pasapicella@Pas-MacBook-Pro:~$ cf oauth-token
Getting OAuth token...
OK

bearer eyJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0ODAzOWM1My0yODZhLTQ5Y2YtYWIzYi0yNGVhZTY
4ZmFmYzIiLCJzdWIiOiJiNmMwMjBiNC1lMTFhLTQ2MzAtYTZhMi0zZjIwZmNlYzdmOTAiL
CJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLnJlYWQiLCJwYXNzd29yZC53cml0ZSIsImNsb3
VkX2NvbnRyb2xsZXIud3JpdGUiLCJvcGVuaWQiXSwiY2xpZW50X2lkIjoiY2YiLCJjaWQiOiJj
ZiIsImF6cCI6ImNmIiwiZ3JhbnRfdHlwZSI6InBhc3N3b3JkIiwidXNlcl9pZCI6ImI2YzAyMGI0L
WUxMWEtNDYzMC1hNmEyLTNmMjBmY2VjN2Y5MCIsIm9yaWdpbiI6InVhYSIsInVzZXJf
bmFtZSI6InBhc2FwaUBhdTEuaWJtLmNvbSIsImVtYWlsIjoicGFzYXBpQGF1MS5pYm0uY29t
IiwicmV2X3NpZyI6IjVjOGMyODQ4IiwiaWF0IjoxNDU1MDU3NzQxLCJleHAiOjE0NTUxMD
A5NDEsImlzcyI6Imh0dHBzOi8vdWFhLm5nLmJsdWVtaXgubmV0L29hdXRoL3Rva2VuIiwiem
lkIjoidWFhIiwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiLCJwYXNzd29yZCIsImNmIiwib3Blbm
lkIl19.EUEIXZ-XgxQbvTQnSgrToODHbNmKvhx0PtAp9CaiPTk

At this point we are ready to invoke the Billing/Metering API. The format is as follows

Bluemix Endpoint:

https://rated-usage.ng.bluemix.net/v2/metering/organizations/us-south:ORG_ID/YYYY-MM

  1. ORG_ID : Account GUID
  2. YYYY-MM: Year and month for which usage is required
Format as follows:

curl -v -X GET -H "Authorization: bearer {oauth-token}" "https://rated-usage.ng.bluemix.net/v2/metering/organizations/us-south:e270a605-978e-45fc-9507-00a50dec2469/usage/2016-02" | python -m json.tool
 
6. To invoke using curl we should do it as follows

Output:

pasapicella@Pas-MacBook-Pro:~$ curl -v -X GET -H "Authorization: bearer {oauth-token}" "https://rated-usage.ng.bluemix.net/v2/metering/organizations/us-south:e270a605-978e-45fc-9507-00a50dec2469/usage/2016-02" | python -m json.tool
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying 75.126.70.44...
* Connected to rated-usage.ng.bluemix.net (75.126.70.44) port 443 (#0)
* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
* Server certificate: *.ng.bluemix.net
* Server certificate: DigiCert SHA2 Secure Server CA
* Server certificate: DigiCert Global Root CA
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0> GET /v2/metering/organizations/us-south:e270a605-978e-45fc-9507-00a50dec2469/usage/2016-02 HTTP/1.1
> Host: rated-usage.ng.bluemix.net
> User-Agent: curl/7.43.0
> Accept: */*
> Authorization: bearer eyJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0ODAzOWM1My0yODZhLTQ5Y2YtYWIzYi0yNGVhZTY4ZmFmYzIiLCJzdWIiOiJiNmMwMjBiNC1lMTFhLTQ2MzAtYTZhMi0zZjIwZmNlYzdmOTAiLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLnJlYWQiLCJwYXNzd29yZC53cml0ZSIsImNsb3VkX2NvbnRyb2xsZXIud3JpdGUiLCJvcGVuaWQiXSwiY2xpZW50X2lkIjoiY2YiLCJjaWQiOiJjZiIsImF6cCI6ImNmIiwiZ3JhbnRfdHlwZSI6InBhc3N3b3JkIiwidXNlcl9pZCI6ImI2YzAyMGI0LWUxMWEtNDYzMC1hNmEyLTNmMjBmY2VjN2Y5MCIsIm9yaWdpbiI6InVhYSIsInVzZXJfbmFtZSI6InBhc2FwaUBhdTEuaWJtLmNvbSIsImVtYWlsIjoicGFzYXBpQGF1MS5pYm0uY29tIiwicmV2X3NpZyI6IjVjOGMyODQ4IiwiaWF0IjoxNDU1MDU3NzQxLCJleHAiOjE0NTUxMDA5NDEsImlzcyI6Imh0dHBzOi8vdWFhLm5nLmJsdWVtaXgubmV0L29hdXRoL3Rva2VuIiwiemlkIjoidWFhIiwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiLCJwYXNzd29yZCIsImNmIiwib3BlbmlkIl19.EUEIXZ-XgxQbvTQnSgrToODHbNmKvhx0PtAp9CaiPTk
>
  0     0    0     0    0     0      0      0 --:--:--  0:00:04 --:--:--     0< HTTP/1.1 200 OK
< X-Backside-Transport: OK OK
< Connection: Keep-Alive
< Transfer-Encoding: chunked
< Content-Type: application/json; charset=utf-8
< Date: Tue, 09 Feb 2016 22:54:44 GMT
< Etag: W/"3bcc-JgmFioUYI4v46tUXnGY1SQ"
< Vary: Accept-Encoding
< X-Cf-Requestid: 7b5cea8c-1a24-4114-44b2-a45e5d6e6f40
< X-Heap-Used: 136304240
< X-Instance-Id: 657c5e04638a49788a1053e7bb4e22ff
< X-Instance-Index: 5
< X-Node-Version: v0.10.41
< X-Powered-By: Express
< X-Process-Id: 93
< X-Response-Time: 3374.537ms
< X-Uptime: 16055
< X-Client-IP: 124.180.37.173
< X-Global-Transaction-ID: 750960253
<
{ [4055 bytes data]
100 15308    0 15308    0     0   3019      0 --:--:--  0:00:05 --:--:--  3967
* Connection #0 to host rated-usage.ng.bluemix.net left intact
{
    "organizations": [
        {
            "billable_usage": {
                "spaces": []
            },
            "currency_code": "AUD",
            "id": "e270a605-978e-45fc-9507-00a50dec2469",
            "name": "pasapi@au1.ibm.com",
            "non_billable_usage": {
                "spaces": [
                    {
                        "applications": [
                            {
                                "id": "121ccef0-2417-49c4-9f8f-47958b6d819d",
                                "name": "pas-bmspringboot-demo",
                                "usage": [
                                    {
                                        "buildpack": "0154f971-ae72-4882-9695-bda6e31310b7",
                                        "cost": 8.531996000805556,
                                        "quantity": 107.45586902777778,
                                        "runtime": {
                                            "id": "0154f971-ae72-4882-9695-bda6e31310b7",
                                            "name": "liberty-for-java_v2_1-20151006-0912"
                                        },
                                        "unit": "GB-HOURS",
                                        "unitId": "GB_HOURS_PER_MONTH"
                                    }
                                ]
                            },
                            {
                                "id": "2d7dfb5f-0900-4c4a-a936-edaf3b7febb8",
                                "name": "pas-tonynode",
                                "usage": [
                                    {
                                        "buildpack": "f0bff590-8b49-4c7d-bc4a-3ff24adcd411",
                                        "cost": 8.531996000805556,
                                        "quantity": 107.45586902777778,
                                        "runtime": {
                                            "id": "f0bff590-8b49-4c7d-bc4a-3ff24adcd411",
                                            "name": "sdk-for-nodejs_v2_8-20151209-1403"
                                        },
                                        "unit": "GB-HOURS",
                                        "unitId": "GB_HOURS_PER_MONTH"
                                    }
                                ]
                            },
                            {
                                "id": "3a962319-e7c4-456f-a2a4-b1f356a5d142",
                                "name": "pas-dotnet-helloworld",
                                "usage": [
                                    {
                                        "buildpack": "0a566654-d250-463e-b413-67782482e903",
                                        "cost": 4.265998000402778,
                                        "quantity": 53.72793451388889,
                                        "runtime": {
                                            "id": "0a566654-d250-463e-b413-67782482e903",
                                            "name": "aspnet5-experimental"
                                        },
                                        "unit": "GB-HOURS",
                                        "unitId": "GB_HOURS_PER_MONTH"
                                    }
                                ]
                            },
                            {
                                "id": "54629864-0e43-488f-bfca-3f9c9d806de6",
                                "name": "pas-mysql-local",
                                "usage": [
                                    {
                                        "buildpack": "dac36860-94be-495a-96f5-d81d79c2ef3f",
                                        "cost": 7.498824610083008,
                                        "quantity": 94.44363488769531,
                                        "runtime": {
                                            "id": "dac36860-94be-495a-96f5-d81d79c2ef3f",
                                            "name": "java_buildpack"
                                        },
                                        "unit": "GB-HOURS",
                                        "unitId": "GB_HOURS_PER_MONTH"
                                    }
                                ]
                            },
                            {
                                "id": "59f15702-1c42-444b-a1fb-94fbaf6cb27a",
                                "name": "pas-mobile-web",
                                "usage": [
                                    {
                                        "buildpack": "0154f971-ae72-4882-9695-bda6e31310b7",
                                        "cost": 8.531996000805556,
                                        "quantity": 107.45586902777778,
                                        "runtime": {
                                            "id": "0154f971-ae72-4882-9695-bda6e31310b7",
                                            "name": "liberty-for-java_v2_1-20151006-0912"
                                        },
                                        "unit": "GB-HOURS",
                                        "unitId": "GB_HOURS_PER_MONTH"
                                    }
                                ]
                            },
                            {
                                "id": "926900dd-ccd7-4442-8f58-413df2bc0237",
                                "name": "pas-mongodb-local",
                                "usage": [
                                    {
                                        "buildpack": "dac36860-94be-495a-96f5-d81d79c2ef3f",
                                        "cost": 7.498824610083008,
                                        "quantity": 94.44363488769531,
                                        "runtime": {
                                            "id": "dac36860-94be-495a-96f5-d81d79c2ef3f",
                                            "name": "java_buildpack"
                                        },
                                        "unit": "GB-HOURS",
                                        "unitId": "GB_HOURS_PER_MONTH"
                                    }
                                ]
                            },
                            {
                                "id": "ab5a3278-a1c1-44f6-9113-713a4d800131",
                                "name": "bluemix-apples-springboot",
                                "usage": [
                                    {
                                        "buildpack": "dac36860-94be-495a-96f5-d81d79c2ef3f",
                                        "cost": 8.531996000805556,
                                        "quantity": 107.45586902777778,
                                        "runtime": {
                                            "id": "dac36860-94be-495a-96f5-d81d79c2ef3f",
                                            "name": "java_buildpack"
                                        },
                                        "unit": "GB-HOURS",
                                        "unitId": "GB_HOURS_PER_MONTH"
                                    }
                                ]
                            },
                            {
                                "id": "b448fd3a-5350-47d2-820d-7f739a057f22",
                                "name": "pas-SpringBootJARDemo",
                                "usage": [
                                    {
                                        "buildpack": "eb0b11e9-8982-4b93-adcb-7350d0bf2ae4",
                                        "cost": 8.531996000805556,
                                        "quantity": 107.45586902777778,
                                        "runtime": {
                                            "id": "eb0b11e9-8982-4b93-adcb-7350d0bf2ae4",
                                            "name": "liberty-for-java_v2_3-20151208-1311"
                                        },
                                        "unit": "GB-HOURS",
                                        "unitId": "GB_HOURS_PER_MONTH"
                                    }
                                ]
                            },
                            {
                                "id": "b7d3d442-5546-41b4-b5c0-4ef737734e7b",
                                "name": "pas-sb-elastic",
                                "usage": [
                                    {
                                        "buildpack": "dac36860-94be-495a-96f5-d81d79c2ef3f",
                                        "cost": 7.498824610083008,
                                        "quantity": 94.44363488769531,
                                        "runtime": {
                                            "id": "dac36860-94be-495a-96f5-d81d79c2ef3f",
                                            "name": "java_buildpack"
                                        },
                                        "unit": "GB-HOURS",
                                        "unitId": "GB_HOURS_PER_MONTH"
                                    }
                                ]
                            },


http://feeds.feedburner.com/TheBlasFromPas
Categories: Fusion Middleware

Partner Webcast: 5 Things to Consider When Upgrading Your Legacy Portal & Content Environments to Oracle WebCenter 12c

WebCenter Team - Tue, 2016-02-09 08:54

5 Things to Consider When Upgrading Your Legacy Portal & Content Environments to Oracle WebCenter 12c

Thursday, February 25, 2016 | 1 PM EST / 10 AM PST 

Too many companies still rely on legacy systems, or other outdated platforms, that are not capable of supporting the new demands of modern business. By effectively addressing the issues of transitioning from fragmented and disparate applications to a single integrated global system, your system will lower total cost of ownership and avoid end-of-life support and maintenance deadlines.
TekStream brings tribal knowledge of BEA WebLogic Portal, BEA AquaLogic User Interaction (ALUI), WebCenter Interaction (WCI), Plumtree, Stellent, Universal Content Management (UCM), Optika, Imaging and Process Management (IPM), and FatWire into one centrally manageable platform, Oracle WebCenter.
With the recent introduction of the Oracle WebCenter 12c platform, here are 5 things that you should consider when upgrading your legacy environment.
  1. How do I know if I need to upgrade?
  2. How long will an upgrade or WebCenter implementation take?
  3. What's the difference between Oracle WebCenter 12c and what I'm currently using?
  4. How much will my project cost?
  5. What will be delivered with an upgrade?

Our specialized, three-step assessment, called QuickStream, aligns business stakeholders and IT organizations using a proven and practical methodology. By providing answers to critical questions like the ones above before a project begins, QuickStream helps organizations avoid the negative business outcomes of IT project failures due to unmet quality, cost and expectations.

Register Today

Weblogic: GC Log Generation

Online Apps DBA - Tue, 2016-02-09 06:02
This entry is part 6 of 6 in the series WebLogic Server

weblogic

This post covers about GC log generation that is Garbage collection log generation in WebLogic and is must read if you are learning WebLogic.

We cover this GC log generation topic in our Oracle WebLogic Training with other topics (such as creating WebLogic domain, managed servers, clustering,deployment, logging, JMS, JTA, JDBC, JMX or security, Performance tuning and Troubleshooting).

GC Log Generation

 

1. Make java file by using below steps.

vi TestJavaGCLogging.java

2. Write below sample code in TestJavaGCLogging.java file.

package com.test;

import java.util.Map;
import java.util.HashMap;

public class TestJavaGCLogging {

/**
* @param args
*/
public static void main(String[] args) {
Map<Integer, Object> objectMap = new HashMap<Integer, Object>();

for (int i = 0; i < 5000000; i++) {
Object obj = new Object();
objectMap.put(i, obj);
}

System.out.println(“MAP size: ” + objectMap.size());
System.gc();

for (int i = 0; i < 5000000; i++) {
Object obj = new Object();
objectMap.put(i, obj);
}

System.out.println(“MAP size: ” + objectMap.size());
System.gc();

for (int i = 0; i < 5000000; i++) {
Object obj = new Object();
objectMap.put(i, obj);
}

System.out.println(“MAP size: ” + objectMap.size());
System.gc();

}
}

3. Compile your java program by using below command.

 javac TestJavaGCLogging.java

4. Execute your java program by using below command.

java TestJavaGCLogging.java

  Output:

[GC (Allocation Failure)  61164K->57832K(251392K), 0.0982666 secs] [GC (Allocation Failure)  115498K->115328K(316928K), 0.1344700 secs] [GC (Allocation Failure)  231564K->238464K(371200K), 0.2023053 secs] [Full GC (Ergonomics)  238464K->213428K(593408K), 1.5529075 secs] [GC (Allocation Failure)  344500K->376196K(659456K), 0.1887039 secs] [Full GC (Ergonomics)  376196K->326801K(907776K), 1.7682597 secs] MAP size: 5000000 [GC (System.gc())  346187K->345753K(972800K), 0.0677305 secs] [Full GC (System.gc())  345753K->345580K(972800K), 2.3864599 secs] MAP size: 5000000 [GC (System.gc())  505471K->423852K(1006592K), 0.2583115 secs] [Full GC (System.gc())  423852K->345580K(1006592K), 2.8451946 secs] MAP size: 5000000 [GC (System.gc())  501868K->423860K(1006592K), 0.2246933 secs] [Full GC (System.gc())  423860K->345580K(1006592K), 1.8027748 secs]

 

If you want to learn more on WebLogic like above or wish to discuss challenges you are hitting in Oracle WebLogic Server, register for our Oracle WebLogic Administration Training.

We are so confident on quality and value of our training that We provide 100% Money back guarantee so in unlikely case of you being not happy after 2 sessions, just drop us a mail before third session and We’ll refund FULL money.

Did you subscribe to our YouTube Channel (435 already subscribed) and Private FaceBook Group (666 Members) ?

The post Weblogic: GC Log Generation appeared first on Oracle Trainings for Apps & Fusion DBA.

Categories: APPS Blogs

LittleArduinoProjects#180 Colpitts Oscillator

Paul Gallagher - Tue, 2016-02-09 05:50
A Colpitts oscillator uses a combination of inductors and capacitors to produce an oscillation at the resonant frequency of LC circuit.

To see that in action, I built one on a protoboard and it delivers an almost perfect 22.9kHz .. compared to the theoretical 22.5kHz.

As always, all notes and code are on GitHub.

Here's a trace of the output signal on CH1, and the mid-point of the capacitor pair on CH2:

Node in the Cloud: Oracle DBaaS, App Container Cloud and node-oracle

Christopher Jones - Tue, 2016-02-09 01:21

The node-oracledb driver is pre-installed on the Oracle Application Container Cloud when you create a Node service! Yay!

I've posted a video on deploying a Node application to the cloud and connecting to Oracle Database Cloud Service. (Blatent plug: subscribe to the YouTube channel!)

The brief summary is that I developed a Node application in my local environment. I then created a database service, I zipped all the JavaScript files along with a manifest telling the App Container Cloud which source file to run, amd this zip was uploaded to a Node cloud service. DB credentials are referenced in the app by environment variables; the variables are made available by the App Container Cloud when a DBaaS instance is associated with it.

You can try it all out by applying for a 30 day free trial on the Oracle Cloud.

All the JavaScript modules except native add-ons like node-oracledb should be included in your application zip bundle - you might have been developing on a different OS than used in the container so native adds-on won't work. The container simply unzips your bundle and runs. It will find the node-oracledb installed globally on the container just fine.

Making Lab Sections Interactive: More evidence on potential of course redesign

Michael Feldstein - Mon, 2016-02-08 19:51

By Phil HillMore Posts (385)

Two weeks ago Michael and I posted an third article on EdSurge that described an encouraging course redesign for STEM gateway courses.

In our e-Literate TV series on personalized learning, we heard several first-hand stories about the power of simple and timely feedback. As described in the New York Times, administrators at the University of California, Davis, became interested in redesigning introductory biology and chemistry courses, because most of the 45 percent of students who dropped out of STEM programs did so by the middle of their second year. These students are the ones who typically take large lecture courses.

The team involved in the course-redesign projects wanted students to both receive more individual attention and to take more responsibility for their learning. To accomplish these goals, the team employed personalized learning practices as a way of making room for more active learning in the classroom. Students used software-based homework to experience much of the content that had previously been delivered in lectures. Faculty redesigned their lecture periods to become interactive discussions.

The UC Davis team focused first on redesigning the lab sections to move away from content delivery (TAs lecturing) to interactive sessions where students came to class prepared and then engaged in the material through group discussions (read the full EdSurge article for more context). In the UC Davis case, this interactive approach was based on three feedback loops:

  • Immediate Feedback: The software provides tutoring and “immediate response to whether I push a button” as students work through problems, prior to class.
  • Targeted Lecture and Discussion: The basic analytics showing how students have done on the pre-lab questions allows the TA to target lecture and discussion in a more personal manner—based on what the specific students in that particular section need. “I see the questions that most of my class had a difficulty with, and then I cover that in the next discussion,” Fox says.
  • Guidance: The TA “would go over the answers in discussion.” This occurs both as she leads an interactive discussion with all students in the discussion section and as she provides individual guidance to students who need that help.

Formative Feedback Loops UCD

The opportunity to make the lab sections truly interactive, and not just one-way content delivery through lectures, is not unique to the UC Davis example. Shortly after publishing the article, I found another course redesign that plays on some of the same themes. This effort at Cal State Long Beach (CSULB) was described in the Press-Telegram article:

Sitting near a skeleton in a Cal State Long Beach classroom last week, Professor Kelly Young dissected a course redesign that transformed a class from a notorious stumbling block to a stepping stone toward graduation.

Young has reduced the number of students failing, withdrawing or performing below average in Bio 208: Human Anatomy from 50 percent to fewer than 20 percent in about four years, and poorly performing students have watched their grades climb, with continued improvement on the horizon.

That statistic is worth exploring, especially when considering that 500-600 students take this class each year at CSULB.

Thanks to the CSULB Course Redesign work, this work in Bio 208 has some very useful documentation available on the MERLOT repository. Like the UC Davis team, the CSULB team first redesigned the lab sections, “flipping them” to enable a more personalized approach within the small sections. Unlike UC Davis, CSULB centered the content on videos and podcasts.

While we have been working on refining the lecture over the past several years, the Redesign Project has allowed us to get serious about redesigning the laboratory (the source of low grades for most of the students). During the semester, students learn over 1,500 structures just in the laboratory portion of the course. Despite asking them to look at the material before class, students would routinely come to the laboratory session totally unprepared. Flipping the class was an enticing solution to increase preparedness- and therefore success.

BIOL_208_Bones_of_the_Thorax

After trial and error over a few years, the team has created a series of “Anatomy on Demand” annotated videos. But as the team pointed out, this is not the actual important factor.

While the videos often get attention in a flipped classroom proposal, the true focus of our project is what we do with the newly-created class time in the laboratory provided by flipping the lectures. The most important aspect of this project is our new interactive laboratory sessions that serve to deepen understanding of the material. The idea is that a student will watch the relevant short videos (usually 5-7 per week) prior to coming to the laboratory, arrive prepared to their laboratory, take a short quiz that is reduced in rigor but assures readiness, and then spend at least two hours in the laboratory exploring the structures in detail at interactive small group stations.

The effect has been that students are moving from receiving introductions to material and now participating in critical thinking in the lab.

This new method allows prepared students to deeply interact with the material, as opposed to merely being introduced to it. In previous years, we hoped to have students leave the laboratory with some rote memorization of the structures complete. In contrast, when students arrive with a basic understanding of the structures, we are able to use laboratory time to ask application and critical thinking questions.

After applying multiple redesign elements and interventions, the CSULB team started seeing impressive results, especially starting in Spring 2014. This is where they are tracking the reduction in percentage of students getting D, F, or Withdraw from almost 50% to approximately 20%.

phpThumb

Both of these course redesigns were led by university faculty and staff and are showing impressive results. Not just in grades but in deeper student learning. Kudos to both the UC Davis team and the CSULB team.

The post Making Lab Sections Interactive: More evidence on potential of course redesign appeared first on e-Literate.

Interaction Hub Image 2 Now Available

PeopleSoft Technology Blog - Mon, 2016-02-08 18:42

As we reported not last June, the PeopleSoft Interaction Hub now uses the PeopleSoft Update Manager to deliver all updates and maintenance.  Customers can now take advantage of the Selective Adoption process when updating their Hub system.  This puts the Hub in alignment with all other PeopleSoft applications.  We are happy to announce that image 2 is now generally available from the PeopleSoft Update Manager home page. (Choose the Upate Image Home Pages tab, then choose the Interaction Hub Update Image page.)

Here are a few of the valuable features included in this image that customers should consider:

  • Guided process for branding.  The Hub offers a simple guided process that enables customers to do simple branding of their Fluid UI-based home pages and headers. Using this quick and easy process, administrators can set the header logo, banner color and text, background image and color, and more.  The administrator can also set roles to determine which branding themes are seen by which roles within an enterprise.  In addition, once the branding theme is set, you can publish your branding theme across all PeopleSoft applications in the wizard at the push of a button!  The Hub also gets its own delivered theme, but of course it's easy to create your own.
  • Administrator Landing Page.  The Hub delivers a landing page from which an administrator can monitor the health and performance of their PeopleSoft ecosystem.  This may also be where the administrator performs branding activities.
  • Guest Landing Page.  This page can be assigned to Guest roles for people that don't have full access to a system.
  • Navigation Collections.  Fluid Navigation Collections were actually implemented in PeopleTools 8.55.  However, Nav Collections have been used extensively in Hub designs, so now customers can design Fluid Hubs with home pages that use Nav Collections to streamline user navigation.

See the Update Image Home Page for complete details about this image.  

In addition, review the Planned Features page on My Oracle Support for updates regarding the Hub and a look at what we have planned for future images.