[Beginners Corner] - Having problem to configure with Eclipse EE.
by sdsani
Hi,
I am a new user to Jboss. I recently downloaded Eclipse EE and installed Jboss on my machine. Now if I try to start Jboss using run.bat it works fine. However, if I try to start server after declaring a server configuration in my Eclipse IDE, I am getting exception. Following is the configuration of server in Eclipse.
Server, host names = localhost
Address = 127.0.0.1
Port=8080
JNDI Port=1099
Following is the exception that I get when I start Jboss from Eclipse IDE.
21:05:57,996 ERROR [AbstractKernelController] Error installing to Instantiated: name=TransactionManager state=Described
java.lang.ExceptionInInitializerError: java.net.MalformedURLException: unknown protocol: c
at com.arjuna.ats.arjuna.common.arjPropertyManager.(arjPropertyManager.java:70)
at com.arjuna.ats.jbossatx.jta.TransactionManagerService.(TransactionManagerService.java:103)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.jboss.reflect.plugins.introspection.ReflectionUtils.newInstance(ReflectionUtils.java:149)
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.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:124)
at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:51)
at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1285)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1003)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1024)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:944)
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.change(AbstractController.java:822)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:627)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:265)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:143)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:409)
at org.jboss.Main.boot(Main.java:209)
at org.jboss.Main$1.run(Main.java:544)
at java.lang.Thread.run(Unknown Source)
21:05:58,775 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
*** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
jboss.admin:service=PluginManager
-> jboss.jmx:name=Invoker,protocol=jrmp,service=proxyFactory,type=adaptor{Create:Configured}
jboss.ejb:persistencePolicy=database,service=EJBTimerService
-> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:Configured}
jboss.ejb:service=EJB3TimerService
-> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:Configured}
-> jboss:service=TransactionManager{Create:** NOT FOUND Depends on 'jboss:service=TransactionManager' **}
jboss.ejb:service=EJBTimerService
-> jboss.ejb:persistencePolicy=database,service=EJBTimerService{Create:Configured}
-> jboss:service=TransactionManager{Create:** NOT FOUND Depends on 'jboss:service=TransactionManager' **}
jboss.jca:name='jboss-local-jdbc.rar',service=RARDeployment
-> jboss:service=TransactionManager{Configured:** NOT FOUND Depends on 'jboss:service=TransactionManager' **}
jboss.jca:name='jboss-xa-jdbc.rar',service=RARDeployment
-> jboss:service=TransactionManager{Configured:** NOT FOUND Depends on 'jboss:service=TransactionManager' **}
jboss.jca:name='jms-ra.rar',service=RARDeployment
-> jboss:service=TransactionManager{Configured:** NOT FOUND Depends on 'jboss:service=TransactionManager' **}
jboss.jca:name='mail-ra.rar',service=RARDeployment
-> jboss:service=TransactionManager{Configured:** NOT FOUND Depends on 'jboss:service=TransactionManager' **}
jboss.jca:name='quartz-ra.rar',service=RARDeployment
-> jboss:service=TransactionManager{Configured:** NOT FOUND Depends on 'jboss:service=TransactionManager' **}
jboss.jca:name=DefaultDS,service=DataSourceBinding
-> jboss.jca:name=DefaultDS,service=LocalTxCM{Create:Configured}
jboss.jca:name=DefaultDS,service=LocalTxCM
-> jboss.jca:service=CachedConnectionManager{Create:Configured}
-> jboss:service=TransactionManager{Create:** NOT FOUND Depends on 'jboss:service=TransactionManager' **}
-> jboss.jca:name=DefaultDS,service=ManagedConnectionPool{Create:Configured}
jboss.jca:name=DefaultDS,service=ManagedConnectionFactory
-> jboss.jca:name='jboss-local-jdbc.rar',service=RARDeployment{Create:Instantiated}
jboss.jca:name=DefaultDS,service=ManagedConnectionPool
-> jboss.jca:name=DefaultDS,service=ManagedConnectionFactory{Create:Configured}
jboss.jca:name=JmsXA,service=ConnectionFactoryBinding
-> jboss.jca:name=JmsXA,service=TxCM{Create:Configured}
jboss.jca:name=JmsXA,service=ManagedConnectionFactory
-> jboss.jca:name='jms-ra.rar',service=RARDeployment{Create:Instantiated}
-> jboss.messaging:service=ServerPeer{Create:Configured}
jboss.jca:name=JmsXA,service=ManagedConnectionPool
-> jboss.jca:name=JmsXA,service=ManagedConnectionFactory{Create:Configured}
jboss.jca:name=JmsXA,service=TxCM
-> jboss.jca:service=CachedConnectionManager{Create:Configured}
-> jboss:service=TransactionManager{Create:** NOT FOUND Depends on 'jboss:service=TransactionManager' **}
-> jboss.jca:name=JmsXA,service=ManagedConnectionPool{Create:Configured}
jboss.jca:service=CachedConnectionManager
-> jboss:service=TransactionManager{Create:** NOT FOUND Depends on 'jboss:service=TransactionManager' **}
jboss.jca:service=WorkManager
-> jboss:service=TransactionManager{Create:** NOT FOUND Depends on 'jboss:service=TransactionManager' **}
jboss.jmx:name=Invoker,protocol=jrmp,service=proxyFactory,type=adaptor
-> jboss:service=invoker,type=jrmp{Create:Configured}
jboss.jmx:name=MBeanProxyRemote,protocol=jrmp,type=adaptor
-> jboss.jmx:name=Invoker,protocol=jrmp,service=proxyFactory,type=adaptor{Create:Configured}
jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory
-> jboss.messaging:service=PostOffice{Create:Configured}
-> jboss.messaging:service=ServerPeer{Create:Configured}
jboss.messaging.connectionfactory:service=ClusteredConnectionFactory
-> jboss.messaging:service=PostOffice{Create:Configured}
-> jboss.messaging:service=ServerPeer{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=PostOffice{Create:Configured}
-> jboss.messaging:service=ServerPeer{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:service=TransactionManager{Create:** NOT FOUND Depends on 'jboss:service=TransactionManager' **}
-> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:Configured}
jboss.messaging:service=PersistenceManager
-> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:Configured}
-> jboss:service=TransactionManager{Create:** NOT FOUND Depends on 'jboss:service=TransactionManager' **}
jboss.messaging:service=PostOffice
-> jboss.messaging:service=ServerPeer{Create:Configured}
-> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:Configured}
-> jboss:service=TransactionManager{Create:** NOT FOUND Depends on 'jboss:service=TransactionManager' **}
jboss.messaging:service=ServerPeer
-> jboss.messaging:service=JMSUserManager{Create:Configured}
-> jboss.messaging:service=PersistenceManager{Create:Configured}
jboss.mq:service=DestinationManager
-> jboss.messaging:service=ServerPeer{Create:Configured}
jboss.web.deployment:war=/ROOT
-> jboss.web:service=WebServer{Create:Configured}
jboss.web.deployment:war=/invoker
-> jboss.web:service=WebServer{Create:Configured}
jboss.web.deployment:war=/jbossws
-> jboss.web:service=WebServer{Create:Configured}
jboss.web.deployment:war=/jmx-console
-> jboss.web:service=WebServer{Create:Configured}
jboss.web.deployment:war=/web-console
-> jboss.admin:service=PluginManager{Create:Configured}
-> jboss.web:service=WebServer{Create:Configured}
jboss.web:service=WebServer
-> jboss.jca:service=CachedConnectionManager{Create:Configured}
-> jboss:service=TransactionManager{Create:** NOT FOUND Depends on 'jboss:service=TransactionManager' **}
jboss:service=ClientUserTransaction
-> jboss:service=proxyFactory,target=ClientUserTransaction{Create:Configured}
-> jboss:service=proxyFactory,target=ClientUserTransactionFactory{Create:Configured}
jboss:service=KeyGeneratorFactory,type=HiLo
-> jboss:service=TransactionManager{Create:** NOT FOUND Depends on 'jboss:service=TransactionManager' **}
-> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:Configured}
jboss:service=invoker,type=jrmp
-> jboss:service=TransactionManager{Create:** NOT FOUND Depends on 'jboss:service=TransactionManager' **}
jboss:service=invoker,type=local
-> jboss:service=TransactionManager{Create:** NOT FOUND Depends on 'jboss:service=TransactionManager' **}
jboss:service=invoker,type=pooled
-> jboss:service=TransactionManager{Create:** NOT FOUND Depends on 'jboss:service=TransactionManager' **}
jboss:service=invoker,type=unified
-> jboss:service=TransactionManager{Create:** NOT FOUND Depends on 'jboss:service=TransactionManager' **}
jboss:service=proxyFactory,target=ClientUserTransaction
-> jboss:service=invoker,type=unified{Create:Configured}
jboss:service=proxyFactory,target=ClientUserTransactionFactory
-> jboss:service=invoker,type=unified{Create:Configured}
*** CONTEXTS IN ERROR: Name -> Error
TransactionManager -> java.lang.ExceptionInInitializerError: java.net.MalformedURLException: unknown protocol: c
jboss:service=TransactionManager -> ** NOT FOUND Depends on 'jboss:service=TransactionManager' **
21:05:58,776 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.CR2 (build: SVNTag=JBoss_5_0_0_CR2 date=200809171139)] Started in 26s:946ms
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184986#4184986
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184986
17 years, 6 months
[Remoting] - Re: NPE from one way message dispatch
by ron.sigal@jboss.com
"adinn" wrote :
| I suspect WS needs the unmarshaller to be called in both cases even when the stream is null i.e. we may need to back out this fix. Ho wsensible this is as regards any other remoting clients I am not in a position to say. Perhaps you could comment?
|
Well, logically, I think it doesn't make sense to call an unmarshaller with a null InputStream. Having fixed what I think should be considered a bug, I think rolling back the fix would amount to building in special treatment for a particular case (SOAP unmarshaller). On the other hand, by eliminating a call to the unmarshaller, I have changed the behavior of Remoting in an SP release, something I try to avoid. So I think I'll reopen the case and add a parameter, say "unmarshalnullstream", such that HttpClientInvoker defaults to the original behavior which can be changed to the new behavior by setting "unmarshalnullstream=true".
If you use the SOAP unmarshaller in both (one way / two way) cases, then I assume this change would fix your problem.
I was going to release a version 2.5.0.SP1 today, but I'll hold off briefly while we resolve this problem. I'll attach another jboss-remoting.jar to JBREM-1046.
"adinn" wrote :
| Sorry, for the previous misdiagnosis
|
I'd say it was a partial diagnosis, treated with a partial cure, rather than a misdiagnosis. Anyway, np, it's all good.
-Ron
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184979#4184979
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184979
17 years, 6 months
[Installation, Configuration & DEPLOYMENT] - Re: Strip Down Jboss 4.2.x version??
by PeterJ
If you change the URLs attribute so that it no longer contains the deploy directory, then yes, none of the services currently located in that directory will get deployed. Considering that these services include the web application deployer and the servlet container, not deploying them will prevent web apps from working also.
You have several options:
A) Succumb to conventions and deploy your web app to the deploy directory.
B) Rather than replacing the URLs attribute value, add a second entry to it, using a comma to separate the entries:
<attribute name="URLs">
| deploy/,
| /full/path/to/your/app.war
| </attribute>
|
Note that you can add as many paths as you like, all comma-separated. Note, however, that only the first path is hot-deployed (if you do not understand what this means, you should use option A until you do understand it).
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184972#4184972
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184972
17 years, 6 months