[JBoss jBPM] - gwt-console datasource problems
by jjrs
Hi
I am having problems for using the GWT console. I am using the version that comes with the installer jbpm-installer-3.3.1.GA.jar. And deployed it to jboss-5.0.1.GA and jboss-4.2.3.GA facing in both cases the same problem. I am using Oracle for the jBPM database.
Even if the console is connecting to the correct database ( I am sure of it, as I can see process definitions, tokens, etc...), the BIRT part of it seems to use a different datasource, as I am getting all the time the below exception (pay attention to the Null user or password not supported in THIN driver part):
| 2009-03-03 15:01:36,394 WARN [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] (http-127.0.0.1-8080-2) Destroying connection that could not be successfully matched: org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener@1b159e5[state=NORMAL mc=org.jboss.resource.adapter.jdbc.local.LocalManagedConnection@bb53fd handles=0 lastUse=1236092495065 permit=false trackByTx=false mcp=org.jboss.resource.connectionmanager.JBossManagedConnectionPool$OnePool@1d69e03 context=org.jboss.resource.connectionmanager.InternalManagedConnectionPool@1201158 xaResource=org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource@d8fd10 txSync=null]
| 2009-03-03 15:01:36,440 WARN [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] (http-127.0.0.1-8080-2) Throwable while attempting to get a new connection: null
| org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: Null user or password not supported in THIN driver)
| at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.getLocalManagedConnection(LocalManagedConnectionFactory.java:225)
| at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:195)
| at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:611)
| at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:257)
| at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:607)
| at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:404)
| at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:381)
| at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:496)
| at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:941)
| at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:104)
| at org.eclipse.birt.report.data.oda.jdbc.JndiDataSource.getDataSourceConnection(JndiDataSource.java:159)
| at org.eclipse.birt.report.data.oda.jdbc.JndiDataSource.getConnection(JndiDataSource.java:133)
| at org.eclipse.birt.report.data.oda.jdbc.JDBCDriverManager.getJndiDSConnection(JDBCDriverManager.java:227)
| at org.eclipse.birt.report.data.oda.jdbc.JDBCDriverManager.doConnect(JDBCDriverManager.java:184)
| at org.eclipse.birt.report.data.oda.jdbc.JDBCDriverManager.getConnection(JDBCDriverManager.java:158)
| at org.eclipse.birt.report.data.oda.jdbc.Connection.connectByUrl(Connection.java:158)
| at org.eclipse.birt.report.data.oda.jdbc.Connection.open(Connection.java:115)
| at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaConnection.open(OdaConnection.java:235)
| at org.eclipse.birt.data.engine.odaconsumer.ConnectionManager.openConnection(ConnectionManager.java:145)
| at org.eclipse.birt.data.engine.executor.DataSource.newConnection(DataSource.java:134)
| at org.eclipse.birt.data.engine.executor.DataSource.open(DataSource.java:121)
| at org.eclipse.birt.data.engine.impl.DataSourceRuntime.openOdiDataSource(DataSourceRuntime.java:214)
| at org.eclipse.birt.data.engine.impl.QueryExecutor.openDataSource(QueryExecutor.java:265)
| at org.eclipse.birt.data.engine.impl.QueryExecutor.prepareExecution(QueryExecutor.java:210)
| at org.eclipse.birt.data.engine.impl.PreparedQuery.doPrepare(PreparedQuery.java:500)
| at org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.execute(PreparedDataSourceQuery.java:161)
| at org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery.execute(PreparedOdaDSQuery.java:142)
| at org.eclipse.birt.report.data.adapter.impl.DataRequestSessionImpl.execute(DataRequestSessionImpl.java:445)
| at org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExecuteQuery(DteDataEngine.java:151)
| at org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExecuteQuery(DteDataEngine.java:117)
| at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.execute(AbstractDataEngine.java:182)
| at org.eclipse.birt.report.engine.executor.ExecutionContext.executeQuery(ExecutionContext.java:1685)
| at org.eclipse.birt.report.engine.executor.QueryItemExecutor.executeQuery(QueryItemExecutor.java:76)
| at org.eclipse.birt.report.engine.executor.TableItemExecutor.execute(TableItemExecutor.java:61)
| at org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor.java:42)
| at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:45)
| at org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportItemExecutor.execute(LocalizedReportItemExecutor.java:33)
| at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:63)
| at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:85)
| at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:106)
| at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:140)
| at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:68)
| at org.jboss.balalaika.BirtService.render(BirtService.java:152)
| at org.jboss.balalaika.ReportFacade.viewReportHtml(ReportFacade.java:129)
| 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.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:77)
| at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:197)
| at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:185)
| at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:123)
| at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:348)
| at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:182)
| at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:90)
| at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:66)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
| at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
| at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
| at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
| at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
| at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)
| at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: java.sql.SQLException: Null user or password not supported in THIN driver
| at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
| at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
| at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227)
| at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:213)
| at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:366)
| at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:151)
| at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
| at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:563)
| at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.getLocalManagedConnection(LocalManagedConnectionFactory.java:207)
| ... 77 more
Questions:
How can I fix it ?
There seem to be many functionalities depending on Birt so I can't do that much with this error.
I have modified the file jboss-web.xml inside report-server.war and enabled the sections <class-loading> and <resource-ref> that were commented out, and seemed to reference the correct data source definition, JbpmDS, but it made no difference and still got the same error.
Now the file report-server.war/jboss-web.xml has the next content :
<?xml version="1.0" encoding="UTF-8"?>
|
| <!DOCTYPE jboss-web PUBLIC
| "-//JBoss//DTD Web Application 2.4//EN"
| "http://www.jboss.org/j2ee/dtd/jboss-web_4_2.dtd">
|
| <jboss-web>
|
| <class-loading>
| <loader-repository>
| org.bpm.console.server:report-server.war
| </loader-repository>
| </class-loading>
|
| <security-domain>java:/jaas/jbpm-console</security-domain>
|
| <context-root>report-server</context-root>
|
| <resource-ref>
| <res-ref-name>jdbc/JbpmDataSource</res-ref-name>
| <jndi-name>java:/JbpmDS</jndi-name>
| </resource-ref>
|
|
| </jboss-web>
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4214579#4214579
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4214579
15 years, 10 months
[EJB 3.0] - EJB Timer still active even after the bean is undeployed !
by Nouredine13
Hello,
i have the following problem:
I can not kill an ejb timer after the call unregisterTimer method, and the timer is still active even after the ejb is undeployed.
the source code of my bean is here under :
| package com.test.timer;
|
| import javax.annotation.PreDestroy;
| import javax.annotation.Resource;
| import javax.ejb.EJBException;
| import javax.ejb.Local;
| import javax.ejb.NoSuchObjectLocalException;
| import javax.ejb.Remote;
| import javax.ejb.SessionContext;
| import javax.ejb.Stateless;
| import javax.ejb.Timeout;
| import javax.ejb.Timer;
| import javax.ejb.TimerHandle;
| import javax.ejb.TimerService;
| import javax.ejb.TransactionAttribute;
| import javax.ejb.TransactionAttributeType;
| import javax.ejb.TransactionManagement;
| import javax.ejb.TransactionManagementType;
| import javax.naming.Context;
| import javax.naming.InitialContext;
| import javax.naming.NamingException;
|
| import org.apache.log4j.Logger;
|
|
|
|
| @Local( ITimerManagerLocal.class)
| @Remote(ITimerManagerRemote.class)
| @TransactionManagement(TransactionManagementType.CONTAINER)
| @TransactionAttribute(TransactionAttributeType.SUPPORTS)
| @Stateless( name = "NotifyExpiration", mappedName="NotifyExpirationRemote")
| public class TimerManagerBean implements ITimerManagerLocal, ITimerManagerRemote {
|
|
| private static final Logger logger = Logger.getLogger ( "EXPIRATION_SERVICE");
|
| @Resource
| private SessionContext sessionContext;
|
| @Resource
| private TimerService timerService;
|
| //--------------------------------------------------------------------------
| // Methods
| //--------------------------------------------------------------------------
| @PreDestroy
| public void unregisterTimer() throws NamingException {
|
| logger.info( "NOTIFY TIMEOUT UNREGISTER");
|
| Context ctx = new InitialContext();
|
| try {
| TimerHandle handle = (TimerHandle) ctx.lookup( "TIMER_JNDI_NAME");
| ctx.unbind("TIMER_JNDI_NAME");
| if (handle != null){
| try {
| Timer expirationTimer = handle.getTimer();
| if (expirationTimer != null){
| expirationTimer.cancel();
| }
| } catch (NoSuchObjectLocalException e) {
| logger.warn( "UNABLE TO UNREGISTER TIME OUT", e);
| } catch (IllegalStateException e) {
| logger.warn( "UNABLE TO UNREGISTER TIME OUT", e);
| } catch (EJBException e) {
| logger.warn( "UNABLE TO UNREGISTER TIME OUT" , e);
| }
| }
| } catch (Throwable thre){
| logger.warn( "UNABLE TO UNREGISTER TIME OUT", thre);
| return;
| }
| }
|
|
| public void registerTimer() throws NamingException {
| unregisterTimer();
| int delai = 10 * 1000;
| Timer expirationTimer = createTimer( delai);
| Context ctx = new InitialContext();
| ctx.bind("TIMER_JNDI_NAME", expirationTimer.getHandle());
| if (logger.isInfoEnabled()){
| logger.info("TIMER REGISTERED " + expirationTimer.getNextTimeout().getTime());
|
| }
| }
|
| private Timer createTimer( int delai)
| {
| try {
| return sessionContext.getTimerService().createTimer(delai, delai, null);
| } catch( Throwable thr) {
| return timerService.createTimer (delai, delai, null);
| }
| }
|
| @Timeout
| //(a)TransactionAttribute(TransactionAttributeType.REQUIRES_NEW)
| public void timedOut(Timer obj)
| {
| try {
| if (logger.isDebugEnabled()){
| logger.debug(
| String.format("TIMER WAKEUP at: " + System.currentTimeMillis()));
|
| }
| logger.debug("do something...");
| }catch (RuntimeException e) {
| logger.debug( "TIMER WAKEUP FAILS");
| }
| }
|
|
| }
|
|
so first i register the timer by calling registerTimer() method, and i wont to kill it by calling unregisterTimer() method. but this does not work, and the timer remains active even after the bean is undeployed.
If somme one has an idea or workaround to solve this problem ?
Thank you so match.
Regard's.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4214557#4214557
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4214557
15 years, 10 months
[Installation, Configuration & DEPLOYMENT] - Re: Deployment error in JBOSS 5. DeploymentException
by cdmunoz
hi,
there were a lot of jboss aop xml files needed in the project that didn't have a definition. So I added the definition on those files with something like this:
| <!DOCTYPE aop PUBLIC
| "-//JBoss//DTD JBOSS AOP 1.0//EN"
| "http://www.jboss.org/aop/dtd/jboss-aop_1_0.dtd">
Then I redeployed the app and I got this:
| Caused by: org.jboss.xb.binding.JBossXBRuntimeException: Failed to parse schema for nsURI=, baseURI=null, schemaLocation=http://www.jboss.org/aop/dtd/jboss-aop_1_0.dtd
|
So, I searched why and I found on https://jira.jboss.org/jira/browse/JBAOP-291;jsessionid=4C0B953C93886EA26... that I had to change de value of dtd schema location to "http://labs.jboss.com/portal/jbossaop/dtd/jboss-aop_1_0.dtd". I did it and I'm getting the same error:
| 09:44:38,798 ERROR [AbstractKernelController] Error installing to Parse: name=vfszip:/C:/jboss-5.0.0.GA/server/default/deploy/felectronico.ear state=Not Installed mode=Manual requiredState=Parse
| org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfszip:/C:/jboss-5.0.0.GA/server/default/deploy/felectronico.ear/felectronico.war
| at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
| at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:337)
| at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:297)
| at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:269)
| at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(AbstractParsingDeployerWithOutput.java:230)
| at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
| 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:781)
| at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545)
| at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)
| at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
| at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
| at org.jboss.Main.boot(Main.java:209)
| at org.jboss.Main$1.run(Main.java:547)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: Failed to parse schema for nsURI=, baseURI=null, schemaLocation=http://labs.jboss.com/portal/jbossaop/dtd/jboss-aop_1_0.dtd
| at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:203)
| at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:168)
| at org.jboss.deployers.vfs.spi.deployer.JBossXBDeployerHelper.parse(JBossXBDeployerHelper.java:199)
| at org.jboss.deployers.vfs.spi.deployer.JBossXBDeployerHelper.parse(JBossXBDeployerHelper.java:170)
| at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:132)
| at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:118)
| at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parseAndInit(AbstractVFSParsingDeployer.java:256)
| at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse(AbstractVFSParsingDeployer.java:239)
| at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:330)
|
What must I do now?
Thks,
C.D
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4214556#4214556
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4214556
15 years, 10 months
[JBoss Cache: Core Edition] - Dynamic multicast configuration
by kovacsrf
Dear All !
We are using JBoss 4.2.2GA with JBossCache 1.4.1 SP5.
The following standard services are based on TreeCache and TreeCacheAop in our case:
jboss.cache:service=TomcatClusteringCache,
jboss.cache:service=EJB3EntityTreeCache and jboss.cache:service=EJB3SFSBClusteredCache
The JChannel configurations of these services come from the service descriptors, where unicast is defined.
I want to reconfigure these services for using multicast but without editing the service xml's.
If a special JVM property is defined these services should start using multicast JChannel configuration.
I found the managed operations setClusterProperties() and setClusterConfig() of TreeCache. With help of these methods it is possible to change these configurations after service restart.
But I want to avoid restarting the services, the decision (which configuration should be used) must be made during service start up.
Any feedback or comment are welcome.
Regards,
Robert
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4214554#4214554
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4214554
15 years, 10 months
[JBoss Messaging] - User null is NOT authenticated
by rnicholson10
On AS5.0.0.GA we occasionally get an error when we startup jboss on two different boxes when there is a bridge between them.
Here's the course of events:
1) Start both JBoss instances (on physically different boxes, no clustering)
2) Redeploy the bridge on one server (bug in this release)
3) and we get the ERROR below.
The strange thing is that the only way to get this error to go away is to restart both servers and deploy the bridge again.
If we remove the bridge file so it's not there on startup and deploy once startup is complete, we will never get the error below.
Just making you guys aware of this.
| 2009-03-03 12:11:18,423 WARN [org.jboss.jms.server.bridge.Bridge] jboss.messaging:name=TestBridge,service=Bridge Failed to set up connections
| javax.jms.JMSSecurityException: User null is NOT authenticated
| at org.jboss.jms.server.jbosssx.JBossASSecurityMetadataStore.authenticate(JBossASSecurityMetadataStore.java:223)
| at sun.reflect.GeneratedMethodAccessor402.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(Unknown Source)
| at javax.management.StandardMBean.invoke(Unknown Source)
| at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy110.authenticate(Unknown Source)
| at org.jboss.jms.server.endpoint.ServerConnectionFactoryEndpoint.createConnectionDelegateInternal(ServerConnectionFactoryEndpoint.java:233)
| at org.jboss.jms.server.endpoint.ServerConnectionFactoryEndpoint.createConnectionDelegate(ServerConnectionFactoryEndpoint.java:171)
| at org.jboss.jms.server.endpoint.advised.ConnectionFactoryAdvised.org$jboss$jms$server$endpoint$advised$ConnectionFactoryAdvised$createConnectionDelegate$aop(ConnectionFactoryAdvised.java:108)
| at org.jboss.jms.server.endpoint.advised.ConnectionFactoryAdvised.createConnectionDelegate(ConnectionFactoryAdvised.java)
| at org.jboss.jms.wireformat.ConnectionFactoryCreateConnectionDelegateRequest.serverInvoke(ConnectionFactoryCreateConnectionDelegateRequest.java:91)
| at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:143)
| at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:908)
| at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:742)
| at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:695)
| at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:549)
| at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:230)
| at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:206)
| at org.jboss.remoting.Client.invoke(Client.java:1708)
| at org.jboss.remoting.Client.invoke(Client.java:612)
| at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$createConnectionDelegate$aop(ClientConnectionFactoryDelegate.java:171)
| at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.invokeTarget(ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.java)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)
| at org.jboss.jms.client.container.StateCreationAspect.handleCreateConnectionDelegate(StateCreationAspect.java:81)
| at org.jboss.aop.advice.org.jboss.jms.client.container.StateCreationAspect_z_handleCreateConnectionDelegate_5452358.invoke(StateCreationAspect_z_handleCreateConnectionDelegate_5452358.java)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
| at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.createConnectionDelegate(ClientConnectionFactoryDelegate.java)
| at org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:205)
| at org.jboss.jms.client.JBossConnectionFactory.createXAConnection(JBossConnectionFactory.java:128)
| at org.jboss.jms.client.JBossConnectionFactory.createXAConnection(JBossConnectionFactory.java:123)
| at org.jboss.jms.server.bridge.Bridge.createConnection(Bridge.java:859)
| at org.jboss.jms.server.bridge.Bridge.setupJMSObjects(Bridge.java:958)
| at org.jboss.jms.server.bridge.Bridge.setupJMSObjectsWithRetry(Bridge.java:1166)
| at org.jboss.jms.server.bridge.Bridge.access$1600(Bridge.java:66)
| at org.jboss.jms.server.bridge.Bridge$FailureHandler.run(Bridge.java:1512)
| at java.lang.Thread.run(Thread.java:595)
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4214545#4214545
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4214545
15 years, 10 months