Problem with JSF Page loading with WAS 6.1.0.2

We are using Trindad Faces & the app server is Websphere 6.1.0.2.
When the server starts up, its gives lots of logs (does not say error or warning) as below.
11:13:58:881 EST] 00000019 jsf W com.ibm.ws.jsf.configuration.FacesConfigParser parseShared FacesConfigParser.parseShared(): unable to locate : [group]
[11/10/06 11:13:59:061 EST] 00000019 jsf W com.ibm.ws.jsf.configuration.FacesConfigParser parseShared FacesConfigParser.parseShared(): unable to locate : [property-metadata]
[11/10/06 11:13:59:231 EST] 00000019 jsf W com.ibm.ws.jsf.configuration.FacesConfigParser parseShared FacesConfigParser.parseShared(): unable to locate : [group]
[11/10/06 11:13:59:372 EST] 00000019 jsf W com.ibm.ws.jsf.configuration.FacesConfigParser parseShared FacesConfigParser.parseShared(): unable to locate : [property-metadata]
[11/10/06 11:13:59:532 EST] 00000019 jsf W com.ibm.ws.jsf.configuration.FacesConfigParser parseShared FacesConfigParser.parseShared(): unable to locate : [group]
[11/10/06 11:13:59:782 EST] 00000019 jsf W com.ibm.ws.jsf.configuration.FacesConfigParser parseShared FacesConfigParser.parseShared(): unable to locate : [property-metadata]
[11/10/06 11:13:59:942 EST] 00000019 jsf W com.ibm.ws.jsf.configuration.FacesConfigParser parseShared Face
And, when I try to access the Page, the following error message is shown up and the page is not getting displayed.
java.lang.NullPointerException
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:754)
at org.apache.myfaces.trinidad.render.RenderUtils.encodeRecursive(RenderUtils.java:66)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:255)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:277)
at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelPartialRootRenderer.renderContent(PanelPartialRootRenderer.java:70)
at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.BodyRenderer.renderContent(BodyRenderer.java:134)
at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelPartialRootRenderer.encodeAll(PanelPartialRootRenderer.java:150)
at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.BodyRenderer.encodeAll(BodyRenderer.java:76)
at org.apache.myfaces.trinidad.render.CoreRenderer.delegateRenderer(CoreRenderer.java:294)
Any thoughts on what could be the issue?
Thanks in advance!!

Hi Raymond,
Is it possible to package a JSF implementation with your web application and then use the usual classloading order?
* Tried that, looks like that wont work. WAS throws all sorts of exceptions :
java.lang.NoSuchMethodError: javax/servlet/jsp/JspFactory.getJspApplicationContext(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;
+Caused by: org.springframework.binding.expression.EvaluationException: An ELException occurred getting the value for expression 'ehrRequest.savePractice(practice)' on context [class org.springframework.webflow.engine.impl.RequestControlContextImpl]+
+.....+
What about hiding the JMS queuing behind an EJB (that way the JMS happens in the EJB container, not the web container, a total hack but what can you do)? Have you tried moving all of your classes and libraries from the WAR and into the application space?
Thats actually a pretty good idea. I am gonna try that.

Similar Messages

  • Problems with WAS 6.40 Installation on Oracle - Phase 11 of 34

    Hello,
    <b>Problems with WAS 6.40 Installation on Oracle (Phase 11 of 34)</b>
    with the installation of the Web Application server 6,40 SR1 on a Oracle server I get in phase 11 of 34 (Create Oracle Database) the following error-message:
    CJS-00084 - SQL statement or script failed. Diagnosis: Error message: ORA-12547: TNS:lost contact.
    error while loading shared library: libodm9.so : cannot open shared object file: No such file or dirctory.
    Best Reagrds,
    Ralf Steffens

    hi Ralf
    i've found one composite note for Oracle <a href="https://websmp203.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700001366932002">505630</a>
    hope this solves...
    <i><b>Symptom</b>
    ORA-12547: TNS:lost contact
    Brbackup, brarchive, brrestore or brconnect may terminate with errors similar to the following:
    BR301E SQL error -12547 at location BrDbConnect-1
    BR301E SQL error -12547 at location dbf_info_get-1
    Sapdba returns the following error, for example:
      SAPDBA: ORACLE error -12547 occurred while checking instance status!
    The R/3 work processes or R3trans return the following error at Connect:
      C  *** ERROR => CONNECT failed with sql error '12547'
    <b>Other terms</b>
    TNS-12547, TNS-00517
    <b>Reason and Prerequisites</b>
    As part of the Net8 Connect, a program such as the R/3 kernel, R3trans, svrmgrl, sqlplus or ODMA establishes a connection to the Oracle database. If the connection terminates due to problems at the server end, it can result in ORA-12547.
    Additional information for the error is often available in sqlnet.log. In many cases, other messages that are not reported by all tools precede ORA-12547. If ORA-12547 occurs when the ODMA accesses the old Oracle-Home during a database upgrade, for example, it may make sense to temporarily restart ORACLE_HOME on the old Oracle-Home for test purposes and then to execute sqlplus or svrmgrl.
    Even if sapdba or the BR tools terminate with an ORA-12547 when calling sqlplus or svrmgrl recursively, you should, for test purposes, call sqlplus or svrmgrl manually with the operating system user that was used.
    Hopefully, a more informative error message will appear in addition to ORA-12547, for example:
      ld.so.1: oracleC11: fatal: relocation error: file
               /oracle/C11/817_64/libx8.so: symbol ksunsga_:
               referenced symbol not found
    If you find accompanying error messages of this type, start a note search with the corresponding search terms since we are often aware of the problem and a solution may already be available. If you do not find any significant error messages or a suitable note, check the following possible causes for ORA-12547:
    1. UNIX: Incorrectly linked Oracle tools
    2. UNIX: Problems with XPG4 compliance and s-bit
    3. Too many requests to the listener at the same time
    4. HP-UX, Oracle 8.1: Missing OS patch
    5. Use of CRYPTO parameters in sqlnet.ora
    6. AIX: I/O Async is deactivated
    7. Resource problems
    8. The CONNECT_TIMEOUT_LISTENER parameter in listener.ora is too low
    9. Activated Oracle trace
    10. UNIX: Incorrect oracle executable authorization
    11. SOLARIS: LD_LIBRARY_PATH set when you call ODMA
    12. AIX: Problem with post/wait kernel enhancement
    13. UNIX: Problems with the libobk library
    14. SOLARIS: Incorrect search sequence in the path variable
    15. UNIX: Conflicts between 32-bit and 64-bit files
    <b>Solution</b>
    1. Relink the Oracle software as ora<sid> with
      cd $ORACLE_HOME/rdbms/lib
      make -f ins_rdbms.mk install
                  or
      relink all
    1. See Note 88884.
    2. If individual work processes terminate with ORA-12547 when you start an R/3 instance, See Note 131561.
    3. See Note 399610.
    4. You can set security parameters that begin with SQLNET.CRYPTO_ in sqlnet.ora as part of the Advanced Security Option. Oracle releases < 8.1.7 cannot process these parameters correctly and result in ORA-12547. In this case, delete these types of parameters from sqlnet.ora.
    5. If I/O is deactivated on AIX Async, the Net8 Connect fails with ORA-12547. In this case, activate I/O Async by using smitty.
    6. Insufficient resources such as available memory on the database server can cause ORA-12547. For more information, see 384839.
    7. In individual cases, it may make sense to increase the CONNECT_TIMEOUT_LISTENER parameter in listener.ora (for example, by 5 seconds, so from 10 to 15). Although a value of 10 seconds should usually be sufficient to establish a connection.
    8. Delete the log files written by the Oracle trace in accordance with Note 92537.
    9. Check to see whether the executable in $ORACLE_HOME/bin has the "rwsr-s--x" authorizations and the ora<sid> owner and correct this if necessary.
    10. If you call ODMA on SOLARIS as part of a database upgrade and if LD_LIBRARY_PATH is set explicitly (on the lib directory of the target release), calling the old Oracle software through ODMA may fail with ORA-12547. If you use the old ORACLE_HOME to list sqlplus or svrmgrl, you get the following error:
      ld.so.1: oracle<sid>: fatal: relocation error:
               file /oracle/<sid>/817_64/libx8.so: symbol ksunsga_:
               referenced symbol not found
      ORA-12547: TNS:lost contact
                   In this case, permanently delete LD_LIBRARY_PATH from the environment. This does not have any negative effects since the libraries are automatically found in the correct directories as of Oracle 8.1.
                   If problems occur with the post/wait extension on AIX, the following type of errors will be displayed:
      exec(): 0509-036 Cannot load program oracleC11 because of the
      following errors:
              0509-130 Symbol resolution failed for oracle because:
              0509-136   Symbol pw_post (number 2524) is not exported
                          from dependent module /unix.
              0509-136   Symbol pw_wait (number 2525) is not exported
                          from dependent module /unix.
              0509-136   Symbol pw_config (number 2526) is not exported
                          from dependent module /unix.
              0509-192 Examine .loader section symbols with the
                       'dump -Tv' command.
      ORA-12547: TNS:lost contact
    1. If the libobk library was created incorrectly, the following type of errors may occur:
      /oracle/C11/817_64/bin/oracle: /sbin/loader:
        Fatal Error: Cannot map library libobk.so
      /usr/lib/pa20_64/dld.sl: Unable to find library
        '/oracle/C11/lib64/libobk.sl
      exec(): 0509-036 Cannot load program oracleC11 because of the
              following errors:
      0509-150   Dependent module /oracle/C11/817_64/lib/libobk.a(shr.o)
                 could not be loaded.
      0509-152   Member shr.o is not found in archive
      ORA-12547: TNS:lost contact
                   Check to see whether libobk exists and, if it is a link, that it points to a valid object. Note 142635 contains more information about this. The libobk link may point to this if a libsbtsh8.* file exists in the Oracle library directory. If you are using a third-party Backint tool, contact the relevant supplier, since libobk often has to point to a backint-specific library.
    1. If an error such as
      ld.so.1: ./svrmgrl: fatal: libucb.so.1: open failed:
               No such file or directory
      ORA-12547: TNS:lost contact
                   occurs, the PATH has probably been set incorrectly. For more information, see Note 44361.
    1. If an error such as
      ld.so.1: oracle<sid>: fatal: <library> wrong ELF class: ELFCLASS64
      ORA-12547: TNS:lost contact
                  concerning "wrong ELF class" occurs, check whether the <library> mistakenly has a different bit size than the tool that was called. You can determine this using
      file <library>
      file <tool>
                   All the files involved must uniformly be either 32-bit or 64-bit.
    </i>
    Regards
    Arunkumar

  • Method call before visual web jsf page loads

    Hi All.....
    I have written a method in a java class that accesses the mysql backend db to check if a process is still running. If the process is still running, a JOptionPane is produced informing the user of this and offers an <ok> option(to check the process status again) and a <cancel> option(to redirect the user to the homepage). If the process is completed, I want the page to just load as normal. I want this method to be called before the visual web jsf page loads. I have the method call in the super_init() method of the page and everything seemed to be working fine, the problem I have run into is that if I set the value in the db to show the process is running, the JOptionPane is produced(like it should be), and then if I set the value to show the process has completed and choose <ok> from the pane, the page loads.....this is what I want. Now, after the page loads, if I set the value in the db to show the process is running again, the JOptionPane is produced again right after I apply the changes to the db edit!!!!. I don't know why this is happening. Should I be calling the method from somewhere other the super_init()????? I have tried the method call in the prerender(), preprocess(), and destroy() methods all with the same results.
    Anyone have any ideas on what the problem could be??
    Thanks in advance.
    Silgd

    The Java part of a JSP/Servlet based webapplication runs physically at the server machine.
    Only the HTML/CSS/JS part which is generated by the webapplication and sent to the client physically runs at the client machine.
    JOptionPane is a Java Swing component which thus runs at the server machine. So you as client would only see it when both the server and the client runs at physically the same machine. Which is often only the case in development environment and doesn´t occur in real life! There is normally means of two physically different machines connected through the network/internet.
    To solve your actual problem, look for Ajax poll techniques. To display an alert or confirm dialogue in the client side, you use Javascript for this.

  • On JSF Page load UI components loading sequence

    Hi All,
    I have some questions about the UI components loading sequence on the JSF page load.
    When a JSF page loads it loads its UI components which have a sequence of getters and setters declared in the backing bean of that jspx page.
    Qustion 1: How these getters and setters in backing bean work in loading the jspx page?
    Question 2: How this backing bean is related to the Page Definition file for the page loading?
    Question 3 (main query): What is the sequence of the getters and setters. Means, if i drop 3 UI components, 1 input text, then a command button and then an output text, then they are accordingly declared in backing bean. On page load first i/p texts getter gets called, then setter, then command button's and theno/p texts, in these sequence.
    But can i manipulate their sequence of loading. If yes then how it can be possible?

    Answer 1: Getters and Setters in bean normally will be bounded to ui component's properties in jspx page, when jspx page loads these getters get called through introspection and setters gets called when a request is submitted.
    Answer 2: Backing bean and page definition are two different entities and they are no way related unless you have a data control for the backing bean and have bindings for those methods in page definition file
    Answer 3: The sequence of getters and setters depends on the order of the components they bounded to in jspx page. components in jsf page gets loaded from top to bottom so the getter bound to the top component gets called first and the getter bound to bottom component gets called last.
    The only way to change the sequence of getter methods getting called is to just change the order of the components they bound to in jspx page.
    Usually, it is not suggested to put business logic inside getters and setters, where you have action and actionlisteners for the same. If you follow that, you don't need to worry of the sequence of getters and setters execution
    Sireesha

  • Execute ViewObject with Parameters at JSF Page Load?  JSF/ADF/BC 10.1.3

    This 'should' be a simple problem, but I'm not seeing an answer, no doubt because I'm not searching for the right thing.
    I have a page that has a grid populated by a view object that has a couple of named parameters. I have the values stored for the parameters based upon actions the user has already taken before they navigate to this page. I need to pass the parameters to the view object and open the query up without any user intervention, preferable before (or at) page load.
    I see I can drag an 'ExecWithParams' from the data control pallette, but it looks like it would default to having the user enter the parameter values, which is what I'd like to avoid.
    In a previous life I had events available like 'OnCreate' where I'd put code like this, but I'm still learning to think in JSF/Java.

    Ok, now I see how it's supposed to work. Pretty straightforward if you know where to look. It raises another question for me though...
    In my process, I've got the user logging in, at which point a series of user preferences are extracted from the database. My first thought was to store them somehow in the users' session, but I didn't see a way to do that, so I created my own implementation of it with a bunch of getter/setter methods, inside the data model of the project. Unfortunately, I can't see a way to surface them without putting them in the ApplicationModule and adding them to the client interface. In the interim, I came across some utilities methods (written by Steve Muench and Duncan Mills) called ADFJSFUtils and JSFUtils. In the JSFUtils there's this method:
    void storeOnSession(String key, Object object) {
    FacesContext ctx = getFacesContext();
    Map sessionState = ctx.getExternalContext().getSessionMap();
    sessionState.put(key, object);
    I assume it's designed to work in the ViewController project (since I haven't been able to call it from my Model project) .
    This has been a long way to ask: What's the best/recommended way to store variable values for the users' session is a way that I can access them for binding to view objects (as you described above)? I'd love to just implement the storeOnSession right in my appplication module, but it lacks the context, apparently.

  • Problem connecting JSF page with SQL server 2005 DB

    hello guys,
    i have tried working with the visual web JSF in NET BEANS 6.1 IDE.
    i get an error connecting the jsf page witht he sql server 2005 db.
    i get an odbc:jdbc error.
    can anyone gimme the exact correct coding to connect a a jsf page with the sql server 2005 db.
    expecting a reply soon...
    thanks a lot....
    sandeep

    You need to elaborate a bit more about the problem.
    Read this to get more chance on suitable help: [http://www.catb.org/~esr/faqs/smart-questions.html].

  • JSF Page Load

    Is there such thing as a JSF Init Page Load? the same thing that .net has with Page_Load? How do i init the code behind bean?

    @sdechgan
    I had the same problem. What you can do is the following:
    in your Bean you need all your request parameters as properties with getter and setter.
    additionally add a boolan prepare property. Set this to false at the beans constructor : this.prepare = false;
    in your faces config define your bean this way :
    <managed-bean>
            <managed-bean-name>myBean</managed-bean-name>
            <managed-bean-class>org.you.package.beans.myBean</managed-bean-class>
            <managed-bean-scope>request</managed-bean-scope>
            <managed-property>
                 <property-name>requestParam01</property-name>
                 <value>#{param.requestParam01}</value>
             </managed-property>
             <managed-property>
                 <property-name>requestParam02</property-name>
                 <value>#{param.requestParam02}</value>
             </managed-property>
             <managed-property>
                 <property-name>prepare</property-name>
                 <value>true</value>
             </managed-property>
        </managed-bean>in your view add such a single line at the beginning ( right under <f:view... > )
    <h:panelGroup rendered="#{myBean.prepare}" />now, tomcat will execute myBean.getPrepare( )
    this method should look like this :
    public boolean getPrepare()
              if (prepare)
                   //do what you want with your request params. they are already set at this point !
              prepare = false;
             return prepare;
         }after loading the view once, the getPrepare Method is executed and the prepare property is set to false.
    I need that, because getPrepare is loaded at any ajax page reload, too. ( I'm using icefaces )
    access your jsf page with : http:localhost:8080/whatever/myPage.iface?requestParam01=hello&requestParam02=World

  • ADF/JSF page loads when any command button is clicked

    Hello All,
    I am lost in the ADF/JSF page flow (using Jdev 10.1.3). Following are the tags (in order) in my page;
    (WHEN THIS PAGE LOADS, IT GOES TO THE DATABASE TO GET VALUES (for the drop down lists that will appear on the page); THIS SHOULD HAPPEN JUST ONCE AND AT THIS POINT)
    <f:view>
    <afh:body>
    <afh:html>
    <af:form>
    <af:panelpage>
    <f:facet name="contextSwitcher">
    <af:panelHorizontal> has a af:commandLink </af:panelHorizontal>
    </f:facet>
    <f:facet name="messages">
    <af:messages/>
    </f:facet>
    <af:panelform>
    <h:panelGrid columns="2" cellspacing="14">
    has 2 panelgroups (one group has *2 SelectOneChoice lists (that need to be populated by fetching data from database* and the other group has 2 CommandButtons - 'Go' and 'Cancel") (GO BUTTON SETS THE SHOWPANEL() TO TRUE)
    (WHEN GO BUTTON IS CLICKED, THE PAGE GOES TO THE DATABASE (AS IT DID ON PAGE LOAD). *THIS SHOULD NOT BE HAPPENING*. ONLY THE METHOD (action="#{muBean.doWork}" )THAT IS ASSOCIATED WITH GO BUTTON ACTION SHOULD BE CALLED)
    </h:panelGrid>
    <h:panelGrid columns="2" cellspacing="14" rendered="#{myBean.showPanel}"> (THIS ONE IS RENDERED WHEN SHOWPANEL() METHOD IS TRUE)
    has 3 inputText fields
    </h:panelGrid>
    <af:table var="someTable" rendered="#{myBean.showPanel}"> (THIS ONE IS RENDERED WHEN SHOWPANEL() METHOD IS TRUE)
    has a bunch of af:columns
    </af:table>
    <af:panelHorizontal rendered="#{myBean.showPanel}"> (THIS ONE IS RENDERED WHEN SHOWPANEL() METHOD IS TRUE)
    has 3 af:commandButtons - submit, save, add row
    (WHEN submit or save or add row BUTTON IS CLICKED, THE PAGE KIND OF LOADS AND GOES TO THE DATABASE (AS IT DID ON PAGE LOAD). *THIS SHOULD NOT BE HAPPENING*. ONLY THE METHOD THAT IS ASSOCIATED WITH submit/save/add row BUTTON ACTION SHOULD BE CALLED)
    </af:panelHorizontal
    </af:panelForm>
    </af:panelPage>
    <!-- Footer -->
    <jsp:include page="/pages/includes/footer.jspx"/>
    </af:form>
    <f:verbatim>
    <script type="text/javascript" src="../script/tree.js"></script>
    </f:verbatim>
    </afh:body>
    </afh:html>
    </f:view>
    </jsp:root>
    _*why is it that when the command buttons are clicked, the whole page is loaded? Only the methods associated with the action (action="#{newMapRequestItem.addARow}" ) should be called.*_
    _*IS THERE A WAY TO AVOID THIS WITHOUT USING PARTIAL PAGE RENDERING ?*_
    _*DOES MY TAG NESTING LOOK OK?*_
    Edited by: user12054715 on Mar 24, 2010 12:00 PM

    Can somebody please address this?
    Thanks,

  • HTML tag problem in jsf page

    Hello every body .I am newer in jsf.I have used the following segment in my jsf page .Now I want to read value from intl properties file in place of "*********************".How i will do it?plz help me Thanks in advance.
    <t:panelGrid id="guestUserIstallationhelpnotesGrid" columns="1" width="100%" border="0" columnClasses="next" style="align: right !important;"
                   cellpadding="8">
                        <f:verbatim>
                             <table class="tip" cellspacing="0" width="100%" height="50px" border="0">
                                  <tr>
                                       <td class="tip_headline">
                                       </td>
                                  </tr>
                                  <tr>
                                       <td class="tip_text" ></f:verbatim>
                                            <p align="justify">************
                                            </p>
                                       </td>
                                  </tr>
                             </table>
                        </f:verbatim>
                   </t:panelGrid>

    Use the f:loadBundle component.

  • JSF page loading another JSF in iframe from same domain with diff port

    I was wondering if anyone has experienced this issue. I'm using ADF 11g and weblogic 10.3.2. Here's the scenario
    1. two ADF 11g application, app1 and app2
    2. app1 is deployed on managedserver1 running on port 7001
    3. app2 is deployed on managedserver2 running on port 7002
    4. page1 on app1 loads page2 from app2 inside an iframe.
    5. When a button is clicked on page1 that does a ppr or even a complete postback, the following message from the browser appears:
    Because of inactivity, your session has timed out and is no longer active. The page will automatically be reloaded in 10 seconds; if not, click here.
    When i check the log file on managedserver1 its has the following error:
    SEVERE: Could not find saved view state for token <some token>
    I did some research and came across oracle.adf.view.rich.security.FRAME_BUSTING, but this is not the issue here, the iframe loads fine, but after loading when i tried to do something on page1 it seems that the state of the page is messed up.
    Any idea would be helpful.
    Edited by: user8663354 on Jun 20, 2010 7:05 PM

    Hi,
    chances are that the iframe is not isolated as you think it is and the state management of the two overrides each other. I think its best to file a service request with customer support to ensure this scenarion is supposed to work
    Frank

  • Mediation problem with WAS 6.1

    I'm working with SIBus in WAS 6.1 Problem is that medations won't execute when sending messages to destinations. I get this error:
    The handler list MyMediation contains a handler MyMediation, which does not implement the MediationHandler interface
    public class MyMediation implements MediationHandler {
         public boolean handle(MessageContext arg0) throws MessageContextException {
              System.out.println("***********************");
              System.out.println("********MEDIATE********");
              System.out.println("***********************");
                                         //Some other stuff...
              return true;
    }I don't know what I have done wrong. This is a simple java class in EJB project. Here is the ejb-jar.xml
    <ejb-jar id="ejb-jar_ID" version="2.1" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd">
         <display-name>
         TestMediation</display-name>
         <enterprise-beans>
              <session id="MyMediation">
                   <ejb-name>MyMediation</ejb-name>
                   <local-home>test.MyMediationLocalHome</local-home>
                   <local>test.MyMediationLocal</local>
                   <ejb-class>com.ibm.websphere.sib.mediation.handler.ejb.GenericEJBMediationHandlerBean</ejb-class>
                   <session-type>Stateless</session-type>
                   <transaction-type>Container</transaction-type>
                   <env-entry>
                        <env-entry-name>mediation/MediationHandlerClass</env-entry-name>
                        <env-entry-type>java.lang.String</env-entry-type>
                        <env-entry-value>test.MyMediation</env-entry-value>
                   </env-entry>
              </session>
         </enterprise-beans>
         <assembly-descriptor>
              <container-transaction>
                   <method>
                        <ejb-name>MyMediation</ejb-name>
                        <method-intf>Local</method-intf>
                        <method-name>*</method-name>
                   </method>
                   <trans-attribute>Supports</trans-attribute>
              </container-transaction>
         </assembly-descriptor>
    </ejb-jar>

    I also get this authorization error althought I don't have administrator security enabled.
    [12.9.2007 9:15:06:295 EEST] 00000027 WSCredentialT E   SECJ5011E: Could not create default AuthorizationToken during propagation login.  The following exception occurred: java.lang.NullPointerException
         at com.ibm.ws.security.token.WSCredentialTokenMapper$9.run(WSCredentialTokenMapper.java:960)
         at java.security.AccessController.doPrivileged(AccessController.java:242)
         at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:125)
         at com.ibm.ws.security.token.WSCredentialTokenMapper.createAuthzTokenFromWSCredential(WSCredentialTokenMapper.java:955)
         at com.ibm.ws.security.server.lm.wsMapDefaultInboundLoginModule.login(wsMapDefaultInboundLoginModule.java:767)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:615)
         at javax.security.auth.login.LoginContext.invoke(LoginContext.java:795)
         at javax.security.auth.login.LoginContext.access$000(LoginContext.java:209)
         at javax.security.auth.login.LoginContext$4.run(LoginContext.java:709)
         at java.security.AccessController.doPrivileged(AccessController.java:242)
         at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:706)
         at javax.security.auth.login.LoginContext.login(LoginContext.java:603)
         at com.ibm.ws.sib.security.auth.AuthUtilsImpl.getOpaqueAuthorizationToken(AuthUtilsImpl.java:939)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:615)
         at com.ibm.ws.sib.trm.client.CredentialType.<init>(CredentialType.java:133)
         at com.ibm.ws.sib.trm.client.TrmSICoreConnectionFactoryImpl.createConnection(TrmSICoreConnectionFactoryImpl.java:160)
         at com.ibm.ws.sib.webservices.inboundservice.EPLInvoker.getParentSICoreConnection(EPLInvoker.java:397)
         at com.ibm.ws.sib.webservices.inboundservice.EPLInvoker.getNewSICoreConnection(EPLInvoker.java:344)
         at com.ibm.ws.sib.webservices.inboundservice.EPLInvoker.invoke(EPLInvoker.java:1220)
         at com.ibm.ws.sib.webservices.JsDispatcher.processMessage(JsDispatcher.java:226)
         at com.ibm.ws.sib.webservices.JsDispatcher.invoke(JsDispatcher.java:108)
         at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:227)
         at com.ibm.ws.webservices.engine.handlers.jaxrpc.JAXRPCHandler.invoke(JAXRPCHandler.java:152)
         at com.ibm.ws.webservices.engine.handlers.WrappedHandler.invoke(WrappedHandler.java:64)
         at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:227)
         at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:227)
         at com.ibm.ws.webservices.engine.WebServicesEngine.invoke(WebServicesEngine.java:336)
         at com.ibm.ws.webservices.engine.transport.http.WebServicesServlet.doPost(WebServicesServlet.java:739)
         at com.ibm.ws.sib.webservices.transport.http.SIBusGatewayServlet.doPost(SIBusGatewayServlet.java:336)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at com.ibm.ws.webservices.engine.transport.http.WebServicesServletBase.service(WebServicesServletBase.java:341)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:501)
         at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
         at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3252)
         at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:264)
         at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
         at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1439)
         at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:112)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:263)
         at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
         at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
         at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
         at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
         at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
         at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
         at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
         at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
         at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)

  • Problem with WAS's proces list node

    Hi ,
    I have WAS installed on my machine.Whenever we try to deploy applications frequently on WAS its process list node turns out to be yellow.Then again I have to restart that node.I even increased the memory size of my machine.Also currently my machine has 2 GB of RAM.Any solution?
    Kindly advice
    Thanks
    VInay

    Can you find any errors in the trace files? /usr/sap/SID/DV*/work/
    Regards
    Timm

  • JSF page load question

    This is my first app in jsf and getting a very basic problem
    I need to display a grid and few other controls to filter this grid with pre initialization data. The bean I want to be request scope only.
    Now I have initialized my grid data/bean in constructor and I get the required inputs as request paramaters.
    The first time page is getting loading successfully.When I modify any filter crieteria - ajx/non ajax requests - the bean constructor is always called and so the data is also alwayz reinitialized.
    The problem i get is with request parameters, i need to pass them always in every request againand again because all initialization is happening at constructor level and at this point the properties are not bound to the bean.
    Is there any better way to do this in JSF 1.2?

    Use in this way in your JSP. Use the javascript you want use instead of name1().
    <script language="JavaScript" type="text/JavaScript">
    <![CDATA[
    function name1() {
    statement1...
    window.onload = name1;
    ]]>
    </script>

  • Checkbox problem in JSF Page

    Hi Experts,
    I am using Jdeveloper 11.1.2.1.0.I have one tab in my page.In that page i have table dropped on it which is a combination of 3 views.When i check the checkbox some fields should be automatically filled up by the data present in the database.Whenever i uncheck it should not show anything for this i have written one impl class.This scenario works fine when i run app module.But this is not happening when i run the page.When i check the checkbox its showing this error,
    JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-25009. Error message parameters are {0=java.lang.Long, 1=5F000F89D9F548358C6B76AB7ED20467, 2=java.lang.String}
    ADF_FACES-60097:For more information, please see the server's error log for an entry beginning with: ADF_FACES-60096:Server Exception during PPR, #2.
    Please anyone can help me on this problem.
    Edited by: Sri on Mar 21, 2012 12:49 AM
    Edited by: Sri on Mar 21, 2012 12:52 AM

    what you wrote impl.class how did you perform drag and drop operation in jspx/jsff.
    or use any valuchangelisteners.

  • Servlet streaming video to client, problem with Movie not loaded.

    Ok, I am sorry if this question is beyond the scope of Servlets/Java or J2EE but I figured it was worth a shot:
    I have two servlets, one is a very simple class consisting of a doGet which just calls doPost and the doPost which just plucks out a single parameter from the request and prints out some HTML. Here is the code:
         public void doPost(HttpServletRequest request, HttpServletResponse response)
                   throws ServletException, IOException {
              String videoDir = request.getParameter("directoryofvideo");
              response.setContentType("text/html");
              PrintWriter out = response.getWriter();
              if (videoDir==null||videoDir.equals("")||!new File(videoDir).exists()) {
                   out.println("<script type=\"text/javascript\">alert(\"There was an error locating the selected videos\");</script>");
                   //return;
              out.println("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">");
              out.println("<HTML>");
              out.println("  <HEAD><TITLE>A Servlet</TITLE></HEAD>");
              out.println("  <BODY>");*/
              out.println("   <object id=\"player1\" width=\"480\" height=\"360\" data=\"/MyApp/serveUploadedFile?url=//ns20/data3/Video/player_flv_maxi.swf\" type=\"application/x-shockwave-flash\">");
              out.println("    <param value=\"/MyApp/serveUploadedFile?url=//ns20/data3/Video/player_flv_maxi.swf\" name=\"movie\"/>");
              out.println("    <param value=\"true\" name=\"allowFullScreen\"/>");
              out.println("    <param value=\"configxml=/MyApp/serveUploadedFile?url=//ns20/data3/Video/1.xml\" name=\"FlashVars\"/>");
              out.println("   </object>");
              out.println("  </BODY>");
              out.println("</HTML>");
              out.flush();
              out.close();
         }In case that is hard to read, the HTML printed is this:
       <object id="player1" width="480" height="360" data="/MyApp/serveUploadedFile?url=//ns20/data3/Video/player_flv_maxi.swf" type="application/x-shockwave-flash">
        <param value="/MyApp/serveUploadedFile?url=//ns20/data3/Video/player_flv_maxi.swf" name="movie"/>
        <param value="true" name="allowFullScreen"/>
        <param value="configxml=/MyApp/serveUploadedFile?url=//ns20/data3/Video/1.xml" name="FlashVars"/>
       </object>The second servlet, appropriately named: serveUploadedFile, reads in from the file off the file system and streams the data back to the client and I know it works because I can hit /MyApp/serveUploadedFile?url=//ns20/data3/Video/player_flv_maxi.swf and get the swf player but if you'd like to see the code I can copy and paste that in here as well.
    The problem is by page loads blank, all the html is written but in firebug the only thing actually downloaded to the client is the first swf player, and if I right click in the window it says "Movie Not Loaded" on Firefox, IE and Safari. I have a working example of a video that is hosted on our NAS with the exact same HTML (which is where I got that from) except the swf and xml files appear as just their names because they are in the same directory as the index.html.
    Any ideas?
    Thank you so much in advance.

    Also, I realize the parameter is not being used here that is because in order to eliminate possibilities of the problem I hard coded the path into the println statements and I am sure the path and all the files exist as well ;)

Maybe you are looking for

  • Specify Remote Location for PrintWriter (applet question)

    Hello, I am trying to use a Java applet to access a URL, read in its text content, and save it to a file. The applet is run off an online host (our school server) so I made it a signed JAR file so I could access other hosts. However, here is my probl

  • AFAB posting end of the year on period 13 instead of 12

    Hello, I've this request from accounting department. They would like to post depreciation for area 01  on special period 13 instead of 12 and with the following dates: DOCUMENT DATE:  15.04.xx+1   (following year) POSTING DATE: 31.12.xx This because

  • Safari & firefox photo upload hang

    Hopefully someone can point me in the right direction.  On my home computer which is running the most recent upgrade of Leopard and browser software, we recently noticed that when trying to upload photos via Facebook that both Safari and Firefox 'han

  • How do I remove podcasts fom my phone, now that I have the Podcasts app?

    Since "upgrading" to the new OS, my podcasts have moved into their own app. Now for some reason old podcasts appear with ones I currently listen to. I didn't put them on there and I don't know how to get them off. Any suggestions?

  • WebHelp and browsers

    I have RoboHelp 7. My default browser is Chrome. I'm using WebHelp on a Java-based app with context-sensitive Help. First issue: When I click our Help icon on our app, the Help always opens in Explorer. Just in case Chrome isn't supported, I set Fire