3 Replies Latest reply on Jul 24, 2003 8:56 AM by lwahana

    DeploymentException: No Attribute found with name: JndiName

    Stephen Mahony Newbie

      I can't get Jboss to succesfully acknowledge my MySql datasource.


      here is the relevent mysql-service.xml entry:-
      <depends optional-attribute-name="ManagedConnectionFactoryName">
      <!--embedded mbean-->


      IMSDS



      <config-property name="ConnectionURL" type="java.lang.String">jdbc:mysql://127.0.0.1:3306/ozdb</config-property>
      <config-property name="DriverClass" type="java.lang.String">org.gjt.mm.mysql.Driver</config-property>
      <!--set these only if you want only default logins, not through JAAS -->
      <config-property name="UserName" type="java.lang.String">ozuser</config-property>
      <config-property name="Password" type="java.lang.String">ozpass</config-property>
      <config-property name="TransactionIsolation" type="java.lang.String">TRANSACTION_READ_COMMITTED</config-property>




      <!--Below here are advanced properties -->
      <!--hack-->
      <depends optional-attribute-name="OldRarDeployment">jboss.jca:service=RARDeployment,name=JBoss LocalTransaction JDBC Wrapper



      ... but I keep getting the following exception being thrown in the server.log file.

      2003-04-10 16:41:32,461 DEBUG [org.jboss.system.ServiceCreator] About to create bean: jboss.jca:service=LocalTxDS,name=OZDS with code: org.jboss.resource.connectionmanager.RARDeployment
      2003-04-10 16:41:32,471 DEBUG [org.jboss.system.ServiceCreator] Created bean: jboss.jca:service=LocalTxDS,name=OZDS
      2003-04-10 16:41:32,481 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.parentTraceEnabled=true
      2003-04-10 16:41:32,481 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.nestedTraceEnabled=false
      2003-04-10 16:41:32,481 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.detectDuplicateNesting=true
      2003-04-10 16:41:32,471 INFO [org.jboss.system.ServiceConfigurator] Problem configuring service jboss.jca:service=LocalTxDS,name=OZDS
      org.jboss.deployment.DeploymentException: No Attribute found with name: JndiName at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:337)

      ANy help would be greately appreciated.
      Thanks
      Steve M

      PS: Version info is jboss-3.2.0RC2_tomcat.4.1.18

        • 1. Re: DeploymentException: No Attribute found with name: JndiN
          David Jencks Master

          Use a *-ds.xml file or an example from the distibution you are running. There are fairly frequent small config changes in the *-service.xml files.

          • 2. Re: DeploymentException: No Attribute found with name: JndiN
            amalp Newbie

            Hello,

            I have jboss-3.2.0RC2_tomcat.4.1.18. I am getting this error. can someone tell me what is going on.

            2003-04-10 16:03:47,499 DEBUG [org.jboss.management.j2ee.LocalJBossServerDomain] handleNotification: javax.management.Notification[source=jboss.system:service=ServiceController,type= org.jboss.system.ServiceMBean.create,sequenceNumber=20,timeStamp=1050015827499,message=null,userData=jboss.jca:service=RARDeployer]
            2003-04-10 16:03:47,499 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss.jca:service=RARDeployer dependents are: []
            2003-04-10 16:03:47,499 DEBUG [org.jboss.system.ServiceController] Creating service jboss.jca:service=DataSourceDeployer
            2003-04-10 16:03:47,509 INFO [org.jboss.deployment.XSLSubDeployer] Creating
            2003-04-10 16:03:47,850 ERROR [org.jboss.deployment.XSLSubDeployer] Initialization failed
            javax.xml.transform.TransformerConfigurationException: javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: Failed calling setMethod method
            at org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:946)
            at org.jboss.deployment.XSLSubDeployer.createService(XSLSubDeployer.java:169)
            at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:158)
            at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)


            thanks

            this is my 5th installation...

            ap

            • 3. Re: DeploymentException: No Attribute found with name: JndiN
              lwahana Newbie

              is there any explanation fot this topic? I got the same problem. My JBoss verison is jboss-3.2.0_tomcat-4.1.24