[Clustering/JBoss] - Re: strace shows futex
by mohitanchlia
I thought that FD retries only 'x' number of times (max_tries) after that it will not try to detect the member again. Is that not correct?
Below is the config, max_tries is set to 5.
<UDP mcast_addr="${partition.udpGroup:228.1.2.3}"
mcast_port="${jboss.hapartition.mcast_port:45566}"
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"
enable_bundling="false"
max_bundle_size="64000"
max_bundle_timeout="30"
use_incoming_packet_handler="true"
use_outgoing_packet_handler="false"
ip_ttl="${jgroups.udp.ip_ttl:2}"
down_thread="false" up_thread="false"/>
<PING timeout="2000"
down_thread="false" up_thread="false" num_initial_members="3"/>
<MERGE2 max_interval="100000"
down_thread="false" up_thread="false" min_interval="20000"/>
<FD_SOCK down_thread="false" up_thread="false"/>
<FD timeout="10000" max_tries="5" down_thread="false" up_thread="false" shun="true"/>
<VERIFY_SUSPECT timeout="1500" down_thread="false" up_thread="false"/>
<pbcast.NAKACK max_xmit_size="60000"
use_mcast_xmit="false" gc_lag="0"
retransmit_timeout="300,600,1200,2400,4800"
down_thread="false" up_thread="false"
discard_delivered_msgs="true"/>
<UNICAST timeout="300,600,1200,2400,3600"
down_thread="false" up_thread="false"/>
<pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
down_thread="false" up_thread="false"
max_bytes="400000"/>
<pbcast.GMS print_local_addr="true" join_timeout="3000"
down_thread="false" up_thread="false"
join_retry_timeout="2000" shun="true"
view_bundling="true"/>
<FRAG2 frag_size="60000" down_thread="false" up_thread="false"/>
<pbcast.STATE_TRANSFER down_thread="false" up_thread="false" use_flush="false"/>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4192313#4192313
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4192313
17 years, 5 months
[JBoss Portal] - Re: No such user admin
by nvipas
Here's first stack trace from console -
| 16:15:08,111 INFO [JBossCachePersistenceManager] ------------------------------
| -------------------
| 16:15:08,111 INFO [JBossCachePersistenceManager] JBossCachePersistenceManager i
| s fully loaded.....
| 16:15:08,111 INFO [JBossCachePersistenceManager] ------------------------------
| -------------------
| 16:15:08,283 INFO [RepositoryImpl] initializing workspace 'default'...
| 16:15:08,376 INFO [RepositoryImpl] workspace 'default' initialized
| 16:15:08,783 INFO [LocalFileSystem] LocalFileSystem initialized at path C:\jbos
| s-portal-2.7.0.GA\server\default\data\portal\cms\conf\workspaces\default\index
| 16:15:09,017 INFO [SearchIndex] Index initialized: C:\jboss-portal-2.7.0.GA\ser
| ver\default\data\portal\cms\conf\workspaces\default/index Version: 2
| 16:15:09,017 INFO [RepositoryImpl] Repository started
| 16:15:09,017 INFO [JackrabbitJCRService] Repository 'PortalRepository' created
| 16:15:09,111 INFO [JackrabbitJCRService] The repository has already the CMS nod
| e types registered
| 16:15:09,126 INFO [JCRCMS] Creating default CMS content.
| 16:15:09,142 WARN [ServiceController] Problem starting service portal:service=C
| MS
| java.lang.RuntimeException: org.jboss.portal.identity.NoSuchUserException: No su
| ch user No such user admin
| at org.jboss.portal.cms.security.AuthorizationProviderImpl.getRoot(Autho
| rizationProviderImpl.java:247)
| at org.jboss.portal.cms.impl.jcr.JCRCMS.createContent(JCRCMS.java:397)
| at org.jboss.portal.cms.impl.jcr.JCRCMS.startJCR(JCRCMS.java:352)
| at org.jboss.portal.cms.impl.jcr.JCRCMS.startService(JCRCMS.java:305)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
| upport.java:289)
| at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1
| 96)
| at org.jboss.portal.jems.as.system.AbstractJBossService.start(AbstractJB
| ossService.java:73)
| at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
| sorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.portal.jems.as.system.JBossServiceModelMBean$ServiceMixin.e
| xecute(JBossServiceModelMBean.java:486)
| at org.jboss.portal.jems.as.system.JBossServiceModelMBean$ServiceMixin.s
| tartService(JBossServiceModelMBean.java:452)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
| upport.java:289)
| at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1
| 96)
| at org.jboss.portal.jems.as.system.JBossServiceModelMBean$6.invoke(JBoss
| ServiceModelMBean.java:374)
| 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.system.ServiceController$ServiceProxy.invoke(ServiceControl
| ler.java:995)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:417)
| at org.jboss.system.ServiceController.start(ServiceController.java:435)
| at org.jboss.system.ServiceController.start(ServiceController.java:435)
| at org.jboss.system.ServiceController.start(ServiceController.java:435)
| at org.jboss.system.ServiceController.start(ServiceController.java:435)
| at org.jboss.system.ServiceController.start(ServiceController.java:435)
| at org.jboss.system.ServiceController.start(ServiceController.java:435)
| at org.jboss.system.ServiceController.start(ServiceController.java:435)
| at org.jboss.system.ServiceController.start(ServiceController.java:435)
| at org.jboss.system.ServiceController.start(ServiceController.java:435)
| at org.jboss.system.ServiceController.start(ServiceController.java:435)
| at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
| sorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| 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:304)
| 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:597)
| 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 $Proxy198.start(Unknown Source)
| at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:197)
| 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 sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
| sorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| 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.GeneratedMethodAccessor3.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
| sorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| 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:597)
| 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:304)
| 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:597)
| 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:619)
| Caused by: org.jboss.portal.identity.NoSuchUserException: No such user No such u
| ser admin
| at org.jboss.portal.identity.db.HibernateUserModuleImpl.findUserByUserNa
| me(HibernateUserModuleImpl.java:97)
| at org.jboss.portal.cms.security.AuthorizationProviderImpl.getRoot(Autho
| rizationProviderImpl.java:241)
| ... 127 more
| 16:15:10,189 INFO [IdentityUIConfigurationServiceImpl] not starting jBPM workfl
| ow ...
| 16:15:10,204 INFO [HbmBinder] Mapping collection: org.jboss.portal.core.impl.mo
| del.instance.persistent.PersistentInstanceDefinition.relatedSecurityBindings ->
| JBP_INSTANCE_SECURITY
| 16:15:10,204 INFO [HbmBinder] Mapping collection: org.jboss.portal.core.impl.mo
| del.instance.persistent.PersistentInstanceDefinition.relatedCustomizations -> JB
| P_INSTANCE_PER_USER
| 16:15:10,220 INFO [NamingHelper] JNDI InitialContext properties:{}
| 16:15:10,220 INFO [DatasourceConnectionProvider] Using datasource: java:PortalD
| S
| 16:15:10,220 INFO [SettingsFactory] RDBMS: Oracle, version: Oracle Database 10g
| Enterprise Edition Release 10.1.0.5.0 - Production
| With the Partitioning, OLAP and Data Mining options
| 16:15:10,236 INFO [SettingsFactory] JDBC driver: Oracle JDBC driver, version: 1
| 1.1.0.6.0-Production
| 16:15:10,236 INFO [Dialect] Using dialect: org.hibernate.dialect.Oracle9Dialect
|
| 16:15:10,236 WARN [Oracle9Dialect] The Oracle9Dialect dialect has been deprecat
| ed; use either Oracle9iDialect or Oracle10gDialect instead
| 16:15:10,236 INFO [TransactionFactoryFactory] Transaction strategy: org.hiberna
| te.transaction.JTATransactionFactory
| 16:15:10,251 INFO [NamingHelper] JNDI InitialContext properties:{}
| 16:15:10,251 INFO [TransactionManagerLookupFactory] instantiating TransactionMa
| nagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
| 16:15:10,251 INFO [TransactionManagerLookupFactory] instantiated TransactionMan
| agerLookup
| 16:15:10,251 INFO [TransactionManagerLookupFactory] instantiating TransactionMa
| nagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
| 16:15:10,267 INFO [TransactionManagerLookupFactory] instantiated TransactionMan
| agerLookup
| 16:15:10,267 INFO [SettingsFactory] Automatic flush during beforeCompletion():
| enabled
| 16:15:10,267 INFO [SettingsFactory] Automatic session close at end of transacti
| on: disabled
| 16:15:10,267 INFO [SettingsFactory] JDBC batch size: 15
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4192309#4192309
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4192309
17 years, 5 months
[JBoss Portal] - Re: No such user admin
by nvipas
"PeterJ" wrote : Looking more closely at the error, it appears that the CMS code is having an issue with logging into the portal and loading the default CMS content. It would use a username of admin.
|
| Go into Oracle and do: select * from jbp_users;
|
| You should get two rows - one with jbp_uname of 'admin', the other with 'user'.
|
| If you do not get any rows, then there is a problem with loading the tables. Look earlier in the console log for the first exception stack trace and post that.
|
| Also, when posting XML or code text please use code tags (select the text and click the Code button that appears above the message body edit window). Also, click Preview and make sure the post is formatted correctly before clicking Post.
==========
Thanks for guiding me along. You are right, I did hit the CMS related issue after putting hsqldb-ds.xml back in place. I will start using the CODE blocks from now on. Tried the query, no rows returned -
| SQL> select * from jbp_users;
|
| no rows selected
|
I will provide first stack trace from server.log soon.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4192308#4192308
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4192308
17 years, 5 months
[JBoss Portal] - Re: No such user admin
by PeterJ
Looking more closely at the error, it appears that the CMS code is having an issue with logging into the portal and loading the default CMS content. It would use a username of admin.
Go into Oracle and do: select * from jbp_users;
You should get two rows - one with jbp_uname of 'admin', the other with 'user'.
If you do not get any rows, then there is a problem with loading the tables. Look earlier in the console log for the first exception stack trace and post that.
Also, when posting XML or code text please use code tags (select the text and click the Code button that appears above the message body edit window). Also, click Preview and make sure the post is formatted correctly before clicking Post.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4192307#4192307
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4192307
17 years, 5 months
[JBoss Portal] - Re: No such user admin
by nvipas
"PeterJ" wrote : anonymous wrote : --- MBeans waiting for other MBeans ---
| | ObjectName: jboss.ejb:service=EJBTimerService,persistencePolicy=database
| | State: CONFIGURED
| | I Depend On:
| | jboss.jca:service=DataSourceBinding,name=DefaultDS
|
| Looks like you also removed the hsqldb-ds.xml file. That file declares the DefaultDS data source. Unless you plan on converting DefaultDS to use Oracle (or some other database), you should put the hsqldb-ds.xml file back into the server/xxx/deploy directory.
|
| And I repeat:
| PeterJ wrote : What username and password did you provide in [the oracle-ds.xml] file? Is it a valid Oracle username and password?
===============
You are right. I did remove hsqldb-ds.xml. I will put it back and retry.
Thanks very much!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4192306#4192306
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4192306
17 years, 5 months