Skip to main content

Posts

Showing posts from October, 2010

Manipulation Oracle Bpm directory with FDI api

The BPM Directory is an information repository. It stores configuration information about a BPM Environment. This repository is a fundamental component of the BPM Environment; a BPM Environment cannot exist without a BPM Directory. All the users information and organizational unit information maintains on BPM directory. Oracle BPM also provides API named FDI to CRUD operations on these information. For more additional information see here . In this current post, i will provide sample java code which will help to quick start with FDI. Fdi Api is not public api to use, for these reason only a few reference found on the web. Oracle BPM Standard Components Reference provides most of the information to working with FDI. For example purpose, i will use Bpm Standalone Enterprise server directory.xml. To run standalone client we have to need following libraries on class path: fuegopapi-client.jar b1oracle.jar b1base.jar b1util.jar b1resource.jar Here is my maven pom.xml file <proj...

Resolve NullPointerException at weblogic.wsee.jaxws.spi.ClientIdentityRegistry.internalAddClientRuntimeMBean

One of our project running on Solaris Sparc system on production, last week we have deployed newer version of our project which have to integrate with 3rd party webservices. On development platform all the test goes fine on Weblogic 10.3.3, but on production we got the following Nullpointer exception: 05-10-2010 18:48:01.066 ERROR r.f.t.a.service.AuctionAOPLogger - Exception: java.lang.NullPointerException: null at weblogic.wsee.jaxws.spi.ClientIdentityRegistry.internalAddClientRuntimeMBean(ClientIdentityRegistry.java:470) ~[weblogic.jar:10.3.3.0] at weblogic.wsee.jaxws.spi.ClientIdentityRegistry.addClientRuntimeMBean(ClientIdentityRegistry.java:424) ~[weblogic.jar:10.3.3.0] at weblogic.wsee.jaxws.tubeline.standard.WseeClientTube.register(WseeClientTube.java:54) ~[weblogic.jar:10.3.3.0] at weblogic.wsee.jaxws.tubeline.standard.WseeClientTube. (WseeClientTube.java:35) ~[weblogic.jar:10.3.3.0] at weblogic.wsee.jaxws.tubeline.standard.StandardTubelineDeploymentListener$1.createClie...

Oracle service bus logging with custom JDBCAppander

Last few weeks we are upgrading logging system of our MDM system, we have design a central place for all logging data. With central log system we can afford to manage our system very effectively and debug any fatal error. With OSB it's not straight forword to pulling logging data from console to somewhere, because a few subsystem uses different appender to write and filter log. See the following link to know more about oracle logging service . In my previous post i demonstrate how to use log4j JDBC appender in log4j.properties to redirect log to database table. For the current post we also uses same DDL to create tables 1) CREATE TABLE LOGS (USER_ID VARCHAR2(20), DOMAIN varchar2(50), DATED DATE NOT NULL, LOGGER VARCHAR2(500) NOT NULL, LEVEL VARCHAR2(50) NOT NULL, MESSAGE VARCHAR2(4000) NOT NULL ); 2) Create a simple maven project with a few dependency to create custom JDBCAppender <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="htt...

A quick fix to set Locale on OOO (Open office org)

One of our web application uses OOO(open office org 3.2) to convert msOffice file to HTML file. There are a open source project named JodConverter which helps you to do most of the low level works such as connecting to server and much more. For quick start you can see my previous post. Few days ago we got a bug about Russian encoding after converting big Ms Word file to Html, as a usual our developers done their all the best to get rid of it, put directives on html and much more, but all in vain. Then i tried to change the OOO settings which recommended on ooo forums. 1) Change HTML compatibility - character set UTF-8 which should fix the problem but it havn't 2) Then change the Language settings -> set Locale for Russian and the bug fixes. see the screen shot Preferences During my annual vacation, colleague could not manage to change the preferences to the production server. He as usual connect to server by ssl client on cli mode and thus could't change to the prefe...