2 Replies Latest reply on Aug 3, 2006 5:00 PM by turksheadsw

    JNDI issues upgrading to 4.0.4GA-Patch1

    turksheadsw Newbie

      I have upgraded an application using JBoss 4.03SP1 to 4.0.4GA-Patch1

      I get the following exception during startup:


      2006-08-03 12:06:28,977 WARN [org.jboss.system.ServiceController] Problem starting service jboss.mq:service=InvocationLayer,type=UIL
      java.lang.NoSuchMethodError: org.jboss.naming.Util.createLinkRef(Ljava/lang/String;Ljava/lang/String;)V
      at org.jboss.naming.NamingAlias.createLinkRef(NamingAlias.java:133)
      at org.jboss.naming.NamingAlias.startService(NamingAlias.java:122)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
      ... (trimmed)



      I have looked in fisheye at the class org.jboss.naming.Util, and none of the revisions checked in there have this function (in fact, revision 1.12.2.2, which is labeled JBoss_4_0_4_GA, contains no methods at all!). I looked at the code for org.jboss.naming.NamingAlias (revision 1.8.6.2?) and it is clearly calling this function and there are no imports so it has to be referring to this particular class.

      It seems kind of odd to me that it would have even compiled.

      The link to org.jboss.naming.NamingAlias:

      http://fisheye.labs.jboss.com/viewrep/JBoss/jboss/src/main/org/jboss/naming/NamingAlias.java?r=1.8.6.2

      The link to org.jboss.naming.Util:

      http://fisheye.labs.jboss.com/viewrep/JBoss/jboss/src/main/org/jboss/naming/Util.java?r=1.12.2.2

      Any suggestions?

      Let me know if any other info would be of help. Thanks.[/url]