Comments for AMIS Blog http://technology.amis.nl Friends of Oracle and Java Sat, 22 Nov 2014 15:34:11 +0000 hourly 1 http://wordpress.org/?v=4.0.1 Comment on Generating a PDF-document with some plsql: as_pdf_mini => as_pdf3 by Anton Scheffer http://technology.amis.nl/2012/04/11/generating-a-pdf-document-with-some-plsql-as_pdf_mini-as_pdf3/#comment-7977 Sat, 22 Nov 2014 15:34:11 +0000 http://technology.amis.nl/?p=17718#comment-7977 @Roel
No, it’s not possible to mix landscape and portrait pages in one document.

]]>
Comment on SOA Suite 12c: Getting started in 30 minutes by AlphaMario http://technology.amis.nl/2014/06/30/soa-suite-12c-getting-started-in-30-minutes/#comment-7975 Fri, 21 Nov 2014 09:19:48 +0000 http://technology.amis.nl/?p=29844#comment-7975 Good Tutorial :)

]]>
Comment on SOA Suite 12c: Human Task and Escalation through the LDAP hierarchy by Joshua Lan http://technology.amis.nl/2014/10/17/soa-suite-12c-human-task-and-escalation-through-the-ldap-hierarchy/#comment-7974 Fri, 21 Nov 2014 04:18:17 +0000 http://technology.amis.nl/?p=32702#comment-7974 Hi Lucas, is there any way of assign approver according to the hierarchy of the LDAP?
For example John is the boss of David. So the request will be automatically assign to John.

Thanks.

]]>
Comment on Generating a PDF-document with some plsql: as_pdf_mini => as_pdf3 by roel http://technology.amis.nl/2012/04/11/generating-a-pdf-document-with-some-plsql-as_pdf_mini-as_pdf3/#comment-7973 Thu, 20 Nov 2014 13:19:47 +0000 http://technology.amis.nl/?p=17718#comment-7973 Hi Anton, is it possible to mix landscape and portrait pages in one document?

]]>
Comment on SOA Suite 12c: Getting started with the Spring Component by Ajay Reddy http://technology.amis.nl/2014/10/10/soa-suite-12c-getting-started-spring-component/#comment-7972 Thu, 20 Nov 2014 12:46:21 +0000 http://technology.amis.nl/?p=32599#comment-7972 Hi,

My analysis on the above issue is as below. Removing the XSD locations did not help me as I was referring to one of its namespaces(http://www.springframework.org/schema/context) to read an external properties file.

1. SOA Suite 12.1.1.3 is shipping OOTB with Spring Framework 3.1 and Spring Framework 2.5 from 11g times.

2. When a spring component is created the xsi:schemaLocation attribute of the root element “beans” in context.xml has values pointing to generic version of Spring Framework schemas like http://www.springframework.org/schema/util/spring-util.xsd
This resolved to latest version available which is 4.1.
http://www.springframework.org/schema/util/spring-util-4.1.xsd

I believe above mismatch in versions is leading to org.xml.sax.SAXParseException during deployment. The Parser in SOA Suite as we know is very stringent and does not even tolerate white spaces in Annotations

I modified all the schema locations to point to 3.1 schemas as below which resolved my problem.(I was using Spring 3.1 framework which is default)
http://www.springframework.org/schema/util/spring-util-3.1.xsd

]]>
Comment on Installing Tomcat 7 and Configuring as Server in NetBeans by akcent http://technology.amis.nl/2012/01/02/installing-tomcat-7-and-configuring-as-server-in-netbeans/#comment-7971 Tue, 18 Nov 2014 15:45:07 +0000 http://technology.amis.nl/blog/14688/installing-tomcat-7-and-configuring-as-server-in-netbeans#comment-7971 i want to store my netbeans data on the online mysql server how can i do this

]]>
Comment on Fastest way to a Virtual Machine with JDeveloper 12.1.3 and Oracle Database XE 11gR2 – on Ubuntu Linux 64 bit by hanyelbana http://technology.amis.nl/2014/07/29/fastest-way-to-a-virtual-machine-with-jdeveloper-12-1-3-and-oracle-database-xe-11gr2-on-ubuntu-linux-64-bit/#comment-7970 Tue, 18 Nov 2014 03:48:47 +0000 http://technology.amis.nl/?p=30958#comment-7970 Not work with VirtualBox-4.3.18

]]>
Comment on Java 8 – Collection enhancements leveraging Lambda Expressions – or: How Java emulates SQL by harley84 http://technology.amis.nl/2013/10/05/java-8-collection-enhancements-leveraging-lambda-expressions-or-how-java-emulates-sql/#comment-7954 Sun, 16 Nov 2014 11:42:16 +0000 http://technology.amis.nl/?p=24800#comment-7954 Thanks!

]]>
Comment on ADF Performance Monitor: Detecting and Analyzing a High ADF BC Memory Consumption by Jithesh http://technology.amis.nl/2014/02/03/adf-performance-monitor-detecting-and-analyzing-a-high-adf-bc-memory-consumption/#comment-7953 Fri, 14 Nov 2014 10:23:37 +0000 http://technology.amis.nl/?p=26187#comment-7953 nice blog and very helpful

]]>
Comment on Rapid creation of Virtual Machine(s) for SOA Suite 12.1.3 server run time environment – leveraging Vagrant, Puppet and Biemond by Reddy http://technology.amis.nl/2014/07/31/rapid-creation-of-virtual-machines-for-soa-suite-12-1-3-server-run-time-environment-leveraging-vagrant-puppet-and-biemond/#comment-7952 Mon, 10 Nov 2014 06:30:12 +0000 http://technology.amis.nl/?p=31052#comment-7952 Many Thanks Edwin, that works now

]]>
Comment on Rapid creation of Virtual Machine(s) for SOA Suite 12.1.3 server run time environment – leveraging Vagrant, Puppet and Biemond by Edwin Biemond http://technology.amis.nl/2014/07/31/rapid-creation-of-virtual-machines-for-soa-suite-12-1-3-server-run-time-environment-leveraging-vagrant-puppet-and-biemond/#comment-7951 Sat, 08 Nov 2014 20:51:17 +0000 http://technology.amis.nl/?p=31052#comment-7951 Hi,

The centos people changed the package names on yum
libXext.i686 and libXtst.i686 should now have x86_64 as extension instead of i686.
You can change this in de os class of the db manifest class

]]>
Comment on SOA Suite 12c: Getting started with the Spring Component by fabrice http://technology.amis.nl/2014/10/10/soa-suite-12c-getting-started-spring-component/#comment-7950 Thu, 06 Nov 2014 16:32:34 +0000 http://technology.amis.nl/?p=32599#comment-7950 Hi Do you think using Spring SCA is a good implementation approach ? I am afraid to embed technological lockin that will be deprecated in future Oracle SOA releases

]]>
Comment on ADF 11g: programmatically configuring sort for rich table by vijaivasudevanijai http://technology.amis.nl/2012/03/01/adf-11g-programmatically-configuring-sort-for-rich-table/#comment-7948 Wed, 05 Nov 2014 08:19:18 +0000 http://technology.amis.nl/?p=15616#comment-7948 Can we do this on the table load, like the sort criteria gets applied when the table loads first instead of button click event ?

]]>
Comment on Deploy Oracle ADF Essentials web application on Tomcat by kari http://technology.amis.nl/2014/01/03/deploy-oracle-adf-essentials-web-application-on-tomcat/#comment-7947 Wed, 05 Nov 2014 07:27:38 +0000 http://technology.amis.nl/?p=25443#comment-7947 Thanks. I would like to use JBoss but have not been able to find instructions for the. Have you tried it or do you have any pointers how adf could work with JBoss?

]]>
Comment on Supporting multiple languages in ADF applications backed by resource bundles – and programmatically controlling the JSF locale by Yves http://technology.amis.nl/2012/08/11/supporting-multiple-languages-in-adf-applications-backed-by-resource-bundles-and-programmatically-controlling-the-jsf-locale/#comment-7946 Tue, 04 Nov 2014 13:26:40 +0000 http://technology.amis.nl/?p=18881#comment-7946 Dear Lucas,

thank you for this great Post about Internationalization through Database.

We used it in Jdeveloper 12c / ADF 12 c and had one Issue with it when using task-flows as regions:

We extended the ViewHandler (javax.faces.application.ViewHandler) and configured it in faces-config.xml as described in your tutorial.

Then, when we used any task-flow as a region in a page (fragment). The region didn’t show up, the space was just blank. Removing the ViewHandler configuration from faces-config.xml brought the region back.

The solution was

Step 1 of 2) instead of extending the javax.faces.application.ViewHandler we extended from the javax.faces.application.ViewHandlerWrapper:
————————————————————————————————————————————

import java.util.Locale;

import javax.el.ELContext;
import javax.el.ExpressionFactory;
import javax.el.ValueExpression;

import javax.faces.application.ViewHandler;
import javax.faces.application.ViewHandlerWrapper;
import javax.faces.context.FacesContext;

public class LocaleSettingViewHandlerWr extends ViewHandlerWrapper {

private final ViewHandler base;
private final String LANGUAGE_EL_EXPRESSEION = “#{localeManager.currentLocale}”;

public LocaleSettingViewHandlerWr(ViewHandler base) {
this.base = base;
}

@Override
public Locale calculateLocale(FacesContext facesContext) {
String language = (String) evaluateEL(LANGUAGE_EL_EXPRESSEION);

if(language == null){
return base.calculateLocale(facesContext);
}

return new Locale(language);
}

@Override
public ViewHandler getWrapped() {

return base;

}

public static Object evaluateEL(String el){
FacesContext facesContext = FacesContext.getCurrentInstance();
ELContext elContext = facesContext.getELContext();
ExpressionFactory expressionFactory = facesContext.getApplication().getExpressionFactory();
ValueExpression exp = expressionFactory.createValueExpression(elContext, el, Object.class);
return exp.getValue(elContext);
}
}

This ViewHandler has to be configured in faces-config.xml as in your tutorial. !!!!!!

Step 2 of 2) Also set this ViewHandler as ALTERNATE_VIEW_HANDLER in web.xml
————————————————————————————————————————————
Add the following lines to the web.xml file in the right section (somewhere amongst other context params)

<context-param>
<param-name>org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER</param-name>

<param-value>com.oprisk.a4a.app.bundles.LocaleSettingViewHandlerWr</param-value>
</context-param>

Kind regards

Yves Tiesler

]]>