[jboss-user] [Clustering/JBoss] - Re: Clustering JBoss 4.0.5, not working, stuck
First off I turned org.jgroups to "TRACE", however I'm unsure how to read the results of this,but then I also started the 2 cluster members and attempted to probe the jgroup, as discussed at http://wiki.jboss.org/wiki/Probe: [EMAIL PROTECTED] lib]# /opt/jdk1.6.0_02/bin/java -cp jgroups.jar org.jgroups.tests.Probe -timeout 500 java.lang.NullPointerException: null buffer || null address at java.net.PlainDatagramSocketImpl.send(Native Method) at java.net.DatagramSocket.send(DatagramSocket.java:612) at org.jgroups.tests.Probe.start(Probe.java:33) at org.jgroups.tests.Probe.main(Probe.java:93) Fails so lets give it all the possible options as suggested: [EMAIL PROTECTED] lib]# /opt/jdk1.6.0_02/bin/java -cp jgroups.jar:commons-logging.jar org.jgroups.tests.Probe -timeout 500 -bind_addr 172.19.2.10 -port 7500 -addr 224.0.0.75 -- send probe on /224.0.0.75:7500 Find nothing, so lets change the port since the jboss log shows that it is listening at> 1099, 1100 or 1102: JBOSS log> 23:09:04,979 INFO [DefaultPartition] I am (172.19.2.10:1099) received membershipChanged event: JBOSS log> 23:09:04,991 INFO [DefaultPartition] Dead members: 0 ([]) JBOSS log> 23:09:05,032 INFO [DefaultPartition] New Members : 0 ([]) JBOSS log> 23:09:05,034 INFO [DefaultPartition] All Members : 1 ([172.19.2.10:1099]) JBOSS log> 23:09:05,124 INFO [HANamingService] Started ha-jndi bootstrap jnpPort=1100, backlog=50, bindAddress=/172.19.2.10 JBOSS log> 23:09:05,187 INFO [DetachedHANamingService$AutomaticDiscovery] Listening on /172.19.2.10:1102, group=230.0.0.4, HA-JNDIaddress=172.19.2.10:1100 Ok testing on Ports 1099, 1100 or 1102 finds nothing, same as looking on port 7500, I also tried ports 1485, 1486 and 45571 since they showed up in the server.log file, this time (the 1485, 1486 and 45571 addresses change every time I restart JBoss so I'm assuming they are not what I want. It would appear based on this information, that jgroups is not running at all, yet JBoss says its running and it shows in the server.log file when set to org.jgroup is set to TRACE. I also thought that perhaps the multicast address is wrong, but then I could not find any place in JBoss where the jgroup multicast port is set so I have no idea what it is if not the default. The only multicast set in the logs is "228.1.2.3", yet it appears in a different section and even running the probe on that address fails to find any groups. The following chunk of the JBoss server.log when I start the second cluster member. I am not sure, but it appears that there is no connections made from the second member (to this the first member), which makes sense as probing does not even show that the jgroup is started. | 2008-07-08 23:03:35,248 DEBUG [org.jgroups.protocols.PING] initial mbrs are [] | 2008-07-08 23:03:35,248 DEBUG [org.jgroups.protocols.MERGE2] initial_mbrs=[] | 2008-07-08 23:03:37,172 DEBUG [org.jboss.web.tomcat.tc5.session.JBossCacheManager] Looking for sessions that have expired ... | 2008-07-08 23:03:39,573 DEBUG [org.jgroups.protocols.PING] initial mbrs are [] | 2008-07-08 23:03:39,575 DEBUG [org.jgroups.protocols.MERGE2] initial_mbrs=[] | 2008-07-08 23:03:45,511 DEBUG [org.jboss.web.tomcat.tc5.session.JBossCacheManager] Creating an empty ClusteredSession | 2008-07-08 23:03:45,512 DEBUG [org.jboss.web.tomcat.tc5.session.SessionIDGenerator] getSessionId called: vTrmYfRCYsIAhMcEFPpSxA** | 2008-07-08 23:03:45,512 DEBUG [org.jboss.web.tomcat.tc5.session.JBossCacheManager] createSession(): useJK is true. Will append JvmRoute: node2 | 2008-07-08 23:03:45,512 DEBUG [org.jboss.web.tomcat.tc5.session.JBossCacheManager] Session with id=vTrmYfRCYsIAhMcEFPpSxA**.node2 added. Current active sessions 2 | 2008-07-08 23:03:45,512 DEBUG [org.jboss.web.tomcat.tc5.session.JBossCacheManager] Created a ClusteredSession with id: vTrmYfRCYsIAhMcEFPpSxA**.node2 | 2008-07-08 23:03:45,559 DEBUG [org.jboss.web.tomcat.tc5.session.ClusteredSession] The session has expired with id: vTrmYfRCYsIAhMcEFPpSxA**.node2 -- is it local? false | 2008-07-08 23:03:45,561 DEBUG [org.jboss.web.tomcat.tc5.session.JBossCacheManager] Removing session from store with id: vTrmYfRCYsIAhMcEFPpSxA** | 2008-07-08 23:03:45,561 DEBUG [org.jboss.web.tomcat.tc5.session.JBossCacheService] Remove session from distributed store. Fqn: /JSESSION/localhost/cs/vTrmYfRCYsIAhMcEFPpSxA** | 2008-07-08 23:03:45,561 WARN [org.jboss.cache.TreeCache] node /JSESSION/localhost/cs/vTrmYfRCYsIAhMcEFPpSxA** not found | 2008-07-08 23:03:47,176 DEBUG [org.jboss.web.tomcat.tc5.session.JBossCacheManager] Looking for sessions that have expired ... | 2008-07-08 23:03:57,181 DEBUG [org.jboss.web.tomcat.tc5.session.JBossCacheManager] Looking for sessions that have expired ... | 2008-07-08 23:03:59,779 DEBUG [org.jgroups.protocols.PING] initial mbrs are [] | 2008-07-08 23:03:59,786 DEBUG [org.jgroups.protocols.MERGE2
[jboss-user] [Clustering/JBoss] - Re: Clustering JBoss 4.0.5, not working, stuck
I also tried adding java.naming.provider.url=172.19.2.10:1100:172.19.2.11:1100 to the all/conf/jndi.properties file, which force the a set of nodes. This causes the first member to be brought up to throw exceptions, saying it can not contact the second member (which is understandable), but the second member (while not throwing any exceptions), also does not find the first cluster member: Example of the second server starting up: --- | GMS: address is oraclelinuxoracle11clusterA:1453 (additional data: 16 bytes) | --- | 22:15:41,835 INFO [DefaultPartition] Number of cluster members: 1 | 22:15:41,846 INFO [DefaultPartition] Other members: 0 | 22:15:41,847 INFO [DefaultPartition] Fetching state (will wait for 3 milliseconds): | 22:15:41,872 INFO [DefaultPartition] State could not be retrieved (we are the first member in group) | 22:15:42,578 INFO [DefaultPartition] New cluster view for partition DefaultPartition (id: 0, delta: 0) : [172.19.2.10:1099] | 22:15:42,642 INFO [DefaultPartition] I am (172.19.2.10:1099) received membershipChanged event: | 22:15:42,645 INFO [DefaultPartition] Dead members: 0 ([]) | 22:15:42,645 INFO [DefaultPartition] New Members : 0 ([]) | 22:15:42,646 INFO [DefaultPartition] All Members : 1 ([172.19.2.10:1099]) | 22:15:42,874 INFO [HANamingService] Started ha-jndi bootstrap jnpPort=1100, backlog=50, bindAddress=/172.19.2.10 | 22:15:43,118 INFO [DetachedHANamingService$AutomaticDiscovery] Listening on /172.19.2.10:1102, group=230.0.0.4, HA-JNDI address=172.19.2.10:1100 | 22:15:50,536 INFO [CorbaNamingService] Naming: [IOR:002B49444C3A6F6D672E6F72672F436F734E616D696E672F4E616D696E67436F6E746578744578743A312E3200E80001020C3137322E31392E322E313DC800114A426F73732F4E616D696E672F726F6F740500084A414301001C0001000100010501000100010109000105010001002100610024001E007E0001000C3137322E31392E322E313DC9004000100401000806066781020101010024001F00040003000100220024001F00040003] | 22:15:51,522 INFO [CorbaTransactionService] TransactionFactory: [IOR:003049444C3A6F72672F6A626F73732F746D2F69696F702F5472616E73616374696F6E466163746F72794578743A312E300200E80001020C3137322E31392E322E313DC800144A426F73732F5472616E73616374696F6E732F46000500084A414301001C0001000100010501000100010109000105010001002100610024001E007E0001000C3137322E31392E322E313DC9004000100401000806066781020101010024001F00040003000100220024001F00040003] | 22:15:54,043 INFO [Embedded] Catalina naming disabled | 22:15:54,204 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set. | 22:15:54,215 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set. | 22:15:56,100 INFO [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-172.19.2.10-8080 | 22:15:56,160 INFO [Catalina] Initialization processed in 1940 ms | Notice it did not find the primary member 172.19.2.11 in this case, even though it is already started. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161783#4161783 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161783 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Clustering JBoss 4.0.5, not working, stuck
I am using the All profile, to which I have made the changes at http://wiki.jboss.org/wiki/UsingMod_jk1.2WithJBoss?action=e&windowstate=normal&mode=view This includes adding the jvmRoute="node1" and jvmRoute="node2" to the 2 instances, setting true and ensuring that AJP connector is uncommented. Yet when I start up the 2 cluster members, the first and second servers to be brought up are not finding each other. I allowed the first server to completely start then started the second server. I have also setup apache 2.2 using mod_proxy_http as per the instructions on http://wiki.jboss.org/wiki/UsingMod_proxyWithJBoss However if the 2 cluster members can not see each other, the Apache configuration is not really an issue yet. First Cluster Member: GMS: address is oraclelinuxoracle11clusterA:1420 (additional data: 16 bytes) | --- | 21:42:32,178 INFO [DefaultPartition] Number of cluster members: 1 | 21:42:32,180 INFO [DefaultPartition] Other members: 0 | 21:42:32,190 INFO [DefaultPartition] Fetching state (will wait for 3 milliseconds): | 21:42:32,216 INFO [DefaultPartition] State could not be retrieved (we are the first member in group) | 21:42:32,244 INFO [DefaultPartition] New cluster view for partition DefaultPartition (id: 0, delta: 0) : [172.19.2.10:1099] | 21:42:32,462 INFO [DefaultPartition] I am (172.19.2.10:1099) received membershipChanged event: | 21:42:32,466 INFO [DefaultPartition] Dead members: 0 ([]) | 21:42:32,510 INFO [DefaultPartition] New Members : 0 ([]) | 21:42:32,515 INFO [DefaultPartition] All Members : 1 ([172.19.2.10:1099]) | 21:42:32,658 INFO [HANamingService] Started ha-jndi bootstrap jnpPort=1100, backlog=50, bindAddress=/172.19.2.10 | 21:42:32,725 INFO [DetachedHANamingService$AutomaticDiscovery] Listening on /172.19.2.10:1102, group=230.0.0.4, HA-JNDI address=172.19.2.10:1100 | 21:42:35,774 INFO [CorbaNamingService] Naming: [IOR:002B49444C3A6F6D672E6F72672F436F734E616D696E672F4E616D696E67436F6E746578744578743A312E3200E80001020C3137322E31392E322E313DC800114A426F73732F4E616D696E672F726F6F740500084A414301001C0001000100010501000100010109000105010001002100610024001E007E0001000C3137322E31392E322E313DC9004000100401000806066781020101010024001F00040003000100220024001F00040003] | 21:42:36,123 INFO [CorbaTransactionService] TransactionFactory: [IOR:003049444C3A6F72672F6A626F73732F746D2F69696F702F5472616E73616374696F6E466163746F72794578743A312E300200E80001020C3137322E31392E322E313DC800144A426F73732F5472616E73616374696F6E732F46000500084A414301001C0001000100010501000100010109000105010001002100610024001E007E0001000C3137322E31392E322E313DC9004000100401000806066781020101010024001F00040003000100220024001F00040003] | 21:42:37,447 INFO [Embedded] Catalina naming disabled | 21:42:37,659 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set. | 21:42:37,708 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set. | 21:42:38,558 INFO [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-172.19.2.10-8080 | 21:42:38,611 INFO [Catalina] Initialization processed in 856 ms | 21:42:38,614 INFO [StandardService] Starting service jboss.web | 21:42:38,667 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.20 | 21:42:38,768 INFO [StandardHost] XML validation disabled | 21:42:38,850 INFO [Catalina] Server startup in 236 ms | Second Cluster Member: --- | GMS: address is oraclelinuxoracle11clusterB:1427 (additional data: 16 bytes) | --- | 21:43:56,137 INFO [DefaultPartition] Number of cluster members: 1 | 21:43:56,139 INFO [DefaultPartition] Other members: 0 | 21:43:56,185 INFO [DefaultPartition] Fetching state (will wait for 3 milliseconds): | 21:43:56,236 INFO [DefaultPartition] State could not be retrieved (we are the first member in group) | 21:43:56,422 INFO [HANamingService] Started ha-jndi bootstrap jnpPort=1100, backlog=50, bindAddress=/172.19.2.11 | 21:43:56,499 INFO [DetachedHANamingService$AutomaticDiscovery] Listening on /172.19.2.11:1102, group=230.0.0.4, HA-J
[jboss-user] [Installation, Configuration & DEPLOYMENT] - running JBOSS in the forground and get it to ouput it's PID
I need to keep JBOSS running as a foreground task and yet allow for a third party product to find th JBOSS_PID and kill it if needed. I'm looking for how to get JBOSS (both on Unix and Windows) to output the pid of the actual java process spawned by running run.sh(bat). Is this possible, if so how? Thanks, ERIC View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4126751#4126751 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4126751 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JBOSS Portal 2.6 + MyFaces within my application not wor
This now works with 4.2 and Portal 2.6.1GA, using the steps defined in JBoss's documentation for not inheriting Faces into an application. Thanks to the JBoss Portal team for there hard work, ERIC GANDT View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070113#4070113 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070113 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Using a WebServer and mod_jk 1.2.23 with Jboss 4.2.0GA
I can setup Apache without issue and mod_jk is working there (ie jkstatus is working), and knows where it should connect to now the problem is setting up JBOSS 4.2.0GA to listen for a connection via ajp13. First off I'm using the default Server instance Next I edited the file: default/deploy/jboss-web.deployer/META-INF/jboss-service.xml I located: false and changes it to true : true Next I added a new Engine line to this file: where node1 is described in workers.properties When I start up I get an error: 11:47:44,605 ERROR [STDERR] [Fatal Error] jboss-service.xml:145:20: Open quote is expected for attribute "name" associated with an element type "Engine". 11:47:44,608 ERROR [MainDeployer] Could not initialise deployment: file:/u01/software/Apps/701/jboss-4.2.0.GA/cs701_edit/server/default/deploy/jboss-web.deployer/ org.jboss.deployment.DeploymentException: Open quote is expected for attribute "name" associated with an element type "Engine".; - nested throwable: (org.xml.sax.SAXParseException: Open quote is expected for attribute "name" associated with an element type "Engine".) at org.jboss.deployment.SARDeployer.init(SARDeployer.java:217) at org.jboss.deployment.MainDeployer.init(MainDeployer.java:872) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:809) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) I looked at the existing documentation for setting up a cluster, but it all seems for 3.X or 4.0, the only reference I found for 4.2 was at http://www.hishboy.com/index.php/2007/06/19/jboss-420ga-clustering-on-ubuntu-fiesty-704/ but these are the instructions that are causing problems. Since Apache starts I'm assuming that I do not care about that yet, I want JBOSS 4.2.0GA to start properly. Thanks, ERIC View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068786#4068786 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068786 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JBOSS Portal 2.6 + MyFaces within my application not wor
I looked at the suggested reading and tried a number of suggested options, The best options seems to be adding | | org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL | true | | I assume that since my application includes a portlet.xml file (and also includes portlets), this is the cause of the problem, I'm guessing that something to do with deploying portlets requires access to JSFaces, but this is just a guess on my part. A google search did not return anything usefull on this issue. | 23:43:04,817 INFO [TomcatDeployer] deploy, ctxPath=/xx, warUrl=.../deploy/xx.war/ | 23:43:08,891 ERROR [STDERR] java.lang.IllegalArgumentException: Class org.jboss.portal.faces.portlet.JSFMetaBridgeViewHandlerImpl is no javax.faces.application.ViewHandler | 23:43:08,892 ERROR [STDERR] at org.apache.myfaces.config.FacesConfigurator.getApplicationObject(FacesConfigurator.java:665) | 23:43:08,892 ERROR [STDERR] at org.apache.myfaces.config.FacesConfigurator.configureApplication(FacesConfigurator.java:602) | 23:43:08,892 ERROR [STDERR] at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:148) | 23:43:08,892 ERROR [STDERR] at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:68) | 23:43:08,892 ERROR [STDERR] at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:51) | 23:43:08,893 ERROR [STDERR] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854) | 23:43:08,893 ERROR [STDERR] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4359) | 23:43:08,893 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761) | 23:43:08,893 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741) | 23:43:08,893 ERROR [STDERR] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553) | 23:43:08,893 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 23:43:08,893 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 23:43:08,893 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 23:43:08,893 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597) | 23:43:08,894 ERROR [STDERR] at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297) | 23:43:08,894 ERROR [STDERR] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) | 23:43:08,894 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | 23:43:08,894 ERROR [STDERR] at org.apache.catalina.core.StandardContext.init(StandardContext.java:5310) | 23:43:08,894 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 23:43:08,894 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 23:43:08,894 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 23:43:08,894 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597) | 23:43:08,894 ERROR [STDERR] at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297) | 23:43:08,895 ERROR [STDERR] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) | 23:43:08,895 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | 23:43:08,895 ERROR [STDERR] at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301) | 23:43:08,895 ERROR [STDERR] at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104) | 23:43:08,895 ERROR [STDERR] at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375) | 23:43:08,895 ERROR [STDERR] at org.jboss.web.WebModule.startModule(WebModule.java:83) | 23:43:08,895 ERROR [STDERR] at org.jboss.web.WebModule.startService(WebModule.java:61) | 23:43:08,895 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | 23:43:08,896 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | 23:43:08,896 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) | 23:43:08,896 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 23:43:08,896 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597) | 23:43:08,896 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | 23:43:08,896 ERROR [STDERR] at org.jboss.mx.
[jboss-user] [JBoss Portal] - Re: JBOSS Portal 2.6 + MyFaces within my application not wor
My problem is that our product is desgined to work cross platform, and currently supports both SUN Portal, WebSphere Portal and WebLogic Portal as well as Jboss Portal. Since we are cross platform we create our own extension of myfaces which we then load with a contextroot of /faces, we also use ADF faces and this has a contextroot of /adf Since we have extended myfaces I can not use JSF faces as loaded by JBOSS portal by default. Since I cannot remove JSF Faces in Portal as one does in Application Server to using myfaces, what is the solution for JBoss Portal, as rewriting the application to use JSF and not myfaces is not a practical solution in this and many other applications. ERIC View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060864#4060864 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060864 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - JBOSS Portal 2.6 + MyFaces within my application not working
First off there is a Wiki document at http://wiki.jboss.org/wiki/Wiki.jsp?page=Running2.6WithJBossAS4.2.xAndMyFaces Which appears to cover this topic, however after making the changes suggested, the portal works, but not my application which uses both ADF and MYfaces. In a JBoss Application Server 4.2 I fix my problems with MYFACES by adding the lines: | | | org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL | | true | | to the web.xml located at default/deploy/jboss-web.deployer/conf under: | | |
[jboss-user] [JBoss Portal] - Re: JBOSS Portal 2.6 and OpenLDAP (looking for an example ld
Sorry the fatwire, was lack of scrubbing the data. as for the other dc=fatwire.com I fixed that to be dc=example,dc=com The typo of dc=fatwire.com was the problem authentication is now working for openLDAP. I'm including the working LDIF and ldap-identity-config.xml from my install as this may help others in the future. Before use fix the passwords from the users ldapuser and admin as well as the login for openLDAP. My setup assumes that openLDAP is installed on the same server as jboss portal 2.6. LDIF from OpenLDAP: | dn: dc=example,dc=com | dc: example | description: OpenLDAP pre_cs_setup | objectClass: dcObject | objectClass: organization | o: Example Software | | dn: cn=Manager, dc=example,dc=com | objectClass: organizationalRole | cn: Manager | | dn: ou=People, dc=example,dc=com | ou: People | objectClass: organizationalUnit | objectClass: top | | dn: ou=Groups, dc=example,dc=com | ou: Groups | objectClass: organizationalUnit | objectClass: top | | dn: cn=admin,ou=People, dc=example,dc=com | userPassword: {SSHA}XX | objectClass: top | objectClass: organizationalPerson | objectClass: person | sn: admin | cn: admin | | dn: cn=ldapuser,ou=People, dc=example,dc=com | userPassword: {SSHA}XX | description: JBoss Portal ldapuser User for test LDAP integration password=username | objectClass: top | objectClass: organizationalPerson | objectClass: person | sn: ldapuser | cn: ldapuser | | dn: cn=User,ou=Groups, dc=example,dc=com | description: the JBoss Portal user group | objectClass: top | objectClass: groupOfUniqueNames | uniqueMember: cn=ldapuser,ou=People,dc=example,dc=com | cn: User | | dn: cn=Admin,ou=Groups, dc=example,dc=com | description: the JBoss Portal admin group | objectClass: top | objectClass: groupOfUniqueNames | uniqueMember: cn=admin,ou=People,dc=example,dc=com | cn: Admin | ldap_identity-config.xml: | | | | | | LDAP | | |host |127.0.0.1 | | |port |389 | | |adminDN |cn=Manager,dc=example,dc=com | | |adminPassword |XXX | | | | | | | | User | LDAP | | | | Role | LDAP | | | | Membership | LDAP | | | | UserProfile | DELEGATING | | |ldapModuleJNDIName |java:/portal/LDAPUserProfileModule | | | | | DBDelegateUserProfile | DB | | |randomSynchronizePassword |true | | | | | LDAPDelegateUserProfile | LDAP | | | | | | | common | | userCtxDN | ou=People,dc=example,dc=com | | | uidAttributeID | cn | | | passwordAttributeID | userPassword | | | | roleCtxDN | ou=Groups,dc=example,dc=com | | | ridAttributeId | cn | | | roleDisplayNameAttributeID | cn | | | membershipAttributeID | uniqueMember | | | membershipAttributeIsDN | true | | | | userCreateAttibutes | | objectClass | | top | person | organizationalPerson | | | | cn | none | | | sn | none | | | | | roleCreateAttibutes | | objectClass | top | groupOfUniqueNames | | | | cn | none | | | | | member | cn=admin,ou=People,dc=example,dc=com | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059931#4059931 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059931 ___
[jboss-user] [JBoss Portal] - Re: JBOSS Portal 2.6 and OpenLDAP (looking for an example ld
OpenLDAP connection from ldap_identity-config.xml: | | | common | | userCtxDN | ou=People,dc=fatwire.com | | | uidAttributeID | cn | | | passwordAttributeID | userPassword | | | | roleCtxDN | ou=Groups,dc=fatwire,dc=com | | | ridAttributeId | cn | | | roleDisplayNameAttributeID | cn | | | membershipAttributeID | uniqueMember | | | membershipAttributeIsDN | true | | | | userCreateAttibutes | | objectClass | | top | person | organizationalPerson | | | | cn | none | | | sn | none | | | | roleCreateAttibutes | | objectClass | top | groupOfUniqueNames | | | | cn | none | | | | | | | Sorry the first post removed the XML so here it is View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059726#4059726 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059726 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - JBOSS Portal 2.6 and OpenLDAP (looking for an example ldap_i
I am trying to move from portal 2.4 to portal 2.6, and I can not get OpenLDAP to authenticate the logins, while it connects to the LDAP Server, it seems to be unable to locate the user admin which exists as: cn=admin,ou=People,dc=example,dc=com Saddly all the examples for 2.6 are for LDAP's other than openLDAP, so I am winging it. Also teh error messages are not helpful at this time. Thanks, ERIC RELATED DATA: I get the following message from JBOSS: 14:17:02,817 ERROR [IdentityLoginModule] Error when validating password org.jboss.portal.common.transaction.NestedException: javax.security.auth.login.LoginException: org.jboss.portal.identity.IdentityException: User search failed. at org.jboss.portal.common.transaction.Transactions.apply(Transactions.java:253) OpenLDAP shows: connection_get(15): got connid=2 connection_read(15): checking for input on id=2 ber_get_next ber_get_next: tag 0x30 len 48 contents: ber_get_next ber_get_next on fd 15 failed errno=11 (Resource temporarily unavailable) do_bind ber_scanf fmt ({imt) ber: ber_scanf fmt (m}) ber: >>> dnPrettyNormal: <<< dnPrettyNormal: , do_bind: version=3 dn="cn=Manager,dc=example,dc=com" method=128 do_bind: v3 bind: "cn=Manager,dc=example,dc=com" to "cn=Manager,dc=example,dc=com" send_ldap_result: conn=2 op=0 p=3 send_ldap_response: msgid=1 tag=97 err=0 ber_flush: 14 bytes to sd 15 connection_get(15): got connid=2 connection_read(15): checking for input on id=2 ber_get_next ber_get_next: tag 0x30 len 90 contents: ber_get_next ber_get_next on fd 15 failed errno=11 (Resource temporarily unavailable) do_search ber_scanf fmt ({mb) ber: >>> dnPrettyNormal: <<< dnPrettyNormal: , ber_scanf fmt ({mm}) ber: ber_scanf fmt ({M}}) ber: => get_ctrls ber_scanf fmt ({m) ber: => get_ctrls: oid="2.16.840.1.113730.3.4.2" (noncritical) <= get_ctrls: n=1 rc=0 err="" send_ldap_result: conn=2 op=1 p=3 send_ldap_response: msgid=2 tag=101 err=32 ber_flush: 14 bytes to sd 15 My ldap_identity-config.xml coptions section looks like: common userCtxDN ou=People,dc=fatwire.com uidAttributeID cn passwordAttributeID userPassword roleCtxDN ou=Groups,dc=fatwire,dc=com ridAttributeId cn roleDisplayNameAttributeID cn membershipAttributeID uniqueMember membershipAttributeIsDN true userCreateAttibutes objectClass top person organizationalPerson cn none sn none roleCreateAttibutes objectClass top groupOfUniqueNames cn none member cn=admin,ou=People,dc=example,dc=com Current OpenLDAP LDIF: dn: ou=People,dc=example,dc=com ou: People objectclass: organizationalUnit objectclass: top dn: cn=admin,ou=People,dc=example,dc=com userPassword: {SSHA}XXX objectclass: top objectclass: organizationalPerson objectclass: person cn: admin sn: admin dn: cn=ldapuser,ou=People, dc=example,dc=com userPassword: {SSHA}XX description: JBoss Portal ldapuser User for test LDAP integration password=username objectClass: top objectClass: organizationalPerson objectClass: person sn: ldapuser cn: ldapuser dn: ou=Groups,dc=example,dc=com ou: Groups objectclass: organizationalUnit objectclass: top dn: cn=User,ou=Groups,dc=example,dc=com description: the JBoss Portal user group objectClass: top objectClass: groupOfUniqueNames cn: User uniqueMember: cn=ldapuser,ou=People,dc=example,dc=com dn: cn=Admin,ou=Groups,dc=example,dc=com description: the JBoss Portal admin group objectClass: top objectClass: groupOfUniqueNames cn: Admin uniqueMember: cn=admin,ou=People,dc=example,dc=com View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059725#4059725 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059725 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - ADF faces in JBOSS Portal 2.4
I have a program that requires, ADF-Faces as well as My-Faces, however I can not figure out what is required to get ADF-FACES to load, Thinking it was my product I downloaded and attempted to deploy the ADF-Faces samples application, however it also does not deploy correctly. If I remove the My-Faces jars then the Portal does not work at all, any suggestions what I need to do to use both MY-Faces and ADF-Faces within JBOSS Portal. This is a portal only problem as I got the program to working in JBOSS 4.0.5 without issue. Thanks, ERIC View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050581#4050581 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4050581 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Creating a portlet instance of an unamed portlet
The problem was I did not have the following defined for each portlet: ActiveContent new: Active Content new: Spark Portlet com.fatwire.flame.portlets.MyActiveList the key descriptor is as the portal seems to just not like any portlet without it (they are displayed, but nothing can be done with them) The second descriptor is and while optional it makes sense to have. Thanks, ERIC View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991437#3991437 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991437 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Creating a portlet instance of an unamed portlet
The problem is that the portlets are registered with the portal, but in the display they have only got an id and no name, there are 4 columns: id, name, remote, remote able The last 2 remote, remotable are check boxes, my portlets only have an id and no name so I can not create an instance. Even when I create a portlet-instance.xml file: ActiveContentInstance ActiveContent ActiveDocumentsInstance ActiveDocuments I get instances of portlets, but the instance point to '-' because the portlet name field is not filled in and apparently the name field is used to map to an instance. This makes no sense to me as my portlets have a name, its just not being used. Also in Portal 2.2.1 this was not a problem. ERIC View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991392#3991392 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991392 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Creating a portlet instance of an unamed portlet
Here it is: http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/portlet";> ActiveContent com.fatwire.flame.portlets.MyActiveList com.fatwire.cs.portals.portlet.CSPortlet.config.renderpage OpenMarket/Flame/MyActiveList/View com.fatwire.cs.portals.portlet.CSPortlet.config.mode WCM text/html view Active Content ActiveDocuments com.fatwire.flame.portlets.MyActiveList com.fatwire.cs.portals.portlet.CSPortlet.config.renderpage OpenMarket/Flame/MyActiveList/View com.fatwire.cs.portals.portlet.CSPortlet.config.mode DM text/html view Active Documents CheckedoutContent com.fatwire.flame.portlets.MyCheckouts com.fatwire.cs.portals.portlet.CSPortlet.config.renderpage OpenMarket/Flame/MyCheckouts/View com.fatwire.cs.portals.portlet.CSPortlet.config.mode WCM text/html view Checked-out Content CheckedoutDocuments com.fatwire.flame.portlets.MyCheckouts com.fatwire.cs.portals.portlet.CSPortlet.config.renderpage OpenMarket/Flame/MyCheckouts/View com.fatwire.cs.portals.portlet.CSPortlet.config.mode DM text/html view Checked-out Documents ContentAssignments com.fatwire.flame.portlets.MyAssignments com.fatwire.cs.portals.portlet.CSPortlet.config.renderpage OpenMarket/Flame/MyAssignments/View com.fatwire.cs.portals.portlet.CSPortlet.config.mode WCM text/html view Content Assignments View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991374#3991374 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991374 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Creating a portlet instance of an unamed portlet
Sorry I should mention that this is with Portal 2.4 and I did not see this issue with 2.2.1 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991351#3991351 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991351 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Creating a portlet instance of an unamed portlet
I have about 30 portlets added by a software program, and while they all show up on the list of portlets with an id such as "local./servlet.CreateContent" they have no name in the name column and if I click on them nothing happens, as there is no name I can not create an instance without first adding a name to the id of the portlet, how is this done, as I can find nothing in the documentation on how to name an unamed portlet id. ERIC GANDT View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991349#3991349 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991349 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user