JSP : Tiles Error �tag.getAsString� : component context is not defined

JSP : Tiles Error �tag.getAsString� : component context is not defined
I�m working with Struts 1.1 and Tiles, under Tomcat 5.0.16
My application works fine using Struts 1.1 alone, however, when attempting to run the application in a �Tiles� environment, I get an error:

javax.servlet.jsp.JspException: Error - tag.getAsString : component context is not defined. Check tag syntax

I have �defined� this in my �tiles-defs.xml� file, and as far as I can tell, everything else is configured properly (I have looked over the included Struts document examples, and others on the web, and I seem to have everything configured identically).
What am I missing???
I have created a series of �mostly� empty JSP files, for simplicity sake.
JSP FILES:
-     header.jsp
-     footer.jsp
-     menu.jsp
-     rootLayout.jsp
-     user.jsp
-     show_user.jsp
-     error.jsp
-     defaultContentPage.jsp
All JSP files contain:
<%@ taglib uri="/WEB-INF/lib/struts-tiles.tld" prefix="tiles" %>
and

<title>
<tiles:getAsString name="title"/>
</title>

My �tiles-defs.xml�: =================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE tiles-definitions PUBLIC
"-//Apache Software Foundation//DTD Tiles Configuration 1.1//EN"
"http://jakarta.apache.org/struts/dtds/tiles-config_1_1.dtd">
<tiles-definitions>
<!-- ================ RootLayout ======================= -->
<definition name=".root.layout" path="/jsp/rootLayout.jsp" >
<put name="title" value="Default title"/>
<put name="header" value="/jsp/header.jsp"/>
<put name="menu" value="/jsp/menu.jsp"/>
<put name="content" value="/jsp/defaultContentPage.jsp"/>
<put name="footer" value="/jsp/footer.jsp"/>
</definition>
<!-- ================ Extentions ======================= -->
<!-- User -->
<definition name=".view.user" extends=".root.layout">
<put name="title" value="Welcome to the User Form."/>
<put name="content" value="/jsp/user.jsp"/>
</definition >
<!-- Save -->
<definition name=".view.save" extends=".root.layout">
<put name="title" value="Welcome to the Show User Form."/>
<put name="content" value="/jsp/show_user.jsp"/>
</definition >
<!-- Error -->
<definition name=".view.error" extends=".root.layout">
<put name="title" value="Error Message."/>
<put name="content" value="/jsp/error.jsp"/>
</definition >
</tiles-definitions>
My �struts-config.xml�: ==============================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
"http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
<struts-config>
<!-- ========== FormBeans =================================== -->
<form-beans>
<form-bean name="userForm" type="biz.seamrog.strutstest.model.state.UserForm"/>
</form-beans>
<!-- ========== Action Mapping Definitions=================== -->
<action-mappings>
<!-- Action using normal forward syntax...
<action path="/user"
forward="/jsp/user.jsp">
</action>
-->
<!-- Action using a "Tiles" forward syntax...
The "forward" path mappings are defined in a file named
"../WEB-INF/tiles-defs.xml
-->
<action path="/user"
forward=".view.user">
</action>
<!-- Action using normal forward syntax...
<action path="/save"
type="biz.seamrog.strutstest.model.logic.SaveAction"
name="userForm" scope="request"
input="/jsp/user.jsp">
<forward name="success" path="/jsp/show_user.jsp"/>
<forward name="failure" path="/jsp/error.jsp"/>
</action>
-->
<!-- Tiles syntax -->
<action path="/save"
type="biz.seamrog.strutstest.model.logic.SaveAction"
name="userForm" scope="request"
input="/jsp/user.jsp">
<forward name="success" path=".view.show_user"/>
<forward name="failure" path=".view.error"/>
</action>
</action-mappings>
<!-- ============== Global Forwards ======================== -->
<global-forwards>
<!-- NOTE: paths with "." syntax are Tiles defined paths,
all other paths follow conventional "/path/to/file.jsp syntax
-->
<forward name="user" path=".view.user"/>
<forward name="show_user" path=".view.show_user"/>
<forward name="error" path=".view.error"/>
<forward name="cssBase" path="/stylesheets/common.css"/>
</global-forwards>
<!-- ============= Plug-ins =============== -->
<!-- Tiles Plug-in -->
<plug-in className="org.apache.struts.tiles.TilesPlugin" >
<set-property property="definitions-config" value="/WEB-INF/tiles-defs.xml"/>
<set-property property="definitions-parser-validate" value="true" />
<set-property property="moduleAware" value="true" />
</plug-in>
</struts-config>
My �web.xml�: =====================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC '-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN' 'http://java.sun.com/dtd/web-app_2_3.dtd'>
<web-app>
<servlet>
<!--
MyController extends org.apache.struts.action.ActionServlet
NOTE: The servlet could also be specified specifying the
default Struts ActonServlet...
<servlet-name>controller</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
...I have chosen to extend here just for practice sake.
-->
<!--
<servlet-name>MyController</servlet-name>
<servlet-class>biz.seamrog.strutstest.controller.MyController</servlet-class>
-->
<servlet-name>MyController</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<!--
Point to Struts configuration file(s)
-->
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>
<!-- Tiles config -->
<init-param>
<param-name>definitions-config</param-name>
<param-value>/WEB-INF/tiles-defs.xml</param-value>
</init-param>
<!-- This is the added Application parameter: -->
<init-param>
<param-name>application</param-name>
<param-value>ApplicationResource</param-value>
</init-param>
<!-- end -->
<load-on-startup>5</load-on-startup>
</servlet>
<!--
All incoming requests that end in .do, send to MyController.
-->
<servlet-mapping>
<servlet-name>MyController</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
<!--
Send initial requests to the login page for this application
-->
<welcome-file-list>
<welcome-file>/jsp/user.jsp</welcome-file>
</welcome-file-list>
<!--
Make all of the necessary related Struts JSP custom tag libraries
available and define where to find them.
-->
<taglib>
<taglib-uri>/WEB-INF/lib/struts-bean.tld</taglib-uri>
<taglib-location>/WEB-INF/lib/struts-bean.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/WEB-INF/lib/struts-html.tld</taglib-uri>
<taglib-location>/WEB-INF/lib/struts-html.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/WEB-INF/lib/struts-logic.tld</taglib-uri>
<taglib-location>/WEB-INF/lib/struts-logic.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/WEB-INF/lib/struts-tiles.tld</taglib-uri>
<taglib-location>/WEB-INF/lib/struts-tiles.tld</taglib-location>
</taglib>
</web-app>
My �rootLayout.jsp�: ================================================
<%@page contentType="text/html"%>
<%@ taglib uri="/WEB-INF/lib/struts-tiles.tld" prefix="tiles" %>
<html>
<header>
<title>
<tiles:getAsString name="title" />
</title>
<body>
<tiles:get name="header"/>
<tiles:get name="menu"/> <tiles:get name="content"/>
<tiles:get name="footer"/>
</body>
</html>

I found an entry in the Mail Archive for Struts. I got it working. My working code is below. You need to in the base JSP import the header and put the 'title' out to it.
tiles:def file:
<!DOCTYPE tiles-definitions PUBLIC
"-//Apache Software Foundation//DTD Tiles Configuration 1.1//EN"
"http://jakarta.apache.org/struts/dtds/tiles-config_1_1.dtd">
<tiles-definitions>
<definition name=".petstore.Base" path="/common/petstorecommon.jsp">
<put name="title" value ="${title}"/>
<put name="header" value="/common/header.jsp"/>
<put name="message" value="/common/message.jsp"/>
<put name="content" value="${content}"/>
<put name="navbar" value="/common/navbar.jsp"/>
</definition>
<definition name="petstore.Login" extends=".petstore.Base" >
<put name="title" value="Login Page" />
<put name="content" value="/Logon.jsp"/>
<put name="test1" value="test1value"/>
</definition>
base tile def:
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles"%>
<%@ page contentType="text/html;charset=windows-1252"%>
<html:html>
<head>
<html:base/>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>pet store common (jsp)</title>
</head>
<body>
<tiles:insert attribute="header">
<%-- both of these attributes are accessible from header.jsp It works!!! --%>
<tiles:put name="title" beanName="title" beanScope="tile" />
<tiles:put name="test1" beanName="test1" beanScope="tile" />
</tiles:insert>
<%-- <tiles:get name="header" /> --%>
<tiles:get name="message" />
<tiles:get name="content" />
<tiles:get name="navbar" />
</body>
</html:html>
Getting access to the title value in the header.jsp file:
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles"%>
<html>
<head>
<tiles:getAsString name="title" />
<tiles:getAsString name="test1" />
</head>
<body>
</body>
</html>

Similar Messages

  • Error - tag.getAsString : attribute 'title' not found in context ---- Help

    hi,
    I have included a jsp page in tiles definition xml. if i try to access an attribute defined in the tiles definition using tiles:getAsString method it is throwing the following exception
    Error - tag.getAsString : attribute 'title' not found in context
    can anyone help me how to get rid of this problem?
    Thanks in advance.

    yes ,
    reference already enter in web.xml
    <resource-ref>
              <description>
              </description>
              <res-ref-name>jdbc/iconnectDS</res-ref-name>
              <res-type>javax.sql.DataSource</res-type>
              <res-auth>Container</res-auth>
              <res-sharing-scope>Shareable</res-sharing-scope>
         </resource-ref>
    still same problem
    pullareddy

  • [weblogic-9.1] JSP 2.0 tag file gets compiled but not reloaded

    I am trying to use a JSP 2.0 tag file on weblogic 9.1. Everything works as expected until I reload the page after changing the tag file. Consider the following files, simple.jsp and simple.tag:
    h5. /simple.jsp
    &lt;%@ page language="java" %&gt;
    &lt;%@ taglib prefix="sandbox" tagdir="/WEB-INF/tags" %&gt;
    &lt;html&gt;
    &lt;body&gt;
    This output comes from the jsp.
    &lt;sandbox:simple&gt;
    &lt;/sandbox:simple&gt;
    &lt;/body&gt;
    &lt;/html&gt;h5. /WEB-INF/tags/simple.tag
    &lt;%@ tag language="java" %&gt;
    <div>This output comes from a tag file
    </div>The output of a call to simple.jsp is:
    <html><head>
    </head><body>
    This output comes from the JSP.
    <div>This output comes from a tag file</div>
    </body></html>So far, so good. Now I change the content of simple.tag to
    <%@ tag language="java" %>
    <div>This output comes from *simple.tag*<div>On a new call to simple.jsp,
    1. Weblogic notices that the file has been changed,
    2. generates the TagHandler .java file
    3. compiles the .java file
    But the new class file seems not to be loaded by weblogic; the resulting HTML does not change. It is not a browser cache issue, as I can see Javelin compilation errors. E.g., changing the tag file content to
    <%@ tag language="j" %>
    <div>This output comes from simple.tag</div>leads to the following (expected) error:
    Compilation of JSP File '/sandbox/simple.jsp' failed:
    simple.tag:1:18: "j" is not a valid setting for the language attribute.
    <%@ tag language="j" %>
    ^-^
    Changes to the .jsp file are reflected in the HTML output.
    Am I missing something? Is there any flag I have to set in my weblogic configuration?

    You are right in saying that decoding has nothing to
    do with rendering per se.I will go even further than Erik did, and dispute this statement.
    Consider that you are generating an <input> tag for a text field. Among other things, you have to generate a "name" attribute. Who decides what to put there? The renderer that actually created the markup.
    The "renderer" really does
    two completely different things. But both should
    nevertheless be separate from the component
    implementation itself. You could still have the
    renderer doing the decoding part, which arguably would
    rarely change, and somehow delegate the actual
    rendering to an implementation in a tag file.Whether you implement decoding in a separate class or inside the component, what request parameter name do you look for? It is not reasonable to assume that ALL possible renderers will choose the same parameter name ... hence, decoding and encoding are inextricably linked (the code doing the decoding has to know what kind of markup the code doing the encoding actually created). In JavaServer Faces, the current APIs create that linkage by requiring that the decode and encode be done by the same class (either the component, if you are not delegating, or the renderer if you are).
    Craig

  • Error: Metadata of component EquipmentShipment is not valid!

    Hello all,
    I have created one webdynpro DC -A which has two DCs as used DC- B & C.
    Now everything builds & runs fine on local server. but when I activate DC "A" gives build errors, as it does not get reference for DC -B.
    Here is the error:
    "Error: Metadata of component EquipmentShipment is not valid! "Role "UsedComponent": A minimum of 1 object(s) is required!" "
    This error is only for "B" not "C"
    I tried rebuild, resync, recreate the dependency through public part but no use.
    Could you please help me with this issue?
    Thanks in advance!
    Regards,
    Sarika.

    Hi Sarika,
    Generally these type of errors occur due to broken DCs. Check DC build for 'B'. You may find more accurate information in the build report. I too faced similar issue once then the problem was some of the RFC changes were not imported. Check whether it is also same case for you.
    If it is a  wd-gen error, try to remove wdgen and gen folders for DC-B and build & try.
    Still you have problem, check this [thread |Re: Local DC problems;whether it can help you.
    Regards,
    Siva

  • HELP! flash error code #1065 variable TCMText is not defined

    Hi,
    Im doing a project for uni and trying to create a search bar throughout the flash document for people to find what they are looking for.
    Followed a tutorial online step by step and then i get this error. #1065 variable TCMText is not defined.
    I'm really a beginner, any help would be so greatly appreciated!
    stop();
    var i:int = 0;
    var names:Array = new Array("Annual Report","annual report");
    var frames:Array = new Array("2","2");
    text_in = "..."; /*what is wrong with you */
    searchbutton.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler);
    function fl_MouseClickHandler(event:MouseEvent):void
      findInArray(text_in.text);
      gotoAndStop(frames[i]);
    function findInArray(str:String):int
      for(i = 0; i < names.length; i++)
      if(names[i] == str)
      return i;
      return 0;
    it says the issue is on line 7 where i have commented out "what is wrong with you"!
    Ive read a lot of things online and i have got it as classic text, which everyone is telling them to do. So quite confused.
    If you can, please help me.
    Thanks!!!

    Sorry for a delay in reply.
    Here is what the error says...
    ReferenceError: Error #1065: Variable TCMText is not defined.
    Scene 1, Layer 'Actions', Frame 1, Line 7
    1067: Implicit coercion of a value of type String to an unrelated type flash.text:TextField.
    If you could help in away that would be great cheers!

  • ERROR: The Service Component Container is not running: Standalone Workflow

    We're trying to get the java notification mailer established through the OEM 10g Application Server Control. But the mail agent listener servlet container (WFALSNRSVC), and the mailer service servlet container (WFMLRSVC) are not running. Because of that, I cannot get any other parts of the mail configuration running. Note, I can successfully complete getting through the 8 steps of the "Workflow Notification Mailer" configuration (e.g. IMAP and SMTP mail accounts work fine and are accessible from the Workflow application server). What's the trick to getting the servlet containers running?? All I find in Oracle documentation is that these must be running before you can do anything, but I don't find anything on troubleshooting when they are not running.
    Thanks.

    Hi,
    I'm having the same problem as you did.
    I've tried pushing the button Go in the Oracle Workflow Manager - Service Components.
    And it showed
    An error has occurred!
    The Service Component Container is not running.
    Should I uninstall my Oracle Workflow?
    And install a new installation of Oracle Workflow?
    What does it mean by the "wfinstall"?
    Is it the Oracle Workflow Configuration Assistant? which I can access using the wfinstall.bat.
    Or should I replay the Oracle Workflow Configuration Assistant (wfinstall.bat) and choose Upgrade option?
    Or should I uninstall all of my Oracle installation and start installing from the beginning?
    BTW, what if I don't use (or have) OID?
    Is it required?
    Any clue would be grateful.
    Thanks.
    Buntoro

  • Error saying 'Posting period 000 is not defined for fiscal year variant K4'

    Hi All,
       When I try to add a new entry in the transaction OB52, I get an error message saying 'Posting period 000 is not defined for fiscal year variant K4'. The entry that I add is,
    Variant           :  0001
    Account Type: +
    From Period    : 1
    Year               : 1995
    To Period        : 12
    Year               : 2010
    From Period2  : 13
    Year               : 2000
    To period2      : 16
    Year               : 2010
    Please let me know what customising needs to be done to solve this issue.
    Thanks a ton.
    Best Regards,
    Jeff

    Hi,
    Hava you checked in OB52 screen, by default 0001 posting period variant will be there for +, A, D, K, S account types.
    If it is already existed in your OB52 screen, you won't create one more record with the same name. You have to edit the existing 0001 posting period with new values.
    Thanks
    Chandra

  • Error as unit of measure PC not defined for language RO while creation ofPO

    Hi GUYS,
    When am trying to create a PO in ME21N transaction i got error as below,
    unit of measure PC not defined for language RU
    Message no. 06079
    Table 006A contains no entry for this unit of measure
    Please let me know what action to be taken from my side to over come this issue.
    Note: If i check the related vendor i could able to view that the language maintained as RU.
    Cheers,
    Kumar.S

    Hi Jurgen,
    Thanks for your reply once again.
    As mentioned by you earlier i have tried to login with languae RU in Q system but unfortunately i got an error saying taht language not installed.
    Also we found for Language - EN and UOM - PC has been maintianed in T006A table.But if i check for lanugage - RU and UOM PC combinatoin has not manintaned in T006A table.
    Please let me know how to maintain the values in this table T006A for combination Lang - RU and UOM - PC.
    Please revert back with your soilution.
    Note: I have tried in SM30 but failed due to below error
    The maintenance dialog for T006A is incomplete or not defined
    Cheers,
    Kumar.S

  • Error in ME59N- Internal number assignment not defined

    Dear Gurus,
    I am getting error while creation automatic PO In ME59N. Below error shows
    Error Name                                                                                          Massage Class          Msg No.
    PO header data still faulty                                                                            MEPO                         2
    Internal number assignment not defined (please enter number)                 06                              243
    I have done all the setting in Material Master & Vendor Master for Automatic PO Genration.
    Aslo I maintain the source list & Info Record for two vendors.
    I assign the source of supply in PR .
    After this when I exicute in ME59N by entering Purchasing Group,Purchasing Org,Vendor,Plant
    and selected the Per Requisition , per contract tab.
    After this above two error is showing in SAP.
    Kindly give us solution to resolve this.
    Regards.
    Abhijit
    Subject changed to reflect the issue-  by: Jürgen L

    Hi
    The error is probably caused because T161-NUMKI = <BLANK>.  Please fill in the valid T161-NUMKI.
    This needs to be done in customising
    Transaction SPRO:
    Material Management -> Purchasing -> Purchase Order -> Define Document types
    Number range in the case of internal number assignment
    Hope this information is of help.
    Kind regards,
    Lorraine

  • Jco error RFC adapter field PT F not defined

    Hi Experts,
    I am in a strange situation as I have become clue less on this issue
    It is a file to XI to RFC scenario.. runs fine in dev environment
    When I change the parameters in teh rfc communication channel  to point to QAS it throws
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: JCO.Exception while calling Z_TRAX_PO_CHG_IV in remote system (RfcClient[CC_QAS]):com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: Field selection PT F not defined:
    There is no such field as PT F and besides the version of the bapi in QAS is in sync with the dev..
    pls help me ou ton this
    Edited by: Ravindra Teja on Feb 27, 2011 8:45 AM

    Hi,
    First of all, can you please elaborate what you want?
    secondly, why don't you transport your developments to QAS?
    Third, what is the reason behind changing the receiver RFC adapter parameter to QAS?
    4th, do you want to post data to QAS, if yes, did you transported the RFC to QAS ? Please re import the rfc to your swcv from QAS system.
    Please check communication channel if you getting any error?
    Regards
    Aashish Sinha

  • Error message: Ship-to party 1111 not defined for sales area 1000 01 50

    Hi friends,
    I created a new division 50 reference the one available. I maintained all the combination in sales area as far as I know.
    When created SO, I got a error message saying "  Ship-to party 1111 not defined for sales area 1000 01 50". Message No VP210
    Please advise where I missed configuration.
    Thanks,
    Linda
    Edited by: LindaSAP on May 25, 2010 5:40 PM

    Hi,
    Please check the below links
    Ship-to party not defined for sales area
    "SHIP TO PARTY NOT DEFINED FOR SALES AREA "
    Ship to party is not defined for sales area..
    Ship-to party not defined for sales area
    Ship-to party 147 not defined for sales area US DS 20
    ship to party -sales area error
    Regards
    Senya

  • Error in conversion-applet class is not defined!

    Hello everybody.I have created my own applet and I try to test it in a simulation world ,using the Java Card Toolkit 2.1.1.
    I have declared AID of my applet in the jcwde.app file as following:
    ///The code in the jcwde.app file
    com.sun.javacard.samples.wallet.Wallet 0xa0:0x0:0x0:0x0:0x62:0x3:0x1:0xc:0x6:0x1
    //Declare my applet
    com.sun.javacard.samples.myapplet.myapplet 0xa0:0x0:0x0:0x0:0x62:0x3:0x1:0xc:0x7:0x1
    /////End of the code
    In the first line of this file there is the AID of the installer also.
    As you can see from the above file, the only difference between th wallet and myapplet is the second byte from the end.
    Then I tried to compile(was successful) myapplet and then converted.When I try to convert(I also create an .opt file which has the above address of myapplet), I received the message:
    error: com.sun.javacard.samples.wallet.myapplet class is not defined in package com.
    sun.javacard.samples.wallet.myapplet.
    conversion completed with 1 errors and 0 warnings.
    I will give the .opt file also:
    /////code of the opt file
    -out EXP JCA CAP
    -exportpath ..\api21
    -applet 0xa0:0x0:0x0:0x0:0x62:0x3:0x1:0xc:0x7:0x1 com.sun.javacard.samples.myapplet.myapplet
    com.sun.javacard.samples.myapplet
    0xa0:0x0:0x0:0x0:0x62:0x3:0x1:0xc:0x7 1.0
    /////End of opt file
    What do you think I am doing wrong?Is any other file(like the jcwde.app file) that I have to declare the AID of myapplet?
    I will apreciate any help.
    Thank you.

    The converter informs, that it can not find your applet in >the specified package. Have you really specified a >package in a java-file?
    myapplet.java:
    package com.sun.javacard.samples.myapplet
    your applet code.
    Try to specify parameter -classdir in the .opt file:
    -classdir <the root directory of the class hierarchy>Hello and thank you for replying me.
    Yes,I define the package as you wrote me.I try also to use the -classdir option.But I have this similar problem again.The DOS commmand line appears the message(After the execution of the command->jcwde -p 9025 jcwde.app):
    java.lang.ClassNotFoundException: com.sun.javacard.samples.IMSIapp.IMSIapplet
    jcwde terminating on receipt of SimulationException. See previous messages fo
    cause.
    Exception in thread "main" com.sun.javacard.jcwde.SimulationException
    at com.sun.javacard.jcwde.MaskedApplets.getInstallInstance(MaskedApple
    .java:233)
    at com.sun.javacard.jcwde.SimPrivAccess.getROMApplet(SimPrivAccess.jav
    146)
    at com.sun.javacard.impl.NativeMethods.getInstallMethod(NativeMethods.
    va:314)
    at com.sun.javacard.impl.PrivAccess.initialize(PrivAccess.java:281)
    at javacard.framework.Dispatcher.cardInit(Dispatcher.java:226)
    at javacard.framework.Dispatcher.main(Dispatcher.java:63)
    at javacard.framework.JCWDEDispatcher.main(JCWDEDispatcher.java:28)
    at com.sun.javacard.jcwde.Main.run(Main.java:85)
    at com.sun.javacard.jcwde.Main.main(Main.java:148)
    It did not recognize the directory(IMSIapp is the directory of my clas,java,opt file) and IMSIappplet is the java card applet code.
    What did you think is the wrong?
    I am waiting for your(or any reply).
    Thank you.

  • Error msg 'Tax category UTX2 is not defined for country US' in RMDATIND

    Hello,
      We just upgraded our system from 4.6C to ECC 6.0 and have been using RMDATIND (BMV0) to load new materials into SAP. This worked fine in 4.6C, but now we keep getting the error 'Tax category UTX2 is not defined for country US'. It is error msg M3019.
      I'm assuming that there is some configuration change we must make, but have not found the correct one so far.
      Can someone guide us as to what changes we must make to be able to load new materials into our SAP system without getting this error message?
      Thank-you,
      Rick

    I wanted to delete this message as I felt it was in the wrong section, but I cannot find out how to delete a message.

  • Problem Create ANE,ArgumentError: Error #3500: The extension context does not have a method with the name

    I little confuse about build ANE, I already follow all the direction, but the error always #3500 when I try to call the ANE.
    I create ANE using java android.
    The tools I use : Flash Builder running on Win-64 win.7. I think I must straight to the point, here what i made it first step by step;
    1. I create the JAVA application first, with package senigo.extension.android then I create 3 file, Sample.java, SampleContext.java, PassTextFunction.java
    Sample.Java Source Code
    package senigo.extension.android;
    import android.util.Log;
    import com.adobe.fre.FREContext;
    import com.adobe.fre.FREExtension;
    public class Sample implements FREExtension {
      @Override
      public FREContext createContext(String arg0) {
      // TODO Auto-generated method stub
      Log.i("Sample", "createContext");
      return new SampleContext();
      @Override
      public void dispose() {
      // TODO Auto-generated method stub
      Log.i("Sample", "Dispose");
      @Override
      public void initialize() {
      // TODO Auto-generated method stub
      Log.i("Sample", "Initialize");
    SampleContext.Java Source Code
    package senigo.extension.android;
    import java.util.HashMap;
    import java.util.Map;
    import android.util.Log;
    import com.adobe.fre.FREContext;
    import com.adobe.fre.FREFunction;
    public class SampleContext extends FREContext {
      public SampleContext()
      Log.i("SampleContext", "constructor");
      @Override
      public void dispose() {
      // TODO Auto-generated method stub
      Log.i("SampleContext", "dispose");
      @Override
      public Map<String, FREFunction> getFunctions() {
      // TODO Auto-generated method stub
      Log.i("SampleContext", "getFunctions");
      Map<String, FREFunction> functionMap = new HashMap<String, FREFunction>();
      functionMap.put("passText", new PassTextFunction());
      return functionMap;
    PassTextFunction.Java Source Code
    package senigo.extension.android;
    import com.adobe.fre.FREContext;
    import com.adobe.fre.FREExtension;
    import com.adobe.fre.FREFunction;
    import com.adobe.fre.FREObject;
    public class PassTextFunction implements FREFunction {
      @Override
      public FREObject call(FREContext arg0, FREObject[] arg1) {
      // TODO Auto-generated method stub
      FREObject result = null;
      try{
      result =  FREObject.newObject("Hello World");
      }catch(Exception e)
      return result;
    after all the file I create the jar file using click right on the tree view >> Export >> Jar File >> Sample.Jar (i already create jar file that just contain the src folder and after i frustrated, i create .jar file contain all the whole project folder but still didn't work out).
    Ok, After that I create project Flex Library Project, That's contain the actionscript to call the native and the extension.xml, here the code.
    Test.as Source Code, FYI : i already create public function and the static function the error still same #3500.
    package senigo.extension.android
      import flash.external.ExtensionContext;
      public class test
      private static var extContext:ExtensionContext = null;
      public function test()
      trace ("Test Constructor");
      if (!extContext)
      initExtension();
      public static function get passText():String
      trace ("Test Pass Text");
      if (!extContext)
      initExtension();
      return extContext.call("passText") as String;
      private static function initExtension():void
      trace ("Vibration Constructor: Create an extension context");
      extContext = ExtensionContext.createExtensionContext("senigo.extension.android", null);
    extension.xml source code
    FYI: in Flex when i put the Native Extension, they said must have Windows-x86 so I already create 3 ANE, that just contain Android-ARM , Contain Android-ARM and Default, Contain Android-ARM,Default and Windows-x86 but the error still same. I didn't got it where is the error.
    <extension xmlns="http://ns.adobe.com/air/extension/3.1">
      <id>senigo.extension.android</id>
      <versionNumber>1.0.0</versionNumber>
      <platforms>
      <platform name="Android-ARM">
      <applicationDeployment>
      <nativeLibrary>Sample.jar</nativeLibrary>
      <initializer>senigo.extension.android.Sample</initializer>
      <finalizer>senigo.extension.android.Sample</finalizer>
      </applicationDeployment>
      </platform>
      <!-- <platform name="Windows-x86">
      <applicationDeployment>
      <nativeLibrary>sample.jar</nativeLibrary>
      <initializer>senigo.extension.android.Sample</initializer>
      <finalizer>senigo.extension.android.Sample</finalizer>
      </applicationDeployment>
      </platform>
      -->
       <platform name="default">
    <applicationDeployment/>
    </platform>
      </platforms>
    </extension>
    After I create it, I copy the .swc file and extension file sample with the Sample.jar file.
    I extract the .swc file, copy the library.swf to folder Android-ARM,Default,Windows-86 and I create build.bat that contain the command like this
    adt -package  -storetype PKCS12 -keystore senigo.p12 -storepass l10nk1ng -target ane senigo.extension.android.ane extension.xml -swc AndroidLib.swc -platform Android-ARM -C ./Android-ARM/ . -platform default -C ./default/ .
    the I put the ane to Flex mobile project that I created:
    I run it but got error #3500, I really confuse?? what's wrong with my code? is there something I wrong or I Miss it?
    Please any one help me.. and when is already ane file can I debug it in Flex Mobile Project? I wanna looks the log.i code that i wrote but i confuse how to looking up in flash builder.
    at the end, I wanna said Sorry if my english not very goods, and thanks, because wanna see my problem and thank you very much if You can gave me a solution's

    Alex Rekish wrote:
    Why you comment Windows-x86 in your extension.xml ?
    I think that is a problem. You launch your application on Windows but ANE haven't got Windows-x86 implementation (also you don't include it while packaging). So your application use default implementation. But default implementation don't use any native code and cannot use ExtensionContext. And you got error.
    If you don't need Windows-x86 native implementation than you need implement default implementation that different than Android-ARM. You don't need to use ExtensionContext in default implementation.
    Thanks for you answer Alex Rekish, Sorry I didn't screen shoot all about the extension.xml. I comment it because the latest ANE that I build is contain Android-ARM and default. so I commented. but I already try it using just ANE that's just contain Android-ARM, with Android-ARM and windows-x86,and Android-ARM, and default, and Android-ARM,default,Windows-x86 the error still the same.
    here the screen shoot, I embeded the ane that's i contain Windows-x86
    in action script test.as I didn't change it anythings, I just play it on extension.xml to build the ane. is there any mistake over there? I interact with your answer that "If you don't need Windows-x86 native implementation than you need implement default implementation that different than Android-ARM. You don't need to use ExtensionContext in default implementation." I didn't need to user ExtensionContext? is means? in the actionscript? or in extension.xml? can you explained

  • Adobe air windows/C++:Error #3500: The extension context does not have a method with the name

    I created a C++ dynamic dll called by air.
    If the dll depends on other dlls, then the error#3500 occured. However removed other dlls, it works.
    Could that mean the air can only call one dynamic dll that doesn't depend any other dlls?
    does anybody met this problem before, or let me know what can I do?

    Alex Rekish wrote:
    Why you comment Windows-x86 in your extension.xml ?
    I think that is a problem. You launch your application on Windows but ANE haven't got Windows-x86 implementation (also you don't include it while packaging). So your application use default implementation. But default implementation don't use any native code and cannot use ExtensionContext. And you got error.
    If you don't need Windows-x86 native implementation than you need implement default implementation that different than Android-ARM. You don't need to use ExtensionContext in default implementation.
    Thanks for you answer Alex Rekish, Sorry I didn't screen shoot all about the extension.xml. I comment it because the latest ANE that I build is contain Android-ARM and default. so I commented. but I already try it using just ANE that's just contain Android-ARM, with Android-ARM and windows-x86,and Android-ARM, and default, and Android-ARM,default,Windows-x86 the error still the same.
    here the screen shoot, I embeded the ane that's i contain Windows-x86
    in action script test.as I didn't change it anythings, I just play it on extension.xml to build the ane. is there any mistake over there? I interact with your answer that "If you don't need Windows-x86 native implementation than you need implement default implementation that different than Android-ARM. You don't need to use ExtensionContext in default implementation." I didn't need to user ExtensionContext? is means? in the actionscript? or in extension.xml? can you explained

Maybe you are looking for