Problem in using Tomahawk 1.1.3 jar with jsf-api.jar & jsf-impl.jar

Hi All,
i am facing the problem while using <t:panelTabbedPane> in jsp.APplication has jsf-api.jar and jsf-impl.jar and Tomahawk 1.1.3 jar files in lib folder. This is a Portal Application.While deplyoing on portal server, i am getting following exception
Nested Exception is java.lang.NoClassDefFoundError: javax/servlet/jsp/el/ELException
at org.apache.myfaces.shared_tomahawk.config.MyfacesConfig.<clinit>(MyfacesConfig.java:80).
if any faces problem previously, please help me out in debugging this issue

Please don't resurrect old topics. Start a new topic for each stand alone question. If necessary put links to the topics you found with search/google.
Back to the actual problem:java.lang.NoClassDefFoundError: javax/servlet/jsp/el/ELException The given class is missing in the classpath during runtime. Add that class, or at least the JAR file with that class, to the classpath of the runtime environment, then you're fine.

Similar Messages

  • Is there any problem to use multiple threads to send email with JavaMail

    Dear all,
    I am using JavaMail 1.3.2 to send emails with SMTP, it works very well for a long time.
    But one day, I found that the email service hanged and I could never send email again until I restart the tomcat. I found that the reason was a deadlock had been created, the required resource for sending email had not been released.
    I guess the error is due to multiple threads are sending email at the same time. I made a test to create seperate thread for sending each email. After few days, I found this deadlock happened again. So, my question is: Can I use JavaMail with multiple threads? If not, I may need to sychronized all the thread that using JavaMail. I would like to make sure this is the reason for causing the deadlock problem.
    Here is part of my code for using JavaMail:
    transport = session.getTransport("smtp");
    transport.connect(email_host, smtp_user, smtp_pass);
    message.saveChanges();
    transport.sendMessage(message,message.getAllRecipients());
    which is very standard call, and it worked well for a long time.
    Here is part for my thread dump on tomcat:
    (Thread-339)
    - waiting to lock <0x5447c180> (a sun.nio.cs.StandardCharsets)
    (Thread-342)
    - locked <0x5447c180> (a sun.nio.cs.StandardCharsets)
    It seems that these happened after call the method transport.sendMessage() or message.updateChanges()
    , and the underlying implementation may require the JRE StandardCharsets object. But the object had been locked and never be released. So, the sendMessage() or updateChanges() can't be completed.
    Please give me some helps if you have any idea about it.
    Thanks very much!
    Sirius

    Note that the Nightly build gets updated daily (and sometimes more than once in case of a respin) and it is always possible that something goes wrong and it doesn't work properly, so be prepared for issues if you decide to stay with the Nightly build and make sure to have the current release with its own profile installed as well in case of problems.
    See also:
    * http://kb.mozillazine.org/Testing_pre-release_versions
    *http://kb.mozillazine.org/Creating_a_new_Firefox_profile_on_Windows
    *http://kb.mozillazine.org/Shortcut_to_a_specific_profile
    *http://kb.mozillazine.org/Using_multiple_profiles_-_Firefox

  • Problem when use clientListener on inputText  in table with arrowUp key

    Hello all,
    My problem is related to the thread {thread:id=2305768}
    On a af:table I have one af:inputText with af:clientListener, the type of the clientListener is keyDown.
    I already use it to get the tab key in order to change the focus on the next line and inputText in my table. It's working.
    Code of the af:table (contentDelivery is set to immediate):
    <af:table value="#{bindings.NeedLineView.collectionModel}"
                                var="row" rows="#{bindings.NeedLineView.rangeSize}"
                                emptyText="#{bindings.NeedLineView.viewable ? procurementproposalvcBundle.noData : procurementproposalvcBundle.noAccess }"
                                fetchSize="#{bindings.NeedLineView.rangeSize}"
                                rowBandingInterval="0" id="t1"
                                binding="#{viewScope.procurementProposalDetail.needLinesTable}"
                                rowSelection="single"
                                selectionListener="#{viewScope.procurementProposalDetail.tableSelectionListener}"
                                contentDelivery="immediate">Code of the af:inputText :
    <af:inputText value="#{row.bindings.AmendedNeedTransient.inputValue}"
                                        label="#{bindings.NeedLineView.hints.AmendedNeedTransient.label}"
                                        required="#{bindings.NeedLineView.hints.AmendedNeedTransient.mandatory}"
                                        columns="#{bindings.NeedLineView.hints.AmendedNeedTransient.displayWidth}"
                                        maximumLength="#{bindings.NeedLineView.hints.AmendedNeedTransient.precision}"
                                        shortDesc="#{bindings.NeedLineView.hints.AmendedNeedTransient.tooltip}"
                                        rendered="#{securityContext.userInRole['modifyProcurementProposal']}"
                                        id="it1"
                                        valueChangeListener="#{viewScope.procurementProposalDetail.changeAmendedNeed}"
                                        contentStyle="background-color:#{viewScope.procurementProposalDetail.calculateNeedHaveToBeLaunched ? 'transparent' : 'yellow'}"
                                        autoSubmit="true"
                                        binding="#{viewScope.procurementProposalDetail.amendedNeedInputText}"
                                        disabled="#{viewScope.procurementProposalDetail.calculateNeedHaveToBeLaunched}"
                                        clientComponent="true">
                            <f:validator binding="#{row.bindings.AmendedNeedTransient.validator}"/>
                            <af:convertNumber groupingUsed="false"
                                              pattern="#{bindings.NeedLineView.hints.AmendedNeedTransient.format}"/>
                            <af:serverListener type="onTabPressed"
                                               method="#{viewScope.procurementProposalDetail.onTabPressed}"/>
                            <af:serverListener type="onUpArrowPressed"
                                               method="#{viewScope.procurementProposalDetail.onUpArrowPressed}"/>                                          
                            <af:clientListener type="keyDown" method="handleKeys"/>
                          </af:inputText>Java script Code in the same jsff page :
    <trh:script>
        function handleKeys(event) {
          var TABKEY = 9; // tabulation
          var UPARROWKEY = 38;
          if (event.getKeyCode() == TABKEY) {
            AdfCustomEvent.queue(event.getSource(), "onTabPressed",
            },true);
          } else if (event.getKeyCode() == UPARROWKEY) {
            AdfCustomEvent.queue(event.getSource(), "onUpArrowPressed",
            },true);
        function setFocusId(id) {
         var inputText = AdfPage.PAGE.findComponent(id);
         inputText.focus();  
      </trh:script>As you can see in the code above, I want to do the same thing with the arrow up key, because when user use this key to validate the change on the inputText value, I need to set the focus on the previous line.
    The problem is the following : when I use the arrow up key when the focus was set to the inputText (by the java script function setFocusId), the client listener is not called (I put some traces in the server method), If I just click on the inputText and after use the arrow up key then client listener is called correctly.
    If someone have an idea, because I'm lost
    Best Regards
    Benjamin

    Franck,
    Thanks for your answer, perhaps I don't understand but you tell me.
    My problem is located on the handelKeys function, I've no problem to set the focus correctly.
    The focus is set with the java code below (where setFocusId is a javaScript function)
    FacesContext facesContext = FacesContext.getCurrentInstance();
    ExtendedRenderKitService service = Service.getRenderKitService(facesContext, ExtendedRenderKitService.class);
    StringBuilder script = new StringBuilder();
    script.append("setFocusId('").append(getInputTextId()).append("')");
    service.addScript(facesContext, script.toString());or same result (both are working)
    FacesContext facesContext = FacesContext.getCurrentInstance();
    ExtendedRenderKitService service = Service.getRenderKitService(facesContext, ExtendedRenderKitService.class);
    StringBuilder script = new StringBuilder();
    script.append("var inputText = AdfPage.PAGE.findComponent(\"").append(getInputTextId()).append("\");");
    script.append("inputText.focus();");
    service.addScript(facesContext, script.toString()); What I don't understand in my case is why my handleKeys function is not called when I use the arrow up key after the focus was set by the method above. I have to click on the inputText and then use the arrow up key in order to see that the handleKeys function was called. I don't have this problem with the tab key.
    is it more clear ? sorry for that
    Benjamin
    ps : I will try to use af:resource and get information on this point.

  • Problem in using Oracle BPEL 10.1.2 (beta3) Worklist API

    I'm trying the following simple program but fails. Thanks advance for your help. Here are the codes:
    package test;
    import oracle.tip.pc.api.worklist.IWorklistContext;
    import oracle.tip.pc.infra.exception.PCException;
    import oracle.tip.pc.services.hw.worklist.WorklistService;
    public class TaskTester
    public static void main(String[] args)
    String username="jcooper";
    String password="welcome";
    try
    WorklistService worklistService = WorklistService.getWorklistService();
    IWorklistContext ctx = worklistService.authenticateUser(username,password);
    System.out.println("Success");
    catch (PCException pce)
    pce.printStackTrace();
    System.out.println(pce.toString());
    The following error message is resulted:
    log4j:WARN No appenders could be found for logger (collaxa.cube.services).
    log4j:WARN Please initialize the log4j system properly.
    Warning: Could not locate file pc.properties in classpath
    java.lang.NullPointerException
    at oracle.tip.pc.services.hw.worklist.WorklistService.authenticateUser(WorklistService.java:272)
    at test.TaskTester.main(TaskTester.java:17)
    ORABPEL-10142
    Worklist Service Authenticate User Error.
    An error occured in the Worklist Service while authenticating user jcooper with the identity service.
    Check the error stack and fix the cause of the error. Contact oracle support if error is not fixable.

    It works fine after I port it to a web service. But, there's another problem when I try to call "getWorklistTasks" after "authenticateUser" and the codes are as follows:
    IWorklistContext ctx = worklistService.authenticateUser(userName,password);
    Map filterMap = new HashMap();
    filterMap.put("TaskFilter", "My & Group");
    filterMap.put("PriorityFilter", "Any");
    filterMap.put("StatusFilter", "Assigned");
    filterMap.put("BusinessProcessFilter", "Any");
    List taskList = worklistService.getWorklistTasks(ctx, "", filterMap, "Title", "ASC");
    It resulted that after calling "getWorklistTasks", it hanged and no reply.
    Any idea? Thanks a lot.
    Best Regards,
    Simon.

  • Problems to use Adobe Flash Media Live Encoder with Capture Card PixelView TV-8000GT2

    I want know if Adobe Flash Media Live Encoder have any incompatibility with a PixelView Capture Card, specifically model called TV-8000GT2. And if it can be fixed with a atulization or sothing like that. Nothing more, thanks.

    Moving the discussion to Flash Media Forum.
    Regards,
    Anit Kumar

  • How to use "Data Conflicts Window while Publishing " with TFS API

    This dialog appears in Ms-Excel Addin for TFS .. is there any possibility to use this control in another custom addin application ? 

    Hi Shiraz,
    I don't know what this error window exactly is, but it may be a standard API located in TFS SDK. I'm not sure if you can show this error window control from the TFS API, but I think it's possible if you create a new one from scratch, by using Winform/WPF
    controls in your own add-in application.
    For how to extend the TFS client/server, you need to know the basics of TFS object model, refer to this MSDN documentation for more information:
    Extending Team Foundation
    For example, this code snippet can show the "Connect to TFS server dialog" to you:
    TfsTeamProjectCollection teamCollection;
    var picker = new TeamProjectPicker(TeamProjectPickerMode.SingleProject, false);
    picker.ShowDialog();
    if (picker.SelectedTeamProjectCollection != null && picker.SelectedProjects != null)
    teamCollection = picker.SelectedTeamProjectCollection;
    else
    return;
    You need to add reference to the TFS assemblies into your project.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Trying to use tomahawk and rich faces jar?

    I tried a very simple example to know how to use menu group. These are the following steps:
    1. I opened a web application using Netbeans using JSF as framework.
    2. When I run my application, it worked and welcomeJSF page was displayed.
    3. Then I wanted to a try a sample program. Hence I modified welcomeJSF page as below:
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t" %>
    <%@ taglib uri="http://richfaces.org/rich" prefix="rich" %>
    <f:subview id="menuSubView">
        <h:form>
            <t:panelGrid columns="1" width="50">
                <rich:dropDownMenu value="Menu" direction="bottom-right">
                    <rich:menuItem value="Home" action="home"/>
                    <rich:menuSeparator id="menuSeparator1"/>
                    <rich:menuGroup value="test">
                        <rich:menuGroup value="Library ">
                            <rich:menuItem action="regNewLibrary" value="new"/>
                            <rich:menuItem action="regEditLibrary" value="edit"/>
                        </rich:menuGroup>
                       <rich:menuGroup value="Sample ">
                            <rich:menuItem action="regNewSample" value="new"/>
                            <rich:menuItem action="regEditSample" value="edit"/>
                        </rich:menuGroup>
                        <rich:menuGroup value="search ">
                            <rich:menuItem action="regSearchLibrary" value="library"/>
                            <rich:menuItem action="regSearchSample" value="sample"/>
                        </rich:menuGroup>
                    </rich:menuGroup>
                    <rich:menuSeparator id="menuSeparator2"/>
                    <rich:menuGroup value="test2 ">
                        <rich:menuItem action="testSelectLibrary" value="Load Library"/>
                        <rich:menuItem action="testSeqRequest" value="Seq Request"/>
                    </rich:menuGroup>
                    <rich:menuSeparator id="menuSeparator3"/>
                    <rich:menuItem value="Exit" action=" testing"/>
                </rich:dropDownMenu>
            </t:panelGrid>
        </h:form>
    </f:subview>4. I added tomahawk-1.1.6.jar, richfaces-api-3.1.0.jar, richfaces-impl-3.1.0.jar, richfaces-ui-3.1.0.jar into libraries.
    5. When I run my application, I get an error report as below:
    type Status report
    message /test1/
    description The requested resource (/test1/) is not available.Can anyone tell me what went wrong?

    Yes, I could guess my problem now. My web.xml is as below:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.4" 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/web-app_2_4.xsd">
        <context-param>
            <param-name>contextConfigLocation</param-name>
            <param-value>/WEB-INF/applicationContext.xml</param-value>
        </context-param>
        <context-param>
            <param-name>javax.servlet.jsp.jstl.fmt.localizationContext</param-name>
            <param-value>messages</param-value>
        </context-param>
        <context-param>
            <param-name>com.sun.faces.verifyObjects</param-name>
            <param-value>false</param-value>
        </context-param>
        <context-param>
            <param-name>com.sun.faces.validateXml</param-name>
            <param-value>true</param-value>
        </context-param>
        <context-param>
            <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
            <param-value>client</param-value>
        </context-param>
        <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>/faces/*</url-pattern>
        </servlet-mapping>
        <servlet-mapping>
            <servlet-name>Faces Servlet</servlet-name>
            <url-pattern>*.html</url-pattern>
        </servlet-mapping>  
        <session-config>
            <session-timeout>
                30
            </session-timeout>
        </session-config>
        <welcome-file-list>
            <welcome-file>
                index.jsp
            </welcome-file>
        </welcome-file-list>
    </web-app>When I try to add filter for tomahawk and rich faces as below, I get deployment error.
    <filter>
            <filter-name>extensionsFilter</filter-name>
            <filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
            <init-param>
                <description>Set the size limit for uploaded files.
                    Format: 10 - 10 bytes
                    10k - 10 KB
                    10m - 10 MB
                    1g - 1 GB
                </description>
                <param-name>uploadMaxFileSize</param-name>
                <param-value>100m</param-value>
            </init-param>
            <init-param>
                <description>Set the threshold size - files
                    below this limit are stored in memory, files above
                    this limit are stored on disk.
                    Format: 10 - 10 bytes
                    10k - 10 KB
                    10m - 10 MB
                    1g - 1 GB
                </description>
                <param-name>uploadThresholdSize</param-name>
                <param-value>100k</param-value>
            </init-param>
        </filter>
        <filter-mapping>
            <filter-name>extensionsFilter</filter-name>
            <url-pattern>*.html</url-pattern>
        </filter-mapping>
    <filter>
            <display-name>RichFaces Filter</display-name>
            <filter-name>richfaces</filter-name>
            <filter-class>org.ajax4jsf.Filter</filter-class>
        </filter>
        <filter-mapping>
            <filter-name>richfaces</filter-name>
            <servlet-name>Faces Servlet</servlet-name>
            <dispatcher>REQUEST</dispatcher>
            <dispatcher>FORWARD</dispatcher>
            <dispatcher>INCLUDE</dispatcher>
        </filter-mapping>Anything wrong in the above code?

  • BUG: 11g problem when using orabpel.jar for tasklist page

    Hi,
    Using 11g i created a BC view object to show a BPEL/Workflow tasklist. Using the SOAP_CLIENT method i got this working. When i test my view object with the business component tester it works. When i create a taskflow with a page fragment that has a table based on the view object it is not working. I need to deploy (among others) the orabpel.jar library with the application because my view object implementation depends on it. As soon as i run the application however with the orabpel.jar deployed the browser keeps showing the Loading image but refuses to continue to load. I also do not get any error in the console or the domain and server log files. It looks like there is a problem with some classes in the orabpel.jar that get in the way of weblogic adf libraries.
    Does anybody have experience with 10.1.3 orabpel.jar library in combination with the new 11g weblogic stack? Can i somehow configure class loading in a way that weblogic classes have preference over orabpel.jar classes if they exist? Is there a way to increase logging so i can trace at what point the problem occurs? Any help would be greatly appreciated.
    Kind Regards,
    Andre
    Edited by: AJochems (Redora) on Nov 18, 2008 2:08 PM

    Hi,
    Traced the problem to be related to the use of ADF XML menus. When i remove them the problem disappears. So i have traced the problem although i still do not exactly know what is causing it. Since there are a lot of redundant (probably altered versions) of classes in the orabpel.jar library one of them gets in the way with a weblogic class that is used while rendering the ADF Menu. The problem should be reproducible if you create a menu based on the model of an adf menu and add the orabpel.jar to your deployment.
    Kind Regards,
    Andre

  • Problem in using InitialContext to do a lookup of CMP EnitityBean.

    Hi,
    I am running WLS 5.1 SP6 on Windows98. I am trying to lookup a CMP entiry bean from
    Java 1.3 client. I can successfully create the InitialContext but having trouble in using it to do the lookup. I get the following error:
    jndiContext is javax.naming.InitialContext@61f24(This is line is the result of println : see code)
    javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
    at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
    at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
    at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source)
    at javax.naming.InitialContext.lookup(Unknown Source)
    at com.titan.cabin.Client_1.main(Client_1.java:21)
    My code of the Java 1.3 client is as follows:
    package com.titan.cabin;
    import com.titan.cabin.CabinHome;
    import com.titan.cabin.Cabin;
    import com.titan.cabin.CabinPK;
    import javax.naming.InitialContext;
    import javax.naming.Context;
    import javax.naming.NamingException;
    import java.rmi.RemoteException;
    import java.util.Properties;
    import java.util.Hashtable;
    public class Client_1 {
    public static void main(String [] args){
    try {
    InitialContext jndiContext = getWeblogicInitialContext();
    System.out.println("jndiContext is " + jndiContext);
    CabinHome home = (CabinHome)(jndiContext.lookup("CabinHome"));
    Cabin cabin_1 = home.create(1);
    System.out.println("created it!");
    cabin_1.setName("Master Suite");
    cabin_1.setDeckLevel(1);
    cabin_1.setShip(1);
    cabin_1.setBedCount(3);
    CabinPK pk = new CabinPK();
    pk.id = 1;
    System.out.println("keyed it! ="+ pk);
    Cabin cabin_2 = home.findByPrimaryKey(pk);
    System.out.println("found by key! ="+ cabin_2);
    System.out.println(cabin_2.getName());
    System.out.println(cabin_2.getDeckLevel());
    System.out.println(cabin_2.getShip());
    System.out.println(cabin_2.getBedCount());
    } catch (java.rmi.RemoteException re){re.printStackTrace();}
    catch (javax.naming.NamingException ne){ne.printStackTrace();}
    catch (javax.ejb.CreateException ce){ce.printStackTrace();}
    catch (javax.ejb.FinderException fe){fe.printStackTrace();}
    public static InitialContext getWeblogicInitialContext()
    throws javax.naming.NamingException {
    InitialContext ctx = null;
    Hashtable ht = new Hashtable();
    ht.put(Context.INITIAL_CONTEXT_FACTORY, weblogic.jndi.WLInitialContextFactory.class.getName());
    ht.put(Context.PROVIDER_URL, "t3://localhost:7001");
    ht.put(Context.SECURITY_PRINCIPAL, "system");
    ht.put(Context.SECURITY_CREDENTIALS, new weblogic.common.T3User("system", "askpanch"));
    try {
    ctx = new InitialContext(ht);
    // Use the context in your program
    catch (NamingException e) {
    System.out.println("InitialContext could not be created");
    System.out.println("The explanation is " + e.getExplanation());
    e.printStackTrace();
    // a failure occurred
    finally {
    try {ctx.close();}
    catch (Exception e) {
    // a failure occurred
    return ctx;
    The message printed by System.out.println shows that InitialContext is created but exception is thrown when it is used by the lookup method.
    My classpath is as follows:
    CLASSPATH=C:\VisualCafeEE\Java\Lib\ERADPUBLIC.JAR;C:\VisualCafeEE\Java\Lib\servlet.jar;C:\VisualCafeEE\Java\Lib\server.jar;C:\VisualCafeEE\Bin\Components\templa
    tes.jar;C:\VisualCafeEE\Java\Lib\javax_ejb.ZIP;C:\VisualCafeEE\Java\Lib\jndi.jar;C:\VisualCafeEE\Bin\Components\vcejbwl.jar;C:\VisualCafeEE\Bin\sb;C:\VisualCafe
    EE\Bin\sb\classes\sb.jar;.;;C:\VisualCafeEE\Java\Lib;C:\VisualCafeEE\Java\Lib\SYMCLASS.ZIP;C:\VisualCafeEE\Java\Lib\CLASSES.ZIP;C:\VisualCafeEE\Java\Lib\COLLECT
    IONS.ZIP;C:\VisualCafeEE\Java\Lib\ICEBROWSERBEAN.JAR;C:\VisualCafeEE\Java\Lib\SYMTOOLS.JAR;C:\VisualCafeEE\JFC\SWINGALL.JAR;C:\VisualCafeEE\Bin\Components\SFC.J
    AR;C:\VisualCafeEE\Bin\Components\SYMBEANS.JAR;C:\VisualCafeEE\Java\Lib\DBAW.ZIP;C:\VisualCafeEE\Bin\Components\DBAW_AWT.JAR;C:\VisualCafeEE\Bin\Components\Data
    bind.JAR;C:\VisualCafeEE\Java\Lib\ERADTOOLS.JAR;;C:\IBMVJava\eab\runtime30;C:\IBMVJava\eab\runtime20;;.;c:\Weblogic\classes;c:\weblogic\lib\weblogicaux.jar
    Any help to solove this problem from anybody is greatly appreciated. I am including some other related articles in this newsgroup for your ready reference(see below).
    Thanks a lot,
    Ashok Pancharya
    Email: [email protected]
    Sounds like your WL config is a bit different, perhaps a classpath issue or
    a missing .properties file or a different command line. For whatever
    reason, the factory does not know what class is supposed to be used as the
    initial context.
    Peace.
    Cameron Purdy
    [email protected]
    http://www.tangosol.com
    WebLogic Consulting Available
    "Chris Solar" <[email protected]> wrote in message
    news:[email protected]...
    Hi-
    I'm running WLS 5.1 on NT 4.0 (SP6).
    For some reason, I'm unable to use the default
    constructor to get an initial context. That is,
    if I try:
    InitialContext ctx = new InitialContext();
    I get a NoInitialContextException, as in:
    "Need to specify class name in environment or system
    property, or as an applet parameter, or in an application
    resource file: java.naming.factory.initial"
    This does not happen if I pass in a HashTable or Properties
    object containing a value for the initial context factory
    (even if it's just weblogic.jndi.WLInitialContextFactory).
    Colleagues of mine seem to be able to use
    the defaut constructor without any problems.
    What am I missing?
    -Chris.

    Thanks Gene. Good solution. I could solve the problem which is explained in my another article posted just before a minute you posted this response.
    Thanks again.
    Ashok Pancharya
    "Gene Chuang" <[email protected]> wrote:
    According to your getWeblogicInitialContext(), you are putting ctxt.close() in a finally block,
    which will always get executed, and then returning ctxt. Don't think you can do any lookups with a
    closed Context.
    Gene Chuang
    Join Kiko.com!
    "Ashok Pancharya" <[email protected]> wrote in message news:[email protected]...
    Hi,
    I am running WLS 5.1 SP6 on Windows98. I am trying to lookup a CMP entiry bean from
    Java 1.3 client. I can successfully create the InitialContext but having trouble in using it todo the lookup. I get the following error:
    jndiContext is javax.naming.InitialContext@61f24(This is line is the result of println : see code)
    javax.naming.NoInitialContextException: Need to specify class name in environment or systemproperty, or as an applet parameter, or in an application resource file:
    java.naming.factory.initial
    at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
    at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
    at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source)
    at javax.naming.InitialContext.lookup(Unknown Source)
    at com.titan.cabin.Client_1.main(Client_1.java:21)
    My code of the Java 1.3 client is as follows:
    package com.titan.cabin;
    import com.titan.cabin.CabinHome;
    import com.titan.cabin.Cabin;
    import com.titan.cabin.CabinPK;
    import javax.naming.InitialContext;
    import javax.naming.Context;
    import javax.naming.NamingException;
    import java.rmi.RemoteException;
    import java.util.Properties;
    import java.util.Hashtable;
    public class Client_1 {
    public static void main(String [] args){
    try {
    InitialContext jndiContext = getWeblogicInitialContext();
    System.out.println("jndiContext is " + jndiContext);
    CabinHome home = (CabinHome)(jndiContext.lookup("CabinHome"));
    Cabin cabin_1 = home.create(1);
    System.out.println("created it!");
    cabin_1.setName("Master Suite");
    cabin_1.setDeckLevel(1);
    cabin_1.setShip(1);
    cabin_1.setBedCount(3);
    CabinPK pk = new CabinPK();
    pk.id = 1;
    System.out.println("keyed it! ="+ pk);
    Cabin cabin_2 = home.findByPrimaryKey(pk);
    System.out.println("found by key! ="+ cabin_2);
    System.out.println(cabin_2.getName());
    System.out.println(cabin_2.getDeckLevel());
    System.out.println(cabin_2.getShip());
    System.out.println(cabin_2.getBedCount());
    } catch (java.rmi.RemoteException re){re.printStackTrace();}
    catch (javax.naming.NamingException ne){ne.printStackTrace();}
    catch (javax.ejb.CreateException ce){ce.printStackTrace();}
    catch (javax.ejb.FinderException fe){fe.printStackTrace();}
    public static InitialContext getWeblogicInitialContext()
    throws javax.naming.NamingException {
    InitialContext ctx = null;
    Hashtable ht = new Hashtable();
    ht.put(Context.INITIAL_CONTEXT_FACTORY,weblogic.jndi.WLInitialContextFactory.class.getName());
    ht.put(Context.PROVIDER_URL, "t3://localhost:7001");
    ht.put(Context.SECURITY_PRINCIPAL, "system");
    ht.put(Context.SECURITY_CREDENTIALS, new weblogic.common.T3User("system", "askpanch"));
    try {
    ctx = new InitialContext(ht);
    // Use the context in your program
    catch (NamingException e) {
    System.out.println("InitialContext could not be created");
    System.out.println("The explanation is " + e.getExplanation());
    e.printStackTrace();
    // a failure occurred
    finally {
    try {ctx.close();}
    catch (Exception e) {
    // a failure occurred
    return ctx;
    The message printed by System.out.println shows that InitialContext is created but exception isthrown when it is used by the lookup method.
    My classpath is as follows:
    CLASSPATH=C:\VisualCafeEE\Java\Lib\ERADPUBLIC.JAR;C:\VisualCafeEE\Java\Lib\servlet.jar;C:\VisualCafe
    EE\Java\Lib\server.jar;C:\VisualCafeEE\Bin\Components\templa
    >
    tes.jar;C:\VisualCafeEE\Java\Lib\javax_ejb.ZIP;C:\VisualCafeEE\Java\Lib\jndi.jar;C:\VisualCafeEE\Bin
    \Components\vcejbwl.jar;C:\VisualCafeEE\Bin\sb;C:\VisualCafe
    >
    EE\Bin\sb\classes\sb.jar;.;;C:\VisualCafeEE\Java\Lib;C:\VisualCafeEE\Java\Lib\SYMCLASS.ZIP;C:\Visual
    CafeEE\Java\Lib\CLASSES.ZIP;C:\VisualCafeEE\Java\Lib\COLLECT
    >
    IONS.ZIP;C:\VisualCafeEE\Java\Lib\ICEBROWSERBEAN.JAR;C:\VisualCafeEE\Java\Lib\SYMTOOLS.JAR;C:\Visual
    CafeEE\JFC\SWINGALL.JAR;C:\VisualCafeEE\Bin\Components\SFC.J
    >
    AR;C:\VisualCafeEE\Bin\Components\SYMBEANS.JAR;C:\VisualCafeEE\Java\Lib\DBAW.ZIP;C:\VisualCafeEE\Bin
    \Components\DBAW_AWT.JAR;C:\VisualCafeEE\Bin\Components\Data
    >
    bind.JAR;C:\VisualCafeEE\Java\Lib\ERADTOOLS.JAR;;C:\IBMVJava\eab\runtime30;C:\IBMVJava\eab\runtime20
    ;;.;c:\Weblogic\classes;c:\weblogic\lib\weblogicaux.jar
    Any help to solove this problem from anybody is greatly appreciated. I am including some otherrelated articles in this newsgroup for your ready reference(see below).
    Thanks a lot,
    Ashok Pancharya
    Email: [email protected]
    Sounds like your WL config is a bit different, perhaps a classpath issue or
    a missing .properties file or a different command line. For whatever
    reason, the factory does not know what class is supposed to be used as the
    initial context.
    Peace.
    Cameron Purdy
    [email protected]
    http://www.tangosol.com
    WebLogic Consulting Available
    "Chris Solar" <[email protected]> wrote in message
    news:[email protected]...
    Hi-
    I'm running WLS 5.1 on NT 4.0 (SP6).
    For some reason, I'm unable to use the default
    constructor to get an initial context. That is,
    if I try:
    InitialContext ctx = new InitialContext();
    I get a NoInitialContextException, as in:
    "Need to specify class name in environment or system
    property, or as an applet parameter, or in an application
    resource file: java.naming.factory.initial"
    This does not happen if I pass in a HashTable or Properties
    object containing a value for the initial context factory
    (even if it's just weblogic.jndi.WLInitialContextFactory).
    Colleagues of mine seem to be able to use
    the defaut constructor without any problems.
    What am I missing?
    -Chris.

  • How to use other jar with my executable

    Hello everybody
    I'm developing project in JBuilder which uses BC library "bcprov-jdk15-137.jar" This jar I got in reguired libraries section and it work fine in case that I run my application through JBuilder. Now I created executable jar file for my application but it works wrong. I don't know what dependencies shall I setup in JBuilder
    Can somebody help how can I run my application from jar file and I will use BC lilbrary without problem ?.
    What all shall I setup for correct work ?
    Thanks

    Hello
    I created new project(Frame application) in JBuilder 2006, Im using mentioned library therefore I put it into reguired libraries in project setting. When I run application through JBuilder (F9) it works fine.
    Now I would create executable jar file from my project, which will use this mentioned library. My project has one class CMTModule.class with main function. I created jar file via achrive wizard(AppletJAR). There are options of dependency rules in this wizard, so I choose Includes dependencies. Then I created manifest file and insert this item Main-Class: cmt.CMTModule.
    My application start but works wrong , I mean that there is problem with necessary library is not imported. How can I set up it in order to my executable jar can use this library without problems, because in JBuilder all works fine.
    What's is wrong ?
    Thanks

  • Problem in using MySQL in JSF Pages

    Hi,
    I am facing a problem regarding use of MySQL in JSF.
    I am using IBM RAD 6.0 for application developement.
    Previously creating a normal java application which is used of retrieval of the data from the database was working fine. by including j/connector jar file in java build path.
    But when same program is converted to web service and accessed through a JSF page using a managed bean it is not working. It throws classNotFoundException
    Please reply at your earliest.
    Thanks in advance.
    Regards,
    Amit
    code :-
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    public class BeanClass
         public String display()
              Connection conn = null;
              Statement stmt = null;
              ResultSet rs = null;
              String returnDate = "";
              try
                   Class.forName("com.mysql.jdbc.Driver").newInstance();
                   System.out.println("Sucess");
                   conn=DriverManager.getConnection("jdbc:mysql://localhost/switching","root","pspl");
                   System.out.println("Sucess******");
                   stmt = conn.createStatement();
                   System.out.println("Sucess^^^^^^^^^");
                   rs = stmt.executeQuery("SELECT * FROM log1 where senderId = '008' ");
                   System.out.println("Sucess#########");
                   while(rs.next())
                        System.out.println("Date : " + rs.getString("expDate"));
                        returnDate = rs.getString("expDate");
                   System.out.println("Final success");     
                   System.out.println("Sucess@@@@@@@@@@@@@@@@");
              }catch(ClassNotFoundException cnfe)
                   System.err.println("Drivers not found " + cnfe.toString());
                   cnfe.printStackTrace();
              catch(IllegalAccessException iae)
                   System.err.println("Access Exception");
              catch(InstantiationException ie)
                   System.err.println("Instatiation Exception");
              catch(SQLException se)
                   System.err.println("SQL EXCEPTION");
                   se.printStackTrace();
              System.out.println("Date is = " + returnDate);
              return returnDate;
    Errors are :-
    [5/3/06 10:47:33:358 IST] 00000061 SystemErr R java.lang.ClassNotFoundException: com.mysql.jdbc.Driver     at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code))
         at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java(Compiled Code))
         at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
         at java.lang.Class.forName1(Native Method)
         at java.lang.Class.forName(Class.java(Compiled Code))
         at packBean.BeanClass.display(BeanClass.java:29)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
         at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
         at com.ibm.ws.webservices.engine.dispatchers.java.JavaDispatcher.invokeMethod(JavaDispatcher.java:178)
         at com.ibm.ws.webservices.engine.dispatchers.java.JavaDispatcher.invokeOperation(JavaDispatcher.java:141)
         at com.ibm.ws.webservices.engine.dispatchers.SoapRPCProcessor.processRequestResponse(SoapRPCProcessor.java:423)
         at com.ibm.ws.webservices.engine.dispatchers.SoapRPCProcessor.processMessage(SoapRPCProcessor.java:388)
         at com.ibm.ws.webservices.engine.dispatchers.BasicDispatcher.processMessage(BasicDispatcher.java:134)
         at com.ibm.ws.webservices.engine.dispatchers.java.SessionDispatcher.invoke(SessionDispatcher.java:203)
         at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:225)
         at com.ibm.ws.webservices.engine.handlers.jaxrpc.JAXRPCHandler.invoke(JAXRPCHandler.java:151)
         at com.ibm.ws.webservices.engine.handlers.WrappedHandler.invoke(WrappedHandler.java:64)
         at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:225)
         at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:225)
         at com.ibm.ws.webservices.engine.WebServicesEngine.invoke(WebServicesEngine.java:279)
         at com.ibm.ws.webservices.engine.transport.http.WebServicesServlet.doPost(WebServicesServlet.java:717)
         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:1282)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:673)
         at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:80)
         at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1802)
         at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:84)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:469)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:408)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:286)
         at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:201)
         at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:103)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java(Compiled Code))
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled Code))
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java(Compiled Code))
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java(Compiled Code))
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))

    You have to put myfaces jar on the web-inf/lib

  • Problem in using Constant(DYNAMIC_SOAP_PROTOCOL) from SOAPConstants

    Hi guys,
    i am trying to send and receive the SOAP messages between client and server using JMS API
    But i am getting the problem in SOAP version.
    so tried the following code,
    MessageFactory mf = MessageFactory.newInstance(SOAPConstants.DYNAMIC_SOAP_PROTOCOL);
    But this one is giving the following error,
    cannot find symbol:
    symbol : variable DYNAMIC_SOAP_PROTOCOL
    location: interface javax.xml.soap.SOAPConstants
    MessageFactory mf = MessageFactory.newInstance(SOAPConstants.DYNAMIC_SOAP_PROTOCOL);
    1 error
    BUILD FAILED (total time: 0 seconds)
    i am getting the same error for SOAP_1_1_PROTOCOL & SOAP_1_2_PROTOCOL.
    I am using the saaj-api-1.3 SCREENSHOT.jar and saaj-impl-1.3.jar
    can any one help me for this issue
    thanks in advance.
    Subbu

    Little more information about your problem would be helpfull.

  • Error in using the apache jars with jsf-ibm jars

    Hi,
    I am doing an application which needs apache jars for implementing the custom component(calendar).The WEB-INF/lib folder contain the jsf-api,jsf-impl jars along with the myfaces and tomahawk jars.When i tried to run the server i am getting the following error
    [03/10/07 12:16:53:544 BST] 0000003a ServletWrappe E SRVE0100E: Did not realize init() exception thrown by servlet Faces Servlet: java.lang.NullPointerException
    at javax.faces.webapp.FacesServlet.init(FacesServlet.java:144)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:262)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:444)
    at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2837)
    at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220)
    at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1681)
    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:276)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:201)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:103)
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java(Compiled Code))
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled Code))
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java(Compiled Code))
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java(Compiled Code))
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
    [03/10/07 12:16:53:841 BST] 0000003a WebApp E SRVE0026E: [Servlet Error]-[Faces Servlet]: java.lang.NullPointerException
    at javax.faces.webapp.FacesServlet.init(FacesServlet.java:144)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:262)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:444)
    at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2837)
    at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220)
    at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1681)
    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:276)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:201)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:103)
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java(Compiled Code))
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled Code))
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java(Compiled Code))
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java(Compiled Code))
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
    **Could u suggest a solution for using the apache jars**

    Hi,
    I am using RAD 6.0. When i tried to redeploy and publish the project i am getting the given error. Provided that i have added apache jars and jsf jars to the WEB-INF/lib directory.
    [04/10/07 09:29:36:911 BST] 00000032 WorkSpaceMana A WKSP0023I: Workspace configuration consistency check is enabled.
    [04/10/07 09:29:38:161 BST] 00000032 SystemOut O null, false, 0
    [04/10/07 09:29:38:177 BST] 00000032 WorkSpaceMana A WKSP0023I: Workspace configuration consistency check is enabled.
    [04/10/07 09:29:38:411 BST] 00000032 SystemOut O /C:/Program Files/IBM/Rational/SDP/6.0/runtimes/base_v6/properties/version.properties, false, 1174477509484
    [04/10/07 09:29:38:442 BST] 00000102 SystemOut O The tasks are: [com.ibm.ws.management.application.task.DeleteSIEntryTask, com.ibm.ws.management.application.task.DeleteAppConfigTask]
    [04/10/07 09:29:38:536 BST] 00000102 SystemOut O ADMA6018I: The node-server relationship for this application is {cells/W-GHO-043723Node01Cell/nodes/W-GHO-043723Node01=[cells/W-GHO-043723Node01Cell/nodes/W-GHO-043723Node01/servers/server1]}
    [04/10/07 09:29:38:567 BST] 00000102 SystemOut O ADMA6021I: Removing the serverindex entry for TestProjectEAR.ear/deployments/TestProjectEAR for server server1 on node W-GHO-043723Node01, and the return code is true
    [04/10/07 09:29:39:052 BST] 000000f1 SystemOut O /C:/Program Files/IBM/Rational/SDP/6.0/runtimes/base_v6/properties/version.properties, false, 1174477509484
    [04/10/07 09:29:39:052 BST] 00000105 SystemOut O ================== W-GHO-043723Node01Cell
    [04/10/07 09:29:39:114 BST] 00000105 SystemOut O ADMA6010I: The tasks are [com.ibm.ws.webservices.deploy.WSDeployTask, com.ibm.websphere.migration.common.ApplicationInstallTask, com.ibm.websphere.migration.common.ApplicationInstallServlet12Task, com.ibm.ws.management.application.task.ValidateAppTask, com.ibm.ws.management.application.task.ConfigureTask, com.ibm.ws.management.application.task.InstalledOptionalPackageTask, com.ibm.ws.management.application.task.MetadataTask, com.ibm.ws.management.application.task.BackupAppTask, com.ibm.ws.management.application.task.ConfigArchiveTask, com.ibm.ws.management.application.task.DeltaDataTask, com.ibm.ws.appprofile.AppProfileInstallTask, com.ibm.ws.security.authorize.JaccServerTask]
    [04/10/07 09:29:39:255 BST] 00000106 WorkSpaceMana A WKSP0023I: Workspace configuration consistency check is disabled.
    [04/10/07 09:29:39:302 BST] 00000105 SystemOut O App validation: 0
    [04/10/07 09:29:39:427 BST] 00000106 WorkSpaceMana A WKSP0023I: Workspace configuration consistency check is disabled.
    [04/10/07 09:29:39:473 BST] 00000105 SystemOut O ADMA6017I: The document C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/profiles/default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR/deployment.xml is saved.
    [04/10/07 09:29:39:473 BST] 00000105 SystemOut O saved res: C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/profiles/default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR/deployment.xml=== com.ibm.ws.sm.workspace.migration.WSResourceImpl@2cbcb698 uri='deployment.xml'
    [04/10/07 09:29:39:489 BST] 00000106 WorkSpaceMana A WKSP0023I: Workspace configuration consistency check is disabled.
    [04/10/07 09:29:39:505 BST] 00000105 SystemOut O ADMA6017I: The document C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/profiles/default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR/variables.xml is saved.
    [04/10/07 09:29:39:505 BST] 00000105 SystemOut O saved res: C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/profiles/default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR/variables.xml=== com.ibm.ws.sm.workspace.migration.WSResourceImpl@6be17698 uri='variables.xml'
    [04/10/07 09:29:39:567 BST] 00000105 SystemOut O ADMA6017I: The document C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/profiles/default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR/resources.xml is saved.
    [04/10/07 09:29:39:567 BST] 00000105 SystemOut O saved res: C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/profiles/default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR/resources.xml=== com.ibm.ws.sm.workspace.migration.WSResourceImpl@77d23698 uri='resources.xml'
    [04/10/07 09:29:39:567 BST] 00000105 SystemOut O ADMA6018I: The node-server relationship for this application is {cells/W-GHO-043723Node01Cell/nodes/W-GHO-043723Node01=[cells/W-GHO-043723Node01Cell/nodes/W-GHO-043723Node01/servers/server1]}
    [04/10/07 09:29:39:567 BST] 00000105 SystemOut O ADMA6020I: The system is adding the serverindex entry for cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deployments/TestProjectEAR for server server1 on node W-GHO-043723Node01
    [04/10/07 09:29:39:598 BST] 00000105 SystemOut O ADMA6017I: The document C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6\profiles\default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR\META-INF/.modulemaps is saved.
    [04/10/07 09:29:39:598 BST] 00000105 SystemOut O ADMA6016I: Add to workspace META-INF/.modulemaps
    [04/10/07 09:29:39:598 BST] 00000105 SystemOut O ADMA6017I: The document C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6\profiles\default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR\META-INF/application.xml is saved.
    [04/10/07 09:29:39:598 BST] 00000105 SystemOut O ADMA6016I: Add to workspace META-INF/application.xml
    [04/10/07 09:29:39:645 BST] 00000105 SystemOut O ADMA6017I: The document C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6\profiles\default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR\TestProject.war\META-INF/MANIFEST.MF is saved.
    [04/10/07 09:29:39:645 BST] 00000105 SystemOut O ADMA6016I: Add to workspace TestProject.war/META-INF/MANIFEST.MF
    [04/10/07 09:29:39:645 BST] 00000105 SystemOut O ADMA6017I: The document C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6\profiles\default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR\TestProject.war\WEB-INF/faces-config.xml is saved.
    [04/10/07 09:29:39:645 BST] 00000105 SystemOut O ADMA6016I: Add to workspace TestProject.war/WEB-INF/faces-config.xml
    [04/10/07 09:29:39:645 BST] 00000105 SystemOut O ADMA6017I: The document C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6\profiles\default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR\TestProject.war\WEB-INF/ibm-web-bnd.xmi is saved.
    [04/10/07 09:29:39:645 BST] 00000105 SystemOut O ADMA6016I: Add to workspace TestProject.war/WEB-INF/ibm-web-bnd.xmi
    [04/10/07 09:29:39:645 BST] 00000105 SystemOut O ADMA6017I: The document C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6\profiles\default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR\TestProject.war\WEB-INF/ibm-web-ext.xmi is saved.
    [04/10/07 09:29:39:645 BST] 00000105 SystemOut O ADMA6016I: Add to workspace TestProject.war/WEB-INF/ibm-web-ext.xmi
    [04/10/07 09:29:39:661 BST] 00000105 SystemOut O ADMA6017I: The document C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6\profiles\default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR\TestProject.war\WEB-INF/web.xml is saved.
    [04/10/07 09:29:39:661 BST] 00000105 SystemOut O ADMA6016I: Add to workspace TestProject.war/WEB-INF/web.xml
    [04/10/07 09:29:39:661 BST] 00000105 SystemOut O ADMA5037I: The system is starting to back up the application at C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/profiles/default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear
    [04/10/07 09:29:41:598 BST] 00000105 SystemOut O ADMA5038I: The system Completed the backup of the application at C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/profiles/default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\TestProjectEAR.ear
    [04/10/07 09:29:42:130 BST] 00000106 WorkSpaceMana A WKSP0023I: Workspace configuration consistency check is disabled.
    [04/10/07 09:29:42:333 BST] 00000105 SystemOut O xmlDoc: [#document: null]
    [04/10/07 09:29:42:333 BST] 00000105 SystemOut O root element: [app-delta: null]
    [04/10/07 09:29:42:333 BST] 00000105 SystemOut O ****** delta file name: C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/profiles/default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear/deltas/TestProjectEAR.ear/delta-1191486582333
    [04/10/07 09:29:42:598 BST] 00000105 SystemOut O ADMA6011I: Deleting directory tree C:\DOCUME~1\i81322\LOCALS~1\Temp\app_1156a22616c
    [04/10/07 09:29:45:630 BST] 000000f1 ApplicationMg A WSVR0217I: Stopping application: TestProjectEAR
    [04/10/07 09:29:45:708 BST] 000000f1 ApplicationMg A WSVR0220I: Application stopped: TestProjectEAR
    [04/10/07 09:29:45:880 BST] 000000f1 SystemOut O ++++ Stopped : [WebSphere:platform=dynamicproxy,cell=W-GHO-043723Node01Cell,version=6.0.0.0,name=ApplicationManager,mbeanIdentifier=ApplicationManager,type=ApplicationManager,node=W-GHO-043723Node01,process=server1]
    [04/10/07 09:29:46:083 BST] 000000f1 SystemOut O ++++ Starting name=TestProjectEAR
    [04/10/07 09:29:46:145 BST] 000000f1 ApplicationMg A WSVR0200I: Starting application: TestProjectEAR
    [04/10/07 09:29:46:817 BST] 000000f1 ResourceMgrIm I WSVR0049I: Binding DefaultEJBTimerDataSource as jdbc/DefaultEJBTimerDataSource
    [04/10/07 09:29:46:833 BST] 000000f1 WebGroup A SRVE0169I: Loading Web Module: TestProject.
    [04/10/07 09:29:47:130 BST] 000000f1 WebApp E Extension processor failed to initialize in factory: com.ibm.ws.jsp.webcontainerext.JSPExtensionFactory@5e0e36db
    [04/10/07 09:29:47:161 BST] 000000f1 jsf E com.ibm.ws.jsf.util.FacesConfigUtil parseJSFApplicationConfig Can't parse configuration file:wsjar:file:/C:/i81322/ApacheTest/TestProject/WebContent/WEB-INF/lib/tomahawk-1.1.6.jar!/META-INF/faces-config.xml
    java.lang.NullPointerException
         at org.apache.xerces.impl.XMLEntityManager$RewindableInputStream.read(Unknown Source)
         at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
         at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
         at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source)
         at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
         at javax.xml.parsers.SAXParser.parse(Unknown Source)
         at javax.xml.parsers.SAXParser.parse(Unknown Source)
         at com.ibm.ws.jsf.configuration.FacesConfigParser.parse(FacesConfigParser.java:279)
         at com.ibm.ws.jsf.configuration.FacesConfigParser.parse(FacesConfigParser.java:253)
         at com.ibm.ws.jsf.util.FacesConfigUtil.parseJSFApplicationConfig(FacesConfigUtil.java:202)
         at com.ibm.ws.jsf.util.FacesConfigUtil._parseJSFConfiguration(FacesConfigUtil.java:122)
         at com.ibm.ws.jsf.util.FacesConfigUtil.parseJSFConfiguration(FacesConfigUtil.java:82)
         at com.sun.faces.util.Util.verifyFactoriesAndInitDefaultRenderKit(Util.java:465)
         at com.ibm.ws.jsf.configuration.FacesConfig.initialize(FacesConfig.java:96)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:83)
         at com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:1355)
         at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:371)
         at com.ibm.ws.webcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:114)
         at com.ibm.ws.webcontainer.VirtualHost.addWebApplication(VirtualHost.java:127)
         at com.ibm.ws.webcontainer.WebContainer.addWebApp(WebContainer.java:776)
         at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:729)
         at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:140)
         at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:360)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1019)
         at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1028)
         at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:538)
         at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:724)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:683)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:1161)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
         at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
         at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java(Compiled Code))
         at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java(Compiled Code))
         at mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBeanServerInterceptor.java(Compiled Code))
         at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java(Inlined Compiled Code))
         at mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityMBeanServerInterceptor.java(Compiled Code))
         at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java(Compiled Code))
         at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java(Inlined Compiled Code))
         at mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke(ContextClassLoaderMBeanServerInterceptor.java(Compiled Code))
         at mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java(Compiled Code))
         at com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java(Compiled Code))
         at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java(Compiled Code))
         at com.ibm.ws.management.application.sync.StartDeploymentTask.startDeployment(StartDeploymentTask.java:196)
         at com.ibm.ws.management.application.sync.StartDeploymentTask.fullAppUpdate(StartDeploymentTask.java:92)
         at com.ibm.ws.management.application.sync.StartDeploymentTask.performTask(StartDeploymentTask.java:81)
         at com.ibm.ws.management.application.sync.AppBinaryProcessor$AppBinThread.run(AppBinaryProcessor.java:631)
         at com.ibm.ws.management.application.sync.AppBinaryProcessor.postProcess(AppBinaryProcessor.java:408)
         at com.ibm.ws.management.application.sync.AppBinaryProcessor._onChangeCompletion(AppBinaryProcessor.java:330)
         at com.ibm.ws.management.application.sync.AppBinaryProcessor$2.run(AppBinaryProcessor.java:302)
         at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.ibm.ws.management.application.sync.AppBinaryProcessor.onChangeCompletion(AppBinaryProcessor.java:296)
         at com.ibm.ws.management.repository.FileRepository.postNotify(FileRepository.java:1653)
         at com.ibm.ws.management.repository.FileRepository.update(FileRepository.java:1211)
         at com.ibm.ws.management.repository.client.LocalConfigRepositoryClient.update(LocalConfigRepositoryClient.java:189)
         at com.ibm.ws.sm.workspace.impl.WorkSpaceMasterRepositoryAdapter.update(WorkSpaceMasterRepositoryAdapter.java:482)
         at com.ibm.ws.sm.workspace.impl.RepositoryContextImpl.update(RepositoryContextImpl.java:1730)
         at com.ibm.ws.sm.workspace.impl.RepositoryContextImpl.synch(RepositoryContextImpl.java:1676)
         at com.ibm.ws.sm.workspace.impl.WorkSpaceImpl.synch(WorkSpaceImpl.java:455)
         at com.ibm.ws.management.application.task.ConfigRepoHelper.removeWorkSpace(ConfigRepoHelper.java:107)
         at com.ibm.ws.management.application.RedeploymentManager.doCleanup(RedeploymentManager.java:243)
         at com.ibm.ws.management.application.RedeploymentManager.appEventReceived(RedeploymentManager.java:187)
         at com.ibm.ws.management.application.RedeploymentManager.handleNotification(RedeploymentManager.java:210)
         at com.ibm.ws.management.event.ListenerInfo$1.run(ListenerInfo.java:125)
         at com.ibm.ws.security.auth.distContextManagerImpl.runAs(distContextManagerImpl.java:2504)
         at com.ibm.ws.security.auth.distContextManagerImpl.runAsSpecified(distContextManagerImpl.java:2398)
         at com.ibm.ws.management.event.ListenerInfo.handleNotification(ListenerInfo.java:143)
         at com.ibm.ws.management.event.NotificationDispatcher$DispatchANotificationToAListener.run(NotificationDispatcher.java:346)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
    [04/10/07 09:29:47:583 BST] 000000f1 WebApp E Can't parse configuration file:wsjar:file:/C:/i81322/ApacheTest/TestProject/WebContent/WEB-INF/lib/tomahawk-1.1.6.jar!/META-INF/faces-config.xml
    [04/10/07 09:29:47:598 BST] 000000f1 WebApp W No Extension Processor found for handling JSPs
    [04/10/07 09:29:47:630 BST] 000000f1 VirtualHost I SRVE0250I: Web Module TestProject has been bound to default_host[*:9080,*:80,*:9443].
    [04/10/07 09:29:47:661 BST] 000000f1 ApplicationMg A WSVR0221I: Application started: TestProjectEAR
    [04/10/07 09:29:47:708 BST] 000000f1 FileRepositor A ADMR0009I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deltas/TestProjectEAR.ear/delta-1191486582333 is created.
    [04/10/07 09:29:47:770 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deployments/TestProjectEAR/TestProject.war/META-INF/MANIFEST.MF is modified.
    [04/10/07 09:29:47:817 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deployments/TestProjectEAR/resources.xml is modified.
    [04/10/07 09:29:47:817 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/security.xml is modified.
    [04/10/07 09:29:47:833 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/TestProjectEAR.ear is modified.
    [04/10/07 09:29:47:864 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deployments/TestProjectEAR/TestProject.war/WEB-INF/ibm-web-bnd.xmi is modified.
    [04/10/07 09:29:47:864 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deployments/TestProjectEAR/deployment.xml is modified.
    [04/10/07 09:29:47:880 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deployments/TestProjectEAR/TestProject.war/WEB-INF/faces-config.xml is modified.
    [04/10/07 09:29:47:880 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deployments/TestProjectEAR/META-INF/application.xml is modified.
    [04/10/07 09:29:47:911 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deployments/TestProjectEAR/META-INF/.modulemaps is modified.
    [04/10/07 09:29:47:927 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deployments/TestProjectEAR/TestProject.war/WEB-INF/web.xml is modified.
    [04/10/07 09:29:47:927 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deployments/TestProjectEAR/TestProject.war/WEB-INF/ibm-web-ext.xmi is modified.
    [04/10/07 09:29:47:958 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/nodes/W-GHO-043723Node01/serverindex.xml is modified.
    [04/10/07 09:29:47:973 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deployments/TestProjectEAR/variables.xml is modified.
    [04/10/07 09:29:47:973 BST] 000000f1 FileRepositor A ADMR0011I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deltas/TestProjectEAR.ear/delta-1191411855841 is deleted.
    [04/10/07 09:29:47:130 BST] 000000f1 SystemErr R java.lang.LinkageError: LinkageError while defining class: org.apache.myfaces.webapp.StartupServletContextListener
    Could not be defined due to: org/apache/myfaces/webapp/StartupServletContextListener (Unsupported major.minor version 49.0)
    This is often caused by having a class defined at multiple
    locations within the classloader hierarchy. Other potential causes
    include compiling against an older or newer version of the class
    that has an incompatible method signature.
    Dumping the current context classloader hierarchy:
    ==> indicates defining classloader
    ==>[0]
    com.ibm.ws.classloader.CompoundClassLoader@3d37b6d4
    Local ClassPath: C:\i81322\ApacheTest\TestProject\WebContent\WEB-INF\classes;C:\i81322\ApacheTest\TestProject\WebContent\WEB-INF\lib\commons-beanutils-1.7.0.jar;C:\i81322\ApacheTest\TestProject\WebContent\WEB-INF\lib\commons-codec-1.3.jar;C:\i81322\ApacheTest\TestProject\WebContent\WEB-INF\lib\commons-collections-3.2.jar;C:\i81322\ApacheTest\TestProject\WebContent\WEB-INF\lib\commons-digester-1.8.jar;C:\i81322\ApacheTest\TestProject\WebContent\WEB-INF\lib\commons-discovery-0.4.jar;C:\i81322\ApacheTest\TestProject\WebContent\WEB-INF\lib\jsf-api.jar;C:\i81322\ApacheTest\TestProject\WebContent\WEB-INF\lib\jsf-ibm.jar;C:\i81322\ApacheTest\TestProject\WebContent\WEB-INF\lib\jstl.jar;C:\i81322\ApacheTest\TestProject\WebContent\WEB-INF\lib\myfaces-api-1.2.0.jar;C:\i81322\ApacheTest\TestProject\WebContent\WEB-INF\lib\myfaces-impl-1.2.0.jar;C:\i81322\ApacheTest\TestProject\WebContent\WEB-INF\lib\tomahawk-1.1.6.jar;C:\i81322\ApacheTest\TestProject\WebContent;
    Delegation Mode: PARENT_LAST
    [1] com.ibm.ws.classloader.ProtectionClassLoader@2b27f6d5
    [2] com.ibm.ws.bootstrap.ExtClassLoader@7ef236d6
    [3] sun.misc.Launcher$AppClassLoader@7ef876d6
    [4] sun.misc.Launcher$ExtClassLoader@7efc76d6
    ---Original exception---
    java.lang.UnsupportedClassVersionError: org/apache/myfaces/webapp/StartupServletContextListener (Unsupported major.minor version 49.0)
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java(Compiled Code))
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java(Compiled Code))
         at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:576)
         at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code))
         at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java(Compiled Code))
         at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java(Compiled Code))
         at com.ibm.ws.jsp.webcontainerext.JSPExtensionProcessor.<init>(JSPExtensionProcessor.java:158)
         at com.ibm.ws.jsp.webcontainerext.JSPExtensionFactory.createExtensionProcessor(JSPExtensionFactory.java:96)
         at com.ibm.ws.webcontainer.webapp.WebApp.initializeExtensionProcessors(WebApp.java:1068)
         at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:363)
         at com.ibm.ws.webcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:114)
         at com.ibm.ws.webcontainer.VirtualHost.addWebApplication(VirtualHost.java:127)
         at com.ibm.ws.webcontainer.WebContainer.addWebApp(WebContainer.java:776)
         at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:729)
         at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:140)
         at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:360)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1019)
         at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1028)
         at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:538)
         at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:724)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:683)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:1161)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
         at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
         at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java(Compiled Code))
         at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java(Compiled Code))
         at mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBeanServerInterceptor.java(Compiled Code))
         at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java(Inlined Compiled Code))
         at mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityMBeanServerInterceptor.java(Compiled Code))
         at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java(Compiled Code))
         at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java(Inlined Compiled Code))
         at mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke(ContextClassLoaderMBeanServerInterceptor.java(Compiled Code))
         at mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java(Compiled Code))
         at com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java(Compiled Code))
         at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java(Compiled Code))
         at com.ibm.ws.management.application.sync.StartDeploymentTask.startDeployment(StartDeploymentTask.java:196)
         at com.ibm.ws.management.application.sync.StartDeploymentTask.fullAppUpdate(StartDeploymentTask.java:92)
         at com.ibm.ws.management.application.sync.StartDeploymentTask.performTask(StartDeploymentTask.java:81)
         at com.ibm.ws.management.application.sync.AppBinaryProcessor$AppBinThread.run(AppBinaryProcessor.java:631)
         at com.ibm.ws.management.application.sync.AppBinaryProcessor.postProcess(AppBinaryProcessor.java:408)
         at com.ibm.ws.management.application.sync.AppBinaryProcessor._onChangeCompletion(AppBinaryProcessor.java:330)
         at com.ibm.ws.management.application.sync.AppBinaryProcessor$2.run(AppBinaryProcessor.java:302)
         at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.ibm.ws.management.application.sync.AppBinaryProcessor.onChangeCompletion(AppBinaryProcessor.java:296)
         at com.ibm.ws.management.repository.FileRepository.postNotify(FileRepository.java:1653)
         at com.ibm.ws.management.repository.FileRepository.update(FileRepository.java:1211)
         at com.ibm.ws.management.repository.client.LocalConfigRepositoryClient.update(LocalConfigRepositoryClient.java:189)
         at com.ibm.ws.sm.workspace.impl.WorkSpaceMasterRepositoryAdapter.update(WorkSpaceMasterRepositoryAdapter.java:482)
         at com.ibm.ws.sm.workspace.impl.RepositoryContextImpl.update(RepositoryContextImpl.java:1730)
         at com.ibm.ws.sm.workspace.impl.RepositoryContextImpl.synch(RepositoryContextImpl.java:1676)
         at com.ibm.ws.sm.workspace.impl.WorkSpaceImpl.synch(WorkSpaceImpl.java:455)
         at com.ibm.ws.management.application.task.ConfigRepoHelper.removeWorkSpace(ConfigRepoHelper.java:107)
         at com.ibm.ws.management.application.RedeploymentManager.doCleanup(RedeploymentManager.java:243)
         at com.ibm.ws.management.application.RedeploymentManager.appEventReceived(RedeploymentManager.java:187)
         at com.ibm.ws.management.application.RedeploymentManager.handleNotification(RedeploymentManager.java:210)
         at com.ibm.ws.management.event.ListenerInfo$1.run(ListenerInfo.java:125)
         at com.ibm.ws.security.auth.distContextManagerImpl.runAs(distContextManagerImpl.java:2504)
         at com.ibm.ws.security.auth.distContextManagerImpl.runAsSpecified(distContextManagerImpl.java:2398)
         at com.ibm.ws.management.event.ListenerInfo.handleNotification(ListenerInfo.java:143)
         at com.ibm.ws.management.event.NotificationDispatcher$DispatchANotificationToAListener.run(NotificationDispatcher.java:346)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
    --- end Original exception----
         at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:621)
         at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code))
         at com.ibm.ws.clas

  • Axis Problem while using Quick Address

    Hi all,
    we are developing  a JSPDynPage using a code developed by us using a third part JAR file of Quick Address to use the Quick Address Pro Web tool. Without entering to describe the functionality. The same Java lines used in a Java standalone program with a main method works fine without problems and by inserting the same lines into a JSPDynPage code we had the next error:
    [email protected]: Bad envelope tag:  html #
         at com.qas.proweb.QasException.createFrom(Unknown Source)#
         at com.qas.proweb.QuickAddress.mapRemoteExeption(Unknown Source)#
         at com.qas.proweb.QuickAddress.search(Unknown Source)#
         at com.qas.proweb.QuickAddress.search(Unknown Source)#
         at com.qas.proweb.QuickAddress.search(Unknown Source)#
         at com.qa.mycompany.qas.QasTest$QasTestDynPage.returnAddresses(QasTest.java:142)#
         at com.qa.mycompany.qas.QasTest$QasTestDynPage.doInitialization(QasTest.java:74)#
         at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:105)#
         at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)#
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)#
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)#
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)#
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)#
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)#
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)#
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)#
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)#
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)#
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)#
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)#
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:232)#
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)#
         at java.security.AccessController.doPrivileged(Native Method)#
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)#
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)#
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:153)#
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)#
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)#
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)#
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)#
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)#
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)#
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)#
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)#
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)#
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)#
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)#
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)#
         at java.security.AccessController.doPrivileged(Native Method)#
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)#
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)#
    The qas.proweb package is a third party code in a jar file imported in the Project developed in Netweaver and it compiles and executes fine but this is the error it gives us in the log, showing some problem with the connexion. This qas.proweb runs by using SOAP and probably the problem will be some compatibility issue with this in the Portal.
    The code used in the JSPDynPAge to acces qas.proweb is the same as the one working in a Java program with a main method requesting data against the same machine.
    It could be some issue with axis and the SAP Portal.
    What do you think about this error??
    Thank you in advance.
    Regards,
    Raúl.

    I solved the problem by installing only the JAva part, without the ABAP part.

  • Problem when using weblogic.jspc from an IDE

    I am trying to call JSPC from an IDE (as part of an Eclipse Builder). To optimize performance I want to avoid to spwan a new process. So I am trying to call weblogic.jspc's main method directly from the IDE. Everything works fine for simple simple pages.
              But when the page refers to a tag library with a tag providing a TagExtraInfo class, weblogic.jspc complains about the class not extending the TagExtraInfo base class although it does:
              Errors encountered while compiling 'D:\vrp-localdeploy\applications\wot\WOT' :
              Translation of /rentalcar/tiles/i18n/CarCapacityView.jsp failed: (line 17): Error in using tag library uri='/tags/i18n' prefix='i18n': For tag 'bundle', extra info class 'org.apache.taglibs.i18n.BundleTEI' does not extend javax.servlet.jsp.tagext.TagExtraInfo
              I could not figure out what exactly causes the problem. Using exactly the same settings workes just fine.
              Any suggestions?

    The full stack trace reads as follows:
              <p>
              Errors encountered while compiling 'D:\vrp-localdeploy\applications\wot\WOT' :
              <p>
              Translation of /common/include/i18n/definitions.inc failed: (line 17): Error in using tag library uri='/tags/i18n' prefix='i18n': For tag 'bundle', extra info class 'org.apache.taglibs.i18n.BundleTEI' does not extend javax.servlet.jsp.tagext.TagExtraInfo
              <br>
                   at weblogic.jspc.runJspc(jspc.java:559)
                   at weblogic.jspc.runBodyInternal(jspc.java:410)
                   at weblogic.jspc.runBody(jspc.java:319)
                   at weblogic.utils.compiler.Tool.run(Tool.java:146)
                   at weblogic.utils.compiler.Tool.run(Tool.java:103)
                   at weblogic.jspc.main(jspc.java:708)
                   at tui.vrp.tools.presentation.builder.PresentationBuilder.compileJSP(PresentationBuilder.java:1173)
                   at tui.vrp.tools.presentation.builder.PresentationBuilder.checkResource(PresentationBuilder.java:718)
                   at tui.vrp.tools.presentation.builder.PresentationBuilder$PresentationDeltaVisitor.visit(PresentationBuilder.java:102)
                   at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:68)
                   at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:77)
                   at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:77)
                   at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:77)
                   at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:77)
                   at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:77)
                   at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:77)
                   at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:49)
                   at tui.vrp.tools.presentation.builder.PresentationBuilder.incrementalBuild(PresentationBuilder.java:1268)
                   at tui.vrp.tools.presentation.builder.PresentationBuilder.build(PresentationBuilder.java:677)
                   at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:593)
                   at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
                   at org.eclipse.core.runtime.Platform.run(Platform.java:783)
                   at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:168)
                   at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:202)
                   at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:231)
                   at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
                   at org.eclipse.core.runtime.Platform.run(Platform.java:783)
                   at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:234)
                   at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:253)
                   at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:282)
                   at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:139)
                   at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:200)
                   at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
              <p>
              Unfortunately it doesn't really give any real reason - it is a general piece of code in jspc to report problems.
              <p>
              But I dug a lot bit deeper into the code and realized that the original problem is a ClassCastException in line 1290 of class StandardTagLib, which reads as follows:
              <p>
                   tagextrainfo = (TagExtraInfo)Beans.instantiate(classloader, s3);
              <p>
              This looks quite obvious that the class named by s3 simply is no extension of TagExtraInfo, but unfortunately the only class with that name being referenced by the class path does extend this class. I wondered what the problem might be and came up with the following answer:
              <p>
              The class of the bean instantiated by Beans.instantiate extends a class with the name "javax.servlet.jsp.tagext.TagExtraInfo" which is cast to another class with exactly <b>the same name, but a different class loader</b>. Since neither of the class loaders is parent of the other one, both classes are not considered being the same class although they have the same name. Sounds weird, but exactly this is the problem!
              <p>
              Where does it come from and why it works fine when the tool is executed in a separate thread or on the console?
              <p>
              From my understanding the problem is caused in line 395 of the class weblogic.jspc:
              <p>
                   GenericClassLoader genericclassloader = new GenericClassLoader(classpathclassfinder);
              <p>
              This line of code creates a class loader not knowing a parent class loader by which the class weblogic.jspc was loaded. All classes weblogic.jspc is using or calling will be loader by either the same or a parent class loader - this is important to understand. Since TagExtraInfo is directly referenced by StandardTagLib one instance of the class object (the object of type class) will be generated and linked when the class StandardTagLib is instantiated for the first time by the class loader which loaded weblogic.jspc (or by its parent). This is consequence which can not be avoided.
              <p>
              But now look at line 1290 of class StandardTagLib: It explicitly requests the class to be loaded by the GenericClassLoader instantiated in line 395 of the class weblogic.jspc. This class loader, off course, is not aware of the same class just being loaded by another class loader since it has no knowledge of it. It simply creates a fresh copy of the class object, which only differs in the reference to the class loader which created this class object.
              <p>
              Actually, I figured that the following line of code replacing the upper one, would resolve the problem:
              <p>
              GenericClassLoader genericclassloader = new GenericClassLoader(classpathclassfinder, this.getClass().getClassLoader());
              <p>
              Doing this, the GenericClassLoader would know its logical parent by reference and would implicitly - thanks to the implementation of java.lang.ClassLoader - try to find the class using its parent first, would find a valid class, and hence use the same instance of the class object instantiated by the parent class loader. The problem would be solved.
              <p>
              It works fine in the console or under a running application server, because they will always have the weblogic jar in their system class path. ClassLoaders not having a parent are implied to have the system class loader as their parent - the piece of code does work in this case.
              <p>
              Under Eclipse this is no option, off course. We would restrain us to exactly this version of the APIs used by the weblogic version in the system class path.
              <p>
              I was trying to patch this myself by extending weblogic.jspc by my own class to pass on a proper class loader knowing its parent, and I was sort of successful: The problem disappeared. But I can't gain exactly what I am looking for, because the method runJspc with four parameters (around line 447) of weblogic.jspc is private to the class and its public brother always passes true to this method as the fourth parameter - causing jspc to recompile all JSPs instead of just the requested ones.
              <p>
              Everything refers to WL81SP3.
              <p>
              That's were I got stuck currently. I have read some postings about this problem in the internet - some dating far back into the history. So, I have the impression that there have been some folks around with the same problem. I think the patch I suggested does not any harm and I could simply use jspc in my builder without any problems.
              <p>
              Regards,
              <p>
              Elmar Schwarz

Maybe you are looking for

  • Default option for password in UME

    Hi, Is there a way that when we create new users in UME, that the default option for password management is set to "Disabled Password" in stead of "Define Initial Password". We are using SPML SOAP message to create the users and if there is no passwo

  • How to get the number of messages consumed by a MDB ??

    Hi all, How to get the number of messages consumed by a MDB displayed in OEM in a Java Application ??? DMS ??? what use DMS ??? tanks

  • Adobe Reader XI: FormBridge and TrustedFunction

    Hello We are using Formbridge to communicate with our Forms. So we load the Form with a XML file, to prefill the fields. With the update to Adobe Reader XI i can't get this working. I tried to add some specific policies with the ProtectedModeWhitelis

  • Wireless keyboard for warranty

    I bought a Apple Wireless Keyboard Model A1314, these two days, some of key not response correctly, and when I try use Send in for Service,I keyed in  keyboard serial number  got a error "Please enter a valid hardware serial number, excluding accesso

  • Technical to Functional Consultant

    Hi, I have about 15 months of SAP ABAP experience. I have previously worked in the modules of MM, PP, SD and a bit of IS-U. This is for the first time that I am working in SAP HR. Currently I am thinking of shifting my career in SAP HR as a Functiona