1 Reply Latest reply on Apr 10, 2003 6:49 PM by Ulrich Romahn

    Building 3.0.7 source fails

    Steven Goldsmith Newbie

      Tried to build 3.0.7 source with Sun SDK 1.4.1_02 (from CVS and source bundle) and get the following:

      jmx-docs:
      [mkdir] Created dir: C:\Download\jboss-3.0.7-src\connector\output\jmx-doc
      265609 [main] INFO XDocletMain.start - Running
      267703 [main] INFO TemplateSubTask.engineStarted - Generating output for 'org.j
      boss.resource.connectionmanager.XATxConnectionManager' using template file 'jar:
      file:C:\Download\jboss-3.0.7-src\thirdparty\xdoclet\xdoclet\lib\xdoclet-jboss-mo
      dule-jb3.jar!/xdoclet/modules/jboss/jmx/resources/jbossmx-xml-doc.xdt'.
      267922 [main] ERROR XDocletMain.start - Running XDoclet failed.
      267922 [main] ERROR XDocletMain.start - <<The value 'READ' specified for parame
      ter 'access' of jmx.managed-attribute tag in getManagedConnectionFactory method
      of org.jboss.resource.connectionmanager.BaseConnectionManager2 class is not vali
      d. Valid values for this tag are: {read-only,write-only,read-write}.>>
      file:C:/Download/jboss-3.0.7-src/connector/build.xml:580: XDoclet failed.
      at xdoclet.DocletTask.start(DocletTask.java:460)
      at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:92)
      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)
      at org.apache.tools.ant.Task.perform(Task.java:341)
      at org.apache.tools.ant.Target.execute(Target.java:309)
      at org.apache.tools.ant.Target.performTasks(Target.java:336)
      at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
      at org.jboss.tools.buildmagic.task.Ant.execute(Ant.java:261)
      at org.jboss.tools.buildmagic.task.module.ExecuteModules.executeModule(E
      xecuteModules.java:269)
      at org.jboss.tools.buildmagic.task.module.ExecuteModules.execute(Execute
      Modules.java:184)
      at org.apache.tools.ant.Task.perform(Task.java:341)
      at org.apache.tools.ant.Target.execute(Target.java:309)
      at org.apache.tools.ant.Target.performTasks(Target.java:336)
      at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
      at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
      at org.apache.tools.ant.Main.runBuild(Main.java:609)
      at org.apache.tools.ant.Main.start(Main.java:196)
      at org.apache.tools.ant.Main.main(Main.java:235)
      Caused by: xdoclet.XDocletException: The value 'READ' specified for parameter 'a
      ccess' of jmx.managed-attribute tag in getManagedConnectionFactory method of org
      .jboss.resource.connectionmanager.BaseConnectionManager2 class is not valid. Val
      id values for this tag are: {read-only,write-only,read-write}.
      at xdoclet.XDocletTagSupport.invalidParamValueFound(XDocletTagSupport.ja
      va:699)
      at xdoclet.XDocletTagSupport.getTagValue(XDocletTagSupport.java:493)
      at xdoclet.XDocletTagSupport.getTagValue(XDocletTagSupport.java:394)
      at xdoclet.XDocletTagSupport.getTagValue(XDocletTagSupport.java:317)
      at xdoclet.tagshandler.PropertyTagsHandler.paramValueWithTag(PropertyTag
      sHandler.java:274)
      at sun.reflect.GeneratedMethodAccessor289.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at xdoclet.template.TemplateEngine.invoke(TemplateEngine.java:584)
      at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java:483)

      at xdoclet.template.TemplateEngine.invokeContentMethod(TemplateEngine.ja
      va:563)
      at xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java:428)
      at xdoclet.template.TemplateEngine.generate(TemplateEngine.java:324)
      at xdoclet.XDocletTagSupport.generate(XDocletTagSupport.java:744)
      at xdoclet.tagshandler.PropertyTagsHandler.forAllPropertiesWithTag(Prope
      rtyTagsHandler.java:140)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at xdoclet.template.TemplateEngine.invoke(TemplateEngine.java:584)
      at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java:483)

      at xdoclet.template.TemplateEngine.invokeBlockMethod(TemplateEngine.java
      :908)
      at xdoclet.template.TemplateEngine.handleBlockTag(TemplateEngine.java:87
      5)
      at xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java:425)
      at xdoclet.template.TemplateEngine.generate(TemplateEngine.java:324)
      at xdoclet.template.TemplateEngine.start(TemplateEngine.java:373)
      at xdoclet.TemplateSubTask.startEngine(TemplateSubTask.java:559)
      at xdoclet.TemplateSubTask.generateForClass(TemplateSubTask.java:765)
      at xdoclet.TemplateSubTask.startProcessPerClass(TemplateSubTask.java:665
      )
      at xdoclet.TemplateSubTask.startProcess(TemplateSubTask.java:592)
      at xdoclet.XmlSubTask.startProcess(XmlSubTask.java:196)
      at xdoclet.TemplateSubTask.execute(TemplateSubTask.java:484)
      at xdoclet.XDocletMain.start(XDocletMain.java:46)
      at xdoclet.DocletTask.start(DocletTask.java:457)
      ... 17 more
      --- Nested Exception ---
      xdoclet.XDocletException: The value 'READ' specified for parameter 'access' of j
      mx.managed-attribute tag in getManagedConnectionFactory method of org.jboss.reso
      urce.connectionmanager.BaseConnectionManager2 class is not valid. Valid values f
      or this tag are: {read-only,write-only,read-write}.
      at xdoclet.XDocletTagSupport.invalidParamValueFound(XDocletTagSupport.ja
      va:699)
      at xdoclet.XDocletTagSupport.getTagValue(XDocletTagSupport.java:493)
      at xdoclet.XDocletTagSupport.getTagValue(XDocletTagSupport.java:394)
      at xdoclet.XDocletTagSupport.getTagValue(XDocletTagSupport.java:317)
      at xdoclet.tagshandler.PropertyTagsHandler.paramValueWithTag(PropertyTag
      sHandler.java:274)
      at sun.reflect.GeneratedMethodAccessor289.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at xdoclet.template.TemplateEngine.invoke(TemplateEngine.java:584)
      at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java:483)

      at xdoclet.template.TemplateEngine.invokeContentMethod(TemplateEngine.ja
      va:563)
      at xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java:428)
      at xdoclet.template.TemplateEngine.generate(TemplateEngine.java:324)
      at xdoclet.XDocletTagSupport.generate(XDocletTagSupport.java:744)
      at xdoclet.tagshandler.PropertyTagsHandler.forAllPropertiesWithTag(Prope
      rtyTagsHandler.java:140)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at xdoclet.template.TemplateEngine.invoke(TemplateEngine.java:584)
      at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java:483)

      at xdoclet.template.TemplateEngine.invokeBlockMethod(TemplateEngine.java
      :908)
      at xdoclet.template.TemplateEngine.handleBlockTag(TemplateEngine.java:87
      5)
      at xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java:425)
      at xdoclet.template.TemplateEngine.generate(TemplateEngine.java:324)
      at xdoclet.template.TemplateEngine.start(TemplateEngine.java:373)
      at xdoclet.TemplateSubTask.startEngine(TemplateSubTask.java:559)
      at xdoclet.TemplateSubTask.generateForClass(TemplateSubTask.java:765)
      at xdoclet.TemplateSubTask.startProcessPerClass(TemplateSubTask.java:665
      )
      at xdoclet.TemplateSubTask.startProcess(TemplateSubTask.java:592)
      at xdoclet.XmlSubTask.startProcess(XmlSubTask.java:196)
      at xdoclet.TemplateSubTask.execute(TemplateSubTask.java:484)
      at xdoclet.XDocletMain.start(XDocletMain.java:46)
      at xdoclet.DocletTask.start(DocletTask.java:457)
      at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:92)
      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)
      at org.apache.tools.ant.Task.perform(Task.java:341)
      at org.apache.tools.ant.Target.execute(Target.java:309)
      at org.apache.tools.ant.Target.performTasks(Target.java:336)
      at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
      at org.jboss.tools.buildmagic.task.Ant.execute(Ant.java:261)
      at org.jboss.tools.buildmagic.task.module.ExecuteModules.executeModule(E
      xecuteModules.java:269)
      at org.jboss.tools.buildmagic.task.module.ExecuteModules.execute(Execute
      Modules.java:184)
      at org.apache.tools.ant.Task.perform(Task.java:341)
      at org.apache.tools.ant.Target.execute(Target.java:309)
      at org.apache.tools.ant.Target.performTasks(Target.java:336)
      at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
      at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
      at org.apache.tools.ant.Main.runBuild(Main.java:609)
      at org.apache.tools.ant.Main.start(Main.java:196)
      at org.apache.tools.ant.Main.main(Main.java:235)
      INFO: Some classes refer to other classes that were not found among the sourc
      es or on the classpath.
      (Perhaps the referred class doesn't exist? Hasn't been generated yet?)
      The referring classes do not import any fully qualified classes matchin
      g these classes.
      However, since no packages are imported, xjavadoc has assumed that the
      referred classes
      belong to the same package as the referring class. The classes are:
      C:\Download\jboss-3.0.7-src\connector\src\main\org\jboss\resource\adapter\jdbc\x
      a\oracle\OracleXAExceptionFormatter.java --> OracleXAExceptionFormatterMBean qua
      lified to org.jboss.resource.adapter.jdbc.xa.oracle.OracleXAExceptionFormatterMB
      ean
      C:\Download\jboss-3.0.7-src\connector\src\main\org\jboss\resource\connectionmana
      ger\BaseConnectionManager2.java --> BaseConnectionManager2MBean qualified to org
      .jboss.resource.connectionmanager.BaseConnectionManager2MBean
      C:\Download\jboss-3.0.7-src\connector\src\main\org\jboss\resource\connectionmana
      ger\CachedConnectionManager.java --> CachedConnectionManagerMBean qualified to o
      rg.jboss.resource.connectionmanager.CachedConnectionManagerMBean
      C:\Download\jboss-3.0.7-src\connector\src\main\org\jboss\resource\connectionmana
      ger\JBossLocalXAExceptionFormatter.java --> JBossLocalXAExceptionFormatterMBean
      qualified to org.jboss.resource.connectionmanager.JBossLocalXAExceptionFormatter
      MBean
      C:\Download\jboss-3.0.7-src\connector\src\main\org\jboss\resource\connectionmana
      ger\JBossManagedConnectionPool.java --> JBossManagedConnectionPoolMBean qualifie
      d to org.jboss.resource.connectionmanager.JBossManagedConnectionPoolMBean
      C:\Download\jboss-3.0.7-src\connector\src\main\org\jboss\resource\connectionmana
      ger\LocalTxConnectionManager.java --> LocalTxConnectionManagerMBean qualified to
      org.jboss.resource.connectionmanager.LocalTxConnectionManagerMBean
      C:\Download\jboss-3.0.7-src\connector\src\main\org\jboss\resource\connectionmana
      ger\NoTxConnectionManager.java --> BaseConnectionEventListener qualified to org.
      jboss.resource.connectionmanager.BaseConnectionEventListener
      C:\Download\jboss-3.0.7-src\connector\src\main\org\jboss\resource\connectionmana
      ger\RARDeployment.java --> RARDeploymentMBean qualified to org.jboss.resource.co
      nnectionmanager.RARDeploymentMBean
      C:\Download\jboss-3.0.7-src\connector\src\main\org\jboss\resource\connectionmana
      ger\XATxConnectionManager.java --> XATxConnectionManagerMBean qualified to org.j
      boss.resource.connectionmanager.XATxConnectionManagerMBean

      BUILD FAILED
      file:C:/Download/jboss-3.0.7-src/connector/build.xml:580: Unexpected error