[JBoss Getting Started Documentation] - Re: Could not make local copy for file: jboss-service.xml
by wizumwalt
I get the same error ... Here's the output ...
|
| =========================================================================
|
| JBoss Bootstrap Environment
|
| JBOSS_HOME: /opt/jboss-4.2.3.GA/
|
| JAVA: /etc/java-config-2/current-system-vm/bin/java
|
| JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m -Dsun.rmi.dgc.clien
| t.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIP
| v4Stack=true
|
| CLASSPATH: /opt/jboss-4.2.3.GA//bin/run.jar:/etc/java-config-2/current-system-
| vm/lib/tools.jar
|
| =========================================================================
|
| 19:58:45,344 INFO [Server] Starting JBoss (MX MicroKernel)...
| 19:58:45,344 INFO [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=
| JBoss_4_2_3_GA date=200807181417)
| 19:58:45,345 INFO [Server] Home Dir: /opt/jboss-4.2.3.GA
| 19:58:45,345 INFO [Server] Home URL: file:/opt/jboss-4.2.3.GA/
| 19:58:45,346 INFO [Server] Patch URL: null
| 19:58:45,346 INFO [Server] Server Name: default
| 19:58:45,346 INFO [Server] Server Home Dir: /opt/jboss-4.2.3.GA/server/default
| 19:58:45,346 INFO [Server] Server Home URL: file:/opt/jboss-4.2.3.GA/server/def
| ault/
| 19:58:45,346 INFO [Server] Server Log Dir: /opt/jboss-4.2.3.GA/server/default/l
| og
| 19:58:45,346 INFO [Server] Server Temp Dir: /opt/jboss-4.2.3.GA/server/default/
| tmp
| 19:58:45,346 INFO [Server] Root Deployment Filename: jboss-service.xml
| 19:58:45,594 INFO [ServerInfo] Java version: 1.6.0_06,Sun Microsystems Inc.
| 19:58:45,595 INFO [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 10.0-
| b22,Sun Microsystems Inc.
| 19:58:45,595 INFO [ServerInfo] OS-System: Linux 2.6.23-gentoo-r8,amd64
| 19:58:45,803 INFO [Server] Core system initialized
| 19:58:47,080 WARN [BasicMBeanRegistry] javax.management.MBeanRegistrationExcept
| ion: preRegister() failed: [ObjectName='jboss.remoting:service=NetworkRegistry',
| Class=org.jboss.remoting.network.NetworkRegistry (org.jboss.remoting.network.Ne
| tworkRegistry@6ab30913)]
| 19:58:47,092 ERROR [MainDeployer] Could not create deployment: file:/opt/jboss-4
| .2.3.GA/server/default/conf/jboss-service.xml
| org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect
| .InvocationTargetException)
| at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
| :196)
| at org.jboss.system.ServiceController.install(ServiceController.java:226
| )
| 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:597)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
| er.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
| java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy4.install(Unknown Source)
| at org.jboss.deployment.SARDeployer.create(SARDeployer.java:251)
| at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
| 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:597)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
| er.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
| or.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
| BeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
| java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy5.deploy(Unknown Source)
| at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
| at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
| at org.jboss.Main.boot(Main.java:200)
| at org.jboss.Main$1.run(Main.java:508)
| at java.lang.Thread.run(Thread.java:619)
| Caused by: java.lang.reflect.InvocationTargetException
| at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.jav
| a:1451)
| at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.jav
| a:1350)
| at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:
| 345)
| at org.jboss.system.ServiceCreator.install(ServiceCreator.java:157)
| at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigura
| tor.java:451)
| at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
| :171)
| ... 36 more
| Caused by: javax.management.MBeanException
| at org.jboss.mx.interceptor.ReflectedDispatcher.handleInvocationExceptio
| ns(ReflectedDispatcher.java:180)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
| er.java:163)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
| or.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
| BeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
| java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1422)
| at java.security.AccessController.doPrivileged(Native Method)
| at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.jav
| a:1417)
| ... 41 more
| Caused by: javax.management.MBeanRegistrationException: preRegister() failed: [O
| bjectName='jboss.remoting:service=NetworkRegistry', Class=org.jboss.remoting.net
| work.NetworkRegistry (org.jboss.remoting.network.NetworkRegistry@6ab30913)]
| at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(Bas
| icMBeanRegistry.java:713)
| at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMB
| eanRegistry.java:211)
| at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
| sorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
| er.java:155)
| ... 51 more
| Caused by: java.lang.RuntimeException: Exception creating identity: Numbers: Num
| bers
| at org.jboss.remoting.ident.Identity.get(Identity.java:211)
| at org.jboss.remoting.network.NetworkRegistry.preRegister(NetworkRegistr
| y.java:268)
| at org.jboss.mx.server.AbstractMBeanInvoker.invokePreRegister(AbstractMB
| eanInvoker.java:966)
| at org.jboss.mx.modelmbean.ModelMBeanInvoker.invokePreRegister(ModelMBea
| nInvoker.java:489)
| at org.jboss.mx.server.AbstractMBeanInvoker.preRegister(AbstractMBeanInv
| oker.java:654)
| at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(Bas
| icMBeanRegistry.java:697)
| ... 56 more
| Failed to boot JBoss:
| org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect
| .InvocationTargetException)
| at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
| :196)
| at org.jboss.system.ServiceController.install(ServiceController.java:226
| )
| 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:597)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
| er.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
| java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy4.install(Unknown Source)
| at org.jboss.deployment.SARDeployer.create(SARDeployer.java:251)
| at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
| 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:597)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
| er.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
| or.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
| BeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
| java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy5.deploy(Unknown Source)
| at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
| at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
| at org.jboss.Main.boot(Main.java:200)
| at org.jboss.Main$1.run(Main.java:508)
| at java.lang.Thread.run(Thread.java:619)
| Caused by: java.lang.reflect.InvocationTargetException
| at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.jav
| a:1451)
| at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.jav
| a:1350)
| at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:
| 345)
| at org.jboss.system.ServiceCreator.install(ServiceCreator.java:157)
| at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigura
| tor.java:451)
| at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
| :171)
| ... 36 more
| Caused by: javax.management.MBeanException
| at org.jboss.mx.interceptor.ReflectedDispatcher.handleInvocationExceptio
| ns(ReflectedDispatcher.java:180)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
| er.java:163)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
| or.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
| BeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
| java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1422)
| at java.security.AccessController.doPrivileged(Native Method)
| at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.jav
| a:1417)
| ... 41 more
| Caused by: javax.management.MBeanRegistrationException: preRegister() failed: [O
| bjectName='jboss.remoting:service=NetworkRegistry', Class=org.jboss.remoting.net
| work.NetworkRegistry (org.jboss.remoting.network.NetworkRegistry@6ab30913)]
| at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(Bas
| icMBeanRegistry.java:713)
| at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMB
| eanRegistry.java:211)
| at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
| sorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
| er.java:155)
| ... 51 more
| Caused by: java.lang.RuntimeException: Exception creating identity: Numbers: Num
| bers
| at org.jboss.remoting.ident.Identity.get(Identity.java:211)
| at org.jboss.remoting.network.NetworkRegistry.preRegister(NetworkRegistr
| y.java:268)
| at org.jboss.mx.server.AbstractMBeanInvoker.invokePreRegister(AbstractMB
| eanInvoker.java:966)
| at org.jboss.mx.modelmbean.ModelMBeanInvoker.invokePreRegister(ModelMBea
| nInvoker.java:489)
| at org.jboss.mx.server.AbstractMBeanInvoker.preRegister(AbstractMBeanInv
| oker.java:654)
| at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(Bas
| icMBeanRegistry.java:697)
| ... 56 more
| 19:58:47,097 INFO [Server] Runtime shutdown hook called, forceHalt: true
| 19:58:47,097 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
| 19:58:47,101 INFO [Server] Shutdown complete
| Shutdown complete
| Halting VM
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170462#4170462
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4170462
17 years, 11 months
[Beginners Corner] - Re: failed on all configuration, but ok on default configura
by gan.gary
no, I still could not get it:
Global JNDI Namespace
| +- TransactionSynchronizationRegistry (class: com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionSynchronizationRegistryImple)
| +- UserTransactionSessionFactory (proxy: $Proxy14 implements interface org.jboss.tm.usertx.interfaces.UserTransactionSessionFactory)
| +- console (class: org.jnp.interfaces.NamingContext)
| | +- PluginManager (proxy: $Proxy57 implements interface org.jboss.console.manager.PluginManagerMBean)
| +- UUIDKeyGeneratorFactory (class: org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGeneratorFactory)
| +- HAPartition (class: org.jnp.interfaces.NamingContext)
| | +- DefaultPartition (class: org.jboss.ha.framework.server.HAPartitionImpl)
| +- HASessionState (class: org.jnp.interfaces.NamingContext)
| | +- Default (class: org.jboss.ha.hasessionstate.server.HASessionStateImpl)
| +- JAXR (class: org.apache.ws.scout.registry.ConnectionFactoryImpl)
| +- UserTransaction (class: org.jboss.tm.usertx.client.ClientUserTransaction)
| +- invokers (class: org.jnp.interfaces.NamingContext)
| | +- <my pc name> (class: org.jnp.interfaces.NamingContext)
| | | +- iiop (class: org.jboss.invocation.iiop.IIOPInvoker)
| +- jmx (class: org.jnp.interfaces.NamingContext)
| | +- invoker (class: org.jnp.interfaces.NamingContext)
| | | +- RMIAdaptor (proxy: $Proxy56 implements interface org.jboss.jmx.adaptor.rmi.RMIAdaptor,interface org.jboss.jmx.adaptor.rmi.RMIAdaptorExt)
| | +- rmi (class: org.jnp.interfaces.NamingContext)
| | | +- RMIAdaptor[link -> jmx/invoker/RMIAdaptor] (class: javax.naming.LinkRef)
| +- HiLoKeyGeneratorFactory (class: org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory)
i am using :
<?xml version="1.0" encoding="UTF-8"?>
|
| <!-- $Id: jbossmq-destinations-service.xml 25907 2004-11-16 04:32:39Z ejort $ -->
|
| <!--
| | This file defines the default Queues and Topics that JBossMQ
| | ships with. The default Queues and Topics are used by the
| | JBoss test suite and by the sample jms programs.
| |
| | You can add other destinations to this file, or you can create other
| | *-service.xml files to contain your application's destinations.
| -->
|
| <server>
| <mbean code="org.jboss.mq.server.jmx.Queue"
| name="jboss.mq.destination:service=Queue,name=AAA/BBB">
| <depends optional-attributename="DestinationManager">jboss.mq:service=DestinationManager</depends>
| </mbean>
|
| </server>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170458#4170458
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4170458
17 years, 11 months
[Clustering/JBoss] - HASingleton EJBException
by rodrigo.baquero
Hi,
I'm running JBoss 4.2.2 and deployed an EJB and a Spring application inside a HASingleton.
I also have a Tomcat application that can successfuly use the EJB.
The problem I'm facing is between the HASingleton and the EJB. When the HASingleton tries to use the EJB, the following stack trace is shown in the log.
Caused by: javax.ejb.EJBException: Invalid invocation, check your deployment packaging, method=public abstract com...AppRemote com...IAppHomeRemote.create() throws java.rmi.RemoteException,javax.ejb.CreateException
at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invokeHome(StatelessSessionContainer.java:175)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:189)
at org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:56)
at org.jboss.ejb.plugins.TxInterceptorBMT.invokeHome(TxInterceptorBMT.java:69)
at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invokeHome(StatelessSessionInstanceInterceptor.java:98)
at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:145)
at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:132)
I'm almos sure that the EJB is well configured since Tomcat can use it. But I do not know what might be happening with the HASingleton.
Best Regards
Rodrigo Baquero
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170453#4170453
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4170453
17 years, 11 months
[Installation, Configuration & DEPLOYMENT] - Re: JBoss as Windows service - stopping the service powers d
by PeterJ
JBoss Native 2.0.4 is the latest version, and yes it names the service JBAS50SVC in anticipation of the JBossAS 5.0 release, but I have used 2.0.4 with both AS 4.2.2 and 5.0.0.CR1 without any problems (it should work with 4.2.3 with no problems).
One way to tell if you are running the 64-bit Windows is if you have both a Program Files and a Program Files(x86) directory. There are other ways also (and if I was at home where I am running 640bit Vista, I could tell you), most likely by looking the My Computer | Properties or at System Information.
My guess would be that if you see a lot of x86 stuff, then you have a 64-bit system and the stuff you are looking at is compiled for 32-bit - the 64-bit Windows will run 32-bit software. Therefore, you can run a 32-bit JVM on 64-bit Windows, so that is not a clear indication of the OS type.
Regardless of all that, you should ensure that the JBoss Native you are using matches the OS type - that is, if the OS is 64-bit, you need the 64-bit variation of JBoss Native.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170448#4170448
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4170448
17 years, 11 months