IllegalStateException in View (using JBOSS and ADF)

Hi:
I have a project using JBOSS and ADF. I have a form with the following code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<%@ page contentType="text/html"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af" %>
<%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh" %>
<f:view>
<afh:html id="html">
<afh:head title="FisaSystem">
<meta http-equiv="Content-Type"
content="text/html; charset=windows-1252" />
<link rel="stylesheet" type="text/css" media="screen" title="screen" href="<%=request.getContextPath()%>/common/skins/fisaClassic/screen.css" />
</afh:head>
<afh:body id="body">
<h:form id="form">
<af:panelPage>
<af:showOneTab id="showOneTab" position="above">
<af:showDetailItem text="" id="showDetailItem">
<af:panelForm id="panelForm">
<af:inputText id="clasificationDescription" binding="#{clasificationManager.clasificationDescription}" required="true" />
</af:panelForm>
</af:showDetailItem>
</af:showOneTab>
<f:verbatim>
<div class="actions">
</f:verbatim>
<af:panelButtonBar>
<af:commandButton id="saveButton" text="#{internationalizationManager.saveButton}" action="#{clasificationManager.saveClasification}" />
<af:commandButton id="cancelButton" text="#{internationalizationManager.cancelButton}" action="#{clasificationManager.cancelClasification}" immediate="true" />
</af:panelButtonBar>
<f:verbatim>
</div>
</f:verbatim>
</af:panelPage>
</h:form>
</afh:body>
</afh:html>
</f:view>
the backing bean for that form i like this:
package com.fisa.efisa.document.manage.bean;
import java.util.Collection;
import oracle.adf.view.faces.component.UIXInput;
import oracle.adf.view.faces.component.UIXTable;
import oracle.adf.view.faces.context.AdfFacesContext;
import oracle.adf.view.faces.event.LaunchEvent;
import oracle.adf.view.faces.event.ReturnEvent;
import com.fisa.efisa.document.dto.EFPClasification;
import com.fisa.efisa.document.manage.common.CommonBackingBean;
import com.fisa.efisa.process.document.persistence.TdmmClasification;
import com.fisa.efisa.process.document.service.ServiceClasification;
import com.fisa.efisa.process.document.service.delegate.ServiceClasificationDelegate;
import com.fisa.efisa.process.engine.service.ServiceProcessEngine;
import com.fisa.efisa.process.engine.service.delegate.ServiceProcessEngineDelegate;
import com.fisa.util.Action;
import com.fisa.util.message.FTransactionMessage;
import com.fisa.util.message.Field;
import com.fisa.util.message.FisaMessage;
public class ClasificationBackingBean extends CommonBackingBean {
private final String CLASIFICATION_IDENTIFIER = "clasification";
ServiceClasification serviceClasification;
ServiceProcessEngine serviceProcessEngine;
UIXTable clasificationTable;
UIXInput clasificationDescription = new UIXInput();
public ClasificationBackingBean() {
serviceClasification = new ServiceClasificationDelegate();
serviceProcessEngine = new ServiceProcessEngineDelegate();
public Collection getClasificationList() {
return serviceClasification.findAllClasification(getFisaUserData());
public String addClasification() {
return ADD_OUTCOME;
public String editClasification() {
TdmmClasification row = (TdmmClasification) this.clasificationTable.getSelectedRowData();
if (row != null)
storeObjectInRequest(this.CLASIFICATION_IDENTIFIER, row.getClasificationId());
else
return null;
return EDIT_OUTCOME;
public String saveClasification() {
return LIST_OUTCOME;
public String deleteClasification() {
if (this.clasificationTable.getSelectedRowData() != null)
return CONFIRM_DELETE_KEY;
return null;
public void handleConfirmDeleteReturn(ReturnEvent event) {
if (event.getReturnValue() != null) {
AdfFacesContext.getCurrentInstance().addPartialTarget(this.clasificationTable);
public void handleConfirmDeleteLaunch(LaunchEvent event) {
Object row = this.clasificationTable.getSelectedRowData();
if (row != null)
event.getDialogParameters().put(DELETE_OBJECT_KEY, row);
public String cancelClasification() {
return LIST_OUTCOME;
public UIXTable getClasificationTable() {
return clasificationTable;
public void setClasificationTable(UIXTable clasificationTable) {
this.clasificationTable = clasificationTable;
public UIXInput getClasificationDescription() {
if (this.getClasificationFromRequest() != null)
clasificationDescription.setValue(this.getClasificationFromRequest().getDescription());
return clasificationDescription;
public void setClasificationDescription(UIXInput clasificationDescription) {
this.clasificationDescription = clasificationDescription;
private EFPClasification getClasificationFromRequest() {
Long rowId = null;
if (retrieveObjectFromRequest(this.CLASIFICATION_IDENTIFIER) != null) {
rowId = (Long) retrieveObjectFromRequest(this.CLASIFICATION_IDENTIFIER);
FisaMessage fisaMessage = new FisaMessage();
fisaMessage.setHeader(getMessageHeader());
FTransactionMessage transactionMessage = new FTransactionMessage();
transactionMessage.setFtmApplicationId(getApplicationId());
transactionMessage.setFtmSourceSystemId(getSystemId());
transactionMessage.setFtmSubSystemId(getSubsystemId());
transactionMessage.setFtmBusinessTemplateId(getClasificationBtId());
EFPClasification efpClasification = new EFPClasification(transactionMessage);
Field field = new Field();
field.setValue(rowId.toString());
transactionMessage.addField(efpClasification.CLASIFICATION_ID, field);
transactionMessage.setFtmActionId(Action.QUERY_LIVE);
transactionMessage.setBtDataKey(rowId.toString());
fisaMessage.getFTransactionMessages().put(getClasificationBtId(), transactionMessage);
fisaMessage = this.serviceProcessEngine.executeMessage(fisaMessage);
transactionMessage = fisaMessage.getFTransactionMessages().get(getClasificationBtId());
efpClasification = new EFPClasification(transactionMessage);
return efpClasification;
return null;
And this is my faces-config
<?xml version="1.0"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>client</param-value>
<!--param-value>server</param-value-->
</context-param>
<context-param>
<param-name>
oracle.adf.view.faces.USE_APPLICATION_VIEW_CACHE
</param-name>
<param-value>false</param-value>
</context-param>
<context-param>
<param-name>
oracle.adf.view.faces.ENABLE_DMS_METRICS
</param-name>
<param-value>false</param-value>
</context-param>
<context-param>
<param-name>
oracle.adf.view.faces.CHECK_FILE_MODIFICATION
</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>
oracle.adf.view.faces.CHANGE_PERSISTENCE
</param-name>
<param-value>session</param-value>
</context-param>
<filter>
<filter-name>adfFaces</filter-name>
<filter-class>
oracle.adf.view.faces.webapp.AdfFacesFilter
</filter-class>
</filter>
<filter-mapping>
<filter-name>adfFaces</filter-name>
<servlet-name>faces</servlet-name>
</filter-mapping>
<!-- Faces Servlet -->
<servlet>
<servlet-name>faces</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
</servlet>
<!-- resource loader servlet -->
<servlet>
<servlet-name>resources</servlet-name>
<servlet-class>
oracle.adf.view.faces.webapp.ResourceServlet
</servlet-class>
</servlet>
<!-- Faces Servlet Mappings -->
<servlet-mapping>
<servlet-name>faces</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>resources</servlet-name>
<url-pattern>/adf/*</url-pattern>
</servlet-mapping>
<!-- Welcome Files -->
<welcome-file-list>
<welcome-file>index.jspx</welcome-file>
</welcome-file-list>
<!-- ADF Faces Tag Library -->
<taglib>
<taglib-uri>http://xmlns.oracle.com/adf/faces</taglib-uri>
<taglib-location>/WEB-INF/af.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://xmlns.oracle.com/adf/faces/html</taglib-uri>
<taglib-location>/WEB-INF/afh.tld</taglib-location>
</taglib>
<!-- Faces Core Tag Library -->
<taglib>
<taglib-uri>http://java.sun.com/jsf/core</taglib-uri>
<taglib-location>/WEB-INF/jsf_core.tld</taglib-location>
</taglib>
<!-- Faces Html Basic Tag Library -->
<taglib>
<taglib-uri>http://java.sun.com/jsf/html</taglib-uri>
<taglib-location>/WEB-INF/html_basic.tld</taglib-location>
</taglib>
<login-config>
<auth-method>BASIC</auth-method>
</login-config>
</web-app>
As you see there's nothing really weird about this at all; if i use this page as displayed, i click on any of the buttons and everything works fine. But, if i add any other property to the clasificationDescription adf:inputText (a label for example), then it crashes with this error:
java.lang.IllegalStateException: Invalid index
oracle.adf.view.faces.bean.util.StateUtils.restoreKey(StateUtils.java:57)
oracle.adf.view.faces.bean.util.StateUtils.restoreState(StateUtils.java:129)
oracle.adf.view.faces.bean.util.AbstractPropertyMap.restoreState(AbstractPropertyMap.java:94)
oracle.adf.view.faces.bean.FacesBeanImpl.restoreState(FacesBeanImpl.java:247)
oracle.adf.view.faces.component.UIXComponentBase.restoreState(UIXComponentBase.java:761)
oracle.adf.view.faces.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:749)
oracle.adf.view.faces.component.TreeState.restoreState(TreeState.java:80)
oracle.adf.view.faces.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:743)
oracle.adf.view.faces.component.TreeState.restoreState(TreeState.java:80)
oracle.adf.view.faces.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:743)
oracle.adf.view.faces.component.TreeState.restoreState(TreeState.java:80)
oracle.adf.view.faces.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:743)
oracle.adf.view.faces.component.TreeState.restoreState(TreeState.java:80)
oracle.adf.view.faces.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:743)
oracle.adf.view.faces.component.TreeState.restoreState(TreeState.java:80)
oracle.adf.view.faces.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:743)
javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1019)
oracle.adfinternal.view.faces.application.StateManagerImpl.restoreView(StateManagerImpl.java:330)
com.sun.faces.application.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:228)
oracle.adfinternal.view.faces.application.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:232)
com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:157)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
What can be happening ???

This forum is only for questions directly related to the Sun Web Server. I think you should post your questions in the jboss forums. Alternative, you could use one of the sun products and then we would be able to help you ;)

Similar Messages

  • E-Business Suite Application Dev using OAF and ADF (White Paper Feb. 2008)

    Hi,
    In Oracle White Paper entitled "E-Business Suite Application Dev using OAF and ADF (Feb. 2008)" it was mentioned on page 7 :
    +"When ADF 11g becomes production, we will publish a revised paper that compares OAF with ADF 11g, and discuss development against E-Business Suite."+
    I've had no luck finding a new comparison table for OAF R12 with ADF 11g :(
    can anyone help me on this?
    thanks in advance,
    Adrian

    Srini Chavali wrote:
    It is still not clear if your have to use SSO - the scripts loadsdk.sql and regapp.sql specifically are for Oracle Single Sign ON (OSSO) - the authentication schemes referred to on page 20 of the same doc do not require SSO. So, is SSO a requirement in your scenario ? If not, you should be following the steps in the section titled "Confuguring Custom Authentication" (beginning of page 20).Ouch..Sorry Srini, I have completely misinterpreted by the page no.'s in Adobe pdf reader.I was telling you about page 18 of the document.
    Anyway i'll start with configuring Custom Authentication as by your suggestion.
    But i'll move forward with no understandings about SSO and its implementations.
    All I could get is this links
    http://docs.oracle.com/cd/E15586_01/webcenter.1111/e12405/wcadm_security_sso.htm
    http://docs.oracle.com/cd/E15523_01/install.1111/e12002/sso_das.htm
    Is this link correct to start learning about SSO or do I need to learn anything (LDAP,OAM,etc..) before that ?

  • How to customize events, execute stored procedures using JSF and ADF BC

    As a java beginner, I started with developing simple web application using JSF and ADF business component through visual and declarative approach. I need to know how to customize events, execute stored procedures, invoke functions on triggering events associated with rich controls. for eg. how to write customized functions on button click or checkbox click events to achieve business requirement and can be modified whenever required.
    Edited by: 792068 on Aug 31, 2010 9:40 PM

    Which business layer is prefered to create interactive data model: 1. ADF business components or 2. Enterprise JavaBeans using Java persistance API (JPA) or 3. Toplink 4. Portlets
    which minimizes writing low level codes and how much OOPS knowledge is required for creating above business layer binding data to viewcontroller layer?

  • Problems with JDev 11g using JBOSS and ANT

    Hi,
    I'm trying to migrate to JDev 11g with JBoss ( version 7.X ) as the AppServer
    With JDev 10g all works fine with JBoss, even the Remote Debug, all OK
    here is the problems I have :
    1) ANT
    JDev doesn't save my ANT settings
    every time I launch ANT : Run Ant Target - I must set the Advance settings
    JDev 10g I only need to do that once, the settings are saved but not in the 11g, why ?
    2) persistence
    I get this error when deploying to JBoss
    16:34:50,967 INFO [org.jboss.as.server] (HttpManagementService-threads - 1) JBA
    S015870: Deploy of deployment "prod_v0.0.1_iDigital.menu.ear" was rolled back wi
    th failure message {"JBAS014771: Services with missing/unavailable dependencies"
    => ["jboss.persistenceunit.\"prod_v0.0.1_iDigital.menu.ear/iDigital.menu-WebApp
    .war#InfraModel\"jboss.naming.context.java.jdbc.stdDSMissing[jboss.persistenceun
    it.\"prod_v0.0.1_iDigital.menu.ear/iDigital.menu-WebApp.war#InfraModel\"jboss.na
    ming.context.java.jdbc.stdDS]","jboss.persistenceunit.\"prod_v0.0.1_iDigital.men
    u.ear#InfraModel\"jboss.naming.context.java.jdbc.stdDSMissing[jboss.persistenceu
    nit.\"prod_v0.0.1_iDigital.menu.ear#InfraModel\"jboss.naming.context.java.jdbc.s
    tdDS]"]}
    it seems that is something related to dependencies not well configured during build stage of the EAR, but with 10g works fine
    BTW, I can't run my project with WebLogic either, gives this error :
    <5/Abr/2013 18H27m BST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1365182860563' for task '0'. Error is: 'weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].'
    weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].
         at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
         Truncated. see log file for complete stacktrace
    >
    <5/Abr/2013 18H27m BST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'iDigital.menu'.>
    <5/Abr/2013 18H27m BST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].
         at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
         Truncated. see log file for complete stacktrace
    can someone give me a clue ?
    thanks
    Edited by: FernandoLeite on Apr 5, 2013 10:31 AM

    I can't say many about the ant stuff, but have you tried to put the parameters in a property file and use this to get the parameters to ant?
    The reason you can't run the application on WLS is that you have not installed the adf runtime on your wls. The error 'application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].' points to this.
    Timo

  • Demonstration of using Spring and ADF together

    I have wondered about the potential for combining the ADF Binding Framework and the IDE capabilities around ADF in Oracle 10g JDeveloper with the Spring Framework. I concluded rapidly that the most meaningful way forward would be to implement a Business Service based on DAO interfaces and DAO implementation classes, potentially using either Hibernate or Toplink or – as in this case – plain JDBC made easy by Spring JDBC Templates, and registering that service as a DataControl with the ADF Binding Framework. Once that DataControl is registered, it cannot be discerned from other POJO based DataControls and it can be used just as easy as in most cases as the ADF BC based Data Controls. That means: rapidly developing web applications, largely through dragging and dropping Data Controls and their components in a WYSIWYG style visual editor becomes a reality.
    I have written an article that describes how to set up a simple Spring Business Service - based on POJO and plain JDBC although this could also have been Hibernate or Toplink for example- and register that Business Service as Data Control with ADF Binding Framework. I then continue in a familiar way to create a UIX page that displays data from the Spring Business Service.
    I believe this is a useful first step in combining Spring (hot, open source, talk of the town) with ADF (productive, linking and decoupling point for Model vs. View/Controller).
    In case you are interested, please take a look at: http://technology.amis.nl/blog/index.php?p=765
    best regards,
    Lucas Jellema

    Peter,
    I am not aware of any project like this right now. However, Duncan Mills did develop a data control for Spring that he used for his talk. For some reason I don't know, this data control however never made it to production. However, you should be able to integrate Spring through a POJO data control
    Frank

  • Building J2EE Applications using JBOSS and ECLIPSE 3.0

    Hi all
    i am trying to deploy a J2EE application using JBOSS3.2.5 and Eclipse 3.0.
    I have written the EJB bean, home, remote and a test JSP page. Can someone tell me the exact procedure...step by step ways to deploy the JBOSS server and run my application.
    My package structure is
    MyProject
    ejb
    client
    Servlet.java
    server
    Bean.java
    shared
    home.java
    remote.java
    please tell the various jar files that i must include. Kindly give information about the directory structure, the xml file details and the WAR file generation
    Thankz in advance
    Arun :)

    That is a lot of stuff! At a basic level, you can create an EAR file and put it in the JBoss auto-deployment directory. In the EAR file you should have a WAR file for the web component and a JAR file for the EJB component. And inside each archive there should be a valid deployment descriptor that contains configuration data for the component. When you start up JBoss, the application will be deployed and accessible via web browser, or there will be error messages written to the server log.

  • Materialized View - "use log" and its "master table" assigned

    Oracle 10 g R2. Here is my script to create a mv, but I noticed two interestes properties by EM
    CREATE MATERIALIZED VIEW "BAANDB"."R2_MV"
    TABLESPACE "USERS" NOLOGGING STORAGE ( INITIAL 128K) USING INDEX
    TABLESPACE "BAANIDX" STORAGE ( INITIAL 256K)
    REFRESH FORCE ON COMMIT
    ENABLE QUERY REWRITE AS
    SELECT CM.ROWID c_rid, PC.ROWID p_rid, CM."T$CWOC", CM."T$EMNO", CM."T$NAMA", CM."T$EDTE", PC."T$PERI", PC."T$QUAN", PC."T$YEAR", PC."T$RGDT"
    FROM "TTPPPC235201" PC , "TTCCOM001201" CM
    WHERE PC."T$EMNO"(+)=CM."T$EMNO"
    In EM, the MV list shows a column - "Can Use Log".
    1. What does it mean?
    2. Why it only says yes, when I used above codes to create the MV; but says "NO" when I created the MV by "OUT JOIN"? no matter is "LEFT.." or "RIGHT JOIN"
    3. I also noticed that there is a column - "master table" and it always shows the name of the last table on the from list. Why? More important, does it matter to process. It shows the same table name when I use the "OUT JOIN" clause in from
    I have created mv log on each master table with row_id.

    Review the rules for your version of Oracle, you didn't think it important to name it, with respect to when you can do FAST REFRESH and when it can use REFRESH LOGs.

  • Using Tree view using treeTable in ADF

    We tried using oracle ADF components along with myFaces.
    ADF has its own component called ‘treeTabe’ which shows treeView in a table format.
    But we faced the following main problems with it.
    # The treeTable can have only one root node. Hence we cannot show multiple nodes at the root level.
    # The sorting of the rows ( by clicking the column header ) which can be done in a ‘table’ component cannot be done with ‘treeTable’ component.
    # The alternate coloring of the rows does not work properly in treeTable unlike the table component.
    Can you please suggest ways to get the above funtionalities( multiple nodes to be shown as in the root-level, sorting to be done by clicking the column header, row banding for alternate rows) working using treeTable or some other component.

    I think you should consider EO Tuning for performance as internally ADF issues BULK DMLs and that should be good on the performance side.

  • How to monitor ADFS 2012r2, Commercial services use HEAD and ADFS returns 500 instead of 200

    I have set up an on-prim ADFS and an off-prim ADFS.
    I want to use DNS Failover to monitor them and switch off-prim as required.
    I've tried both Amazon Route 53 and DNS Made Easy monitoring, and both appear to use the HEAD command rather than the GET command. How can I monitor these services? ADFS 2012r2 does not seem to support the HEAD command.
    curl -iX GET h t t p s ://fs.redclay.com/adfs/ls/idpinitiatedsignon.htm returns 200 whereas
    curl -iX HEAD ... or curl -I ... return 500 or just hangs forever.
    Only by the process of elimination have I come to the conclusion that the HEAD command is being used. I don't know how to sniffer SSL, but both DNSMadeEasy and AmazonAWS say the services are down when I know they are up.

    Hi,
    Would you please be more specific about your requirements?
    If you want to figure out how to use curl –iX command, you can refer to the Official Scripting forum below:
    http://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG
    If you have doubts about your third-party software, I suggest you contact third-party support to get accurate answers.
    If you just want to monitor your ADFS servers, you can configure performance monitoring as this article guides:
    Configure Performance Monitoring
    http://technet.microsoft.com/en-us/library/ff627833.aspx
    Best Regards,
    Amy Wang

  • JDev and ADF is difficult

    As a new user to ADF I am finding ADF and JDev a little discouraging and hard to use. I did a search on how to improve jdev's performance and found a lot of useful tips and tricks to use, but I pose the question. Shouldn't it just work out of the box? Coming from a web 2.0 background developing EE applications using Spring, JPA/Hibernate, Extjs, and netbeans I keep thinking to myself wow how in the world should I have known that changing this or that table attribute causes this or that to behave differently. For example I read a thread on multi-selecting table rows and in this article multiselect selectedRowKeys must be removed for multi select to perform correctly. Now I realize this is a simple example, but I find myself asking the same types of questions about dragging and dropping views into jdev or mapping bindings to pages so that I can gain access to data. I can relate to some angry posts by some about how difficult it is to develop anything useful in JDev and ADF because of a series of random problems (things like running OOM, or mapping bindings to a page which then for some reason map incorrectly or they think they are mapped to another page, etc...) Now I can already hear the first response... you are new to this world (yes) and you just need time. What if I told you I've been reading so much documentation over the past month that my eyes are bleeding. I've been through countless tutorials on how to use JDev and ADF. I've successfully created "Sample applications" generating useless tables of data. I've read several books on ADF and how to button click my way to creating EE applications, but I find the memorization of button clicking to be exhausting. I keep telling my boss I want to go back to writing code not dragging and dropping items on a page so that JDev can generate/modify .xml files for me.
    Now that said I know I am new to this world and I'm trying to find some common ground as my job requires me to develop EE applications in ADF, and I must learn this technology. So I ask all of you ADF and JDev advocates prove me wrong here and point me to the documentation that all of you use to navigate this world of yours.
    Thanks for your understand,
    Wraith (Newbie and found wanting)
    Edited by: wraith101 on Aug 14, 2012 3:38 PM
    Edited by: wraith101 on Aug 14, 2012 3:42 PM

    First off thank you for the response Shay!
    >
    Getting used to the way you build applications with JDev and ADF takes time, but think how much time did it took you to learn Spring, JPA, ExtJS etc to a level where you knew every little setting you needed to manually code in a spring XML file, or JPQL query syntax in your JPA or a javascript in ExtJS - My guess was that getting to a situation where you know everything in those technology wasn't exactly a problem less experience.
    >
    It is true it took some time to learn the technologies listed above. I guess If I were arguing for them I would say they were easier to use and learn due to most of them being open source and very popular because of this (i.e tons of examples, books, and documentation). Not sure if ADF is there yet?
    >
    I do like the fact that I can get from 0 to a fully functional page with a few clicks here and there, and then fine tune the results with some property settings in various places.
    And then if I need even further customization I can go to the code level when needed.
    >
    I agree it takes very little time to create something that is at least visually usable. I'm not familiar enough ADF yet to determine now hard it is to actually create a fully functioning application that does more than display data. For example, how would I create a visualization that updates every 10 seconds and allows users to post feedback in a similar manner to this forum?
    >
    The question of whether the declarative and visual development experience is a good thing or not is to some degree a matter of personal preferences.
    I wonder how long would it have taken someone to build something like this: http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/ADF112/ADF112.html
    with the stack you mentioned above. How many lines of code would they have needed to write, how many syntax errors while coding, and would the result be as functional so fast.
    >
    Agree I'm not hear to argue which type of development experience is better or worse. I would point out however that as a JDev/ADF developer in order to develop in the technology it seems you must do most of your development within the JDev environment or have extensive experience in JSF (i.e know which xml files to edit and why I believe there is a reason JSF and JSP are seldom used IMHO because they are difficult. I understand JDev/ADF try to solve this problem) were as in other technologies you as the developer can choose the IDE etc. Another thing I noticed while watching the link you listed was the developer went from place to place to place within jdev making changes. As a newbie it seems that in order to develop ADF in JDev you must just "know things" (ie. for example he pulled in a method in to the task flow so he could invoke some validation or prereq check. As a developer how am I to know how and where and why I can/must do these things? ADF seems to be process based in order to achieve some goal, but the JDev framework gives no clues as to what you should/need to do next. As well as that I needed to create that method within my Application Module in order to do this, which by the way was not mentioned within this video.).
    >
    We often see the reaction of "I don't get what all those XML files that JDev generate are doing" reaction from people who just start up with JDev and ADF.
    But we do try and explain how everything is working in places like the ADF Insider Advanced seminars:
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/adfinsider-093342.html
    I think the fact that there is a lot of documentation for ADF, and a lot of blog entries, how-to's etc on the web is actually a good thing.
    I often find that if I run into an issue with ADF - a simple google search will show me how someone else solved that issue - and I like this too.
    >
    I guess my biggest gripe here would be yes there is tons of JDev/ADF documentation on OTN and other places, but none of it is complete, and I would also argue that the organization on OTN is half hazard, and makes learning ADF difficult as well. I find myself drilling down through layers and layers of links only to not be able to get back to were I came from to look at another topic/tutorial I was interested in(maybe we need a ADF train to be added to the documentation wikis).
    I would also argue when developing in other frameworks writing the xml is a big part to understanding how your application is tied together. For example, Spring servlet mapping or Spring injection mapping. When JDev does the mapping for me I feel that I know less and less about how my application works and I bet all the advanced ADF developers out there know quite a bit about how ADF xml mapping occurs and why, and I bet they make changes to these xml files manually quite often to get things to work as they desire?
    I want to be clear here I am not trying to flaming here, just trying to make a difference for other developers like myself who come along and need to learn ADF to complete some task. Looking at the OTN site I believe creating documentation for ADF development appears to be a top priority, but due to the complexity of the framework there is just so much and it seems to be everywhere. My suggestion would be to include why we are doing such and such with in jdev approach instead of a drag this here to do this approach. For example, I'd like to see a tutorial where it explains when you drag this item in to the content window it creates this xml bind which is the same as what you would normally do in JSF like this (if anyone knows of such a tutorial plz link).
    Again thanks for the reply, and I encourage others to give feedback and suggestions on how I too can become a better JDev/ADF developer.
    -Wraith

  • Integration with JBoss and OpenLDAP

    Hello All
    Please bear with me as I try to pose my questions as clearly as possible given that I'm new to JDeveloper and ADF. I have a client who is looking to develop an application that will be used to monitor and maintain batch processes for a third-party compliance tool that currently does not offer any type of batch scheduling functionality. They are looking to develop and maintain one that is accessible by a handful of users that currently maintain the compliance tool.
    The compliance tool is deployed on a JBoss technology stack and the application itself authenticates against and OpenLDAP server.
    The goal is to develop an web-based application using JDeveloper that can be deployed as a WAR file to their existing JBoss infrastructure. When accessing the appropriate URL for this tool, it would first present them with a login screen. The credentials entered by the user would then be validated against their OpenLDAP server to determine the level of access granted in the batch monitoring utility.
    Can this be accomplished using JDeveloper and ADF? I believe I came across this article that walks on through the deployment of an ADF 11g application to JBoss: http://blogs.oracle.com/jruiz/2009/01/deploying_an_adf_11g_applicati.html
    However, I can seem to find a good article or tutorial on how to properly interface with OpenLDAP. Am I correct in assuming that I must develop my own login component to handle this authentication?
    Thanks in advance.
    Joe

    Hi, my code is something like this:
    in the backing file:
    import com.bea.netuix.servlets.controls.content.backing.AbstractJspBacking;
    import com.bea.wsrp.ext.holders.MarkupRequestState;
    import com.bea.wsrp.ext.holders.SimpleStateHolder;
    public class xxxx extends AbstractJspBacking
    public boolean preRender(HttpServletRequest request,
    HttpServletResponse response)
    request.setAttribute("parameter","value");
    return true;
    in the consumer i'm not using :
    SimpleStateHolder state = new SimpleStateHolder();
    state.addParameter("parameter", "value");
    because my producer is jboss portal,
    in the producer:
    protected void doView(RenderRequest rRequest, RenderResponse rResponse)
         throws PortletException, IOException, UnavailableException
              rResponse.setContentType("text/html");
              rRequest.getParameter("parameter");
    thanks!

  • Struts and ADF in Portal

    Hello. We have had a TAR going for some time regarding an issue with Struts and ADF in Portal. This is the summary of the TAR:
    Customer followed the following document to create his Struts ADF application:
    Developing an End-to-End Web Application Using the Default Technology Scope
    at
    http://www.oracle.com/technology/obe/obe9051jdev/ADFtoJSP/defaultendtoend.htm
    After following the steps in the documentation, his application worked just fine.
    - After this he decided to portletize his application using the following document:
    OracleAS Portal Developer Kit (PDK)
    How to create a Struts Portlet ?
    at
    http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/ARTICLES/pdkstruts/portletize-your-app.html
    When adding his portlet to a page, he basically received a portlet without any data, while the same worked fine outsi
    de of Portal.
    These are examples from the JSP file that do not show up in the portlet:
    <c:out value="${bindings.DepartmentsView1.labels['DepartmentId']}">
    <c:out value="${bindings.DepartmentId.label}"/>
    </c:out>
    We figured out that if we add the following filter mapping then it works fine:
    <filter-mapping>
    <filter-name>ADFBindingFilter</filter-name>
    <url-pattern>/*</url-pattern>
    </filter-mapping>
    This filter mapping would mean that it maps all URLs to the ADFBindingFilter. I suppose this would not be necessary and we're concerned about the implications this might cause and we believe that there should be a better solution for this.
    The final reply from support was that Portal is not yet supported with ADF technology. Does anyone have any comment on the above filter issue and other thoughts on using Struts and ADF in Portal? Another issue we found was that the PDK Struts tags do not support EL expressions. Have a look at this forum post:
    Re: Struts and nested tags in parameters. Possible?

    I am trying to create a portlet with JSF/ADF
    I Developed a Application with Oracle ADF UIX from: http://www.oracle.com/technology/obe/obe_as_1012/j2ee/develop/client/uix/lesson_uix.htm
    and then I followed this link: http://oracle001.cedecra.it/pdk/articles/pdkstruts/portletize-your-app.html
    to portletize the application
    and I am getting the below error message:
    500 Internal Server Error
    java.lang.SecurityException: sealing violation at com.evermind.naming.ContextClassLoader.defineClass(ContextClassLoader.java:1153) at com.evermind.naming.ContextClassLoader.defineClass(ContextClassLoader.java:1065) at com.evermind.naming.ContextClassLoader.findClass(ContextClassLoader.java:404) at com.evermind.naming.ContextClassLoader.loadLocalClassFirst(ContextClassLoader.java:158) at com.evermind.naming.ContextClassLoader.loadClass(ContextClassLoader.java) at java.lang.ClassLoader.loadClass(ClassLoader.java) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:539) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java) at com.evermind.util.OC4JSecureClassLoader.defineClassEntry(OC4JSecureClassLoader.java:172) at com.evermind.naming.ContextClassLoader.defineClass(ContextClassLoader.java:1179) at com.evermind.naming.ContextClassLoader.defineClass(ContextClassLoader.java:1065) at com.evermind.naming.ContextClassLoader.findClass(ContextClassLoader.java:404) at com.evermind.naming.ContextClassLoader.loadLocalClassFirst(ContextClassLoader.java:158) at com.evermind.naming.ContextClassLoader.loadClass(ContextClassLoader.java) at java.lang.ClassLoader.loadClass(ClassLoader.java) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:539) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java) at com.evermind.util.OC4JSecureClassLoader.defineClassEntry(OC4JSecureClassLoader.java:172) at com.evermind.naming.ContextClassLoader.defineClass(ContextClassLoader.java:1179) at com.evermind.naming.ContextClassLoader.defineClass(ContextClassLoader.java:1065) at com.evermind.naming.ContextClassLoader.findClass(ContextClassLoader.java:404) at com.evermind.naming.ContextClassLoader.loadLocalClassFirst(ContextClassLoader.java:158) at com.evermind.naming.ContextClassLoader.loadClass(ContextClassLoader.java) at java.lang.ClassLoader.loadClass(ClassLoader.java) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java) at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:1655) at java.lang.Class.getMethod0(Class.java:1901) at java.lang.Class.getMethod(Class.java:984) at oracle.portal.utils.xml.v2.DefaultNodeHandler.findMethod(Unknown Source) at oracle.portal.utils.xml.v2.DefaultNodeHandler.setCustomValue(Unknown Source) at oracle.portal.utils.xml.v2.DefaultNodeHandler.handleSimpleElement(Unknown Source) at oracle.portal.utils.xml.v2.DefaultNodeHandler.processNode(Unknown Source) at oracle.portal.utils.xml.v2.DefaultNodeHandler.processNode(Unknown Source) at oracle.portal.provider.v2.http.DefaultProviderLoader.getProviderDefinition(Unknown Source) at oracle.portal.provider.v2.http.DefaultProviderLoader.validate(Unknown Source) at oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.validate(Unknown Source) at oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.showTestPage(Unknown Source) at oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.handleHttp(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java) at oracle.webdb.provider.v2.adapter.SOAPServlet.doHTTPCall(Unknown Source) at oracle.webdb.provider.v2.adapter.SOAPServlet.service(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65) at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:669) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:340) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192) at java.lang.Thread.run(Thread.java:534)
    [b]provider.xml
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <?providerDefinition version="3.1"?>
    <provider class="oracle.portal.provider.v2.DefaultProviderDefinition">
    <session>true</session>
    <passAllUrlParams>true</passAllUrlParams>
    <preferenceStore class="oracle.portal.provider.v2.preference.FilePreferenceStore">
    <name>prefStore1</name>
    <useHashing>true</useHashing>
    </preferenceStore>
    <portlet class="oracle.portal.provider.v2.DefaultPortletDefinition">
    <id>1</id>
    <name>MyTest2Portlet</name>
    <title>My Test2 Portlet</title>
    <description>My Test2 Portlet Description</description>
    <timeout>40</timeout>
    <showEditToPublic>false</showEditToPublic>
    <hasAbout>false</hasAbout>
    <showEdit>true</showEdit>
    <hasHelp>false</hasHelp>
    <showEditDefault>false</showEditDefault>
    <showDetails>false</showDetails>
    <renderer class="oracle.portal.provider.v2.render.RenderManager">
    <renderContainer>true</renderContainer>
    <renderCustomize>true</renderCustomize>
    <autoRedirect>true</autoRedirect>
    <contentType>text/html</contentType>
    <showPage class="oracle.portal.provider.v2.render.http.StrutsRenderer">
    <defaultAction>/portal/browseDeptEmp.do</defaultAction>
    </showPage>
    <editPage>/htdocs/mytest2portlet/MyTest2PortletEditPage.jsp</editPage>
    </renderer>
    <personalizationManager class="oracle.portal.provider.v2.personalize.PrefStorePersonalizationManager">
    <dataClass>oracle.portal.provider.v2.personalize.NameValuePersonalizationObject</dataClass>
    </personalizationManager>
    </portlet>
    </provider>
    struts_config.xml
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
    <struts-config>
    <form-beans>
    <form-bean name="DataForm" type="oracle.adf.controller.struts.forms.BindingContainerActionForm"/>
    </form-beans>
    <action-mappings>
    <action path="/portal/browseDeptEmp" className="oracle.adf.controller.struts.actions.DataActionMapping" type="oracle.adf.controller.struts.actions.DataForwardAction" name="DataForm" parameter="/browseDeptEmp.uix">
    <set-property property="modelReference" value="browseDeptEmpUIModel"/>
    <forward name="formEmpLink" path="/portal/formEmp.do"/>
    <forward name="createEmpLink" path="/portal/createEmpAction.do"/>
    <forward name="searchEmpLink" path="/portal/searchEmp.do"/>
    </action>
    <action path="/portal/formEmp" className="oracle.adf.controller.struts.actions.DataActionMapping" type="oracle.adf.controller.struts.actions.DataForwardAction" name="DataForm" parameter="/formEmp.uix">
    <set-property property="modelReference" value="formEmpUIModel"/>
    </action>
    <action path="/portal/createEmpAction" className="oracle.adf.controller.struts.actions.DataActionMapping" type="oracle.adf.controller.struts.actions.DataAction" name="DataForm">
    <set-property property="modelReference" value="formEmpUIModel"/>
    <set-property property="methodName" value="formEmpUIModel.Create"/>
    <set-property property="resultLocation" value="${requestScope.methodResult}"/>
    <set-property property="numParams" value="0"/>
    <forward name="success" path="/portal/formEmp.do"/>
    </action>
    <action path="/portal/searchEmp" className="oracle.adf.controller.struts.actions.DataActionMapping" type="oracle.adf.controller.struts.actions.DataForwardAction" name="DataForm" parameter="/searchEmp.uix">
    <set-property property="modelReference" value="searchEmpUIModel"/>
    </action>
    </action-mappings>
    <message-resources parameter="view.ApplicationResources"/>
    </struts-config>
    web.xml
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <description>Empty web.xml file for Web Application</description>
    <context-param>
    <param-name>CpxFileName</param-name>
    <param-value>DataBindings</param-value>
    </context-param>
    <context-param>
    <param-name>oracle.portal.log.LogLevel</param-name>
    <param-value>4</param-value>
    </context-param>
    <filter>
    <filter-name>ADFBindingFilter</filter-name>
    <filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
    <init-param>
    <param-name>encoding</param-name>
    <param-value>windows-1252</param-value>
    </init-param>
    </filter>
    <filter-mapping>
    <filter-name>ADFBindingFilter</filter-name>
    <url-pattern>*.jsp</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>ADFBindingFilter</filter-name>
    <url-pattern>*.jspx</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>ADFBindingFilter</filter-name>
    <servlet-name>uix</servlet-name>
    </filter-mapping>
    <!-- <filter-mapping>
    <filter-name>ADFBindingFilter</filter-name>
    <servlet-name>action</servlet-name>
    </filter-mapping>
    -->
    <filter-mapping>
    <filter-name>ADFBindingFilter</filter-name>
    <servlet-name>SOAPServlet</servlet-name>
    </filter-mapping>
    <servlet>
    <servlet-name>SOAPServlet</servlet-name>
    <description>Extended Portal SOAP Server</description> <servlet-class>oracle.webdb.provider.v2.adapter.SOAPServlet</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>action</servlet-name>
    <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
    <init-param>
    <param-name>config</param-name>
    <param-value>/WEB-INF/struts-config.xml</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>uix</servlet-name>
    <servlet-class>oracle.cabo.servlet.UIXServlet</servlet-class>
    <init-param>
    <param-name>oracle.cabo.servlet.pageBroker</param-name>
    <param-value>oracle.cabo.servlet.xml.UIXPageBroker</param-value>
    </init-param>
    <init-param>
    <param-name>oracle.cabo.servlet.UIXRequestListeners</param-name>
    <param-value>oracle.cabo.adf.rt.InitModelListener</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>SOAPServlet</servlet-name>
    <description>Extended Portal SOAP Server</description>
    <servlet-class>oracle.webdb.provider.v2.adapter.SOAPServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>action</servlet-name>
    <url-pattern>*.do</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>uix</servlet-name>
    <url-pattern>*.uix</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>uix</servlet-name>
    <url-pattern>/uix/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>SOAPServlet</servlet-name>
    <url-pattern>/providers</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>SOAPServlet</servlet-name>
    <url-pattern>/providers/*</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>35</session-timeout>
    </session-config>
    <mime-mapping>
    <extension>html</extension>
    <mime-type>text/html</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>txt</extension>
    <mime-type>text/plain</mime-type>
    </mime-mapping>
    <welcome-file-list>
    <welcome-file>index.uix</welcome-file>
    </welcome-file-list>
    </web-app>
    someone please help me out.
    Thank you so much

  • Trinidad and ADF Rich Faces components::

    Hi!
    Does someone know about any problem while using Trinidad and ADF Rich Faces, or just the Trinidad components in JDev11g ?
    Thanx.
    Endy

    Endy,
    ADF Faces RC isn't supported in IE6, so that certainly wasn't the issue. I have inadvertently mixed Trinidad and ADF Faces RC components on a page and didn't run into issues, but I did correct that issue based upon comments from Frank/Shay on the forum. Bottom line is that while they may work (or appear to work) together, it's not a supported combination.
    Best,
    John

  • Jboss and org/w3c/dom/ranges/DocumentRange error

    Hi folks,
    Is any JBoss expert able to help me?
    I'm working on MacOSX Panther that comes with JBoss readily installed, so I'm presuming that it should start without any problems. However, when I I run the run.sh script I get an error that it doesn't find the class:
    org/w3c/dom/ranges/DocumentRange
    Yet, I can see this class in my java browser - so I'm almost 100% certain it exists on my machine. What might the problem be? The other strange thing is that my colleague, working on a nearly identical machine can start up jboss without any problems by invoking exactly the same script. This is the first time I've used jboss and I haven't tampered with any of the setup files there. I've searched the documentation thoroughly but can't find any reference to this error. Has anyone else encountered it?
    I wonder if it might not be a classpath problem - but that strikes me as odd - shouldn't it just work straight out of the box if it came readily installed?
    The only possible explanation is that a while back I was working with castor and jdom and installed jdom.jar and castor-0.9.5.2-xml.jar in my Library/java/Extensions folder. Could it be that these jars cause some sort of conflict?
    Just for the record, I'll post below the full printout that I get when I try to start up jboss.
    Many thanks,
    Damian
    [damian:JBoss/3.2/bin] damian% ./run.sh
    09:40:37,623 INFO  [Server] Starting JBoss (MX MicroKernel)...
    09:40:37,662 INFO  [Server] Release ID: JBoss [WonderLand] 3.2.2RC2 (build: CVSTag=JBoss_3_2_2_RC2 date=200309130127)
    09:40:37,666 INFO  [Server] Home Dir: /Library/JBoss/3.2
    09:40:37,668 INFO  [Server] Home URL: file:/Library/JBoss/3.2/
    09:40:37,671 INFO  [Server] Library URL: file:/Library/JBoss/3.2/lib/
    09:40:37,678 INFO  [Server] Patch URL: null
    09:40:37,724 INFO  [Server] Server Name: default
    09:40:37,768 INFO  [Server] Server Home Dir: /Library/JBoss/3.2/server/default
    09:40:37,770 INFO  [Server] Server Home URL: file:/Library/JBoss/3.2/server/default/
    09:40:37,772 INFO  [Server] Server Data Dir: /Library/JBoss/3.2/server/default/data
    09:40:37,774 INFO  [Server] Server Temp Dir: /var/tmp/jbosstmpdata1039
    09:40:37,776 INFO  [Server] Server Config URL: file:/Library/JBoss/3.2/server/default/conf/
    09:40:37,778 INFO  [Server] Server Library URL: file:/Library/JBoss/3.2/server/default/lib/
    09:40:37,780 INFO  [Server] Root Deployemnt Filename: jboss-service.xml
    09:40:37,795 INFO  [Server] Starting General Purpose Architecture (GPA)...
    09:40:40,414 INFO  [ServerInfo] Java version: 1.4.2_03,Apple Computer, Inc.
    09:40:40,417 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.2-34,"Apple Computer, Inc."
    09:40:40,419 INFO  [ServerInfo] OS-System: Mac OS X 10.3.2,ppc
    09:40:40,663 INFO  [ServiceController] Controller MBean online
    09:40:40,991 INFO  [MainDeployer] Creating
    09:40:41,158 INFO  [MainDeployer] Created
    09:40:41,164 INFO  [MainDeployer] Starting
    09:40:41,166 INFO  [MainDeployer] Started
    09:40:41,509 INFO  [JARDeployer] Creating
    09:40:41,605 INFO  [JARDeployer] Created
    09:40:41,609 INFO  [JARDeployer] Starting
    09:40:41,666 INFO  [MainDeployer] Adding deployer: org.jboss.deployment.JARDeployer@fa385
    09:40:41,670 INFO  [JARDeployer] Started
    09:40:41,737 INFO  [SARDeployer] Creating
    09:40:41,826 INFO  [SARDeployer] Created
    09:40:41,838 INFO  [SARDeployer] Starting
    09:40:41,841 INFO  [MainDeployer] Adding deployer: org.jboss.deployment.SARDeployer@e88e24
    09:40:41,927 INFO  [SARDeployer] Started
    09:40:42,017 INFO  [Server] Core system initialized
    09:40:42,089 INFO  [MainDeployer] Starting deployment of package: file:/Library/JBoss/3.2/server/default/conf/jboss-service.xml
    09:40:42,463 ERROR [Server] Failed to start
    java.lang.NoClassDefFoundError: org/w3c/dom/ranges/DocumentRange
            at java.lang.ClassLoader.defineClass0(Native Method)
            at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
            at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
            at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
            at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
            at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
            at java.lang.ClassLoader.defineClass0(Native Method)
            at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
            at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
            at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
            at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
            at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
            at org.apache.xerces.jaxp.DocumentBuilderImpl.<init>(Unknown Source)
            at org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(Unknown Source)
            at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:495)
            at org.jboss.deployment.SARDeployer.init(SARDeployer.java:115)
            at org.jboss.deployment.MainDeployer.init(MainDeployer.java:686)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:629)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:550)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
            at $Proxy6.deploy(Unknown Source)
            at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:383)
            at org.jboss.system.server.ServerImpl.start(ServerImpl.java:290)
            at org.jboss.Main.boot(Main.java:150)
            at org.jboss.Main$1.run(Main.java:388)
            at java.lang.Thread.run(Thread.java:552)
    java.lang.NoClassDefFoundError: org/w3c/dom/ranges/DocumentRange
            at java.lang.ClassLoader.defineClass0(Native Method)
            at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
            at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
            at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
            at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
            at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
            at java.lang.ClassLoader.defineClass0(Native Method)
            at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
            at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
            at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
            at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
            at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
            at org.apache.xerces.jaxp.DocumentBuilderImpl.<init>(Unknown Source)
            at org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(Unknown Source)
            at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:495)
            at org.jboss.deployment.SARDeployer.init(SARDeployer.java:115)
            at org.jboss.deployment.MainDeployer.init(MainDeployer.java:686)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:629)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:550)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
            at $Proxy6.deploy(Unknown Source)
            at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:383)
            at org.jboss.system.server.ServerImpl.start(ServerImpl.java:290)
            at org.jboss.Main.boot(Main.java:150)
            at org.jboss.Main$1.run(Main.java:388)
            at java.lang.Thread.run(Thread.java:552)
    09:40:42,783 INFO  [Server] JBoss SHUTDOWN: Undeploying all packages
    09:40:42,787 INFO  [MainDeployer] Undeploying file:/Library/JBoss/3.2/server/default/conf/jboss-service.xml
    09:40:42,794 INFO  [DeploymentInfo] Cleaned Deployment: file:/var/tmp/jbosstmpdata1039/deploy/tmp33887jboss-service.xml
    09:40:42,796 INFO  [MainDeployer] Undeployed file:/Library/JBoss/3.2/server/default/conf/jboss-service.xml
    09:40:42,800 INFO  [MainDeployer] Undeployed 1 deployed packages
    09:40:42,807 INFO  [Server] Shutting down all services
    Shutting down
    09:40:42,813 INFO  [ServiceController] Stopping 3 services
    09:40:42,817 INFO  [SARDeployer] Stopping
    09:40:42,820 INFO  [MainDeployer] Removing deployer: org.jboss.deployment.SARDeployer@e88e24
    09:40:42,822 INFO  [SARDeployer] Stopped
    09:40:42,840 INFO  [JARDeployer] Stopping
    09:40:42,897 INFO  [JARDeployer] Stopped
    09:40:42,900 INFO  [MainDeployer] Stopping
    09:40:42,902 INFO  [MainDeployer] Stopped
    09:40:42,903 INFO  [ServiceController] Stopped 3 services
    09:40:42,915 INFO  [Server] Shutdown complete
    Shutdown complete
    Halting VM

    To answer my own question...
    It seemed as if xmlParserAPIs.jar was missing from my machine (no idea why). I downloaded xerxes, copied the jar into my Extensions folder, ran the script and, lo-and-behold, jboss now works!

  • Upgrade 2008 r2 domain to 2012 r2 and ADFS/DirSync implications

    Hi,
    I would like to upgrade our 2008 r2 fully functional level domain to 2012 r2 fully functional. We use DirSync and ADFS for o365 in our Exchange Hybrid environment.
    Is there any implications with doing this? Will I need to upgrade my ADFS proxies and ADFS servers to 2012 r2 as well?
    Best wishes
    Michael

    Hi Michael,
    Based on my research, ADFS does not require schema changes or functional-level modifications to operate successfully, therefore, the upgrade process shouldn’t affect ADFS function.
    Here are some references below for you:
    Appendix A: Reviewing ADFS Requirements
    http://technet.microsoft.com/en-us/library/cc778681(v=WS.10).aspx
    ADFS 1.0 with AD at 2012 functional level?
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/1f75ea21-90a6-442c-bc8b-79acf8cf5755/adfs-10-with-ad-at-2012-functional-level?forum=winserverDS
    ADFS and Domain Functional Level
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/5cc0e898-eae2-46ce-8491-5ccf61380423/adfs-and-domain-functional-level?forum=winserverDS
    Best Regards,
    Amy

Maybe you are looking for

  • Can't open Mac iTunes library on Windows

    I'm wondering how I can make my iTunes library database file work with both Mac and Windows off of an external hard drive. On my Mac the drive gets a firewire connection, and on the PC it gets USB connection. Either way, when I hold shift on Windows

  • Re: Forte Estimating Metrics

    Greg, In my experience, the class-count metric is a poor one for time estimation, for four reasons: 1. The actual time/class is very domain- and implementation- sensitive. Industry averages are fairly unhelpful, unless you happen to employ average pr

  • Not able to delpoy a process

    Can someone tell me how to fix this problem. I guess something went wrong in Oracle AS . <2006-10-06 10:49:29,540> <ERROR> <default.collaxa.cube.engine.dispatch> <BaseScheduledWorker::process> Failed to handle dispatch message ... exception ORABPEL-0

  • Cant activate Creative cloud software. It turns into trial.

    Hi,. I have a creative cloud membership (paid yearly) and my software I downloaded start in trial. When I changed the language to INternational English, same thing happend when I re-install. When I click License this product, and I sign in with my Ad

  • MacBook Pro EFI Firmware Update 1.5 (MBP21.00A5.B08 or MBP31.0070.B07)

    Everytime I check for updates I am notified that MacBook Pro EFI Firmware Update 1.5 (MBP21.00A5.B08 or MBP31.0070.B07) needs to be installed...I have installed it a number of times (at least 5 times). Even after restarting the machine when I check f