Magazine Not Mapped in EJB's

I have created my tables, but i am having the given error :
java.lang.IllegalArgumentException: org.hibernate.hql.ast.QuerySyntaxException: group33MAGAZINE is not mapped [FROM group33MAGAZINE WHERE MAGID='TeST'] i have created my Magazine file, code :
*     Magazine.java
*     Magazine is the main interface for the class.
*     A magazine is a one-to-many with issue.java
*     Magazine is a many-to-one with SubjectArea.java
*         * MAGAZINE , ISSUE , SUBJECT AREA Workinh
*     Revised : Stelios Philippou
*     Date : 26 April
package com.group33.entities;
import javax.persistence.*;
import java.util.*;
@Entity
@Table(name = "group33MAGAZINE")
public class Magazine implements java.io.Serializable {
    private String magId;
    private String title;
    private int period;
    private int publicationDay;
    private String magDescription;
    //SUBJECT AREA CONNECTION
    private SubjectArea subjectArea;
    private int areaId;
    // MagazineSubscription connection.
    //private Set<MagazineSubscription> magazineSubscriptions = new HashSet<MagazineSubscription>();
    /*************************Magazine*************************/
    @Id
    @Column(name = "MAGID",length = 5, nullable = false)
    public String getMagId() { return magId; }
    public void setMagId(String magId) { this.magId = magId; }
    @Column(name = "TITLE", length = 50, nullable = false)
    public String getTitle() {  return title; }
    public void setTitle(String title) {  this.title = title; }
    @Column(name = "PERIOD", nullable = true)
    public int getPeriod() { return period;  }
    public void setPeriod(int period) {  this.period = period;   }
    @Column(name = "PUBLICATIONDAY", nullable = true)
    public int getPublicationDay() { return publicationDay; }
    public void setPublicationDay(int publicationDay) { this.publicationDay = publicationDay;  }
    @Column(name = "MAGDESCRIPTION", nullable = true)
    public String getMagDescription() {  return magDescription;  }
    public void setMagDescription(String magDescription) { this.magDescription = magDescription; }
     /*************************Subject Area*************************/
    // Foreging Key for SubjectArea
    @Column(name = "AREAID", nullable = false)
    public int getAreaId() { return areaId;  }
    public void setAreaId(int areaid) {  this.areaId = areaId; }
    //Delpoyemnt for one to many ussing subject Area
    @ManyToOne
    @JoinColumn(name = "AREAID", insertable = false, updatable = false)
    public SubjectArea getSubjectArea() {return subjectArea;}
    public void setSubjectArea(SubjectArea subjectArea) { this.subjectArea = subjectArea; }
     /*************************items Ordered*************************/
    // Hash Set itemsordered connection
    private Set<ItemsOrdered>itemsOrdereds = new HashSet<ItemsOrdered>();
    //Deployoing one to many for itemsordered
     @OneToMany(mappedBy = "magazine")
    public Set<ItemsOrdered> getItemsOrdered() { return itemsOrdereds;  }
    public void setItemsOrdered(Set<ItemsOrdered> itemsOrdereds) { this.itemsOrdereds = itemsOrdereds; }
     /*************************Issue*************************/
     //Hash Set Issue
    private Set<Issue> issues = new HashSet<Issue>();
    @OneToMany(mappedBy = "magazine")
    public Set<Issue> getIssues() { return issues;  }
    public void setIssues(Set<Issue> issues) { this.issues = issues; }
    // Deployement for many to one of Subscription
    //@OneToMany(mappedBy = "magazine")
    //public Set<MagazineSubscriptions> getMagazineSubscriptions() { return magazineSubscriptions;  }
    //public void setMagazineSubscriptions(Set<MagazineSubscriptions> magazineSubscriptions) { this.magazineSubscriptions = magazineSubscriptions; }
} and my persistence.xml
<?xml version="1.0" encoding="UTF-8"?>
<persistence>
  <persistence-unit name="group33">
    <jta-data-source>java:/DB2DSGROUP33</jta-data-source>
    <properties>
      <property name="hibernate.dialect" value="org.hibernate.dialect.DB2Dialect"/>
      <property name="hibernate.hbm2ddl.auto" value="create-drop"/>
    </properties>
  </persistence-unit>
</persistence>My db is created with schema group33 and group33MAGAZINE
No matter what i enter in the search i will be unable to proceed with the searching.
Something, somewhere is not right and i am not sure what.
Please some pointers
Tried various names for magazine and nothing helped

stevoo wrote:
Solved ... i think ill stop posting if ill be finding the solutions by myself.Fine by us. You make that sound like a bad thing. After all, no one is guaranteed an answer when they come here.
Anyway after a lot of tweaking, it seemed that i need to deploy all entities to actually work. Yes.
So i stripped every relation down and left just magazine. If that's what your problem demands.
It looked like that was all it neededGood job.
%

Similar Messages

  • Can not find my EJB's from my Servlet

    Hi
    I am new to EJB and am trying to get a Servlet to call some sessionless EJB beans. I have got it working in JDeveloper but when I deploy it to orion application server I keep getting a javax.naming.NameNotFoundException exception throw from the Servlet when it tries to find the first EJB.
    The code in the Servlet is:
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory");
    env.put(Context.SECURITY_PRINCIPAL, "admin");
    env.put(Context.SECURITY_CREDENTIALS, "jewels");
    // env.put(Context.PROVIDER_URL, "ormi://localhost:23891/current-workspace-app");
    env.put(Context.PROVIDER_URL, "ormi://localhost:23791/dev");
    Context ctx = new InitialContext(env);
    System.out.println("Getting mapping class ejb");
    //mapping
    ExponentMappingServiceHome mappingHome = (ExponentMappingServiceHome)ctx.lookup("ExponentMappingServiceHome");
    ExponentMappingService mapping = mappingHome.create();
    My EJB xml looks like this:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN" "http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd">
    <ejb-jar>
    <enterprise-beans>
    <session>
    <description>Session Bean ( Stateless )</description>
    <display-name>ExponentMappingService</display-name>
    <ejb-name>ExponentMappingService</ejb-name>
    <home>com.exponent.ejb.service.map.ExponentMappingServiceHome</home>
    <remote>com.exponent.ejb.service.map.ExponentMappingService</remote>
    <ejb-class>com.exponent.ejb.service.map.ExponentMappingServiceBean</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    </session>
    <session>
    <description>Session Bean ( Stateless )</description>
    <display-name>ExponentMappingViewsService</display-name>
    <ejb-name>ExponentMappingViewsService</ejb-name>
    <home>com.exponent.ejb.service.map.ExponentMappingViewsServiceHome</home>
    <remote>com.exponent.ejb.service.map.ExponentMappingViewsService</remote>
    <ejb-class>com.exponent.ejb.service.map.ExponentMappingViewsServiceBean</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    </session>
    <session>
    <description>Session Bean ( Stateless )</description>
    <display-name>FalconService</display-name>
    <ejb-name>FalconService</ejb-name>
    <home>com.exponent.ejb.service.FalconServiceHome</home>
    <remote>com.exponent.ejb.service.FalconService</remote>
    <ejb-class>com.exponent.ejb.service.FalconServiceBean</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    </session>
    </enterprise-beans>
    </ejb-jar>
    I have been trying for a while to get the JNDI naming right but everything I try gets the above error. Any help would be great.
    Thanks
    Andre

    You have to lookup for "ExponentMappingService", and not "ExponentMappingServiceHome"
    The name you give in the <ejb-name> tag in ejb-jar.xml is the JNDI name of the EJB. This is the name u have to look up.

  • Business components mapped to EJB 2.0 local entity beans

    Hi ,
    I read about the new feature in JDev 903 that is "Creating business components mapped to EJB 2.0 local entity beans". but I am not able to find any documentation on it.can anyone provide me any link or help on this topic.
    Thanx,
    Prasoon

    Prasoon -
    For JDeveloper 10g, version 9.0.5.1, there is information on this topic located in the help:
    Building J2EE Applications >
    Working with the Business Tier >
    Developing Enterprise JavaBean Applications >
    Using Business Component Entity Facades
    Hope this helps,
    Lynn
    Java Tools Team

  • I can not map field after changing data source location

    Hi
    I have a small problem that I got a report file and database from my customer, after that I setup database, open the file and change data source to my setting. but some filed can not map. The field mapping widonw does not display all field in the table. Of course I have checked the missing fields are existing in the table.
    OS:Windows7
    DB:Oracle11
    CR:XI Release 2
    Does anyone have an idea?

    hi,
    In Map Fields window, there is an option "Match Type".
    Please Unchek that option, so that you will be able to see all the fields from that table.
    Also, while mapping please verify the datatypes of source and target fields.
    Regards,
    Vamsee

  • All fields are not mapped in transformation 0IC_C03 to 2LIS_03_BF_TR

    I have replicated BI7 data sources of 2lis_03_BF,BX & UM from ECC. All the infosources are BI7 infosources.After installing the BI Content for 0IC_C03, infosource 2LIS_03_BF_TR is not active.When I am trying to activate the transformation it is showing a error in START ROUTINE & also all fields are not mapped.
    Please suggest a solution.
    Thanx in advance.
    Edited by: Aritra on Nov 28, 2011 11:37 AM

    Hi,
    i think you have done some modification manually(either added something and deleted something in transformation) thats why code isn't maching with standard sorce package.
    so to resolve this error just remove  changes you manually did. or remove that code and again create start routine and paste the code which u need.
    Thanks & Regards,
    NIKHIL

  • Unable to load the EJB module. DeploymentContext does not contain any EJB.

    I'm writing an enterprise application to familiarize myself with Glassfish 3.1.2 and EJB 3.1. I've created several local, stateless beans, and injected one into a JSF managed bean. The ejb and web modules compile fine, but when I launch the application with Glassfish I get the following startup error and the application does not deploy. I don't understand what it means, can someone ellaborate?
    SEVERE: Exception while invoking class org.glassfish.ejb.startup.EjbDeployer prepare method
    SEVERE: Exception while invoking class org.glassfish.javaee.full.deployment.EarDeployer prepare method
    SEVERE: Exception while preparing the app
    SEVERE: Unable to load the EJB module. DeploymentContext does not contain any EJB. Check the archive to ensure correct packaging for D:\Documents\NetBeansProjects\Test\dist\gfdeploy\Test\Test-war_war.
    If you use EJB component annotations to define the EJB, and an ejb or web deployment descriptor is also used, please make sure that the deployment descriptor references a Java EE 5 or higher version schema, and that the metadata-complete attribute is not set to true, so the component annotations can be processed as expected
    org.glassfish.deployment.common.DeploymentException: Unable to load the EJB module. DeploymentContext does not contain any EJB. Check the archive to ensure correct packaging for D:\Documents\NetBeansProjects\Test\dist\gfdeploy\Test\Test-war_war.
    If you use EJB component annotations to define the EJB, and an ejb or web deployment descriptor is also used, please make sure that the deployment descriptor references a Java EE 5 or higher version schema, and that the metadata-complete attribute is not set to true, so the component annotations can be processed as expected
         at org.glassfish.javaee.full.deployment.EarDeployer.prepare(EarDeployer.java:166)
         at com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:871)
         at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:410)
         at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
         at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:389)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:348)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:363)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1085)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:95)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1291)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1259)
         at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:461)
         at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:212)
         at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
         at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
         at com.sun.enterprise.v3.services.impl.ContainerMapper$Hk2DispatcherCallable.call(ContainerMapper.java:354)
         at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
         at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
         at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
         at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
         at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
         at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
         at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
         at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
         at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
         at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
         at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
         at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
         at java.lang.Thread.run(Thread.java:722)

    My guess is that you deployed an ejb without bean in it. when you have an ejb module, be sure you have at least one bean present.
    Are you sure you have implementend some beans? Or did you do this only in the web module?
    Try adding an @Stateless bean doing nothing in you ejb module, redeploy and let me know if that works

  • XSLT-Mapping Exception:  Prefix not mapped:

    Hi all,
    I try to make a mapping using XSLT and get the exception: Prefix not mapped: ns0.
    I wrote a simple xslt-script:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns1="http://me.home.com">
    <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
    <xsl:template match="//XIFCollection">
    <Start>
      <xsl:for-each select="ns1:XIFTest">
       <Found>
        <xsl:number format="1"/>
       </Found>
      </xsl:for-each>
    </Start>
    </xsl:template>
    </xsl:stylesheet>
    Using this input XML:
    <?xml version="1.0" encoding="UTF-8"?>
    <XIFCollection  >
    <ns0:XIFTest xmlns:ns0="http://me.home.com">
      <IFControl>
       <MeldungsId>1</MeldungsId>
      </IFControl>
      <XTest>
      </XTest>
    </ns0:XIFTest>
    <ns0:XIFTest xmlns:ns0="http://me.home.com">
      <IFControl>
       <MeldungsId>2</MeldungsId>
      </IFControl>
      <XTest>
      </XTest>
    </ns0:XIFTest>
    </XIFCollection>
    In XML-Spy I get the following output:
    <?xml version="1.0" encoding="UTF-8"?>
    <Start xmlns:ns1="http://me.home.com">
    <Found>1</Found>
    <Found>2</Found>
    </Start>
    What I expected.
    But using XI or the XML-Toolkit XI30xslt I get the exception:
    java.lang.Exception: XMLParser: Prefix 'ns0' is not mapped to a namespace.
    I tried everything and searched all dokumentation but have no idea.
    Anyone with an idea?
    Thanks

    Hi,
    you need to chage as Udo said
    but also the other ns0 one:
    check this:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns0="http://me.home.com">
    <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
    <xsl:template match="//XIFCollection">
    <Start>
      <xsl:for-each select="ns0:XIFTest">
       <Found>
        <xsl:number format="1"/>
       </Found>
      </xsl:for-each>
    </Start>
    </xsl:template>
    </xsl:stylesheet>
    BTW
    it works in Stylus Studio now
    Regards,
    michal

  • 0GR_VAL_PD KF has not mapped with source in 0Pur_C01 but value comes

    HI All
    I have problem with 0GR_VAL_PD kf in 0PUR_C01 cube. 0GR_VAL_PD KF has not mapped with source in 0Pur_C01 but in report level, value is coming for purchase organisation,material group . 
    But GR value as at posting date (0GR_VAL_PD)value not coming for particular material group or purch. org. but some days before, values were coming for particular material group or purch. org..
    so need your help.
    Thanks n Regards,
    Gaurav Sekhri
    Edited by: gaurav sekhri on Aug 18, 2010 11:41 AM
    Edited by: gaurav sekhri on Aug 18, 2010 11:43 AM

    Hi Susan
    Which datasource you are using at present. Normally 0PUR_C01 gets loaded from 2LIS_02_ITM and 2LIS_02_SCL. The keyfigure that you have mentioned will come from 2LIS_02_SCL with the code that you have written.
    The code that you have written should work. Please check if the code is in the transformation from 2LIS_02_SCL.
    Share the details on why do you think the solution didn't work.
    Regards
    Karthik

  • DisplayAuthor managed property does not map to any crawl property, why?

    I just discovered the out of box  - DisplayAuthor managed property does not map to any crawl property, why is that? but it is still working fine when using this property as a refiner.....how does this work?

    Hi,
    The DisplayAuthor managed property is different. It is  multi-valued  but has no crawled properties mapped to it. However, it represents multiple authors for a document. There is the author that is stored with the properties of a document such
    as a pdf this is the original creator of the document, and then there is the SharePoint author of the document which is the the person who uploaded the document. So basically you can search on both using the DisplayAuthor.
    Besides, here is a similar post, you can use as a reference:
    https://social.msdn.microsoft.com/Forums/office/en-US/bdf5d8dc-0511-492c-8f51-9cd541cf70bd/what-does-the-displayauthor-value-in-the-search-refinement-json-object-represent?forum=sharepointsearch
    Best Regards,
    Lisa Chen
    Forum 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]
    Lisa Chen
    TechNet Community Support

  • Some offerings are missing user input, some are not mapping to activites

    Seemingly out of the blue my system has stopped mapping request offering answers to (manual) activities (mapping to the SR itself works), neither OotB properties or custom properties. This only happens when submitting them from the portal (ALL
    offerings)
    Also, some requests are even missing user input (and obviously no mapping is possible).
    This issue seem to affect all users. Even admins
    I have tried restarting the web content server and also the website on the sharepoint server. I have also tried creating a brand new template and offering in a brand new MP.
    I have been able to track down a ca. point in time this issue arose, but not found anything in logs anywhere (except SMPortalTrace). Checked web content server event log and website log, SQL log, event log on both management servers.
    I have checked the SMPortalTrace.log and for every request submitted I get an error (not visible in the portal) - some is in danish, so I have translated at the best of my ability:
    Failed to parse the description with links., System.ArgumentNullException: [ArgumentNull_Generic]
    Ressourcestrings for troubleshooting is not available. Keys and arguments often contains enough information to start the troubleshooting a problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=5.1.30214.00&File=mscorlib.dll&Key=ArgumentNull_Generic
    ParameterName: input
    At System.Text.RegularExpressions.Regex.Matches (String input)
    At Microsoft.Enterprisemanagement.ServiceManager.Portal.RequestOfferingSilverlightModule.UriParser.ParseDescription(string description)
    The system is SCSM 2012 R2 UR2 (except the SP part of the portal)
    Update:
    I found that if the user input is missing even from the SR then the error does not present itself in the SMPortalTrace.log, only if the user input goes through (but is not mapped to activities).
    http://codebeaver.blogspot.dk/

    The issue seems to be related to a syntactically valid type projection in the Service Request form (customized) - I added a component to the existing projection. As the template that a request offering is based on has a reference to this projection I guess
    the code that creates the Service Request submitted from the portal somehow ignores the "unwanted" type projection component, and instead of not submitting the request it continues but is unable to map into child activities. I will try and reproduce
    this in more detail.
    Solution: Revert to original type projection in the SR form and everything went back to normal.
    http://codebeaver.blogspot.dk/

  • ParserException: XMLParser: Prefix 'c' is not mapped to a namespace

    Hello and thanks in advance for any help. I am trying to deploy a war (that worked with Tomcat 4.1) on SAP Web Application Server.
    In this war I have a JSP that says
    <?xml version="1.0" encoding="UTF-8"?>
    <jsp:root version="1.2" xmlns:jsp="http://java.sun.com/products/JSP/Page"
           xmlns:c="http://java.sun.com/jstl/core"
           xmlns:trx="http://www.highdeal.com/taglib">
      <jsp:directive.include file="jspf/doctype.jspf"/>
      <html>
        <jsp:directive.include file="jspf/Imports.jspf"/>
        <jsp:include page="include/Variables.jsp" flush="true" />
        <head>
          <title><c:out value="$"/></title>
          <jsp:directive.include file="jspf/Style.jspf"/>
        </head>
    In my web.xml, I have:
    <taglib>
    <taglib-uri>http://www.highdeal.com/taglib</taglib-uri>
    <taglib-location>WEB-INF/trx.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>http://java.sun.com/jstl/core</taglib-uri>
    <taglib-location>WEB-INF/c.tld</taglib-location>
    </taglib>
    I am becoming crazy because of the exception I keep having in the logfile:
    #1.5#0013CEDA9E4F00380000000800000DDC00040F1A970A7F6A#1142506784439#com.sap.engine.services.servlets_jsp.server.jsp.JSPParser#sap.com/csrui.war#com.sap.engine.services.servlets_jsp.server.jsp.JSPParser#Guest#2####f9b076e0b4db11da96df0013ceda9e4f#SAPEngine_Application_Thread[impl:3]_7##0#0#Error#1#/System/Server#Plain###Runtime error in compiling of the JSP file <D:/usr/sap/J2E/JC00/j2ee/cluster/server0/apps/sap.com/csrui.war/servlet_jsp/csrui/root/WEB-INF/jsp/Logon.jsp> ! The error is: TagLibValidator returns error(s) for taglib ( http://java.sun.com/jstl/core ):
         com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: Prefix 'c' is not mapped to a namespace(:main:, row:818, col:1)(:main:, row=818, col=1) -> com.sap.engine.lib.xml.parser.ParserException: XMLParser: Prefix 'c' is not mapped to a namespace(:main:, row:818, col:1)
    #1.5#0013CEDA9E4F00380000000900000DDC00040F1A970A834A#1142506784439#com.sap.engine.services.servlets_jsp.Deploy#sap.com/csrui.war#com.sap.engine.services.servlets_jsp.Deploy#Guest#2####f9b076e0b4db11da96df0013ceda9e4f#SAPEngine_Application_Thread[impl:3]_7##0#0#Error##Plain###Runtime error in compiling of the JSP file <D:/usr/sap/J2E/JC00/j2ee/cluster/server0/apps/sap.com/csrui.war/servlet_jsp/csrui/root/WEB-INF/jsp/Logon.jsp> ! The error is: com.sap.engine.services.servlets_jsp.server.jsp.exceptions.ParseException: TagLibValidator returns error(s) for taglib ( http://java.sun.com/jstl/core ):
         com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: Prefix 'c' is not mapped to a namespace(:main:, row:818, col:1)(:main:, row=818, col=1) -> com.sap.engine.lib.xml.parser.ParserException: XMLParser: Prefix 'c' is not mapped to a namespace(:main:, row:818, col:1)
         at com.sap.engine.services.servlets_jsp.server.jsp.JSPParser.validate(JSPParser.java:243)
         at com.sap.engine.services.servlets_jsp.server.jsp.JSPParser.initParser(JSPParser.java:348)
         at com.sap.engine.services.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:105)
         at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.getClassName(JSPServlet.java:238)
         at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.compileAndGetClassName(JSPServlet.java:428)
         at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:169)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:290)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:346)
         at com.highdeal.wui.base.WForwardFactory.forwardPage(WForwardFactory.java:89)
         at com.highdeal.wui.base.WForwardFactory.forward(WForwardFactory.java:128)
         at com.highdeal.wui.base.HighdealSession.forward(HighdealSession.java:245)
         at com.highdeal.wui.base.ControllerServlet.performAction(ControllerServlet.java:568)
         at com.highdeal.wui.base.ControllerServlet.perform(ControllerServlet.java:913)
         at com.highdeal.wui.base.ControllerServlet.doPost(ControllerServlet.java:482)
         at com.highdeal.wui.base.ControllerServlet.doGet(ControllerServlet.java:476)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:391)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:265)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:345)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:323)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:865)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:240)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    What am I doing wrong here??
    Tangi

    Hi Tangi,
    A small mistake in your web.xml
    <taglib>
    <taglib-uri>http://www.highdeal.com/taglib</taglib-uri>
    <taglib-location><b>/</b>WEB-INF/trx.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>http://java.sun.com/jstl/core</taglib-uri>
    <taglib-location><b>/</b>WEB-INF/c.tld</taglib-location>
    </taglib>
    You have missed a / before WEB-INF.
    Also, the order of entries in web.xml matters. Refer <a href="http://www.pchighway.com/helpdesk/index.php?page=index_v2&id=1694&c=135">here</a> for more info about JSTL.
    Hope this solve your problem.
    Regards,
    Uma

  • ParserException: XMLParser: Prefix 'xsl' is not mapped to a namespace

    Hi
    although I do not think this is an XI problem.. I hope that somebody with more XSLT experience that I might be able to help.
    I have a rather simple XSLT that is used to convert an EXCEL XML document into another XML format.  The XSL that I have worked when I tested it via standalone SAXON or MSXML transformation.
    But using the SAP product it gives me the error Prefix 'xsl' is not mapped to a namespace.
    Here is the top part of the XSL
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
    xmlns:sp="urn:schemas-microsoft-com:office:spreadsheet"
    xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
    xmlns:of="urn:schemas-microsoft-com:office:office">
    <xsl:output method = "xml"  version="1.0" encoding="ISO-8859-1" omit-xml-declaration="no" standalone="no" indent="yes"  />
       <xsl:template match="/">
         <dvabatch>
              <xsl:apply-templates select = "//of:DocumentProperties" />
         </dvabatch>
       </xsl:template>
    .... and so on.....
    and the top part of the XML source
    <?xml version="1.0"?>
    <Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"
    xmlns:o="urn:schemas-microsoft-com:office:office"
    xmlns:x="urn:schemas-microsoft-com:office:excel"
    xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"
    xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
    xmlns:html="http://www.w3.org/TR/REC-html40">
    <DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">
      <Author>Peter Munt</Author>
      <LastAuthor>muntp</LastAuthor>
      <LastPrinted>2006-01-30T23:53:27Z</LastPrinted>
      <Created>2003-02-06T18:19:41Z</Created>
      <LastSaved>2006-03-01T03:59:11Z</LastSaved>
      <Company>DVA</Company>
      <Version>10.2625</Version>
    </DocumentProperties>
    <CustomDocum  ....
    ..... and so on .....

    Hi Peter,
    just for clarification:
    You zipped the XSL File and imported it into a Mapping Archive, then assigned the XSL Mapping to an interface mapping and receive the error in the Message Monitoring?
    Is that the case?
    regards,
    Peter

  • Prefix is not mapped to a namespace

    Hello All:
      I have a incoming XML with ns0 name space. I had to anticipate it so I put in the declaration xmlns:ns0 = "http://XXXX-myxml.com"  in the xsl:stylesheet.
      But when I run this scenario. It throw exception at run time. With below error message
    XCE001 Nested exception: com.sap.b1i.bizprocessor.BizProcException: BPE001 Nested exception: com.sap.b1i.utilities.UtilException: UTE001 Nested exception: javax.xml.transform.TransformerConfigurationException: Could not load stylesheet.com.sap.engine.lib.xml.util.NestedException: Could not load XSLWhen. Stylesheet: null, element: <xsl:when xmlns:xsl="http://www.w3.org/1999/XSL/Transform" test="$msg/ns0:PriceList">PriceList</xsl:when> -> com.sap.engine.lib.xml.util.NestedException: Prefix not mapped: ns0 -> java.lang.Exception: XMLParser: Prefix 'ns0' is not mapped to a namespace
    Thank You!

    Hi Bo,
    please define all namespaces in the INBOUND Definition (INBOUND-CHANNEL) of your scenario.
    This is the only way to replicate the namespaces automatically into all xslt files.
    Manual changes within your xslt files will be overwritten.
    Best regards
    Bastian
    P.S.: please reactivate your scenario after changing the INBOUND definition.

  • Dates are not mapped as the Date data type in Universe created on Infoset

    Hi,
    When i try to create the universe on top of Infoset query, the date fields present as the variables in SAP BI Query are not mapped as date data type in Universe, instead they are considered as Characters, hence the prompts related to those variables are coming s List of values instead of Calendar in WebI.
    Can any one pls help me to find the solution on how to map date variables as calendar in Webi Prompts.(For SAP BI Queries created on Infoset)
    Edited by: Nisha Makhija on Jul 20, 2009 5:59 PM

    Hi Ingo,
    Thanks for your response!!
    The I Query is built on Top of BW MultiProvider and the InfoObject is of Type DATS.
    Actually our Modeling on the BI is as follows :
    DSOs> Infoset>Multiprovider->BI query>Universe.
    Since we were not able to get the prompts as Calander so We tried Debugging on different Data targets to find the root cause. Please find our observations as follows:
    When I tested the same date infoobject(of Type DATS) by creating a BI Query on top of DSO, Infocube & Multiprovider ,the Prompts are working fine as a calander in WEBI Report.
    But when the BI Query is built on Infoset data target, In WEBI Report I am getting list of values rather a Calender prompt .
    I tested in the Universe that field is appearing as Character instead of Date.
    Please guide to resolve this issue.
    Thanks,
    Nisha.

  • DG Observer triggering SIGSEGV Address not mapped to object errors in alert log

    Hi,
    I've got a Data Guard configuration using two 11.2.0.3 single instance databases.  The configuration has been configured for automatic failover and I have an observer running on a separate box.
    This fast-start failover configuration has been in place for about a month and in the last week, numerous SEGSEGV (address not mapped to object) errors are reported in the alert log.  This is happening quite frequently (every 4/5 minutes or so).
    The corresponding trace files show the process triggering the error coming from the observer.
    Has anyone experienced this problem?  I'm at my wits end trying to figure out how to fix the configuration to eliminate this error.
    I must also note that even though this error is occurring a lot, it doesn't seem to be affecting any of the database functionality.
    Help?
    Thanks in advance.
    Beth

    Hi..   The following is the alert log message, the traced file generated, and the current values of the data guard configuration.  In addition, as part of my research, I attempted to apply patch 12615660 which did not take care of the issue.  I also set the inbound_connection_timeout parameter to 0 and that didn't help either.  I'm still researching but any pointer in the right direction is very much appreciated.
    Error in Alert Log
    Thu Apr 09 10:28:59 2015
    Exception [type: SIGSEGV, Address not mapped to object] [ADDR:0x9] [PC:0x85CE503, nstimexp()+71] [flags: 0x0, count: 1]
    Errors in file /u01/app/oracle/diag/rdbms/<db_unq_name>/<SID>/trace/<SID>_ora_29902.trc  (incident=69298):
    ORA-07445: exception encountered: core dump [nstimexp()+71] [SIGSEGV] [ADDR:0x9] [PC:0x85CE503] [Address not mapped to object] []
    Use ADRCI or Support Workbench to package the incident.
    See Note 411.1 at My Oracle Support for error and packaging details.
    Thu Apr 09 10:29:02 2015
    Sweep [inc][69298]: completed
    Trace file:
    Trace file /u01/app/oracle/diag/rdbms/<db_unq_name>/<SID>/trace/<SID>_ora_29902.trc
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning and Oracle Label Security options
    ORACLE_HOME = /u01/app/oracle/product/11.2.0.3/dbhome_1
    System name:    Linux
    Node name:      <host name>
    Release:        2.6.32-431.17.1.el6.x86_64
    Version:        #1 SMP Wed May 7 14:14:17 CDT 2014
    Machine:        x86_64
    Instance name: <SID>
    Redo thread mounted by this instance: 1
    Oracle process number: 19
    Unix process pid: 29902, image: oracle@<host name>
    *** 2015-04-09 10:28:59.966
    *** SESSION ID:(416.127) 2015-04-09 10:28:59.966
    *** CLIENT ID:() 2015-04-09 10:28:59.966
    *** SERVICE NAME:(<db_unq_name>) 2015-04-09 10:28:59.966
    *** MODULE NAME:(dgmgrl@<observer host> (TNS V1-V3)) 2015-04-09 10:28:59.966
    *** ACTION NAME:() 2015-04-09 10:28:59.966
    Exception [type: SIGSEGV, Address not mapped to object] [ADDR:0x9] [PC:0x85CE503, nstimexp()+71] [flags: 0x0, count: 1]
    DDE: Problem Key 'ORA 7445 [nstimexp()+71]' was flood controlled (0x6) (incident: 69298)
    ORA-07445: exception encountered: core dump [nstimexp()+71] [SIGSEGV] [ADDR:0x9] [PC:0x85CE503] [Address not mapped to object] []
    ssexhd: crashing the process...
    Shadow_Core_Dump = PARTIAL
    ksdbgcra: writing core file to directory '/u01/app/oracle/diag/rdbms/<db_unq_name>/<SID>/cdump'
    Data Guard Configuration
    DGMGRL> show configuration verbose;
    Configuration - dg_config
      Protection Mode: MaxPerformance
      Databases:
        dbprim - Primary database
        dbstby - (*) Physical standby database
      (*) Fast-Start Failover target
      Properties:
        FastStartFailoverThreshold      = '30'
        OperationTimeout                = '30'
        FastStartFailoverLagLimit       = '180'
        CommunicationTimeout            = '180'
        FastStartFailoverAutoReinstate  = 'TRUE'
        FastStartFailoverPmyShutdown    = 'TRUE'
        BystandersFollowRoleChange      = 'ALL'
    Fast-Start Failover: ENABLED
      Threshold:        30 seconds
      Target:           dbstby
      Observer:         observer_host
      Lag Limit:        180 seconds
      Shutdown Primary: TRUE
      Auto-reinstate:   TRUE
    Configuration Status:
    SUCCESS
    DGMGRL> show database verbose dbprim
    Database - dbprim
      Role:            PRIMARY
      Intended State:  TRANSPORT-ON
      Instance(s):
        DG_CONFIG
      Properties:
        DGConnectIdentifier             = 'dbprim'
        ObserverConnectIdentifier       = ''
        LogXptMode                      = 'ASYNC'
        DelayMins                       = '0'
        Binding                         = 'optional'
        MaxFailure                      = '0'
        MaxConnections                  = '1'
        ReopenSecs                      = '300'
        NetTimeout                      = '30'
        RedoCompression                 = 'DISABLE'
        LogShipping                     = 'ON'
        PreferredApplyInstance          = ''
        ApplyInstanceTimeout            = '0'
        ApplyParallel                   = 'AUTO'
        StandbyFileManagement           = 'MANUAL'
        ArchiveLagTarget                = '0'
        LogArchiveMaxProcesses          = '4'
        LogArchiveMinSucceedDest        = '1'
        DbFileNameConvert               = ''
        LogFileNameConvert              = ''
        FastStartFailoverTarget         = 'dbstby'
        InconsistentProperties          = '(monitor)'
        InconsistentLogXptProps         = '(monitor)'
        SendQEntries                    = '(monitor)'
        LogXptStatus                    = '(monitor)'
        RecvQEntries                    = '(monitor)'
        SidName                         = ‘<sid>’
        StaticConnectIdentifier         = '(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=<db host name>)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=<service_name>)(INSTANCE_NAME=<sid>)(SERVER=DEDICATED)))'
        StandbyArchiveLocation          = 'USE_DB_RECOVERY_FILE_DEST'
        AlternateLocation               = ''
        LogArchiveTrace                 = '0'
        LogArchiveFormat                = '%t_%s_%r.dbf'
        TopWaitEvents                   = '(monitor)'
    Database Status:
    SUCCESS
    DGMGRL> show database verbose dbstby
    Database - dbstby
      Role:            PHYSICAL STANDBY
      Intended State:  APPLY-ON
      Transport Lag:   0 seconds
      Apply Lag:       0 seconds
      Real Time Query: ON
      Instance(s):
        DG_CONFIG
      Properties:
        DGConnectIdentifier             = 'dbstby'
        ObserverConnectIdentifier       = ''
        LogXptMode                      = 'ASYNC'
        DelayMins                       = '0'
        Binding                         = 'optional'
        MaxFailure                      = '0'
        MaxConnections                  = '1'
        ReopenSecs                      = '300'
        NetTimeout                      = '30'
        RedoCompression                 = 'DISABLE'
        LogShipping                     = 'ON'
        PreferredApplyInstance          = ''
        ApplyInstanceTimeout            = '0'
        ApplyParallel                   = 'AUTO'
        StandbyFileManagement           = 'AUTO'
        ArchiveLagTarget                = '0'
        LogArchiveMaxProcesses          = '4'
        LogArchiveMinSucceedDest        = '1'
        DbFileNameConvert               = ''
        LogFileNameConvert              = ''
        FastStartFailoverTarget         = 'dbprim'
        InconsistentProperties          = '(monitor)'
        InconsistentLogXptProps         = '(monitor)'
        SendQEntries                    = '(monitor)'
        LogXptStatus                    = '(monitor)'
        RecvQEntries                    = '(monitor)'
        SidName                         = ‘<sid>’
        StaticConnectIdentifier         = '(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=<db host name>)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=<service_name>)(INSTANCE_NAME=<sid>)(SERVER=DEDICATED)))'
        StandbyArchiveLocation          = 'USE_DB_RECOVERY_FILE_DEST'
        AlternateLocation               = ''
        LogArchiveTrace                 = '0'
        LogArchiveFormat                = '%t_%s_%r.dbf'
        TopWaitEvents                   = '(monitor)'
    Database Status:
    SUCCESS

Maybe you are looking for

  • BI Integrated with CRM

    hi, experts, I am new hand in sap CRM. Recently I configurated to fullfil marketing analysis by the integration of BI & CRM.I have performed the following required steps from standard BI Connectivity building block ,general Settings for BI Integratio

  • Function module/BAPI to release a Business partner in GTS

    Dear experts, I have a requirement where in I need to release business partners programmatically. I request you to let me know if any function modules/BAPIs or any other method is available (except BDC). I know the manual process of releasing them, a

  • My MacBook Pro suddenly started running slow

    Hi, My MacBook Pro started running extremely slow a couple of days ago. I tried to search for help and found this forum where people had the same problem. I see that people are advised to check with etrecheck software and post it here to have further

  • VS2012 Wont Connect to SQL 2012 Server Location

    When I attempt to connect to a SQL 2012 Instance, VS2012 crashes. I can connect fine using SQL Management Studio to the SQL 2012 instance, and my VS2012 connects no problem to my SQL 2008 R2 Instances. Any suggestions?

  • 10.5.7 Upgrade Deleated ALL Drivers and I can't reinstall them!!!

    Help!!! I just upgraded my 2007 MacBook to OS X 10.5.7 and It has deleted all my printer drivers, including the ones I had installed from the CD That came with my Canon Pixima MP470. I have tried reinstalling the drivers from the CD three times now,