[Installation, Configuration & DEPLOYMENT] - Re: Problem re-deploying war inside ear
by cardoso
Update:
I changed my servlets code to get the local interface for the ejb to be called via @ejb annotation.
| private TestObjectAdminBeanLocal testObjectAdmin;
|
| @EJB(name = "testObjectAdmin")
| public void setTestObjectAdmin(TestObjectAdminBeanLocal testObjectAdmin) {
| this.testObjectAdmin = testObjectAdmin;
| }
|
The exception that occurs now seems to have the same cause as the one before, when I was trying to get the local interface from jndi via lookup and a class cast exception was thrown while narrowing.
| 2008-04-21 15:26:55,384 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/myapp]] Marking servlet TestObjectService as unavailable
| 2008-04-21 15:26:55,385 DEBUG [org.apache.catalina.core.StandardWrapper] Error instantiating servlet class de.mth.myapp.webapp.TestObjectServiceImpl
| java.lang.RuntimeException: Non matching type for @Inject of setter: public void de.mth.myapp.webapp.TestObjectServiceImpl.setTestObjectAdmin(de.mth.myapp.server.TestObjectAdminBeanLocal) for type: $Proxy90
| at org.jboss.injection.JndiMethodInjector.inject(JndiMethodInjector.java:104)
| at org.jboss.web.tomcat.service.TomcatInjectionContainer.processAnnotations(TomcatInjectionContainer.java:266)
| at org.jboss.web.tomcat.service.TomcatInjectionContainer.newInstance(TomcatInjectionContainer.java:172)
| at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1006)
| at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:950)
| at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4072)
| at org.apache.catalina.core.StandardContext.start(StandardContext.java:4377)
| at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
| at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
| at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
| 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.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
| at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
| at org.apache.catalina.core.StandardContext.init(StandardContext.java:5357)
| at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:346)
| at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)
| at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:347)
| at org.jboss.web.deployers.WebModule.startModule(WebModule.java:89)
| at org.jboss.web.deployers.WebModule.start(WebModule.java:67)
| 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:157)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
| 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:668)
| at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:184)
| at $Proxy5.start(Unknown Source)
| at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
| at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
| at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
| at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
| at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
| at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327)
| at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:255)
| 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.system.ServiceController.doChange(ServiceController.java:659)
| at org.jboss.system.ServiceController.start(ServiceController.java:431)
| at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:150)
| at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:108)
| at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
| at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:65)
| at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
| 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.doInstallParentFirst(DeployersImpl.java:874)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:906)
| 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.hotdeploy.HDScanner.scan(HDScanner.java:290)
| at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
| at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
| at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)
| at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)
| at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:65)
| at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:142)
| at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:166)
| at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
| at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: java.lang.IllegalArgumentException: argument type mismatch
| 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.injection.JndiMethodInjector.inject(JndiMethodInjector.java:94)
| ... 78 more
|
Again, if I restart the server, it works fine and the local object is injected correctly and the updated webapp gets deployed.
Does JBoss need any configuration for the servlet-ejb relationship in the deployment descriptor of the ear, jar or war to redeploy correctly?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145526#4145526
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4145526
18 years
[JBoss Messaging] - Re: Jboss Messaging How To
by ataylor
looks like the docs are out of date, the clientid is now set via a constructor.
I would start with a simple connection factory like:
<mbean code="org.jboss.jms.server.connectionfactory.ConnectionFactory"
| name="jboss.messaging.connectionfactory:service=ConnectionFactory"
| xmbean-dd="xmdesc/ConnectionFactory-xmbean.xml">
| <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
| <depends optional-attribute-name="Connector">jboss.messaging:service=Connector,transport=bisocket</depends>
| <depends>jboss.messaging:service=PostOffice</depends>
|
| <attribute name="JNDIBindings">
| <bindings>
| <binding>/ConnectionFactory</binding>
| <binding>/XAConnectionFactory</binding>
| <binding>java:/ConnectionFactory</binding>
| <binding>java:/XAConnectionFactory</binding>
| </bindings>
| </attribute>
| </mbean>
here are all the configurable attributes
<mbean code="org.jboss.jms.server.connectionfactory.ConnectionFactory"
| name="jboss.messaging.connectionfactory:service=MyExampleConnectionFactory"
| xmbean-dd="xmdesc/ConnectionFactory-xmbean.xml">
|
| <constructor>
|
| <!- - You can specify the default Client ID to use for connections created using this factory - ->
|
| <arg type="java.lang.String" value="MyClientID"/>
|
| </constructor>
|
| <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
|
| <!- - The transport to use - can be bisocket, sslbisocket or http - ->
|
| <depends optional-attribute-name="Connector">jboss.messaging:service=Connector,transport=http</depends>
|
| <depends>jboss.messaging:service=PostOffice</depends>
|
| <!- - PrefetchSize determines the approximate maximum number of messages the client consumer will buffer locally - ->
|
| <attribute name="PrefetchSize">150</attribute>
|
| <!- - Paging params to be used for temporary queues - ->
|
| <attribute name="DefaultTempQueueFullSize">200000</attribute>
|
| <attribute name="DefaultTempQueuePageSizeSize">2000</attribute>
|
| <attribute name="DefaultTempQueueDownCacheSize">2000</attribute>
|
| <!- - The batch size to use when using the DUPS_OK_ACKNOWLEDGE acknowledgement mode - ->
|
| <attribute name="DupsOKBatchSize">5000</attribute>
|
| <!- - Does this connection factory support automatic failover? - ->
|
| <attribute name="SupportsFailover">false</attribute>
|
| <!- - Does this connection factory support automatic client side load balancing? - ->
|
| <attribute name="SupportsLoadBalancing">false</attribute>
|
| <!- - The class name of the factory used to create the load balancing policy to use on the client side - ->
|
| <attribute name="LoadBalancingFactory">org.jboss.jms.client.plugin.RoundRobinLoadBalancingFactory</attribute>
|
| <!- - Whether we should be strict TCK compliant, i.e. how we deal with foreign messages, defaults to false- ->
|
| <attribute name="StrictTck">true</attribute>
|
| <!- - Disable JBoss Remoting Connector sanity checks - There is rarely a good reason to set this to true - ->
|
| <attribute name="DisableRemotingChecks">false</attribute>
|
| <!- - The connection factory will be bound in the following places in JNDI - ->
|
| <attribute name="JNDIBindings">
|
| <bindings>
|
| <binding>/acme/MyExampleConnectionFactory</binding>
|
| <binding>/acme/MyExampleConnectionFactoryDupe</binding>
|
| <binding>java:/xyz/CF1</binding>
|
| <binding>java:/connectionfactories/acme/connection_factory</binding>
|
| </bindings>
|
| </attribute>
|
| </mbean>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145522#4145522
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4145522
18 years
[JBoss Messaging] - Re: Jboss Messaging How To
by sudheer_java26
"sudheer_java26" wrote : thanks for your reply.
|
| I created connection factory as given here
| http://www.jboss.org/file-access/default/members/jbossmessaging/freezone/...
|
| but when I run my program , i am getting error as
| -----------------
| Exception in thread "main" javax.naming.NameNotFoundException: MyConnectionFactory not bound
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
| --------------
|
| but when I start server
|
| I tried by running as fallows
|
|
| C:\myjboss-4.2.2\jboss-4.2.2.GA\bin>run -c messaging (i did not change anything while installing so , my messaging path is as default)
| =====================================================
| 18:57:42,078 INFO [TransactionManagerService] Setting up property manager MBean
| and JMX layer
| 18:57:42,312 INFO [TransactionManagerService] Starting recovery manager
| 18:57:42,421 INFO [TransactionManagerService] Recovery manager started
| 18:57:42,421 INFO [TransactionManagerService] Binding TransactionManager JNDI R
| eference
| 18:57:46,062 INFO [EJB3Deployer] Starting java:comp multiplexer
| 18:57:47,515 INFO [STDOUT] no object for null
| 18:57:47,531 INFO [STDOUT] no object for null
| 18:57:47,562 INFO [STDOUT] no object for null
| 18:57:47,593 INFO [STDOUT] no object for {urn:jboss:bean-deployer}supplyType
| 18:57:47,609 INFO [STDOUT] no object for {urn:jboss:bean-deployer}dependsType
| 18:57:50,437 INFO [NativeServerConfig] JBoss Web Services - Native
| 18:57:50,437 INFO [NativeServerConfig] jbossws-native-2.0.1.SP2 (build=20071021
| 0837)
| 18:57:51,062 INFO [ServiceConfigurator] Problem configuring service jboss.messa
| ging.connectionfactory:service=MyConnectionFactory
| org.jboss.deployment.DeploymentException: Exception setting attribute javax.mana
| gement.Attribute@1b94ea2 on mbean jboss.messaging.connectionfactory:service=MyCo
| nnectionFactory; - nested throwable: (javax.management.AttributeNotFoundExceptio
| n: Attribute 'ClientID' is not writable)
| at org.jboss.system.ServiceConfigurator.setAttribute(ServiceConfigurator
| .java:707)
| at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.ja
| va:332)
| at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigura
| tor.java:462)
| at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
| :157)
| at org.jboss.system.ServiceController.install(ServiceController.java:226
| )
| at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
| sorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
| er.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)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
| java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
| sorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
| er.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
| or.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
| BeanOperationInterceptor.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(URLDeploymen
| tScanner.java:421)
| at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
| canner.java:634)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
| doScan(AbstractDeploymentScanner.java:263)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
| bstractDeploymentScanner.java:336)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
| upport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
| eanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
| sorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
| er.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(ServiceControl
| ler.java:978)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:417)
| at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
| sorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
| er.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.start(Unknown Source)
| at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
| java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
| sorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
| er.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
| or.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
| BeanOperationInterceptor.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 $Proxy5.deploy(Unknown Source)
| at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
| at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
| at org.jboss.Main.boot(Main.java:200)
| at org.jboss.Main$1.run(Main.java:508)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: javax.management.AttributeNotFoundException: Attribute 'ClientID' is
| not writable
| at org.jboss.mx.server.AbstractMBeanInvoker.setAttribute(AbstractMBeanIn
| voker.java:431)
| at org.jboss.mx.server.MBeanServerImpl.setAttribute(MBeanServerImpl.java
| :608)
| at org.jboss.system.ServiceConfigurator.setAttribute(ServiceConfigurator
| .java:703)
| ... 83 more
| 18:57:52,015 INFO [Embedded] Catalina naming disabled
| 18:57:52,234 INFO [AprLifecycleListener] The Apache Tomcat Native library which
| allows optimal performance in production environments was not found on the java
| .library.path: C:\Program Files\Java\jdk1.5.0_11\bin;.;C:\WINDOWS\system32;C:\WI
| NDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\bea\weblogic81\
| server\lib;C:\bea\weblogic81\server\bin;D:\Work\apache-ant-1.6.5\bin;C:\Program
| Files\Java\jdk1.5.0_11\bin;C:\Program Files\Java\jdk1.5.0_11\jre\bin;
| 18:57:52,343 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0
| .1-8080
| 18:57:52,343 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-80
| 09
| 18:57:52,343 INFO [Catalina] Initialization processed in 330 ms
| 18:57:52,359 INFO [StandardService] Starting service jboss.web
| 18:57:52,359 INFO [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA
| 18:57:52,421 INFO [Catalina] Server startup in 77 ms
| 18:57:52,578 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-w
| eb.deployer/ROOT.war/
| 18:57:53,281 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/
| http-invoker.sar/invoker.war/
| 18:57:53,656 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../deploy/
| jbossws.sar/jbossws-context.war/
| 18:57:54,015 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../dep
| loy/management/console-mgr.sar/web-console.war/
| 18:57:54,578 INFO [MailService] Mail Service bound to java:/Mail
| 18:57:54,812 INFO [RARDeployment] Required license terms exist, view META-INF/r
| a.xml in .../deploy/jboss-ha-local-jdbc.rar
| 18:57:54,875 INFO [RARDeployment] Required license terms exist, view META-INF/r
| a.xml in .../deploy/jboss-ha-xa-jdbc.rar
| 18:57:54,921 INFO [RARDeployment] Required license terms exist, view META-INF/r
| a.xml in .../deploy/jboss-local-jdbc.rar
| 18:57:54,968 INFO [RARDeployment] Required license terms exist, view META-INF/r
| a.xml in .../deploy/jboss-xa-jdbc.rar
| 18:57:55,031 INFO [RARDeployment] Required license terms exist, view META-INF/r
| a.xml in .../deploy/jms-ra.rar
| 18:57:55,078 INFO [RARDeployment] Required license terms exist, view META-INF/r
| a.xml in .../deploy/mail-ra.rar
| 18:57:55,140 INFO [RARDeployment] Required license terms exist, view META-INF/r
| a.xml in .../deploy/quartz-ra.rar
| 18:57:55,140 INFO [QuartzResourceAdapter] start quartz!!!
| 18:57:55,218 INFO [SimpleThreadPool] Job execution threads will use class loade
| r of thread: main
| 18:57:55,265 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
| 18:57:55,265 INFO [RAMJobStore] RAMJobStore initialized.
| 18:57:55,265 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzSchedule
| r' initialized from default resource file in Quartz package: 'quartz.properties'
|
| 18:57:55,281 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
| 18:57:55,281 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUS
| TERED started.
| 18:57:55,984 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jb
| oss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
| 18:57:56,671 WARN [SecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It
| has been detected that the MessageSucker component which sucks messages from one
| node to another has not had its password changed from the installation default.
| Please see the JBoss Messaging user guide for instructions on how to do this.
| 18:57:56,687 INFO [ServerPeer] JBoss Messaging 1.4.0.SP3 server [0] started
| 18:57:57,078 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has l
| easing enabled, lease period 10000 milliseconds
| 18:57:57,078 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.Co
| nnectionFactory@1f49969 started
| 18:57:57,078 WARN [ConnectionFactoryJNDIMapper] supportsFailover attribute is t
| rue on connection factory: jboss.messaging.connectionfactory:service=ClusteredCo
| nnectionFactory but post office is non clustered. So connection factory will *no
| t* support failover
| 18:57:57,093 WARN [ConnectionFactoryJNDIMapper] supportsLoadBalancing attribute
| is true on connection factory: jboss.messaging.connectionfactory:service=Cluste
| redConnectionFactory but post office is non clustered. So connection factory wil
| l *not* support load balancing
| 18:57:57,093 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has l
| easing enabled, lease period 10000 milliseconds
| 18:57:57,093 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.Co
| nnectionFactory@fa97f started
| 18:57:57,093 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has l
| easing enabled, lease period 10000 milliseconds
| 18:57:57,093 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.Co
| nnectionFactory@862041 started
| 18:57:57,125 INFO [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pa
| geSize=2000, downCacheSize=2000
| 18:57:57,125 INFO [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=20
| 0000, pageSize=2000, downCacheSize=2000
| 18:57:57,125 INFO [TopicService] Topic[/topic/testTopic] started, fullSize=2000
| 00, pageSize=2000, downCacheSize=2000
| 18:57:57,125 INFO [TopicService] Topic[/topic/securedTopic] started, fullSize=2
| 00000, pageSize=2000, downCacheSize=2000
| 18:57:57,125 INFO [TopicService] Topic[/topic/testDurableTopic] started, fullSi
| ze=200000, pageSize=2000, downCacheSize=2000
| 18:57:57,140 INFO [QueueService] Queue[/queue/testQueue] started, fullSize=2000
| 00, pageSize=2000, downCacheSize=2000
| 18:57:57,140 INFO [QueueService] Queue[/queue/A] started, fullSize=200000, page
| Size=2000, downCacheSize=2000
| 18:57:57,140 INFO [QueueService] Queue[/queue/B] started, fullSize=200000, page
| Size=2000, downCacheSize=2000
| 18:57:57,140 INFO [QueueService] Queue[/queue/C] started, fullSize=200000, page
| Size=2000, downCacheSize=2000
| 18:57:57,156 INFO [QueueService] Queue[/queue/D] started, fullSize=200000, page
| Size=2000, downCacheSize=2000
| 18:57:57,156 INFO [QueueService] Queue[/queue/ex] started, fullSize=200000, pag
| eSize=2000, downCacheSize=2000
| 18:57:57,156 INFO [QueueService] Queue[/queue/PrivateDLQ] started, fullSize=200
| 000, pageSize=2000, downCacheSize=2000
| 18:57:57,156 INFO [QueueService] Queue[/queue/PrivateExpiryQueue] started, full
| Size=200000, pageSize=2000, downCacheSize=2000
| 18:57:57,171 INFO [QueueService] Queue[/queue/QueueWithOwnDLQAndExpiryQueue] st
| arted, fullSize=200000, pageSize=2000, downCacheSize=2000
| 18:57:57,171 INFO [TopicService] Topic[/topic/TopicWithOwnDLQAndExpiryQueue] st
| arted, fullSize=200000, pageSize=2000, downCacheSize=2000
| 18:57:57,171 INFO [QueueService] Queue[/queue/QueueWithOwnRedeliveryDelay] star
| ted, fullSize=200000, pageSize=2000, downCacheSize=2000
| 18:57:57,171 INFO [TopicService] Topic[/topic/TopicWithOwnRedeliveryDelay] star
| ted, fullSize=200000, pageSize=2000, downCacheSize=2000
| 18:57:57,171 INFO [QueueService] Queue[/queue/testDistributedQueue] started, fu
| llSize=200000, pageSize=2000, downCacheSize=2000
| 18:57:57,187 INFO [TopicService] Topic[/topic/testDistributedTopic] started, fu
| llSize=200000, pageSize=2000, downCacheSize=2000
| 18:57:57,187 INFO [TopicService] Topic[/topic/myTopic] started, fullSize=200000
| , pageSize=2000, downCacheSize=2000
| 18:57:57,375 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jb
| oss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
| 18:57:57,406 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../dep
| loy/jmx-console.war/
| 18:57:57,531 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
|
| --- MBeans waiting for other MBeans ---
| ObjectName: jboss.messaging.connectionfactory:service=MyConnectionFactory
| State: FAILED
| Reason: org.jboss.deployment.DeploymentException: Exception setting attribute
| javax.management.Attribute@1b94ea2 on mbean jboss.messaging.connectionfactory:se
| rvice=MyConnectionFactory; - nested throwable: (javax.management.AttributeNotFou
| ndException: Attribute 'ClientID' is not writable)
| I Depend On:
| jboss.messaging:service=ServerPeer
| jboss.messaging:service=Connector,transport=bisocket
| jboss.messaging:service=PostOffice
|
| --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
| ObjectName: jboss.messaging.connectionfactory:service=MyConnectionFactory
| State: FAILED
| Reason: org.jboss.deployment.DeploymentException: Exception setting attribute
| javax.management.Attribute@1b94ea2 on mbean jboss.messaging.connectionfactory:se
| rvice=MyConnectionFactory; - nested throwable: (javax.management.AttributeNotFou
| ndException: Attribute 'ClientID' is not writable)
| I Depend On:
| jboss.messaging:service=ServerPeer
| jboss.messaging:service=Connector,transport=bisocket
| jboss.messaging:service=PostOffice
| 18:57:57,671 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8
| 080
| 18:57:57,703 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-800918:57:57,718 INFO [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBos
| s_4_2_2_GA date=200710221139)] Started in 19s:672ms
|
| ===========================
|
| i created file connection-factories-service.xml(content is same as in url ) and placed C:\myjboss-4.2.2\jboss-4.2.2.GA\server\messaging\deploy
|
| I have to create any entries in any other xml file (or) any thing i need to do for clinet id , etc... ?
|
| Please help me
|
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145518#4145518
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4145518
18 years
[JBoss Messaging] - Re: Jboss Messaging How To
by sudheer_java26
thanks for your reply.
I created connection factory as given here
http://www.jboss.org/file-access/default/members/jbossmessaging/freezone/...
but when I run my program , i am getting error as
-----------------
Exception in thread "main" javax.naming.NameNotFoundException: MyConnectionFactory not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
--------------
but when I start server
I tried by running as fallows
C:\myjboss-4.2.2\jboss-4.2.2.GA\bin>run -c messaging
=====================================================
18:57:42,078 INFO [TransactionManagerService] Setting up property manager MBean
and JMX layer
18:57:42,312 INFO [TransactionManagerService] Starting recovery manager
18:57:42,421 INFO [TransactionManagerService] Recovery manager started
18:57:42,421 INFO [TransactionManagerService] Binding TransactionManager JNDI R
eference
18:57:46,062 INFO [EJB3Deployer] Starting java:comp multiplexer
18:57:47,515 INFO [STDOUT] no object for null
18:57:47,531 INFO [STDOUT] no object for null
18:57:47,562 INFO [STDOUT] no object for null
18:57:47,593 INFO [STDOUT] no object for {urn:jboss:bean-deployer}supplyType
18:57:47,609 INFO [STDOUT] no object for {urn:jboss:bean-deployer}dependsType
18:57:50,437 INFO [NativeServerConfig] JBoss Web Services - Native
18:57:50,437 INFO [NativeServerConfig] jbossws-native-2.0.1.SP2 (build=20071021
0837)
18:57:51,062 INFO [ServiceConfigurator] Problem configuring service jboss.messa
ging.connectionfactory:service=MyConnectionFactory
org.jboss.deployment.DeploymentException: Exception setting attribute javax.mana
gement.Attribute@1b94ea2 on mbean jboss.messaging.connectionfactory:service=MyCo
nnectionFactory; - nested throwable: (javax.management.AttributeNotFoundExceptio
n: Attribute 'ClientID' is not writable)
at org.jboss.system.ServiceConfigurator.setAttribute(ServiceConfigurator
.java:707)
at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.ja
va:332)
at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigura
tor.java:462)
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
:157)
at org.jboss.system.ServiceController.install(ServiceController.java:226
)
at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.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)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.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(URLDeploymen
tScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
bstractDeploymentScanner.java:336)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
upport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
eanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.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(ServiceControl
ler.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.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.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.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 $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:508)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.management.AttributeNotFoundException: Attribute 'ClientID' is
not writable
at org.jboss.mx.server.AbstractMBeanInvoker.setAttribute(AbstractMBeanIn
voker.java:431)
at org.jboss.mx.server.MBeanServerImpl.setAttribute(MBeanServerImpl.java
:608)
at org.jboss.system.ServiceConfigurator.setAttribute(ServiceConfigurator
.java:703)
... 83 more
18:57:52,015 INFO [Embedded] Catalina naming disabled
18:57:52,234 INFO [AprLifecycleListener] The Apache Tomcat Native library which
allows optimal performance in production environments was not found on the java
.library.path: C:\Program Files\Java\jdk1.5.0_11\bin;.;C:\WINDOWS\system32;C:\WI
NDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\bea\weblogic81\
server\lib;C:\bea\weblogic81\server\bin;D:\Work\apache-ant-1.6.5\bin;C:\Program
Files\Java\jdk1.5.0_11\bin;C:\Program Files\Java\jdk1.5.0_11\jre\bin;
18:57:52,343 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0
.1-8080
18:57:52,343 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-80
09
18:57:52,343 INFO [Catalina] Initialization processed in 330 ms
18:57:52,359 INFO [StandardService] Starting service jboss.web
18:57:52,359 INFO [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA
18:57:52,421 INFO [Catalina] Server startup in 77 ms
18:57:52,578 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-w
eb.deployer/ROOT.war/
18:57:53,281 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/
http-invoker.sar/invoker.war/
18:57:53,656 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../deploy/
jbossws.sar/jbossws-context.war/
18:57:54,015 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../dep
loy/management/console-mgr.sar/web-console.war/
18:57:54,578 INFO [MailService] Mail Service bound to java:/Mail
18:57:54,812 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-ha-local-jdbc.rar
18:57:54,875 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-ha-xa-jdbc.rar
18:57:54,921 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-local-jdbc.rar
18:57:54,968 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-xa-jdbc.rar
18:57:55,031 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jms-ra.rar
18:57:55,078 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/mail-ra.rar
18:57:55,140 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/quartz-ra.rar
18:57:55,140 INFO [QuartzResourceAdapter] start quartz!!!
18:57:55,218 INFO [SimpleThreadPool] Job execution threads will use class loade
r of thread: main
18:57:55,265 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
18:57:55,265 INFO [RAMJobStore] RAMJobStore initialized.
18:57:55,265 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzSchedule
r' initialized from default resource file in Quartz package: 'quartz.properties'
18:57:55,281 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
18:57:55,281 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUS
TERED started.
18:57:55,984 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jb
oss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
18:57:56,671 WARN [SecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It
has been detected that the MessageSucker component which sucks messages from one
node to another has not had its password changed from the installation default.
Please see the JBoss Messaging user guide for instructions on how to do this.
18:57:56,687 INFO [ServerPeer] JBoss Messaging 1.4.0.SP3 server [0] started
18:57:57,078 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has l
easing enabled, lease period 10000 milliseconds
18:57:57,078 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.Co
nnectionFactory@1f49969 started
18:57:57,078 WARN [ConnectionFactoryJNDIMapper] supportsFailover attribute is t
rue on connection factory: jboss.messaging.connectionfactory:service=ClusteredCo
nnectionFactory but post office is non clustered. So connection factory will *no
t* support failover
18:57:57,093 WARN [ConnectionFactoryJNDIMapper] supportsLoadBalancing attribute
is true on connection factory: jboss.messaging.connectionfactory:service=Cluste
redConnectionFactory but post office is non clustered. So connection factory wil
l *not* support load balancing
18:57:57,093 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has l
easing enabled, lease period 10000 milliseconds
18:57:57,093 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.Co
nnectionFactory@fa97f started
18:57:57,093 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has l
easing enabled, lease period 10000 milliseconds
18:57:57,093 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.Co
nnectionFactory@862041 started
18:57:57,125 INFO [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pa
geSize=2000, downCacheSize=2000
18:57:57,125 INFO [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=20
0000, pageSize=2000, downCacheSize=2000
18:57:57,125 INFO [TopicService] Topic[/topic/testTopic] started, fullSize=2000
00, pageSize=2000, downCacheSize=2000
18:57:57,125 INFO [TopicService] Topic[/topic/securedTopic] started, fullSize=2
00000, pageSize=2000, downCacheSize=2000
18:57:57,125 INFO [TopicService] Topic[/topic/testDurableTopic] started, fullSi
ze=200000, pageSize=2000, downCacheSize=2000
18:57:57,140 INFO [QueueService] Queue[/queue/testQueue] started, fullSize=2000
00, pageSize=2000, downCacheSize=2000
18:57:57,140 INFO [QueueService] Queue[/queue/A] started, fullSize=200000, page
Size=2000, downCacheSize=2000
18:57:57,140 INFO [QueueService] Queue[/queue/B] started, fullSize=200000, page
Size=2000, downCacheSize=2000
18:57:57,140 INFO [QueueService] Queue[/queue/C] started, fullSize=200000, page
Size=2000, downCacheSize=2000
18:57:57,156 INFO [QueueService] Queue[/queue/D] started, fullSize=200000, page
Size=2000, downCacheSize=2000
18:57:57,156 INFO [QueueService] Queue[/queue/ex] started, fullSize=200000, pag
eSize=2000, downCacheSize=2000
18:57:57,156 INFO [QueueService] Queue[/queue/PrivateDLQ] started, fullSize=200
000, pageSize=2000, downCacheSize=2000
18:57:57,156 INFO [QueueService] Queue[/queue/PrivateExpiryQueue] started, full
Size=200000, pageSize=2000, downCacheSize=2000
18:57:57,171 INFO [QueueService] Queue[/queue/QueueWithOwnDLQAndExpiryQueue] st
arted, fullSize=200000, pageSize=2000, downCacheSize=2000
18:57:57,171 INFO [TopicService] Topic[/topic/TopicWithOwnDLQAndExpiryQueue] st
arted, fullSize=200000, pageSize=2000, downCacheSize=2000
18:57:57,171 INFO [QueueService] Queue[/queue/QueueWithOwnRedeliveryDelay] star
ted, fullSize=200000, pageSize=2000, downCacheSize=2000
18:57:57,171 INFO [TopicService] Topic[/topic/TopicWithOwnRedeliveryDelay] star
ted, fullSize=200000, pageSize=2000, downCacheSize=2000
18:57:57,171 INFO [QueueService] Queue[/queue/testDistributedQueue] started, fu
llSize=200000, pageSize=2000, downCacheSize=2000
18:57:57,187 INFO [TopicService] Topic[/topic/testDistributedTopic] started, fu
llSize=200000, pageSize=2000, downCacheSize=2000
18:57:57,187 INFO [TopicService] Topic[/topic/myTopic] started, fullSize=200000
, pageSize=2000, downCacheSize=2000
18:57:57,375 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jb
oss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
18:57:57,406 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../dep
loy/jmx-console.war/
18:57:57,531 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
--- MBeans waiting for other MBeans ---
ObjectName: jboss.messaging.connectionfactory:service=MyConnectionFactory
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Exception setting attribute
javax.management.Attribute@1b94ea2 on mbean jboss.messaging.connectionfactory:se
rvice=MyConnectionFactory; - nested throwable: (javax.management.AttributeNotFou
ndException: Attribute 'ClientID' is not writable)
I Depend On:
jboss.messaging:service=ServerPeer
jboss.messaging:service=Connector,transport=bisocket
jboss.messaging:service=PostOffice
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.messaging.connectionfactory:service=MyConnectionFactory
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Exception setting attribute
javax.management.Attribute@1b94ea2 on mbean jboss.messaging.connectionfactory:se
rvice=MyConnectionFactory; - nested throwable: (javax.management.AttributeNotFou
ndException: Attribute 'ClientID' is not writable)
I Depend On:
jboss.messaging:service=ServerPeer
jboss.messaging:service=Connector,transport=bisocket
jboss.messaging:service=PostOffice
18:57:57,671 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8
080
18:57:57,703 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-800918:57:57,718 INFO [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBos
s_4_2_2_GA date=200710221139)] Started in 19s:672ms
===========================
i created file connection-factories-service.xml(content is same as in url ) and placed C:\myjboss-4.2.2\jboss-4.2.2.GA\server\messaging\deploy
I have to create any entries in any other xml file (or) any thing i need to do for clinet id , etc... ?
Please help me
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145514#4145514
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4145514
18 years