• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Integration of JBoss5.0.0.GA with Netbeans6.1

 
Bushra Binte
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,Can we integrate JBoss5.0.0.GA with netbeans6.1?When m trying to do so domain listbox is empty.Thanks
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JBoss AS 5.0 moved many files that NetBeans uses to locate domians (configurations). See this recent post for some help (yes, that post is for NetBeans 6.5, but the workaround should work for 6.1)
 
Bushra Binte
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,i have added the server to netbeans.While trying to run the server(JBoss) through netbeans,m getting following error:"[ClassLoaderManager] Unexpected error during load ofrg.jboss.resource.metadata.repository.DefaultJCAMetaDataRepository
java.lang.UnsupportedClassVersionError: Bad version number in .class file".
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This means that you are using an older JDK. JBoss AS 5.0 comes as two binary variants - one for JDK6 and the other for JDK5. The JDK6 variant requires that you use JDK6. My guess is that you downloaded the JDK6 variant but are running it with JDK 5(*). NetBeans lets you select the JDK you want to use to run the server, just look at the server properties.

(*) The JVM used to tell you the version number which made deciphering the error easier. Now it just says "bad version number". What a giant step backwards...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic