01:03:12,878 INFO [TomcatDeployment] deploy, ctxPath=/factory-core
01:03:13,085 WARN [config] Unable to process deployment descriptor for context '/factory-core'
01:03:13,383 INFO [TomcatDeployment] deploy, ctxPath=/funkyfactory-service
01:03:13,463 WARN [config] Unable to process deployment descriptor for context '/funkyfactory-service'
01:04:59,843 WARN [StatelessBeanContext] EJBTHREE-1337: do not get WebServiceContext property from stateless bean context, it should already have been injected
01:05:00,045 WARN [InterceptorsFactory] EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the bean container
01:05:00,062 WARN [InterceptorsFactory] EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the bean container
01:05:00,076 WARN [InterceptorRegistry] applicable interceptors is non-existent for public java.lang.String[] org.qualipso.funkyfactory.service.oslc.OSLCServiceBean.getResourceTypeList()
01:05:00,134 WARN [InterceptorRegistry] applicable interceptors is non-existent for public java.lang.String org.qualipso.funkyfactory.service.oslc.OSLCServiceBean.getServiceName()
01:05:00,155 WARN [InterceptorRegistry] applicable interceptors is non-existent for public org.qualipso.factory.FactoryResource org.qualipso.funkyfactory.service.oslc.OSLCServiceBean.findResource(java.lang.String) throws org.qualipso.factory.FactoryException
01:05:00,195 WARN [InterceptorRegistry] applicable interceptors is non-existent for public java.lang.String org.qualipso.funkyfactory.service.oslc.OSLCServiceBean.getLicensesResult(java.lang.String,java.lang.String,java.lang.String) throws org.qualipso.funkyfactory.service.oslc.OSLCServiceException
01:05:00,240 WARN [InterceptorRegistry] applicable interceptors is non-existent for public java.lang.String[] org.qualipso.funkyfactory.service.oslc.OSLCServiceBean.getResourceTypeList()
01:05:00,257 WARN [InterceptorRegistry] applicable interceptors is non-existent for public java.lang.String org.qualipso.funkyfactory.service.oslc.OSLCServiceBean.getServiceName()
01:05:00,311 WARN [InterceptorRegistry] applicable interceptors is non-existent for public org.qualipso.factory.FactoryResource org.qualipso.funkyfactory.service.oslc.OSLCServiceBean.findResource(java.lang.String) throws org.qualipso.factory.FactoryException
01:05:00,353 WARN [InterceptorRegistry] applicable interceptors is non-existent for public java.lang.String org.qualipso.funkyfactory.service.oslc.OSLCServiceBean.getLicensesResult(java.lang.String,java.lang.String,java.lang.String) throws org.qualipso.funkyfactory.service.oslc.OSLCServiceException
01:06:09,248 INFO [ServerImpl] Runtime shutdown hook called, forceHalt: true
01:06:10,290 INFO [Http11Protocol] Pausing Coyote HTTP/1.1 on http-127.0.0.1-8080
01:06:10,338 INFO [Http11Protocol] Stopping Coyote HTTP/1.1 on http-127.0.0.1-8080
01:06:10,481 INFO [AjpProtocol] Pausing Coyote AJP/1.3 on ajp-127.0.0.1-8009
01:06:10,481 INFO [AjpProtocol] Stopping Coyote AJP/1.3 on ajp-127.0.0.1-8009
01:06:10,581 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@6e696d undeployed
01:06:10,583 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@aeea7f undeployed
01:06:10,584 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@f2ad66 undeployed
01:06:10,611 INFO [TomcatDeployment] undeploy, ctxPath=/web-console
01:06:10,846 INFO [QueueService] Queue[/queue/ExpiryQueue] stopped
01:06:10,848 INFO [QueueService] Queue[/queue/DLQ] stopped
01:06:10,861 INFO [SessionSpecContainer] Stopping jboss.j2ee:ear=funkyfactory-service-0.0.3.ear,jar=factory-core-0.3.1.jar,name=Binding,service=EJB3
01:06:10,872 INFO [EJBContainer] STOPPED EJB: org.qualipso.factory.binding.BindingServiceBean ejbName: Binding
01:06:10,988 INFO [SessionSpecContainer] Stopping jboss.j2ee:ear=funkyfactory-service-0.0.3.ear,jar=factory-core-0.3.1.jar,name=Bootstrap,service=EJB3
01:06:11,008 INFO [EJBContainer] STOPPED EJB: org.qualipso.factory.bootstrap.BootstrapServiceBean ejbName: Bootstrap
01:06:11,220 INFO [SessionSpecContainer] Stopping jboss.j2ee:ear=funkyfactory-service-0.0.3.ear,jar=factory-core-0.3.1.jar,name=Browser,service=EJB3
01:06:11,293 INFO [EJBContainer] STOPPED EJB: org.qualipso.factory.browser.BrowserServiceBean ejbName: Browser
01:06:11,448 INFO [SessionSpecContainer] Stopping jboss.j2ee:ear=funkyfactory-service-0.0.3.ear,jar=factory-core-0.3.1.jar,name=Core,service=EJB3
01:06:11,496 INFO [EJBContainer] STOPPED EJB: org.qualipso.factory.core.CoreServiceBean ejbName: Core
01:06:11,726 INFO [SessionSpecContainer] Stopping jboss.j2ee:ear=funkyfactory-service-0.0.3.ear,jar=factory-core-0.3.1.jar,name=Indexing,service=EJB3
01:06:11,768 INFO [EJBContainer] STOPPED EJB: org.qualipso.factory.indexing.IndexingServiceBean ejbName: Indexing
01:06:11,931 INFO [SessionSpecContainer] Stopping jboss.j2ee:ear=funkyfactory-service-0.0.3.ear,jar=factory-core-0.3.1.jar,name=Membership,service=EJB3
01:06:12,000 INFO [EJBContainer] STOPPED EJB: org.qualipso.factory.membership.MembershipServiceBean ejbName: Membership
01:06:12,199 INFO [SessionSpecContainer] Stopping jboss.j2ee:ear=funkyfactory-service-0.0.3.ear,jar=factory-core-0.3.1.jar,name=Notification,service=EJB3
01:06:12,231 INFO [EJBContainer] STOPPED EJB: org.qualipso.factory.notification.NotificationServiceBean ejbName: Notification
01:06:12,368 INFO [SessionSpecContainer] Stopping jboss.j2ee:ear=funkyfactory-service-0.0.3.ear,jar=factory-core-0.3.1.jar,name=Authentication,service=EJB3
01:06:12,394 INFO [EJBContainer] STOPPED EJB: org.qualipso.factory.security.auth.AuthenticationServiceBean ejbName: Authentication
01:06:12,466 INFO [SessionSpecContainer] Stopping jboss.j2ee:ear=funkyfactory-service-0.0.3.ear,jar=factory-core-0.3.1.jar,name=PAP,service=EJB3
01:06:12,498 INFO [EJBContainer] STOPPED EJB: org.qualipso.factory.security.pap.PAPServiceBean ejbName: PAP
01:06:12,625 INFO [SessionSpecContainer] Stopping jboss.j2ee:ear=funkyfactory-service-0.0.3.ear,jar=factory-core-0.3.1.jar,name=PDP,service=EJB3
01:06:12,653 INFO [EJBContainer] STOPPED EJB: org.qualipso.factory.security.pdp.PDPServiceBean ejbName: PDP
01:06:12,728 INFO [SessionSpecContainer] Stopping jboss.j2ee:ear=funkyfactory-service-0.0.3.ear,jar=factory-core-0.3.1.jar,name=PEP,service=EJB3
01:06:12,744 INFO [EJBContainer] STOPPED EJB: org.qualipso.factory.security.pep.PEPServiceBean ejbName: PEP
01:06:12,878 INFO [SessionSpecContainer] Stopping jboss.j2ee:ear=funkyfactory-service-0.0.3.ear,jar=factory-core-0.3.1.jar,name=PolicyRepository,service=EJB3
01:06:12,903 INFO [EJBContainer] STOPPED EJB: org.qualipso.factory.security.repository.PolicyRepositoryServiceBean ejbName: PolicyRepository
01:09:59,714 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TransactionReaper_18] - TransactionReaper::check timeout for TX 7f000101:8907:4b71216c:7e in state RUN
01:09:59,780 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_58] - Abort of action id 7f000101:8907:4b71216c:7e invoked while multiple threads active within it.
01:09:59,781 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.CheckedAction_2] - CheckedAction::check - atomic action 7f000101:8907:4b71216c:7e aborting with 1 threads active!
01:09:59,782 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TransactionReaper_7] - TransactionReaper::doCancellations worker Thread[Thread-10,5,jboss] successfuly cancelled TX 7f000101:8907:4b71216c:7e
到这里就不再运行了,而我测试的进程也处于运行状态,但是如果吧ws测试中调用部署的函数去掉,换成测试简单字符串的测试,就运行OK。各位有遇到过同样的问题不,小妹现在没有分数拉,不好意思 拉 。。。先谢过拉。。。
4 个解决方案
#1
#2
public static void main(String[] args) {
// TODO Auto-generated method stub
UserManagerBeanService server=new UserManagerBeanService();
UserManagerBean bean=server.getUserManagerBeanPort();
bean.sayHello("张三");
User user=new User();
user.setUsername("lisi");
bean.add(user);
}
我webservice调用第一个简单的方法的时候 jboss报
09:26:05,593 WARN [StatelessBeanContext] EJBTHREE-1337: do not get WebServiceContext property from stateless bean context, it should already have been injected
09:26:05,593 WARN [InterceptorsFactory] EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the bean container
09:26:05,593 WARN [InterceptorsFactory] EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the bean container
调用第二个方法没问题 同样 求解
#3
和业务相关就没办法帮你了/你的调用应该是正确的;只是一些事项可能没有注意到,所以报错了;
#4
目前也遇到类似这样的情况,在网上找也没个确切的解决方案……
#1
#2
public static void main(String[] args) {
// TODO Auto-generated method stub
UserManagerBeanService server=new UserManagerBeanService();
UserManagerBean bean=server.getUserManagerBeanPort();
bean.sayHello("张三");
User user=new User();
user.setUsername("lisi");
bean.add(user);
}
我webservice调用第一个简单的方法的时候 jboss报
09:26:05,593 WARN [StatelessBeanContext] EJBTHREE-1337: do not get WebServiceContext property from stateless bean context, it should already have been injected
09:26:05,593 WARN [InterceptorsFactory] EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the bean container
09:26:05,593 WARN [InterceptorsFactory] EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the bean container
调用第二个方法没问题 同样 求解
#3
和业务相关就没办法帮你了/你的调用应该是正确的;只是一些事项可能没有注意到,所以报错了;
#4
目前也遇到类似这样的情况,在网上找也没个确切的解决方案……