Weblogic & Basic Auth

Weblogic will by default attempt to authenticate any HTTP Basic credentials, even if the URI being accessed does not fall within a statically declared web.xml security constraint. Doesn’t seem like a reasonable default to me, but anyways there is a means to change this behaviour, the enforce-valid-basic-auth-credentials setting: To set the enforce-valid-basic-auth-credentials flag, perform the following steps: Add the <enforce-valid-basic-auth-credentials> element to config.xml within the <security-configuration> element. 1 2 3 . Read more...

Ubuntu, Subclipse, and JavaHL

If you get an error message like the following when using Subclipse (The Eclipse SVN plugin) on Ubuntu:

links for 2011-08-06

IAB Commentary:Architectural Concerns on the Use of DNS … (tags: DNS Wildcards Considerations)

Java Servlets and URI Parameters

What’s a URI Parameter? well it’s not the values after the question mark in the URI below: /some/path?key=value those are HTML Form values. Actually URI Parameters are rarely used, and also poorly understood by servlet containers, here’s an example URI: /some/path;param To be pedantic (and this post is full of pedantry!) I should probably call them something like ‘URI Path Segment Parameters’, but for the sake of brevity I’ll continue to say URI Parameter for the rest of this document. Read more...

A Year With Ubuntu

This time last year I got a new work laptop, a Dell E6400, dual core 2.8GHz, 4GB, enough hard disk capacity that I’ve forgotten what it is. I dutifully installed the corporate Windows XP image and eventually after the ubiquituous reboots got to a nice clean desktop, looking forward to a nice jump in computing power, I hit the start button to get on with installing the rest of the software I’m going to need, and nothing happens. Read more...

APEX Listener 1.1

Version 1.1 of Oracle APEX Listener is now available for download. This is the first official release to include Resource Templates functionality, which lets you expose Oracle Database data as RESTful APIs. Read the release notes here. Important changes to note are discussed here. As ever please let us know your feedback in the APEX Listener Forum

Ubuntu, Personal Package Archives, Proxies and Update Manager

Recently my iPod Touch stopped connecting to my Ubuntu box. Seems the latest iPod Firmware update caused the problem. The solution is to install the latest version if the libraries providing the iPod connectivity. Problem is the latest versions have yet to make it into the main update channel. So you have to add a Personal Package Archive (PPA) to pickup the latest version, it should be just a matter of: Read more...

Resource Templates, not just for APEX

Oracle APEX Listener’s primary function is to serve as a Java friendly alternative to mod_plsql. The most well known application that uses mod_plsql being APEX. However the Listener is not restricted to providing HTTP access to APEX, it can provide HTTP access to any PL/SQL procedure that mod_plsql can. Similarly the Resource Templates functionality we have introduced in the latest APEX Listener Early Access Release is not dependent on APEX. Resource Templates can be used to expose any data stored in the database via HTTP, regardless of whether that data is managed by an APEX application or not. Read more...

Ubuntu Upstart Script for Oracle Database

Recent versions of Ubuntu use Upstart instead of System-V style initialization, so if you want Oracle to start at boot time then you’ll need an Upstart script for Oracle. Create a file named /etc/init/oracle.conf: 1 gksu gedit /etc/init/oracle.conf and add the following contents to the file: expect fork pre-start script su - $ORACLE -c "$ORACLE_HOME/bin/dbstart $ORACLE_HOME" end script post-stop script su - $ORACLE -c "$ORACLE_HOME/bin/dbshut $ORACLE_HOME" end script You may need to modify the value of the ORACLE_HOME and ORACLE environment variables to match your local settings. Read more...

REST and Oracle APEX Listener

Update: November 2011, This functionality is available in Oracle Application Express Listener 1.1 and later, note the syntax of bind variables has been changed to match that used in other Oracle products: {person} becomes :person. The examples below have been changed to reflect the updated syntax Oracle Application Express Listener Early Adopter Release 1.1 introduces a feature called Resource Templates that enables quick and easy configuration of RESTful web services for exposing and manipulating data stored in an Oracle Database via HTTP. Read more...
<< 5 of 13 >>
Ⓗ Home   Ⓑ Blog   Ⓐ About