[JBoss Messaging] - JBM clustering: jboss.messaging.groupname ignored?
by chtimi2
What i want to do:
I'm using JBM 1.4.2.GA-SP1 in JBoss 4.2.3.GA, in a clustered configuration. I want to have 2 clusters on the same local network (with automatic discovery), so i thought of using the -g launch argument or its JBM equivalent (which seems to be -Djboss.messaging.groupname)
Here is my problem:
While the general JBoss clustering mechanism of using different -g values to specify different Partitions works fine (nodes launched with different -g effectively join separate and isolated partitions, this isn't the case with JBM: all nodes launched on the same local network (where discovery works) always join the same JBM Group, ignoring the different launch argument.
Also there is something i don't understand: do i have to specify BOTH the partition and the group? It seems redundant but maybe i'm missing something.
Here are my launch arguments for both nodes (the intent is to have 2 separate clusters):
NODE 1:
| run.sh -c all -g Partition1 -b[IP1] -Djboss.messaging.groupname=Groupe1 -Djboss.messaging.ServerPeerID=1
|
NODE 2:
| run.sh -c all2 -g Partition2 -b[IP2] -Djboss.messaging.groupname=Groupe2 -Djboss.messaging.ServerPeerID=1
|
-->If i use ServerPeerID=1 for the second node the startup fails, which is consistent since both nodes are considered to be in the same messaging group.
-->If i use ServerPeerID=2 for the second node the startup successes, but then i receive messages from one partition on the other (which is also consistent with the fact that both nodes are considered to be in the same messaging group).
Here are the startup logs i see in this case on the two nodes (Node1 is started completely before Node2 is launched):
[...]
Node1:
//Note: here is the Partition log:
| 17:45:21,317 INFO [PartitionNavineoCLA_1] Number of cluster members: 1
| 17:45:21,317 INFO [PartitionNavineoCLA_1] Other members: 0
| 17:45:21,317 INFO [PartitionNavineoCLA_1] Fetching state (will wait for 30000 milliseconds):
| 17:45:21,317 INFO [PartitionNavineoCLA_1] State could not be retrieved (we are the first member in group)
| [...]
| //Note: here is the JBM log:
| 17:45:39,757 INFO [GroupMember] org.jboss.messaging.core.impl.postoffice.GroupMember$ControlMembershipListener@89e0c6 got new view [[IP1]:52366|0] [[IP1]:52366], old view is null
| 17:45:39,757 INFO [GroupMember] I am ([IP1]:52366)
| 17:45:39,758 INFO [GroupMember] New Members : 1 ([[IP1]:52366])
| 17:45:39,758 INFO [GroupMember] All Members : 1 ([[IP1]:52366])
| 17:45:39,761 INFO [MPING] sockets will use interface [IP1]
| 17:45:39,771 INFO [ConnectionTable] server socket created on [IP1]:7900
[...]
Node2:
[...]
//Note: here is the Partition log: (which shows that the partitions are separate)
| 18:12:43,466 WARN [UDP] discarded message from different group "Tomcat-PartitionNavineoCLA_1" (our group is "Tomcat-PartitionNavineoCLA_2"). Sender was [IP1]:53378
| 18:12:43,507 WARN [UDP] discarded message from different group "Tomcat-PartitionNavineoCLA_1" (our group is "Tomcat-PartitionNavineoCLA_2"). Sender was [IP1]:53378
| 18:12:48,945 WARN [UDP] discarded message from different group "PartitionNavineoCLA_1" (our group is "PartitionNavineoCLA_2"). Sender was [IP1]:42374
| 18:12:49,945 WARN [UDP] discarded message from different group "PartitionNavineoCLA_1" (our group is "PartitionNavineoCLA_2"). Sender was [IP1]:42374
| 18:13:02,902 INFO [PartitionNavineoCLA_2] Number of cluster members: 1
| 18:13:02,902 INFO [PartitionNavineoCLA_2] Other members: 0
| 18:13:02,902 INFO [PartitionNavineoCLA_2] Fetching state (will wait for 30000 milliseconds):
| 18:13:02,902 INFO [PartitionNavineoCLA_2] State could not be retrieved (we are the first member in group)
| [...]
| //Note: here is the JBM log (which shows that the JBM groups are NOT separate):
| 18:13:16,818 INFO [GroupMember] org.jboss.messaging.core.impl.postoffice.GroupMember$ControlMembershipListener@1e13ce3 got new view [[IP1]:52366|1] [[IP1]:52366, [IP2]:37550], old view is null
| 18:13:16,818 INFO [GroupMember] I am ([IP2]:37550)
| 18:13:16,818 INFO [GroupMember] New Members : 2 ([[IP1]:52366, [IP2]:37550])
| 18:13:16,818 INFO [GroupMember] All Members : 2 ([[IP1]:52366, [IP2]:37550])
| 18:13:17,150 INFO [STATE_TRANSFER] Successful flush at [IP2]:37550
| 18:13:17,495 INFO [MPING] sockets will use interface [IP2]
| 18:13:17,529 INFO [ConnectionTable] server socket created on [IP2]:7900
| [...]
|
NB: i also tried a groupname argument with the same value as the -g, but it didn't change anything.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4219587#4219587
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4219587
17 years, 1 month
[EJB/JBoss] - transaction propagation
by asookazian
for the following SFSB:
@Stateful
| @Name("testTransactionsAction")
| @TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
| public class TestTransactionsAction implements TestTransactionsLocal
| {
|
| @Logger
| private Log log;
|
| @In
| StringUtils stringUtils;
|
| @PersistenceContext
| private EntityManager entityManager;
|
| private String serialNumbers;
|
| private String serialNumber;
|
| /*--------------------------------------------------------------------------BEGIN METHODS-------------------------------------------------------------------*/
|
| public void searchSerialNumbers()
| {
| //parse serial numbers from HtmlInputTextarea control....
| List<String> serialNumberList = parseSerialNumber();
|
| if (serialNumberList != null && serialNumberList.size() > 0)
| {
| for (String serialNumber : serialNumberList) //persist records one serialNumber at a time...
| {
| this.persistA();
| String[] sArray = new String[4];
| //cause IndexOutOfBoundsException to see if the first insert will commit or not....
| String s = sArray[10];
| this.persistB();
| }
| }
| }
|
| @TransactionAttribute(TransactionAttributeType.REQUIRED)
| public void persistA()
| {
| TestTransactions testTransactions = new TestTransactions();
| testTransactions.setSerialNumber(serialNumber);
| testTransactions.setAddedDate(new Date());
| entityManager.persist(testTransactions);
| //entityManager.flush();
| }
|
| @TransactionAttribute(TransactionAttributeType.REQUIRED)
| public void persistB()
| {
| TestTransactions testTransactions = new TestTransactions();
| testTransactions.setSerialNumber(serialNumber);
| testTransactions.setAddedDate(new Date());
| entityManager.persist(testTransactions);
| //entityManager.flush();
| }
|
| @Remove @Destroy
| public void destroy() {}
|
| public String getSerialNumbers()
| {
| return serialNumbers;
| }
|
| public void setSerialNumbers(String serialNumbers)
| {
| this.serialNumbers = serialNumbers;
| }
|
| private List<String> parseSerialNumber()
| {
| //parse serialNumber assuming that the regex to use is CR (carriage return), which will be scan gun post-fire append <ENTER>
| List<String> serialNumberList = stringUtils.splitAndTrimStringAsArray(serialNumbers, "\\r");
|
| //testing: delete this later...
| if (serialNumberList != null)
| {
| for(String serialNumber : serialNumberList)
| {
| log.info("parseSerialNumber(): serialNumber = "+serialNumber);
| }
| }
| return serialNumberList;
| }
|
| }
|
I'm getting this exception in persistA() method. Why does this happen? What are the rules for tx propagation in JBoss/EJB3? I was expecting there to be a tx active in persistA() due to the REQUIRED tx type. The goal here is to persist the record prior to the exception being thrown and thus not rollback any tx (which should not exist for the searchSerialNumbers() method as the tx type is marked NOT_SUPPORTED for the class which should default to auto commitmode, as per pg. 512 of Bauer/King book. It doesn't matter if I use private or public visibility for the persistX() methods, same result. No records are inserted to the db table either way. thx.
Caused by: javax.persistence.TransactionRequiredException: EntityManager must be access within a transaction
| at org.jboss.ejb3.entity.ManagedEntityManagerFactory.verifyInTx(ManagedEntityManagerFactory.java:156)
| at org.jboss.ejb3.entity.TransactionScopedEntityManager.persist(TransactionScopedEntityManager.java:189)
| at org.jboss.seam.persistence.EntityManagerProxy.persist(EntityManagerProxy.java:135)
| at com.cox.bets.session.TestTransactionsAction.persistA(TestTransactionsAction.java:86)
| at com.cox.bets.session.TestTransactionsAction.searchSerialNumbers(TestTransactionsAction.java:61)
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4219580#4219580
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4219580
17 years, 1 month
[Installation, Configuration & DEPLOYMENT] - Re: A ClassCastException
by afrodom
This is stack trace when I ommit xercesImpl.jar from my application's library :
| 2009-03-19 18:09:04,781 DEBUG [org.jboss.web.tomcat.service.deployers.TomcatDeployer] (HDScanner) Begin deploy, org.jboss.metadata.web.jboss.JBossWebMetaData@d75f1ee6
| 2009-03-19 18:09:04,781 DEBUG [org.jboss.web.tomcat.service.deployers.TomcatDeployer] (HDScanner) Error during deploy: vfszip:/D:/Dokumenti/RADOVI/JAVA/Jboss_server/jboss-5.0.0.GA/server/default/deploy/afrodomsler.war
| org.jboss.deployers.spi.DeploymentException: Failed to create web module
| at org.jboss.web.deployers.AbstractWarDeployer.deploy(AbstractWarDeployer.java:472)
| at org.jboss.web.deployers.AbstractWarDeployer.deploy(AbstractWarDeployer.java:87)
| at org.jboss.deployers.vfs.spi.deployer.AbstractSimpleVFSRealDeployer.deploy(AbstractSimpleVFSRealDeployer.java:56)
| at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
| at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
| 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.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.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:441)
| at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
| at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
| at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
| at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
| at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
| at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
| at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
| at java.lang.Thread.run(Thread.java:619)
| Caused by: java.io.IOException: The system cannot find the path specified
| at java.io.WinNTFileSystem.createFileExclusively(Native Method)
| at java.io.File.checkAndCreate(File.java:1704)
| at java.io.File.createTempFile(File.java:1793)
| at org.jboss.web.deployers.AbstractWarDeployer.deploy(AbstractWarDeployer.java:369)
| ... 28 more
| 2009-03-19 18:09:04,781 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (HDScanner) Error installing to Real: name=vfszip:/D:/Dokumenti/RADOVI/JAVA/Jboss_server/jboss-5.0.0.GA/server/default/deploy/afrodomsler.war state=PreReal mode=Manual requiredState=Real
| org.jboss.deployers.spi.DeploymentException: Failed to create web module
| at org.jboss.web.deployers.AbstractWarDeployer.deploy(AbstractWarDeployer.java:472)
| at org.jboss.web.deployers.AbstractWarDeployer.deploy(AbstractWarDeployer.java:87)
| at org.jboss.deployers.vfs.spi.deployer.AbstractSimpleVFSRealDeployer.deploy(AbstractSimpleVFSRealDeployer.java:56)
| at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
| at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
| 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.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.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:441)
| at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
| at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
| at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
| at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
| at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
| at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
| at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
| at java.lang.Thread.run(Thread.java:619)
| Caused by: java.io.IOException: The system cannot find the path specified
| at java.io.WinNTFileSystem.createFileExclusively(Native Method)
| at java.io.File.checkAndCreate(File.java:1704)
| at java.io.File.createTempFile(File.java:1793)
| at org.jboss.web.deployers.AbstractWarDeployer.deploy(AbstractWarDeployer.java:369)
| ... 28 more
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4219578#4219578
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4219578
17 years, 1 month
[JBoss Cache: Core Edition] - Re: Cluster config: Channel per Cache instance?
by dukehoops
Reposting cache config:
<bean id="jbcRuntimeConfig" class="org.jboss.cache.config.RuntimeConfig" depends-on="transactionManager">
| <property name="transactionManager" ref="BitronixTransactionManager"/>
| </bean>
|
| <bean id="baseCacheConfig" class="org.jboss.cache.config.Configuration" abstract="true" depends-on="jbcRuntimeConfig">
| <property name="jgroupsConfigFile" value="classpath:dg-jgroups-udp.xml"/>
| <property name="runtimeConfig" ref="jbcRuntimeConfig"/>
| <property name="cacheMode" value="LOCAL"/>
| <property name="nodeLockingScheme" value="MVCC"/>
| <property name="isolationLevel" value="READ_COMMITTED"/>
| </bean>
| <bean id="entityCacheConfig" parent="baseCacheConfig">
| <property name="clusterName" value="dgEntityCacheCluster"/>
| <property name="cacheMode" value="INVALIDATION_ASYNC"/>
| </bean>
| <bean id="collectionCacheConfig" parent="baseCacheConfig">
| <property name="clusterName" value="dgCollectionCacheCluster"/>
| <property name="cacheMode" value="INVALIDATION_ASYNC"/>
| </bean>
| <bean id="queryCacheConfig" parent="baseCacheConfig">
| </bean>
| <bean id="timestampsCacheConfig" parent="baseCacheConfig">
| <property name="clusterName" value="dgTimestampsCacheCluster"/>
| <property name="cacheMode" value="INVALIDATION_ASYNC"/>
| </bean>
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4219577#4219577
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4219577
17 years, 1 month
[JBoss Cache: Core Edition] - Cluster config: Channel per Cache instance?
by dukehoops
Looking for some best practices advice on configuring clustering with the following setup:
JBC 3
Hibernate 3.3.1
hib-jbc2 integration
4 Cache instances: entityCache, collectionCache, queryCache, timestampsCache
queryCache is LOCAL, three others are INVALIDATION_ASYNC
all cluster nodes in the same subnet
My main question is this: should I configure a distinct JGroups Channel for each cache instance or have all 3 instances share the same one?
I've read that, on one hand, Channels are heavyweight (use multiple threads) which would argue for latter approach. However with a single channel configured as shown below I do see cross-talking between the 3 caches of the same cluster:
anonymous wrote : [2/27/09 16:25:45:084] WARN org.jgroups.protocols.UDP - discarded message from different group "dgEntityCacheCluster" (our group is "dgCollectionCacheCluster"). Sender was 172.17.50.103:62010
| [2/27/09 16:25:45:613] WARN org.jgroups.protocols.UDP - discarded message from different group "dgTimestampsCacheCluster" (our group is "dgEntityCacheCluster"). Sender was 172.17.50.103:62012
| [2/27/09 16:25:45:613] WARN org.jgroups.protocols.UDP - discarded message from different group "dgTimestampsCacheCluster" (our group is "dgCollectionCacheCluster"). Sender was 172.17.50.103:62012
|
Here's my cache config:
anonymous wrote :
| <bean id="jbcRuntimeConfig" class="org.jboss.cache.config.RuntimeConfig" depends-on="transactionManager">
|
|
|
| <bean id="baseCacheConfig" class="org.jboss.cache.config.Configuration" abstract="true" depends-on="jbcRuntimeConfig">
| <!-- TODO: same cluster for all caches or one per cache? -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
and jgroups config:
anonymous wrote :
| <!--
| Default stack using IP multicasting. It is similar to the "udp"
| stack in stacks.xml, but doesn't use streaming state transfer and flushing
| author: Bela Ban
| version: $Id: udp.xml,v 1.29 2008/09/26 15:59:33 belaban Exp $
| -->
| <!-- mcast_addr="${jgroups.udp.mcast_addr:232.10.10.10}" -->
|
| <UDP
| mcast_addr="${jgroups.udp.mcast_addr:232.10.10.10}"
| mcast_port="${jgroups.udp.mcast_port:45588}"
| tos="8"
| ucast_recv_buf_size="20000000"
| ucast_send_buf_size="640000"
| mcast_recv_buf_size="25000000"
| mcast_send_buf_size="640000"
| loopback="false"
| discard_incompatible_packets="true"
| max_bundle_size="64000"
| max_bundle_timeout="30"
| ip_ttl="${jgroups.udp.ip_ttl:2}"
| enable_bundling="true"
| enable_diagnostics="true"
| thread_naming_pattern="cl"
|
| thread_pool.enabled="true"
| thread_pool.min_threads="2"
| thread_pool.max_threads="8"
| thread_pool.keep_alive_time="5000"
| thread_pool.queue_enabled="true"
| thread_pool.queue_max_size="10000"
| thread_pool.rejection_policy="discard"
|
| oob_thread_pool.enabled="true"
| oob_thread_pool.min_threads="1"
| oob_thread_pool.max_threads="8"
| oob_thread_pool.keep_alive_time="5000"
| oob_thread_pool.queue_enabled="false"
| oob_thread_pool.queue_max_size="100"
| oob_thread_pool.rejection_policy="Run"/>
|
| <PING timeout="2000"
| num_initial_members="3"/>
| <MERGE2 max_interval="30000"
| min_interval="10000"/>
| <FD_SOCK/>
| <FD_ALL/>
| <VERIFY_SUSPECT timeout="1500" />
|
| <pbcast.NAKACK use_stats_for_retransmission="false"
| exponential_backoff="150"
| use_mcast_xmit="true" gc_lag="0"
| retransmit_timeout="50,300,600,1200"
| discard_delivered_msgs="true"/>
|
| <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
| max_bytes="1000000"/>
| <VIEW_SYNC avg_send_interval="60000" />
| <pbcast.GMS print_local_addr="true" join_timeout="3000"
| shun="false"
| view_bundling="true"/>
| <FC max_credits="500000"
| min_threshold="0.20"/>
| <FRAG2 frag_size="60000" />
| <!--pbcast.STREAMING_STATE_TRANSFER /-->
| <pbcast.STATE_TRANSFER />
| <!-- pbcast.FLUSH /-->
|
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4219575#4219575
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4219575
17 years, 1 month
[Beginners Corner] - Login or Deployment error issues
by millerdl
I am getting some errors when starting JBoss 4.0.4.GA. I think that they are either security or permission related. I also believe that they are cascading into deployment errors. Can some one suggest what these errors might indicate and/or what log files I should look at for more information? My Main.main(args) function throws a non-descript exception when I start. Here are the errors from my startup log output:
10:17:08,901 WARN [XMLLoginConfigImpl] End loadConfig, failed to load config: file:/opt/share/fcs/service/tm/jboss-4.0.4.GA/server/default/conf/login-config.xml
org.jboss.security.auth.login.ParseException: Encountered "<?xml" at line 1, column 1.
Was expecting one of:
...
at org.jboss.security.auth.login.SunConfigParser.generateParseException(SunConfigParser.java:395)
at org.jboss.security.auth.login.SunConfigParser.jj_consume_token(SunConfigParser.java:333)
at org.jboss.security.auth.login.SunConfigParser.config(SunConfigParser.java:98)
at org.jboss.security.auth.login.SunConfigParser.parse(SunConfigParser.java:57)
at org.jboss.security.auth.login.SunConfigParser.doParse(SunConfigParser.java:79)
at org.jboss.security.auth.login.XMLLoginConfigImpl.loadSunConfig(XMLLoginConfigImpl.java:309)
at org.jboss.security.auth.login.XMLLoginConfigImpl.loadConfig(XMLLoginConfigImpl.java:293)
at org.jboss.security.auth.login.XMLLoginConfigImpl.loadConfig(XMLLoginConfigImpl.java:267)
at org.jboss.security.auth.login.XMLLoginConfig.startService(XMLLoginConfig.java:176)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor4.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.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor6.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.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
at sun.reflect.GeneratedMethodAccessor9.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 $Proxy7.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.startService(AbstractDeploymentScanner.java:336)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
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.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.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
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.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:1007)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755)
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.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:464)
at java.lang.Thread.run(Thread.java:595)
...
10:17:09,652 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
10:17:09,806 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/tmp21362jbossws-exp.war/
10:17:09,874 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
10:17:09,999 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
10:17:10,417 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
10:17:10,439 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
10:17:10,453 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
10:17:10,467 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
10:17:10,489 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
10:17:10,512 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
10:17:10,618 ERROR [MainDeployer] Could not create deployment: file:/opt/share/fcs/service/tm/jboss-4.0.4.GA/server/default/deploy/hsqldb-ds.xml
org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.UndeclaredThrowableException)
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196)
at org.jboss.system.ServiceController.install(ServiceController.java:226)
at sun.reflect.GeneratedMethodAccessor8.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 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.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 $Proxy26.create(Unknown Source)
at org.jboss.deployment.XSLSubDeployer.create(XSLSubDeployer.java:192)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
at sun.reflect.GeneratedMethodAccessor9.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 $Proxy7.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.startService(AbstractDeploymentScanner.java:336)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
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.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.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
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.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:1007)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755)
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.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:464)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.reflect.UndeclaredThrowableException
at org.jboss.system.ServiceCreator.install(ServiceCreator.java:236)
at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:449)
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
... 96 more
Caused by: java.lang.NoClassDefFoundError: org/jboss/resource/connectionmanager/ConnectionFactoryBindingServiceMBean
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(RepositoryClassLoader.java:190)
at org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:131)
at org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:399)
at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:517)
at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1204)
at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:286)
at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:344)
at org.jboss.system.ServiceCreator.install(ServiceCreator.java:157)
... 98 more
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4219569#4219569
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4219569
17 years, 1 month