Subapplications error, forwardPattern attribute

Could one use forwardPattern attribute of controller tag in struts controller configuration (JhsRequestProcessor) instead of manually replacing occurances of WEB-INF in struts-subapp-config.xml
as described in steps 3, 12 and 22 of Customizing JHeadstart applications?
I followed steps in tutorial and set
ui pages directories to /WEB-INF/sifarnici/uix/
and /WEB-INF/maticni/uix/. I have merged cle-providers, dataObjects.properties, deployment.properties, copied jheadstart and images directories to web/maticni and I have changed init params to
    <init-param>
     <param-name>config</param-name>
     <param-value>/WEB-INF/struts-config.xml</param-value>
    </init-param>
    <init-param>
   <param-name>config/maticni</param-name>
<param-value>/WEB-INF/struts-maticni-config.xml</param-value>
    </init-param>In struts-maticni-config I have replaced each occurance of
WEB-INF as in tutorial, so that references to UIX pages look like:
<forward name="initial" path="/../WEB-INF/maticni/uix/FindpoduzetnikPage.uix"/>In index.html I have created hrefs:
<a href="maticni/StartZoneMaticni.do">Maticni</a>
<br>
<a href="StartZoneSifarnici.do">Sifarnici</a>In the end I get:
500 Internal Server Error
java.lang.NullPointerException
     at oracle.jheadstart.view.uix.JhsUIXPageBroker.getPageDescriptionCache(JhsUIXPageBroker.java:96)
     at oracle.cabo.servlet.xml.UIXPageBroker.getPageDescription(Unknown Source)
     at oracle.cabo.servlet.AbstractPageBroker.getPageRenderer(Unknown Source)
     at oracle.cabo.servlet.AbstractPageBroker.renderPage(Unknown Source)
     at oracle.cabo.servlet.PageBrokerHandler.handleRequest(Unknown Source)
     at oracle.cabo.servlet.UIXServlet.doGet(Unknown Source)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
     at oracle.jheadstart.controller.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:174)
     at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:560)
     at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
     at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
     at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
     at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:274)
     at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
     at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:320)
     at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
     at oracle.jheadstart.controller.struts.JhsRequestProcessor.process(JhsRequestProcessor.java:588)
     at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
     at oracle.jheadstart.controller.struts.JhsActionServlet.process(JhsActionServlet.java:115)
     at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
     at oracle.jheadstart.controller.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:174)
     at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:560)
     at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
     at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
     at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
     at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
     at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
     at java.lang.Thread.run(Thread.java:534)
[\code]
Am I missing something?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Ivica,
You can ignore the message about the unspecified properties.
The NullPointerException you get can be solved by omtting the slash at the start of the forward path. You can then even locate our uix files under WEB-INF. So, if your uix files reside under web/WEB-INF/maticni/uix, the the forward path should be:
path="WEB-INF/maticni/uix/somepage.uix"
Alternatively, you can use the forwardPattern property. We do not have to change our code for that.
What we will change is that in the next release, you can configure the JHeadstart Application Generator to generate a sub-module, which means you do not have to perform any post-generation modifcations at all.
Steven Davelaar,
JHeadstart Team.

Similar Messages

  • "Error determining attribute" after adding navigational attribute to query

    Hello all,
    We are getting a "Error Error determining attribute, Abort System error in program SAPLRRK0 and form RSRDR;SRRK0f30-01-" error message when running a query after adding a navigational attribute. We tried adding the attribute of the characteristic directly in the query and this works ok. But when we try using the navigational attribute we get the error. We would like to use the navigational attribute so we can filter based on this attribute.
    We've searched for notes regarding this problem and haven't found any. Any suggestions?
    Thanks, Ron

    hi,
    Please check if  number of the fields after adding the Navigationl attribute the should not cross 50.
    Check the RSRV test for the master data whose navigational attribute u r trying to add.
    Thanks
    Mukesh

  • Product :  Errors in attribute hierarchy structure SAP BCA   000164

    Hi All ,
    When ever i create /Display /Change Product in
    Financial Supply Chain Management --> In House Cash > Master Data>Product Definition--> Product --> Create /Change/Display
    system through below mentioned error .
    I tryed to resolve problem as per below mentioned program through se38 , but still getting same error
    Errors in attribute hierarchy structure SAP BCA   000164
    Message no. FIPR217
    System Response
    An error was found in the attribute hierarchy.
    In some cases, it is not possible to display the attribute hierarchy without having to correct the errors first.
    Procedure
    It is recommended that you run the FIPR_CLEAN_ATTRIBUTES (by using transaction SE38).  This report can recognize errors, and it attempts to correct them automatically.
    Caution: This report can change your table entries permanently.
    Once this report has run, you need to check the hierarchy structure, and make any necessary changes.
    Regards
    Prakash Sharma

    Hi,
    the realignment (KEND) does not change the line item tables (CE1***, CE2***), thats why they remain unchanged.
    The line items in CE1**** can not be changed. If you really want to have new line items (with the new prod. hierarchy) try in test-client if the use of report RKECADL1 and the new transfer to CO-PA for the deleted line items (KE4S, KE4SFI,...) can help you (SAPNET-note 69370 for details).
    CE2**** + SQL-error: As per now, I don't have an idea how to deal with that cases.
    best regards, Christian

  • Error message - attributes of the user inconsistent or not defined

    Hi,
    We are in SRM 7.0 have created new plant and some users assigned to this plant.
    However when logged into portal page, it gives the error message ' Attributes of the user inconsistent or not defined' see PPOMA_BBP.
    When checked in the org structure the data entered are correct.
    What could be the reason for this error message.
    Rgds,
    Madhan

    Hi,
    Please check the following in the org structure in PPOMA_BBP for the users
    1. Check whether the attribute for the ITS --URL is given.
    2.Check the attribute for the company code is given.
    3.Check whether the Roles for the users is given
    in addition go to the check  tab and check if any Red mark are there.
    correct those attribute.
    The error is basically related to  the PPOMA_BBP only
    Regards
    G.Ganesh Kumar

  • Ldap Synch Error in attribute conversion operation Issue in OIM 11g R2 PS1

    Hi All,
    We have enabled LDAP Synch in OIM11g R2 PS1 environment. We have requirement of users getting created through Web Services. When we create a user through Webservices, and provide all the attributes required to create user then we are getting LDAP Error in attribute conversion operation:
    2014-01-03T02:31:52.249-05:00] [oim_server1] [WARNING] [] [oracle.adf.controller.faces.lifecycle.Utils] [tid: [ACTIVE].ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 1353004b0df87234:-67081615:143517a89d1:-8000-0000000000002807,0] [APP: oracle.iam.console.identity.self-service.ear#V2.0] ADF: Adding the following JSF error message: IAM-2050243 : Orchestration process with id 9864, failed with error message IAM-3010201 : LDAP create event failed : 00000057: LdapErr: DSID-0C090C3E, comment: Error in attribute conversion operation, data 0, v1db1.[[
    oracle.iam.ui.platform.exception.OIMRuntimeException: IAM-2050243 : Orchestration process with id 9864, failed with error message IAM-3010201 : LDAP create event failed : 00000057: LdapErr: DSID-0C090C3E, comment: Error in attribute conversion operation, data 0, v1db1.
      at oracle.iam.ui.platform.exception.OIMErrorHandler.reportServiceException(OIMErrorHandler.java:170)
      at oracle.iam.ui.platform.exception.OIMErrorHandler.reportException(OIMErrorHandler.java:65)
      at oracle.adf.model.binding.DCDataControl.reportException(DCDataControl.java:411)
      at oracle.adf.model.binding.DCBindingContainer.reportException(DCBindingContainer.java:416)
      at oracle.adf.model.binding.DCBindingContainer.reportException(DCBindingContainer.java:471)
      at oracle.adf.model.binding.DCControlBinding.reportException(DCControlBinding.java:201)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.reportException(JUCtrlActionBinding.java:2016)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1660)
      at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2150)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)
      at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)
      at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
      at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)
      at oracle.iam.ui.platform.utils.FacesUtils.executeOperationBinding(FacesUtils.java:165)
      at oracle.iam.ui.platform.utils.FacesUtils.executeOperationBindingFromActionListener(FacesUtils.java:112)
      at oracle.iam.ui.catalog.view.backing.CartReqBean.submitActionListener(CartReqBean.java:848)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at com.sun.el.parser.AstValue.invoke(AstValue.java:187)
      at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
      at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
      at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
      at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
      at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
      at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1018)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:386)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.adf.view.page.editor.webapp.WebCenterComposerFilter.doFilter(WebCenterComposerFilter.java:117)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
      at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
      at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.iam.ui.platform.servletfilter.IdentityContextFilter.doFilter(IdentityContextFilter.java:50)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.iam.platform.servletfilter.PwdMgmtNavigationFilter.doFilter(PwdMgmtNavigationFilter.java:164)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.bpel.services.workflow.client.worklist.util.WorkflowFilter.doFilter(WorkflowFilter.java:248)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.bpel.services.workflow.client.worklist.util.DisableUrlSessionFilter.doFilter(DisableUrlSessionFilter.java:70)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
      at java.security.AccessController.doPrivileged(Native Method)
      at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
      at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
      at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
      at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
      at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    In this case user is getting created in OIM but LDAP Synch is not happening we are getting the error as mentioned above.
    When we create user in OIM  not through Web Serives but through Identity Self Service and provide any date attribute for example Start Date,Provisoning Date, Deprovisoning Date or any other date attribute, then also we are geeting the same error of Error in attribute conversion operation Issue, in this case user is not getting created in OIM and LDAP Synch is not happening.
    And when we create a user in OIM not through Web Serives but through Identity Self Service  and did not give any of the date attribute then user is getting created and LDAP synch is also happening successfully.
    We need to create users through Web Services and we need to resolve this issue asap, request you all to provide any helpful pointer on this.
    Thanks
    Varsha

    This can happen due to OIM-LDAP wrong attribute mapping/value getting passed.
    Can you please first try with OOTB attributes and see how it behaves?
    J

  • Error as Attribute check for Asst, Govt & Parl Bus & PA to Dpty Chair fail

    Hi,
    I have created a new user and the user can not use the "SHOP" transaction in SRM portal. He is getting the error "Attribute for user XXXX contains errors. Inform system admin".
    I have checked the org. stracture through PPOSA_BBP and find the error as "Attribute check for YYYY failed".
    Could any body please suggest me what I need to do now?
    where,
    XXXX----name of the user
    YYYY----Position of the user
    Thanks,
    Pijush

    hI
    users_gen
    execute
    now select
    copy user and employee data from template
    and
    now
    select radio button
    create users from existion su01 users (since you have already created SU01 user in gui)
    then execute
    org id 5XXXXXXX - where do you want to assign the user ( this is org id from ppoma_bbp)
    and selcect country of that org .(country must be mentioned in org 5XXX in the address tab)
    and continur
    and area of users
    type your user id and execute
    muthu

  • JSP page error: JSPtranslate: attribute | has no value.

    Hi again,
    I've written the JAVA class, the TLD and the JSP but when I try to provide the parameters to the TLD file in the JSP I get this error: JSPTranslate: attribute | has no value. /**** My TLD file is in a WEB_INF/tags/ directory. ***/
    I've included my JAVA class, JSP and TLD files below.
    package com.ibm.samples.TEMP;
    import javax.servlet.jsp.*;
    import javax.servlet.jsp.tagext.*;
    public class TEMP extends TagSupport
         private int mandatory = 0;
    //Set method base upon info from .tld file
         public void setMandatory(int mandatory)
             this.mandatory = mandatory;
    //Init tag called from .JSP page that used the custom tag.
        public int doStartTag() {
           try
                JspWriter out = pageContext.getOut();
                out.println("<table border=1>");
           if (mandatory == 1)
               out.println("<tr><td> <input type=\"text\"" +
                     "style=\"background-color:yellow\" size=\"25\" name=\"user\">");
              else
               out.println("<tr><td> <input type=\"text\"" +
                     "style=\"background-color:white\" size=\"25\" name=\"user\">");
           catch (Exception ex)
                  throw new Error("Failure");
    // Must return SKIP_BODY because there isn't a body for this tag.
           return SKIP_BODY;
    //End tag ends table and exits, along with error / exception catching
         public int doEndTag(){
            try  {
                                  JspWriter out = pageContext.getOut()
                                  out.println("</table>");
                          catch (Exception ex)
                                  throw new Error("Failure.");
          return EVAL_PAGE;
    --------------END OF CLASS--------------
    ----------------------JSP----------------------
    <%@ taglib [tagdir="/WEB-INF/tags/" | uri="/WEB-INF/tags/inputTAGS.tld"] prefix="I" %>
    <HTML>
      <HEAD> 
           <TITLE>Custom Tags</TITLE> 
      </HEAD>
      <BODY BGCOLOR = "WHITE">
          <H3>Custom Tags!</H3>
          <FORM METHOD="GET" ACTION="customTags.jsp">
            <P>
            Enter First Name:<br>:
            <P>
            <I:inputTags mandatory="1"/>
            <P>
            Enter Last Name:<br>:
            <P>
            <I:inputTags mandatory="1"/>
            <P>
            Enter Phone Number:<br>:
            <P>
            <I:inputTags mandatory="0"/>
            <P>
            <INPUT TYPE="SUBMIT" VALUE="Submit">
            <INPUT TYPE="RESET" VALUE="Reset">
          </FORM>
      </BODY>
    </HTML>
    --------------END OF JSP--------------
    --------------------TLD--------------------
    <?xml version = "1.0" encoding = "ISO-8859-1"?>
    <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
    "http://java.sun.com/dtd/Web-jsptaglibrary_1_2.dtd">
    <taglib xmlns = "http://java.sun.com/JSP/TagLibraryDescriptor">
    <tlib-version>1.0</tlib-version>
    <jsp-version>1.2</jsp-version>
    <short-name>Input tags library</short-name>
    <description>Custom tags test</description>
    <tag>
    <name>inputTags</name>
    <tag-class>com.ibm.samples.temp.TEMP</tag-class>
    <description>
    Formatted text box:
    </description>
    <attribute>
    <name>mandatory</name>
    <required>true</required>
    <rtexprvalue>true</rtexprvalue>
    </attribute>
    </tag>
    </taglib>
    - LS6V

    I made a new web project and the TLD link is fine. But I have a new error:JspTranslate: unable to load class null I'm recieving the error in my JSP page editor.
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <%@ taglib uri = "/WEB-INF/lib/tag.tld" prefix="I" %>
    <HTML>
      <HEAD>
           <TITLE>Custom Tags</TITLE>
      </HEAD>
      <BODY BGCOLOR = "WHITE">
          <H3>Custom Tags!</H3>
          <FORM METHOD="GET" ACTION="JSPTAG.jsp">
            <P>
            Enter First Name:<br>:
            <P>
    ERROR FOUND HERE ----------->>> <I:inputTag mandatory="1"/>
            <P>
            Enter Last Name:<br>:
            <P>
            <I:inputTag  mandatory="1"/>
            <P>
            Enter Phone Number:<br>:
            <P>
            <I:inputTag mandatory="0"/>
            <P>
            <INPUT TYPE="SUBMIT" VALUE="Submit">
          </FORM>
      </BODY>
    </HTML>---------------------------JAVA CLASS-------------------------
    import javax.servlet.jsp.*;
    import javax.servlet.jsp.tagext.*;
    public class TAG extends TagSupport
         private String mandatory="";
         private int iMandatory = 0;
    //Set method base upon info from .tld file
         public void setMandatory(String hold)
             mandatory = hold;
             iMandatory = Integer.parseInt(mandatory);
         public String getMandatory()
          return(mandatory);
    //Init tag called from .JSP page that used the custom tag.
        public int doStartTag() {
           try
            JspWriter out = pageContext.getOut();
            out.println("<table border=1>");
             if ( iMandatory == 1)
               out.println("<tr><td> <input type=\"text\"" +
                     "style=\"background-color:yellow\" size=\"25\" name=\"user\">");
            else
               out.println("<tr><td> <input type=\"text\"" +
                     "style=\"background-color:white\" size=\"25\" name=\"user\">");
           catch (Exception ex)
                  throw new Error("Failed in doStartTag");
    // Must return SKIP_BODY because there isn't a body for this tag.
           return SKIP_BODY;
    //End tag ends table and exits, along with error / exception catching
         public int doEndTag(){
            try {
                 JspWriter out = pageContext.getOut();
                out.println("</table>");
            } catch (Exception ex){
                  throw new Error("Failed in doEndTag");
            return EVAL_PAGE;
    }---------------------------TLD------------------------
    <?xml version ="1.0" encoding = "UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    <taglib xmlns ="http://java.sun.com/JSP/TagLibraryDescriptor">
      <tlib-version>1.0</tlib-version>
      <jsp-version>1.2</jsp-version>
      <short-name>Input tags library</short-name>
      <description>Custom tags test</description>
      <tag>
        <name>inputTag</name>
        <tag-class>source.TAG</tag-class>
        <description>
            Formatted text box:
        </description>
        <attribute>
          <name>mandatory</name>
          <required>true</required>
          <rtexprvalue>true</rtexprvalue>
          <type>String</type>
        </attribute>
      </tag>
    </taglib>

  • Error: An attribute cannot appear more than once in the same start tag

    Hi Everyone,
    when i run the page sometimes it works fine but sometimes it throws Compilation Error as below.
    "Error(502,1224): file:/C:/Jdeveloper/jdevhome/jdev/myhtml/OA_HTML/fwk/t/Session_2055663493/region1.uix<Line 502, Column 1224>: XML-20124: (Fatal Error) An attribute cannot appear more than once in the same start tag."
    And i delete the particular file from the path and run the page so this time it works fine.
    But later after sometime i get the same error but the session number will be changed, then again i need to delete it and run.
    What can be the permanent solution for this issue?
    Plz let me know any suggetions.
    Thanks.

    Seems like the mdl file is corrupted or was not generated correctly.
    Can you try to create the mdl file again and then try the import ?
    If it doesn't work then try contacting Oracle Support.

  • Error getting attribute  on MBean

    After deploying EJB jar file I modified an EJB to add a CMP field. I deployed
    it again and tested it. It works fine. However, when I deployed I am getting
    a bunch of error. The stack trace is pasted here. Any ideas on resolving this.
    I am using WL 6.1 with service pack 3 on Solaris.
    Thanks, GP
    Here is the partial stack trace:-
    <Management> <tspwwi1> <esmirror> <ExecuteThread: '1' for queue: '__weblogic_admin_html_queue'>
    <system> <> <140001> <Error getting attribute on MBean esmirrordomain:Application=Catalog,EJBComponent=Catalog,EJBDescriptor=EJBDescriptor-6,EntityDescriptor=EntityDescriptor-11,Location=esmirror,Name=Pool-13,Type=Pool,WeblogicEJBJar=WeblogicEJBJar-13,WeblogicEnterpriseBean=WeblogicEnterpriseBean-13.
    Method: null>
    javax.management.AttributeNotFoundException:

    Hi all,
    I m facing similar with problem WLS 9.2, when I try to get value of any attributes for "EJBTransactionRuntime" AttributeNotFoundException ..can any one tell me exact hierarchy for accesing "EJBTransactionRuntime"..here is how my jmx program is accesing through below hierarchy.
    ServerRuntime->ApplicationRuntimes->ComponentRuntimes->EJBComponentRuntimes->EJBRuntimes->EntityEJBRuntimes->TransactionRuntimes->EJBTransactionRuntimes
    And I m getting following....Exception
    " in thread "main" javax.management.AttributeNotFoundException: com.bea:ServerRuntime=examplesServer,Name=BeanMa
    nagedAccountEJB,ApplicationRuntime=ejb20BeanMgedEar,Type=EntityEJBRuntime,EJBComponentRuntime=ejb20BeanMgedEjb:Transacti
    onRuntimes"
    This exception i m getting exactly when my program tries to access "TransactionRuntimes" from hierarchy..
    any help g8ly appreciated...

  • Error RSM006 "Attributes are not yet maintained"

    Hello everyone, I have had a problem with two infopackages,  one of them has the 0COORDER_TEXT datasource and the other 0COORDER_ATTR datasource. When I run the process chain with these infopackages, I have the error RSM006 "Attributes are not yet maintained", if I try to change these infopackages with the RSA1 I have the same error.
    Do you have any suggestion to solve this problem?
    Thank you very much.
    Best Regards
    Maximiliano Valin

    Thank you, I check your recommendation and I found everything ok, the 0COORDER is ok and active, and the tranfer rules are ok and active too, I don't know what other thing could be the problem.
    This is the help message that appear when the error happens.
    Attributes are not yet maintained
    Message no. RSM006
    Diagnosis
    The attributes have either not yet been created or activated.
    The data cannot be taken from the source system without maintained attributes. Therefore, this data request is not possible.
    Procedure
    Maintain the attributes for this master data-InfoSource in the Administrator Workbench and then activate them.
    Thank you for everything.

  • HL7 Outbound runtime error: "Mandatory attribute missing: Standard"?

    I am trying to develop an outbound HL7 v2 solution. I have a composite that picks up an XML message, transforms it to a HL7 v2 XML, popuates b2b. properties and hads the payload over to teh B2B. The partners and partnerships are, seemingly, OK. Yet, I get a runtime error "Mandatory attribute missing: Standard". What am I missing?
    The error (one of them anyway) looks like that below.
    Thanks in advance for any pointers that anyone may be able to offer.
    Regards
    Michael
    [2010-06-25T09:13:34.437+10:00] [AdminServer] [TRACE] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@157bfbf] [userId: <anonymous>] [ecid: 0000I_gFDdOESOYjLpyGOA1C8Mno0005_G,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [dcid: 3df7286553d16a99:75be56fb:129629445e0:-7fd3-000000000000004e] [SRC_METHOD: synchedLog_J] Notification: notifyApp: Enqueue the exception message:[[
    <Exception xmlns="http://integration.oracle.com/B2B/Exception" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <correlationId>C0A8A4811296C3CD78A000001FFF4A70</correlationId>
    <b2bMessageId>34373438353435383437393236303338</b2bMessageId>
    <errorCode>B2B-51507</errorCode>
    <errorText>
    <![CDATA[
    Error Brief :
    XEngine error.
    ]]>
    </errorText>
    <errorDescription>
    <![CDATA[
    Error :
    Mandatory attribute missing: Standard.
    ]]>
    </errorDescription>
    <errorSeverity>2</errorSeverity>
    <errorDetails>
    <parameter name="b2b.messageId" value="34373438353435383437393236303338"/>
    <parameter name="b2b.documentTypeName" value="ADT_A01"/>
    <parameter name="b2b.documentProtocolVersion" value="2.3.1"/>
    <parameter name="b2b.documentDefinitionName" value="ADT_A01_DocDef"/>
    <parameter name="b2b.documentProtocolName" value="HL7"/>
    <parameter name="b2b.messageType" value="1"/>
    <parameter name="b2b.fromTradingPartnerId" value="LocalHL7Receiver"/>
    <parameter name="b2b.fromTradingPartnerIdType" value="Name"/>
    <parameter name="b2b.toTradingPartnerId" value="127.0.0.1"/>
    <parameter name="b2b.toTradingPartnerIdType" value="MLLP ID"/>
    </errorDetails>
    </Exception>
    [2010-06-25T09:13:34.437+10:00] [AdminServer] [TRACE] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@157bfbf] [userId: <anonymous>] [ecid: 0000I_gFDdOESOYjLpyGOA1C8Mno0005_G,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [dcid: 3df7286553d16a99:75be56fb:129629445e0:-7fd3-000000000000004e] [SRC_METHOD: synchedLog_J] Notification: deliverException: Send message to endpoint IP_IN_QUEUE

    Answering my own question - I needed to populate the Standard attribute of the outbound message with teh string HL7. I populated Version attribute with 2,3,1 just for a good measure. Things now work.

  • 连接Gige摄像机时出错:Error:0xBFF69012 Attribute value is out of range Attribute Name CameraAttributes::AutoFunction::AutoTargetGrayValue

    操作系统:XP
    MAX版本:14.0
    IMAQdx版本:4.3.5
    摄像头:北京嘉恒中自图像OK_AC1360
    生产商的应用软件中使用正常。在AMCAP软件(视频测试软件)中使用也正常。
    连接Gige摄像机时出错:Error:0xBFF69012 Attribute value is out of range Attribute Name CameraAttributes::AutoFunction::AutoTargetGrayValue
    试着修改 ‘AutoTargetGrayValue’ 属性值,但是MAX会无相应并死掉。
    Solved!
    Go to Solution.

    Sometimes, camera firmware is the problem.  Sometimes, the camera XML file is the problem.  Sometimes, the way that IMAQdx tries to force settings onto the camera is the problem.
    Things to try:
    1. Check with the manufacturer, and ask if new firmware is available for the camera.  If the firmware cannot be updated by the end user, you will need to get a Returm Merchandise Authorization number, and send the camera in for the upgrade.
    2. Edit the XML file that was downloaded from the camera, and remove all references to CameraAttributes::AutoFunction::AutoTargetGrayValue.  Do not alter, or remove the zip file that resides in the same location as the XML.  If you do, IMAQdx will request a fresh copy from the camera, and overwritew your changes.  You can find the XML file in C:\Users\Public\Documents\National Instruments\NI-IMAQdx\Data\XML
    3. Edit the camera .icd file in C:\Users\Public\Documents\National Instruments\NI-IMAQdx\Data, and remove the reference to CameraAttributes::AutoFunction::AutoTargetGrayValue.
    Machine Vision, Robotics, Embedded Systems, Surveillance
    www.movimed.com - Custom Imaging Solutions

  • JAG-XML : XML-24536: (Error) Missing Attribute 'groupName'

    Hi,
    I am getting the following error after creating a group using the option 'Edit JHeadstart Application Definition' on my view controller.
    JAG-00001.0 [ init ] Invalid property in application structure file. XML processing logged the following errors:
    JAG-XML : <Line 62, Column 4220>: XML-24536: (Error) Missing Attribute 'groupName'
    Unable to validate service
    I have not named the group appropriately. But strangely I am not being allowed to correct this. When I try to bring up the 'Edit JHeadstart Application Definition' window (where I can correct this) it pops up another window that prompts me this: 'Do you want to migrate this Application Structure from version 10.1.2 to 10.1.3?' and options given are Yes/No/Cancel. Irrespective of whatever I choose, it says 'Application Structure file has not been migrated'. I am not able to open up the application definition window.
    Any clues how I get around this?
    Regards,
    Amit

    Amit,
    You can correct this situation by opening the Application Definition as an XML file, and editing the XML source. You can go to (Resources) (properties folder) yourAppDef.xml in the navigator, and drag-and-drop the file to the editor pane.
    In the XML source, find the newly added group (maybe search on some property value that you know the group has) and add name="yourGroupName" in the <group> tag.
    Hope this helps,
    Sandra Muller
    JHeadstart Team
    Oracle Consulting

  • Compression Error - Characteristic attribute exists twice

    Hi,
    We are compressing some top listed productive  cubes with process chain every week. But from past 3 iterations one of the cube is failing to do so. It is triggering an error
    " *Characteristic attribute exists twice *". We even tried to compress the cube manually..but the same result.
    Can any one suggest how to proceed to make the compression upto the mark.
    Thanks,
    Vidyasagar

    Hi,
       We are facing similar rollup issue - "Characteristic attribute exists twice".  Pls share the solution if you have got one.
    Thanks,
    Suresh

  • Error in attribute list

    Hi all,
    I'm having problem compiling the following jsp code:
    <%@ page contentType="text/xml" %>
    <jsp:useBean id="quickcheck" class="QuickCheck" scope="request"/>
    //code breaks on next line
    <jsp:setProperty name="QuickCheck" property="*" />
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <DOCTYPE quickcheck
    "http://ar437097:7072/Quick_Check/quickcheck.dtd">
    <quickcheck>
    <title><%=QuickCheck.getTitle() %></title>
    <prod_name><%=QuickCheck.getProd_Name() %></prod_name>
    <introduction><%=QuickCheck.getIntroduction() %></introduction>
    <section><%=QuickCheck.getSection() %></section>
    <graphic><%=QuickCheck.getGraphic() %></graphic>
    <copyright><%=QuickCheck.getCopyright() %></copyright>
    </quickcheck>
    I get the following error:
    Error in attribute list: QuickCheck is not a defined bean.
    Any pointer to the soution will be greatly appreciated.
    Regards,
    AR

    Never mind all, I fixed the problem.
    AR

Maybe you are looking for

  • New iPod Touch 3G does not appear in iTunes Devices

    My iPod touch 3G is out of warranty but brand new / never used until today. I connected it with sync USB cable and opened iTunes but "Devices" did not appear on the iTunes menu so I cannot even register the iPod in order to download music. I know the

  • How to view ALL batch job details at one glance using function module

    Hi Experts, i need to see all batch jobs details, the information required includes the job name, client number, job frequency .. etc. but i need to do it with only FUNCTION MODULE..... SINCE THE INFORMATION IS CAPTURED BY THIRD PARTY SYSTEM.......i

  • Adobe PDF Printer Missing Fix - Adobe Acrobat 8.1 - Vista

    Adobe PDF Printer Missing Fix - Adobe Acrobat 8.1 - Vista 1. Type "C:\Windows\inf" into the search box on the start menu. 2. Locate the INFCACHE.1 file and right-click it and select Properties. 3. On the INFCACHE.1 Properties window tab to the "Secur

  • ASK remote front panel

    hai bro i try to remote panels with labview 8.0 professional with this information : http://zone.ni.com/devzone/cda/tut/p/id/4791 http://zone.ni.com/devzone/cda/tut/p/id/3277 and it's done, for example i give it name test then i start the web server

  • Where can I find mac app store?

    the instructions did not seem to help me. i am directed to download new software but not clear which is the best option. my first mac ever, mac book pro