Results 1 to 3 of 3

Thread: problem to start jboss, vfszip issue

  1. #1
    Join Date
    Jun 2008
    Location
    Canada
    Posts
    436

    Default problem to start jboss, vfszip issue

    hi

    i downloaded the last release of jboss 5 GA and put it under opensuse 11.1

    i don't changed nothing in the config...

    the machine have java 1.6 update 11


    when i try to start the server i get this message:

    Code:
    =========================================================================
    
      JBoss Bootstrap Environment
    
      JBOSS_HOME: /opt/jboss-5.0.0.GA
    
      JAVA: /usr/lib/jvm/jre/bin/java
    
      JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolv
    er.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dja
    va.net.preferIPv4Stack=true
    
      CLASSPATH: /opt/jboss-5.0.0.GA/bin/run.jar
    
    =========================================================================
    
    10:26:25,961 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
    10:26:25,962 INFO  [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA 
    date=200812042120)
    10:26:25,963 INFO  [ServerImpl] Bootstrap URL: null
    10:26:25,963 INFO  [ServerImpl] Home Dir: /opt/jboss-5.0.0.GA
    10:26:25,963 INFO  [ServerImpl] Home URL: file:/opt/jboss-5.0.0.GA/
    10:26:25,963 INFO  [ServerImpl] Library URL: file:/opt/jboss-5.0.0.GA/lib/
    10:26:25,964 INFO  [ServerImpl] Patch URL: null
    10:26:25,964 INFO  [ServerImpl] Common Base URL: file:/opt/jboss-5.0.0.GA/common/
    10:26:25,964 INFO  [ServerImpl] Common Library URL: file:/opt/jboss-5.0.0.GA/common/lib/
    10:26:25,964 INFO  [ServerImpl] Server Name: default
    10:26:25,964 INFO  [ServerImpl] Server Base Dir: /opt/jboss-5.0.0.GA/server
    10:26:25,965 INFO  [ServerImpl] Server Base URL: file:/opt/jboss-5.0.0.GA/server/
    10:26:25,965 INFO  [ServerImpl] Server Config URL: file:/opt/jboss-5.0.0.GA/server/default/conf/
    10:26:25,965 INFO  [ServerImpl] Server Home Dir: /opt/jboss-5.0.0.GA/server/default
    10:26:25,965 INFO  [ServerImpl] Server Home URL: file:/opt/jboss-5.0.0.GA/server/default/
    10:26:25,965 INFO  [ServerImpl] Server Data Dir: /opt/jboss-5.0.0.GA/server/default/data
    10:26:25,966 INFO  [ServerImpl] Server Library URL: file:/opt/jboss-5.0.0.GA/server/default/lib/
    10:26:25,966 INFO  [ServerImpl] Server Log Dir: /opt/jboss-5.0.0.GA/server/default/log
    10:26:25,966 INFO  [ServerImpl] Server Native Dir: /opt/jboss-5.0.0.GA/server/default/tmp/native
    10:26:25,966 INFO  [ServerImpl] Server Temp Dir: /opt/jboss-5.0.0.GA/server/default/tmp
    10:26:25,966 INFO  [ServerImpl] Server Temp Deploy Dir: /opt/jboss-5.0.0.GA/server/default/tmp/deplo
    y
    10:26:26,897 INFO  [ServerImpl] Starting Microcontainer, bootstrapURL=file:/opt/jboss-5.0.0.GA/serve
    r/default/conf/bootstrap.xml
    10:26:27,668 INFO  [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.Iterable
    TimedVFSCache]
    10:26:27,678 INFO  [VFSCacheFactory] Using VFSCache [IterableTimedVFSCache{lifetime=1800, resolution
    =60}]
    10:26:28,154 INFO  [CopyMechanism] VFS temp dir: /opt/jboss-5.0.0.GA/server/default/tmp
    10:26:28,172 INFO  [ZipEntryContext] VFS force nested jars copy-mode is enabled.
    10:26:29,673 INFO  [ServerInfo] Java version: 1.6.0_11,Sun Microsystems Inc.
    10:26:29,674 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 11.0-b16,Sun Microsystems Inc.
    10:26:29,674 INFO  [ServerInfo] OS-System: Linux 2.6.27.7-9-pae,i386
    10:26:29,721 INFO  [JMXKernel] Legacy JMX core initialized
    10:26:33,388 INFO  [ProfileServiceImpl] Loading profile: default from: org.jboss.system.server.profi
    leservice.repository.SerializableDeploymentRepository@c6b80e(root=/opt/jboss-5.0.0.GA/server, key=or
    g.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default])
    10:26:33,391 INFO  [ProfileImpl] Using repository:org.jboss.system.server.profileservice.repository.
    SerializableDeploymentRepository@c6b80e(root=/opt/jboss-5.0.0.GA/server, key=org.jboss.profileservic
    e.spi.ProfileKey@143b82c3[domain=default,server=default,name=default])
    10:26:33,391 INFO  [ProfileServiceImpl] Loaded profile: ProfileImpl@ac2d3c{key=org.jboss.profileserv
    ice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default]}
    10:26:36,414 INFO  [WebService] Using RMI server codebase: http://127.0.0.1:8083/
    10:26:41,521 WARN  [AbstractDeploymentContext] Unable to register deployment mbean vfszip:/opt/jboss
    -5.0.0.GA/server/default/deploy/management/console-mgr.sar/web-console.war/applet.jar
    javax.management.InstanceAlreadyExistsException: jboss.deployment:id="vfszip:/opt/jboss-5.0.0.GA/server/default/deploy/management/console-mgr.sar/web-console.war/applet.j
    ar",type=SubDeployment already registered.
    	at org.jboss.mx.server.registry.BasicMBeanRegistry.add(BasicMBeanRegistry.java:767)
    	at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:236)
    	at sun.reflect.GeneratedMethodAccessor89.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:597)
    	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
    	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
    	at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)
    	at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
    	at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.ja
    va:140)
    	at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
    	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
    	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
    	at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1431)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1426)
    	at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:376)
    	at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext.registerMBeans(AbstractDeplo
    ymentContext.java:989)
    	at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext.registerMBeans(AbstractDeplo
    ymentContext.java:998)
    	at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext.registerMBeans(AbstractDeplo
    ymentContext.java:998)
    	at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext.postRegister(AbstractDeploym
    entContext.java:964)
    	at org.jboss.mx.server.AbstractMBeanInvoker.invokePostRegister(AbstractMBeanInvoker.java:974)
    	at org.jboss.mx.server.AbstractMBeanInvoker.postRegister(AbstractMBeanInvoker.java:681)
    	at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:338)
    	at sun.reflect.GeneratedMethodAccessor89.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:597)
    	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
    	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
    	at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)
    	at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
    	at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.ja
    va:140)
    	at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
    	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
    	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
    	at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1431)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1426)
    	at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:376)
    	at org.jboss.deployers.plugins.deployers.DeployersImpl.registerMBean(DeployersImpl.java:1602)
    	at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:755)
    	at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545)
    	at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstr
    ap.java:304)
    	at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.jav
    a:205)
    	at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
    	at org.jboss.Main.boot(Main.java:209)
    	at org.jboss.Main$1.run(Main.java:547)
    	at java.lang.Thread.run(Thread.java:619)
    10:26:53,996 WARN  [MappedReferenceMetaDataResolverDeployer] Unresolved references exist in JBossMet
    aData:[erp-server.jar#ModuleServiceBean:AnnotatedEJBReferenceMetaData{name=com.netappsid.services.be
    ans.ModuleServiceBean/loginServiceLocal,ejb-ref-type=null,link=null,ignore-dependecy=false,mapped/jn
    di-name=security/LoginServiceBean/local,resolved-jndi-name=null,beanInterface=interface com.netappsi
    d.security.service.local.LoginServiceLocal}]
    10:26:55,178 INFO  [MailService] Mail Service bound to java:/Mail
    10:26:57,494 WARN  [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been dete
    cted that the MessageSucker component which sucks messages from one node to another has not had its 
    password changed from the installation default. Please see the JBoss Messaging user guide for instru
    ctions on how to do this.
    10:26:57,518 WARN  [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.an
    notation.ManagementComponent
    10:26:57,692 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc
    .
    10:26:57,692 INFO  [TransactionManagerService] Setting up property manager MBean and JMX layer
    10:26:58,025 INFO  [TransactionManagerService] Initializing recovery manager
    10:26:58,364 INFO  [TransactionManagerService] Recovery manager configured
    10:26:58,364 INFO  [TransactionManagerService] Binding TransactionManager JNDI Reference
    10:26:58,400 INFO  [TransactionManagerService] Starting transaction recovery manager
    10:26:59,085 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deploymen
    ts (SEE PREVIOUS ERRORS FOR DETAILS):
    
    *** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
    
    jboss.ejb:persistencePolicy=database,service=EJBTimerService
     -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=D
    efaultDS,service=DataSourceBinding' **}
     -> jboss.jdbc:datasource=DefaultDS,service=metadata{Create:** NOT FOUND Depends on 'jboss.jdbc:datasou
    rce=DefaultDS,service=metadata' **}
    
    jboss.ejb:service=EJB3TimerService
     -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=D
    efaultDS,service=DataSourceBinding' **}
    
    jboss.ejb:service=EJBTimerService
     -> jboss.ejb:persistencePolicy=database,service=EJBTimerService{Create:Configured}
    
    jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory
     -> jboss.messaging:service=ServerPeer{Create:Configured}
     -> jboss.messaging:service=PostOffice{Create:Configured}
    
    jboss.messaging.connectionfactory:service=ClusteredConnectionFactory
     -> jboss.messaging:service=ServerPeer{Create:Configured}
     -> jboss.messaging:service=PostOffice{Create:Configured}
    
    jboss.messaging.connectionfactory:service=ConnectionFactory
     -> jboss.messaging:service=PostOffice{Create:Configured}
     -> jboss.messaging:service=ServerPeer{Create:Configured}
    
    jboss.messaging.destination:name=DLQ,service=Queue
     -> jboss.messaging:service=ServerPeer{Create:Configured}
     -> jboss.messaging:service=PostOffice{Create:Configured}
    
    jboss.messaging.destination:name=ExpiryQueue,service=Queue
     -> jboss.messaging:service=PostOffice{Create:Configured}
     -> jboss.messaging:service=ServerPeer{Create:Configured}
    
    jboss.messaging:service=JMSUserManager
     -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=D
    efaultDS,service=DataSourceBinding' **}
    
    jboss.messaging:service=PersistenceManager
     -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=D
    efaultDS,service=DataSourceBinding' **}
    
    jboss.messaging:service=PostOffice
     -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=D
    efaultDS,service=DataSourceBinding' **}
     -> jboss.messaging:service=ServerPeer{Create:Configured}
    
    jboss.messaging:service=ServerPeer
     -> jboss.messaging:service=PersistenceManager{Create:Configured}
     -> jboss.messaging:service=JMSUserManager{Create:Configured}
    
    jboss.mq:service=DestinationManager
     -> jboss.messaging:service=ServerPeer{Create:Configured}
    
    
    *** CONTEXTS IN ERROR: Name -> Error
    
    jboss.jca:name=DefaultDS,service=DataSourceBinding -> ** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **
    
    jboss.jdbc:datasource=DefaultDS,service=metadata -> ** NOT FOUND Depends on 'jboss.jdbc:datasource=DefaultDS,service=metadata' **
    
    
    10:26:59,086 INFO  [ServerImpl] JBoss (Microcontainer) [5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA date=
    200812042120)] Started in 33s:117ms
    10:27:20,146 INFO  [ServerImpl] Runtime shutdown hook called, forceHalt: true
    10:27:20,421 INFO  [MailService] Mail service 'java:/Mail' removed from JNDI
    10:27:20,828 INFO  [TransactionManagerService] Stopping transaction recovery manager
    10:27:23,459 INFO  [ServerImpl] Shutdown complete
    Shutdown complete
    Halting VM

    any idea?

    thanks

  2. #2
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: problem to start jboss, vfszip issue

    I always hated Java stuff because their messages are so opaque, but it looks like these errors need to be taken care of:


    *** CONTEXTS IN ERROR: Name -> Error

    jboss.jca:name=DefaultDS,service=DataSourceBinding -> ** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **

    jboss.jdbc:datasource=DefaultDS,service=metadata -> ** NOT FOUND Depends on 'jboss.jdbc:datasource=DefaultDS,service=metadata' **


    It looks like you need to configure some properties first, you can't just start running jboss like that. Don't ask me how to configure those, it's been a while since I tangled with jboss or tomcat and I still get bad dreams.

  3. #3
    Join Date
    Jun 2008
    Location
    Canada
    Posts
    436

    Default Re: problem to start jboss, vfszip issue

    i tried the same jboss folder on a windows machine that worked fine....

    tried on another linux machine that worked fine too...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •