[Security & JAAS/JBoss] - SSO in JBoss 4.0.5
by ycindepalle
hello,
Greetings.
This may be a trivial question but for us it is a good start for evaluating the jBoss for our projects.
We are planning to evaluate the jBoss 4.0.5 GA with jBoss Federated SSO framework beta version.
1. What are the limitations of this jBoss Federated SSO framework.
2. Does this support different apps in different domains.
3. Any support for XACML (1.0, 2.0).
4. Can I get some reference implementations for federated SSO..other the one in the flash demo.
5. Do we need a portal (customized or any product driven like Oracle portal, weblogic etc).
Current requirements.
We have 5 applications using different login mechanisms like JAAS, Database etc running in different servers including jBoss, Tomcat, web logic.
Can we use the beta Federated SSO beta for implementing SSO and SAML to support existing apps and also future apps..
Any help is greatly appreciated..We need some direction before we spend time on evaluating with a prototype.
I apologize if this a repeated question..
regards
Yugandhar
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995747#3995747
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995747
19 years, 7 months
[JBoss Portal] - trouble with clustering Portal 2.2.1-SP3 + AS 4.0.4GA
by tajh
Describe your environment:
JBoss Portal 2.2.1 SP3
downloaded as a bundle with JBoss AS 4.0.4, jboss-EJB-3.0_RC9-FD patch is applied
DB is Oracle 10g
JDBC connector is ojdbc14.jar
running on Solaris 10 (I believe)
Describe the problem:
After discovering that our two-host cluster never had Portal configured for clustering, I attempted to configure it for clustering as instructed in http://wiki.jboss.org/wiki/Wiki.jsp?page=Portal_2_2Cluster . Upon doing so, I discover errors on JBoss startup, and cannot access our portal page. I am not concerned with the CMS issue - I know there is some known problem with CMS on portal 2.2 with clustering, we are not using CMS, so I am not concerned with that problem. I also am not concerned with the duplicate data source issue. I would like to figure out this issue with the TreeCache, though, as that is the showstopper. Any help that can be provided is appreciated!
Here is my server log file:
2006-12-21 19:17:01,846 INFO [org.jboss.naming.NamingService] JNDI bootstrap JNP=/10.0.2.15:1099, RMI=/10.0.2.15:1098, backlog=50, no client SocketFactory, Server SocketFactory=class org.jboss.net.sockets.DefaultSocketFactory
| 2006-12-21 19:17:24,077 INFO [org.jboss.cache.TreeCache] interceptor chain is:
| class org.jboss.cache.interceptors.CallInterceptor
| class org.jboss.cache.interceptors.PessimisticLockInterceptor
| class org.jboss.cache.interceptors.UnlockInterceptor
| 2006-12-21 19:17:24,078 INFO [org.jboss.cache.TreeCache] cache mode is local, will not create the channel
| 2006-12-21 19:17:24,216 INFO [org.jboss.cache.TreeCache] interceptor chain is:
| class org.jboss.cache.interceptors.CallInterceptor
| class org.jboss.cache.interceptors.PessimisticLockInterceptor
| class org.jboss.cache.interceptors.UnlockInterceptor
| class org.jboss.cache.interceptors.ReplicationInterceptor
| 2006-12-21 19:17:24,217 INFO [org.jboss.cache.TreeCache] cache mode is REPL_SYNC
| 2006-12-21 19:17:25,337 INFO [org.jboss.cache.TreeCache] Cache is started!!
| 2006-12-21 19:17:25,601 INFO [STDOUT]
| -------------------------------------------------------
| GMS: address is clstr-sas302:35843
| -------------------------------------------------------
| 2006-12-21 19:17:27,261 INFO [org.jboss.cache.TreeCache] my local address is clstr-sas302:35843
| 2006-12-21 19:17:27,268 INFO [org.jboss.cache.TreeCache] viewAccepted(): [10.0.2.16:37719|11] [10.0.2.16:37719, clstr-sas302:35843]
| 2006-12-21 19:17:27,307 INFO [org.jboss.cache.TreeCache] received the state (size=1024 bytes)
| 2006-12-21 19:17:27,368 INFO [org.jboss.cache.TreeCache] state was retrieved successfully (in 106 milliseconds)
| 2006-12-21 19:17:27,369 INFO [org.jboss.cache.TreeCache] Cache is started!!
| 2006-12-21 19:17:33,315 INFO [org.jboss.ws.eventing.mgmt.SubscriptionManager] Bound event dispatcher to java:/EventDispatcher
| 2006-12-21 19:17:35,965 INFO [org.jboss.jmx.adaptor.snmp.agent.SnmpAgentService] SNMP agent going active
| 2006-12-21 19:17:36,425 INFO [org.jboss.aop.deployment.AspectDeployer] Deployed AOP: file:/opt/jboss/server/all/deploy/tc5-cluster.sar/tc5-cluster.aop
| 2006-12-21 19:17:36,642 INFO [org.jboss.cache.TreeCache] setting cluster properties from xml to: UDP(down_thread=false;enable_bundling=true;ip_ttl=2;loopback=false;max_bundle_size=64000;max_bundle_timeout=30;mcast_addr=230.1.2.7;mcast_port=45577;mcast_recv_buf_size=25000000;mcast_send_buf_size=640000;ucast_recv_buf_size=20000000;ucast_send_buf_size=640000;up_thread=false;use_incoming_packet_handler=true;use_outgoing_packet_handler=true):PING(down_thread=false;num_initial_members=3;timeout=2000;up_thread=false):MERGE2(down_thread=false;max_interval=100000;min_interval=20000;up_thread=false):FD(down_thread=false;max_tries=5;shun=true;timeout=2500;up_thread=false):VERIFY_SUSPECT(down_thread=false;timeout=1500;up_thread=false):pbcast.NAKACK(discard_delivered_msgs=true;down_thread=false;gc_lag=50;max_xmit_size=60000;retransmit_timeout=100,200,300,600,1200,2400,4800;up_thread=false;use_mcast_xmit=false):UNICAST(down_thread=false;timeout=300,600,1200,2400,3600;up_thread=false):pbcast.STABLE(desired_avg_gossip=50000;down_thread=false;max_bytes=2100000;stability_delay=1000;up_thread=false):pbcast.GMS(down_thread=false;join_retry_timeout=2000;join_timeout=3000;print_local_addr=true;shun=true;up_thread=false):FC(down_thread=false;max_credits=10000000;min_threshold=0.20;up_thread=false):FRAG2(down_thread=false;frag_size=60000;up_thread=false):pbcast.STATE_TRANSFER(down_thread=false;up_thread=false)
| 2006-12-21 19:17:36,654 INFO [org.jboss.cache.TreeCache] interceptor chain is:
| class org.jboss.cache.interceptors.CallInterceptor
| class org.jboss.cache.interceptors.PessimisticLockInterceptor
| class org.jboss.cache.interceptors.UnlockInterceptor
| class org.jboss.cache.interceptors.ReplicationInterceptor
| 2006-12-21 19:17:36,655 INFO [org.jboss.cache.TreeCache] cache mode is REPL_ASYNC
| 2006-12-21 19:17:36,847 INFO [STDOUT]
| -------------------------------------------------------
| GMS: address is clstr-sas302:35848
| -------------------------------------------------------
| 2006-12-21 19:17:38,952 INFO [org.jboss.cache.TreeCache] viewAccepted(): [10.0.2.16:37701|7] [10.0.2.16:37701, clstr-sas302:35848]
| 2006-12-21 19:17:38,952 INFO [org.jboss.cache.TreeCache] my local address is clstr-sas302:35848
| 2006-12-21 19:17:39,007 INFO [org.jboss.cache.TreeCache] received the state (size=1024 bytes)
| 2006-12-21 19:17:39,012 INFO [org.jboss.cache.TreeCache] state was retrieved successfully (in 59 milliseconds)
| 2006-12-21 19:17:39,012 INFO [org.jboss.cache.TreeCache] Cache is started!!
| 2006-12-21 19:17:39,676 INFO [org.apache.catalina.startup.Embedded] Catalina naming disabled
| 2006-12-21 19:17:39,910 INFO [org.apache.catalina.startup.ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
| 2006-12-21 19:17:39,916 INFO [org.apache.catalina.startup.ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
| 2006-12-21 19:17:41,043 INFO [org.apache.coyote.http11.Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-10.0.2.15-8080
| 2006-12-21 19:17:41,050 INFO [org.apache.catalina.startup.Catalina] Initialization processed in 1133 ms
| 2006-12-21 19:17:41,051 INFO [org.jboss.web.tomcat.tc5.StandardService] Starting service jboss.web
| 2006-12-21 19:17:41,064 INFO [org.apache.catalina.core.StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.17
| 2006-12-21 19:17:41,212 INFO [org.apache.catalina.core.StandardHost] XML validation disabled
| 2006-12-21 19:17:41,300 INFO [org.apache.catalina.startup.Catalina] Server startup in 250 ms
| 2006-12-21 19:17:41,940 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/httpha-invoker.sar/invoker.war/
| 2006-12-21 19:17:43,118 INFO [org.apache.catalina.loader.WebappLoader] Dual registration of jndi stream handler: factory already defined
| 2006-12-21 19:17:45,175 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/portal-cms, warUrl=.../deploy/jboss-portal.sar/portal-cms.war/
| 2006-12-21 19:17:45,873 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/portal-core, warUrl=.../deploy/jboss-portal.sar/portal-core.war/
| 2006-12-21 19:17:48,989 INFO [org.apache.myfaces.config.FacesConfigurator] Reading standard config org/apache/myfaces/resource/standard-faces-config.xml
| 2006-12-21 19:17:50,270 INFO [org.apache.myfaces.config.FacesConfigurator] Reading config jar:file:/opt/jboss/server/all/tmp/deploy/tmp46596jsf-facelets.jar!/META-INF/faces-config.xml
| 2006-12-21 19:17:50,311 INFO [org.apache.myfaces.config.FacesConfigurator] Reading config jar:file:/opt/jboss/server/all/tmp/deploy/tmp46608tomahawk.jar!/META-INF/faces-config.xml
| 2006-12-21 19:17:50,612 INFO [org.apache.myfaces.config.FacesConfigurator] Reading config /WEB-INF/faces-config.xml
| 2006-12-21 19:17:51,269 ERROR [org.apache.myfaces.util.LocaleUtils] Locale name null or empty, ignoring
| 2006-12-21 19:17:54,084 INFO [org.apache.myfaces.webapp.StartupServletContextListener] ServletContext '/opt/jboss/server/all/./deploy/jboss-portal.sar/portal-core.war/' initialized.
| 2006-12-21 19:17:54,299 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/portal-samples, warUrl=.../deploy/jboss-portal.sar/portal-samples.war/
| 2006-12-21 19:17:54,956 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/portal, warUrl=.../deploy/jboss-portal.sar/portal-server.war/
| 2006-12-21 19:17:55,724 INFO [org.jboss.web.tomcat.tc5.session.JBossCacheManager] init(): replicationGranularity_ is 0 and invaldateSessionPolicy is 1
| 2006-12-21 19:17:55,882 INFO [org.jboss.web.tomcat.tc5.session.JBossCacheManager] Starting JBossManager
| 2006-12-21 19:17:56,084 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/
| 2006-12-21 19:17:56,745 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/tmp46639jbossws-exp.war/
| 2006-12-21 19:17:57,385 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/juddi, warUrl=.../deploy/juddi-service.sar/juddiws.war/
| 2006-12-21 19:17:57,946 INFO [org.apache.juddi.registry.RegistryServlet] Loading jUDDI configuration.
| 2006-12-21 19:17:57,951 INFO [org.apache.juddi.registry.RegistryServlet] Resources loaded from: /WEB-INF/juddi.properties
| 2006-12-21 19:17:57,952 INFO [org.apache.juddi.registry.RegistryServlet] Initializing jUDDI components.
| 2006-12-21 19:18:00,761 INFO [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] Initializing
| 2006-12-21 19:18:00,927 INFO [STDOUT]
| -------------------------------------------------------
| GMS: address is clstr-sas302:35851 (additional data: 14 bytes)
| -------------------------------------------------------
| 2006-12-21 19:18:02,948 INFO [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] Number of cluster members: 2
| 2006-12-21 19:18:02,949 INFO [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] Other members: 1
| 2006-12-21 19:18:02,950 INFO [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] Fetching state (will wait for 30000 milliseconds):
| 2006-12-21 19:18:02,950 INFO [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] New cluster view for partition DefaultPartition: 7 ([10.0.2.16:1099, 10.0.2.15:1099] delta: 0)
| 2006-12-21 19:18:02,963 INFO [org.jboss.ha.framework.server.DistributedReplicantManagerImpl.DefaultPartition] I am (10.0.2.15:1099) received membershipChanged event:
| 2006-12-21 19:18:02,964 INFO [org.jboss.ha.framework.server.DistributedReplicantManagerImpl.DefaultPartition] Dead members: 0 ([])
| 2006-12-21 19:18:02,964 INFO [org.jboss.ha.framework.server.DistributedReplicantManagerImpl.DefaultPartition] New Members : 0 ([])
| 2006-12-21 19:18:02,964 INFO [org.jboss.ha.framework.server.DistributedReplicantManagerImpl.DefaultPartition] All Members : 2 ([10.0.2.16:1099, 10.0.2.15:1099])
| 2006-12-21 19:18:03,171 INFO [org.jboss.ha.jndi.HANamingService] Started ha-jndi bootstrap jnpPort=1100, backlog=50, bindAddress=/10.0.2.15
| 2006-12-21 19:18:03,194 INFO [org.jboss.ha.jndi.DetachedHANamingService$AutomaticDiscovery] Listening on /10.0.2.15:1102, group=230.0.0.4, HA-JNDI address=10.0.2.15:1100
| 2006-12-21 19:18:05,655 INFO [org.jboss.iiop.CorbaNamingService] Naming: [IOR:000000000000002B49444C3A6F6D672E6F72672F436F734E616D696E672F4E616D696E67436F6E746578744578743A312E3000000000000200000000000000D8000102000000000A31302E302E322E3135000DC8000000114A426F73732F4E616D696E672F726F6F74000000000000050000000000000008000000004A414300000000010000001C00000000000100010000000105010001000101090000000105010001000000210000005400000000000000010000000000000024000000220000007E0000000000000001000000103135322E3131392E3132302E313739000DC90000000000000000000000000000000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003]
| 2006-12-21 19:18:06,067 INFO [org.jboss.tm.iiop.CorbaTransactionService] TransactionFactory: [IOR:000000000000003049444C3A6F72672F6A626F73732F746D2F69696F702F5472616E73616374696F6E466163746F72794578743A312E30000000000200000000000000D8000102000000000A31302E302E322E3135000DC8000000144A426F73732F5472616E73616374696F6E732F46000000050000000000000008000000004A414300000000010000001C00000000000100010000000105010001000101090000000105010001000000210000005400000000000000010000000000000024000000220000007E0000000000000001000000103135322E3131392E3132302E313739000DC90000000000000000000000000000000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003]
| 2006-12-21 19:18:08,426 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
| 2006-12-21 19:18:11,075 INFO [org.jboss.mail.MailService] Mail Service bound to java:/Mail
| 2006-12-21 19:18:11,617 INFO [org.jboss.resource.deployment.RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
| 2006-12-21 19:18:11,747 INFO [org.jboss.resource.deployment.RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
| 2006-12-21 19:18:11,847 INFO [org.jboss.resource.deployment.RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
| 2006-12-21 19:18:11,952 INFO [org.jboss.resource.deployment.RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
| 2006-12-21 19:18:12,117 INFO [org.jboss.resource.deployment.RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
| 2006-12-21 19:18:12,212 INFO [org.jboss.resource.deployment.RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
| 2006-12-21 19:18:14,716 INFO [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=HSQLDBDS' to JNDI name 'java:HSQLDBDS'
| 2006-12-21 19:18:16,206 INFO [org.jboss.cache.TreeCache] interceptor chain is:
| class org.jboss.cache.interceptors.CallInterceptor
| class org.jboss.cache.interceptors.PessimisticLockInterceptor
| class org.jboss.cache.interceptors.CacheLoaderInterceptor
| class org.jboss.cache.interceptors.UnlockInterceptor
| class org.jboss.cache.interceptors.ReplicationInterceptor
| class org.jboss.cache.interceptors.CacheStoreInterceptor
| 2006-12-21 19:18:16,206 INFO [org.jboss.cache.TreeCache] cache mode is REPL_SYNC
| 2006-12-21 19:18:17,573 INFO [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=PortalDS' to JNDI name 'java:PortalDS'
| 2006-12-21 19:18:17,576 INFO [org.jboss.portal.cms.impl.jcr.JCRCMS] Starting JCR CMS
| 2006-12-21 19:18:17,981 INFO [org.jboss.portal.cms.hibernate.HibernateStore] BUILDING SessionFactory.
| 2006-12-21 19:18:23,548 INFO [org.jboss.portal.cms.hibernate.HibernateStore] HibernateSessionFactory Created.
| 2006-12-21 19:18:23,550 INFO [org.jboss.portal.cms.hibernate.HibernateStore] BUILDING SessionFactory.
| 2006-12-21 19:18:24,241 INFO [org.jboss.portal.cms.hibernate.HibernateStore] HibernateSessionFactory Created.
| 2006-12-21 19:18:24,270 INFO [org.jboss.portal.cms.hibernate.HibernateStore] BUILDING SessionFactory.
| 2006-12-21 19:18:24,932 INFO [org.jboss.portal.cms.hibernate.HibernateStore] HibernateSessionFactory Created.
| 2006-12-21 19:18:28,053 INFO [org.jboss.portal.cms.hibernate.state.HibernatePersistenceManager] BUILDING SessionFactory.
| 2006-12-21 19:18:29,403 INFO [org.jboss.portal.cms.hibernate.state.HibernatePersistenceManager] HibernateSessionFactory Created.
| 2006-12-21 19:18:30,011 INFO [org.jboss.portal.cms.hibernate.state.HibernatePersistenceManager] BUILDING SessionFactory.
| 2006-12-21 19:18:31,184 INFO [org.jboss.portal.cms.hibernate.state.HibernatePersistenceManager] HibernateSessionFactory Created.
| 2006-12-21 19:18:32,570 INFO [org.jboss.portal.cms.impl.jcr.jackrabbit.JackrabbitJCRService] Repository 'repotest' created
| 2006-12-21 19:18:32,653 INFO [org.jboss.portal.cms.impl.jcr.jackrabbit.JackrabbitJCRService] The repository has already the CMS node types registered
| 2006-12-21 19:18:32,734 WARN [org.jboss.system.ServiceController] Problem starting service portal:service=HASingletonInvoker,type=CMS
| java.lang.IllegalArgumentException: Unable to find operation setInvoker(org.jboss.portal.cms.ha.HASingletonInvoker)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:231)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy28.setInvoker(Unknown Source)
| at org.jboss.portal.cms.ha.HASingletonInvoker.startService(HASingletonInvoker.java:184)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor2.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 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(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 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 $Proxy109.start(Unknown Source)
| at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:197)
| 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.GeneratedMethodAccessor72.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 $Proxy8.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.GeneratedMethodAccessor2.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.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.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)
| 2006-12-21 19:18:33,001 INFO [STDOUT]
| -------------------------------------------------------
| GMS: address is clstr-sas302:35854
| -------------------------------------------------------
| 2006-12-21 19:18:34,021 INFO [org.jboss.cache.TreeCache] my local address is clstr-sas302:35854
| 2006-12-21 19:18:34,021 INFO [org.jboss.cache.TreeCache] viewAccepted(): [10.0.2.16:37717|11] [10.0.2.16:37717, clstr-sas302:35854]
| 2006-12-21 19:18:34,035 INFO [org.jboss.cache.TreeCache] received the state (size=1024 bytes)
| 2006-12-21 19:18:34,036 INFO [org.jboss.cache.TreeCache] state was retrieved successfully (in 15 milliseconds)
| 2006-12-21 19:18:34,037 INFO [org.jboss.cache.TreeCache] preloading transient state from cache loader
| 2006-12-21 19:18:46,049 INFO [org.jboss.cache.TreeCache] preloading transient state from cache loader was successful (in 12012 milliseconds)
| 2006-12-21 19:18:46,050 INFO [org.jboss.cache.TreeCache] Cache is started!!
| 2006-12-21 19:18:47,716 WARN [org.jboss.system.ServiceController] Problem starting service portal:container=PortalObject,type=global
| java.lang.UnsupportedOperationException: TreeCache is a fully transactional cache: org/jboss/portal/core/impl/model/portal/PortalObjectImpl
| at org.hibernate.cache.TreeCache.unlock(TreeCache.java:147)
| at org.hibernate.cache.ReadWriteCache.put(ReadWriteCache.java:176)
| at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:156)
| at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:842)
| at org.hibernate.loader.Loader.doQuery(Loader.java:717)
| at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
| at org.hibernate.loader.Loader.loadEntity(Loader.java:1785)
| at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:48)
| at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:42)
| at org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:2821)
| at org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:370)
| at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:351)
| at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:122)
| at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:178)
| at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:86)
| at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:871)
| at org.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:839)
| at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:266)
| at org.hibernate.type.EntityType.resolve(EntityType.java:303)
| at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:116)
| at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:842)
| at org.hibernate.loader.Loader.doQuery(Loader.java:717)
| at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
| at org.hibernate.loader.Loader.doList(Loader.java:2145)
| at org.hibernate.loader.Loader.listUsingQueryCache(Loader.java:2061)
| at org.hibernate.loader.Loader.list(Loader.java:2021)
| at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:392)
| at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:333)
| at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
| at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1114)
| at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
| at org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:756)
| at org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.lookup(PersistentPortalObjectContainer.java:219)
| at org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.createContextIfNotExist(PersistentPortalObjectContainer.java:235)
| at org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.startService(PersistentPortalObjectContainer.java:139)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196)
| at org.jboss.portal.common.system.AbstractJBossService.start(AbstractJBossService.java:86)
| at sun.reflect.GeneratedMethodAccessor21.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.system.ServiceController$ServiceProxy.invoke(ServiceController.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 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.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 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 $Proxy109.start(Unknown Source)
| at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:197)
| 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.GeneratedMethodAccessor72.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 $Proxy8.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.GeneratedMethodAccessor2.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.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.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)
| 2006-12-21 19:18:47,813 ERROR [org.jboss.deployment.MainDeployer] Could not create deployment: file:/opt/jboss/server/all/deploy/jbossp-oracle-ds.xml
| org.jboss.deployment.DeploymentException: Trying to install an already registered mbean: jboss.jca:service=LocalTxCM,name=PortalDS
| at org.jboss.system.ServiceCreator.install(ServiceCreator.java:103)
| at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:449)
| at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
| at org.jboss.system.ServiceController.install(ServiceController.java:226)
| at sun.reflect.GeneratedMethodAccessor71.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 $Proxy109.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.GeneratedMethodAccessor72.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 $Proxy8.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.GeneratedMethodAccessor2.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.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.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)
| 2006-12-21 19:18:48,281 INFO [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
| 2006-12-21 19:18:48,512 INFO [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
| 2006-12-21 19:18:49,060 INFO [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=PortalCustomDS' to JNDI name 'java:PortalCustomDS'
| 2006-12-21 19:18:49,232 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
| 2006-12-21 19:18:49,983 INFO [org.jboss.deployment.EARDeployer] Init J2EE application: file:/opt/jboss/server/all/deploy/marad-portal.ear
| 2006-12-21 19:18:51,408 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/marad, warUrl=.../tmp/deploy/tmp46677marad-portal.ear-contents/marad-exp.war/
| 2006-12-21 19:18:52,519 INFO [org.jboss.deployment.EARDeployer] Started J2EE application: file:/opt/jboss/server/all/deploy/marad-portal.ear
| 2006-12-21 19:18:52,724 INFO [org.jboss.ha.framework.server.FarmMemberService] **** pullNewDeployments ****
| 2006-12-21 19:18:52,725 INFO [org.jboss.ha.framework.server.ClusterFileTransfer] Start pull of file cluster-examples-service.xml from cluster.
| 2006-12-21 19:18:52,802 INFO [org.jboss.ha.framework.server.ClusterFileTransfer] Finished cluster pull of file cluster-examples-service.xml to cluster-examples-service.xml
| 2006-12-21 19:18:52,873 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete Deployment listing:
|
| --- Incompletely deployed packages ---
| org.jboss.deployment.DeploymentInfo@615288bf { url=file:/opt/jboss/server/all/deploy/jbossp-oracle-ds.xml }
| deployer: org.jboss.deployment.XSLSubDeployer@6e056e
| status: Deployment FAILED reason: Trying to install an already registered mbean: jboss.jca:service=LocalTxCM,name=PortalDS
| state: FAILED
| watch: file:/opt/jboss/server/all/deploy/jbossp-oracle-ds.xml
| altDD: null
| lastDeployed: 1166746727804
| lastModified: 1166746727000
| mbeans:
|
| --- MBeans waiting for other MBeans ---
| ObjectName: portal:service=HASingletonInvoker,type=CMS
| State: FAILED
| Reason: java.lang.IllegalArgumentException: Unable to find operation setInvoker(org.jboss.portal.cms.ha.HASingletonInvoker)
| I Depend On:
| jboss:service=DefaultPartition
| portal:service=CMS
| portal:service=ProxyFactory,type=CMS
|
| ObjectName: portal:container=PortalObject,type=global
| State: FAILED
| Reason: java.lang.UnsupportedOperationException: TreeCache is a fully transactional cache: org/jboss/portal/core/impl/model/portal/PortalObjectImpl
| I Depend On:
| portal:service=ListenerRegistry
| portal:service=Hibernate,type=globalportal
| Depends On Me:
| portal:mapper=DefaultPortal
| portal:mapper=PortalObject,type=global
| portal:controller=Request
| portal:deployer=PortalWebApp
| portal:deploymentFactory=Object
|
| --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
| ObjectName: portal:container=PortalObject,type=global
| State: FAILED
| Reason: java.lang.UnsupportedOperationException: TreeCache is a fully transactional cache: org/jboss/portal/core/impl/model/portal/PortalObjectImpl
| I Depend On:
| portal:service=ListenerRegistry
| portal:service=Hibernate,type=globalportal
| Depends On Me:
| portal:mapper=DefaultPortal
| portal:mapper=PortalObject,type=global
| portal:controller=Request
| portal:deployer=PortalWebApp
| portal:deploymentFactory=Object
|
| ObjectName: portal:service=HASingletonInvoker,type=CMS
| State: FAILED
| Reason: java.lang.IllegalArgumentException: Unable to find operation setInvoker(org.jboss.portal.cms.ha.HASingletonInvoker)
| I Depend On:
| jboss:service=DefaultPartition
| portal:service=CMS
| portal:service=ProxyFactory,type=CMS
|
|
| 2006-12-21 19:18:53,271 INFO [org.apache.coyote.http11.Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-10.0.2.15-8080
| 2006-12-21 19:18:53,609 INFO [org.apache.jk.common.ChannelSocket] JK: ajp13 listening on /10.0.2.15:8009
| 2006-12-21 19:18:53,644 INFO [org.apache.jk.server.JkMain] Jk running ID=0 time=0/104 config=null
| 2006-12-21 19:18:53,692 INFO [org.jboss.system.server.Server] JBoss (MX MicroKernel) [4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)] Started in 2m:10s:255ms
|
Here is my modified jboss-portal.sar/META-INF/jboss-service.xml:
<?xml version="1.0" encoding="UTF-8"?>
| <server>
|
| <!-- Server configuration service -->
| <mbean
| code="org.jboss.portal.server.config.ServerConfigService"
| name="portal:service=ServerConfig"
| xmbean-dd="org/jboss/portal/server/config/ServerConfigService.xml">
| <attribute name="ConfigLocation">conf/config.xml</attribute>
| </mbean>
|
| <!-- Jacc policy configuration -->
| <mbean
| code="org.jboss.portal.security.impl.jacc.PortalJaccPolicy"
| name="jboss.security:service=JaccPolicyProvider"
| xmbean-dd="org/jboss/portal/security/impl/jacc/PortalJaccPolicy.xml">
| <attribute name="ExternalPermissionTypes">
| org.jboss.portal.core.security.PortalObjectPermission,
| org.jboss.portal.core.security.InstancePermission,
| org.jboss.portal.core.security.ComponentPermission
| </attribute>
| </mbean>
|
| <!-- Security provider -->
| <!-- todo when the xmbean loading is fixed in JBoss move the xmbean descriptor to a resource file : http://jira.jboss.com/jira/browse/JBAS-2501 -->
| <mbean
| code="org.jboss.portal.security.impl.jacc.JBossSecurityProviderImpl"
| name="portal:service=SecurityProvider"
| xmbean-dd="">
| <xmbean>
| <descriptors>
| <injection id="MBeanServerType" setMethod="setMBeanServer"/>
| <injection id="ObjectNameType" setMethod="setObjectName"/>
| </descriptors>
| <attribute access="read-write" getMethod="getPolicyName" setMethod="setPolicyName">
| <description>The policy provider MBean name</description>
| <name>PolicyName</name>
| <type>javax.management.ObjectName</type>
| </attribute>
| <attribute access="read-write" getMethod="getPolicyAttributeName" setMethod="setPolicyAttributeName">
| <description>The Policy attribute name on the PolicyName MBean</description>
| <name>PolicyAttributeName</name>
| <type>java.lang.String</type>
| </attribute>
| <attribute access="read-write" getMethod="getConfig" setMethod="setConfig">
| <description>The Server Config</description>
| <name>ConfigName</name>
| <type>javax.management.ObjectName</type>
| </attribute>
| <attribute access="read-write" getMethod="getServerConfig">
| <description>(no description)</description>
| <name>ServerConfig</name>
| <type>org.jboss.portal.server.config.ServerConfig</type>
| <descriptors>
| <persistence/>
| </descriptors>
| </attribute>
| <attribute access="read-write" getMethod="getPolicy">
| <description>(no description)</description>
| <name>Policy</name>
| <type>java.security.Policy</type>
| <descriptors>
| <persistence/>
| </descriptors>
| </attribute>
| <operation impact="ACTION_INFO">
| <description>(no description)</description>
| <name>inService</name>
| <parameter>
| <description>(no description)</description>
| <name>policyContextID</name>
| <type>java.lang.String</type>
| </parameter>
| <return-type>boolean</return-type>
| <descriptors>
| </descriptors>
| </operation>
| <operation impact="ACTION_INFO">
| <description>(no description)</description>
| <name>getPolicyConfiguration</name>
| <parameter>
| <description>(no description)</description>
| <name>policyContextID</name>
| <type>java.lang.String</type>
| </parameter>
| <parameter>
| <description>(no description)</description>
| <name>remove</name>
| <type>boolean</type>
| </parameter>
| <return-type>javax.security.jacc.PolicyConfiguration</return-type>
| <descriptors>
| </descriptors>
| </operation>
| <operation>
| <name>start</name>
| </operation>
| <operation>
| <name>stop</name>
| </operation>
| </xmbean>
| <attribute name="PolicyName">jboss.security:service=JaccPolicyProvider</attribute>
| <attribute name="PolicyAttributeName">PolicyProxy</attribute>
| <attribute name="ConfigName">portal:service=ServerConfig</attribute>
| </mbean>
| <mbean
| code="org.jboss.portal.security.impl.jacc.PortalPolicyServiceImpl"
| name="portal:service=PolicyService"
| xmbean-dd="org/jboss/portal/security/impl/jacc/PortalPolicyServiceImpl.xml">
| <depends optional-attribute-name="SecurityProvider" proxy-type="attribute">portal:service=SecurityProvider</depends>
| </mbean>
| <mbean
| code="org.jboss.portal.security.impl.jacc.JaccPortalPolicyConfigurator"
| name="portal:policy=JaccPortalPolicyConfigurator"
| xmbean-dd="org/jboss/portal/security/impl/jacc/JaccPortalPolicyConfigurator.xml">
| <depends optional-attribute-name="JBossSecurityProvider" proxy-type="attribute">portal:service=SecurityProvider</depends>
| <depends optional-attribute-name="PermissionFactory" proxy-type="attribute">portal:service=PortalPermissionFactory</depends>
| </mbean>
|
| <!-- Persistent cache for portal objeccts and instances security stores -->
| <mbean
| code="org.jboss.cache.TreeCache"
| name="portal:service=TreeCache,type=persistent">
| <depends>jboss:service=TransactionManager</depends>
| <depends>jboss.jca:service=DataSourceBinding,name=PortalDS</depends>
| <attribute name="TransactionManagerLookupClass">org.jboss.cache.JBossTransactionManagerLookup</attribute>
| <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
| <!-- Set to REPL_SYNC in clustered mode, otherwise LOCAL -->
| <attribute name="CacheMode">REPL_SYNC</attribute>
| <attribute name="ClusterName">portal.security</attribute>
| <attribute name="FetchStateOnStartup">true</attribute>
| <attribute name="CacheLoaderClass">org.jboss.portal.core.security.store.HibernateCacheLoader</attribute>
| <attribute name="CacheLoaderConfig">config.location=conf/hibernate/security/hibernate.cfg.xml</attribute>
| <attribute name="CacheLoaderShared">true</attribute>
| <attribute name="CacheLoaderFetchTransientState">false</attribute>
| <attribute name="CacheLoaderFetchPersistentState">true</attribute>
| <attribute name="CacheLoaderPreload">/</attribute>
| <depends>portal:policy=JaccPortalPolicyConfigurator</depends>
| </mbean>
| <mbean
| code="org.jboss.portal.security.impl.store.JBossTreeCacheProvider"
| name="portal:service=TreeCacheProvider,type=persistent"
| xmbean-dd="org/jboss/portal/security/impl/store/JBossTreeCacheProvider.xml">
| <depends optional-attribute-name="CacheName">portal:service=TreeCache,type=persistent</depends>
| </mbean>
|
| <!-- Transient cache for component security store -->
| <mbean
| code="org.jboss.cache.TreeCache"
| name="portal:service=TreeCache,type=transient">
| <depends>jboss:service=TransactionManager</depends>
| <attribute name="TransactionManagerLookupClass">org.jboss.cache.JBossTransactionManagerLookup</attribute>
| <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
| <attribute name="CacheMode">LOCAL</attribute>
| </mbean>
| <mbean
| code="org.jboss.portal.security.impl.store.JBossTreeCacheProvider"
| name="portal:service=TreeCacheProvider,type=transient"
| xmbean-dd="org/jboss/portal/security/impl/store/JBossTreeCacheProvider.xml">
| <depends optional-attribute-name="CacheName">portal:service=TreeCache,type=transient</depends>
| </mbean>
|
|
|
| <!-- -->
| <mbean
| code="org.jboss.portal.security.impl.JBossPortalPolicyConfigServiceImpl"
| name="portal:policy=PortalPolicyConfigService"
| xmbean-dd="org/jboss/portal/security/impl/JBossPortalPolicyConfigServiceImpl.xml">
| </mbean>
| <mbean
| code="org.jboss.portal.security.impl.JBossPortalPolicyConfigStoreImpl"
| name="portal:policy=PortalPolicyConfigStore,type=PortalObject"
| xmbean-dd="org/jboss/portal/security/impl/JBossPortalPolicyConfigStoreImpl.xml">
| <depends optional-attribute-name="ConfigListener" proxy-type="attribute">portal:policy=JaccPortalPolicyConfigurator</depends>
| <depends optional-attribute-name="CacheProvider" proxy-type="attribute">portal:service=TreeCacheProvider,type=persistent</depends>
| <depends optional-attribute-name="PortalPolicyConfigService" proxy-type="attribute">portal:policy=PortalPolicyConfigService</depends>
| <attribute name="PermissionType">portalobject</attribute>
| <attribute name="Prefix">portalobject</attribute>
| </mbean>
| <mbean
| code="org.jboss.portal.security.impl.JBossPortalPolicyConfigStoreImpl"
| name="portal:policy=PortalPolicyConfigStore,type=Instance"
| xmbean-dd="org/jboss/portal/security/impl/JBossPortalPolicyConfigStoreImpl.xml">
| <depends optional-attribute-name="ConfigListener" proxy-type="attribute">portal:policy=JaccPortalPolicyConfigurator</depends>
| <depends optional-attribute-name="CacheProvider" proxy-type="attribute">portal:service=TreeCacheProvider,type=persistent</depends>
| <depends optional-attribute-name="PortalPolicyConfigService" proxy-type="attribute">portal:policy=PortalPolicyConfigService</depends>
| <attribute name="PermissionType">instance</attribute>
| <attribute name="Prefix">instance</attribute>
| </mbean>
| <mbean
| code="org.jboss.portal.security.impl.JBossPortalPolicyConfigStoreImpl"
| name="portal:policy=PortalPolicyConfigStore,type=Component"
| xmbean-dd="org/jboss/portal/security/impl/JBossPortalPolicyConfigStoreImpl.xml">
| <depends optional-attribute-name="ConfigListener" proxy-type="attribute">portal:policy=JaccPortalPolicyConfigurator</depends>
| <depends optional-attribute-name="CacheProvider" proxy-type="attribute">portal:service=TreeCacheProvider,type=transient</depends>
| <depends optional-attribute-name="PortalPolicyConfigService" proxy-type="attribute">portal:policy=PortalPolicyConfigService</depends>
| <attribute name="PermissionType">component</attribute>
| <attribute name="Prefix">component</attribute>
| </mbean>
| <mbean
| code="org.jboss.portal.security.impl.JBossPortalPermissionFactory"
| name="portal:service=PortalPermissionFactory"
| xmbean-dd="org/jboss/portal/security/impl/JBossPortalPermissionFactory.xml">
| <attribute name="Config">
| portalobject=org.jboss.portal.core.security.PortalObjectPermission
| instance=org.jboss.portal.core.security.InstancePermission
| component=org.jboss.portal.core.security.ComponentPermission
| </attribute>
| </mbean>
|
| <!-- Server stack -->
| <mbean
| code="org.jboss.portal.core.aspects.server.TransactionInterceptor"
| name="portal:service=Interceptor,type=Server,name=Transaction"
| xmbean-dd="org/jboss/portal/core/aspects/server/TransactionInterceptor.xml">
| </mbean>
| <mbean
| code="org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor"
| name="portal:service=Interceptor,type=Server,name=SessionInvalidator"
| xmbean-dd="org/jboss/portal/server/aspects/server/SessionInvalidatorInterceptor.xml">
| </mbean>
| <mbean
| code="org.jboss.portal.core.aspects.server.UserInterceptor"
| name="portal:service=Interceptor,type=Server,name=User"
| xmbean-dd="org/jboss/portal/core/aspects/server/UserInterceptor.xml">
| </mbean>
| <mbean
| code="org.jboss.portal.core.aspects.server.LocaleInterceptor"
| name="portal:service=Interceptor,type=Server,name=Locale"
| xmbean-dd="org/jboss/portal/core/aspects/server/LocaleInterceptor.xml">
| </mbean>
| <mbean
| code="org.jboss.portal.server.aspects.server.ContentTypeInterceptor"
| name="portal:service=Interceptor,type=Server,name=ContentType"
| xmbean-dd="org/jboss/portal/server/aspects/server/ContentTypeInterceptor.xml">
| </mbean>
| <mbean
| code="org.jboss.portal.core.aspects.server.PolicyAssociationInterceptor"
| name="portal:service=Interceptor,type=Server,name=PolicyAssociation"
| xmbean-dd="org/jboss/portal/core/aspects/server/PolicyAssociationInterceptor.xml">
| <depends optional-attribute-name="PolicyService" proxy-type="attribute">portal:service=PolicyService</depends>
| </mbean>
| <mbean
| code="org.jboss.portal.core.aspects.server.SubjectAssociationInterceptor"
| name="portal:service=Interceptor,type=Server,name=SubjectAssociation"
| xmbean-dd="org/jboss/portal/core/aspects/server/SubjectAssociationInterceptor.xml">
| </mbean>
| <mbean
| code="org.jboss.portal.server.impl.invocation.JBossInterceptorStack"
| name="portal:service=InterceptorStack,type=Server"
| xmbean-dd="org/jboss/portal/server/impl/invocation/JBossInterceptorStack.xml">
| <depends-list optional-attribute-name="InterceptorNames">
| <depends-list-element>portal:service=Interceptor,type=Server,name=Transaction</depends-list-element>
| <depends-list-element>portal:service=Interceptor,type=Server,name=SessionInvalidator</depends-list-element>
| <depends-list-element>portal:service=Interceptor,type=Server,name=User</depends-list-element>
| <depends-list-element>portal:service=Interceptor,type=Server,name=Locale</depends-list-element>
| <depends-list-element>portal:service=Interceptor,type=Server,name=ContentType</depends-list-element>
| <depends-list-element>portal:service=Interceptor,type=Server,name=PolicyAssociation</depends-list-element>
| <depends-list-element>portal:service=Interceptor,type=Server,name=SubjectAssociation</depends-list-element>
| </depends-list>
| </mbean>
|
| <!-- Command stack -->
| <mbean
| code="org.jboss.portal.core.aspects.controller.NavigationInterceptor"
| name="portal:service=Interceptor,type=Command,name=Navigation"
| xmbean-dd="org/jboss/portal/core/aspects/controller/NavigationInterceptor.xml">
| </mbean>
| <mbean
| code="org.jboss.portal.core.aspects.controller.PortalNodeInterceptor"
| name="portal:service=Interceptor,type=Command,name=PortalNode"
| xmbean-dd="org/jboss/portal/core/aspects/controller/PortalNodeInterceptor.xml">
| </mbean>
| <mbean
| code="org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor"
| name="portal:service=Interceptor,type=Command,name=PolicyEnforcement"
| xmbean-dd="org/jboss/portal/core/aspects/controller/PolicyEnforcementInterceptor.xml">
| <depends optional-attribute-name="PortalPermissionFactory" proxy-type="attribute">portal:service=PortalPermissionFactory</depends>
| </mbean>
| <mbean
| code="org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor"
| name="portal:service=Interceptor,type=Command,name=EventBroadcaster"
| xmbean-dd="org/jboss/portal/core/aspects/controller/EventBroadcasterInterceptor.xml">
| </mbean>
| <mbean
| code="org.jboss.portal.server.impl.invocation.JBossInterceptorStack"
| name="portal:service=InterceptorStack,type=Command"
| xmbean-dd="org/jboss/portal/server/impl/invocation/JBossInterceptorStack.xml">
| <depends-list optional-attribute-name="InterceptorNames">
| <depends-list-element>portal:service=Interceptor,type=Command,name=Navigation</depends-list-element>
| <depends-list-element>portal:service=Interceptor,type=Command,name=PortalNode</depends-list-element>
| <depends-list-element>portal:service=Interceptor,type=Command,name=PolicyEnforcement</depends-list-element>
| <depends-list-element>portal:service
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995746#3995746
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995746
19 years, 7 months
[JBoss Eclipse IDE (users)] - JBoss IDE Out of memory error
by tnine
Hi all,
I'm trying out the JBoss IDE beta, and I'm having some issues with it. I get an out of memory error after running the IDE for about 15 minutes. I'm using Java 1.5 on Windows XP Pro. I have installed the JSF Webtools plug in, the subversion plug in, and the maven 2 plug in. I have the following shortcut set up.
| C:\eclipse\eclipse\eclipse.exe -vmargs -Xms512m -Xmx1024m
|
However when I look at the .log file in my workspace, I don't see my memory arguments.
| !SESSION 2006-12-21 18:05:46.141 -----------------------------------------------
| eclipse.buildId=unknown
| java.version=1.5.0_05
| java.vendor=Sun Microsystems Inc.
| BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
| Command-line arguments: -os win32 -ws win32 -arch x86
|
| !ENTRY org.eclipse.core.resources 2 10035 2006-12-21 18:05:49.704
| !MESSAGE A workspace crash was detected. The previous session did not exit normally.
|
| !ENTRY org.hibernate.eclipse.console 4 4 2006-12-21 18:06:09.830
| !MESSAGE Error while reading console configuration
|
Is the IDE not picking up my 512Mb minimum and 1Gb of maximum memory?
Thanks,
Todd
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995734#3995734
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995734
19 years, 7 months
[JBoss Seam] - Re: Seam & Maven2
by christian.bauer@jboss.com
That last statement is correct, shared libs in an EAR go into EAR/lib/ in Java EE 5.0.
However, in J2EE 1.4 and JBoss 4.0, you need to use a MANIFEST.MF in the ejb.jar and web.war archives, and reference the shared library by name in a Classpath: entry. Make sure that you have a new line after this, and that there is something in that new line (like a Created-By: entry). This is totally broken stuff in J2EE 1.4. I've lost a lot of hair until I figured that one out.
The way most Seam examples declare shared JARs in an EAR now, via a client module in application.xml, is not really correct and slower (these JARs are scanned by deployers), but seems to work.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995733#3995733
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995733
19 years, 7 months
[Installation, Configuration & Deployment] - Re: Sun Creator and JBoss
by nick.powers@att.com
Instead of trying to keep this document available, I'll just post what I have here. Also, at the advice of the nice people on the forum, I have switched to using NetBeans 5.5 and it integrates with JBoss very nicely.
JBoss And Sun Creator Idiosyncrasies
by Nick Powers
Reference
* JBoss Appliction Server - version 4.0.5.GA in the default configuration.
- I installed it using the JEMS installer.
* MySQL - version 4.1.22
* JConnection - version 3.0.17
Purpose
This document will list all of the funny configurations I have to do to setup the JBoss server.
Deploy a JSF project via Sun Creator
JBoss has components called JBossFaces that work like JFaces, but are not compatible with Sun Creator's version. There is an article that references these problems. The old way to replace the files and an Alternative Tomahawk option and Replacement option. I only got the Table and action components to work if I replaced the JSF jars with Sun's as described below.
* Delete the jsf-libs directory under the following: <jboss_home>\server\default\deploy\jbossweb-tomcat55.sar
* Add jstl.jar and standard.jar into following directory: <jboss_home>\server\default\deploy\jbossweb-tomcat55.sar
* Leave the sun JSF jars in the web/lib directory.
* Create a jboss-web.xml that has the following lines:
| <jboss-web>
| <resource-ref>
| <res-ref-name>jdbc/MySQLDS</res-ref-name>
| <jndi-name>java:/jdbc/MySQLDS</jndi-name>
| </resource-ref>
| </jboss-web>
|
- This defines the data source. Place it into the web\WEB-INF directory of the Creator project
* Enter the following lines to the web.xml of the Creator project:
| <listener><listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class></listener>
|
- You can not put this into the web.xml file in your Sun Creator project. It will not deploy.
- This will be placed in the WEB-INF directory.
* Remove the log4j jar from the WEB-INF/lib directory as it causes problems with the one defined in the JBoss Server.
Make jmx-console Work Again
* insert the following into the <jboss_home>\server\default\deploy\management\console-mgr.sar\web-console.war\WEB-INF\jboss-web.xml
file:
| <jboss-web>
| <!-- Uncomment the security-domain to enable security. You will
| need to edit the htmladaptor login configuration to setup the
| login modules used to authentication users.
| -->
| <security-domain>java:/jaas/jmx-console</security-domain>
| <depends>jboss.admin:service=PluginManager</depends>
| </jboss-web>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995732#3995732
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995732
19 years, 7 months
[JBoss AOP] - Field interception doesn't work........
by robotics80
I have three classes like these:
public class SqtpSkeleton{
| protected Log objLog=null;
| // and so on...
| }
|
| public class SqtpService extends SqtpSkeleton{
| //other fields and methods.....
| }
|
| public class MyService extends SqtpService{
| public void init(){
| objLog = new Log("c:/logFile.log",255);
| }
| public void execute(){
| objLog.write("START");
| //do something
| }
| }
Now I want to intercept the logObject of MyService class, because I want to use the same log object declared in MyService class, in a LogInterceptor. I want this behaviour because the LogInterceptor have to log operations in the same file that the class use for its own logging.
Initially I have created an aspect with two advices where the first advice intercept the FieldWriteInvocation to the object Log objLog in MyService class, and the second advice to intercept any other invocation such as MethodInvocation or ConstructorInvocation that uses the intercepted log object by the first advice.
Here is the example of the code for my Aspect:
public class LogAspect {
| private static final String className = "LogAspect";
| private static final String DBG_ERROR = "ERROR";
| private static final String DBG_WARNING = "WARNING";
| private static final String DBG_INFO = "INFO";
| private static final String DBG_TRACE = "TRACE";
| private String propertyFile;
| private Log log;
|
|
| public void setPropertyFile(String propertyFile) {
| this.propertyFile = propertyFile;
| }
|
| public void setLog(Log log) {
| this.log = log;
| }
|
| public String getName() {
| return "LogAspect";
| }
|
| public Object getLogger(Invocation invocation) throws Throwable{
| try{
| System.out.println("INGRESSO nel getLogger() for " + Thread.currentThread().getName());
| if (invocation instanceof FieldWriteInvocation) {
| FieldWriteInvocation fieldInvocation = (FieldWriteInvocation)invocation;
| setLog((Log)fieldInvocation.getValue());
| } else
| System.out.println("Unknown Invocation!!");
| return invocation.invokeNext();
| } finally {
| System.out.println("USCITA dal getLogger() for " + Thread.currentThread().getName());
| }
| }
|
| public Object trace(Invocation invocation) throws Throwable{
| String proc = className + ".trace()";
| long startTime = System.currentTimeMillis();
| logInfo(proc, "START");
| logTrace(proc, invocationTypeValue(invocation));
| Object response = null;
| try {
| response = invocation.invokeNext();
| return response;
| }catch(Throwable t) {
| long endTime = System.currentTimeMillis();
| long elapsedTime = endTime - startTime;
| logErr(proc, t.getMessage() + " - Tempo di esecuzione (ms): " + elapsedTime);
| throw t;
| }
| finally {
| long endTime = System.currentTimeMillis();
| long elapsedTime = endTime - startTime;
| logTrace(proc,dumpInvocationResponse(invocation, response) + " - Tempo di esecuzione (ms): " + elapsedTime);
| logInfo(proc, "END");
| }
| }
|
|
| /**
| * visualizza informazioni utili circa la risposta della chiamata
| * @param l'oggetto invocation, contenente il tipo di chiamata intercettatta dall'interceptor
| * @return la stringa indicante il valore di ritorno del metodo intercettato (se presente)
| */
| public String dumpInvocationResponse(Invocation invocation, Object response) {
|
| StringBuffer buffer = new StringBuffer();
| String genericName;
| String returnType;
| String modifier;
| if (invocation instanceof MethodInvocation) {
| MethodInvocation methodInvocation = (MethodInvocation)invocation;
| genericName = methodInvocation.getMethod().getName();
| returnType = methodInvocation.getMethod().getReturnType().getName();
| modifier = Modifier.toString(methodInvocation.getMethod().getModifiers());
| buffer.append(modifier + " ").append(returnType + " ").append(genericName).append("()");
| buffer.append(" ( return ");
| if (response == null)
| buffer.append("NULL");
| else
| buffer.append(response.getClass().getSimpleName()).append(":").append(response.toString());
| buffer.append(" )");
| }else if(invocation instanceof ConstructorInvocation) {
| ConstructorInvocation cInvocation = (ConstructorInvocation)invocation;
| genericName = cInvocation.getConstructor().getDeclaringClass().getSimpleName();
| modifier = Modifier.toString(cInvocation.getConstructor().getModifiers());
| buffer.append(modifier + " ").append(genericName).append("()");
| }
| return buffer.toString();
| }
|
| /**
| * Metodo che ritorna la stringa rappresentante la 'Signature' del metodo o del costruttore
| * wrappato dalla MethodInvocation o ConstructorInvocation.
| * La 'Signature' è composta dal nome del metodo / costruttore, preceduto da eventuali modificatori, e dalla lista di parametri
| * che lo compongono organizzata per 'tipo;valore', in cui il valore è l'informazione a runtime del suddetto parametro
| * @param Invocation l'oggetto per il tipo di invocazione
| * @return la stringa contenente la signature del metodo / costruttore invocato
| */
| private String invocationTypeValue (Invocation invocation) {
|
| String genericName;
| String returnType;
| String modifier;
| Object[] argumentsValue;
| Class[] argumentsType;
| //Class[] exception;
| StringBuffer buffer = new StringBuffer();
|
| if (invocation instanceof MethodInvocation) {
| MethodInvocation mi = (MethodInvocation)invocation;
| genericName = mi.getMethod().getName();
| returnType = mi.getMethod().getReturnType().getName();
| modifier = Modifier.toString(mi.getMethod().getModifiers());
| argumentsValue = mi.getArguments();
| argumentsType = mi.getMethod().getParameterTypes();
| //exception = mi.getMethod().getExceptionTypes();
| buffer.append(modifier + " ").append(returnType + " ").append(genericName);
| if (argumentsType == null || argumentsType.length == 0) {
| buffer.append("()");
| return buffer.toString();
| }
| } else if (invocation instanceof ConstructorInvocation) {
| ConstructorInvocation ci = (ConstructorInvocation)invocation;
| genericName = ci.getConstructor().getDeclaringClass().getSimpleName();
| modifier = Modifier.toString(ci.getConstructor().getModifiers());
| argumentsValue = ci.getArguments();
| argumentsType = ci.getConstructor().getParameterTypes();
| //exception = ci.getConstructor().getExceptionTypes();
| buffer.append(modifier + " ").append(genericName);
| if (argumentsType == null || argumentsType.length == 0) {
| buffer.append("()");
| return buffer.toString();
| }
| } else {
| return "Unknown " + invocation;
| }
|
| //buffer.append(genericName.substring(0, genericName.indexOf('(')));
| if (argumentsValue.length != argumentsType.length)
| System.out.println("Type");//throw new RuntimeException(" Type and Value mismatch");
| for (int i = 0; i < argumentsValue.length; i++) {
| if(i == 0)
| buffer.append(" (");
| if(argumentsType.isArray()){
| Object[] arrayArgument = (Object[])argumentsValue;
| buffer.append(argumentsType.getSimpleName()).append(":");
| if(arrayArgument.length > 20)
| buffer.append("Lenght = " + arrayArgument.length);
| else
| buffer.append(Arrays.toString(arrayArgument));
| }else
| buffer.append(argumentsType.getSimpleName()).append(":").append(argumentsValue.toString());
| if( i == argumentsValue.length - 1){
| buffer.append(")");
| break;
| }
| buffer.append(", ");
| }
| /*
| if(exception != null && exception.length > 0){
| buffer.append(" throws ");
| for (int i = 0; i < exception.length; i++) {
| buffer.append(exception.getName());
| if (i == exception.length-1)
| break;
| buffer.append(", ");
| }
| }*/
| return buffer.toString();
| }
|
| private void logErr(String proc, String message) {
| System.out.println(DBG_ERROR + ": " + message);
| if (log != null) {
| log.logWrite(log.DBG_ERROR, proc, message);
| }
| }
|
| private void logWarning(String proc, String message) {
| System.out.println(DBG_WARNING + ": " + message);
| if (log != null) {
| log.logWrite(log.DBG_WARNING, proc, message);
| }
| }
|
| private void logInfo(String proc, String message) {
| System.out.println(DBG_INFO + ": " + message);
| if (log != null) {
| log.logWrite(log.DBG_INFO, proc, message);
| }
| }
|
| private void logTrace(String proc, String message) {
| System.out.println(DBG_TRACE + ": " + message);
| if (log != null) {
| log.logWrite(log.DBG_TRACE, proc, message);
| }
| }
|
| }
Here is my jboss-aop.xml for binding aspect to pointucts:
<aop>
| <!-- Declarigng pointucs -->
| <pointcut name="logObject" expr="set(util.log.Log test.aop.MyService->objLog)"/>
| <pointcut name="logMethod" expr="execution(public * test.aop.MyService->*(..))"/>
|
| <pointcut name="logObject_2" expr="set(util.log.Log $instanceof{test.aop.SqtpSkeleton}->*)"/>
|
| <!-- Declaring Aspect -->
| <aspect name="LogAspect" class="test.aop.LogAspect" scope="PER_INSTANCE"/>
|
| <!-- Bind pountcuts to aspects -->
| <bind pointcut="logObject">
| <advice name="getLogger" aspect="LogAspect"/>
| </bind>
|
| <bind pointcut="logMethod">
| <advice name="trace" aspect="LogAspect"/>
| </bind>
|
| </aop>
The main problem is that the LogAspect doesn't intercept the FieldWriteInvocation on object objLog in MyService class, so I can't use this for logging operation in the trace() advice. If I use the second pointcut expression :
<pointcut name="logObject_2" expr="set(util.log.Log $instanceof{test.aop.SqtpSkeleton}->*)"/>
the Aspect intercept the invocation but, it only see the FieldWrite (objLog = null) in the SqtpSkeleton class, and not in its inherited classes so If call FieldWriteInvocation.getValue(), it returns null.
How can I solve this problem?
Do you have any suggestions or alternative strategy to avoid this problem?
Please help me!!!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995729#3995729
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995729
19 years, 7 months
[JBoss Seam] - Re: Seam & Maven2
by dviersel
A couple of weeks ago I started a small project using Seam. Since I don't like to include all-in-one jars to resolve dependencies, I went through the process of manually adding each and every dependency.
I don't use the jBPM stuff but the I have reviewed the other dependencies and arrived at a minimal set that allows me to compile my code which includes ajax4jsf, facelets, seam, ejb3, jpa and hibernate-annotations. I've tried to add information about whether the dependency is compile-time and/or run-time, whether it is provided by the container (JBoss), the version and related dependencies, etc. There still might be a lot missing though.
The EJB3 api is provided by the jboss-ejb3x.jar in the ${jboss.home}/server/default/deploy/ejb3.deployer directory. The JPA api is provided by the ejb3-persistence.jar in the ${jboss.home}/server/default/lib directory.
Of course, using the JSF 1.2 RI gives a little bit of a different set.
Finally, a little bit off topic but I believe that the EAR level dependencies (jboss-seam.jar, el-api.jar, el-ri.jar) should be packaged in a directory called 'lib' (can be overridden) within the EAR file and not be included through the in application.xml. This is intended for application-clients.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995727#3995727
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995727
19 years, 7 months
[Installation, Configuration & Deployment] - Re: Jboss Multiple java instance issue
by nikhighlander
If I do a ps -aef | grep nik. Here is a small output which I am getting. Out here if we do a wc -l, we are getting around 80 processes
jboss 8564 8492 0 14:40 pts/1 00:00:00 /usr/java/j2sdk1.4.2_05/bin/java -Xms512m -Xmx1024m -XX:MaxPermSize=64m -verbose:gc -Dprogram.name=run.sh -classpath /apps/jboss/bin/run.jar:/usr/java/j2sdk1.4.2_05/lib/tools.jar org.jboss.Main -c NIK
jboss 8565 8492 0 14:40 pts/1 00:00:00 /usr/java/j2sdk1.4.2_05/bin/java -Xms512m -Xmx1024m -XX:MaxPermSize=64m -verbose:gc -Dprogram.name=run.sh -classpath /apps/jboss/bin/run.jar:/usr/java/j2sdk1.4.2_05/lib/tools.jar org.jboss.Main -c NIK
jboss 8566 8492 0 14:40 pts/1 00:00:00 /usr/java/j2sdk1.4.2_05/bin/java -Xms512m -Xmx1024m -XX:MaxPermSize=64m -verbose:gc -Dprogram.name=run.sh -classpath /apps/jboss/bin/run.jar:/usr/java/j2sdk1.4.2_05/lib/tools.jar org.jboss.Main -c NIK
jboss 8567 8492 0 14:40 pts/1 00:00:00 /usr/java/j2sdk1.4.2_05/bin/java -Xms512m -Xmx1024m -XX:MaxPermSize=64m -verbose:gc -Dprogram.name=run.sh -classpath /apps/jboss/bin/run.jar:/usr/java/j2sdk1.4.2_05/lib/tools.jar org.jboss.Main -c NIK
jboss 8568 8492 0 14:40 pts/1 00:00:00 /usr/java/j2sdk1.4.2_05/bin/java -Xms512m -Xmx1024m -XX:MaxPermSize=64m -verbose:gc -Dprogram.name=run.sh -classpath /apps/jboss/bin/run.jar:/usr/java/j2sdk1.4.2_05/lib/tools.jar org.jboss.Main -c NIK
jboss 8569 8492 0 14:40 pts/1 00:00:00 /usr/java/j2sdk1.4.2_05/bin/java -Xms512m -Xmx1024m -XX:MaxPermSize=64m -verbose:gc -Dprogram.name=run.sh -classpath /apps/jboss/bin/run.jar:/usr/java/j2sdk1.4.2_05/lib/tools.jar org.jboss.Main -c NIK
jboss 8570 8492 0 14:40 pts/1 00:00:00 /usr/java/j2sdk1.4.2_05/bin/java -Xms512m -Xmx1024m -XX:MaxPermSize=64m -verbose:gc -Dprogram.name=run.sh -classpath /apps/jboss/bin/run.jar:/usr/java/j2sdk1.4.2_05/lib/tools.jar org.jboss.Main -c NIK
jboss 8571 8492 0 14:40 pts/1 00:00:00 /usr/java/j2sdk1.4.2_05/bin/java -Xms512m -Xmx1024m -XX:MaxPermSize=64m -verbose:gc -Dprogram.name=run.sh -classpath /apps/jboss/bin/run.jar:/usr/java/j2sdk1.4.2_05/lib/tools.jar org.jboss.Main -c NIK
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995723#3995723
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995723
19 years, 7 months
[JBoss Getting Started Documentation] - [URLDeploymentScanner] Incomplete Deployment listing INIT_WA
by bpavankumar
I have a datasource.xml will following:
<?xml version="1.0" encoding="UTF-8"?>
<local-tx-datasource>
<jndi-name>jdbc/DataSource</jndi-name>
<connection-url>jdbc:oracle:thin:@ipaddress:port:databsename</connection-url>
<driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
<user-name>user-name</user-name>
password
<min-pool-size>1</min-pool-size>
<max-pool-size>5</max-pool-size>
<idle-timeout-minutes>0</idle-timeout-minutes>
<track-statements/>
</local-tx-datasource>
And i copied this file under \jboss-4.0.5.GA\server\default\deploy
Then am getting following error:
ERROR [URLDeploymentScanner] Incomplete Deployment listing:
--- Packages waiting for a deployer ---
org.jboss.deployment.DeploymentInfo@b6a2db44 { url=file:/D:/jboss-4.0.5.GA/server/default/deploy/datasource.xml }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/D:/jboss-4.0.5.GA/server/default/deploy/datasource.xml
altDD: null
lastDeployed: 1166729153577
lastModified: 1166729153577
mbeans:
--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo@b6a2db44 { url=file:/D:/jboss-4.0.5.GA/server/default/deploy/datasource.xml }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/D:/jboss-4.0.5.GA/server/default/deploy/datasource.xml
altDD: null
lastDeployed: 1166729153577
lastModified: 1166729153577
mbeans:
Any help ASAP will be appreciated.
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995715#3995715
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995715
19 years, 7 months
[EJB 3.0] - org.hibernate.exception.GenericJDBCException: could not load
by johnybravo2004
org.hibernate.exception.GenericJDBCException: could not load an entity: [com.dao.hibernate.WorkListErrors#2486]
org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:91)
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:79)
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
org.hibernate.loader.Loader.loadEntity(Loader.java:1799)
org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:93)
org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:81)
org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:2730)
org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:365)
org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:346)
org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:123)
org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:161)
org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:87)
org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:889)
org.hibernate.impl.SessionImpl.load(SessionImpl.java:808)
org.hibernate.impl.SessionImpl.load(SessionImpl.java:801)
com.accuserverx.accucharge.web.UpdateWorkListAction.execute(Unknown Source)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
before I was running a single update as below and it worked fine:
session.beginTransaction();
/*
int taskId = Integer.parseInt(request.getParameter("taskId"));
String action_taken = request.getParameter("action_taken");
WorkListErrors worklistErrors
= (WorkListErrors) session.load(WorkListErrors.class, new Integer(taskId));
worklistErrors.setAction_taken(action_taken);
session.update(worklistErrors);
session.save(worklistErrors);
session.getTransaction().commit();
but when I try an an update on multiple records it does work when I have a check box checked :
session.beginTransaction();
/*
int taskId = Integer.parseInt(request.getParameter("taskId"));
String action_taken = request.getParameter("action_taken");
WorkListErrors worklistErrors
= (WorkListErrors) session.load(WorkListErrors.class, new Integer(taskId));
worklistErrors.setAction_taken(action_taken);
session.update(worklistErrors);
session.save(worklistErrors);
session.getTransaction().commit();
session.beginTransaction();
String[] tickedTaskId = request.getParameterValues("tickedTaskId");
String[] taskId = request.getParameterValues("taskId");
String[] action_taken = request.getParameterValues("action_taken");
for(int i=0; i<tickedTaskId.length; i++) {
for(int j = 0; j < taskId.length; j++) {
if(tickedTaskId.equals(taskId[j])) {
WorkListErrors worklistErrors
= (WorkListErrors) session.load(WorkListErrors.class, tickedTaskId);
worklistErrors.setAction_taken(action_taken[j]);
session.update(worklistErrors);
session.save(worklistErrors);
session.getTransaction().commit();
}
}
}
/*Close session */
session.close();
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995714#3995714
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995714
19 years, 7 months
[JBoss Seam] - Re: Value injection not always working with Seam 1.1
by andrew.rw.robinson
A little more information. I found a work-around, but not sure why it works. The method:
changeCurrentViewSelection(currentDimensionName, oldValue, newValue.getKey());
Causes a seam event to be thrown and some other things. When that method returns my injected member variables are set to null despite the fact that I haven't left the method yet.
I wonder if the following is happening:
1) A fires event that B observes
2) B calls method on A to get some information
3) this method is finished, Seam sets A's member variables to null
4) call context returns to A (after the event) and the members are null!
If this is true, I believe the fix, would be that the member variables should never be set to null until the bean is no longer in "scope", meaning that no method is currently being invoked on that thread in that method.
Could this be the issue?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995711#3995711
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995711
19 years, 7 months
[JBoss Seam] - Using the pages.xml to pass a parameter
by fmi2
Hi, I'm trying to understand how the pages.xml file is used to pass a parameter.
I have the following in my pages.xml file
| <pages>
| <page view-id="/centerdetail.xhtml" action="#{centerSearch.performSearch(center.centerID)}">
| <param name="selectedCenter" value="#{center.centerID}"/>
| </page>
| </pages>
|
the code in the page that request the centerdetail.xhtml page is
| <h:panelGroup id="centerResultsPanel" rendered="#{basicSearch.researchCenterSearch}">
| <h:dataTable id="researchcenterResults" var="center" value="#{searchResultList}" rendered="#{searchResultList.rowCount >0}">
| <h:column>
| <h:outputLink>
| <h:graphicImage url="images/logotype.gif"/>
| <h:outputText value="#{center.centerID}"/>
| <h:outputText value="#{obj.centerID}"/>
| </h:outputLink>
| </h:column>
| <h:column>
| <h:panelGrid id="holder" >
| <s:link id="centerName" view="/centerdetail.seam" action="#{centerSearch.performSearch(center)}" value="#{center.displayName}"/>
| <h:outputFormat value="#{center.description}"/>
| </h:panelGrid>
| </h:column>
| </h:dataTable>
| <h:outputText value="#{messages.zeroresults}" rendered="#{searchResultList.rowCount==0 and basicSearch.researchCenterSearch}" />
| </h:panelGroup>
|
and this performSearch method in my centerSearch bean is as follows
| @SuppressWarnings("unchecked")
| public String performSearch(ResearchCenter id) {
| Query query;
| log.debug(" Searching for center by ID ");
| log.debug("Center ID: #0", id);
|
| return "success";
| }
|
The center id is being appended to the url but is showing up as null in the server.log file
2006-12-21 14:29:16,468 DEBUG [gov.nih.nci.cagrid.portal.command.CenterSearchBean] Center ID:null
Does anyone know how to pass an object from a selected row in a datatable to a separate bean , ie my searchBean holds the following
| @DataModel("searchResultList")
| protected List<? extends DomainObject> results;
|
| @DataModelSelection()
| protected DomainObject domainObj;
|
and I want to pass the object of the selected row to a centerBean.
Any suggestions would be greatly appreciated.
Thank you
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995708#3995708
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995708
19 years, 7 months
[Management, JMX/JBoss] - Re: Listing all EJBs through JMX
by danieldestro
Good news!
Ok, this works:
String name = "jboss.management.local:*,j2eeType=StatelessSessionBean";
| server = (MBeanServer) MBeanServerLocator.locateJBoss();
| Set matches = server.queryMBeans(new ObjectName(name), null);
| ServerObjectInstance[] names = (ServerObjectInstance[]) matches.toArray( new ServerObjectInstance[matches.size()] );
| for( int i=0; i< names.length; i++ ) {
| out.println(names.getObjectName()+" <br>");
| }
And outputs:
anonymous wrote : jboss.management.local:name=ejb/MyCoolEjb,J2EEServer=Local,EJBModule=cool.jar,J2EEApplication=null,j2eeType=StatelessSessionBean
| jboss.management.local:name=ejb/AnotherCoolEjb,J2EEServer=Local,EJBModule=still-cool.jar,J2EEApplication=null,j2eeType=StatelessSessionBean
| jboss.management.local:name=ejb/EjbOrNotEjb,J2EEServer=Local,EJBModule=myapp.jar,J2EEApplication=myapp.ear,j2eeType=StatelessSessionBean
Very close now.
Here I have the JNDI names for lookup. But what I really need is the Bean, and if possible Local and Remote classes/interfaces names.
I know it is possible throgh jmx-console. Just need to get things clear. Any help?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995698#3995698
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995698
19 years, 7 months
[JBoss Seam] - Re: Question on using @DataModelSelection & open a page in a
by lle
Here are some relevant code snippet:
main.xhtml (page with datatable and show details link):
| <ui:define name="secondNav">
| <div class="actionButtons clearfix">
| <div class="button separator"><s:link target="account" view="/account/details.xhtml" action="#{detailsearch.findSessions}" value="Account Detail" onclick="openDetailWindow();return false;" /></div
| </div>
| <div class="decorativeElement"/>
| </ui:define>
| <ui:define name="listing">
| <t:dataTable id="sessionTable" forceId="true" var="sess" value="#{alertsList}" border="0" cellpadding="0" cellspacing="0" styleClass="listView" width="100%" renderedIfEmpty="true" forceIdIndexFormula="#{sess.id}" org.apache.myfaces.dataTable.ROW_ID="#{sess.id}" rowIndexVar="rowIndex" rowOnClick="selectRow(this.id, #{rowIndex});" >
| <t:column width="20px">
| <f:facet name="header"></f:facet>
| <t:htmlTag value="span" styleClass="icon-viewed">V</t:htmlTag>
| </t:column>
| <t:column width="72px">
| <f:facet name="header">
| <a4j:commandLink action="#{alertssearch.sortRisk}" value="Risk"/>
| </f:facet>
| <t:div styleClass="#{sess.styleClass}">
| <t:htmlTag value="p">
| <h:outputText value="#{sess.risk}">
| <f:convertNumber maxFractionDigits="3"/>
| </h:outputText>
| </t:htmlTag>
| </t:div>
| </t:column>
| <t:column width="80px">
| <f:facet name="header">Account</f:facet>#{sess.account}</t:column>
| <t:column width="80px" styleClass="rightDoubleBorder">
| <f:facet name="header">Session</f:facet>#{sess.kvalue}</t:column>
| <t:columns value="#{alertssearch.sessionDisplayProperties}" var="prop" style="#{alertssearch.colStyle}">
| <f:facet name="header">#{prop.propDef.displayName}</f:facet>
| <h:outputText value="#{prop.firstParam.value}" styleClass="#{prop.styleClassForAlert}" rendered="#{not empty prop.firstParam}"/></t:columns>
| <t:column styleClass="doubleBorder">
| <f:facet name="header">Date</f:facet>
| <h:outputText value="#{sess.timestamp}">
| <f:convertDateTime pattern="MM/dd/yyyy"/>
| </h:outputText>
| </t:column>
| </t:dataTable>
| </ui:define>
alertsearch action class:
@Name("alertssearch")
| @Scope(ScopeType.SESSION)
| @GALoggedIn
| public class GASessionSearchAction {
|
| @In
| private Session gadb;
| @In(create=true) @Out
| private GAFilter sessionfilter;
| @In
| private GAHostAppInfo hostApp;
| @In
| private FacesMessages facesMessages;
| @Logger
| private Log log;
| @DataModel
| private List<GASession> alertsList;
| @DataModelSelection
| @Out(required=false)
| private GASession selectedSession;
| ...
| }
detailsearch action class:
| @Name("detailsearch")
| @Scope(ScopeType.CONVERSATION)
| public class GAAccountDetailsAction {
|
| @In
| private Session gadb;
| @In
| private GAHostAppInfo hostApp;
| @In
| private FacesMessages facesMessages;
| @Logger
| private Log log;
| @DataModel
| private List<GASession> sessionList;
| @DataModelSelection
| @In @Out
| private GASession selectedSession;
| ...
| }
Thanks a lot.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995696#3995696
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995696
19 years, 7 months
[JBoss Seam] - Question on using @DataModelSelection & open a page in a new
by lle
hi all,
In our application, there's this specific use case and I am trying to use @DataModelSelection and s:link. However, I might use them incorrectly, since it doesn't work.
I have a datatable, backed by a @DataModel list. I would like something like a clickable list example. However, the user can click anywhere on the row to select the item (not localized to one <s:link> like in the example). After the user click on the row, he can decide to click on a "show details" button to see the details screen in a new window.
Here are my questions:
1. For the entire row to be clickable, do I have to put <s:link> to all columns? I am currently using t:dataTable and have a javascript onclick function to highlight the selected row. However, I am not sure how can I make a call to the server when a user clicks anywhere on the row instead of a link in a column. Do you know any good solution?
2. When a user click on the row with no call yet made to the server, and then the user clicks on the "show details" link (which is an <s:link>), I would like to start a new conversation in a new window. How can I achieve the new page to be rendered in a new window?
3. I also would like to start the conversation with explicit conversation id = selected_item.id. However, I got the following error:
2006.12.21 10:34:33,974 WARN [Interpolator] exception interpolating string: #{selectedSession.id}
| javax.faces.el.EvaluationException: Cannot get value for expression '#{selectedSession.id}'
| at org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:405)
| at org.jboss.seam.core.Expressions$1.getValue(Expressions.java:51)
| at org.jboss.seam.core.Interpolator.interpolateExpressions(Interpolator.java:83)
| at org.jboss.seam.core.Interpolator.interpolate(Interpolator.java:59)
| at org.jboss.seam.interceptors.ConversationInterceptor.redirectToExistingConversation(ConversationInterceptor.java:76)
| at org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:45)
| at sun.reflect.GeneratedMethodAccessor155.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
| at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
| at org.jboss.seam.interceptors.ExceptionInterceptor.handleExceptions(ExceptionInterceptor.java:38)
| at sun.reflect.GeneratedMethodAccessor153.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
| at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
| at org.jboss.seam.intercept.RootInterceptor.createSeamInvocationContext(RootInterceptor.java:148)
| at org.jboss.seam.intercept.RootInterceptor.invokeInContexts(RootInterceptor.java:129)
| at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:102)
| at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:144)
| at org.jboss.seam.intercept.JavaBeanInterceptor.intercept(JavaBeanInterceptor.java:79)
| at com.ga.riskapp.session.action.GAAccountDetailsAction$$EnhancerByCGLIB$$8b9fbc3e.findSessions(<generated>)
| 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.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:132)
| at org.jboss.seam.actionparam.ActionParamBindingHelper.invokeTheExpression(ActionParamBindingHelper.java:59)
| at org.jboss.seam.actionparam.ActionParamMethodBinding.invoke(ActionParamMethodBinding.java:71)
| at org.jboss.seam.core.Expressions$2.invoke(Expressions.java:98)
| at org.jboss.seam.core.Pages.callAction(Pages.java:398)
| at org.jboss.seam.jsf.AbstractSeamPhaseListener.callPageActions(AbstractSeamPhaseListener.java:253)
| at org.jboss.seam.jsf.AbstractSeamPhaseListener.beforeRender(AbstractSeamPhaseListener.java:201)
| at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:51)
| at org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersBefore(PhaseListenerManager.java:73)
| at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:126)
| at javax.faces.webapp.FacesServlet.service(FacesServlet.java:140)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:326)
| at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:290)
| at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:213)
| at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:90)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:46)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:32)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:75)
| at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:213)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
| at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: org.jboss.seam.InstantiationException: Could not instantiate Seam component: selectedSession
| at org.jboss.seam.Component.newInstance(Component.java:1722)
| at org.jboss.seam.Component.getInstance(Component.java:1625)
| at org.jboss.seam.Component.getInstance(Component.java:1592)
I think it is because the selected item was not yet outjected since I didn't make any call to the server when a row is clicked.
Do you know any good approach for this use case?
Thanks a lot.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995693#3995693
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995693
19 years, 7 months
[JBoss Seam] - Re: Value injection not always working with Seam 1.1
by andrew.rw.robinson
Okay, that fixed the inner class problem (I moved my code to an external class). However, I am getting exceptions, where it *should* be working. I have a class that is called via EL, it is SESSION scoped, and the "@In(create=true)" variables are still null! I don't know if there is some kind of recursive dependency problem that is causing this, but I do know it was working fine in 1.0.1.
Here is the method it fails in:
| ...
| @In(create=true)
| private MemberSelectionDialogBean memberSelectionDialogBean;
| ...
| public void selectMember(Set<HierarchyDimensionMember> selected)
| {
| HierarchyDimensionMember newValue = selected.iterator().next();
|
| String oldValue = currentViewValues.get(currentDimensionName);
| currentViewValues.put(currentDimensionName, newValue.getKey());
| changeCurrentViewSelection(currentDimensionName, oldValue, newValue.getKey());
|
| memberSelectorVisible = false;
| memberSelectionDialogBean.setDimension(null); /* ERROR occurs
| here, as memberSelectionDialogBean is null */
| memberSelectionDialogBean.setVisible(false);
| memberSelectionDialogBean.setListener(null);
| }
Here is the declaration of the class:
@Name("memberSelectionDialogBean")
| @Scope(ScopeType.SESSION)
| public class MemberSelectionDialogBean
| implements Serializable {...}
Here is the stack (it is long...):
java.lang.NullPointerException
| at com.outlooksoft.cpm.usercontext.UserApplicationViewBean.selectMember(UserApplicationViewBean.java:297)
| at com.outlooksoft.cpm.usercontext.UserApplicationViewBean$$FastClassByCGLIB$$ff27af7e.invoke(<generated>)
| at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
| at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:45)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
| at org.jboss.seam.interceptors.BijectionInterceptor.bijectTargetComponent(BijectionInterceptor.java:51)
| at sun.reflect.GeneratedMethodAccessor450.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
| at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
| at org.jboss.seam.interceptors.OutcomeInterceptor.interceptOutcome(OutcomeInterceptor.java:23)
| at sun.reflect.GeneratedMethodAccessor449.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
| at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
| at org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:51)
| at sun.reflect.GeneratedMethodAccessor448.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
| at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
| at com.outlooksoft.cpm.security.LoggedInInterceptor.checkLoggedIn(LoggedInInterceptor.java:35)
| at sun.reflect.GeneratedMethodAccessor454.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
| at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
| at org.jboss.seam.interceptors.RollbackInterceptor.rollbackIfNecessary(RollbackInterceptor.java:33)
| at sun.reflect.GeneratedMethodAccessor447.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
| at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
| at org.jboss.seam.interceptors.ExceptionInterceptor.handleExceptions(ExceptionInterceptor.java:38)
| at sun.reflect.GeneratedMethodAccessor446.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
| at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
| at org.jboss.seam.interceptors.SynchronizationInterceptor.serialize(SynchronizationInterceptor.java:30)
| at sun.reflect.GeneratedMethodAccessor451.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
| at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
| at org.jboss.seam.intercept.RootInterceptor.createSeamInvocationContext(RootInterceptor.java:144)
| at org.jboss.seam.intercept.RootInterceptor.invokeInContexts(RootInterceptor.java:129)
| at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:102)
| at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:144)
| at org.jboss.seam.intercept.JavaBeanInterceptor.intercept(JavaBeanInterceptor.java:79)
| at com.outlooksoft.cpm.usercontext.UserApplicationViewBean$$EnhancerByCGLIB$$174481fc.selectMember(<generated>)
| at com.outlooksoft.cpm.faces.controls.UIMemberSelectionDialog.broadcast(UIMemberSelectionDialog.java:105)
| at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:94)
| at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:168)
| at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:343)
| at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
| at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
|
I am not sure why this one is failing. If I make the call a 2nd time, everything works, it is that first call that doesn't, and I have no idea why as I have used "UserApplicationViewBean" before that call.
Something definately seems amiss with 1.1 and injection
Any ideas on this one?
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995692#3995692
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995692
19 years, 7 months
[EJB 3.0] - @Service and JBoss 4.0.5 + EJB3 rc9 patch 1
by adamw
Hello,
another problem I encoutered after upgrading from AS 4.0.4 and EJB3 rc8: I have a couple of ejb3 services (declared with @Service). They worked perfectly before, now they are created and immediately after the start() method completes, I get this exception:
| 19:13:40,535 ERROR [STDERR] java.lang.NullPointerException
| 19:13:40,538 ERROR [STDERR] at org.jboss.ejb.txtimer.DatabasePersistencePolicy.listTimerHandles(DatabasePersistencePolicy.java:164)
| 19:13:40,539 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 19:13:40,540 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 19:13:40,540 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 19:13:40,541 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 19:13:40,541 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| 19:13:40,542 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| 19:13:40,542 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| 19:13:40,542 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| 19:13:40,542 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| 19:13:40,542 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| 19:13:40,543 ERROR [STDERR] at $Proxy26.listTimerHandles(Unknown Source)
| 19:13:40,543 ERROR [STDERR] at org.jboss.ejb.txtimer.EJBTimerServiceImpl.restoreTimers(EJBTimerServiceImpl.java:408)
| 19:13:40,543 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 19:13:40,543 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 19:13:40,543 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 19:13:40,544 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 19:13:40,544 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| 19:13:40,544 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| 19:13:40,544 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| 19:13:40,544 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| 19:13:40,547 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| 19:13:40,547 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| 19:13:40,547 ERROR [STDERR] at $Proxy48.restoreTimers(Unknown Source)
| 19:13:40,548 ERROR [STDERR] at org.jboss.ejb3.timerservice.jboss.JBossTimerServiceFactory.restoreTimerService(JBossTimerServiceFactory.java:120)
| 19:13:40,548 ERROR [STDERR] at org.jboss.ejb3.service.ServiceContainer.start(ServiceContainer.java:149)
| 19:13:40,548 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 19:13:40,548 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 19:13:40,548 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 19:13:40,549 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 19:13:40,549 ERROR [STDERR] at org.jboss.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:102)
| 19:13:40,549 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| 19:13:40,549 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| 19:13:40,549 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
| 19:13:40,550 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 19:13:40,550 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 19:13:40,555 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| 19:13:40,555 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| 19:13:40,555 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| 19:13:40,556 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| 19:13:40,556 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| 19:13:40,556 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| 19:13:40,556 ERROR [STDERR] at $Proxy0.start(Unknown Source)
| 19:13:40,559 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417)
| 19:13:40,560 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
| 19:13:40,560 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 19:13:40,560 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 19:13:40,560 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| 19:13:40,560 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| 19:13:40,561 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| 19:13:40,561 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| 19:13:40,561 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| 19:13:40,561 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| 19:13:40,562 ERROR [STDERR] at $Proxy37.start(Unknown Source)
| 19:13:40,562 ERROR [STDERR] at org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:96)
| 19:13:40,562 ERROR [STDERR] at org.jboss.ejb3.Ejb3Deployment.registerEJBContainer(Ejb3Deployment.java:281)
| 19:13:40,562 ERROR [STDERR] at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:328)
| 19:13:40,562 ERROR [STDERR] at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:91)
| 19:13:40,563 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| 19:13:40,563 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| 19:13:40,563 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
| 19:13:40,563 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 19:13:40,563 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 19:13:40,564 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| 19:13:40,564 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| 19:13:40,564 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| 19:13:40,564 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| 19:13:40,565 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| 19:13:40,565 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| 19:13:40,565 ERROR [STDERR] at $Proxy0.start(Unknown Source)
| 19:13:40,566 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417)
| 19:13:40,566 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
| 19:13:40,566 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 19:13:40,567 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 19:13:40,567 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| 19:13:40,567 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| 19:13:40,568 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| 19:13:40,568 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| 19:13:40,568 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| 19:13:40,568 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| 19:13:40,579 ERROR [STDERR] at $Proxy29.start(Unknown Source)
| 19:13:40,579 ERROR [STDERR] at org.jboss.ejb3.EJB3Deployer.start(EJB3Deployer.java:449)
| 19:13:40,579 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 19:13:40,579 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 19:13:40,579 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 19:13:40,580 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 19:13:40,580 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| 19:13:40,580 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| 19:13:40,580 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| 19:13:40,581 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| 19:13:40,581 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| 19:13:40,581 ERROR [STDERR] at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
| 19:13:40,581 ERROR [STDERR] at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
| 19:13:40,581 ERROR [STDERR] at org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:92)
| 19:13:40,582 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
| 19:13:40,582 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
| 19:13:40,582 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| 19:13:40,582 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| 19:13:40,582 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| 19:13:40,583 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| 19:13:40,583 ERROR [STDERR] at $Proxy30.start(Unknown Source)
| 19:13:40,583 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
| 19:13:40,583 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
| 19:13:40,584 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
| 19:13:40,584 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| 19:13:40,584 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 19:13:40,584 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 19:13:40,585 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 19:13:40,585 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 19:13:40,585 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| 19:13:40,585 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| 19:13:40,585 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| 19:13:40,586 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| 19:13:40,586 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| 19:13:40,587 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| 19:13:40,587 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| 19:13:40,587 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| 19:13:40,587 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| 19:13:40,588 ERROR [STDERR] at $Proxy8.deploy(Unknown Source)
| 19:13:40,588 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
| 19:13:40,592 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
| 19:13:40,593 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
| 19:13:40,593 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
| 19:13:40,593 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| 19:13:40,593 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| 19:13:40,593 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
| 19:13:40,593 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 19:13:40,594 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 19:13:40,594 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| 19:13:40,594 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| 19:13:40,594 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| 19:13:40,595 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| 19:13:40,595 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| 19:13:40,595 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| 19:13:40,595 ERROR [STDERR] at $Proxy0.start(Unknown Source)
| 19:13:40,595 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417)
| 19:13:40,596 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
| 19:13:40,596 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 19:13:40,596 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 19:13:40,596 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| 19:13:40,596 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| 19:13:40,597 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| 19:13:40,597 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| 19:13:40,597 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| 19:13:40,597 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| 19:13:40,597 ERROR [STDERR] at $Proxy4.start(Unknown Source)
| 19:13:40,597 ERROR [STDERR] at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
| 19:13:40,598 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
| 19:13:40,598 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
| 19:13:40,598 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| 19:13:40,606 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
| 19:13:40,606 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 19:13:40,606 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 19:13:40,606 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 19:13:40,606 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 19:13:40,607 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| 19:13:40,607 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| 19:13:40,607 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| 19:13:40,607 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| 19:13:40,607 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| 19:13:40,608 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| 19:13:40,608 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| 19:13:40,608 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| 19:13:40,608 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| 19:13:40,608 ERROR [STDERR] at $Proxy5.deploy(Unknown Source)
| 19:13:40,609 ERROR [STDERR] at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
| 19:13:40,609 ERROR [STDERR] at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
| 19:13:40,609 ERROR [STDERR] at org.jboss.Main.boot(Main.java:200)
| 19:13:40,609 ERROR [STDERR] at org.jboss.Main$1.run(Main.java:490)
| 19:13:40,609 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
|
And the service gets stopped. Any ideas why? :)
--
Cheers,
Adam
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995690#3995690
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995690
19 years, 7 months