Custom Application Class Embed problem aka AMBIGUOUS

package  
com.drdynscript.examples{
import mx.controls.Image; 
import mx.core.Application; 
import mx.core.BitmapAsset; 
import nl.demonsters.debugger.MonsterDebugger; 
public class FlexTestApp4 extends Application{
//EXTERNAL IMAGE
Embed(source="./assets/logo.jpg")][
Bindable] private var logoClass:Class; 
//UI COMPONENTS
Bindable] public var imgLogo:Image;[
Bindable] public var imgLogo2:Image; 
public function FlexTestApp4(){
super(); 
//INITIALIZE
init();
private function init():void
//MONSERT DEBUGGER
MonsterDebugger.
trace(this, "INIT");}
public function createImage():void{
var imgObj:BitmapAsset = new logoClass() as BitmapAsset;imgObj.bitmapData.noise(4);
imgLogo2.source = imgObj;
MY MXML
<?xml version="1.0" encoding="utf-8"?><drdynscript:FlexTestApp4  xmlns:mx="
http://www.adobe.com/2006/mxml" layout="absolute" xmlns:drdynscript="
com.drdynscript.examples.*">
 <mx:Style>
 Application
 backgroundImage: Embed(source="./assets/District9.png")
</mx:Style>  
<mx:Image x="10" y="10" width="493" height="500" id="imgLogo" source="{logoClass}"/> //DOESNT WORK AMBIGUOUS
 <mx:Image id="imgLogo1" source="@Embed(source='./assets/logo.jpg')"/>
 <mx:Image id="imgLogo2" creationComplete="createImage()"/></drdynscript:FlexTestApp4>

I stumbled over this problem today, too.
First, let me say that that problem did not exist with previous versions of the JWSDP. Now with 1.2 I noticed that wscompile generates class files with the same names as the custom classes that you wish to send over the net. Either this design is complete rubbish or indeed intentional, but the users are left alone, at least till the new tutorial is released.
The solution that seems to work for me is to simply replace the classes generated by wscompile with the original ones.
However I do not know if this will cause any problems or is the right way to handle the situation. Hopefully anybody of the responsible engineers at Sun will comment on this.
Regards,
Ingo

Similar Messages

  • Application Class Loader problem calling virtual function

    Hello everyone
    I have run in to very strange behavior of JVM
    I have created a class loader which allows my to load classes from
    jar file, regardless that URLClassLoader supplies this functionality.
    I am using this class loader to load some classes and call their virtual functions. The class diagram looks like that:
    public interface I {
       public void init();
    public class AAA implements
       public void init(){
    public class BBB extends AAA{
       public void init(){
          //here comes implementation
    }Interface I and class AAA are loaded with System Class loader and Class BBB is loaded using my class loader from jar file.
    ByteStreamClassLoader  classLoader =  new ByteStreamClassLoader  ();
    Class cl = classLoader. loadClass(�com.product.BBB�,true);
    I myInterface = cl.newInstance();
    myInterface.init();The problem is that from some unknown reason java class AAA.init() instead of BBB.init().
    Can somebody help me what am I doing wrong?
    Class Loader code attached below
      public class ByteStreamClassLoader   extends ClassLoader {
        protected HashMap m_cache = new HashMap();
        public void clearCashe() {
          m_cache = new HashMap();
        private String definePackage(String className) {
          StringBuilder strB = new StringBuilder();
          //Class name must be removed from the URI in order to define a package
          String[] packageArray = className.split("\\.");
          for (int i = 0; i < packageArray.length - 1; i++) {
            strB.append(packageArray).append(".");
    String packageName = strB.toString();
    packageName = packageName.substring(0, packageName.length() - 1);
    if (getPackage(packageName) == null) {
    m_logger.log(Level.FINEST, "Defining package '" + packageName + "'");
    definePackage(packageName, null, null, null, null, null, null, null);
    return packageName;
    public synchronized Class loadClass(String name, boolean resolve) throws
    ClassNotFoundException {
    name = name.replaceAll("/", ".").replaceAll(".class", "");
    //Try to locate the Class in cashe
    Class c = (Class) m_cache.get(name);
    //Try to locate the Class in the System Class Loader
    if (c == null) {
    try {
    c = ClassLoader.getSystemClassLoader().loadClass(name);
    catch (Exception ex) {}
    else {
    m_logger.log(Level.FINEST, "Class '" + name + "' found in cache");
    //Load the class from byte array
    if (c == null) {
    String resourceName = name;
    if (!resourceName.endsWith(".class")) {
    resourceName = resourceName.concat(".class");
    //Retrieve class byte representation
    if (resourceName.indexOf(".") != -1) {
    resourceName =
    resourceName.replaceAll("\\.", "/").replaceAll("/class", ".class");
    //Use the ByteStreamClassLoader to load the class from byte array
    byte[] classByteArray = null;
    try {
    classByteArray = getResourceBytes(resourceName);
    catch (IOException ex1) {
    throw new ClassNotFoundException(
    "Could not load class data." + ex1.getMessage());
    m_logger.log(
    Level.FINEST, "Loading class '" +
    name + "' Byte Length: " + classByteArray.length);
    String p = definePackage(name);
    c = defineClass(
    name,
    classByteArray,
    0,
    classByteArray.length,
    ByteStreamClassLoader.class.getProtectionDomain());
    m_cache.put(name, c);
    if (resolve) {
    resolveClass(c);
    return c;

    Hello everyone
    I have run in to very strange behavior of JVM
    I have created a class loader which allows my to load classes from
    jar file, regardless that URLClassLoader supplies this functionality.
    I am using this class loader to load some classes and call their virtual functions. The class diagram looks like that:
    public interface I {
       public void init();
    public class AAA implements
       public void init(){
    public class BBB extends AAA{
       public void init(){
          //here comes implementation
    }Interface I and class AAA are loaded with System Class loader and Class BBB is loaded using my class loader from jar file.
    ByteStreamClassLoader  classLoader =  new ByteStreamClassLoader  ();
    Class cl = classLoader. loadClass(�com.product.BBB�,true);
    I myInterface = cl.newInstance();
    myInterface.init();The problem is that from some unknown reason java class AAA.init() instead of BBB.init().
    Can somebody help me what am I doing wrong?
    Class Loader code attached below
      public class ByteStreamClassLoader   extends ClassLoader {
        protected HashMap m_cache = new HashMap();
        public void clearCashe() {
          m_cache = new HashMap();
        private String definePackage(String className) {
          StringBuilder strB = new StringBuilder();
          //Class name must be removed from the URI in order to define a package
          String[] packageArray = className.split("\\.");
          for (int i = 0; i < packageArray.length - 1; i++) {
            strB.append(packageArray).append(".");
    String packageName = strB.toString();
    packageName = packageName.substring(0, packageName.length() - 1);
    if (getPackage(packageName) == null) {
    m_logger.log(Level.FINEST, "Defining package '" + packageName + "'");
    definePackage(packageName, null, null, null, null, null, null, null);
    return packageName;
    public synchronized Class loadClass(String name, boolean resolve) throws
    ClassNotFoundException {
    name = name.replaceAll("/", ".").replaceAll(".class", "");
    //Try to locate the Class in cashe
    Class c = (Class) m_cache.get(name);
    //Try to locate the Class in the System Class Loader
    if (c == null) {
    try {
    c = ClassLoader.getSystemClassLoader().loadClass(name);
    catch (Exception ex) {}
    else {
    m_logger.log(Level.FINEST, "Class '" + name + "' found in cache");
    //Load the class from byte array
    if (c == null) {
    String resourceName = name;
    if (!resourceName.endsWith(".class")) {
    resourceName = resourceName.concat(".class");
    //Retrieve class byte representation
    if (resourceName.indexOf(".") != -1) {
    resourceName =
    resourceName.replaceAll("\\.", "/").replaceAll("/class", ".class");
    //Use the ByteStreamClassLoader to load the class from byte array
    byte[] classByteArray = null;
    try {
    classByteArray = getResourceBytes(resourceName);
    catch (IOException ex1) {
    throw new ClassNotFoundException(
    "Could not load class data." + ex1.getMessage());
    m_logger.log(
    Level.FINEST, "Loading class '" +
    name + "' Byte Length: " + classByteArray.length);
    String p = definePackage(name);
    c = defineClass(
    name,
    classByteArray,
    0,
    classByteArray.length,
    ByteStreamClassLoader.class.getProtectionDomain());
    m_cache.put(name, c);
    if (resolve) {
    resolveClass(c);
    return c;

  • Location for class files for the custom application

    Hello everyone.
    I want to create new custom application with the short name as "myapp". According to convention what should be the namespace? Should it be mycompany.app.myapp or should it have oracle somewhere in the namespace?
    - Yora

    Hi Yora,
    Package Structure for Standard Application like below
    oracle.apps.myapp.webui  //Structure for Page and Region.xml(PG.xml,RN.xml,CO.class)
    oracle.apps.myapp.server  //Structure for .class files(VO,AM)
    Package Structure for custom Application like  below
    mycompany.oracle.apps.myapp.webui  //Structure for Page and Region.xml
    mycompany.oracle.apps.myapp.server  //Structure for .class files
    Thanks,
    Dilip

  • Facing problem to Use a custom Java class in UCCX

    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-priority:99;
    mso-style-qformat:yes;
    mso-style-parent:"";
    mso-padding-alt:0in 5.4pt 0in 5.4pt;
    mso-para-margin-top:0in;
    mso-para-margin-right:0in;
    mso-para-margin-bottom:10.0pt;
    mso-para-margin-left:0in;
    line-height:115%;
    mso-pagination:widow-orphan;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";
    mso-ascii-font-family:Calibri;
    mso-ascii-theme-font:minor-latin;
    mso-hansi-font-family:Calibri;
    mso-hansi-theme-font:minor-latin;}
    Hi,
    We are using Communication manager 7.0.1 and UCCX version 7.0.1(Cisco Unified CCX Premium).  We are trying to call a Custom Java class file from UCCX scripting. We have followed the steps mentioned in the guide (How-To: Using a custom Java class in UCCX 5.x (SOAP Example)). See below link.
    http://www.avholloway.com/vtools/ipcc/custom-java/soap/
    After completed all the steps we have got the variable type SimpleSOAP at script but we did not found it to object constructors or object attributes (plz find the attached screenshots). We will appreciate if you plz guide us to solve the issue.
    Thanks
    Fakhrul
    LEADS Corporation Ltd.

    Hello, Fakhrul.
    I'm sorry to see you were not able to find the information or help you were looking for here in the Contact Center community forum.
    You may be able to find more help through the Cisco Developer Network.
    Also, you might want to consider engaging Cisco Advanced Services via your account team to assist with UCCX custom scripting.
    Thank you, and good luck.
    -Paulo

  • OracleXADataSource Custom Wrapper Class Problem

    Hi,
    I am creating a custom wrapper class and overidding getPhysicalConnection() to get the Connection Pool object and I expect the object will be released to the pool.But I see as many as 100 Con Objects are heldup in active state in the connection pool. Is it possible to test if the Con Object is released back to the pool ?
    I am using AS 10.1.3.1.. and below is the impl code.
    Thanks
    Prabu
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.SQLException;
    import java.sql.Statement;
    import oracle.jdbc.xa.client.OracleXADataSource;
    * A datastore that wraps an oracle datastore, setting various parameters
    * that can't be set with standard configuration.
    public class OracleProxyDataSource extends OracleXADataSource {
    public OracleProxyDataSource() throws SQLException {
    super();
    System.setProperty("oracle.jdbc.V8Compatible", "true");
    setDataSourceName(OracleProxyDataSource.class.getName());
    setDescription(getDescription() + "-proxy");
    public java.lang.String getPassword() {
    return super.getPassword();
    protected Connection getPhysicalConnection(String url,
    String username,
    String password)
    throws java.sql.SQLException
    Properties prop = new Properties();
    Connection con;
    DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
    prop.put("user", username);
    prop.put("password", password);
    try {
    con = DriverManager.getConnection(url, prop);
    } catch (RuntimeException e) {
    e.printStackTrace();
    throw e;
    } catch (SQLException e) {
    e.printStackTrace();
    throw e;
    // Set the standard date format.
    Statement stmt = null;
    try {
    stmt = con.createStatement();
    stmt.executeUpdate("SELECT * from DUAL");
    } catch (SQLException e) {
    e.printStackTrace();
    throw e;
    } catch (RuntimeException e) {
    e.printStackTrace();
    throw e;
    } finally {
    stmt.close();
    return con;
    }

    Inside callback handlers ythe class members go out of scope.
    There are several ways to solve that. One is using a local variable
    that holds a reference to the current object.
    function ping () : Void {
    var thisObj:ping_server=this;
    and access class members:
    thisObj.serverstatus = "pingServer_lv.onLoad =
    online";

  • Custom Java class called from RTF template generates error

    We are running a report in BI Publisher and the report calls a custom developed Java class that is used to bind PDFs together and sent the result to another application.
    On the RTF template we have some XSLT that reads the input XML and sets a variable which is then passed to the Java class. We are however getting the following error when the report is called simultaneously 2 or more times:
    XML-22044: (Error) Extension function error: Error invoking 'JavaClassName': 'java.lang.Error: Cannot interweave overlay template with pdf input, combined number of pages is odd!
    I read this as the real cause of the error is the Java code but I'm not 100% sure. Also I don't understand what the error message means.
    Could someone help out please?
    Many thanks

    Since our this requirement is in Quotes module, its not using OAF. It is using plain JSPs and java classes.
    What i was thinking is, create the Option values as flex fields, and write a custom java class to fetch these data from the flex tables and use it in the JSP.
    The main problem we are facing now is,
    "...we wrote a simple java class, which establishes database connection, executes a simple insert & select query to our custom table. compiled & placed the class file under our new pkg structure under $JAVA_TOP eg. oracle.apps.xxx.quot.tmpl , bounced the apache."
    But when we tried to import this class in the jsp (which is being customized), the app just throwed Internal Server Error and we couldnt find any info in the Log file.
    Couldnt guess, why is this simple thing failing. Any idea ?

  • How to make application class be an entry in TBRF100 in BRF?

    Hi all
      I am new to BRF .
      I want to know how to create a sample application in BRF.
      I did  all step in the followed link
      http://help.sap.com/saphelp_erp2004/helpdata/en/49/0f2541a2d5b167e10000000a155106/content.htm
      But while doing the last step called   Making Application Data Available to the BRF.
       I am getting an error called
       Input values must be defined in Table TBRF100. The value or values
       'ZBRFAP '(It's my application class) are not specified in this table.
       If any body knows how to resolve this problem please give me your valuable answer.
       Please suggest me some examples on BRF like how to frame rules and events in BRF.
    Regards
    K.S.L.Neelima

    Hi, .Neelima
    plPls. follow the customizing steps in the IMG for the BRF, i.e.:
    spro -> Contract Accounts Receivable and Payable ->  Business Transactions -> Public Sector Tax Assesment-> Busines Rule Framework (BRF) ->  Create Client-Independent Application Class  and the following tasks .
    Define Additional Settings for Application Class, etc.
    Kind regards

  • Customizing Applications with MDS

    I have been investigating static customization using MDS and have read through [Customizing Applications with MDS|http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/customize.htm] (and the seemingly identical copy in JDeveloper's Help Center). However, I have been unable to customize my application because I get this error (some parts have been abbreviated) when starting JDeveloper with the Customization Developer Role:
    Error initializing MDS configuration for application "file:/C:/Documents and Settings/..._adf_main.jws". Customizations disabled for this application. MDS-00035: cannot load the class: oracle....uiview.IndustryCC.
    The problem is that I do not know how to add the particular class to JDeveloper's classpath as instructed in section 33.2.1.4 of the documentation. I have added my class to JDeveloper's classpath via dropping a .jar into lib/ext of the JRE but then had horrible dependency troubles.
    While walking through the documentation, I discovered that Example 33-1 and its surrounding documentation are out-of-date because getIDPrefix() is final in CustomizationClass and thus cannot be overridden as the documentation instructs.
    I am using JDeveloper Version 11.1.1.1.0 Build JDEVADF_11.1.1.1.0_GENERIC_090421.1521.5361.
    How do I successfully enter customization mode for my application?

    Thank you. I got it working.
    All I needed was the path provided at Create and Deploy a Customization Class, item 7.
    I will note that the documentation does not have any slashes in its path:
    <JDEVELOPER_HOME>jdeveloperjdevlibpatches<jar_file_name>
    I got it to work after I copied the jar file I had already prepared to:
    <JDEVELOPER_HOME>/jdeveloper/jdev/lib/patches/<jar_file_name>

  • SSO Enabling a custom application with OAM

    Hi All !
    Am a bit stuck on a problem and need some urgent help. Actually we are trying to launch some custom-built (J2EE/.NET) web applications from the Oracle Portal with SSO i.e. once the user logs into the portal he would not have to log-in again to the applications which would be launched from the portal home page.
    We have successfully integrated the Oracle Portal with the OAM SSO, but facing some problems with SSO enabling the custom applications. Any help on what should be the ideal integration architecture and approach for SSO enabling the apps with minimum amount of modification of the application code.
    The licenses are available for OID, OVD, OAM.
    Thanks in advance. Any views/comments/links to useful material appreciated.
    Cheers
    Soumak

    If your custom application uses its own database for Authentication, then you have to modify the login process for your application. i.e. you have to trust the OAM to have done the authentication and then create any custom cookie that your application might use in its landing page.
    I am assuming that your custom application have some way of tracking if the user has logged in or not. You can protect the Custom application URL within OAM and once the user has logged in you can then generate your custom application cookie.
    Even if you use OVD, you stil have to modify login process in your custom appliation to trust the third party to have done the authentication.
    Thanks
    Ram

  • How do you invoke custom java classes???

    Could someone post a detailed method of invoking custom java classes that works including what files go where, settings and the way it is invoked etc.
    I have tried various ways from this forum and in the documentation without success. I am using IDM 8. I found these instructions regarding how you would do it if you were writing custom resource adaptors in the deployment tools guide:
    To install a resource adapter you’ve customized:
    1. Load the NewResourceAdapter.class file in the Identity Manager installation
    directory under
    idm/WEB-INF/classes/com/waveset/adapter/sample
    (You might have to create this directory.)
    2. Copy the .gif file to idm/applet/images.
    This .gif file is the image that displays next to the resource name on the List
    Resources page, and it should contain an image for your resource that is
    18x18 pixels and 72 DPI in size.
    3. Add the class to the resource.adapter property in
    config/waveset.properties.
    4. Stop and restart the application server. (For information about working with
    application servers, see Identity Manager Installation.)
    I tried the instructions here but placed my custom class in a folder entitled custom instead of /adapter/sample. Not sure about instruction 3 or whether it is relevent. Anyway nothings working.
    Edited by: masj78 on Nov 25, 2008 3:50 AM
    Edited by: masj78 on Nov 25, 2008 4:03 AM

    Hi,
    The way to add custom class is the same as you followed , put them in the WEB-INF/classes.
    To use the custom adapter ,
    Go To Resources - > Configure Types -> Add Custom Resource .
    Type in the fully qualified class name of the custom adapter you added.and Save.
    Now the new adapter you added should showup in the list of available adapters when you try to
    configure a new adapter.
    (Make sure that the prototype XML of your custom adapter is correct so that it displays the correct name / type for the adapter in the adapter list.
    Thanks,
    Balu

  • Clicking on LinkTitle in list opens allitems instead of custom application form

    Hello, This question is pertaining to SharePoint 2010.
    I have one list which has two content types. We have modified the detault forms (new,edit and display) of each content type to its individual custom application pages. We have done this through coding.
    SPContentType CT1= requestsList.ContentTypes["CT1"];
    //Change Edit and edit URL to custom application page
    CT1.NewFormUrl = "_layouts/folder/customnewapplicationpage.aspx;
    CT1.EditFormUrl = "_layouts/folder/customeditapplicationpage.aspx;
    CT1.DisplayFormUrl = "_layouts/folder/customdisplayapplicationpage.aspx;
    //Delete the default from to enable custom application pages.
    CT1.XmlDocuments.Delete("http://schemas.microsoft.com/sharepoint/v3/contenttype/forms/url");
    web.AllowUnsafeUpdates = true;
    CT1.Update();
    list.Update();
    And same update for the other content type. Everything works well.
    When we click on new, custom new form opens, when we click on edit, custom edit form opens, when we click on view item, custom view form opens for respective content type. The problem is when we click on linktitle field value in allitems.aspx, it opens up
    allitems.aspx page instead of opening display form as model dialog which is does when we click on view item by either selecting in ECB menu or from ribbon.
    On custom application pages, I am using SharePoint:SaveButton to save values so that I do not need to write down the code.
    I just tested one thing that, if we have our custom button and if we write traditional way to inserting list item into the list with specifying ContentTypeId in list item, then this problem does not appear. This is when SharePoint:SaveButton is clicked and
    item is saved, at this time problem appears. I prefer going with SharePoint:SaveButton as I have more than 70 fields on the form and do not want to write a code to set values for 70 fields by doing SPList.AddItem()
    According to me, SharePoint:SaveButton is saving list item inside folder because when we update the view and set to show items without folder, I cannot see list items saved using SharePoint:SaveButton click. But when i switch back to show items with
    folder, all items appear. This may be the reason when I click on LinkTitle directly on that hyperlink, it opens up AllItems.aspx with FolderCTId={} as one of the query string.
    Any pointers would be highly appreciated.

    Hi,
    We can do as follows:
    1. Change the URL of Title field to the URL of custom application page using JavaScript.
    2. Create a calculated column and set formula: ="<a href='"&UrlFieldName&"'>"&Title&"</a>", then we can use it as a “Title” column.
    http://sharepoint.stackexchange.com/questions/58954/link-title-in-list-to-value-in-url-column
    3. If you want to customize list form and use  SharePoint:SaveButton control to save the data, the following articles for your reference:
    http://ariwibawa-sharepoint.blogspot.com/2012/12/make-addeditview-custom-form-and-custom.html
    http://thesharepointdive.wordpress.com/2012/03/20/list-forms-deployment-for-sharepoint-2010-part-1-of-4/
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • Custom Application in CRM 5.0 SP13

    We have made changes as per note 1017761 to get a custom application working ...
    In the attached file I have made a summary of the errors related to
    the "sap.com/home~syn_crm" application.
    Overall we have 3 missing references to classes or classes definition
    - we have to check again the project and what jars are added to the
    project.
    And one JNDI error, for making a lookup by name: "SAP/CRM/b2b".
    All those errors I think are caused by wrong project construction, that is:
    wrong references or jar files not added to the project
    wrong project xml configuration files
    Log details ::: Can anyone throw some light on this ??
    1. ClassNotFoundException: com.sapportals.htmlb.taglib.BaseTagTEI
    #1.5 #001A4BF537B000220000023F0000397500046D3C180A7AC7#1246004776215#com.sap.engine.services.servlets_jsp.Deploy#sap.com/home~syn_crm#com.sap.engine.services.servlets_jsp.Deploy#J2EE_GUEST#0##n/a##04409270622b11de8247001a4bf537b0#SAPEngine_Application_Thread[impl:3]_45##0#0#Error##Plain###application [syn_crm] Error parsing a tag library descriptor. The error is: com.sap.engine.services.servlets_jsp.server.exceptions.WebWrongDescriptorException: TagExtraInfo class [com.sapportals.htmlb.taglib.BaseTagTEI] no
         at com.sap.engine.services.servlets_jsp.descriptor.taglib.TagLibDescriptorDocument.getTagInfo(TagLibDescriptorDocument.java:515)
         at com.sap.engine.services.servlets_jsp.descriptor.taglib.TagLibDescriptorDocument.loadDescriptorFromElement(TagLibDescriptorDocument.java:444)
         at com.sap.engine.services.servlets_jsp.descriptor.taglib.TagLibDescriptorDocument.loadDescriptorFromDocument(TagLibDescriptorDocument.java:100)
         at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer.parseTagLibListaners(ApplicationThreadInitializer.java:256)
         at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer.run(ApplicationThreadInitializer.java:103)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Caused by: java.lang.ClassNotFoundException: com.sapportals.htmlb.taglib.BaseTagTEI
    Loader Info -
    ClassLoader name: [sap.com/home~syn_crm]
    Parent loader name: [Frame ClassLoader]
    References:
       com.sap.engine.services.servlets_jsp.descriptor.taglib.TagLibDescriptorDocument.getTagInfo(TagLibDescriptorDocument.java:512)
         ... 8 more
    2. NoClassDefFoundError: com/sap/engine/lib/jaxp/DocumentBuilderFactoryImpl
    #1.5 #001A4BF537B00022000004440000397500046D3C1826B6BC#1246004778064#com.sap.isa.core.init.InitializationHandler#sap.com/home~syn_crm#com.sap.isa.core.init.InitializationHandler#J2EE_GUEST#0##n/a##04409270622b11de8247001a4bf537b0#SAPEngine_Application_Thread[impl:3]_45##0#0#Error#1#/Applications/BusinessLogic#Java###Initalization of failed.
    [EXCEPTION]
    #2#com.sap.isa.core.xcm.init.ExtendedConfigInitHandler#java.lang.NoClassDefFoundError: com/sap/engine/lib/jaxp/DocumentBuilderFactoryImpl
         at com.sap.isa.core.xcm.init.ExtendedConfigInitHandler.setTraceLevel(ExtendedConfigInitHandler.java:924)
         at com.sap.isa.core.xcm.init.ExtendedConfigInitHandler.initialize(ExtendedConfigInitHandler.java:161)
         at com.sap.isa.core.init.InitializationHandler.performInitialization(InitializationHandler.java:252)
         at com.sap.isa.core.init.InitializationHandler.performInitialization(InitializationHandler.java:313)
         at com.sap.isa.core.init.InitializationHandler.initialize(InitializationHandler.java:223)
         at com.sap.isa.core.ActionServlet.init(ActionServlet.java:115)
         at javax.servlet.GenericServlet.init(GenericServlet.java:258)
         at com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents.addServlet(WebComponents.java:139)
         at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer.loadServlets(ApplicationThreadInitializer.java:386)
         at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer.run(ApplicationThreadInitializer.java:110)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    2. NoClassDefFoundError: com/sap/jmx/monitoring/api/MBeanManagerException          at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    3. NameNotFoundException: Path to object does not exist at java:comp, the whole lookup name is java:comp/env/SAP/CRM/b2b
         #1.5 #001A4BF537B0003A0000002A0000397500046D3C1DD19175#1246004873143#com.sap.isa.core.xcm.init.ExtendedConfigInitHandler#sap.com/home~testsyn#com.sap.isa.core.xcm.init.ExtendedConfigInitHandler#J2EE_GUEST#0##n/a##3e069c70622b11de8d29001a4bf537b0#SAPEngine_Application_Thread[impl:3]_13##0#0#Error#1#/Applications/BusinessLogic#Java###An exception occurred when initializing extended configuration management:
    [EXCEPTION]
    #2#Synchronization of configuration data units to FS failed#com.sap.isa.core.db.DBException: <Localization failed: ResourceBundle='com.sap.isa.core.db.DALResourceBundle', ID='com.sap.isa.core.db.DBException_2', Arguments: ['Path to object does not exist at java:comp, the whole lookup name is java:comp/env/SAP/CRM/b2b.']> : Can't find bundle for base name com.sap.isa.core.db.DALResourceBundle, locale en
         at com.sap.isa.core.db.DBHelper.getPersistenceManagerFactory(DBHelper.java:96)
         at com.sap.isa.core.xcm.init.ExtendedConfigInitHandler.syncConfigDataUnitsToFS(ExtendedConfigInitHandler.java:394)
         at com.sap.isa.core.xcm.init.ExtendedConfigInitHandler.initialize(ExtendedConfigInitHandler.java:214)
         at com.sap.isa.core.init.InitializationHandler.performInitialization(InitializationHandler.java:252)
         at com.sap.isa.core.init.InitializationHandler.performInitialization(InitializationHandler.java:313)
         at com.sap.isa.core.init.InitializationHandler.initialize(InitializationHandler.java:223)
         at com.sap.isa.core.ActionServlet.init(ActionServlet.java:115)
         at javax.servlet.GenericServlet.init(GenericServlet.java:258)
         at com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents.addServlet(WebComponents.java:139)
         at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer.loadServlets(ApplicationThreadInitializer.java:386)
         at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer.run(ApplicationThreadInitializer.java:110)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Caused by: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Path to object does not exist at java:comp, the whole lookup name is java:comp/env/SAP/CRM/b2b.
         at com.sap.engine.services.jndi.implserver.ServerContextImpl.getLastContainer(ServerContextImpl.java:261)
         at com.sap.engine.services.jndi.implserver.ServerContextImpl.lookup(ServerContextImpl.java:624)
         at com.sap.engine.services.jndi.implclient.ClientContext.lookup(ClientContext.java:344)
         at com.sap.engine.services.jndi.implclient.OffsetClientContext.lookup(OffsetClientContext.java:254)
         at com.sap.engine.services.jndi.implclient.OffsetClientContext.lookup(OffsetClientContext.java:271)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at com.sap.isa.core.db.DBHelper.getApplicationSpecificDataSource(DBHelper.java:132)
         at com.sap.isa.core.db.DBHelper.getPersistenceManagerFactory(DBHelper.java:89)
         ... 14 more
    4. ClassNotFoundException: com.tealeaf.capture.LiteFilter
         #1.5 #001A4BF537B00025000004680000397500046D3C227B2A30#1246004951372#com.sap.isa.core.jmx.ext.ExtBootstrapper#sap.com/crm~b2b#com.sap.isa.core.jmx.ext.ExtBootstrapper#J2EE_ADMIN#7655##n/a##5d242820622b11deab29001a4bf537b0#SAPEngine_Application_Thread[impl:3]_48##0#0#Error#1#/Applications/BusinessLogic#Java###Error in CCMS reporting:
    [EXCEPTION]
    #2#unable to register MBeans#com.sap.jmx.monitoring.api.PartialRegistrationException: Registration of 2 MBeans failed. Switch on the trace for com.sap.jmx in order to see detailed exceptions.
         at com.sap.jmx.monitoring.api.MBeanManager.registerMBeans(MBeanManager.java:114)
         at com.sap.isa.core.jmx.ext.ExtBootstrapper.init(ExtBootstrapper.java:130)
         at com.sap.isa.core.jmx.ext.ExtBootstrapper.initialize(ExtBootstrapper.java:184)
         at com.sap.isa.core.MonitoringServlet.init(MonitoringServlet.java:43)
         at javax.servlet.GenericServlet.init(GenericServlet.java:258)
         at com.sap.engine.services.servlets_jsp.server.security.PrivilegedActionImpl.run(PrivilegedActionImpl.java:59)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAs(Subject.java:379)
         at com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents.addServlet(WebComponents.java:141)
         at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer.loadServlets(ApplicationThreadInitializer.java:386)
         at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer.run(ApplicationThreadInitializer.java:110)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Loader Info -
    ClassLoader name: [sap.com/home~syn_crm]
    Parent loader name: [Frame ClassLoader]
    References:
       common:service:http;service:servlet_jsp
       service:ejb
       common:service:iiop;service:naming;service:p4;service:ts
       service:jmsconnector
       library:jsse
       library:servlet
       common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl
       library:ejb20
       library:j2eeca
       library:jms
       library:opensql
      Possible errors include: Tlfilter.jar cannot be located or Tealeaf server unreachable#

    Hi Priya,
    you're welcome. Thank you for the points. Can you have a look in CRM 5.0 how they realized the download functionality of search results to excel. There is a long thread Download to Excel on this toppic.
    Regards
    Gregor

  • How to include custom application.xml in JDev9i project

    Can anybody explain to me how to include a custom application.xml file when deploying to an .ear file? I need to include application wide security roles, and I can't see where in Jev9i how to do this.
    After searching this forum, I see that jdev9i can't include the orion-application.xml, but I want to include just the standard J2EE application.xml. Is this possible?
    Thanks,
    matt

    The standard application.xml file unfortunately can't be customized in JDev 9.0.2. The reasons why this capability was left out of JDev 9.0.2 are same reasons why the other EAR-level XML files were excluded. The OTN thread
    Re: Regarding 11i and E-business suite
    has a summary of those reasons, which you've probably seen. We know this is an area in need of improvement and will be adding this functionality in the JDev 9.0.3 release. Until then, you'll have to go with a work-around like an Ant build file, batch file, Java application, or some other kind of script.
    Below is a sample Java application which can be used to insert <security-role> elements into an EAR file's application.xml. Modify the main() method to customize for your purposes, and put xmlparserv2.jar on the classpath (in a JDev project, add the "Oracle XML Parser v2" library):
    package mypackage4;
    import java.io.*;
    import java.util.*;
    import java.util.zip.*;
    import oracle.xml.parser.v2.*;
    import org.w3c.dom.*;
    import org.xml.sax.SAXException;
    public class PostProcessEAR
    public static void main( String[] args ) throws IOException
    final String earFile = "C:\\temp\\myapp.ear";
    final PostProcessEAR postProcess = new PostProcessEAR( earFile );
    postProcess.addSecurityRole( null, "first_role" );
    postProcess.addSecurityRole( "Description for the second role", "second_role" );
    postProcess.commit();
    System.out.println( "Done." );
    private final File _earFile;
    private final ArrayList _securityRoles = new ArrayList();
    public PostProcessEAR( String earFile )
    _earFile = new File( earFile );
    public void addSecurityRole( String description, String roleName )
    if ( roleName == null )
    throw new IllegalArgumentException();
    _securityRoles.add( description );
    _securityRoles.add( roleName );
    * Write out modified EAR file.
    public void commit() throws IOException
    if ( _securityRoles.size() == 0 )
    return;
    final ZipFile zipFile = new ZipFile( _earFile );
    final Enumeration entries = zipFile.entries();
    final File outFile = new File( _earFile.getAbsolutePath() + ".out" );
    final ZipOutputStream out = new ZipOutputStream( new BufferedOutputStream( new FileOutputStream( outFile ) ) );
    while ( entries.hasMoreElements() )
    final ZipEntry entry = (ZipEntry) entries.nextElement();
    final InputStream in = zipFile.getInputStream( entry );
    if ( "META-INF/application.xml".equals( entry.getName() ) )
    final XMLDocument modifiedApplicationXml = insertSecurityRoles( in );
    final ByteArrayOutputStream byteOutput = new ByteArrayOutputStream();
    modifiedApplicationXml.print( byteOutput );
    final int numBytes = byteOutput.size();
    entry.setSize( numBytes );
    if ( entry.getMethod() == ZipEntry.STORED )
    entry.setCompressedSize( numBytes );
    final CRC32 crc32 = new CRC32();
    crc32.update( byteOutput.toByteArray() );
    entry.setCrc( crc32.getValue() );
    out.putNextEntry( entry );
    byteOutput.writeTo( out );
    else
    // Copy all other zip entries as they are.
    out.putNextEntry( entry );
    copy( in, out );
    in.close();
    out.close();
    private XMLDocument insertSecurityRoles( InputStream in ) throws IOException
    final DOMParser domParser = new DOMParser();
    domParser.setAttribute( DOMParser.STANDALONE, Boolean.TRUE );
    try
    domParser.parse( in );
    final XMLDocument doc = domParser.getDocument();
    final Element docElem = doc.getDocumentElement();
    final Iterator iter = _securityRoles.iterator();
    while ( iter.hasNext() )
    final String desc = (String) iter.next(); // might be null
    final String roleName = iter.next().toString(); // must not be null
    final Element securityRoleElem = doc.createElement( "security-role" );
    if ( desc != null )
    securityRoleElem.appendChild( createPcdata( doc, "description", desc ) );
    securityRoleElem.appendChild( createPcdata( doc, "role-name", roleName ) );
    docElem.appendChild( securityRoleElem );
    return doc;
    catch ( SAXException e )
    e.printStackTrace();
    return null;
    private Element createPcdata( XMLDocument doc, String elemName, String pcdata )
    final Element elem = doc.createElement( elemName );
    elem.appendChild( doc.createTextNode( pcdata ) );
    return elem;
    private final byte[] buffer = new byte[4096];
    private void copy( InputStream in, OutputStream out ) throws IOException
    while ( true )
    final int bytesRead = in.read( buffer );
    if ( bytesRead < 0 )
    break;
    out.write( buffer, 0, bytesRead );

  • Use of bpelx built-in methods like getVariableData in custom java classes

    Hi,
    how can I use bpelx built-in methods like getVariableData ...
    inside custom java classes embedded with BPEL project?
    I have large java code to embed with BPEL process
    and it will be very useful ....
    It is possible to access these methods like static methods of some class?
    import com.xxx.yyy.class;
    class.getVaribleData("inputVariable","payload","/ns1:mailMessage/ns1:content/ns1:multiPart");
    Regards
    Karel

    you can access them from <bpelx:exec> activity and you can pass these returned document to underlying java class.
    Re: getVariableData in Java Exec

  • Custom Application Privs for XML file generation in 11i(11.5.7)

    We have created Custom Application Module in the Oracle Apps R11i.
    I am running the below query in my custom application module user using SQL*Plus, it gives the error:
    SQL Statment:
    DECLARE
    queryCtx DBMS_XMLQuery.ctxType;
    result CLOB;
    BEGIN
    -- set the query context.
    queryCtx := DBMS_XMLQuery.newContext('select * from per_all_people_f where
    rownum <=10');
    DBMS_XMLQuery.setRowTag(queryCtx,'EMP'); -- sets the row tag name
    DBMS_XMLQuery.setRowSetTag(queryCtx,'EMPSET'); -- sets rowset tag name
    result := DBMS_XMLQuery.getXML(queryCtx); -- get the result
    DBMS_XMLQuery.closeContext(queryCtx); -- close the query handle;
    END;
    Error:
    Error on line 0
    DECLARE
    queryCtx DBMS_XMLQuery.ctxType;
    result CLOB;
    BEGIN
    -- set t
    ORA-29532: Java call terminated by uncaught Java exception:
    java.lang.NullPointerException
    ORA-06512: at "SYS.DBMS_XMLQUERY", line 206
    ORA-06512: at "SYS.DBMS_XMLQUERY", line 214
    ORA-06512: at "SYS.DBMS_XMLQUERY", line 204
    ORA-06512: at line 11
    The same query is running fine with apps user. What are the objects privileges required for the custom module user?.

    I have found resolution for this.
    1. Created the Public Synonym for the following Apps user Java Class objects:
    /109a284b_OracleXMLStaticQuery
    /12249373_OracleXMLStaticQuery
    /c33162ba_OracleXMLStaticQuery
    2. Execute privilege for Apps.DBMS_XMLQUERY to custom application user.
    Thanks.
    -Venkat

Maybe you are looking for

  • Error encountered during up-gradation from 4.6C to ECC 6.0

    Dear All, We have done a technical upgrade from version 4.6C to ECC 6.0 and encountered following error - In the t-code ABZE (acquisition with in house production) there is a check-box for reverse posting on screen with version 4.6C. However, this fi

  • Is it possible to create cube on t-code from R/3 ?

    Hi, there is one t-code in R/3 ZBDS. Is it possible to create one simple basic cube with all the fileds this t-code shows and to load data in BW ? Thanks, KS

  • How to send mail with SSL in ADDT?

    The control panel of ADDT for email settings doesn't have option for ssl enable. Please help me, thanks PS: One question had posted at http://forums.adobe.com/thread/284636?tstart=210

  • Please help omg I need music.

    When I plug my iphone into my computer to download music, the device doesn't show up on my itunes. How can I get it to show up? I really wanna download music and it's not working and i'm not a happy camper help

  • Switch over pending

    When i execute alter database commit to switch over to primary --> oracle sens recover media requiered