[jboss-user] JBOSS 5 with IBM JDK

Marc Schoechlin ms-jboss at 256bit.org
Sat Feb 7 14:24:12 EST 2009


Hi,

i'm currently testing out JBOSS 5 and i'm running in strange startup problem 
with a IBM JDK.
Using "openjdk-6-jdk-6b11-9.1" from the debian package repositories
works pretty good - but i would like to run my tests with the ibm jdk, because
i assume that ibm's jdk provides more performance on the mainframe :-)

The stacktrace suggests me that a wrong argument was provided to reflection - 
but i cannot really believe that ibm's jdk differs to openjdk in this point.....

Any suggestions ?

OS: Debian SID s390 / zSeries (64bit Kernel)
JDK: ibm-java-sdk-6.0-3.0-linux-s390x
Appserver: jboss-5.0.0.GA
Error messages:
----
root at virtual:/test# export JAVA_HOME=/test/ibm-java-s390x-60/
root at virtual:/test# cd /test/jboss-5.0.0.GA/bin   
root at virtual:/test/jboss/bin# ./run.sh                       
=========================================================================

  JBoss Bootstrap Environment

  JBOSS_HOME: /test/jboss

  JAVA: /test/ibm-java-s390x-60//bin/java

  JAVA_OPTS: -Dprogram.name=run.sh -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true                                                                                                                 

  CLASSPATH: /test/jboss/bin/run.jar:/test/ibm-java-s390x-60//lib/tools.jar

=========================================================================

20:09:50,153 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
20:09:50,164 INFO  [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA date=200812042120)
20:09:50,169 INFO  [ServerImpl] Bootstrap URL: null                                                                   
20:09:50,171 INFO  [ServerImpl] Home Dir: /test/jboss-5.0.0.GA                                                        
20:09:50,173 INFO  [ServerImpl] Home URL: file:/test/jboss-5.0.0.GA/                                                  
20:09:50,175 INFO  [ServerImpl] Library URL: file:/test/jboss-5.0.0.GA/lib/                                           
20:09:50,180 INFO  [ServerImpl] Patch URL: null                                                                       
20:09:50,182 INFO  [ServerImpl] Common Base URL: file:/test/jboss-5.0.0.GA/common/                                    
20:09:50,185 INFO  [ServerImpl] Common Library URL: file:/test/jboss-5.0.0.GA/common/lib/                             
20:09:50,187 INFO  [ServerImpl] Server Name: default                                                                  
20:09:50,189 INFO  [ServerImpl] Server Base Dir: /test/jboss-5.0.0.GA/server                                          
20:09:50,191 INFO  [ServerImpl] Server Base URL: file:/test/jboss-5.0.0.GA/server/                                    
20:09:50,194 INFO  [ServerImpl] Server Config URL: file:/test/jboss-5.0.0.GA/server/default/conf/                     
20:09:50,196 INFO  [ServerImpl] Server Home Dir: /test/jboss-5.0.0.GA/server/default                                  
20:09:50,198 INFO  [ServerImpl] Server Home URL: file:/test/jboss-5.0.0.GA/server/default/                            
20:09:50,199 INFO  [ServerImpl] Server Data Dir: /test/jboss-5.0.0.GA/server/default/data                             
20:09:50,201 INFO  [ServerImpl] Server Library URL: file:/test/jboss-5.0.0.GA/server/default/lib/                     
20:09:50,202 INFO  [ServerImpl] Server Log Dir: /test/jboss-5.0.0.GA/server/default/log                               
20:09:50,204 INFO  [ServerImpl] Server Native Dir: /test/jboss-5.0.0.GA/server/default/tmp/native                     
20:09:50,205 INFO  [ServerImpl] Server Temp Dir: /test/jboss-5.0.0.GA/server/default/tmp                              
20:09:50,207 INFO  [ServerImpl] Server Temp Deploy Dir: /test/jboss-5.0.0.GA/server/default/tmp/deploy                
20:09:56,079 INFO  [ServerImpl] Starting Microcontainer, bootstrapURL=file:/test/jboss-5.0.0.GA/server/default/conf/bootstrap.xml
20:09:59,366 INFO  [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.IterableTimedVFSCache]               
20:09:59,413 INFO  [VFSCacheFactory] Using VFSCache [IterableTimedVFSCache{lifetime=1800, resolution=60}]                        
20:10:01,456 INFO  [CopyMechanism] VFS temp dir: /test/jboss-5.0.0.GA/server/default/tmp                                         
20:10:01,463 INFO  [ZipEntryContext] VFS force nested jars copy-mode is enabled.                                                 
20:10:12,300 INFO  [ServerInfo] Java version: 1.6.0,IBM Corporation                                                              
20:10:12,301 INFO  [ServerInfo] Java VM: IBM J9 VM 2.4,IBM Corporation                                                           
20:10:12,303 INFO  [ServerInfo] OS-System: Linux 2.6.26,s390x                                                                    
20:10:12,701 INFO  [JMXKernel] Legacy JMX core initialized                                                                       
20:10:31,732 ERROR [AbstractKernelController] Error installing to Instantiated: name=StandardBindings state=Described            
java.lang.IllegalArgumentException: Wrong arguments. new for target java.lang.reflect.Constructor expected=[int] actual=[java.util.HashSet]
        at org.jboss.reflect.plugins.introspection.ReflectionUtils.handleErrors(ReflectionUtils.java:395)                                  
        at org.jboss.reflect.plugins.introspection.ReflectionUtils.newInstance(ReflectionUtils.java:153)                                   
        at org.jboss.reflect.plugins.introspection.ReflectConstructorInfoImpl.newInstance(ReflectConstructorInfoImpl.java:106)             
        at org.jboss.joinpoint.plugins.BasicConstructorJoinPoint.dispatch(BasicConstructorJoinPoint.java:80)                               
        at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.createTarget(AOPConstructorJoinpoint.java:276)                 
        at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.dispatch(AOPConstructorJoinpoint.java:97)                      
        at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241)
        at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)                                                    
        at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109)        
        at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70)                
        at org.jboss.kernel.plugins.dependency.InstantiateAction.installActionInternal(InstantiateAction.java:66)                                    
        at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)                                        
        at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)                                        
        at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)              
        at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)                          
        at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)                           
        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)                                        
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)                                                     
        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)                                               
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)                                             
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)                                              
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
        at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:331)
        at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:309)
        at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:130)
        at org.jboss.kernel.plugins.deployment.BasicKernelDeployer.deploy(BasicKernelDeployer.java:76)
        at org.jboss.bootstrap.microcontainer.TempBasicXMLDeployer.deploy(TempBasicXMLDeployer.java:91)
        at org.jboss.bootstrap.microcontainer.TempBasicXMLDeployer.deploy(TempBasicXMLDeployer.java:161)
        at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java:144)
        at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:394)
        at org.jboss.Main.boot(Main.java:209)
        at org.jboss.Main$1.run(Main.java:547)
        at java.lang.Thread.run(Thread.java:735)
20:10:34,507 INFO  [ProfileServiceImpl] Loading profile: default from: org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository at 44934493(root=/test/jboss-5.0.0.GA/server, key=org.jboss.profileservice.spi.ProfileKey at 143b82c3[domain=default,server=default,name=default])
20:10:34,516 INFO  [ProfileImpl] Using repository:org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository at 44934493(root=/test/jboss-5.0.0.GA/server, key=org.jboss.profileservice.spi.ProfileKey at 143b82c3[domain=default,server=default,name=default])
20:10:34,517 INFO  [ProfileServiceImpl] Loaded profile: ProfileImpl at 1520152{key=org.jboss.profileservice.spi.ProfileKey at 143b82c3[domain=default,server=default,name=default]}
Failed to boot JBoss:
java.lang.IllegalStateException: Incompletely deployed:

*** DEPLOYMENTS IN ERROR: Name -> Error
StandardBindings -> java.lang.IllegalArgumentException: Wrong arguments. new for target java.lang.reflect.Constructor expected=[int] actual=[java.util.HashSet]

*** DEPLOYMENTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
SystemPropertyBinder -> SystemPropertyBinder#1{Installed:Described}
SystemPropertyBinder#1 -> ServiceBindingManager{Installed:Described}
ServiceBindingManager -> ServiceBindingStore{Installed:Instantiated}
ServiceBindingStore -> StandardBindings{Installed:**ERROR**}

        at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.interna
----

-- 
http://www.xing.com/profile/Marc_Schoechlin/
jabber: ms at 256bit.org



More information about the jboss-user mailing list