Struggling with "Includes in JSF"

Hi,
I am trying to include a jsp page onto another.. I am trying to include jsp page called left_frame.jsp in first_page.jsp.the code is below..
1. first_page.jsp
<%@ page contentType="text/html" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<html>
<body>
<f:view>
Template text at the top of the main page.
<br>
<h:outputText value="Text from a JSF component in the main page" />
<f:subview id="sv1">
<jsp:include page="left_frame.jsp" />
</f:subview>
</f:view>
</body>
</html>
2. left_frame.jsp
<%@ page language="java" import="java.util.*" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<h:panelGrid width="100%" border="3" bgcolor="#669900">
<tbody>
<tr>
<td width="100%" bordercolor="#669900" bgcolor="#669900"><div align="center">
     <h:outputText value="Sign In"/></div>
</td>
</tr>
</tbody>
</h:panelGrid>
<h:form id="userForm">
<p>
<h:outputText value="User Name"/>
<h:inputText     id="userName" required = "true" value="#{UserBean.userName}" size="15">
     <f:validateLength minimum="1" />
</h:inputText>
<h:outputText value="Password" />
<h:inputSecret id="password" redisplay="false" required = "true" value="#{UserBean.password}" size="15">
          <f:validateLength minimum="3" />
</h:inputSecret>
</p>
<h:messages style="font-weight: bold; color: #FF0000;" />
<blockquote>
<p>
<h:commandButton id="signin" action="#{UserBean.loginUser}" value="SignIn"/>     
</p>
</blockquote>
</h:form>
<h:panelGrid width="100%" border="3" bgcolor="#669900">
<tbody>
<tr>
<td width="100%" bordercolor="#669900" bgcolor="#669900"><div align="center">
     <h:outputText value="Newest Blogs"/></div>
</td>
</tr>
</tbody>
</h:panelGrid>
But whenever i deploy it onto weblogic8.1 and type in this url " http://localhost:7001/blogTrial/first_page.faces" , my program just hangs..i get the following stack.
Thread [ExecuteThread: '14' for queue: 'weblogic.kernel.Default'] (Suspended (exception javax.faces.FacesException))
     com.sun.faces.config.ManagedBeanFactory.newInstance(javax.faces.context.FacesContext) line: 210
     com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(javax.faces.context.FacesContext, java.lang.String) line: 253
     com.sun.faces.el.VariableResolverImpl.resolveVariable(javax.faces.context.FacesContext, java.lang.String) line: 78
     com.sun.faces.el.impl.NamedValue.evaluate(com.sun.faces.el.impl.ExpressionInfo) line: 125
     com.sun.faces.el.impl.ComplexValue.evaluate(com.sun.faces.el.impl.ExpressionInfo) line: 146
     com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(com.sun.faces.el.impl.ExpressionInfo) line: 243
     com.sun.faces.el.ValueBindingImpl.getValue(javax.faces.context.FacesContext, java.lang.String) line: 173
     com.sun.faces.el.ValueBindingImpl.getValue(javax.faces.context.FacesContext) line: 154
     javax.faces.component.html.HtmlInputText(javax.faces.component.UIOutput).getValue() line: 147
     com.sun.faces.renderkit.html_basic.TextRenderer(com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer).getValue(javax.faces.component.UIComponent) line: 82
     com.sun.faces.renderkit.html_basic.TextRenderer(com.sun.faces.renderkit.html_basic.HtmlBasicRenderer).getCurrentValue(javax.faces.context.FacesContext, javax.faces.component.UIComponent) line: 191
     com.sun.faces.renderkit.html_basic.TextRenderer(com.sun.faces.renderkit.html_basic.HtmlBasicRenderer).encodeEnd(javax.faces.context.FacesContext, javax.faces.component.UIComponent) line: 169
     javax.faces.component.html.HtmlInputText(javax.faces.component.UIComponentBase).encodeEnd(javax.faces.context.FacesContext) line: 712
     com.sun.faces.taglib.html_basic.InputTextTag(javax.faces.webapp.UIComponentTag).encodeEnd() line: 616
     com.sun.faces.taglib.html_basic.InputTextTag(javax.faces.webapp.UIComponentTag).doEndTag() line: 539
     com.sun.faces.taglib.html_basic.InputTextTag.doEndTag() line: 524
     jsp_servlet.__left_frame._jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) line: 299
     jsp_servlet.__left_frame(weblogic.servlet.jsp.JspBase).service(javax.servlet.ServletRequest, javax.servlet.ServletResponse) line: 33
     weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run() line: 996
     weblogic.servlet.jsp.JspStub(weblogic.servlet.internal.ServletStubImpl).invokeServlet(javax.servlet.ServletRequest, javax.servlet.ServletResponse, weblogic.servlet.internal.FilterChainImpl) line: 419
     weblogic.servlet.internal.ServletStubImpl.invokeServlet(javax.servlet.ServletRequest, javax.servlet.ServletResponse, weblogic.servlet.internal.FilterChainImpl) line: 463
     weblogic.servlet.internal.ServletStubImpl.invokeServlet(javax.servlet.ServletRequest, javax.servlet.ServletResponse) line: 315
     weblogic.servlet.internal.RequestDispatcherImpl.include(javax.servlet.ServletRequest, javax.servlet.ServletResponse, boolean) line: 622
     weblogic.servlet.internal.RequestDispatcherImpl.include(javax.servlet.ServletRequest, javax.servlet.ServletResponse) line: 412
     weblogic.servlet.jsp.PageContextImpl.include(java.lang.String) line: 154
     jsp_servlet.__first_page._jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) line: 199
     jsp_servlet.__first_page(weblogic.servlet.jsp.JspBase).service(javax.servlet.ServletRequest, javax.servlet.ServletResponse) line: 33
     weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run() line: 996
     weblogic.servlet.jsp.JspStub(weblogic.servlet.internal.ServletStubImpl).invokeServlet(javax.servlet.ServletRequest, javax.servlet.ServletResponse, weblogic.servlet.internal.FilterChainImpl) line: 419
     weblogic.servlet.internal.ServletStubImpl.invokeServlet(javax.servlet.ServletRequest, javax.servlet.ServletResponse, weblogic.servlet.internal.FilterChainImpl) line: 463
     weblogic.servlet.internal.ServletStubImpl.invokeServlet(javax.servlet.ServletRequest, javax.servlet.ServletResponse) line: 315
     weblogic.servlet.internal.RequestDispatcherImpl.forward(javax.servlet.ServletRequest, javax.servlet.ServletResponse) line: 312
     com.sun.faces.context.ExternalContextImpl.dispatch(java.lang.String) line: 322
     com.sun.faces.application.ViewHandlerImpl.renderView(javax.faces.context.FacesContext, javax.faces.component.UIViewRoot) line: 147
     com.sun.faces.lifecycle.RenderResponsePhase.execute(javax.faces.context.FacesContext) line: 87
     com.sun.faces.lifecycle.LifecycleImpl.phase(javax.faces.event.PhaseId, com.sun.faces.lifecycle.Phase, javax.faces.context.FacesContext) line: 200
     com.sun.faces.lifecycle.LifecycleImpl.render(javax.faces.context.FacesContext) line: 117
     javax.faces.webapp.FacesServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse) line: 198
     weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run() line: 996
     weblogic.servlet.internal.ServletStubImpl.invokeServlet(javax.servlet.ServletRequest, javax.servlet.ServletResponse, weblogic.servlet.internal.FilterChainImpl) line: 419
     weblogic.servlet.internal.ServletStubImpl.invokeServlet(javax.servlet.ServletRequest, javax.servlet.ServletResponse) line: 315
     weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run() line: 6452
     weblogic.security.acl.internal.AuthenticatedSubject.doAs(weblogic.security.subject.AbstractSubject, java.security.PrivilegedAction) line: 321
     weblogic.security.service.SecurityManager.runAs(weblogic.security.acl.internal.AuthenticatedSubject, weblogic.security.acl.internal.AuthenticatedSubject, java.security.PrivilegedAction) line: 118
     weblogic.servlet.internal.WebAppServletContext.invokeServlet(weblogic.servlet.internal.ServletRequestImpl, weblogic.servlet.internal.ServletResponseImpl) line: 3661
     weblogic.servlet.internal.ServletRequestImpl.execute(weblogic.kernel.ExecuteThread) line: 2630
     weblogic.kernel.ExecuteThread.execute(weblogic.kernel.ExecuteRequest) line: 219
     weblogic.kernel.ExecuteThread.run() line: 178
Can someone PLZZ HELP?
Thanx,
Lavanya

Lavanya,
I think the included jsp file(left_frame.jsp) should not contain JSF HTML and Core tablib's. ie <@taglib > tags . They r already included in your other jsp. right?
By the way, I suggest u to go to JSF Forum here at forums.java.sun.com.
Bye

Similar Messages

  • Form included in JSF Fragments doesn't work

    Hi there i have a simple form placed in JSF page fragment, the fragment is included in several pages. It renders , but the button action doesn't do what it is supposed to do.
    <?xml version="1.0" encoding="UTF-8"?>
    <!--
        Document   : AddAdvertForm
        Created on : 09-May-2008, 12:14:50
        Author     : Mirza Asif
    -->
    <div style="height: 400px; width: 400px; -rave-layout: grid" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:webuijsf="http://www.sun.com/webui/webuijsf">
        <f:subview id="AddAdvertForm">
            <h:selectOneMenu id="dropdown1" style="left: 100px; top: 40px; position: absolute; width: 125px" value="#{AddAdvertForm.cat}">
                <f:selectItems id="dropdown1SelectItems" value="#{AddAdvertForm.dd1data}"/>
            </h:selectOneMenu>
            <h:selectOneMenu id="dropdown2" style="left: 100px; top: 70px; position: absolute; width: 125px" value="#{AddAdvertForm.type}">
                <f:selectItems id="dropdown2SelectItems" value="#{AddAdvertForm.dd2data}"/>
            </h:selectOneMenu>
            <webuijsf:staticText id="staticText1" style="font-weight: bold; left: 10px; top: 10px; position: absolute" text="Step 1. Choose Advert.   "/>
            <webuijsf:staticText id="staticText2" style="left: 70px; top: 100px; position: absolute" text="Title:"/>
            <webuijsf:staticText id="staticText3" style="left: 35px; top: 130px; position: absolute" text="Description:"/>
            <webuijsf:staticText id="staticText4" style="left: 12px; top: 40px; position: absolute" text="Select Category:"/>
            <webuijsf:staticText id="staticText5" style="font-weight: bold; left: 10px; top: 220px; position: absolute" text="Step 2. Please give your personal details."/>
            <webuijsf:staticText id="staticText6" style="left: 63px; top: 250px; position: absolute" text="Name:"/>
            <webuijsf:staticText id="staticText7" style="left: 53px; top: 310px; position: absolute" text="* E-mail:"/>
            <webuijsf:staticText id="staticText8" style="left: 43px; top: 340px; position: absolute" text="Phone No:"/>
            <webuijsf:staticText id="staticText9" style="left: 65px; top: 70px; position: absolute" text="Type:"/>
            <webuijsf:staticText id="staticText10" style="left: 50px; top: 280px; position: absolute" text="Location:"/>
            <webuijsf:staticText id="staticText11" style="left: 230px; top: 310px; position: absolute" text="#{AddAdvertForm.emailMsg}"/>
            <webuijsf:textField id="textField1" style="left: 100px; top: 100px; position: absolute" text="#{AddAdvertForm.title}"/>
            <webuijsf:textField id="textField2" style="left: 100px; top: 250px; position: absolute" text="#{AddAdvertForm.name}"/>
            <webuijsf:textField id="textField3" style="left: 100px; top: 310px; position: absolute" text="#{AddAdvertForm.email}"/>
            <webuijsf:textField id="textField4" style="left: 100px; top: 340px; position: absolute" text="#{AddAdvertForm.phoneNo}"/>
            <webuijsf:textField id="textField5" style="position: absolute; left: 100px; top: 280px" text="#{AddAdvertForm.location}"/>
            <webuijsf:textArea columns="35" id="textArea1" rows="5" style="left: 100px; top: 130px; position: absolute" text="#{AddAdvertForm.description}"/>
            <webuijsf:button actionExpression="#{AddAdvertForm.button2_action}" id="button1" style="height: 20px; left: 99px; top: 370px; position: absolute; width: 128px" text="Add"/>
        </f:subview>
    </div>The Fragment is included in the following page:
    <?xml version="1.0" encoding="UTF-8"?>
    <!--
        Document   : AddAdvert
        Created on : 13.5.2008, 13:09:
        Author     : Ilija
    -->
    <jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:webuijsf="http://www.sun.com/webui/webuijsf">
        <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
        <f:view>
            <webuijsf:page id="page1">
                <webuijsf:html id="html1">
                    <webuijsf:head id="head1">
                        <webuijsf:link id="link1" url="/resources/stylesheet.css"/>
                        <webuijsf:link id="link2" url="/resources/global.css"/>
                        <webuijsf:script id="script1" url="/resources/Scripts/global.js"/>
                    </webuijsf:head>
                    <webuijsf:body id="body1" style="-rave-layout: grid; text-align: center; background: url(./resources/images/back_ptr.png) repeat-x">
                        <webuijsf:form id="form1">
                            <div align="center">
                                <jsp:directive.include file="Header.jspf"/>
                            </div>
                            <div align="center" style="padding-top:3px; padding-bottom:3px">
                                <jsp:directive.include file="MainMenu.jspf"/>
                            </div>
                            <div align="center">
                                <h:panelGrid border="0" cellpadding="0" cellspacing="0" columnClasses="Column1,Column2,Column3,Column4" columns="4" id="gridPanel1"
                                    rules="cols" style="height: 96px; left: 0px; position: relative" width="955">
                                    <webuijsf:panelGroup>
                                        <webuijsf:panelGroup rendered="#{Permissions.admin}">
                                            <div style="padding-top:5px; padding-bottom:5px">
                                                <jsp:directive.include file="AdminTool.jspf"/>
                                            </div>
                                        </webuijsf:panelGroup>
                                        <div style="height: 22px">
                                            <h:graphicImage url="./resources/images/cat_header.png"/>
                                        </div>
                                        <h:outputText escape="false" value="#{MenuGenerator.menuHtml}"/>
                                        <h:graphicImage url="./resources/images/cat_footer.png"/>
                                        <h:outputText escape="false" value="#{BannerUnit.rightHTML}"/>
                                    </webuijsf:panelGroup>
                                    <webuijsf:panelGroup>
                                                <div style="position: relative; border-bottom:solid thin green">
                                                    <jsp:directive.include file="AddAdvertForm.jspf"/>
                                                </div>
                                    </webuijsf:panelGroup>
                                    <webuijsf:panelGroup>
                                        <div style="width: 185px; top: 5px; position: relative; float: left">
                                            <h:outputText escape="false" value="#{ArticleUnit.articleHTML}"/>
                                        </div>
                                    </webuijsf:panelGroup>
                                    <webuijsf:panelGroup>
                                        <div style="padding-top:5px; padding-bottom:px">
                                            <jsp:directive.include file="LoginTool.jspf"/>
                                        </div>
                                        <h:outputText escape="false" value="#{BannerUnit.rightHTML}"/>
                                    </webuijsf:panelGroup>
                                    <f:facet name="footer">
                                        <h:panelGroup style="display:block; text-align:center">
                                            <jsp:directive.include file="Footer.jspf"/>
                                        </h:panelGroup>
                                    </f:facet>
                                </h:panelGrid>
                            </div>
                        </webuijsf:form>
                    </webuijsf:body>
                </webuijsf:html>
            </webuijsf:page>
        </f:view>
    </jsp:root>I can press the button of the form, the page reloads, but nothings happen in the Database. Method ok() is responsible to add some stuff in the DB (i tested this method and work separately).
    public String button2_action() {
            AdvertQueries a = new AdvertQueries();
            a.ok();
        return null;
      }Please HELP !!! I am struggling with his for 3 days.

    You might try asking this question on the [JavaServer Faces forum|http://forums.sun.com/forum.jspa?forumID=427].

  • Newbie Alert: How can I include a JSF in a JSF

    Sorry for what must be a really stupidly easy question but I have tried every way I can think to get one JSF page to include another JSF page. For instance I want to include a standard site wide header. I am using jspx and have tried
    <f:subview id="header">
        <jsp:include page="header.jsf"/>
    </f:subview>and
    <f:subview id="header">
        <c:import url="header.jspx"/>
    </f:subview>and every variation you can imagine (both .jsf and .jspx extentions, with and without a rendered property on the subview, including everything in the included page in f:verbatim and a million other things). My header page is as simple as <?xml version="1.0" encoding="UTF-8"?>
    <jsp:root version="2.0"
         xmlns:jsp="http://java.sun.com/JSP/Page"
         xmlns:c="http://java.sun.com/jsp/jstl/core"
         xmlns:f="http://java.sun.com/jsf/core"
         xmlns:h="http://java.sun.com/jsf/html">
         <f:view>
              <f:verbatim>
    <p>this is a header</p>
              </f:verbatim>
         </f:view>
    </jsp:root>All the questions I have found seem to indicate that the above should work but I just get
    javax.faces.FacesException: Assertion Failed
         at com.sun.faces.util.Util.doAssert(Util.java:1302)
         at com.sun.faces.taglib.jsf_core.ViewTag.getComponentType(ViewTag.java:241)
         at javax.faces.webapp.UIComponentTag.createComponent(UIComponentTag.java:1013)
         at javax.faces.webapp.UIComponentTag.createChild(UIComponentTag.java:1036)
         at javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:749)
         at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:429)
         at com.sun.faces.taglib.jsf_core.ViewTag.doStartTag(ViewTag.java:105)
         at org.apache.jsp.header_005f1_jspx._jspx_meth_f_view_0(header_005f1_jspx.java:77)
         at org.apache.jsp.header_005f1_jspx._jspService(header_005f1_jspx.java:55)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)and various other errors along the same lines.
    Can someone please give me some pointers. A working example would be nice :o)
    Many Thanks

    Many thanks. I still can't seem to get it to work though. I must be missing something really obvious. Could you have a quick look over these pages and tell me if anything is wrong.
    The including page (called page.jspx):
    <?xml version="1.0" encoding="UTF-8"?>
    <jsp:root version="2.0"
         xmlns:jsp="http://java.sun.com/JSP/Page"
         xmlns:c="http://java.sun.com/jsp/jstl/core"
         xmlns:f="http://java.sun.com/jsf/core"
         xmlns:h="http://java.sun.com/jsf/html">
         <jsp:directive.page contentType="text/html"/>
         <f:view>
              <f:loadBundle basename="localization.messages" var="text"/>
              <f:verbatim>
                   <![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3c.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">]]>
              </f:verbatim>
              <html xmlns="http://www.w3.org/1999/xhtml">
                   <head>
                        <title>Example</title>
                   </head>
                   <body>
                        <jsp:include page="simple_header.jsf"/>
                   </body>
              </html>
         </f:view>
    </jsp:root>the included page called simple_header.jspx
    <?xml version="1.0" encoding="UTF-8"?>
    <jsp:root version="2.0"
         xmlns:jsp="http://java.sun.com/JSP/Page"
         xmlns:c="http://java.sun.com/jsp/jstl/core"
         xmlns:f="http://java.sun.com/jsf/core"
         xmlns:h="http://java.sun.com/jsf/html">
         <f:subview id="header">
              <f:verbatim>
                   <p>Bar</p>
              </f:verbatim>
         </f:subview>
    </jsp:root>and finally the error message
    java.io.IOException: Stream closed
         org.apache.jasper.runtime.BodyContentImpl.ensureOpen(BodyContentImpl.java:576)
         org.apache.jasper.runtime.BodyContentImpl.write(BodyContentImpl.java:140)
         org.apache.jasper.runtime.BodyContentImpl.write(BodyContentImpl.java:157)
         org.apache.jsp.page_jspx._jspx_meth_f_view_0(page_jspx.java:102)
         org.apache.jsp.page_jspx._jspService(page_jspx.java:58)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)
         com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
         com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)
    blah blah blah...

  • SendXMLtoClient -- struggling with it - Help!!

    Hi,
    I am trying to do do an example of the "Client Call Addin Response DTD" i.e. pass
    an XML document to an external java
    program.
    As given in docs :
    http://e-docs.bea.com/wli/docs70/devclient/appa.htm#1120726
    1. I have created a template definition
    2. Defined a XML doc.
    (as per the Client Callin Request DTD) and attached to
    ActionSendXMLToClient event as shown below.
    <call-addin name="mywlpi.addinimpl" mode="async">
    <actionid>959395846210</actionid>
    <parm>itemNumber</parm> </call-addin>
    3. "mywlpi.addinimpl" is a java program I created
    4. Now, the problem I run into is
    when I run from Worklist (Swing client program), it errors out
    saying it cannot find this class file:
    ClassNotFoundException: mywlpi.AddInImpl
    java.lang.ClassNotFoundException: mywlpi.AddInImpl
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    5. I have included the class file in a .jar and included in the
    SVRCP of startWebLogic.cmd file. Also, when I create a
    Business Operation from Studio, I can locate this Java class.
    So, I am not sure what is missing. The strange part is when I
    run from the Worklist JSP page, it errors out saying : "Cannot
    execute this task, because it is already done." The task is not
    yet done.
    Is there someone who can help me here? Any suggestions
    appreciated!!
    Thanks, SLN

    You say you added the class to the server classpath but you don't say that
    you've added it to the client's classpath. Its the client that is giving you the
    error, right? If so, is the class in the worklist's classpath?
    In article <3d2f6575$[email protected]>, "SLN" says...
    >
    >
    Hello!!! How come no one has responded to this one???
    PLEASE HELP!!!!!!!!!!!!!!!!!!!!!!!!!!
    I AM STRUGGLING WITH THIS ONE!! I thought dev2dev newsgroup
    is pretty good :-(
    "SLN" <[email protected]> wrote:
    Hi,
    I am trying to do do an example of the "Client Call Addin Response DTD"
    i.e. pass
    an XML document to an external java
    program.
    As given in docs :
    http://e-docs.bea.com/wli/docs70/devclient/appa.htm#1120726
    1. I have created a template definition
    2. Defined a XML doc.
    (as per the Client Callin Request DTD) and attached to
    ActionSendXMLToClient event as shown below.
    <call-addin name="mywlpi.addinimpl" mode="async">
    <actionid>959395846210</actionid>
    <parm>itemNumber</parm> </call-addin>
    3. "mywlpi.addinimpl" is a java program I created
    4. Now, the problem I run into is
    when I run from Worklist (Swing client program), it errors out
    saying it cannot find this class file:
    ClassNotFoundException: mywlpi.AddInImpl
    java.lang.ClassNotFoundException: mywlpi.AddInImpl
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    5. I have included the class file in a .jar and included in the
    SVRCP of startWebLogic.cmd file. Also, when I create a
    Business Operation from Studio, I can locate this Java class.
    So, I am not sure what is missing. The strange part is when I
    run from the Worklist JSP page, it errors out saying : "Cannot
    execute this task, because it is already done." The task is not
    yet done.
    Is there someone who can help me here? Any suggestions
    appreciated!!
    Thanks, SLN

  • Simple JPA prog weblogic 10.3,  struggling with java.lang.NoClassDef s

    Hi,
    Trying to run a basic JPA program using createEntityManagerFactory, EntityManager and persistence.xml.....Everything compiling fine. I'm running it as a standalone Java application on Weblogic 10.3. First I got this error on running.
    Exception in thread "Main Thread" java.lang.NoClassDefFoundError: weblogic/kernel/KernelLogManager, after that I did some search on the net and created the wlfullclient.jar and included it. After that I'm getting the below error.
    Exception in thread "Main Thread" java.lang.NoClassDefFoundError: weblogic/logging/LogEntryFormatter.
    Tried removing wlcommons-logging.jar whenever facing an issue, but it doesnt help, it gives some other error when it is removed.
    Can some one help to rectify this error please. Not able to find the jar file that has this class
    Thanks,
    Vick.

    For folks who are struggling with this error, I'm posting the solution.
    When you face this error java.lang.NoClassDefFoundError: weblogic/kernel/KernelLogManager, first remove the weblogic system libraries, then generate the wlfullclient.jar file(steps are in the net) and add it to classpath.
    Ultimately after several inclusion of other jar files which wasnt included, it worked.
    All the best.

  • Is anybody else struggling with an intermittent connection when using the Magic Mouse/Trackpad ONLY on Boot Camp?

    Hi,
    I've seen thousands of posts about Bluetooth connection issues and interference and stutter/lag for both the Magic Mouse and Trackpad (affecting both Mac OS X and Windows under Boot Camp) but my problem is different.
    To summarise my setup, I use:
    - Retina MacBook Pro (lid closed or open, doesn't make a difference to this problem)
    - Thunderbolt Display
    - Wireless Keyboard
    - Magic Trackpad (have also tried a Magic Mouse and experience similar issues to the Trackpad)
    And in Mac OS X, everything works perfectly. The keyboard and trackpad work smoothly when I'm 6-7 metres from the machine, whether or not the laptop lid is open or closed, and whether or not the Thunderbold Display is connected.
    But on to my problem: the bluetooth connection is incredibly unreliable/intermittent when in Windows (I run Windows 7 64-bit and Boot Camp 4.0, and got both devices connected without any trouble via Bluetooth).
    But during usage, the cursor stutters/lags frequently, and tap to click (when enabled) seems to get triggered by mistake all the time (even when I'm not touching the Trackpad or even at the computer, clicks get registered).
    The Wireless Keyboard is perfect, and works well 5 metres from the machine. The Mouse and Trackpad, though, don't even work reliably when they are 6 inches from the machine. The built-in trackpad on the laptop works perfectly too, in Windows and Mac.
    I spent a week assuming I was suffering from Bluetooth interference, so I tried:
    - using the laptop with the lid open
    - removing the Thunderbolt display completely and trying the Magic Trackpad
    - repositioning items on my desk
    - disabling wifi
    All of these adjustments made minor differences to how good/bad the Trackpad was, but none came close to fixing the problem or making it work as smoothly as under Mac OS X. It was only after doing all of this that I realised perhaps it was just a Apple driver for Windows issue, so I booted into Mac OS X and tested everything out, and sure enough, it's all perfect. But back into Windows, the Trackpad doesn't work reliably at all.
    Obviously, the hardware is not at fault, and I assume the signal strength doesn't vary between operating system (why would it?) so I'm left believing this must be a driver issue. The TrackPad and Magic Mouse drivers have been out for a couple of years, so I'm surprised they can still be this bad. I tried both the latest driver from Boot Camp 4.0 (3.2.0.0) for the Trackpad, and also the older one from Boot Camp 3.2 (3.1.0.7) and both are equally bad for me.
    So my question is: has anybody else struggled with using the Trackpad (or Magic Mouse) with Boot Camp 4.0 and Windows 7 64-bit, whilst finding it to be perfect under Mac OS? I haven't found many posts complaining about the Windows driver, which is why I assumed it was an interference issue. But I'm almost sure it isn't, having spent 2 weeks investigating.
    Any thoughts/suggestions/answers much appreciated!
    Kyle

    SOLVED!
    After much testing, I have found the cause of lagging/jumpiness on the Bluetooth Magic Mouse and Magic TrackPad in Boot Camp. Hopefully this will help others:
    The drivers for the Broadcom 802.11n Wireless Adapter have a setting called "Bluetooth Collaboration" that is Disabled by default. Enabling this option removes the problem instantly. My Magic Trackpad now works flawlessly, even if I stand 6 metres from the machine. It now works just as well as under Mac OS. The setting can be found under:
    Control Panel > Device Manager > Network Adapters > Broadcom 802.11n Network Adapter (right click and choose "Properties". Under the "Advanced" tab, highlight the setting named "Bluetooth Collaboration", then change it to Enable. Then click OK.
    I narrowed the problem down to the wireless card by disabling ALL startup services and processes for Windows, then re-enabling one by one. As soon as I enabled the Windows Wireless Service, the problem came back. Similarly, disabling the Wireless Card inside the Network and Sharing Center (or Device Manager) removes the problem. This led me to believe it must be a driver issue with the wireless card, since the problem didn't occur with the Magic TrackPad under Mac OS, or on my mother's Windows 7 64-bit computer. So when I went into the Driver Properties to check for an update, I found this setting about Bluetooth Collaboration.
    I really hope this helps others trying to use Bluetooth devices under Boot Camp. All Apple notebooks use the Broadcom card (and have done for years), so this driver is installed for almost anybody using Boot Camp on an Apple notebook. I'd assume this problem would affect anybody using Boot Camp + wifi + a Bluetooth device.
    Cheers

  • Please help me! I am struggling with the mesh tool!

    So I want to make this chair look like it does in the picture, but I cant! There is a chapter in my Illustrator CS3 book explaining how to use gradient mesh and mesh tool, but it doesnt help me at all. I am clueless!   The tutorial says that I can create points in the mesh simply by clicking with the mesh tool within an object, but when I try to do that, the pointer is "crossed out". I can only add extra points on lines or edges, but not on empty space within an object. What gives? Why is it that others can do it an I cant? Forgive me if I sound a little too upset, but I've been struggling with this for days and I cannot find an answer.
    In this tutorial right here: http://www.layersmagazine.com/illustrator-gradient-mesh-tool.html the guy just clicks in empty spaces creating intersections. In my case it is impossible.
    PS: Please look at an attached file and tell me what would be the best way to go about coloring this chair. Maybe I am doing this completely wrong? (I only started learning illustrator about 5 weeks ago)
    Sorry for the background template being of poor quality, but this was taken from a book and scanned, so it's the best I could do.

    You know something I think there should be a behavioral change in this case. To my way of thinking this option should automatically be disabled if you select the Mesh tool. If for some reason you want the mesh tool not to behave the way there might be a toggle or a double click to get the preferences for the tool 's behavior itself. I can see where this behavior can be useful but there needs to be a toggle.
    Selecting the anchors for adding color with out accidentally creating a new mesh division is good thing but you need to be able to work both ways.
    What do you think Scott Weichert you use the tool extensively, am i wrong?

  • List Tile View not working with include rule on iOS?

    hi Expert,
    I used the List Tile View with include rule in Agentry 6.0 on WinCE before to generate "selected" object list upon different conditions, e.g., assigning tasks based on scenarios.
    Currently, I am experimenting the same function on iOS tablet.
    On the start screen which is a detailed screen for main object, there is a List Tile View and an include rule. However, the objects in the tile list are not updated correctly when the output of the rule changes. Note that the same include rule works perfectly with a List View for the same collection.
    To my observation, the problem seems to associated with "update" of the tiles when result of include rule changes. For example, in scenario 1, there are 5 objects in the list; switching to scenario 2, there are 10 objects. From the No.6 to No.10, the objects are correct. The No.1 to No.5 are still the original 5 objects for scenario 1.
    When the user clicks on tiles, it makes the situation worse. Normally, a single object's tile will always be shown in the selected tile regardless which tile is selected from the list.
    My development environment is 6.0.40 and the client is 6.0.40 on iPad (iOS 7.1). I would like to know whether this is a known issue before I provide more details.
    Thanks.
    -Yang

    hi experts,
    When I asked the question on this list tile view refreshing issue, my dev environment is Agentry 6.0.38.
    In Agentry 6.0.40.1's release note, there is a fixed
    AG-25821  iOS 7 refresh issue with iPad tile list
    However, I currently have Agentry 6.0.42.1 on iPad (iOS 7.1.2). And my editor/server is 6.0.42.0. I still have the list tile view refreshing issue. The same rule can be used on list without any problem. But the list tile still has trouble on display the right set of objects.
    My question is is that fix related to the problem I saw?
    Thx.
    -Yang

  • I have continuously over the last 6 months struggled with syncing my iphone and ipod with itunes  The app continually crashes during the picture import.  AND by the way it takes 10-15 minutes before it even attempts to import photos.  The screen says impo

    I have continuously over the last 6 months struggled with syncing my iphone and ipod with itunes  The app continually crashes during the picture import.  AND by the way it takes 10-15 minutes before it even attempts to import photos.  The screen says importing photoes but doesnt try to optimize or anything for 10 minutes.  I have a 3gs with 16Gb so its not a cheap phone.  I have 10Gb free.  I have 6600 photoes.  This is very frustrating and undermines my confidence in your products.  My ipod is an ipod 4 with 16Gb also.  It does the exact same thing to it.  The last time, I had to import photoes a few at the time and with it taking 10-15 minutes each time for 6600 photos it is a long frustrating process.  But it will import every photo a few at a time.  The error message is just that itunes has stopped working.  no hint as to why. AND of course, my phone is out of use for the entire time.  You guys must not want to believe ur phones are a necessary tool...or maybe you dont want the consumer to believe it is.  I have tried to find solutions on your website as well as through other 3rd party communities.  Ultimately they were of no use.  I stumbled onto my solution by accident since Im a bit of a computer geek...a semi-geek.

    I have this issue too, I went into my Windows event viewer. (should have looked at this a year ago when this started)
    it said this
    Faulting application name: iTunes.exe, version: 11.0.2.26, time stamp: 0x51253247
    Faulting module name: ntdll.dll, version: 6.1.7601.17725, time stamp: 0x4ec49b8f
    Exception code: 0xc0000374
    Fault offset: 0x000ce6c3
    Faulting process id: 0x14d4
    Faulting application start time: 0x01ce194399f166ba
    Faulting application path: C:\Program Files (x86)\iTunes\iTunes.exe
    Faulting module path: C:\Windows\SysWOW64\ntdll.dll
    Report Id: 0eb3c37f-8537-11e2-9351-50465d6737de
    basically whenever I try to sync my ipod touch 4G 64GB it crashes iTunes when it begins the pictures. if im lucky ill get 4-5 on there before it stops responding. its not my system or anything im running win7x64 8GB DDR3 ram (Corsair XMS3) AMD FX Eight core processor.
    It is silly that iTunes cannot add pictures to apple devices. it shatters whatever incline I may have to buy apple products. knda like the Airport Extreem router my dad bought the new firmware, caused my router to not function... why release firmware that breaks a product. -_- <-- off topic but still

  • Hi there. I hoping for help.   I am struggling with both...

    hi there. I hoping for help.
    I am struggling with both my WRT54G router set-up and i can't seem to use your online chat system. I hope that you can help.
    I have just moved from Hong Kong to New Zealand and I'm trying to install my WRT54G, bought in Hong Kong, to connect to a Telstra braodband internet connection, but when I follow the instruction CD-ROM I get to the point (number 6 - although this point is numbered 7 in the instructions?!?) when I have connected the router it then says it is checking my settings and then it asks me to put in a password. It then checks my system again and then asks me for the password again, and this repeatedly. I can't get past this point. Because this was happening I pushed the reset button on the back of the router, but it still asks me for a password (I have tried using admin as the password without success) and then goes through the check and asks me for the password again. Any help would be great.
    Thanks.
    Michael Anthony

    What windows OS are you running? It may have not installed correctly.
    First go to control panel in start menu, then add/remove programs. it should be in there.
    If you do not see it there then go to programs files and see if it is there. if so you can delete the folder it is in, then run disk clean up.
    By manually setting up did this work? would like to know the end results.

  • Use XSD referencing other XSDs with include statement in Message mapping

    Hello,
    I have an XSD with include statements having reference to other 4 XSDs.One XSD out of these 4,one references one more XSD
    I referred to the thread on this :
    refrencing 1 xsd to another   https://forums.sdn.sap.com/post!default.jspa?forumID=44#
    I have created 6 External Definitions one for each XSD
    Referring to the following statement in this thread:
    In XI 3.0, there is a tab there called External References. You will see there a Source and a Name. When you click the Name, click Copy Object. Then you open the target object and paste it under the Source located just before the tabs.
    The Name you see in the External References are the ones that are declared as include or import in the XSD.
    I can see included XSD names in Source column under External References tab in External definition for main XSD.
    But Name column is always blank and these columns are not editable.Also,copy doesn't work.
    We have XSD names in include statements,but I wonder when I create External definitions out of these XSDs ,how would my main External definition know,which other External definitions are referenced?
    If I use the External definition with main XSD as target structure in my mapping,I can only see the fields from this XSD and not the fields from the included XSDs.But I need to map these fields as well.
    Can anybody please let me know how can I get a complete XSD as target structure in my mapping?
    Thanks for your help.
    Regards,
    Shweta

    Plz close other duplicate threads for the same issue first..
    Regards,
    Sarvesh

  • Just moved from microsoft word, struggling with one thing . . the view

    I've just recently started using pages rather then microsoft word.
    It seems great, but there is one thing that I'm struggling with, the page view
    No Matter what I do I can't seem to show the pages left border (from the perspective of looking at the computer screen)
    In word you can see the entire page, then there is space where it finished and around the sides.
    I can't seem to get the view to show the space around the top of the first page and the left border of all the pages.
    Any help is greatly appreciated!
    Thanks in advance

    What about the view - one up option? I see it in the help but I don't see it in my document. When I click on View, I don't see one up as an option.
    Anyone know if there's a way to see one page above/below the other, rather than spread out side by side?
    It's not in the View menu. One-up & two-up is in the percentage box at the bottom left of the document.

  • Standard Text with ' include' option doesn't work with order created by FM

    Hi ABAPers,
    Standard text with 'Include' Option does not work with all the Order created via the Function Module SD_ORDER_CREATE_WWW. Where as Order created via VA01 display the Standard text with 'Include'.
    On my analysis I found that, Order created via FM use  the '*' 'Comment' instead of ':/' 'Command' in the script editor. So the Standard text inserted was considered as a Text instead of command.
    Hence issuing print or print preview, the Script display the INCLUDE statement instead of the text.
    Can you please let me know the reason and the way to rectify it.
    Thanks & Regards
    N.Suresh Kumar

    Hi.
    Make that * command as /: and try in ur program..
    It works..
    Hope it helps...
    Cheers,
    Simha.

  • Struggling with Applying Cell refences of formulas to multiple cells

    Probably a basic question- I am new to Numbers.
    Ive been struggling for ages with applying a formula or cell reference to more than one cell at a time. If I select multiple cells (shift or command clicking them) - then I am unable to create a new 'Cell References'. Pressing the equals = sign merely gives me an error sound. And the formula bar is not accessible
    I have been struggling with this on and off now for about a week. Help - well it doesn't help and implies that I am doing the right thing, but it is not working. - Please help

    marky3 wrote:
    I ve been struggling for ages with applying a formula or cell reference to more than one cell at a time. If I select multiple cells (shift or command clicking them) - then I am unable to create a new 'Cell References'. Pressing the equals = sign merely gives me an error sound. And the formula bar is not accessible
    I have been struggling with this on and off now for about a week. Help - well it doesn't help and implies that I am doing the right thing, but it is not working. - Please help
    A better use for your time was to read carefully *Numbers User Guide* and *iWork Formulas and Fucnctions User Guide*.
    We may insert a reference to a range of cells in a cell's formula but we can't insert a formula in several cells with a single task.
    The correct protocol is :
    insert the formula in the first cell of the range then use the fill down (or fill up or fill to the right or fill to the left) feature.
    Yvan KOENIG (VALLAURIS, France) dimanche 21 février 2010 22:21:40

  • I mistakenly wiped my mac ox from my macbook and i'm struggling with getting it fixed or getting a new one to install.

    i mistakenly wiped my mac ox from my macbook and i'm struggling with getting it fixed or getting a new one to install. Can anyone help me?  thanks
    <Email Edited By Host>

    Restart the Mac and hold down Command+Option+R. Choose to reinstall OS X. The version of OS X your Mac came with will be installed.

Maybe you are looking for

  • IPod No Longer Works In iHomes H5

    Since I updated to the latest version of iTunes, my iPod doesn't work in my iHomes H5. I've tried three H5s, and it doesn't work in any. However, my wife's nano works fine in our H5. Also, I've taken my iPod to two different electronics stores for di

  • Issue in getting the purchase details

    SELECT Tbl_ProductGroupMaster.ProdName, Tbl_ProductGroupMaster.UnitNam, Tbl_Inventory.CrDate, Tbl_Inventory.QtyOpStk, Tbl_Inventory.QtyClStk, Tbl_Inventory.ExcShortage, purchase.SumOfNUnit, sales.SumOfQty FROM Tbl_ProductGroupMaster, Tbl_Inventory, [

  • How to set up Pymnt Method for different business units

    Hi, Can anyone shed some light as to how to set up P Method in FBZP in a way that one type can be identified according to its Business Unit? To clarify, FBZP is currently set up in a repeated way: Pymnt Methods: T - Transfer - Business Oil S - Transf

  • Printing from Acrobat X Pro

    I converted a web page to a pdf in Acrobat X pro. The result was two pages of text and a few uncomplicated images. I tried to print those two pages to a standard desktop printer. Acrobat then  proceeded to "flatten" the pages...whatever that means. F

  • Will not reboot....stays on the windows didn't shutdown properly

    stuck on the startup menu. what can I do?