Jboss 5 won't start
ekon Mar 11, 2011 2:00 PMHi,
I installed Jboss eap 5.0.1 and without any modifications, right out of the box, it starts perfectly.
I have the need to have jboss include a remote xml file for deployment though, and this is something I was able to do with jboss 4.2.0 by modifying the jboss-service.xml and adding my http://myserver/myfile.xml to the attribute name URLs. Now, with jboss 5 I found this guide: http://www.mastertheboss.com/jboss-application-server/204-jboss-deployment-directory-configuration.html , it says that all I need to do is to add my additional deploy directory to the server/xxxx/conf/bootstrap/profile.xml to the BootstrapProfileFactory, as an additional value to the URIs list.
I did that but jboss won't start, instead, it gives me the error below. Can you please let me know what am I missing? I don't think that the ability to deploy a remote file has been dropped on jboss eap 5, is that right?
2011-03-11 10:32:15,520 14058 ERROR [main ] logging.Logger ( Logger.java: 419) - Error installing to Create: name=ProfileKey@e9927a[domain=default, server=default, name=applications] state=Configured mode=On Demand requiredState=Installed
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.system.server.profileservice.repository.AbstractProfileLifeCycleAction.invoke(AbstractProfileLifeCycleAction.java:97)
at org.jboss.system.server.profileservice.repository.AbstractProfileLifeCycleAction.invoke(AbstractProfileLifeCycleAction.java:77)
at org.jboss.system.server.profileservice.repository.AbstractProfileLifeCycleAction.install(AbstractProfileLifeCycleAction.java:49)
at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:403)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1633)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:935)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1083)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:985)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:775)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
at org.jboss.system.server.profileservice.repository.AbstractProfileService.registerProfile(AbstractProfileService.java:308)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:256)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
at org.jboss.Main.boot(Main.java:221)
at org.jboss.Main$1.run(Main.java:556)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.IOException: No context factory for http://myserver/myfile.xml
at org.jboss.virtual.VFS.getVFS(VFS.java:168)
2011-03-11 10:32:15,521 14059 INFO [main ] logging.Logger ( Logger.java: 296) - Loading profile: ProfileKey@ff0d4b[domain=default, server=default, name=scheduler_dev_01]
2011-03-11 10:32:15,522 14060 ERROR [main ] util.LoggerStream ( LoggerStream.java: 156) - Failed to boot JBoss:
2011-03-11 10:32:15,522 14060 ERROR [main ] util.LoggerStream ( LoggerStream.java: 156) - java.lang.IllegalStateException: Incompletely deployed:
*** PROFILES IN ERROR: Name -> Error
Profile: ProfileKey@e9927a[domain=default, server=default, name=applications] in error due to java.lang.reflect.InvocationTargetException