[
https://issues.jboss.org/browse/AS7-2135?page=com.atlassian.jira.plugin.s...
]
Alexey Loubyansky updated AS7-2135:
-----------------------------------
Component/s: Server
(was: CLI)
With the current master I get a different error
[standalone@localhost:9999 /] :reload
{
"outcome" => "success",
"response-headers" => {
"operation-requires-reload" => true,
"process-state" => "reload-required"
}
}
server side:
18:17:40,796 INFO [org.jboss.as] (Controller Boot Thread) JBoss AS 7.1.0.Alpha2-SNAPSHOT
"Ahoy!" started in 2762ms - Started 143 of 205 services (62 services are passive
or on-demand)
18:17:55,679 INFO [org.jboss.as.osgi] (MSC service thread 1-4) JBAS011921: Stopping OSGi
Framework
18:17:55,681 INFO [org.apache.catalina.core.StandardContext] (MSC service thread 1-7)
Container org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/] has not
been started
18:17:55,682 INFO [org.jboss.as.messaging] (MSC service thread 1-1) JBAS011605: Unbound
messaging object to jndi name java:/queue/test
18:17:55,686 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-5)
Stopping Coyote HTTP/1.1 on http-tstudio-127.0.0.1-8080
18:17:55,687 INFO [org.jboss.as.jmx.JMXConnectorService] (MSC service thread 1-2) JMX
remote connector stopped
18:17:55,698 INFO [org.jboss.as.logging] JBAS011502: Restored bootstrap log handlers
18:17:55,700 INFO [org.jboss.as.messaging] JBAS011605: Unbound messaging object to jndi
name java:/ConnectionFactory
18:17:55,700 INFO [jacorb.poa] POA NamingPOA destroyed
18:17:55,702 INFO [com.arjuna.ats.jbossatx] ARJUNA32018: Destroying
TransactionManagerService
18:17:55,703 INFO [com.arjuna.ats.jbossatx] ARJUNA32014: Stopping transaction recovery
manager
18:17:55,703 INFO [org.jboss.as.messaging] JBAS011605: Unbound messaging object to jndi
name java:/RemoteConnectionFactory
18:17:55,703 INFO [org.jboss.as.messaging] JBAS011605: Unbound messaging object to jndi
name java:/topic/test
18:17:55,704 INFO [jacorb.poa] POA IRPOA destroyed
18:17:55,705 INFO [jacorb.poa] POA RootPOA destroyed
18:17:55,706 INFO [jacorb.orb] prepare ORB for shutdown...
18:17:55,706 INFO [jacorb.orb] ORB going down...
18:17:55,708 INFO [jacorb.orb] ORB shutdown complete
18:17:55,708 INFO [jacorb.orb] ORB run, exit
18:17:55,708 INFO [jacorb.orb.iiop] Listener exited
18:17:55,716 INFO [org.hornetq.core.server.impl.HornetQServerImpl] HornetQ Server version
2.2.7.Final (HQ_2_2_7_FINAL_AS7, 121) [1de246d1-fbf6-11e0-96be-0024d76b7d88] stopped
18:17:55,720 INFO [org.jboss.as.connector.subsystems.datasources] JBAS010409: Unbound
data source [java:jboss/datasources/ExampleDS]
18:17:55,722 INFO [org.jboss.as.connector.subsystems.datasources] JBAS010409: Unbound
data source [java:/my]
18:17:55,723 INFO [org.jboss.as.mail.extension.MailSessionAdd] Unbound mail session
[java:jboss/mail/Default]
18:17:55,727 INFO [org.jboss.as] JBoss AS 7.1.0.Alpha2-SNAPSHOT "Ahoy!" stopped
in 57ms
18:17:55,727 INFO [org.jboss.as] JBoss AS 7.1.0.Alpha2-SNAPSHOT "Ahoy!"
starting
18:17:55,797 WARN [org.jboss.as] No security realm defined for native management service,
all access will be unrestricted.
18:17:55,798 INFO [org.jboss.as] creating http management service using network interface
(management) port (9990)
18:17:55,798 WARN [org.jboss.as] No security realm defined for http management service,
all access will be unrestricted.
18:17:55,804 INFO [org.jboss.as.logging] JBAS011501: Removing bootstrap log handlers
18:17:55,806 INFO [org.jboss.as.connector.subsystems.datasources] (Controller Boot
Thread) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.2)
18:17:55,810 INFO [org.jboss.as.clustering] (Controller Boot Thread) JBAS010300:
Activating Infinispan subsystem.
18:17:55,811 INFO [org.jboss.as.jacorb] (Controller Boot Thread) Activating JacORB
Subsystem
18:17:55,821 INFO [org.jboss.as.naming] (Controller Boot Thread) JBAS011800: Activating
Naming Subsystem
18:17:55,822 INFO [org.jboss.as.naming] (MSC service thread 1-6) JBAS011802: Starting
Naming Service
18:17:55,822 INFO [org.jboss.as.osgi] (Controller Boot Thread) JBAS011910: Activating
OSGi Subsystem
18:17:55,823 INFO [org.jboss.as.mail.extension.MailSessionAdd] (MSC service thread 1-6)
Bound mail session [java:jboss/mail/Default]
18:17:55,824 WARN [org.jboss.as] (Controller Boot Thread) No security realm defined for
native management service, all access will be unrestricted.
18:17:55,824 INFO [org.jboss.as.security] (Controller Boot Thread) Activating Security
Subsystem
18:17:55,833 INFO [org.jboss.as.webservices] (Controller Boot Thread) Activating
WebServices Extension
18:17:55,834 INFO [org.apache.catalina.core.AprLifecycleListener] (MSC service thread
1-7) The Apache Tomcat Native library which allows optimal performance in production
environments was not found on the java.library.path:
/opt/jdk1.6.0_21/jre/lib/i386/server:/opt/jdk1.6.0_21/jre/lib/i386:/opt/jdk1.6.0_21/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
18:17:55,835 INFO [org.jboss.ws.common.management.AbstractServerConfig] (MSC service
thread 1-2) JBoss Web Services - Stack CXF Server 4.0.0.Beta6
18:17:55,841 INFO [org.jboss.as.ee] (Controller Boot Thread) Activating EE subsystem
18:17:55,842 INFO [org.jboss.as.jmx.JMXConnectorService] (MSC service thread 1-6)
Starting remote JMX connector
18:17:55,845 INFO [org.jboss.as.remoting] (MSC service thread 1-5) Listening on
/127.0.0.1:9999
18:17:55,845 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-2)
Starting Coyote HTTP/1.1 on http-tstudio-127.0.0.1-8080
18:17:55,846 INFO [org.jboss.as.jacorb] (MSC service thread 1-1) CORBA ORB Service
Started
18:17:55,849 INFO [org.jboss.as.jacorb] (MSC service thread 1-1) CORBA Naming Service
Started
18:17:55,854 INFO [org.jboss.as.remoting] (MSC service thread 1-7) Listening on
tstudio/127.0.0.1:4447
18:17:55,855 INFO [org.jboss.as.connector] (MSC service thread 1-3) JBAS010408: Starting
JCA Subsystem (JBoss IronJacamar 1.0.5.Final)
18:17:55,861 INFO [org.jboss.as.deployment.connector] (MSC service thread 1-6)
JBAS010401: Bound JCA ConnectionFactory [java:/JmsXA]
18:17:55,863 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread
1-2) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
18:17:55,864 INFO [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread
1-1) live server is starting with configuration HornetQ Configuration
(clustered=false,backup=false,sharedStore=true,journalDirectory=/home/olubyans/git/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/data/messagingjournal,bindingsDirectory=/home/olubyans/git/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/data/messagingbindings,largeMessagesDirectory=/home/olubyans/git/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/data/messaginglargemessages,pagingDirectory=/home/olubyans/git/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/data/messagingpaging)
18:17:55,864 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread
1-4) JBAS010400: Bound data source [java:/my]
18:17:55,864 WARNING [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread
1-1) Security risk! It has been detected that the cluster admin user and password have not
been changed from the installation default. Please see the HornetQ user guide, cluster
chapter, for instructions on how to do this.
18:17:55,865 INFO [org.jboss.as.deployment.connector] (MSC service thread 1-7)
JBAS010406: Registered connection factory java:/JmsXA
18:17:55,868 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC00001: Failed
to start service jboss.raactivator: org.jboss.msc.service.StartException in service
jboss.raactivator: Failed to start RA deployment [hornetq-ra]
at
org.jboss.as.connector.services.ResourceAdapterActivatorService.start(ResourceAdapterActivatorService.java:99)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824)
[jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759)
[jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[:1.6.0_21]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[:1.6.0_21]
at java.lang.Thread.run(Thread.java:619) [:1.6.0_21]
Caused by: org.jboss.jca.deployers.common.DeployException: IJ020056: Deployment failed:
file://RaActivatorhornetq-ra
at
org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer.createObjectsAndInjectValue(AbstractResourceAdapterDeployer.java:2144)
at
org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer.createObjectsAndInjectValue(AbstractResourceAdapterDeployer.java:1020)
at
org.jboss.as.connector.services.ResourceAdapterActivatorService$ResourceAdapterActivator.doDeploy(ResourceAdapterActivatorService.java:142)
at
org.jboss.as.connector.services.ResourceAdapterActivatorService.start(ResourceAdapterActivatorService.java:94)
... 5 more
Caused by: org.jboss.msc.service.DuplicateServiceException: Service
jboss.connector.connection-factory.java:/JmsXA is already registered
at
org.jboss.msc.service.ServiceRegistrationImpl.setInstance(ServiceRegistrationImpl.java:154)
[jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at
org.jboss.msc.service.ServiceControllerImpl.startInstallation(ServiceControllerImpl.java:226)
[jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at org.jboss.msc.service.ServiceContainerImpl.install(ServiceContainerImpl.java:560)
[jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at org.jboss.msc.service.ServiceBuilderImpl.install(ServiceBuilderImpl.java:307)
[jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at
org.jboss.as.connector.metadata.deployment.AbstractResourceAdapterDeploymentService$AbstractAS7RaDeployer.bindConnectionFactory(AbstractResourceAdapterDeploymentService.java:235)
at
org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer.createObjectsAndInjectValue(AbstractResourceAdapterDeployer.java:1925)
... 8 more
18:17:55,882 INFO [org.hornetq.core.remoting.impl.netty.NettyAcceptor] (MSC service
thread 1-1) Started Netty Acceptor version 3.2.3.Final-r${buildNumber} tstudio:5445 for
CORE protocol
18:17:55,903 INFO [org.hornetq.core.remoting.impl.netty.NettyAcceptor] (MSC service
thread 1-1) Started Netty Acceptor version 3.2.3.Final-r${buildNumber} tstudio:5455 for
CORE protocol
18:17:55,904 INFO [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread
1-1) Server is now live
18:17:55,904 INFO [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread
1-1) HornetQ Server version 2.2.7.Final (HQ_2_2_7_FINAL_AS7, 121)
[1de246d1-fbf6-11e0-96be-0024d76b7d88] started
18:17:55,907 INFO [org.jboss.as.messaging] (MSC service thread 1-2) JBAS011601: Bound
messaging object to jndi name java:/RemoteConnectionFactory
18:17:55,908 INFO [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread
1-7) trying to deploy queue jms.topic.testTopic
18:17:55,911 INFO [org.jboss.as.messaging] (MSC service thread 1-7) JBAS011601: Bound
messaging object to jndi name java:/topic/test
18:17:55,911 INFO [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread
1-4) trying to deploy queue jms.queue.testQueue
18:17:55,922 INFO [org.jboss.as.messaging] (MSC service thread 1-4) JBAS011601: Bound
messaging object to jndi name java:/queue/test
18:17:55,923 INFO [org.jboss.as.messaging] (MSC service thread 1-8) JBAS011601: Bound
messaging object to jndi name java:/ConnectionFactory
18:17:55,979 INFO [org.jboss.as.deployment] (MSC service thread 1-8) Started
FileSystemDeploymentService for directory
/home/olubyans/git/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/deployments
18:17:56,000 INFO [org.jboss.as.controller] (Controller Boot Thread) Service status
report
Services which failed to start:
service jboss.raactivator: org.jboss.msc.service.StartException in service
jboss.raactivator: Failed to start RA deployment [hornetq-ra]
18:17:56,000 ERROR [org.jboss.as] (Controller Boot Thread) JBoss AS 7.1.0.Alpha2-SNAPSHOT
"Ahoy!" started (with errors) in 272ms - Started 141 of 204 services (1 services
failed or missing dependencies, 62 services are passive or on-demand)
:reload gives xml persistence exception
---------------------------------------
Key: AS7-2135
URL:
https://issues.jboss.org/browse/AS7-2135
Project: Application Server 7
Issue Type: Bug
Components: Server
Affects Versions: 7.1.0.Alpha1
Environment: Win 7
Reporter: Nicklas Karlsson
Assignee: Alexey Loubyansky
start CLI on a fresh AS and do :reload and you'll get a
21:09:39,415 ERROR [org.jboss.as.controller] Failed to persist configuration change:
org.jboss.as.controller.persistence.ConfigurationPersistenceException: Failed to marshal
configuration
at
org.jboss.as.controller.persistence.FilePersistenceResource.<init>(FilePersistenceResource.java:62)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at
org.jboss.as.controller.persistence.ConfigurationFilePersistenceResource.<init>(ConfigurationFilePersistenceResource.java:39)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at
org.jboss.as.controller.persistence.BackupXmlConfigurationPersister.store(BackupXmlConfigurationPersister.java:80)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at org.jboss.as.controller.ModelControllerImpl.writeModel(ModelControllerImpl.java:282)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at
org.jboss.as.controller.OperationContextImpl.doCompleteStep(OperationContextImpl.java:312)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at
org.jboss.as.controller.OperationContextImpl.completeStep(OperationContextImpl.java:219)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at
org.jboss.as.controller.OperationContextImpl.executeStep(OperationContextImpl.java:440)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at
org.jboss.as.controller.OperationContextImpl.doCompleteStep(OperationContextImpl.java:285)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at
org.jboss.as.controller.OperationContextImpl.completeStep(OperationContextImpl.java:219)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at
org.jboss.as.controller.operations.global.WriteAttributeHandlers$WriteAttributeOperationHandler.modelChanged(WriteAttributeHandlers.java:123)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at
org.jboss.as.controller.operations.global.WriteAttributeHandlers$WriteAttributeOperationHandler.execute(WriteAttributeHandlers.java:90)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at
org.jboss.as.controller.operations.global.GlobalOperationHandlers$WriteAttributeHandler.execute(GlobalOperationHandlers.java:487)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at
org.jboss.as.controller.OperationContextImpl.executeStep(OperationContextImpl.java:386)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at
org.jboss.as.controller.OperationContextImpl.doCompleteStep(OperationContextImpl.java:285)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at
org.jboss.as.controller.OperationContextImpl.completeStep(OperationContextImpl.java:219)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at org.jboss.as.controller.ModelControllerImpl.boot(ModelControllerImpl.java:167)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at
org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:173)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at org.jboss.as.server.ServerService.boot(ServerService.java:208)
at
org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:168)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at org.jboss.as.server.ServerService.boot(ServerService.java:197)
at
org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:133)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_27]
Caused by: org.jboss.as.controller.persistence.ConfigurationPersistenceException: Failed
to write configuration
at
org.jboss.as.controller.persistence.AbstractConfigurationPersister.marshallAsXml(AbstractConfigurationPersister.java:109)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at
org.jboss.as.controller.persistence.FilePersistenceResource.<init>(FilePersistenceResource.java:55)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
... 21 more
Caused by: java.lang.IllegalArgumentException
at org.jboss.dmr.ModelValue.getKeys(ModelValue.java:124)
[jboss-dmr-1.0.0.Final.jar:1.0.0.Final]
at org.jboss.dmr.ModelNode.keys(ModelNode.java:1085)
[jboss-dmr-1.0.0.Final.jar:1.0.0.Final]
at
org.jboss.as.controller.parsing.StandaloneXml.writeServerProfile(StandaloneXml.java:563)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at org.jboss.as.controller.parsing.StandaloneXml.writeContent(StandaloneXml.java:499)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at org.jboss.as.controller.parsing.StandaloneXml.writeContent(StandaloneXml.java:82)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at org.jboss.staxmapper.XMLMapperImpl.doDeparse(XMLMapperImpl.java:78)
[staxmapper-1.0.0.Final.jar:1.0.0.Final]
at org.jboss.staxmapper.XMLMapperImpl.deparseDocument(XMLMapperImpl.java:73)
[staxmapper-1.0.0.Final.jar:1.0.0.Final]
at
org.jboss.as.controller.persistence.AbstractConfigurationPersister.marshallAsXml(AbstractConfigurationPersister.java:103)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
... 22 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira