XFA prefix not bound

Hi all,
I have a form in which I allow xhtml in the fields - however when I try to render it in Workspace I get an error which is caused by the following:
Caused by: com.adobe.livecycle.formsservice.exception.RenderFormException: xmldata: The prefix "xfa" for attribute "xfa:APIVersion" associated with an element type "body" is not bound., cause: The prefix "xfa" for attribute "xfa:APIVersion" associated with an element type "body" is not bound.
One field in my xml looks like this:
   body xmlns="http://www.w3.org/1999/xhtml" xfa:APIVersion= "Acroform:2.6.7120.0" xfa:spec="2.1">
   p style="margin-top:0pt;margin-bottom:0pt;line-height:12.75pt;
   text-valign:bottom;font-family:Verdana; font-size:9pt; color:#000080;      text-decoration:none"
Elm Street 2
   body
What should I do to fix this problem?
Please advice
Sincerely
Kim Christensen

Hi Jiandong
Did u check if datasource property of the form is properly bound to address node.
Or else there can be one more problem that u r writing the code for filling address in controller, so check the binding/ mapping of address node in controller and view.
Hope this helps.
Regards
Amita

Similar Messages

  • URGENT HELP! - The prefix "xsi" for attribute "xsi:type" is not bound

    Hi! i createD a WebService using the JWSDP 1.2. In the server-side i read a xml file, create another empty Document and using the importNode() method i populate the empty created doc. The problem is when i try to send client this created document. I'm using the DOMSource to send it to client side. Both client and WS method code are below! Does anyone know the answer??
    And I'm getting this error:
    [java] Endpoint address = http://localhost:8080/cm/ContextManager
    [java] [Fatal Error] :2:42: The prefix "xsi" for attribute "xsi:type" is not bound.
    [java] javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: The prefix "xsi" for attribute "xsi:type" is not bound.
    [java] at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:469)
    [java] at contextclient.CMClient.main(Unknown Source)
    [java] Caused by: org.xml.sax.SAXParseException: The prefix "xsi" for attribute "xsi:type" is not bound.
    [java] at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1139)
    [java] at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:452)
    [java] ... 1 more
    [java] ---------
    [java] org.xml.sax.SAXParseException: The prefix "xsi" for attribute "xsi:type" is not bound.
    [java] at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1139)
    [java] at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:452)
    [java] at contextclient.CMClient.main(Unknown Source)
    ====================CLIENT CODE================================
    Source getdevice = manager.getDevice("How");
    DOMResult domResult = new DOMResult();
    // getting a transformation factory instance
    TransformerFactory transformerFactory = TransformerFactory.newInstance();
    Transformer transformer = transformerFactory.newTransformer();
    transformer.transform(getdevice, domResult);
    Node node = domResult.getNode();
    DOMSource domSRC = new DOMSource(node);               
    StreamResult streamResult = new StreamResult(System.out);
    transformer.transform(domSRC, streamResult);
    ===============================================================
    ===================WebService Method CODE======================
         public Source getDevice(String primaryContext)
              Source src = null;
              try
                   String uri = "C:\\foo\\DeviceInstance.xml";
                   DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
                   DocumentBuilder builder = factory.newDocumentBuilder();
                   //create the first Document
                   Document doc1 = builder.parse(uri);
                   //create the second Document
                   Document doc2 = builder.newDocument();
                   //create the second doc's root element and append it
                   Element rootDoc2 = (Element)doc2.createElement("device");
                   doc2.appendChild(rootDoc2);               
                   //get root of first document
                   Element rootDoc1 = doc1.getDocumentElement();
                   NodeList list = rootDoc1.getElementsByTagName(primaryContext);
                   for(int i = 0; i < list.getLength(); i++)
                        Element nodeToMove = (Element) list.item(i);
                        Node newNode = doc2.importNode(nodeToMove, true);
                        rootDoc2.appendChild(newNode);
                   src = new DOMSource(doc2);          
              catch(DOMException dome)
                   dome.printStackTrace();
              catch(Exception e)
                   e.printStackTrace();
              return src;
    ===============================================================
    Does anyone know what could it be? Please, it's very urgent!
    Tks in Advance,
    Rodrigo.

    The xml i'm trying to send is below. It's important explain that in a standalone app it works perfectly. Unfortunately, when i perform the same actions in the WS world, it doesn't work. See, i tried to put the attributes inside the root element with the setAttributeNS() method but i got the same error again. How could i bound the attribute with no errors like that said before???
    <?xml version="1.0" encoding="UTF-8"?>
    <device xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="context.xsd">
    <Identity xsi:type="fooType">
                   <Name>
                        <GivenName>Rodrigo</GivenName>
                        <FamilyName>Felicio</FamilyName>
                   </Name>
              </Identity>
    <Identity xsi:type="foowType">
                   <DeviceID>dev00345</DeviceID>
              </Identity>
    </device>
    Regards,
    Rodrigo.

  • The prefix mx for element mx:Array is not bound

    Hi All
    I have a component:
    <?xml version="1.0" encoding="utf-8"?>
      <mx:Array id="arr">
        <mx:Object label="Flex"
          thumbnailImage="http:/someURL"
          fullImage="http://someURL" />
      </mx:Array>
    <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml">
    </mx:Canvas>
    This gives me an error
    The prefix "mx" for element "mx:Array" is not bound
    I need a root element here, but I cannot use mx:Canvas, what would be the best choice?
    cheers
    Luca

    Hi Luca,
    Try to put the Array inside your canvas rather than outside ...
    <?xml version="1.0" encoding="utf-8"?
    <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml">
    <mx:Array id="arr">
        <mx:Object label="Flex"
          thumbnailImage="http:/someURL"
          fullImage="http://someURL" />
      </mx:Array>
    </mx:Canvas>
    Why  you dont want to use mx:Canvas as root tag of your component.. ?? However which ever component you use try to put the <mx:Array/> inside your root tag of your component, otherwise you will be thrown the same error as mentioned. The error occurs as the the compiler doesn't recognize the namespace mx for the array since you declared it outside the root tag of your component.
    Thanks,
    Bhasker

  • Error:the prefix "jsp"  for element "jsp:scriptlet" is not bound

    i got this error:
    the prefix "jsp"  for element "jsp:scriptlet" is not bound.how can i remove this error.

    Add this to the jsp:root tag
    xmlns:jsp="http://java.sun.com/JSP/Page"
    How did it get removed from your JSP?
    (assuming you are using Sun Java Studio Creator)

  • Prefix fx for element fx:Script not bound

    Hello!
    I am using Flash Builder 4 with SDK 4 of Flex. Now I get the error that "the prefix "fx" for element "fx:Style" is not bound" in row number 4.
    I have this file called "UserStory.mxml" in the folder "components" to place it via the main.mxml with
    <fx:Script>
            <![CDATA[
                import components.UserStory;
                private function init():void {
                    var userStory1:UserStory = new UserStory();
                    userStory1.x = 100;
                    userStory1.y = 100;
                    userStory1.userStoryText = "test";
                    this.addChild(userStory1);
            ]]>
        </fx:Script>
    to place this component onto the screen.
    The file in which the error occurs in row number 4:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="300" height="150" styleName="userstory">
        <fx:Style source="styles/styles.css"/>
        <fx:Text x="5" y="5" width="275" height="135" text="{userStoryText}" fontFamily="notes" fontSize="24"/>
        <mx:Script>
            <![CDATA[
                public var userStoryText:String;
                private function handleDown(e:Event):void {
                    this.startDrag();
                private function handleUp(e:Event):void {
                    this.stopDrag();
                override protected function createChildren():void {
                    super.createChildren();
                    super.addEventListener(MouseEvent.MOUSE_DOWN,handleDown);
                    super.addEventListener(MouseEvent.MOUSE_UP,handleUp);
            ]]>
        </mx:Script>
    </mx:Canvas>
    Can someone tell me what's wrong?
    Thanks a lot in advance & Best Regards.

    The warning "CSS type selectors are not supported in components:   'spark.components.Application'" still exists, but I did this with a skin:
    <?xml version="1.0" encoding="utf-8"?>
    <s:SkinnableContainer xmlns:fx="http://ns.adobe.com/mxml/2009"
                          xmlns:s="library://ns.adobe.com/flex/spark"
                          xmlns:mx="library://ns.adobe.com/flex/mx"
                          mouseUp="skinnablecontainer1_mouseUpHandler(event)"
                          mouseDown="skinnablecontainer1_mouseDownHandler(event)"
                          skinClass="skin.SkinBackgroundImageUserStory"
                          width="300" height="150">
    So I create a SkinBackgroundImageUserStory with this content:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009"
            xmlns:mx="library://ns.adobe.com/flex/mx"
            xmlns:s="library://ns.adobe.com/flex/spark">
        <fx:Metadata>
            [HostComponent("spark.components.SkinnableContainer")]
        </fx:Metadata>
        <s:states>
            <s:State name="normal" />
            <s:State name="disabled" />
        </s:states>
        <s:BitmapImage source="@Embed('styles/assets/story.png')" left="0" right="0" top="0" bottom="0"/>
        <s:Group id="contentGroup" left="0" right="0" top="0" bottom="0" />
    </s:Skin>
    So I have a background, but there is a problem. Attached a screenshot:
    The problem is, the background image is in the background, but I want, that the text of userStoryText is in front and you can see the full background image and not the white area of this text. I can change from
    <s:TextArea />
    to
    <s:Label />
    Then it works. Is this okay?
    Also, because the CSS does not work, the font family is not used. For that, I do not have a solution and for thar error with the CSS
    Perhaps someone has an idea how to solve?

  • [problem]The prefix "controls" for element "controls:FlexBook" is not bound.

    Hi everybody,
       I have this error "The prefix "controls" for element "controls:FlexBook" is not bound."
    May i know what causes this error ? How to solve ?
    Thanks~

    Code?

  • Ejb3 bean not bound

    Hi I am new to EJB . Now in our project we are using ejb3 and persistance. So tried
    a simple program which I found out from net. But when I am trying to run I am getting
    bean not bound. And in JBoss console it is showing error like
    ObjectName: jboss.jca:service=DataSourceBinding,name=DefaultDS State: NOTYETINSTALLED
    These are all my files.
    Book.java
    package de.laliluna.library;
    import java.io.Serializable;
    import javax.persistence.Entity;
    import javax.persistence.GeneratedValue;
    import javax.persistence.GenerationType;
    import javax.persistence.Id;
    import javax.persistence.SequenceGenerator;
    import javax.persistence.Table;
    @Entity
    @Table(name="book")
    @SequenceGenerator(name = "book_sequence", sequenceName = "book_id_seq")
    public class Book implements Serializable {
         private static final long serialVersionUID = 7422574264557894633L;
         private Integer id;
         private String title;
         private String author;
         public Book() {
              super();
         public Book(Integer id, String title, String author) {
              super();
              this.id = id;
              this.title = title;
              this.author = author;
         @Override
         public String toString() {
              return "Book: " + getId() + " Title " + getTitle() + " Author "
                        + getAuthor();
         public String getAuthor() {
              return author;
         public void setAuthor(String author) {
              this.author = author;
         @Id
         @GeneratedValue(strategy = GenerationType.TABLE, generator = "book_id")
         public Integer getId() {
              return id;
         public void setId(Integer id) {
              this.id = id;
         public String getTitle() {
              return title;
         public void setTitle(String title) {
              this.title = title;
    }BookTestBean.java
    package de.laliluna.library;
    import java.util.Iterator;
    import java.util.List;
    import javax.ejb.Stateless;
    import javax.persistence.EntityManager;
    import javax.persistence.PersistenceContext;
    @Stateless
    public class BookTestBean implements BookTestBeanLocal, BookTestBeanRemote {
         @PersistenceContext(name="FirstEjb3Tutorial")
         EntityManager em;
         public static final String RemoteJNDIName =  BookTestBean.class.getSimpleName() + "/remote";
         public static final String LocalJNDIName =  BookTestBean.class.getSimpleName() + "/local";
         public void test() {
              Book book = new Book(null, "My first bean book", "Sebastian");
              em.persist(book);
              Book book2 = new Book(null, "another book", "Paul");
              em.persist(book2);
              Book book3 = new Book(null, "EJB 3 developer guide, comes soon",
                        "Sebastian");
              em.persist(book3);
              System.out.println("list some books");
              List someBooks = em.createQuery("from Book b where b.author=:name")
                        .setParameter("name", "Sebastian").getResultList();
              for (Iterator iter = someBooks.iterator(); iter.hasNext();)
                   Book element = (Book) iter.next();
                   System.out.println(element);
              System.out.println("List all books");
              List allBooks = em.createQuery("from Book").getResultList();
              for (Iterator iter = allBooks.iterator(); iter.hasNext();)
                   Book element = (Book) iter.next();
                   System.out.println(element);
              System.out.println("delete a book");
              em.remove(book2);
              System.out.println("List all books");
               allBooks = em.createQuery("from Book").getResultList();
              for (Iterator iter = allBooks.iterator(); iter.hasNext();)
                   Book element = (Book) iter.next();
                   System.out.println(element);
    }BookTestBeanLocal.java
    package de.laliluna.library;
    import javax.ejb.Local;
    @Local
    public interface BookTestBeanLocal {
         public void test();     
    }BookTestBeanRemote.java
    package de.laliluna.library;
    import javax.ejb.Remote;
    @Remote
    public interface BookTestBeanRemote {
         public void test();
    }client part--> FirstEJB3TutorialClient.java
    package de.laliluna.library;
    import java.util.Properties;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import de.laliluna.library.BookTestBean;
    import de.laliluna.library.BookTestBeanRemote;
    * @author hennebrueder
    public class FirstEJB3TutorialClient {
          * @param args
         public static void main(String[] args) {
               * get a initial context. By default the settings in the file
               * jndi.properties are used. You can explicitly set up properties
               * instead of using the file.
                Properties properties = new Properties();
                properties.put("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory");
                properties.put("java.naming.factory.url.pkgs","=org.jboss.naming:org.jnp.interfaces");
                properties.put("java.naming.provider.url","localhost:1099");
              Context context;
              try {
                   context = new InitialContext(properties);
                   BookTestBeanRemote beanRemote = (BookTestBeanRemote) context
                             .lookup(BookTestBean.RemoteJNDIName);
                   beanRemote.test();
              } catch (NamingException e) {
                   e.printStackTrace();
                    * I rethrow it as runtimeexception as there is really no need to
                    * continue if an exception happens and I do not want to catch it
                    * everywhere.
                   throw new RuntimeException(e);
    }I have created persistance.xml and application.xml under META-INF folder.
    persistance.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <persistence>
    <persistence-unit name="FirstEjb3Tutorial">
    <jta-data-source>hsqldb-db</jta-data-source>
    <properties>
    <property name="hibernate.hbm2ddl.auto"
    value="create-drop"/>
    </properties>
    </persistence-unit>
    </persistence>application.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <application xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="5" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd">
         <display-name>Stateless Session Bean Example</display-name>
         <module>
              <ejb>FirstEjb3Tutorial.jar</ejb>
         </module>
    </application>and in hsqldb-ds i have configured the driver and connection
    <datasources>
       <local-tx-datasource>
          <!-- The jndi name of the DataSource, it is prefixed with java:/ -->
          <!-- Datasources are not available outside the virtual machine -->
          <jndi-name>ejb3ProjectDS</jndi-name>
          <!-- For server mode db, allowing other processes to use hsqldb over tcp.
          This requires the org.jboss.jdbc.HypersonicDatabase mbean.
          <connection-url>jdbc:hsqldb:hsql://${jboss.bind.address}:1701</connection-url>
          -->
          <!-- For totally in-memory db, not saved when jboss stops.
          The org.jboss.jdbc.HypersonicDatabase mbean is required for proper db shutdown
          <connection-url>jdbc:hsqldb:.</connection-url>
          -->
          <!-- For in-process persistent db, saved when jboss stops.
          The org.jboss.jdbc.HypersonicDatabase mbean is required for proper db shutdown
          -->
         <!-- <connection-url>jdbc:hsqldb:${jboss.server.data.dir}${/}hypersonic${/}localDB</connection-url-->
         <connection-url>jdbc:hsqldb:data/tutorial</connection-url>
          <!-- The driver class -->
          <driver-class>org.hsqldb.jdbcDriver</driver-class>
          <!-- The login and password -->
          <user-name>sa</user-name>
          <password></password>
          <!--example of how to specify class that determines if exception means connection should be destroyed-->
          <!--exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.DummyExceptionSorter</exception-sorter-class-name-->
          <!-- this will be run before a managed connection is removed from the pool for use by a client-->
          <!--<check-valid-connection-sql>select * from something</check-valid-connection-sql> -->
          <!-- The minimum connections in a pool/sub-pool. Pools are lazily constructed on first use -->
          <min-pool-size>5</min-pool-size>
          <!-- The maximum connections in a pool/sub-pool -->
          <max-pool-size>20</max-pool-size>
          <!-- The time before an unused connection is destroyed -->
          <!-- NOTE: This is the check period. It will be destroyed somewhere between 1x and 2x this timeout after last use -->
          <!-- TEMPORARY FIX! - Disable idle connection removal, HSQLDB has a problem with not reaping threads on closed connections -->
          <idle-timeout-minutes>0</idle-timeout-minutes>
          <!-- sql to call when connection is created
            <new-connection-sql>some arbitrary sql</new-connection-sql>
          -->
          <!-- sql to call on an existing pooled connection when it is obtained from pool
             <check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql>
          -->
          <!-- example of how to specify a class that determines a connection is valid before it is handed out from the pool
             <valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.DummyValidConnectionChecker</valid-connection-checker-class-name>
          -->
          <!-- Whether to check all statements are closed when the connection is returned to the pool,
               this is a debugging feature that should be turned off in production -->
          <track-statements/>
          <!-- Use the getConnection(user, pw) for logins
            <application-managed-security/>
          -->
          <!-- Use the security domain defined in conf/login-config.xml -->
          <security-domain>HsqlDbRealm</security-domain>
          <!-- Use the security domain defined in conf/login-config.xml or the
               getConnection(user, pw) for logins. The security domain takes precedence.
            <security-domain-and-application>HsqlDbRealm</security-domain-and-application>
          -->
          <!-- HSQL DB benefits from prepared statement caching -->
          <prepared-statement-cache-size>32</prepared-statement-cache-size>
          <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) -->
          <metadata>
             <type-mapping>Hypersonic SQL</type-mapping>
          </metadata>
          <!-- When using in-process (standalone) mode -->
          <depends>jboss:service=Hypersonic,database=localDB</depends>
          <!-- Uncomment when using hsqldb in server mode
          <depends>jboss:service=Hypersonic</depends>
          -->
       </local-tx-datasource>
       <!-- Uncomment if you want hsqldb accessed over tcp (server mode)
       <mbean code="org.jboss.jdbc.HypersonicDatabase"
         name="jboss:service=Hypersonic">
         <attribute name="Port">1701</attribute>
         <attribute name="BindAddress">${jboss.bind.address}</attribute>    
         <attribute name="Silent">true</attribute>
         <attribute name="Database">default</attribute>
         <attribute name="Trace">false</attribute>
         <attribute name="No_system_exit">true</attribute>
       </mbean>
       -->
       <!-- For hsqldb accessed from jboss only, in-process (standalone) mode -->
       <mbean code="org.jboss.jdbc.HypersonicDatabase"
         name="jboss:service=Hypersonic,database=localDB">
         <attribute name="Database">localDB</attribute>
         <attribute name="InProcessMode">true</attribute>
       </mbean>
    </datasources>.
    Edited by: bhanu on Dec 2, 2008 9:45 AM

    Hi jadespirit ,
    I have the same problem in the same Book example ,my ejb3 project name "BaseHotele" so i follow what u said and this is my persistence.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <persistence>
    <persistence-unit name="FirstEjb3Tutorial">
    *<jta-data-source>java:BaseHoteleDS</jta-data-source>*
    <properties>
    <property name="hibernate.hbm2ddl.auto"
    value="create-drop"/>
    </properties>
    </persistence-unit>
    </persistence>
    But it didn't work i have always HotelTestBean not bound!!
    Help PLEASE i think that i had a mistake in the persistence.xml:i have 2 days searching for solutions without a good result!!!!!!!!!!!!!

  • Javax.naming.NameNotFoundException: Name java:comp is not bound in this Con

    Hi
    I have developed a search servlet and deployed it in tomcat 4.0.3 and connected to mysql database through jdbc by specifying jndi.
    I have coded JNDI lokkup name as "java:comp/env/jdbc/KgoogleDB"
    I have added a context in server.xml file of tomcat for DBCP connection pooling .I have tested this in windows and it is running well in it.
    But when i hosted this in linux i got error like this
    INIT OF SEARCH SERVLET
    Error in file reading Connection refused
    File Not Found
    javax.naming.NameNotFoundException: Name java:comp is not bound in this Context
    at org.apache.naming.NamingContext.lookup(NamingContext.java:811)
    at org.apache.naming.NamingContext.lookup(NamingContext.java:194)
    at javax.naming.InitialContext.lookup(InitialContext.java:354)
    at DbConnect.getConnection(DbConnect.java:35)
    at QueryDetails.Query(QueryDetails.java:32)
    at Search.doPost(Search.java:66)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:446)
    at org.apache.catalina.servlets.InvokerServlet.doPost(InvokerServlet.java:216)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at filters.ExampleFilter.doFilter(ExampleFilter.java:149)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at filters.ExampleFilter.doFilter(ExampleFilter.java:149)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:475)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.connector.warp.WarpRequestHandler.handle(WarpRequestHandler.java:217)
    at org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java:194)
    at java.lang.Thread.run(Thread.java:536)
    Connection ID null
    Entered FINALLY
    =================================
    What would be the cause of this error?.Please help me.
    My server.xml context is
    - <Host className="org.apache.catalina.connector.warp.WarpHost" name="www.keralagoogle.com" debug="0" appBase="/domains/www.yy.com/tomcat/webapps" unpackWARs="true">
    - <Context path="/yyjava" docBase="/domains/www.yy.com/tomcat/webapps/yyjava" debug="0" reloadable="true" crossContext="true">
    <Logger className="org.apache.catalina.logger.FileLogger" prefix="localhost_KgoogleDB." suffix=".txt" timestamp="true" />
    <Resource name="jdbc/KgoogleDB" auth="Container" type="javax.sql.DataSource" />
    - <ResourceParams name="jdbc/KgoogleDB">
    - <parameter>
    <name>factory</name>
    <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
    </parameter>
    - <!--
    Maximum number of dB connections in pool. Make sure you
              configure your mysqld max_connections large enough to handle
              all of your db connections. Set to 0 for no limit.
    -->
    - <parameter>
    <name>maxActive</name>
    <value>500</value>
    </parameter>
    - <!--
    Maximum number of idle dB connections to retain in pool.
              Set to 0 for no limit.
    -->
    - <parameter>
    <name>maxIdle</name>
    <value>300</value>
    </parameter>
    - <!--
    Maximum time to wait for a dB connection to become available
              in ms, in this example 10 seconds. An Exception is thrown if
              this timeout is exceeded. Set to -1 to wait indefinitely.
    -->
    - <parameter>
    <name>maxWait</name>
    <value>12000</value>
    </parameter>
    - <!-- MySQL dB username and password for dB connections
    -->
    - <parameter>
    <name>username</name>
    <value>pratap</value>
    </parameter>
    - <parameter>
    <name>password</name>
    <value>ky67yumXg</value>
    </parameter>
    - <!-- Class name for mm.mysql JDBC driver
    -->
    - <parameter>
    <name>driverClassName</name>
    <value>com.mysql.jdbc.Driver</value>
    </parameter>
    - <!--
    The JDBC connection url for connecting to your MySQL dB.
              The autoReconnect=true argument to the url makes sure that the
              mm.mysql JDBC Driver will automatically reconnect if mysqld closed the
              connection. mysqld by default closes idle connections after 8 hours.
    -->
    - <parameter>
    <name>url</name>
    <value>jdbc:mysql://localhost:3306/kgoogle?</value>
    </parameter>
    </ResourceParams>
    </Context>
    ==============================
    Please help me find if i have to change the syntax for linux in the above code.
    Thanks in Advance
    Prathap

    hi
    Thanks for your advise.
    But when i chenged my web.xml and jndi name in my servlet file i got error like this
    javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
    at org.apache.naming.NamingContext.lookup(NamingContext.java:811)
    at org.apache.naming.NamingContext.lookup(NamingContext.java:194)
    at org.apache.naming.SelectorContext.lookup(SelectorContext.java:183)
    at javax.naming.InitialContext.lookup(InitialContext.java:354)
    at DbConnect.getConnection(DbConnect.java:35)
    at QueryDetails.Query(QueryDetails.java:32)
    at Search.doPost(Search.java:66)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServl
    et.java:446)
    at org.apache.catalina.servlets.InvokerServlet.doPost(InvokerServlet.jav
    a:216)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:193)
    at filters.ExampleFilter.doFilter(ExampleFilter.java:149)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:213)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:193)
    at filters.ExampleFilter.doFilter(ExampleFilter.java:149)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:213)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
    alve.java:243)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
    .java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
    alve.java:190)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
    .java:566)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
    torBase.java:475)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
    .java:564)
    at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve
    .java:246)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
    .java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:
    2343)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
    ava:180)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
    .java:566)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche
    rValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
    .java:564)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
    ava:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
    .java:564)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
    468)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
    .java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
    ve.java:174)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
    .java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcesso
    r.java:1012)
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.ja
    va:1107)
    at java.lang.Thread.run(Thread.java:536)
    Connection ID null
    Entered FINALLY
    Please help me
    Thanks in Advance
    Prathap

  • Xsi namespace not bound

    Hi,
    <p>I call a webservice and parse the response into an XMLBean. The problem is that the namepace <b><i>xsi</i></b> is defined by weblogic in the SOAP header - which must be stripped before loading the message into the XMLBean. So when i do a parse, elements with <b><i>xsi:nil</i></b> throw a not bound exception...
    <i>com.bea.xml.XmlException: error: The prefix "xsi" for attribute "xsi:nil" is not bound.</i></p>
    <p>So how do i tell the XMLBean about the xsi namepace? Any examples gratelfully received!</p>
    <p>Thanks</p>
    <p>Neil</p>

    Well, have a look at the API:
    public StreamSource(java.io.File f)
    Construct a StreamSource from a File.SCNR ;)

  • JBoss NameNotFoundError: tangosol.coherenceTx not bound

    I've successfully deployed the coherence-tx.rar to both JBoss-3.2.6 and JBoss-4.0.5. I am getting the following exception: javax.naming.NameNotFoundException: tangosol.coherenceTx not bound. Do I need to deploy something else in order for the JNDI name to get bound? Thanks in advance for any help.
    Mark

    One of our developers did some debugging and found that Coherence seems to read the manifest file in a way based on getProtectionDomain().getCodeSource().getLocation() and this call returns with a "jar:" prefix with our version of JBoss while the Sun (now Oracle) JVM does not include this prefix - Coherence also adds "jar:" to the string resulting in the failure to find the manifest (due to "jar:jar:....") ...
    As I read the Javadoc it is not clear if JBoss is doing something wrong or not but there must be simpler and more portable ways to get hold of the maifest (or at least add a check to see if there already is a "jar:" prefix before adding your own).
    My main question is however if we needs to worry about the error message? The only information Coherence would find in the manifest is the product version (that may be used for some default port numbers etc?!) - can you please check what happens if the Manifest cant be read...
    /Magnus

  • ORA-01008 All variables are not bound

    Hi I am running this query and getting this exception ORA-01008 All variables are not bound .
    Could anyone please insight ?
    SELECT EQMT_INGT_LOG_ID, EQMT_ID,
    XMLSerialize(DOCUMENT XMLType(ingLog.BUCK_SLIP_XML) AS CLOB) BUCK_SLIP_XML
    FROM TOS_EQMT_INGT_LOG ingLog
    where BUCK_SLIP_XML is not null and ingt_date between to_date(:fromDate, 'MM/DD/YYYY HH24:MI')
    and to_date(:toDate,'MM/DD/YYYY HH24:MI' )
    and eqmt_id in (select eqmt_id from tos_eqmt
    where eqmt_init = :eqmtInit and eqmt_nbr = :eqmtNbr
    and orig_loca_id in (select loca_id from tos_loca where altn_src_sys_stn_id = :circ7 ))
    and SCAC = :scac
    and STCC = :stcc
    and SHPR_NAME = :shprName
    and CNSE_NAME = :cnseName
    and driv_id in (select driv_id from tos_driv where lcns = :lcns )
    and driv_id in (select driv_id from tos_driv where sabv = :sabv )
    and ingt_stat_ind = :ingtStatInd
    and BUCK_SLIP_XML like :inspectedBy
    ORDER BY INGT_DATE

    Slightly off-topic but what do you think this does :
    XMLSerialize(DOCUMENT XMLType(ingLog.BUCK_SLIP_XML) AS CLOB) BUCK_SLIP_XML?

  • Problem in WEB-UI field (Not Bound)

    Hi Experts,
       I am new to CRM Technical, I have added new standard field (Date Of Birth) thourgh component work bench 'BSP_WD_CMPWB'  in 'Z_IC_AGENT' business role. after execution this business roles i could able to see this DOB field but its showing with 'NOT BOUND'
    1.   Can any one suggest me why that newly added field showing like that? Do i need to add any other setting or coding ?
    2.   How to add new Z field in this business role. Please tell me the right procedure.
    Thanks & Regards,
    Ramesh.

    Hi Ramesh,
    please open you component in transaction BSP_WD_CMPWB.
    Go to the contextnode where you added your attribute.
    Open the GET_ Method of your attribute and set here an external breakpoint.
    Now go back to the webclient UI, restart it and try again.
    You will stop at your breakpoint and you will be able to debug your issue.
    Kind regards
    Manfred

  • T430s - [Solved?] Wireless hardware is not bound to transport driver (Centrino 6205, Win7x64)

    Hello,
    after clean install of my new T430s using System Update everything worked quite well, except for terrible DPC latency when loading web pages (crapping sound). Therefore I changed LAN driver to 11.10.84.0 from Lenovo (83rw15ww) and latencies went down (this driver has been recommended in some online forum).
    Few days later I was on WiFi and latency spiked up again, but this time all the time above 8000µs - even when idle. I started to play with devices in Device Manager and ultimately reinstalled WiFi driver to Lenovo's 15.6.1, then Intel's 15.8.0. The most recommended driver from HP I was unable to install, so no harm there
    Not sure when, but somewhere since this point I don't see wireless networks any more. Driver is fine (no yellow ? or !), wireless card is fine (replaced by spare one from my "HW guy"), all drivers has been reinstalled MANY times. When I try to add WLAN manually, Win7 says "Unexpected Error". Diagnostic tool from Intel says "Wireless hardware is not bound to transport driver". In Fn+F5 I see WiFi as off and I can't turn it on (unlike Bluetooth, which works well). Windows Diagnostics says there's an issue with a driver (sorry if I don't use exact words, my Win7 is not EN). I don't see this card anywhere in "ipconfig". There's no difference in diagnostics whether the wireless switch is on or off.
    I read almost everything I was able to google about similar issues. I tried various drivers from both Lenovo (manual download from Lenovo website as well as using System Update) and Intel, both with and without Access Connections. I tried to remove the device from Device Manager and let Windows to find it again. I reinstalled LAN driver, tried to update BIOS (was already updated), tried to reset various stuff using "netsh" command, deleted Intel/Wireless dir in [username]/AppData, all this with/without reboots in between. Tried to play with card settings (in Device Manager), with power settings (both Windows and Power Manager), with on/off switch on a side of the laptop. I tried System Restore, which ended by error for all meaningful points. Nothing. All this on 3 different WLAN networks (2.4 GHz).
    My last thought is to reinstall Windows from scratch, but it takes me at least 2 whole days to set everything up as I use a boatload of different work stuff for different customers.
    My current WiFi driver, according to Driver tab in Device Manager for Intel Centrino Advanced-N 6205, is 15.4.1.1 from January 23, 2013 (thru System Update). The more current one from Intel is 15.7.0.3 from April 18, 2013.
    Thank you in advance for any suggestions, tips or help.
    EDIT
    Just for the heck of it I switched wireless ON at home and suddenly my home WiFi network appeared in Win7 WiFi management (no AC). The last driver I installed was thru System Update, twice. Never restarted immediately, always after a while.
    So I ran System Update again and it offered me available driver for WiFi (again!) and Access Connections. The online utility from Intel also offered me available drivers. I still have WiFi driver 15.4.1.1 (23.1.2013). To be honest I'm little affraid to update one or the other, as I did it so MANY times in past 30 hours with no effect.
    The only difference I noticed is a new wireless device was available - Microsoft Virtual WiFi Miniport Adapter. It may be because of my Checkpoint Endpoint Security VPN software, but last time I saw this adapter was just before I lost all the wireless networks.
    As much as I'm relieved it's working again, as a programmer I'm not happy about it, because I don't know WHY it's working now, when I didn't do anything for it since my last try. I only kept the wireless switch off for a fair amount of time.
    Oh, and DPC latency stays below 300µs (up to 500µs is OK).

    hey smarmytime,
    let me get this right
    laptop+router+modem (via cable) = connection working fine
    laptop+modem (via cable) = connection goes wonky
    laptop+wireless = works halfway then poofs
    The wireless of yours comes from a Router+Wifi or is it coming from a Modem+Wifi set ?
    If it's coming from a Modem+Wifi set, then try the following.
    1- turn off wireless
    2- reset modem to factory setting (make sure wireless is off)
    3- key in the necessary info to make a connection.
    4. switch wifi off on laptop
    5. connect laptop to modem via cable.
    Does it connect ? Does it go poof halfway?
    After that, turn on the wireless for both modem and laptop, try connecting again. Does it connect ? Does it go poof halfway?
    WW Social Media
    Important Note: If you need help, post your question in the forum, and include your system type, model number and OS. Do not post your serial number.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!
    Follow @LenovoForums on Twitter!
    Have you checked out the Community Knowledgebase yet?!
    How to send a private message? --> Check out this article.

  • Error - Name jdbc is not bound in this Context

    Hi,
    i wanted to use Datasource in JDBC to make connection with mysql
    suport and want to excute Jsp page but not able to execte some error is
    getting.
    1)Jsp Page: data_source.jsp
    <%@ page session="true" import="java.sql.*,javax.sql.*,javax.naming.*" %>
    <HTML>
    <body bgcolor="blue">
    <H1 align = "center" >
    Welcome to User and can see the DataSource Connection
    <%
    InitialContext ctx = new InitialContext();
    DataSource ds = (DataSource)ctx.lookup("jdbc/test");
    Connection conn = ds.getConnection();
    Statement stmt = conn.createStatement();
    ResultSet rs = stmt.executeQuery("SELECT * from emp");
    if(rs.next())
    %>
    <table width="100%" border="1" >
    <tr align="left">
    <th>Name</th>
    <th>Dept</th>
    </tr>
    <%
    do
    %>
    <TD> <%= rs.getString("Name") %> </TD>
    <TD> <%= rs.getString("Dept") %> </TD>
    <%
    }while(rs.next());
    %>
    </table>
    <%
    }else {
    %>
    No Results from Query:
    <%
    rs.close();
    stmt.close();
    conn.close();
    ctx.close();
    %>
    </body>
    </html>
    2) web.xml file content
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!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>
    <description>MySQL Test App</description>
    <resource-ref>
    <description>Mysql DB Connection</description>
    <res-ref-name>jdbc/test</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    <servlet>
    <servlet-name>s1</servlet-name>
    <servlet-class>first</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>s1</servlet-name>
    <url-pattern>/test</url-pattern>
    </servlet-mapping>
    </web-app>
    3) myhealth.xml or server.xml
    <?xml version='1.0' encoding='utf-8'?>
    <Context docBase="C:/Program Files/Apache Software Foundation/Tomcat
    5.0/myhealth" path="/myhealth" reloadable="true" privileged="true">
    <Resource name="jdbc/test"
    scope="Shareable" type="javax.sql.DataSource"
    auth="Container" description="hOME.."/>
    <ResourceParams name="jdbc/test">
    <parameter>
    <name>driverClassName</name>
    <value>com.mysql.jdbc.Driver</value>
    </parameter>
    <parameter>
    <name>url</name>
    <value>jdbc:mysql://localhost:3306/test?autoReconnect=true</value>
    </parameter>
    <parameter>
    <name>username</name>
    <value>root</value>
    </parameter>
    <parameter>
    <name>password</name>
    <value>test</value>
    </parameter>
    </ResourceParams>
    </Context>
    4) Error which i got during execution of data_Source.jsp page.
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it
    from fulfilling this request.
    exception
    javax.servlet.ServletException: Name jdbc is not bound in this Context
    org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:867)
    org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:800)
    org.apache.jsp.Data_005fSource_jsp._jspService(Data_005fSource_jsp.java:115)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    root cause
    javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
    org.apache.naming.NamingContext.lookup(NamingContext.java:815)
    org.apache.naming.NamingContext.lookup(NamingContext.java:198)
    org.apache.naming.SelectorContext.lookup(SelectorContext.java:183)
    javax.naming.InitialContext.lookup(InitialContext.java:351)
    org.apache.jsp.Data_005fSource_jsp._jspService(Data_005fSource_jsp.java:56)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    As i made datasource Context using Tomcat apache. But i still get same error.
    I tried so much from Google search, please give me proper solution.
    Coz this is the common problem most of the programmers face initally
    Thanks,
    Prabhat

    i installed tomcat. the installation is done successfully..
    But i can't connect to the db(MySQL)
    i am getting some errors regarding some exception like
    **org.apache.jasper.JasperException: An exception occurred processing JSP page /TestTomcatToMySQLConn.jsp at line 16**
    **13:          Context ctx = new InitialContext();**
    **14:*          if(ctx == null )*
    *15:              throw new Exception("Boom - No Context");*
    *16:           ds = (DataSource)ctx.lookup("java:comp/env/jdbc/testDB");*
    *17:*
    *18:   if(ds == null )*
    *19:       throw new Exception("Boom - No Datasource");*
    Stacktrace:_
    *     org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:505)*
    *     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:398)*
    *     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)*
    *     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)*
    *     javax.servlet.http.HttpServlet.service(HttpServlet.java:803)*
    root cause_
    javax.servlet.ServletException: javax.naming.NameNotFoundException: Name jdbc is not bound in this Context_
    *     org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:850)*
    *     org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:779)*
    *     org.apache.jsp.TestTomcatToMySQLConnjsp._jspService(TestTomcatToMySQLConn_jsp.java:88)*_
    *     org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)*
    *     javax.servlet.http.HttpServlet.service(HttpServlet.java:803)*
    *     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)*
    *     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)*
    *     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)*
    *     javax.servlet.http.HttpServlet.service(HttpServlet.java:803)*
    please Help

  • 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

Maybe you are looking for

  • Video connector keeps disconnecting (Screen flickers on and off)

    Hi, I bought a HP Pavilion Notebook 14-v054ca two weeks ago. Last week, the screen was flickering on and off, so I took it to the shop. They said the video connector was knocked loose and asked me if I dropped the laptop. The laptop is on my desk 24/

  • Nokia 6120 Classic Accept button not working

    I have a Nokia 6120 Classic and is not working fine. I have decided to change my mobile. Before change my mobile I want to backup all my data and telephone numbers. The problem is that Accept button is not working correct. When I start my mobile I ca

  • Itunes stuck while ripping

    While ripping cd's occasionally it will hit a track that it has problems reading. At that point the drive sound like it goes into a search mode over and over. the only way I have found to get it out of this over and over search mode is to shut down t

  • Policy Changes to VPN to support Vista?

    This is to all the VPN Concentrator Admins out there. What policies are you implementing to support Vista VPN Clients? I know one policy we require is the stateful firewall which will never work with Vista. Are you just removing that requirement? Doe

  • Which car chargers (dual preferred) work with iPad 3?

    As above, my car charger won't charge my new iPad (iPad 3), despite saying it is 2.1 amps.  Which car chargers (dual preferred) work with iPad 3?