[JBossWS] - Trying to install an already registered mbean:
by shankha
Hi,
When I start the jboss-4.2.1.GA version it throws the following exceptions.
Can some body help me please??
13:31:25,233 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/
| 13:31:26,592 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
| 13:31:27,857 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/tmp41603jbossws-context-exp.war/
| 13:31:28,529 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
| 13:31:31,060 ERROR [MainDeployer] Could not create deployment: file:/C:/jboss-4.2.1.GA/jboss-4.2.1.GA/server/default/deploy/jms/jbossmq-destinations-service.xml
| org.jboss.deployment.DeploymentException: Trying to install an already registered mbean: jboss.mq.destination:service=Topic,name=securedTopic
| at org.jboss.system.ServiceCreator.install(ServiceCreator.java:103)
| at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:449)
| at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
| at org.jboss.system.ServiceController.install(ServiceController.java:226)
| 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.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 $Proxy4.install(Unknown Source)
| at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
| at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
|
| ---
| ---
anonymous wrote : --- Incompletely deployed packages ---
| org.jboss.deployment.DeploymentInfo@30d210d9 { url=file:/C:/jboss-4.2.1.GA/jboss-4.2.1.GA/server/default/deploy/jms/jbossmq-destinations-service.xml }
| deployer: org.jboss.deployment.SARDeployer@125844f
| status: Deployment FAILED reason: Trying to install an already registered mbean: jboss.mq.destination:service=Topic,name=securedTopic
| state: FAILED
| watch: file:/C:/jboss-4.2.1.GA/jboss-4.2.1.GA/server/default/deploy/jms/jbossmq-destinations-service.xml
| altDD: null
| lastDeployed: 1187683291045
| lastModified: 1187683291014
| mbeans:
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076134#4076134
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076134
18Â years, 9Â months
[JBoss Seam] - Re: Mail examples broken in CVS?
by lowecg2004
Morning Pete,
Thanks for your reply.
anonymous wrote : Firstly, your problem deploying the mail example. I can't reproduce this using current CVS and a clean install of JBoss AS 4.2.1.GA. Is this your setup?
My setup is JBossAS 4.2.0.GA upgraded to Hibernate 3.2.5.GA and JBossWS 2.0.GA. I rolled back to a pre-Hibernate snapshot and the mail component works. I reapplied the Hibernate upgrade and I get the issue.
http://jira.jboss.com/jira/browse/JBSEAM-1830
Surprisingly, Hibernate 3.2.4.SP1 also errors despite working for you in JBossAS 4.2.1.GA. Maybe there is something iffy about the way I upgraded Hibernate (detailed in the JIRA).
anonymous wrote : Please raise a JIRA issue as I'm going to need to talk to the JBoss AS guys about how they package mail-ra now.
Done:
http://jira.jboss.com/jira/browse/JBSEAM-1828
anonymous wrote : anonymous wrote : The doc refers the reader to http://wiki.jboss.org/wiki/Wiki.jsp?page=InboundJavaMail for more information on mail-ra.rar. The wiki currently does not have any information on this file.
| |
| Do you mean the page doesn't work or isn't very clear about what to do?
I just mean that the docs direct me to the link to get more info on mail-ra.rar, but the wiki makes no reference to this file.
anonymous wrote : Please raise a JIRA issue re seam-gen not adding in those files to the eclipse .classpath.
Done:
http://jira.jboss.com/jira/browse/JBSEAM-1829
anonymous wrote : IIRC this is a limitation of EJB3. You need to inject an SFSB/SLSB into the MDB (or Seam component) and do your persistence work in them.
I was panicking over nothing - my first reaction on reading the docs what that persistence would not be usable at all during a MDB callback, including in a SxSB. SxSBs will do the job nicely. I really should know better, however could you add some clarification to the doc?
anonymous wrote : Specific information on mail-ra should be on the wiki not in the Seam manual (as its not part of the Seam project at the moment, but part of the JBoss AS project). So please add/edit that wiki page linked above as you see fit :)
Will do.
This is the first time I've raised a JIRA, so if I have missed anything or not properly observed convention then please let me know and I'll go back and make any required edits.
Cheers,
Chris.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076128#4076128
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076128
18Â years, 9Â months
[JBoss Portal] - Re: Problems with DatabaseServerLoginModule
by pranji
I was able to solve the first problem
but now when i log in using the database server logun module i get a class cast exception
anonymous wrote : java.lang.ClassCastException: org.jboss.security.plugins.JaasSecurityManager
| at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.authenticate(JBossSecurityMgrRealm.java:488)
| at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:257)
| at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:416)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| at java.lang.Thread.run(Thread.java:595)
Any clues as to how to solve this
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076127#4076127
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076127
18Â years, 9Â months
[JBoss Seam] - Re: problem with Stateless beans
by nemya
***** THE PAGE *****
<h:form id="reportCongesCrossDataForm">
<h:dataTable value="#{reportCongesCrossData.boiteNoire.lineDataModel}" var="lineSimple">
...
***** THE BEAN *****
//I want the init() method to be executed every time I show the page
...
@Stateless
@Scope(ScopeType.STATELESS)
@Name("reportCongesCrossData")
public class reportCongesCrossDataBean implements reportCongesCrossData{
@Logger
private Log log;
@In
FacesMessages facesMessages;
private List colonnes = new ArrayList();
private List lignes = new ArrayList();
TypeAbsenceList typeAbsenceList;
CollaborateurList collaborateurList;
private GenericCrossTable<Collaborateur, TypeAbsence, Float> boiteNoire=null;
public reportCongesCrossDataBean() {
this.init();
}
public void init() {
remplirLignes();
remplirColonnes();
boiteNoire = CongeService.getCongePrisByTypeAbsence(lignes, colonnes);
}
...
}
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076124#4076124
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076124
18Â years, 9Â months