Archive for category Oracle
I am using OpenOffice from 13+ years, before it was an open source suite and before it was acquired by Sun Microsystems (1999). At that time, StarOffice was the only cross platform productivity suite running on Windows, Linux and Solaris.
After Oracle abandoned the suite – and many other solutions in Sun Microsystems’ portfolio – the situation around Open Office is not easy to follow, let’s try to recap.
- A group of original developers from Sun, sponsored by Canonical, Novell, RedHat amongst others, forked OpenOffice and created LibreOffice.
- Oracle donated the original Open Office code base to the Apache Community, now published under an Apache v2 license
- Several large software editors have created derivative based on the OpenOffice code base, one of them being IBM’s Lotus Symphony (freely available)
Now that OpenOffice code base is not controlled by Oracle anymore, IBM decided to contribute its enhancement to the Apache OpenOffice project. This is important news for all OpenOffice users. This means that all improvements and changes made by IBM for Lotus Symphony will be made available for all in OpenOffice.
We are all looking forward the first release combining Apache OpenOffice and Lotus Symphony.
In the mean time, IBM released an iOS viewer application. It allows you to view Open Document Format (ODF) text documents, presentations, and spreadsheets downloaded to your phone or tablet without the need for any network connection.
IBM OpenDocument Viewer for iOS is freely available on the Apple App Store.
|I am about to release another iPhone application allowing users to visually manage voice mail messages left on their enterprise messaging solution, based on Oracle Beehive Collaboration and Communication Suite.
This application is similar to Apple’s Visual Voice Messaging application that is deployed for some carriers.
Testing an iPhone application before it is deployed through the App Store might be tricky and is reserved for users having a minimal technical knowledge. This article describes the steps required to join a testing program and to collect logs and debugging information to be reported to the developer.
Before installing an application on your iPhone, it has to be digitally signed by the developer and by Apple (when distributed on the App Store).
For ad-hoc distribution, i.e., without going through the App Store, the application will be signed specifically for your device. The developer needs to know your Device ID (UDID).
Step #1 – collect your UDID and send it to the developer
First step for beta testing an iPhone application is to collect your UDID and send it to the developer.
To do this, connect your device to your Mac/Windows and launch iTunes. In iTunes, select your device in the ‘Devices’ section and navigate to the Summary tab. Click on the Serial Number label to reveal the Identifier field and the 40 character UDID. Press Command+C (CTRL-C on Windows) to copy the UDID to your clipboard. Then paste it (Command+V or CTRL-V) in a mail message.
Step #2 – Install application
Once the developer knows your UDID, he will generate an application’s release authorized to run on your device. Most of the time, you will receive the application as a ZIP file through email or web site download.
- Unzip the file you received
- Drag’n drop the application in iTunes
- Sync your device with iTunes to install the application
You should then see the application icon on your device.
Step #3 – Provide feedback and collect log files for crashes
We are interested to collect all kind of feedbacks and testing conditions
- General application usage, ergonomy, performance etc … many of these are subjectives but all suggestions will be considered. Sometimes suggestions will be integrated immediately, sometimes they will be planned for a future release.
- Different devices – you’re mostly welcome to test on older iPhone, iPod Touch or even iPad.
- Slow / poor network connection. Real life network conditions are difficult to test on a development machine, only real life usage, on the street, in a cab, in an airport etc …
If the application crashes or if you think you’ve find a bug, please report it as precisely as possible, in particular, I would like to know
- what version you are using ? (version number is provided in the mail with the application)
- what device you are using ?
- what are the precise steps to reproduce ?
- is it always reproducible or not ?
The application generate a log file that contains a precise description of what happens within the application. Here are the steps to collect and send me log files.
- Download Apple’s iPhone Configuration Utility (Mac and Windows)
- With your device connected, run the iPhone Configuration Utility
- Click your connected device
- Go to the Console tab (see screenshot below)
- Clear the log (button at the bottom to the left)
- Try to install and/or launch the application and reproduce the error
- Select the relevant log lines (or just everything)
- Click the Save Console As… button and save the file
- E-mail the file to me
That’s all for now. Thank you for your valuable feedback !
This week, Oracle released a major new version of JDeveloper IDE, version 11.1.2
What’s new ?
- The plugin system has been revamped and is now based on OSGi
- The startup time has been dramatically reduced. (We will need to find another activity to allow us for a cup of coffee – or two – in the morning)
- Integration with Maven 2
- Support of JSF 2
- And, for Mac users using OpenJDK 7, no more need to hack your Java installation to make the installer happy. (when using Apple’s provided JDK 1.6, you still have to follow these instructions)
I have to admit that the startup time has improved much ! On my Macbook Pro (Core 2 Duo 2.66Ghz / 4GB RAM – Apple JDK 1.6.0_24), a warm start gives the JDeveloper 20 secs to get the main Window. Weblogic seems to follow this path too with an impressive 11 secs to status [RUNNING].
JDeveloper team released last week version 126.96.36.199, aka Patch Set 4.
This is a maintenance only release, no new feature has been added in this release. You can download it for free from Oracle Technology network.
Release Notes are available here
Others new / improved features is the support for Maven 3, Git etc … and the support for GlassFish Application Server 3.1, Oracle Weblogic Server and Oracle database (simplified connection wizard, guided installation to JDBC driver, editing and deployment of stored procedures)
I just downloaded and installed Solaris Express 11 on VirtualBox on my Mac and I was pleasantly surprised by the integration work done during these last two years. Everything I tested is working out of the box, including screen resizing, a traditional paint point of Solaris + VirtualBox.
Beside paving the way toward Oracle Solaris 11 and being one of the first Oracle branded release of Solaris, there are many new functions for developers and system administrators.
I was particularly impressed by the extremely simple installation process, that started with OpenSolaris and is now live for all current and future Solaris users. You can have a preview with this video.
You can also download a prebuilt Virtual Box VM, ready to use.
Give it a try !
Develop Your Strategy and Roadmap for Cloud Computing Strategies
The cost and speed advantages of cloud computing are clear and compelling. But how do you actually move to cloud computing? To discover a practical approach to building your cloud foundation, join us for the Oracle Enterprise Cloud Summit.
During this half-day event, cloud experts will share real-world best practices, reference architectures, detailed customer case studies, and more. You’ll learn how to transform IT into a superior service provider with a strategy and roadmap for building, deploying, and managing an enterprise cloud.
Attend the Oracle Enterprise Cloud Summit to learn how to:
- Build a state-of-the-art cloud architecture
- Leverage your existing IT investments
- Optimize your IT management processes
Whether you are considering a move to cloud computing or have already adopted a cloud.
|8:30||Breakfast and Registration|
Pierre Henin, Managing Director, Oracle Luxembourg
|9:15||Keynote : Your Roadmap to Enterprise Cloud Computing
Martijn Vlek, Senior Director – EMEA Middleware Solution Specialist Team
|10:15||Oracle Exalogic Elastic Cloud : Revolutionizing Data Center Consolidation
Dieter Deramoudt, Senior Manager – Sales Consulting
|Track 1||Track 2|
|11:15||Infrastructure as a Service Enterprise Cloud Computing for Enterprises
Martijn de Jong, Product Marketing Manager
|Five Essential Capabilities for Cloud Management
Mike Reys, Senior Sales Consultant
|12:00||Oracle Exadata: Private Could Database Consolidation
Wim Van Asch, Master Principal Sales Consultant
|Integrating your On-Premise Applications with Cloud Applications
Sébastien Stormacq, Principal Sales Consultant
This event is organized in collaboration with
|Although not officially supported, installing Oracle SOA Suite a top of the lightweight XE database is often convenient for development, demo or training purpose. It avoids going through the complete installation of her big brother : the complete Oracle Database 11g system.
XE is less than 220 Mb download and Installing it on a Linux system is as simple as
rpm -ivh oracle-xe.rpm
However, there is some caveats, i.e. some system parameters to tweak before installing SOA Suite’s database schemas using Repository Creation Utility (RCU).
In the same spirit as my previous blog entry : here are the magical incantations for the database gods, to be executed before RCU.
First connect to the database :
sqlplus sys/yourpassword@XE as sysdba
(be sure to have /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin in your PATH)
SQL> show parameter processes //processes should be 40 – must be 200
SQL> alter system set processes = 200 scope=spfile;
SQL> show parameter session;
SQL> alter system reset sessions scope=spfile sid='*';
SQL> shutdown immediate;
then restart XE with :
sudo /etc/init.d/oracle-xe start
Finally, as stated on SOA Suite download page :
“If you want to use XE you can set the RCU_JDBC_TRIM_BLOCKS environment variable to TRUE *prior* to running RCU. As a reminder as to support level, when running RCU against XE you will receive a warning stating that the database version is not supported by Oracle.”
You must issue
before starting RCU. Failing to do so will cause WebLogic to issue a bunch of database related exceptions at startup time.
That’s it ! You can now proceed with RCU to install SOA Suite’s database schemas.
|Here is a tip to help you to save some time next time you will install Oracle Enterprise Linux as a guest OS in a Virtual Box system.
If, like me, you like to install the minimum set of components and then add whatever is required at a later stage, you will soon find that you can not install the Virtual Box Guest Additions : the installation procedure will complain for missing packages.
Actually, the installation procedure is compiling source code, hence it requires some development tools and the kernel header files. None of these are installed by default when you choose a minimal installation.
First Step : add Oracle repositories to YUM configuration (as root)
cd /etc/yum.repos.d wget http://public-yum.oracle.com/public-yum-el5.repo
Then ensure that the repositories are enabled, i.e. enabled=1 under [ol5_u5_base] and [el5_u5_base]
Second Step : install missing packages
sudo yum install gcc make automake autoconf kernel-headers.i386 kernel-devel
Then you can proceed with normal VirtualBox Guest Additions installation.
An Open Source implementation is also available from ForeRock’s OpenAM.
To summarize, a Secure Token Service is a third-party broker where Web Services clients can authenticate and receive a security token to be sent to a Web Service Provider. The Web Service Provider will, in turn, validate the token and to evaluate authentication and authorization decisions.
There are three approaches to interact with STS Server
Approach #1 – STS’s WSDL definition
This is the platform agnostic approach. Just rely on STS’s WSDL definition to generate whatever client code you will need.
Unfortunately, on Java SE 6, this approach fails because of incompatibilities in OpenSSO’s STS WSDL definition and JAX-WS.
Stay tuned on ForgeRock’s JIRA for more details on this approach.
Approach #2 : Using JAX-RPC and JSR 196 provider
JSR 196 is a SPI specification allowing to hook a filter inside a container. This filter will be invoked for all incoming and outgoing JAX RPC call, allowing it to be used for logging or security purposes for example.
OpenSSO and OpenAM do provide a JSR 196 provider for web service authentication (JSR 196) and authorization (JSR 115). This provider is able to work with an STS provider. The provider is available as part of openssowssprovider.jar JAR file.
However, this approach has a major drawback : it is JAX RPC based, i.e. quite old, now that the (Java) world has embraced JAX WS. In other words, Oracle only supports this when the web service provider and the web service consumer are deployed into a GlassFish v2 instance.
So, if you want to use JAX WS, you will require a little more work.
Approach #3 – JAX WS
JAX-WS also provides hooks to intercept outgoing and incoming SOAP requests. These hooks are named “Handler“.
The good news about Handlers is that they are web-app specific, unlike JAX-RPC JSR 196 provider which are installed at container level; hence for all your web applications.
You can think of an Handler as a Servlet Filter, dedicated to web service calls. They can be part of a web app, to protect web services providers, or stand alone client, to protect web service consumers. IBM has a very good documentation about using Handlers with JAX WS web services.
To test OpenSSO / OpenAM STS service with JAX WS handlers, I suggest you to read this tutorial.
Unfortunately, you will soon realize that these step by step instructions are not working.
Problem #1 : Oracle removed the download link to openssowssagents.jar file. Yes you read it right. As of today, there is no binary distribution for the JAX WS Handlers and WSS Agents. The JAR file is only available from ForgeRock.
Problem #2 : JAX-WS ClientHandler and ServerHandler are not included in openssowssagents.jar file. So even, if you are downloading ForgeRock’s JAR file, you won’t get these two JAX WS handlers.
So the only solution is to download the source code and built it yourselves. Building OpenSSO / OpenAM is not an easy task. This product has many dependencies and historical (legacy) branches. Anyway, your build will not be supported by Oracle nor ForgeRock. For your convenience, here is a openssowssagents.jar file with the JAX WS classes included.
Should you have a valid support contract with Oracle and/or ForgeRock, do not hesitate to open a support case and see what / if /how they will handle this situation.