torsdag, augusti 24, 2006

Keep the 'home' Instance Clean

We sometimes sees people deploying applications to the default 'home' OC4J instance within the Oracle Application Server. Even though this will work, it is a better practice not deploying any Applications to this Instance, and leave this one alone. We have some internal use of this instance, and it is not ment for regular Application deployments. Therefore; please create a new OC4J instance and use this for your own Application deplyoments.

onsdag, augusti 23, 2006

RuleAuthor Fails to Start with Strange Error Message

An interesting problem that has appeared recentley is that I've seen the RuleAuthor fail with an exception:

java.io.FileNotFoundException: Could not find RuleHome.uix.uix

on a few occasions recently. It is possible to get to the login screen, but once you have logged in, this error appears.

It turned out; that this was caused by that the Oracle HTTP Server (OHS) was started by using apachectl instead of via OPMN. This led to inconsistency between the OHS to OC4J mapping in the mod_oc4j mappings. Could be worth keeping in mind...

onsdag, augusti 16, 2006

Developer's Preview of Oracle Application Server 10g Release 3 (10.1.3.1.0) for the Oracle SOA Suite Out Now

A Developer's Preview of Oracle Application Server 10g Release 3 (10.1.3.1.0) Developer Preview for the Oracle SOA Suite is now out on OTN.

It is available for download at: http://www.oracle.com/technology/software/products/ias/soapreview.html

Developer's Preview of Oracle JDeveloper 10g 10.1.3.1 Out Now

A Developer's Preview of Oracle JDeveloper 10g (10.1.3.1.0) is now out on OTN.

It is available for download at: http://www.oracle.com/technology/software/products/jdev/htdocs/soft10131studio.html

How do to Make JDeveloper Keep the Wrapper Code for EJB's for Debugging Purpose

Sometimes it is useful to have the wrapper code for EJB's for debugging. This code is not generated by default, but you can have JDeveloper generate it for you.

The wrappers are not generated during compilation, but during deployment. The easiest way to get hold of them is to run the EJB in the embedded OC4J server, this will cause a deployment to take place, and the wrappers will be generated.

You also need to set a switch for them to be generated. To do this you go to Project Properties -> Runner, and add the following switches:
-DKeepWrapperCode=true -DWrapperCodeDir=d:\tmp

and the wrapper code will be generated into whatever directory you specified with the -DWrapperCodeDir switch.