[Design of JBoss Web Services] - Error loading Web Services
by sacramentojoe
I have downloaded JBoss AS 4.0.5. I'm on JDK 1.5. I downloaded the jbossws-1.0.4.GA. I followed the install directions in the install.txt.
I get the following error during startup. I'm new to J2EE and App Servers so I don't even know where to start.
Thank you in advance for your assistance.
--- MBeans waiting for other MBeans ---
ObjectName: jboss.beans:service=JBossBeanDeployment,name='jbossws.beans'
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Cannot start AbstractKernelD
eployment@ed65e0{name=file:/C:/Program Files/jboss/server/default/deploy/jbossws
/jbossws.beans/META-INF/jboss-beans.xml installed=true beans=[AbstractBeanMetaDa
ta@1bb9533{name=ServiceEndpointManager bean=org.jboss.ws.server.ServiceEndpointM
anager properties=[serviceEndpointInvokerMDB, serviceEndpointInvokerJSE, service
EndpointInvokerEJB3, alwaysModifySOAPAddress, serviceEndpointInvokerEJB21, webSe
rviceHost] constructor=null}, AbstractBeanMetaData@406b09{name=ServiceEndpointDe
ployer bean=org.jboss.ws.deployment.ServiceEndpointDeployer properties=[serviceE
ndpointManager] constructor=null}, AbstractBeanMetaData@1332b63{name=ServiceEndp
ointPublisher bean=org.jboss.ws.integration.jboss.JBossServiceEndpointPublisher
properties=[serviceEndpointServlet, serviceEndpointDeployer] constructor=null},
AbstractBeanMetaData@657c7b{name=JMSMessageDispatcher bean=org.jboss.ws.integrat
ion.jboss.jms.JMSMessageDispatcher properties= constructor=null}, AbstractBeanMe
taData@cf7fda{name=SubscriptionManager bean=org.jboss.ws.eventing.mgmt.Subscript
ionManager properties=[defaultLeaseTimeMins, maxLeaseTimeMins] constructor=null}
, AbstractBeanMetaData@d2f5f1{name=ServerConfig bean=org.jboss.ws.integration.jb
oss.ServerConfigImpl properties= constructor=null}, AbstractBeanMetaData@10c276{
name=KernelLocator bean=org.jboss.ws.server.KernelLocator properties= constructo
r=null}]}; - nested throwable: (java.lang.IllegalStateException: Incompletely de
ployed:
*** DEPLOYMENTS IN ERROR:
SubscriptionManager -> org.jboss.joinpoint.spi.JoinpointException: Property defa
ultLeaseTimeMins not found for AbstractBeanInfo(a)12bbe6b{name=org.jboss.ws.eventi
ng.mgmt.SubscriptionManager classInfo= properties=[completedTaskCount, largestPo
olSize, activeCount, eventKeepAlive, class, maxPoolSize, maximumPoolSize, corePo
olSize] methods=[, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
, , , , , , , , ] constructors=[] events=}
ServiceEndpointManager -> javax.management.InstanceAlreadyExistsException: jboss
.ws:service=ServiceEndpointManager already registered.
JMSMessageDispatcher -> java.lang.ClassNotFoundException: No ClassLoaders found
for: org.jboss.ws.integration.jboss.jms.JMSMessageDispatcher
*** DEPLOYMENTS MISSING DEPENDENCIES:
ServiceEndpointPublisher -> ServiceEndpointDeployer{Configured:Instantiated}
ServiceEndpointDeployer -> ServiceEndpointManager{Configured:**ERROR**}
)
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.beans:service=JBossBeanDeployment,name='jbossws.beans'
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Cannot start AbstractKernelD
eployment@ed65e0{name=file:/C:/Program Files/jboss/server/default/deploy/jbossws
/jbossws.beans/META-INF/jboss-beans.xml installed=true beans=[AbstractBeanMetaDa
ta@1bb9533{name=ServiceEndpointManager bean=org.jboss.ws.server.ServiceEndpointM
anager properties=[serviceEndpointInvokerMDB, serviceEndpointInvokerJSE, service
EndpointInvokerEJB3, alwaysModifySOAPAddress, serviceEndpointInvokerEJB21, webSe
rviceHost] constructor=null}, AbstractBeanMetaData@406b09{name=ServiceEndpointDe
ployer bean=org.jboss.ws.deployment.ServiceEndpointDeployer properties=[serviceE
ndpointManager] constructor=null}, AbstractBeanMetaData@1332b63{name=ServiceEndp
ointPublisher bean=org.jboss.ws.integration.jboss.JBossServiceEndpointPublisher
properties=[serviceEndpointServlet, serviceEndpointDeployer] constructor=null},
AbstractBeanMetaData@657c7b{name=JMSMessageDispatcher bean=org.jboss.ws.integrat
ion.jboss.jms.JMSMessageDispatcher properties= constructor=null}, AbstractBeanMe
taData@cf7fda{name=SubscriptionManager bean=org.jboss.ws.eventing.mgmt.Subscript
ionManager properties=[defaultLeaseTimeMins, maxLeaseTimeMins] constructor=null}
, AbstractBeanMetaData@d2f5f1{name=ServerConfig bean=org.jboss.ws.integration.jb
oss.ServerConfigImpl properties= constructor=null}, AbstractBeanMetaData@10c276{
name=KernelLocator bean=org.jboss.ws.server.KernelLocator properties= constructo
r=null}]}; - nested throwable: (java.lang.IllegalStateException: Incompletely de
ployed:
*** DEPLOYMENTS IN ERROR:
SubscriptionManager -> org.jboss.joinpoint.spi.JoinpointException: Property defa
ultLeaseTimeMins not found for AbstractBeanInfo(a)12bbe6b{name=org.jboss.ws.eventi
ng.mgmt.SubscriptionManager classInfo= properties=[completedTaskCount, largestPo
olSize, activeCount, eventKeepAlive, class, maxPoolSize, maximumPoolSize, corePo
olSize] methods=[, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
, , , , , , , , ] constructors=[] events=}
ServiceEndpointManager -> javax.management.InstanceAlreadyExistsException: jboss
.ws:service=ServiceEndpointManager already registered.
JMSMessageDispatcher -> java.lang.ClassNotFoundException: No ClassLoaders found
for: org.jboss.ws.integration.jboss.jms.JMSMessageDispatcher
*** DEPLOYMENTS MISSING DEPENDENCIES:
ServiceEndpointPublisher -> ServiceEndpointDeployer{Configured:Instantiated}
ServiceEndpointDeployer -> ServiceEndpointManager{Configured:**ERROR**}
)
10:52:36,844 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0
-8080
10:52:36,969 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
10:52:36,985 INFO [JkMain] Jk running ID=0 time=0/79 config=null
10:52:36,985 INFO [Server] JBoss (MX MicroKernel) [4.0.5.GA (build: CVSTag=Bran
ch_4_0 date=200610162339)] Started in 34s:672ms
10:55:30,625 ERROR [[/jbossws]] StandardWrapper.Throwable
org.jboss.kernel.spi.registry.KernelRegistryEntryNotFoundException: Entry not fo
und with name: ServiceEndpointManager
at org.jboss.kernel.plugins.registry.AbstractKernelRegistry.getEntry(Abs
tractKernelRegistry.java:99)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4006502#4006502
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4006502
17 years, 5 months
[Design of POJO Server] - Re: ManagementView refresh
by charles.crouch@jboss.com
Running ProfileServiceUnitTestCase from eclipse I just get two failures:
testUpdateDataSource()
org.jboss.profileservice.spi.NoSuchDeploymentException: name=testAddDataSource-dsf.xml, phase=null
| at org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository.getDeployment(SerializableDeploymentRepository.java:283)
| at org.jboss.system.server.profile.repository.ProfileImpl.getDeployment(ProfileImpl.java:122)
| at org.jboss.profileservice.management.ManagementViewImpl.getDeployment(ManagementViewImpl.java:205)
|
testRemoveDataSource()
| org.jboss.profileservice.spi.NoSuchDeploymentException: Failed to find deployment for name: testAddDataSource-dsf.xml
| at org.jboss.profileservice.management.ManagementViewImpl.getMatchingDeploymentName(ManagementViewImpl.java:175)
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4006398#4006398
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4006398
17 years, 5 months
[Design of EJB 3.0] - Re: EJBTHREE-615 still present in Embedded-ALPHA9
by jazir1979
Hi Bill,
We did some further testing today using the original CalculatorBean example provided with the old embedded EJB3 stuff.
I found that the bug that was reported originally -- a NullPointerException when calling EJBContext.getCallerPrincipal() is definitely FIXED in the latest code from SVN.
However, the (similar) bug that I'm having still occurs.
You can reproduce it by modifying the add() method in CalculatorBean.java to call ctx.isCallerInRole("student") (or "teacher", or anything..). You will get an IllegalArgumentException in Util.getSubjectRoles(), because the Subject is null:
| [java] java.lang.IllegalArgumentException: Subject is null
| [java] at org.jboss.security.Util.getSubjectRoles(Util.java:632)
| [java] at
| org.jboss.security.plugins.JBossAuthorizationManager.getCurrentRoles(JBossAu
| thorizationManager.java:302)
| [java] at
| org.jboss.security.plugins.JBossAuthorizationManager.doesUserHaveRole(JBossA
| uthorizationManager.java:126)
| [java] at
| org.jboss.security.plugins.JaasSecurityManager.doesUserHaveRole(JaasSecurity
| Manager.java:401)
| [java] at
| org.jboss.ejb3.BaseSessionContext.isCallerInRole(BaseSessionContext.java:233
| )
| [java] at
| com.synyati.spurwing.test.bean.CalculatorBean.add(CalculatorBean.java:51)
|
thanks for your help on this one,
Daniel.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4006244#4006244
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4006244
17 years, 5 months
[Design of JCA on JBoss] - Re: JBossTS/JCA Recovery work for JBoss 4.2
by weston.price@jboss.com
anonymous wrote :
| For instance, JBM has a messaging bridge - which can run standalone in basically a stripped down version of JBoss. The bridge creates connections to other jms servers, and (depending on QoS required) consumes and send messages from one server to the other in a JTA transaction.
|
How stripped down? I would be interested to see how you got rid of JCA being that, without it, JBoss typically won't run (at least all those parts of the code requiring JDBC access). I am assuming that your JMS implementation is using a persistence store is it not? Are you managing your connections yourself, do you rely on JBoss to do this? If the latter..well...I hate to be the bearer of bad tidings... ;-)
anonymous wrote :
| So, yes, I admit that from inside the JEE app server, all XA stuff should be done via JCA, but should we limit ourselves to that?
|
On the 'Design of JCA on JBoss' forum we will.
anonymous wrote :
|
| Why not abstract out the recovery stuff to another service which can be used by both JCA and anyone else?
|
Because this is what the SPI contract of JCA already provides to a ResourceAdapter, ResourceManager, Application Server and Transaction Manager. Again, this is in the context of JBoss 4.2 and what needs to be done to finish this work. Not JBoss5 or later. If you want, please feel free to start another thread to that end.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4006054#4006054
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4006054
17 years, 5 months
[Design of JCA on JBoss] - Re: JBossTS/JCA Recovery work for JBoss 4.2
by timfox
I think you guys are thinking in purely JEE terms, in which case you are probably correct.
But what abou people who use JBoss as an all purpose service hosting container and aren't doing JEE - it would nice for them to be able to use recovery too.
For instance, JBM has a messaging bridge - which can run standalone in basically a stripped down version of JBoss. The bridge creates connections to other jms servers, and (depending on QoS required) consumes and send messages from one server to the other in a JTA transaction.
No JCA is used here, but we need recovery. So far we have done this by implementing our own XAResourceRecovery.
And you can imagine many more cases where people implement their own non JEE services which do stuff with XA not using JCA.
So, yes, I admit that from inside the JEE app server, all XA stuff should be done via JCA, but should we limit ourselves to that?
Why not abstract out the recovery stuff to another service which can be used by both JCA and anyone else?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4006041#4006041
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4006041
17 years, 5 months