JSF Presentation Error

I am implementing a custom JSF page as a presentation for a process. To model this implementation, I used the JSF sample found in \ORABPMStudioHome\samples\advanced\JSF-Screenflow_FoodDelivery.exp.
I have a module entitle TestModule. This module has three objects - TheObject, Member, and Demographics. TheObject is a composition object using Member and Demographics.
-TestModule
-- Demographics
--- address
--- city
--- etc.
-- Member
--- firstName
--- lastName
--- etc.
-- TheObject
--- caseNumber
--- member : TestModule.Member
So I wrote a JSF page with this code:
<%@ page session="true" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://fuego.com/jsp/ftl" prefix="ftl" %>
<%@ taglib uri="http://fuego.com/jsf/components" prefix="ft"%>
<html>
<body>
<f:view>
<h:form>
<h:outputText value="Case Number2: " />
<h:inputText value="#{theObject.caseNumber}" />
          <p />
<h:outputText value="First Name: " />
<h:inputText value="#{theObject.member.firstName}" />
<h:outputText value="Last Name: " />
<h:inputText value="#{theObject.member.lastName}" />
          <h:commandButton value="Submit" action="returnToFuego" />
</h:form>
</f:view>
</body>
</html>
I have a process with a Global Create activity that references a screenflow. In the argument mapping for the screenflow from the Global Create, I have an IN argument that instantiates an instance of TestModule.TheObject(). The BeginIn of the screenflow takes this argument and assigns it to an instance variable of type TheObject.
I start the engine and launch the workspace. Then, I access my Global Create activity. The custom JSF page is displayed, as intended. I populate the values of the controls and click the "Submit" button. BPM throws the following exception -
Error workspace-1266290500365
Error testing property 'caseNumber' in bean of type null
javax.faces.el.PropertyNotFoundException: Error testing property 'caseNumber' in bean of type null
     at com.sun.faces.el.PropertyResolverImpl.getType(PropertyResolverImpl.java:342)
     at fuego.workspace.application.WorkspacePropertyResolver.getType(WorkspacePropertyResolver.java:60)
     at com.sun.faces.el.impl.ArraySuffix.getType(ArraySuffix.java:240)
     at com.sun.faces.el.impl.ComplexValue.getType(ComplexValue.java:208)
     at com.sun.faces.el.ValueBindingImpl.getType(ValueBindingImpl.java:338)
     at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:111)
     at javax.faces.component.UIInput.getConvertedValue(UIInput.java:702)
     at javax.faces.component.UIInput.validate(UIInput.java:627)
     at javax.faces.component.UIInput.executeValidate(UIInput.java:838)
     at javax.faces.component.UIInput.processValidators(UIInput.java:412)
     at javax.faces.component.UIForm.processValidators(UIForm.java:170)
     at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:904)
     at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:342)
     at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:78)
     at fuego.workspace.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:132)
     at fuego.workspace.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:60)
     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
     at sun.reflect.GeneratedMethodAccessor233.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     at java.lang.reflect.Method.invoke(Unknown Source)
     at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
     at java.security.AccessController.doPrivileged(Native Method)
     at javax.security.auth.Subject.doAsPrivileged(Unknown Source)
     at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
     at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:245)
     at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
     at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
     at java.security.AccessController.doPrivileged(Native Method)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
     at fuego.web.filter.CharsetFilter.doFilter(CharsetFilter.java:48)
     at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63)
     at sun.reflect.GeneratedMethodAccessor160.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     at java.lang.reflect.Method.invoke(Unknown Source)
     at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
     at java.security.AccessController.doPrivileged(Native Method)
     at javax.security.auth.Subject.doAsPrivileged(Unknown Source)
     at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
     at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:217)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:197)
     at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
     at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
     at java.security.AccessController.doPrivileged(Native Method)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
     at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
     at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
     at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
     at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
     at java.lang.Thread.run(Unknown Source)
The Process instance enters the flow and stops at the first activity. If I open the instance and look at the values that I entered in the controls during the screenflow, the backing bean has been populated with data.
Can anyone shed some light on this? Any help is appreciated. If there is something facet that I didn't mention, let me know, and I will describe it.

Rajat's got a good point. You BPM Objects probably look something like this if they are all located in a module named "TestModule":
TestModule.Demographics
- address: String attribute
- city: String attribute
- state: String attribute
TestModule.Member
- firstName: String attribute
- lastName: String attribute
- demographics: TestModule.Demographics
TestModule.TheObject
- caseNumber: String attribute
- member: TestModule.Member
1. Double click the "caseNumber" attribute and change it to not default to null.
2. To avoid chasing null pointer exceptions, open the constructor for "TestModule.Member" and add this logic:
demographics = TestModule.Demographics()3. Similarly, open the constructor for the "TestModule.TheObject" and add this logic:
member = TestModule.Member()Dan

Similar Messages

  • I have tried several times to install iTunes update 11.1.4 on my PC.  I get a message saying that install was not successful and an error message of MSVCR80.dll not present, Error 7, (Windows error 126).  I am told to reinstall iTunes, but nothing changes

    I have tried several times to install iTunes update 11.1.4 on my PC.  I get a message saying that install was not successful and an error message of MSVCR80.dll not present, Error 7, (Windows error 126).  I am told to reinstall iTunes, but nothing changes.  What next?  I've not had this problem with other updates requested by Apple.

    I have also had the same problem with my Win 7 32 bit computer.  I had great help from Apple techs in Montreal and Orlando for 2.5 hours.  They helped me remove every trace of Apple products and clean the registry in two different ways.  Each install gave the same problem!  If Apple techs can't fix it (on some of our machines) then we are really in trouble.  They promised to raise it with the "engineers" and get back to me with a solution.  I am waiting and hoping.  Otherwise maybe version 11.1.5 will have a fix ??

  • Problem overriding default JSF conversion error messages

    Hello !
    I have a problem to override default JSF conversation error message. I have an inputText which is binded to BigDecimal attribute, so when I enter a character in that field I get this error message: "- Conversion failed."
    I think I need to register the message bundle in my faces config, and put the key of this error message to my properties file.. am I right ?
    Can somebody help me with this ? Which key I need to put into the properties file ?
    Miljan

    Get [Sun's Java EE tutorial |https://www.sun.com/offers/details/JavaEETutorial.xml?cid=20090723ZA_TACO_JVEE_0004] and read the relevant section so you don't have to guess what you need to do.

  • Lync powerpoint presentation error, not able to present ppt file more than 7mb

     Lync powerpoint presention error (either you've lost network connectivity or server is too busy to handle your request...) not able to do ppt file more than 7mb
    Small ppt files are working fine. Is there any settings we are missing?
    Thanks

    Hi Eric/ Edwin,
    I checked the parameters mentioned above every thing set to default.
    MaxContentStorageMb               
    : 500
    MaxUploadFileSizeMb               
    : 500
    MaxMemoryCacheSizeInMB           
    : 75  (This one we changed to 1024 now but still not working)
    CacheSizeInGB                    
    : 15
    PS C:\Users\xyz_lync2013> Get-OfficeWebAppsFarm
    FarmOU                           
    InternalURL                      
    : https://webappint.Int.net/
    ExternalURL                      
    : https://webappext.contoso.com/
    AllowHTTP                        
    : True
    SSLOffloaded                     
    : True
    CertificateName                  
    : web app cert
    EditingEnabled                   
    : False
    LogLocation                      
    : C:\ProgramData\Microsoft\OfficeWebApps\Data\Logs\ULS
    LogRetentionInDays               
    : 7
    LogVerbosity                     
    Proxy                            
    CacheLocation                    
    : C:\ProgramData\Microsoft\OfficeWebApps\Working\d
    MaxMemoryCacheSizeInMB           
    : 75
    DocumentInfoCacheSize            
    : 5000
    CacheSizeInGB                    
    : 15
    ClipartEnabled                   
    : False
    TranslationEnabled               
    : False
    MaxTranslationCharacterCount     
    : 125000
    TranslationServiceAppId          
    TranslationServiceAddress        
    RenderingLocalCacheLocation      
    : C:\ProgramData\Microsoft\OfficeWebApps\Working\waccache
    RecycleActiveProcessCount        
    : 5
    AllowCEIP                        
    : False
    ExcelRequestDurationMax          
    : 300
    ExcelSessionTimeout              
    : 450
    ExcelWorkbookSizeMax             
    : 10
    ExcelPrivateBytesMax             
    : -1
    ExcelConnectionLifetime          
    : 1800
    ExcelExternalDataCacheLifetime   
    : 300
    ExcelAllowExternalData           
    : True
    ExcelWarnOnDataRefresh           
    : True
    OpenFromUrlEnabled               
    : False
    OpenFromUncEnabled               
    : True
    OpenFromUrlThrottlingEnabled     
    : True
    PicturePasteDisabled             
    : True
    RemovePersonalInformationFromLogs : False
    AllowHttpSecureStoreConnections  
    : False
    Machines                         
    : {XYZLYN208, XYZLYN209}
    PS C:\Users\xyz_lync2013> 
    Get-CsConferencingConfiguration
    Identity                          
    : Global
    MaxContentStorageMb               
    : 500
    MaxUploadFileSizeMb               
    : 500
    MaxBandwidthPerAppSharingServiceMb : 375
    ContentGracePeriod                
    : 15.00:00:00
    ClientMediaPortRangeEnabled       
    : True
    ClientMediaPort                   
    : 5350
    ClientMediaPortRange              
    : 40
    ClientAudioPort                   
    : 50000
    ClientAudioPortRange              
    : 499
    ClientVideoPort                   
    : 55000
    ClientVideoPortRange              
    : 2499
    ClientAppSharingPort              
    : 57500
    ClientAppSharingPortRange         
    : 2499
    ClientFileTransferPort            
    : 60000
    ClientFileTransferPortRange       
    : 1000
    ClientSipDynamicPort              
    : 7100
    ClientSipDynamicPortRange         
    : 3

  • Why Hit "No Token Present" error even the USB token has been inserted?

    Hi,
    I am totally new to programming with cryptographic token.
    When i try to login my secure token after inserted it into the USB port, my program throws "No Token Present" error.
    I confirmed that the USB token is inserted properly because i can login the token with the Token Admin app installed on my system.
    I have also installed the Provider successfully dynamically in my code.
    Can anyone give me some idea or solution?
    Thanks very much.
    I program based on JDK 6 update 7 on Windows XP SP2 and the USB Secure Token (ST 2) is from SecureMetrics.
    The error message is as shown as below:
    Please kindly help to take a look at my code.
    Use Provider: SunPKCS11-FeitianPKCS
    Version: 1.600000
    Info: SunPKCS11-FeitianPKCS using library D:\Develop\JavaPKCS11\ST2pkcs11v10.dll
    Services: 0
    {color:#999999}{color:#ff0000}javax.security.auth.login.LoginException: No token{color}{color}{color:#ff0000} present{color}{color:#ff0000}
    {color}at sun.security.pkcs11.SunPKCS11.login(SunPKCS11.java:1044)
    // Main code
    String configName = "D:\\Develop\\JavaPKCS11\\pkcs11.cfg";
    Provider p = new sun.security.pkcs11.SunPKCS11(configName);
    Security.addProvider(p);
    Provider[] ps = Security.getProviders();
    System.out.printf("Total providers %d\n\n", ps.length);
    for (int i=0; i<ps.length;i++) {
    System.out.printf("Provider[%d]: %s\n",i, ps.getName());
    //Create the provider we defined
    Provider p = Security.getProvider("SunPKCS11-FeitianPKCS");
    System.out.printf("\nUse Provider: %s\n", p.getName());
    System.out.printf("Version: %f\n", p.getVersion());
    System.out.printf("Info: %s\n", p.getInfo());
    //List all the services it supports
    System.out.printf("Services: %d\n", p.getServices().size());
    Set ss = p.getServices();
    Iterator ii = ss.iterator();
    Service s;
    while (ii.hasNext()) {
    s = (Service) ii.next();
    System.out.printf("Service: %s - %s - %s \n", s.getType(), s.getAlgorithm(), s.getClassName());
    try {
    MyGuiCallbackHandler mcb = new MyGuiCallbackHandler();
    Subject token = new Subject();
    AuthProvider aprov = (AuthProvider) p;
    //Login the token
    aprov.login(token, mcb);
    Config:
    name = FeitianPKCS#11
    library = D:\Develop\JavaPKCS11\ST2pkcs11v10.dll

    Hi Martin,
    Thanks very much for your kind help and sharing of experience.
    Below is my complete code and also the exceptions that i get.
    Program output + exceptions
    Java PKCS#11 Demo
    Load library success
    Total providers: 10
    Provider[0]: SUN
    Provider[1]: SunRsaSign
    Provider[2]: SunJSSE
    Provider[3]: SunJCE
    Provider[4]: SunJGSS
    Provider[5]: SunSASL
    Provider[6]: XMLDSig
    Provider[7]: SunPCSC
    Provider[8]: SunMSCAPI
    Provider[9]: SunPKCS11-FeitianPKCS
    Use Provider: SunPKCS11-FeitianPKCS
    Version: 1.6
    Info: SunPKCS11-FeitianPKCS using library D:\\Develop\\JavaPKCS11\\ngp11v211.dll
    javax.security.auth.login.LoginException: No token present
        at sun.security.pkcs11.SunPKCS11.login(SunPKCS11.java:1044)
        at javapkcs11.Main.main(Main.java:112)Main.java
    // Main.java
    package javapkcs11;
    import java.security.*;
    import java.security.Provider.*;
    import javax.security.auth.*;
    import java.util.*;
    import java.lang.*;
    import javax.crypto.*;
    import javax.crypto.spec.*;
    //import sun.misc.*;
    * @author
    public class Main {
        /** Creates a new instance of Main */
        public Main() {     
         * @param args the command line arguments
        public static void main(String[] args) {
            System.out.println("Java PKCS#11 Demo\n\n");
            //Load the configuration file       
            if (Main.configProvider())
                System.out.println("Load library success\n\n");
            else {
                System.out.println("Load library failed\n\n");
                return;
            //List all the providers
            Provider[] ps = Security.getProviders();
            System.out.println("Total providers: " + ps.length);
            for (int i=0; i<ps.length;i++) {
              //  System.out.printf("Provider[%d]: %s\n",i, ps.getName());
    System.out.println("Provider[" + i + "]: " + ps[i].getName());
    //Create the provider we defined
    Provider p = Security.getProvider("SunPKCS11-FeitianPKCS");
    //System.out.printf("\nUse Provider: %s\n", p.getName());
    System.out.println("\nUse Provider: " + p.getName() );
    //System.out.printf("Version: %f\n", p.getVersion());
    System.out.println("Version: " + p.getVersion() );
    //System.out.printf("Info: %s\n", p.getInfo());
    System.out.println("Info: " + p.getInfo() );
    //List all the services it supports
    //System.out.printf("Services: %d\n", p.getServices().size());
    Set ss = p.getServices();
    Iterator ii = ss.iterator();
    Service s;
    while (ii.hasNext()) {
    s = (Service) ii.next();
    // System.out.printf("Service: %s - %s - %s \n", s.getType(), s.getAlgorithm(), s.getClassName());
    System.out.println("Service: " + s.getType() + " " + s.getAlgorithm() + " " + s.getClassName());
    try {
         char pin[] = "99999999".toCharArray();
    MyGuiCallbackHandler mcb = new MyGuiCallbackHandler();
    Subject token = new Subject();
    AuthProvider aprov = (AuthProvider) p;
    //Login the token
    aprov.login(token, mcb);
    } catch (Exception e) {
    e.printStackTrace();
    public static boolean configProvider() {
    //Here defines the path of configuration file, you could change it
    String configName = "D:\\Develop\\JavaPKCS11\\pkcs11.cfg";
    try {
    Provider p = new sun.security.pkcs11.SunPKCS11(configName);
    Security.addProvider(p);
    } catch (Exception e) {
    e.printStackTrace();
    return false;
    return true;
    }PKCS11 Configname = FeitianPKCS
    library = D:\\Develop\\JavaPKCS11\\ngp11v211.dll
    slot = 3                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • "media not present" error when burning blu ray in PE12

    I have two systems, both ground-up builds, identical Win 7 Home Premium and Premiere Elements 12 installs.  Both systems have internal blu-ray burners.  One burner is an ASUS BW-12B1AT and the other is a Pioneer burner (don't recall the model number).
    System 1:  Intel 4770k with Gigabyte MB
    System 2: AMD 8-core with Gigabyte MB
    System 1 gives "Media not present" error in PE12 when attempting to burn to blu ray discs using Verbatim discs. System is able to burn DVDs and CDs, and playback blu ray discs.  System is also capable of burning blu rays using Nero.
    System 2 works fine - blu ray media is recognized instantly by PE12 when in the drive and burns blu rays perfectly.
    I swapped the blu ray drives and SATA cables from System 1 and System 2 with the same result - this eliminated the drive manufacturer and cables from being the problem, as both drives worked perfectly in System 2 and neither worked in System 1.  I also tried different SATA ports and power supply taps on System 1 without any success.
    Then, I noticed that on System 1, with the dialog box open and indicating the "media not present" error, if I ejected the blu ray disc and reinserted it, the burner LED would flash 18 times (approx. 1/sec) and then pulse briefly indicating a burst of activity for about 1 second, as if it was either reading the disc or writing to the SATA.  If I pressed the "rescan" button during this brief burst of LED activity, then the disc was recognized and I could proceed to burn it.    If I tried to press the rescan button at any time before this instant or after, the "media not present" error did not clear.
    To me, this is an indication that something in the handshake timing of the SW and the burner is not correct, and that timing differences in the system HW are not provided for in the SW. I see that many others have had this issue and have had to buy work-around image burners to address this. I believe your burner drivers need to be reworked to eliminate this bug.  This is evidenced by the fact that Nero works and your SW does not, and that different systems consistently exhibit this problem.
    Please let me know when you will have a SW patch to address this or if you have any idea of system settings that can be adjusted (I don't know of any myself) that would eliminate this problem.

    pastrobes
    This is not Adobe. Rather user to user. If you want to contact Adobe, your likely route is via Adobe Chat.
    If you have a feature request or bug report, then consider filing a Adobe Feature Request Bug Report Forum with Adobe
    Adobe - Feature Request/Bug Report Form
    The likelihood of an Adobe engineer seeing your thread here is essentially slim to none.
    Your results are very interesting but lots more variables to consider.
    Do you have any version of Premiere Elements other than 12? It would be interesting to learn if a prior version's burn
    dialog would present with the Media Not Preset issue for your burn to Blu-ray System 1. That is easy enough done with a tryout of
    11 or 10 or 9 from the following web site. ProDesignTools: Adobe® Developments in Focus
    On the other side of the coin, you could give the new version a look in this regard. A new version is expected at the
    end of September 2014.
    As an aside, have you updated 12 to 12.1 Update, using an opened project's Help Menu/Update. If not, I would encourage
    you to do so. It does correct an Expert workspace text styles issue plus other matters undefined by Adobe.
    ATR

  • Por qué se presenta error en la llamada

    Al restaurar el backup del iPhone 4S a un 5, he podido recibir llamadas, pero no realizarlas porque constantemente presenta: "error en la llamada". Cuál es la razón a esto?

    Hola a todos...!!!
    A mí me ha pasado lo mismo, tengo 2 días sin poder hacer una sola llamada, funciona mi servicio de datos y recibo llamadas.
    Es la segunda vez que me pasa, la primera vez no pude realizar llamadas por 3 horas, pero esta vez llevo casi dos días y no se puede tener un teléfono solo para recibir llamadas, mucho menos éstos.
    Apple debería de brindar una solución...!!!

  • Getting "JTA transaction is not present" error while updating db table.

    Hi All,
    In one of my BPEL process, In a loop, I am updating value of database column Flag from 0 to 1. It was working fine in dev environment, but failed in Prod with below errors, Can Any one suggest on this.
    There is a system exception while performing the BPEL instance, the reason is "JTA transaction is not present or the transaction is not in active state. The current JTA transaction is not present or it is not in active state when processing activity or instance "1020112-BpInv7-BpSeq14.87-2". The reason is The execution of this instance "1020112-BpInv7-BpSeq14.87-2" for process "UpdateOrderReqABCS" is supposed to be in a jta transaction, but the transaction is not present or in active state, please turn on the application server transaction debug logs to get more information.. Please consult your administrator regarding this error. ". Please check the error log file for more infromation. Please try to use bpel fault handlers to catch the faults in your bpel process. If this is a system exception, please report this to your system administrator. Administrator could perform manual recovery of the instance from last non-idempotent activity or dehydration point.
    OPMN logs:
    <2010-05-05 01:56:49,395> <ERROR> <gemptp.collaxa.cube.engine> The execution of this instance "1020112-BpInv7-BpSeq14.87-2" for process "UpdateOrderReqABCS" is supposed to be in a jta transaction, but the transaction is not present or in active state, please turn on the application server transaction debug logs to get more information.
    The current JTA transaction is not present or it is not in active state when processing activity or instance "1020112-BpInv7-BpSeq14.87-2". The reason is The execution of this instance "1020112-BpInv7-BpSeq14.87-2" for process "UpdateOrderReqABCS" is supposed to be in a jta transaction, but the transaction is not present or in active state, please turn on the application server transaction debug logs to get more information..
    The current JTA transaction is not present or it is not in active state when processing activity or instance "1020112-BpInv7-BpSeq14.87-2". The reason is The execution of this instance "1020112-BpInv7-BpSeq14.87-2" for process "UpdateOrderReqABCS" is supposed to be in a jta transaction, but the transaction is not present or in active state, please turn on the application server transaction debug logs to get more information..
    The current JTA transaction is not present or it is not in active state when processing activity or instance "1020112-BpInv7-BpSeq14.87-2". The reason is The execution of this instance "1020112-BpInv7-BpSeq14.87-2" for process "UpdateOrderReqABCS" is supposed to be in a jta transaction, but the transaction is not present or in active state, please turn on the application server transaction debug logs to get more information..
    Thanks in advance.

    I can envisage this happening only in a case where the update is taking a longer time than the value of JTA transaction timeout.
    Is this happening for all BPEL instances or some of them get thru succesfully ?
    Are you EVER updating that particular row of your table ( before/after) ?
    -Shishir

  • JSF & JDev error: The page cannot be displayed

    I'm trying to use JSF with JDeveloper. When I make my project no errors are reported, when I run it a browser opens up with an error. I added 'faces/' to the url and refreshed but still get same error message i.e. 'The page cannot be displayed'
    Here is the url:
    http://localhost:8988/jsf_app1-jsftest2-context-root/faces/hellojsp.jsp
    Here is the web.xml code:
    <?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>
    <!-- Faces Servlet -->
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup> 1 </load-on-startup>
    </servlet>
    <!-- Faces Servlet Mapping -->
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</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>
    <taglib>
    <taglib-uri>http://java.sun.com/jsf/core</taglib-uri>
    <taglib-location>/WEB-INF/jsf_core.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>http://java.sun.com/jsf/html</taglib-uri>
    <taglib-location>/WEB-INF/html_basic.tld</taglib-location>
    </taglib>
    </web-app>
    Here is the faces-config.xml code:
    <?xml version="1.0"?>
    <!DOCTYPE faces-config PUBLIC
    "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
    "http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
    <faces-config>
    </faces-config>
    Here is the hellojsp.jsp code:
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ page contentType="text/html;charset=windows-1252"%>
    <f:view>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>untitled</title>
    </head>
    <body>
    <h:form>
    <h:outputText/>
    </h:form>
    </body>
    </html>
    </f:view>
    Please let me know what i'm missing here. Why can I not see the page?

    When I make my project no errors are reported, when I run it a browser opens up with an error. I added 'faces/' to the url and refreshed but still get same error .
    Does the url which is invoked with Run not include a /faces/ url pattern?

  • JSF Deployment error - login.faces not available

    I am new to JSF and am having deploying my first example JSF pages in Eclipse on default Tomcat (6.x).
    I feel I have done everything stated in the tutorial http://www.exadel.com/tutorial/jsf/jsftutorial-kickstart.html (I did not repeat the step by step instructions in the tutorial - instead, used these instructions to create my own pages / logic). However, I still get the following error:
    HTTP Status 404 - /reportwriter/pages/login.faces
    type Status report
    message /reportwriter/pages/login.faces
    description The requested resource (/reportwriter/pages/login.faces) is not available.
    Here is my directory structure:
    reportwriter
    - src
    - LoginBean
    - LoginServer.java
    - Resources.properties
    - js
    - html
    - images
    - pages
    - login.jsp
    - webRoot
    - WEB-INF
    - lib
    - faces-config.xml
    - web.xml
    - index.jsp with a one line jsp forward to pages/login.faces
    here is my faces-config.xml
    <?xml version="1.0"?>
    <!DOCTYPE faces-config PUBLIC
    "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
    "http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
    <faces-config>
    <application>
    <message-bundle>LoginBean.Resources</message-bundle>
    <locale-config>
    <default-locale>en</default-locale>
    <supported-locale>en-us</supported-locale>
    <supported-locale>fr</supported-locale>
    <supported-locale>es</supported-locale>
    </locale-config>
    <view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
    </application>
    <navigation-rule>
    <from-view-id>/pages/login.jsp</from-view-id>
    <navigation-case>
    <description>Handle case for successful login</description>
    <from-action>#{loginServer.loginAction}</from-action>
    <from-outcome>success</from-outcome>
    <to-view-id>/pages/task.jsp</to-view-id>
    </navigation-case>
    <navigation-case>
    <description>Handle case for unsuccessful login</description>
    <from-action>#{loginServer.loginAction}</from-action>
    <from-outcome>failure</from-outcome>
    <to-view-id>/pages/failure.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    <navigation-rule>
    <from-view-id>/pages/success.jsp</from-view-id>
    <navigation-case>
    <from-outcome>return</from-outcome>
    <to-view-id>/pages/login.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    <navigation-rule>
    <from-view-id>/pages/failure.jsp</from-view-id>
    <navigation-case>
    <from-outcome>return</from-outcome>
    <to-view-id>/pages/login.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    <managed-bean>
    <managed-bean-name>loginServer</managed-bean-name>
    <managed-bean-class>LoginBean.LoginServer</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    </managed-bean>
    </faces-config>
    and here is web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.4" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>server</param-value>
    </context-param>
    <context-param>
    <param-name>javax.faces.CONFIG_FILES</param-name>
    <param-value>/WEB-INF/faces-config.xml</param-value>
    </context-param>
    <context-param>
    <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
    <param-value>.xhtml</param-value>
    </context-param>
    <listener>
    <listener-class>com.sun.faces.config.ConfigureListener</listener-class>
    </listener>
    <!-- Faces Servlet -->
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <!-- Faces Servlet Mapping -->
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>*.faces</url-pattern>
    </servlet-mapping>
    </web-app>
    Can you think what I may be missing here to get the login.faces not available error?
    One hint I have is - if I do not set a jsp forward line in the index.jsp file, I get the server deployment for the index.jsp file OK. But not when I have the forward from index.jsp to /pages/login.faces
    I also tried setting the context in tomcat server.xml file as follows:
    <Context debug="0"
    docBase="C:/evsapi/ReportWriter/reportwriter/WebRoot"
    path="/LoginBean" reloadable="true"/>
    Still no use.
    Please help!
    Edited by: tipseeker on Dec 1, 2008 3:51 PM

    tipseeker wrote:
    <!DOCTYPE faces-config PUBLIC
    "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
    "http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
    I highly recommend your to stop with this and restart with JSF 1.2 instead. JSF 1.0 is legacy and may have still some nasty bugs. You may find this JSF 1.2 / Eclipse 3.4 / Tomcat 6.0 startup tutorial useful as well: [http://balusc.blogspot.com/2008/01/jsf-tutorial-with-eclipse-and-tomcat.html]
    <context-param>
    <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
    <param-value>.xhtml</param-value>
    </context-param>There's the root cause of the problem, I think. Why did you add this? Are you using JSP or Facelets? This configuration is typical for Facelets, but in your remaining code I only see JSP's being mentioned.

  • Content Presenter error in Spaces

    Hi all
    From Spaces, when I select the button "Create Web Content" for a single content item through the Content Presenter Configuration wizard I receive an error message "This placeholder is restricted, but no region definitions have been specified."
    Can anyone shed any light on what this means, and what I have to do to get past it?
    I have the content server linked appropriately with Spaces, and the documents service works just fine (I can select content to add to the page) and I have enabled WebCenter Configure in the CS component manager. Oh and adfAuthenticator is set so identity propogation from WC and CS is established.
    Appreciate your help.

    I am not sure if this will help, but... I have used the content presenter a number of times in a webcenter spaces app and typically, when I am editing or creating a page, I go into the page editor and click on Add Content. I drill down to the actual document I want to include, as opposed to including the Content Presenter. Once I find the document I want, I click add (on the right). A small popup menu appears which, among other controls, includes the "content Presenter". I select that and from there all goes well. The Content presenter appears in my page editor session with the document that I selected.
    TheGoose

  • JSF Server Error

    hi
    can any one help me to clear the following server error in JSF
    WARNING: Can't parse configuration file:jndi:/localhost/ourdemo/WEB-INF/faces-config.xml
    Thanx in advance.
    regards,
    Bala

    This is my web-app
    <web-app>
    <display-name>JavaServer Faces Sample Application</display-name>
    <description>
    JavaServer Faces Sample Application
    </description>
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>client</param-value>
    </context-param>
    <context-param>
    <param-name>com.sun.faces.validateXml</param-name>
    <param-value>true</param-value>
    <description>
    Set this flag to true if you want the JavaServer Faces
    Reference Implementation to validate the XML in your
    faces-config.xml resources against the DTD. Default
    value is false.
    </description>
    </context-param>
    <context-param>
    <param-name>com.sun.faces.verifyObjects</param-name>
    <param-value>true</param-value>
    <description>
    Set this flag to true if you want the JavaServer Faces
    Reference Implementation to verify that all of the application
    objects you have configured (components, converters,
    renderers, and validators) can be successfully created.
    Default value is false.
    </description>
    </context-param>
    <!-- Faces Servlet -->
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup> 1 </load-on-startup>
    </servlet>
    <!-- Faces Servlet Mapping -->
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    <security-constraint>
    </security-constraint>
    </web-app>
    Bala

  • Webcenter Portal and UCM - Content Presenter Error

    Hello,
    I get an error while I'm adding a Content Presenter over the default resource catalog of my webcenter portal application and try to create content.
    When pressing the create content button a new browserpage opens and after beeing logged in to the Content Server the cs/resources/wcm/custom/sitestudio/contentwizard/webcenter/contentwizard.hcsp is called and this error message appears as an alert:
    "*this placeholder is restricted, but no region definitions have been specified*"
    Thanks for any advice!

    Looks like the configuration of UCM (SSXA) is not completed in your system. Take a look at this manual http://docs.oracle.com/cd/E23943_01/doc.1111/e13650/toc.htm to understand the relationship between region definitions and placeholders. Note that Content Presenter is just a client here (it's a matter of WebCenter Content configuration).

  • JSF 404 Error

    Hello,
    I have googled a long time, but I couldn't find a solution to my problem.
    I am developing my first JSF 1.2 Application in combination with Tomcat 6 with Eclipse.
    I have imported all libraries needed (jsf_api, jsf_impl, jstl etc.). When I call a JSF page, I get a 404 resource not found error.
    Normal JSP projects work perfectly.
    These are the contents of my web.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
      <display-name>test</display-name>
      <servlet>
           <servlet-name>Faces Servlet</servlet-name>
           <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
           <load-on-startup>1</load-on-startup>
      </servlet>
      <servlet-mapping>
           <servlet-name>Faces Servlet</servlet-name>
           <url-pattern>*.jsf</url-pattern>
      </servlet-mapping>
      <welcome-file-list>
           <welcome-file>index.jsp</welcome-file>
      </welcome-file-list>
    </web-app>Basically I followed this tutorial to set up my first jsf app: http://www.eclipse.org/webtools/jsf/dev_resource/JSFTutorial-RC3/JSFTools_tutorial.html .
    There are two versions, one with JSF 1.1 support which worked, and one with JSF 1.2 support which didn't work.
    Thanks in advance,
    Tobias
    Message was edited by:
    tobiasgp

    I have found the following error messages in Tomcat's console output:
    INFO: Initializing Sun's JavaServer Faces implementation (1.2-b20-FCS) for context '/test'
    19.07.2007 18:38:40 com.sun.faces.config.ConfigureListener contextInitialized
    INFO: Completed initializing Sun's JavaServer Faces implementation (1.2-b20-FCS) for context '/test'
    19.07.2007 18:38:40 org.apache.catalina.core.StandardContext listenerStart
    SCHWERWIEGEND: Exception sending context initialized event to listener instance of class com.sun.faces.config.GlassFishConfigureListener
    java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
         at org.ajax4jsf.framework.DebugLifecycleFactory.<clinit>(DebugLifecycleFactory.java:39)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Unknown Source)
         at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:567)
         at javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:460)
         at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:256)
         at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:1106)
         at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:766)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:529)
         at com.sun.faces.config.GlassFishConfigureListener.contextInitialized(GlassFishConfigureListener.java:47)
         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
         at org.apache.catalina.core.StandardService.start(StandardService.java:516)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
    19.07.2007 18:38:40 org.apache.catalina.core.StandardContext start
    SCHWERWIEGEND: Error listenerStart
    19.07.2007 18:38:40 org.apache.catalina.core.StandardContext start
    SCHWERWIEGEND: Context [test] startup failed due to previous errors
    SCHWERWIEGEND = Fatal ;-)
    I have just removed AJAX4JSF and it works! How shall I go on if I would like to use it?
    Message was edited by:
    tobiasgp
    Message was edited by:
    tobiasgp

  • 10g EA - JSF Toturial - Error instantiating application

    I worked throught the first portion of
    Build J2EE Applications Using JDeveloper 10g and JSF
    http://www.oracle.com/technology/obe/obe1013jdev/JSFapplications/BuildJ2EEAppsWithJSF.htm
    Went to Run the welcome.jsp page and got the following message.
    05/11/11 11:27:50 [SEVERE]: Error instantiating application at file:/C:/jdevstudio1013ea1/jdev/system/oracle.j2ee.10.1.3.34.12/embedded-oc4j/applications/bc4j.ear: Unable to get ApplicationConfig for bc4j : Unable to find/read file META-INF/application.xml in C:\jdevstudio1013ea1\jdev\system\oracle.j2ee.10.1.3.34.12\embedded-oc4j\applications\bc4j (META-INF/application.xml)
    Project compiled fine.
    This is the rest of the log. happened before error
    Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    **** Unable to obtain password from principals.xml. Using default.
    C:\jdevstudio1013ea1\jdev\system\oracle.j2ee.10.1.3.34.12\embedded-oc4j\config>
    C:\jdevstudio1013ea1\jdk\bin\javaw.exe -ojvm -classpath C:\jdevstudio1013ea1\j2ee\home\oc4j.jar;C:\jdevstudio1013ea1\jdev\lib\jdev-oc4j-embedded.jar -Dhttp.proxyHost=rgismiscom -Dhttp.proxyPort=80 -Dhttp.nonProxyHosts=172.*|*.rgis.com|localhost|127.0.0.1 -Dhttps.proxyHost=rgismiscom -Dhttps.proxyPort=80 -Dhttps.nonProxyHosts=172.*|*.rgis.com|localhost|127.0.0.1 -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config C:\jdevstudio1013ea1\jdev\system\oracle.j2ee.10.1.3.34.12\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]

    I do not have the file. Here is what I have
    Model -> Application Sources -> hr.model -> employee.java
    Model -> Application Sources -> hr.model -> Employees.java
    Model -> Application Sources -> hr.model -> login.java
    View -> Application sources -> mypakage -> DataBindings.cpx
    View -> Application sources -> Web Content -> css -> Blaf.css
    View -> Application sources -> Web Content -> web-INF -> Faces-config.xml
    View -> Application sources -> Web Content -> web-INF -> web.xml
    View -> Application sources -> Web Content -> web-INF\lib -> adf-faces-impl.jar
    View -> Application sources -> Web Content -> web-INF\lib -> custComps.jar
    View -> Application sources -> Web Content -> web-INF\lib -> jsf-impl.jar
    View -> Application sources -> Web Content -> Hello.jsp
    View -> Application sources -> Web Content -> Welcome.jsp

Maybe you are looking for

  • "Internal error (-5002) occurred" On Pick List Update Picked Quantity

    Hi Experts, I have an SDK program that simply tries to update the Picked Quantity in SAP. Previously it has been working fine, until I try to use the same logic for items managed by Batch or Serial Number. In this scenario, I have created a PickList

  • How do i connect external hard drive

    Was trying to copy mp3 audio book into I tunes library which I think I have on an external drive.  I kept getting failures that said could not access drive.  I know I could see the drive on my desktop.  Itunes would only copy some of the flies (about

  • Decimal places in MD04

    Hi In MD04 , we are getting decimals for  the quantity.  Is there any settings or config change involved to remove display of decimals. Regards Mani

  • Using Keynote as community bulletin board- Can you overlay weather conditions?

    We want to set up a Mac Mini running Keynote 09 to use as our community TV station's bulletin board to run when we are off-air. Our old system software was only made for this purpose, so it could bring in (and overlay all the slides) with our local w

  • Customer statement request fron fbl5n

    In FBL5N we can request for correspondence from Environment -Correspondence.I could request for only one customer at a time.Is it possible that i can request for more than one  customer at a time.