[JBossWS] - Re: STRTransform Exception in WS Signing
by lafaserem
Hi!
Ok... I've made it to run the server without this exception adding jbossws-client.jar to the server classpath. I did it so with client but it didn't work.
I've run it in "debug mode" (let's call it like that) and I've seen this:
| DEBUG [main] (SOAPContentElement.java:136) - -----------------------------------
|
| DEBUG [main] (SOAPContentElement.java:137) - Transitioning from XML_VALID to DOM
| _VALID
| DEBUG [main] (SOAPContentElement.java:143) - -----------------------------------
|
| DEBUG [main] (?:?) - setElement("ds:Signature", "null")
| DEBUG [main] (?:?) - setElement("ds:SignedInfo", "null")
| DEBUG [main] (?:?) - setElement("ds:SignatureMethod", "null")
| DEBUG [main] (?:?) - Create URI "http://www.w3.org/2000/09/xmldsig#rsa-sha1" cla
| ss "class org.apache.xml.security.algorithms.implementations.SignatureBaseRSA$Si
| gnatureRSASHA1"
| DEBUG [main] (?:?) - Request for URI http://www.w3.org/2000/09/xmldsig#rsa-sha1
| DEBUG [main] (?:?) - Created SignatureDSA using SHA1withRSA
| DEBUG [main] (?:?) - setElement("ds:KeyInfo", "null")
| java.lang.ClassNotFoundException: org/jboss/ws/extensions/security/STRTransform
| at java.lang.Class.forName0(Native Method)
| at java.lang.Class.forName(Class.java:169)
| at org.apache.xml.security.transforms.Transform.register(Unknown Source)
|
| at org.jboss.ws.extensions.security.STRTransform.<clinit>(STRTransform.j
| ava:64)
| at org.jboss.ws.extensions.security.SignatureVerificationOperation.proce
| ss(SignatureVerificationOperation.java:54)
| at org.jboss.ws.extensions.security.SecurityDecoder.decode(SecurityDecod
| er.java:123)
| at org.jboss.ws.extensions.security.SecurityDecoder.decode(SecurityDecod
| er.java:185)
| at org.jboss.ws.extensions.security.WSSecurityDispatcher.handleInbound(W
| SSecurityDispatcher.java:147)
| at org.jboss.ws.extensions.security.jaxws.WSSecurityHandler.handleInboun
| dSecurity(WSSecurityHandler.java:78)
| at org.jboss.ws.extensions.security.jaxws.WSSecurityHandlerClient.handle
| Inbound(WSSecurityHandlerClient.java:40)
| at org.jboss.ws.core.jaxws.handler.GenericHandler.handleMessage(GenericH
| andler.java:55)
| at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(Ha
| ndlerChainExecutor.java:295)
| at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(Ha
| ndlerChainExecutor.java:140)
| at org.jboss.ws.core.jaxws.client.ClientImpl.callResponseHandlerChain(Cl
| ientImpl.java:168)
| at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:363)
| at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:243)
|
| at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:16
| 4)
| at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:15
| 0)
| at $Proxy15.getRate(Unknown Source)
| at org.jbia.ws.Client.main(Client.java:14)
|
but then I see that it does the verification process just perfect...
| DEBUG [main] (SOAPContentElement.java:136) - -----------------------------------
|
| DEBUG [main] (SOAPContentElement.java:137) - Transitioning from XML_VALID to DOM
| _VALID
| DEBUG [main] (SOAPContentElement.java:143) - -----------------------------------
|
| INFO [main] (?:?) - Verification successful for URI "#element-22-1201015964812-
| 31518612"
|
I'll continue searching the reason of this exception, but if you have some clue I'll be very grateful ;)
Thanks ;)
P.d: I've never said but... sorry for my english, I try to do it the better I can hehe :)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122262#4122262
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122262
18 years, 6 months
[Installation, Configuration & DEPLOYMENT] - Exception deploying spring beans in JBoss 5
by Annegret
Hi,
I'm trying to deploy a war-archieve containing spring-beans into JBoss5.0.0Beta3 and get
JBossXBRuntimeException: Failed to resolve schema nsURI=http://www.springframework.org/schema/beans location=http://www.springframework.org/schema/beans/spring-beans.xsd
| 2008-01-22 14:49:53,695 DEBUG [org.jboss.deployers.vfs.deployer.kernel.BeanDeployer] Error during deploy: vfsfile:/C:/Tools/jboss-5.0.0.Beta3/server/pantherupm/deploy/um.war/
| org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfsfile:/C:/Tools/jboss-5.0.0.Beta3/server/pantherupm/deploy/um.war/
| at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
| at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:232)
| at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:199)
| at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(AbstractParsingDeployerWithOutput.java:162)
| at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:853)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:794)
| at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309)
| at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:498)
| at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:506)
| at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:245)
| at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:131)
| at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:408)
| at org.jboss.Main.boot(Main.java:208)
| at org.jboss.Main$1.run(Main.java:534)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: Failed to resolve schema nsURI=http://www.springframework.org/schema/beans location=http://www.springframework.org/schema/beans/spring-beans.xsd
| at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:193)
| at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:153)
| at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:120)
| at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse(AbstractVFSParsingDeployer.java:112)
| at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:225)
| ... 20 more
| Caused by: org.jboss.xb.binding.JBossXBRuntimeException: Failed to resolve schema nsURI=http://www.springframework.org/schema/beans location=http://www.springframework.org/schema/beans/spring-beans.xsd
| at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:309)
| at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.startElement(SaxJBossXBParser.java:407)
| at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
| at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Source)
| at org.apache.xerces.xinclude.XIncludeHandler.startElement(Unknown Source)
| at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
| at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source)
| at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
| at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
| at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
| at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
| at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
| at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
| at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
| at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:189)
| ... 24 more
|
The war contains the class files of the spring beans in WEB-INF/classes and the configuration files spring-beans.xml in WEB-INF directly,
spring.jar is available in WEB-INF/lib (I tried also to extract spring.jar to WEB-INF/classes)
spring-beans.xml:
| <?xml version="1.0" encoding="UTF-8"?>
| <beans xmlns="http://www.springframework.org/schema/beans"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xmlns:tx="http://www.springframework.org/schema/tx"
| xmlns:aop="http://www.springframework.org/schema/aop"
| xsi:schemaLocation="http://www.springframework.org/schema/beans
| http://www.springframework.org/schema/beans/spring-beans.xsd
| http://www.springframework.org/schema/tx
| http://www.springframework.org/schema/tx/spring-tx.xsd
| http://www.springframework.org/schema/aop
| http://www.springframework.org/schema/aop/spring-aop.xsd">
|
| <bean class="org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor" />
|
| <snip>
|
| </beans>
|
|
The same archieve is deployed successfully in jboss4.2.2GA.
Java version is 1.5.0_11.
I know the deployment changed much from jboss4 to jboss5. Which change may cause this error ?
Any idea/hint how to get the war running in JBoss5 ?
Annegret
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122261#4122261
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122261
18 years, 6 months
[JBoss Seam] - Seam and testing fail. TestNG
by maykellff
Hi all, i'am following the book "Begining JBoss Seam. From novice to Profesional" like a helper to introduce my self in Seam. Now i've transformed a simple jsf application into a Seam-EJB3 application, everything works well but the tests. I'am using Red Hat Developer Studio, it comes with the TestNG plugin, i try to use TestNG to run a test i wrotte but always i get the same error.
Can it be something related to the package structure i have? Maybe TestNG most have some specific package structure in order to look for the resources it need to run the tests.
Any help will be very appreciated.
This is the error i get:
anonymous wrote :
| [Parser] Running:
| D:\workspaceRHDS\jsfTest\temp-testng-customsuite.xml
|
| log4j:WARN No appenders could be found for logger (org.hibernate.ejb.Version).
| log4j:WARN Please initialize the log4j system properly.
| FAILED CONFIGURATION: @BeforeClass init
| javax.persistence.PersistenceException: No Persistence provider for EntityManager named jsfTest
| at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:55)
| at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:33)
| at pruebas.ExpedienteFacadeTest.init(ExpedienteFacadeTest.java:47)
| ... Removed 22 stack frames
| SKIPPED CONFIGURATION: @AfterClass destroy
| SKIPPED: testBuscarExpediente
|
| ===============================================
| pruebas.ExpedienteFacadeTest
| Tests run: 1, Failures: 0, Skips: 1
| Configuration Failures: 1, Skips: 1
| ===============================================
|
|
| ===============================================
| jsfTest
| Total tests run: 1, Failures: 0, Skips: 1
| Configuration Failures: 1, Skips: 1
| ===============================================
I don't know what is happening, i've tried every posible solution but without results. It seens like it doesn't found the persistence.xml.
This is my persistence.xml:
anonymous wrote :
| <?xml version="1.0" encoding="UTF-8"?>
| <!-- Persistence deployment descriptor for dev profile -->
| <persistence xmlns="http://java.sun.com/xml/ns/persistence"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
| version="1.0">
|
| <persistence-unit name="jsfTest">
| org.hibernate.ejb.HibernatePersistence
| <jta-data-source>java:/jsfTestDatasource</jta-data-source>
|
|
|
|
|
|
|
| </persistence-unit>
|
|
This is my components.xml:
anonymous wrote :
| <?xml version="1.0" encoding="UTF-8"?>
|
|
| true
| true
| jsfTest/#{ejbName}/local
|
|
| <managed-persistence-context name="em" auto-create="true" persistence-unit-jndi-name="java:/jsfTestEntityManagerFactory"/>
|
|
|
| <entity-query name="queryExpedientes" ejbql="select e from Expediente e"/>
|
| <persistence:managed-persistence-context name="em"
| auto-create="true"
| entity-manager-factory="#{emf}"/>
|
| <persistence:entity-manager-factory name="emf"
| persistence-unit-name="jsfTest"/>
|
|
This is my test class:
anonymous wrote :
| package pruebas;
|
| import javax.persistence.EntityManager;
| import javax.persistence.EntityManagerFactory;
| import javax.persistence.Persistence;
|
| import org.jboss.seam.annotations.In;
| import org.testng.annotations.Configuration;
| import org.testng.annotations.Test;
|
| import com.domain.Expediente;
| import com.domain.nomenclador.NTipoAcusado;
| import com.facade.ExpedienteFacade;
| import com.facade.impl.ExpedienteFacadeImpl;
|
|
|
| public class ExpedienteFacadeTest {
|
| @In
| EntityManagerFactory emf;
|
| @Test
| public void testBuscarExpediente()
| {
| EntityManager em = emf.createEntityManager();
| em.getTransaction().begin();
|
| NTipoAcusado ta = new NTipoAcusado();
| ta.setId_tipoacusado(1);ta.setValor("Acusado Libre");
|
| Expediente exp = new Expediente();
| exp.setTipoAcusado(ta);
|
| ExpedienteFacadeImpl ef = new ExpedienteFacadeImpl();
| ef.setEm(em);ef.setExpediente(exp);
|
| String strResult = ef.buscarExpediente();
| assert "some".equals(strResult);
| em.getTransaction().rollback();
| em.close();
| }
|
| @Configuration(beforeTestClass=true)
| public void init()
| {
| emf = Persistence.createEntityManagerFactory("jsfTest");
| }
|
| @Configuration(afterTestClass=true)
| public void destroy()
| {
| emf.close();
| }
| }
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122260#4122260
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122260
18 years, 6 months
[JBoss Seam] - Seam Exceptions during load testing
by gayatri.ramamurthi
We have an application developed in Seam, and its well tested and about to be deployed to production.
But we are facing a problem, mainly encountered during load testing. The exception that we get is pasted below.
The app works perfectly fine otherwise, the only problem being slow response time due to some web- service calls.
I would like if anyone can help me with this problem.
- gayatri
---------------------------------------------------------------------------------------------
17 Jan 2008 14:06:45,557 ERROR [SeamPhaseListener] uncaught exception
javax.faces.el.EvaluationException: Exception while invoking expression #{activitiesSearchAction.exitToAccountSummary}
at java.lang.Throwable.(Throwable.java:218)
at java.lang.RuntimeException.(RuntimeException.java:61)
at javax.faces.FacesException.(FacesException.java:47)
at javax.faces.el.EvaluationException.(EvaluationException.java:44)
at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:153)
at org.jboss.seam.actionparam.ActionParamBindingHelper.invokeTheExpression(ActionParamBindingHelper.java:58)
at org.jboss.seam.actionparam.ActionParamMethodBinding.invoke(ActionParamMethodBinding.java:75)
at org.jboss.seam.core.Expressions$2.invoke(Expressions.java:148)
at org.jboss.seam.core.Pages.callAction(Pages.java:499)
at org.jboss.seam.core.Pages.enterPage(Pages.java:248)
at org.jboss.seam.jsf.AbstractSeamPhaseListener.enterPage(AbstractSeamPhaseListener.java:276)
at org.jboss.seam.jsf.AbstractSeamPhaseListener.beforeRender(AbstractSeamPhaseListener.java:214)
at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:40)
at org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersBefore(PhaseListenerManager.java:63)
at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:373)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:939)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:918)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:106)
at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:40)
at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:40)
at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:40)
at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:64)
at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:40)
at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:173)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:106)
at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:96)
at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:220)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:173)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:106)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:75)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:710)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:673)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:276)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:402)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:81)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:615)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1408)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:107)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:394)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:294)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:85)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:532)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:583)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:973)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1063)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1458)
Caused by: java.lang.NullPointerException
at org.jboss.seam.interceptors.SecurityInterceptor.aroundInvoke(SecurityInterceptor.java:27)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
at org.jboss.seam.interceptors.SynchronizationInterceptor.aroundInvoke(SynchronizationInterceptor.java:27)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:95)
at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:151)
at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:42)
at com.churchmutual.rms.form.InspectionSearchForm_$$_javassist_9.getSelectedPriority(InspectionSearchForm_$$_javassist_9.java:0)
at com.churchmutual.rms.service.impl.InspectionRequestSearchConstraintProvider$3.isPayloadValid(InspectionRequestSearchConstraintProvider.java:57)
at com.churchmutual.rms.util.JPAQueryBuilder.buildFront(JPAQueryBuilder.java:97)
at com.churchmutual.rms.util.JPAQueryBuilder.buildQueryString(JPAQueryBuilder.java:85)
at com.churchmutual.rms.util.JPAQueryBuilder.build(JPAQueryBuilder.java:57)
at com.churchmutual.rms.service.impl.AccountInformationServiceImpl.buildAndRunQuery(AccountInformationServiceImpl.java:445)
at com.churchmutual.rms.service.impl.AccountInformationServiceImpl.search(AccountInformationServiceImpl.java:403)
at sun.reflect.GeneratedMethodAccessor324137986.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:20)
at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
at org.jboss.seam.interceptors.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:34)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
at org.jboss.seam.interceptors.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:31)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
at org.jboss.seam.interceptors.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:22)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
at org.jboss.seam.interceptors.SecurityInterceptor.aroundInvoke(SecurityInterceptor.java:27)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:95)
at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:151)
at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:42)
at com.churchmutual.rms.service.impl.AccountInformationServiceImpl_$$_javassist_10.search(AccountInformationServiceImpl_$$_javassist_10.java:0)
at com.churchmutual.rms.action.impl.InspectionSearchActionImpl.doSearch(InspectionSearchActionImpl.java:328)
at com.churchmutual.rms.action.impl.InspectionSearchActionImpl.search(InspectionSearchActionImpl.java:309)
at sun.reflect.GeneratedMethodAccessor1447893139.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:20)
at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
at org.jboss.seam.interceptors.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:34)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
at org.jboss.seam.interceptors.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:31)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
at org.jboss.seam.interceptors.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:22)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
at org.jboss.seam.interceptors.SynchronizationInterceptor.aroundInvoke(SynchronizationInterceptor.java:27)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:95)
at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:151)
at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:42)
at com.churchmutual.rms.action.impl.InspectionSearchActionImpl_$$_javassist_8.search(InspectionSearchActionImpl_$$_javassist_8.java:0)
at com.churchmutual.rms.action.impl.ActivitiesSearchActionImpl.exitToAccountSummary(ActivitiesSearchActionImpl.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:20)
at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
at org.jboss.seam.interceptors.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:34)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
at org.jboss.seam.interceptors.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:31)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
at org.jboss.seam.interceptors.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:22)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
at org.jboss.seam.interceptors.SynchronizationInterceptor.aroundInvoke(SynchronizationInterceptor.java:27)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:95)
at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:151)
at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:42)
at com.churchmutual.rms.action.impl.ActivitiesSearchActionImpl_$$_javassist_14.exitToAccountSummary(ActivitiesSearchActionImpl_$$_javassist_14.java:0)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:129)
... 45 more
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122257#4122257
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122257
18 years, 6 months
Problems in deploying two applications that have the same EJB bundled in
by Mika Rautio
Hello,
I'm having a problem deploying two applications where both applications
use the same EJB jar file. The project worked and has been deployed
succesfully on Oracle Application Server 10g but there's a need to
migrate it to JBoss AS (4.2.2GA).
So, if application A and application B are separately deployed to the
JBoss application server they work fine but if I try to deploy them both
they will broke.
Both applications have this defined in the application.xml:
<module>
<ejb>backengine-ejb.jar</ejb>
</module>
What do I need to do to work around the problem?
Here's the backengine-ejb.jar error debug log listing that occurs when
trying to deploy application A if application B has already been deployed:
--- BEGIN ---
2008-01-22 14:49:06,109 DEBUG [org.jboss.deployment.MainDeployer] create
step for deployment
file:/C:/jboss-4.2.2.GA/server/default/tmp/deploy/tmp30124ApplicationA.ear-contents/backengine-ejb.jar
2008-01-22 14:49:06,109 DEBUG [org.jboss.ejb.EJBDeployer] create,
backengine-ejb.jar
2008-01-22 14:49:06,140 DEBUG [org.jboss.ejb.EJBDeployer] Verifying
file:/C:/jboss-4.2.2.GA/server/default/tmp/deploy/tmp30124ApplicationA.ear-contents/backengine-ejb.jar
2008-01-22 14:49:06,140 DEBUG [org.jboss.ejb.EJBDeployer.verifier] Bean
checked: TransactionServiceBean: Verified.
2008-01-22 14:49:06,156 DEBUG [org.jboss.ejb.EJBDeployer.verifier] Bean
checked: DomainServiceBean: Verified.
2008-01-22 14:49:06,156 DEBUG [org.jboss.ejb.EJBDeployer.verifier] Bean
checked: LoginBean: Verified.
2008-01-22 14:49:06,156 DEBUG [org.jboss.ejb.EJBDeployer] The EJBModule
name: jboss.j2ee:service=EjbModule,module=backengine-ejb.jaris already
registered, adding uid=32436392
2008-01-22 14:49:06,156 DEBUG [org.jboss.ejb.EJBDeployer] Deploying:
file:/C:/jboss-4.2.2.GA/server/default/tmp/deploy/tmp30124ApplicationA.ear-contents/backengine-ejb.jar
2008-01-22 14:49:06,156 DEBUG [org.jboss.system.ServiceController]
Creating service
jboss.j2ee:module=backengine-ejb.jar,uid=32436392,service=EjbModule
2008-01-22 14:49:06,156 DEBUG [org.jboss.ejb.EjbModule] Creating
jboss.j2ee:module=backengine-ejb.jar,uid=32436392,service=EjbModule
2008-01-22 14:49:06,156 DEBUG [org.jboss.ejb.EjbModule] createService, begin
2008-01-22 14:49:06,156 INFO [org.jboss.ejb.EjbModule] Deploying
TransactionServiceBean
2008-01-22 14:49:06,156 DEBUG [org.jboss.ejb.EjbModule] Creating
WebClassLoader of class org.jboss.web.WebClassLoader
2008-01-22 14:49:06,171 DEBUG [org.jboss.ejb.EjbModule] creating binding
for TransactionServiceBean:stateless-unified-invoker
2008-01-22 14:49:06,171 INFO [org.jboss.ejb.EjbModule] Deploying
DomainServiceBean
2008-01-22 14:49:06,171 DEBUG [org.jboss.ejb.EjbModule] Creating
WebClassLoader of class org.jboss.web.WebClassLoader
2008-01-22 14:49:06,171 DEBUG [org.jboss.ejb.EjbModule] creating binding
for DomainServiceBean:stateless-unified-invoker
2008-01-22 14:49:06,171 INFO [org.jboss.ejb.EjbModule] Deploying LoginBean
2008-01-22 14:49:06,187 DEBUG [org.jboss.ejb.EjbModule] Creating
WebClassLoader of class org.jboss.web.WebClassLoader
2008-01-22 14:49:06,187 DEBUG [org.jboss.ejb.EjbModule] creating binding
for LoginBean:stateless-unified-invoker
2008-01-22 14:49:06,187 INFO [org.jboss.ejb.StatelessSessionContainer]
Registration is not done -> stop
2008-01-22 14:49:06,203 DEBUG [org.jboss.ejb.EjbModule] Looking to
destroy container: jboss.j2ee:jndiName=LoginBean,service=EJB, state:
Unregistered, destroy: false
2008-01-22 14:49:06,203 DEBUG [org.jboss.ejb.EjbModule] Looking to
destroy container: jboss.j2ee:jndiName=DomainServiceBean,service=EJB,
state: Unregistered, destroy: false
2008-01-22 14:49:06,203 DEBUG [org.jboss.ejb.EjbModule] Looking to
destroy container:
jboss.j2ee:jndiName=TransactionServiceBean,service=EJB, state:
Unregistered, destroy: false
2008-01-22 14:49:06,203 DEBUG [org.jboss.ejb.EjbModule] Initialization
failed jboss.j2ee:module=backengine-ejb.jar,uid=32436392,service=EjbModule
javax.management.InstanceAlreadyExistsException:
jboss.j2ee:jndiName=TransactionServiceBean,service=EJB already registered.
at
org.jboss.mx.server.registry.BasicMBeanRegistry.add(BasicMBeanRegistry.java:761)
at
org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:225)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1422)
at java.security.AccessController.doPrivileged(Native Method)
at
org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1417)
at
org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:376)
at org.jboss.ejb.EjbModule.createService(EjbModule.java:373)
at
org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)
at
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243)
at sun.reflect.GeneratedMethodAccessor154.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.create(Unknown Source)
at org.jboss.system.ServiceController.create(ServiceController.java:330)
at org.jboss.system.ServiceController.create(ServiceController.java:273)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy31.create(Unknown Source)
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:641)
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:585)
at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at
org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
at
org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
at
org.jboss.wsf.container.jboss42.DeployerInterceptor.create(DeployerInterceptor.java:76)
at
org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180)
at
org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy32.create(Unknown Source)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:959)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy9.deploy(Unknown Source)
at
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
at
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
2008-01-22 14:49:06,203 WARN [org.jboss.system.ServiceController]
Problem creating service
jboss.j2ee:module=backengine-ejb.jar,uid=32436392,service=EjbModule
javax.management.InstanceAlreadyExistsException:
jboss.j2ee:jndiName=TransactionServiceBean,service=EJB already registered.
at
org.jboss.mx.server.registry.BasicMBeanRegistry.add(BasicMBeanRegistry.java:761)
at
org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:225)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1422)
at java.security.AccessController.doPrivileged(Native Method)
at
org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1417)
at
org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:376)
at org.jboss.ejb.EjbModule.createService(EjbModule.java:373)
at
org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)
at
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243)
at sun.reflect.GeneratedMethodAccessor154.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.create(Unknown Source)
at org.jboss.system.ServiceController.create(ServiceController.java:330)
at org.jboss.system.ServiceController.create(ServiceController.java:273)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy31.create(Unknown Source)
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:641)
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:585)
at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at
org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
at
org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
at
org.jboss.wsf.container.jboss42.DeployerInterceptor.create(DeployerInterceptor.java:76)
at
org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180)
at
org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy32.create(Unknown Source)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:959)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy9.deploy(Unknown Source)
at
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
at
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
2008-01-22 14:49:06,203 DEBUG [org.jboss.deployment.MainDeployer] Done
with create step of deploying backengine-ejb.jar
--- END ---
Thanks in advance,
Mika Rautio
18 years, 6 months
[Security & JAAS/JBoss] - Re: NullPointerException @ DatabaseServerLoginModule.java:14
by jahebe
Hello, and thanks for the reply.
Removing the DOCTYPE did not help.
The version i JBoss 4.2.2.GA.
| Web Applications
|
| java:comp namespace of the http-invoker.sar/invoker.war application:
|
| +- UserTransaction[link -> UserTransaction] (class: javax.naming.LinkRef)
| +- env (class: org.jnp.interfaces.NamingContext)
| | +- security (class: org.jnp.interfaces.NamingContext)
| | | +- realmMapping[link -> java:/jaas/jmx-console] (class: javax.naming.LinkRef)
| | | +- subject[link -> java:/jaas/jmx-console/subject] (class: javax.naming.LinkRef)
| | | +- securityMgr[link -> java:/jaas/jmx-console] (class: javax.naming.LinkRef)
| | | +- security-domain[link -> java:/jaas/jmx-console] (class: javax.naming.LinkRef)
|
|
| java:comp namespace of the jbossws.sar/jbossws-context.war application:
|
| +- UserTransaction[link -> UserTransaction] (class: javax.naming.LinkRef)
| +- env (class: org.jnp.interfaces.NamingContext)
| | +- security (class: org.jnp.interfaces.NamingContext)
| | | +- realmMapping[link -> java:/jaas/other] (class: javax.naming.LinkRef)
| | | +- subject[link -> java:/jaas/other/subject] (class: javax.naming.LinkRef)
| | | +- securityMgr[link -> java:/jaas/other] (class: javax.naming.LinkRef)
| | | +- security-domain[link -> java:/jaas/other] (class: javax.naming.LinkRef)
|
|
| java:comp namespace of the jbossmq-httpil.sar/jbossmq-httpil.war application:
|
| +- UserTransaction[link -> UserTransaction] (class: javax.naming.LinkRef)
| +- env (class: org.jnp.interfaces.NamingContext)
| | +- security (class: org.jnp.interfaces.NamingContext)
| | | +- realmMapping[link -> java:/jaas/jbossmq] (class: javax.naming.LinkRef)
| | | +- subject[link -> java:/jaas/jbossmq/subject] (class: javax.naming.LinkRef)
| | | +- securityMgr[link -> java:/jaas/jbossmq] (class: javax.naming.LinkRef)
| | | +- security-domain[link -> java:/jaas/jbossmq] (class: javax.naming.LinkRef)
|
|
| java:comp namespace of the app-clocker-ear-1.0-SNAPSHOT.ear/app-clocker-ws-1.0-SNAPSHOT.war application:
|
| +- UserTransaction[link -> UserTransaction] (class: javax.naming.LinkRef)
| +- env (class: org.jnp.interfaces.NamingContext)
| | +- security (class: org.jnp.interfaces.NamingContext)
| | | +- realmMapping[link -> java:/jaas/fluxmonClocker] (class: javax.naming.LinkRef)
| | | +- subject[link -> java:/jaas/fluxmonClocker/subject] (class: javax.naming.LinkRef)
| | | +- securityMgr[link -> java:/jaas/fluxmonClocker] (class: javax.naming.LinkRef)
| | | +- security-domain[link -> java:/jaas/fluxmonClocker] (class: javax.naming.LinkRef)
|
|
| java:comp namespace of the console-mgr.sar/web-console.war application:
|
| +- UserTransaction[link -> UserTransaction] (class: javax.naming.LinkRef)
| +- env (class: org.jnp.interfaces.NamingContext)
| | +- security (class: org.jnp.interfaces.NamingContext)
| | | +- realmMapping[link -> java:/jaas/other] (class: javax.naming.LinkRef)
| | | +- subject[link -> java:/jaas/other/subject] (class: javax.naming.LinkRef)
| | | +- securityMgr[link -> java:/jaas/other] (class: javax.naming.LinkRef)
| | | +- security-domain[link -> java:/jaas/other] (class: javax.naming.LinkRef)
|
|
| java:comp namespace of the jmx-console.war application:
|
| +- UserTransaction[link -> UserTransaction] (class: javax.naming.LinkRef)
| +- env (class: org.jnp.interfaces.NamingContext)
| | +- security (class: org.jnp.interfaces.NamingContext)
| | | +- realmMapping[link -> java:/jaas/other] (class: javax.naming.LinkRef)
| | | +- subject[link -> java:/jaas/other/subject] (class: javax.naming.LinkRef)
| | | +- securityMgr[link -> java:/jaas/other] (class: javax.naming.LinkRef)
| | | +- security-domain[link -> java:/jaas/other] (class: javax.naming.LinkRef)
|
|
| java:comp namespace of the app-clocker-wui.war application:
|
| +- UserTransaction[link -> UserTransaction] (class: javax.naming.LinkRef)
| +- env (class: org.jnp.interfaces.NamingContext)
| | +- security (class: org.jnp.interfaces.NamingContext)
| | | +- realmMapping[link -> java:/jaas/other] (class: javax.naming.LinkRef)
| | | +- subject[link -> java:/jaas/other/subject] (class: javax.naming.LinkRef)
| | | +- securityMgr[link -> java:/jaas/other] (class: javax.naming.LinkRef)
| | | +- security-domain[link -> java:/jaas/other] (class: javax.naming.LinkRef)
|
|
| java:comp namespace of the jboss-web.deployer/ROOT.war application:
|
| +- UserTransaction[link -> UserTransaction] (class: javax.naming.LinkRef)
| +- env (class: org.jnp.interfaces.NamingContext)
| | +- security (class: org.jnp.interfaces.NamingContext)
| | | +- realmMapping[link -> java:/jaas/other] (class: javax.naming.LinkRef)
| | | +- subject[link -> java:/jaas/other/subject] (class: javax.naming.LinkRef)
| | | +- securityMgr[link -> java:/jaas/other] (class: javax.naming.LinkRef)
| | | +- security-domain[link -> java:/jaas/other] (class: javax.naming.LinkRef)
|
|
| java: Namespace
|
| +- jaas (class: javax.naming.Context)
| | +- HsqlDbRealm (class: org.jboss.security.plugins.SecurityDomainContext)
| | +- jbossmq (class: org.jboss.security.plugins.SecurityDomainContext)
| | +- JmsXARealm (class: org.jboss.security.plugins.SecurityDomainContext)
| +- TransactionPropagationContextImporter (class: com.arjuna.ats.internal.jbossatx.jta.PropagationContextManager)
| +- comp.ejb3 (class: javax.naming.Context)
| | NonContext: null
| +- JmsXA (class: org.jboss.resource.adapter.jms.JmsConnectionFactoryImpl)
| +- DefaultDS (class: org.jboss.resource.adapter.jdbc.WrapperDataSource)
| +- StdJMSPool (class: org.jboss.jms.asf.StdServerSessionPoolFactory)
| +- TransactionManager (class: com.arjuna.ats.jbossatx.jta.TransactionManagerDelegate)
| +- TransactionPropagationContextExporter (class: com.arjuna.ats.internal.jbossatx.jta.PropagationContextManager)
| +- ConnectionFactory (class: org.jboss.mq.SpyConnectionFactory)
| +- DefaultJMSProvider (class: org.jboss.jms.jndi.JNDIProviderAdapter)
| +- XAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory)
| +- Mail (class: javax.mail.Session)
| +- comp.original (class: javax.namingMain.Context)
| +- timedCacheFactory (class: javax.naming.Context)
| Failed to lookup: timedCacheFactory, errmsg=org.jboss.util.TimedCachePolicy
| +- SecurityProxyFactory (class: org.jboss.security.SubjectSecurityProxyFactory)
| +- FluxMonClockerDS (class: org.jboss.resource.adapter.jdbc.WrapperDataSource)
| +- comp (class: javax.naming.Context)
| +- FluxMonAuthDS (class: org.jboss.resource.adapter.jdbc.WrapperDataSource)
|
|
| Global JNDI Namespace
|
| +- TopicConnectionFactory (class: org.jboss.naming.LinkRefPair)
| +- jmx (class: org.jnp.interfaces.NamingContext)
| | +- invoker (class: org.jnp.interfaces.NamingContext)
| | | +- RMIAdaptor (proxy: $Proxy47 implements interface org.jboss.jmx.adaptor.rmi.RMIAdaptor,interface org.jboss.jmx.adaptor.rmi.RMIAdaptorExt)
| | +- rmi (class: org.jnp.interfaces.NamingContext)
| | | +- RMIAdaptor[link -> jmx/invoker/RMIAdaptor] (class: javax.naming.LinkRef)
| +- HTTPXAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory)
| +- ConnectionFactory (class: org.jboss.mq.SpyConnectionFactory)
| +- fluxmon-clocker (class: org.jnp.interfaces.NamingContext)
| | +- ConfigurationServiceBean (class: org.jnp.interfaces.NamingContext)
| | | +- local (proxy: $Proxy86 implements interface com.fluxmon.clocker.beans.ConfigurationServiceLocal,interface org.jboss.ejb3.JBossProxy)
| | | +- remote (proxy: $Proxy84 implements interface com.fluxmon.clocker.beans.ConfigurationServiceRemote,interface org.jboss.ejb3.JBossProxy)
| +- UserTransactionSessionFactory (proxy: $Proxy14 implements interface org.jboss.tm.usertx.interfaces.UserTransactionSessionFactory)
| +- HTTPConnectionFactory (class: org.jboss.mq.SpyConnectionFactory)
| +- XAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory)
| +- TransactionSynchronizationRegistry (class: com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionSynchronizationRegistryImple)
| +- UserTransaction (class: org.jboss.tm.usertx.client.ClientUserTransaction)
| +- app-clocker-ear-1.0-SNAPSHOT (class: org.jnp.interfaces.NamingContext)
| | +- ReportingServiceBean (class: org.jnp.interfaces.NamingContext)
| | | +- local (proxy: $Proxy89 implements interface com.fluxmon.clocker.beans.ReportingService,interface org.jboss.ejb3.JBossProxy)
| | +- TimeReportServiceBean (class: org.jnp.interfaces.NamingContext)
| | | +- local (proxy: $Proxy92 implements interface com.fluxmon.clocker.beans.TimeReportService,interface org.jboss.ejb3.JBossProxy)
| +- UILXAConnectionFactory[link -> XAConnectionFactory] (class: javax.naming.LinkRef)
| +- UIL2XAConnectionFactory[link -> XAConnectionFactory] (class: javax.naming.LinkRef)
| +- queue (class: org.jnp.interfaces.NamingContext)
| | +- A (class: org.jboss.mq.SpyQueue)
| | +- testQueue (class: org.jboss.mq.SpyQueue)
| | +- ex (class: org.jboss.mq.SpyQueue)
| | +- DLQ (class: org.jboss.mq.SpyQueue)
| | +- D (class: org.jboss.mq.SpyQueue)
| | +- C (class: org.jboss.mq.SpyQueue)
| | +- B (class: org.jboss.mq.SpyQueue)
| +- topic (class: org.jnp.interfaces.NamingContext)
| | +- testDurableTopic (class: org.jboss.mq.SpyTopic)
| | +- testTopic (class: org.jboss.mq.SpyTopic)
| | +- securedTopic (class: org.jboss.mq.SpyTopic)
| +- console (class: org.jnp.interfaces.NamingContext)
| | +- PluginManager (proxy: $Proxy48 implements interface org.jboss.console.manager.PluginManagerMBean)
| +- UIL2ConnectionFactory[link -> ConnectionFactory] (class: javax.naming.LinkRef)
| +- persistence.units:ear=app-clocker-ear-1.0-SNAPSHOT.ear,jar=app-clocker-svc-1.0-SNAPSHOT.ejb3.jar,unitName=FluxMonClocker (class: org.hibernate.impl.SessionFactoryImpl)
| +- HiLoKeyGeneratorFactory (class: org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory)
| +- UILConnectionFactory[link -> ConnectionFactory] (class: javax.naming.LinkRef)
| +- QueueConnectionFactory (class: org.jboss.naming.LinkRefPair)
| +- UUIDKeyGeneratorFactory (class: org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGeneratorFactory)
|
|
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122255#4122255
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122255
18 years, 6 months