2 Replies Latest reply: Aug 1, 2012 2:44 AM by JohanTuitel RSS

    java.lang.UnsupportedOperationException

    JohanTuitel
      I have a weblogic 11g application server, when i deploy an adf 10g application everything goes fine, but when i run the application i get an error:

      java.lang.UnsupportedOperationException
      at javax.faces.context.ExternalContext.setRequest(ExternalContext.java:357)

      i have set my libraries in the: setDomainEnv.sh

      CLASSPATH=${CLASSPATH}:${WL_HOME}/ADF/lib/adfbinding.jar
      CLASSPATH=${CLASSPATH}:${WL_HOME}/ADF/lib/adfmweb.jar
      CLASSPATH=${CLASSPATH}:${WL_HOME}/ADF/lib/adfm.jar
      CLASSPATH=${CLASSPATH}:${WL_HOME}/ADF/lib/adfshare.jar
      CLASSPATH=${CLASSPATH}:${WL_HOME}/ADF/lib/bc4jdomorcl.jar
      CLASSPATH=${CLASSPATH}:${WL_HOME}/ADF/lib/bc4jimdomains.jar
      CLASSPATH=${CLASSPATH}:${WL_HOME}/ADF/lib/collections.jar
      CLASSPATH=${CLASSPATH}:${WL_HOME}/ADF/lib/ordim.jar
      CLASSPATH=${CLASSPATH}:${WL_HOME}/ADF/lib/ordhttp.jar

      CLASSPATH=${CLASSPATH}:${WL_HOME}/ADF/testproject/adf-controller.jar
      CLASSPATH=${CLASSPATH}:${WL_HOME}/ADF/testproject/adf-controller-api.jar
      CLASSPATH=${CLASSPATH}:${WL_HOME}/ADF/testproject/adf-controller-rt-common.jar
      CLASSPATH=${CLASSPATH}:${WL_HOME}/ADF/testproject/adf-controller-schema.jar
      CLASSPATH=${CLASSPATH}:${WL_HOME}/ADF/testproject/adf-faces-databinding-rt.jar
      CLASSPATH=${CLASSPATH}:${WL_HOME}/ADF/testproject/adf-richclient-api-11.jar
      CLASSPATH=${CLASSPATH}:${WL_HOME}/ADF/testproject/bc4jhtml.jar
      CLASSPATH=${CLASSPATH}:${WL_HOME}/ADF/testproject/datatags.jar
      CLASSPATH=${CLASSPATH}:${WL_HOME}/ADF/testproject/graphtags.jar
      CLASSPATH=${CLASSPATH}:${WL_HOME}/ADF/testproject/org.apache.commons.logging_1.0.4.jar
      CLASSPATH=${CLASSPATH}:${WL_HOME}/ADF/testproject/trinidad-api.jar
      CLASSPATH=${CLASSPATH}:${WL_HOME}/ADF/testproject/trinidad-impl.jar

      CLASSPATH=${CLASSPATH}:${WL_HOME}/ADF/adf10glibs/adf-faces-api.jar
      CLASSPATH=${CLASSPATH}:${WL_HOME}/ADF/adf10glibs/adf-faces-impl.jar
      CLASSPATH=${CLASSPATH}:${WL_HOME}/ADF/adf10glibs/adfm_10g.jar
      CLASSPATH=${CLASSPATH}:${WL_HOME}/ADF/adf10glibs/bc4j-mbeans_11.1.1.5.jar
      CLASSPATH=${CLASSPATH}:${WL_HOME}/ADF/adf10glibs/bc4juixtags.jar
      CLASSPATH=${CLASSPATH}:${WL_HOME}/ADF/adf10glibs/commons-beanutils.jar
      CLASSPATH=${CLASSPATH}:${WL_HOME}/ADF/adf10glibs/commons-collections.jar
      CLASSPATH=${CLASSPATH}:${WL_HOME}/ADF/adf10glibs/commons-digester.jar
      CLASSPATH=${CLASSPATH}:${WL_HOME}/ADF/adf10glibs/commons-logging.jar
      CLASSPATH=${CLASSPATH}:${WL_HOME}/ADF/adf10glibs/commons-logging-api.jar
      CLASSPATH=${CLASSPATH}:${WL_HOME}/ADF/adf10glibs/jhsadfrt-10.1.3.jar
      CLASSPATH=${CLASSPATH}:${WL_HOME}/ADF/adf10glibs/jsf-api-1.2.jar
      CLASSPATH=${CLASSPATH}:${WL_HOME}/ADF/adf10glibs/jsf-impl.jar
      CLASSPATH=${CLASSPATH}:${WL_HOME}/ADF/adf10glibs/jstl.jar
      CLASSPATH=${CLASSPATH}:${WL_HOME}/ADF/adf10glibs/log4j-1.2.7.jar
      CLASSPATH=${CLASSPATH}:${WL_HOME}/ADF/adf10glibs/oracle.jheadstart.addins.jag.10.1.3.jar
      CLASSPATH=${CLASSPATH}:${WL_HOME}/ADF/adf10glibs/poi-2.5.1-final-20040804.jar

      i know this is somekind of version problem with the weblogic application server and the loaded libraries, but i cannot figured it out!

      does somebody has this problem or know how to fix this!