OFBiz - CAS Not working
Hi I am trying to configure OFBiz with (CAS + LDAP) setup. I deployed CAS in tomcat and configured with LDAP. both are working fine. However i set the settings for OFBiz and got the following error. when i type https://hostname:port/ecommerce . it is taking me to CAS page with secured connectionn https://tomcat_hostname:port/cas/ . after entering credentials it is redirecting me back to ecommerce page with error. javax.servlet.ServletException: org.jasig.cas.client.validation.TicketValidationException: The CAS server returned no response. org.jasig.cas.client.validation.AbstractTicketValidationFilter.doFilter(AbstractTicketValidationFilter.java:155) org.jasig.cas.client.authentication.AuthenticationFilter.doFilter(AuthenticationFilter.java:111) org.jasig.cas.client.session.SingleSignOutFilter.doFilter(SingleSignOutFilter.java:99) and my console gives me the root cause of the error as 10-08-27 15:54:12,610 (http-0.0.0.0-8443-1) [AbstractCasProtocolUrlBasedTicketValidator.java:49 :ERROR] javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target I searched in forum. And find some hint. But that doesnt work. My doubt is , is this project linked to jsse.properties file for getting truststore and keystore files. But i found 2 JKS file linked to are missing in OFBiz. Is this the cause.?. wat are the changes to be made to ofbiz-container.properties file. ? Please help me in resolving and proceed further setup -- View this message in context: http://ofbiz.135035.n4.nabble.com/OFBiz-CAS-Not-working-tp2340896p2340896.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Calling OFBiz services from Liferay using SOAP
Dear Fellow OFBizers Last week we were working on some integration of OFBiz services in Liferay. So i thought of sharing you some hints on doing this. I created a file and shared my views and ideas of why and how we integrate both products in that. Hope it will be helpful for others. I request admin to Move the doc to appropriate location. I hope Our forum friends Ravindra, Jaques , Freeman or some admin will take care of it... Link is here https://cwiki.apache.org/confluence/display/OFBIZ/Calling+OFBiz+services+from+Liferay+using+SOAP Thanks and Regards Vignesh sabapathi mail to : vignesh.sabapa...@tcs.com 9930081383 -- View this message in context: http://ofbiz.135035.n4.nabble.com/Calling-OFBiz-services-from-Liferay-using-SOAP-tp2331145p2331145.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Integrating ofbiz with Alfresco
Dear ofbizers Could anyone tried integrating ofbiz with Alfresco. ? May i know how far this is feasible. As OFBiz is not providing full fledged CMS applications we were looking into integrating ofbiz with any cms product. Also need to know which Axis version OFbiz 9.04 is using. Thanks in advance -- View this message in context: http://ofbiz.135035.n4.nabble.com/Integrating-ofbiz-with-Alfresco-tp2228438p2228438.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: About OFbiz deployment in JBoss 5.1.0
Dear BJ Freeman I have gone through your link and i couldnt find any option to add new page even after loging in to it. Could you please help me out Thanks in advance Vignesh Sabapathi -- View this message in context: http://ofbiz.135035.n4.nabble.com/About-OFbiz-deployment-in-JBoss-5-1-0-tp2224743p2225669.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: About OFbiz deployment in JBoss 5.1.0
Dear jacques I have added a new page under the link provided by you and put my content in that. It is under https://cwiki.apache.org/confluence/display/OFBIZ/Deploying+OFBiz+9.04+on+JBoss+5.1.0 Please move it to appropriate location. I think it should come under Run OFBiz under outside Application servers Please do the needful Thanks in advance Vignesh Sabapathi Tata Consultancy Services Mail to : vignesh.sabapa...@tcs.com Mobile : 9930081383 -- View this message in context: http://ofbiz.135035.n4.nabble.com/About-OFbiz-deployment-in-JBoss-5-1-0-tp2224743p2225889.html Sent from the OFBiz - User mailing list archive at Nabble.com.
About OFbiz deployment in JBoss 5.1.0
Hello fellow ofbizers I have deployed OFBiz release 9.04 on JBoss 5.1.0. I have seen in forums some of the members already tried it out and commented on some issues in deployment. There are few issues which i resolved in making the deployment to work.So i Made a document on step by step doing the deployment. I just want to know how can i make it available as a document in OFBiz docs site. As earlier My work on clustering multiple ofbiz instances on tomcat was posted in physical architecture pattern page by some members .It is available under https://cwiki.apache.org/confluence/display/OFBIZ/Physical+Architecture+patterns+for+OFBiz I want to add my work over here. If someone helped me out it will be great Thanks in advance. -- View this message in context: http://ofbiz.135035.n4.nabble.com/About-OFbiz-deployment-in-JBoss-5-1-0-tp2224743p2224743.html Sent from the OFBiz - User mailing list archive at Nabble.com.
how to find ofbiz revision number
Hi I would like to know how to find the revision number of ofbiz from the directory which i have. Please help me out Thanks in advance -- View this message in context: http://n4.nabble.com/how-to-find-ofbiz-revision-number-tp956762p956762.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: how to find ofbiz revision number
Hi Rishi I am not using svn svn info gives svn command not found in my terminal.. Please tel me is ther any other ways to chk it. Thanks Rishi Solanki wrote: Use 'svn info' from console will give you the revision and other info. Rishi Solanki Enterprise Software Developer HotWax Media Pvt. Ltd. On Thu, Dec 10, 2009 at 1:39 PM, vignesh sabapathi vignesh.sabapa...@tcs.com wrote: Hi I would like to know how to find the revision number of ofbiz from the directory which i have. Please help me out Thanks in advance -- View this message in context: http://n4.nabble.com/how-to-find-ofbiz-revision-number-tp956762p956762.html Sent from the OFBiz - User mailing list archive at Nabble.com. -- View this message in context: http://n4.nabble.com/how-to-find-ofbiz-revision-number-tp956762p956864.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Error installing OFBiz on external tomcat
Hi Sac sha By seeing your error and specifications its purely a jdk issue. Either you need to make sure the ofbiz is built with the jdk version which you are currently using or just rebuit the ofbiz again with ant scripts in your current environment bfore going for tomcat deployment Regards vignesh sabapathi vignesh.sabapa...@tcs.com sac sha wrote: Attached log file. Sorry for inconvenience. On Thu, Dec 3, 2009 at 1:15 PM, sac sha sacsh...@gmail.com wrote: Hi All I am trying to install ofbiz on external tomcat. It is building fine but when I start tomcat by ./catalina.sh run it gives error as attached. I am referring to: http://cwiki.apache.org/confluence/display/OFBTECH/Tomcat My specifications are: Ofbiz: 9.04 Tomcat: 5.5.28 Java: java-6-sun TIA. -- Regards Sac -- Regards Sachin Sharma 2009-12-03 13:03:53,621 (main) [ GenericDispatcher.java:61 :INFO ] Creating new dispatcher [oagismgr] (main) 2009-12-03 13:03:53,653 (main) [ ApplicationContext.java:682:ERROR] StandardWrapper.Throwable java.lang.NoSuchMethodError: javax.servlet.ServletContext.getContextPath()Ljava/lang/String; at org.ofbiz.webapp.control.ControlServlet.init(ControlServlet.java:65) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3996) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4266) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) 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:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) 2009-12-03 13:03:53,695 (main) [StandardContext.java:3998:ERROR] Servlet /oagis threw load() exception java.lang.NoSuchMethodError: javax.servlet.ServletContext.getContextPath()Ljava/lang/String; at org.ofbiz.webapp.control.ControlServlet.init(ControlServlet.java:65) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3996) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4266) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) 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:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) 2009-12-03 13:03:59,138 (main) [ GenericDispatcher.java:61 :INFO ] Creating new dispatcher [facility] (main) 2009-12-03 13:03:59,141 (main) [ ApplicationContext.java:682:ERROR] StandardWrapper.Throwable java.lang.NoSuchMethodError: javax.servlet.ServletContext.getContextPath()Ljava/lang/String; at org.ofbiz.webapp.control.ControlServlet.init(ControlServlet.java:65) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3996) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4266
Re: Session replication not working in OFBiz embedded tomcat clustering
/ is throwing error as shown below [LocalDispatcher] : Created Dispatcher for: entity-default java.lang.IllegalArgumentException: Replication mode has to be 'synchronous', 'pooled', 'asynchronous', 'fastasyncqueue at org.apache.catalina.cluster.tcp.ReplicationTransmitter.setReplicationMode(ReplicationTransmitter.java:209) at org.ofbiz.catalina.container.CatalinaContainer.createCluster(CatalinaContainer.java:411) at org.ofbiz.catalina.container.CatalinaContainer.createEngine(CatalinaContainer.java:287) at org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java:195) at org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:141) at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:65) at org.ofbiz.base.start.Start.initStartLoaders(Start.java:248) at org.ofbiz.base.start.Start.init(Start.java:87) at org.ofbiz.base.start.Start.main(Start.java:403) Please review the above thanks in advance bye vignesh sabapathi Anil Soni wrote: Vignesh, Here is my configuration setting (ofbiz-containers.xml) : container name=catalina-container class=org.ofbiz.catalina.container.CatalinaContainer !-- static configuration for tomcat -- property name=delegator-name value=default/ property name=use-naming value=false/ property name=debug value=0/ property name=catalina-runtime-home value=runtime/catalina/ property name=apps-context-reloadable value=false/ property name=apps-cross-context value=true/ property name=apps-distributable value=true/ !-- one or more tomcat engines (servers); map to this + host -- property name=default-server value=engine property name=default-host value=0.0.0.0/ property name=jvm-route value=worker2/ property name=access-log-pattern property-value%h %l %u %t %r %s %b %{Referer}i %{User-Agent}i/property-value /property property name=access-log-resolve value=true/ property name=access-log-rotate value=true/ property name=access-log-prefix value=access_log./ property name=access-log-dir value=runtime/logs/ property name=enable-request-dump value=false/ !-- uncomment for cluster support-- property name=default-server-cluster value=cluster property name=rep-valve-filter property-value.*\.gif;.*\.js;.*\.jpg;.*\.htm;.*\.html;.*\.txt;/property-value /property property name=manager-class value=org.apache.catalina.ha.session.BackupManager/ property name=debug value=5/ property name=replication-mode value=org.apache.catalina.tribes.transport.bio.PooledMultiSender/ property name=tcp-listen-host value=auto/ property name=tcp-listen-port value=4001/ property name=tcp-sector-timeout value=100/ property name=tcp-thread-count value=6/ property name=mcast-bind-addr value=172.17.88.107/ property name=mcast-addr value=228.0.0.4/ property name=mcast-port value=45564/ property name=mcast-freq value=500/ property name=mcast-drop-time value=3000/ /property Try this. Anil Soni anil.s...@lntinfotech.com Mobile : 9930302283 __ -- View this message in context: http://n4.nabble.com/Session-replication-not-working-in-OFBiz-embedded-tomcat-clustering-tp622565p623931.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Session replication not working in OFBiz embedded tomcat clustering
Hi Anil Thanks for your reply... i tried with both Delta and Backup manager also changed the attributes you mentioned to true but still not successful in replication... getting the same problem... do i need to build the project again after making the changes... do i need to do anything with any .java files please do help Thanks by vignesh anil.soni wrote: Vignesh, It's a problem of DeltaManager, so I would suggest you to use BackupManager as manager-class instead of DeltaManager and set the value of apps-distributable=true and apps-cross-context=true. After these settings load balancing in replication mode will work. On Tue, Nov 17, 2009 at 11:35 AM, vignesh sabapathi vignesh.sabapa...@tcs.com wrote: Hi I have done ofbiz clustering by deploying ofbiz in external tomcat. but when i try to do clustering (load balancing using Apache) with embedded ofbiz tomcat the session is not replicating Like when i shut down one instances . OFbiz goes to login page again here are my configuration files (ofbiz-containers.xml) container name=catalina-container class=org.ofbiz.catalina.container.CatalinaContainer !-- static configuration for tomcat -- property name=delegator-name value=default/ property name=use-naming value=false/ property name=debug value=0/ property name=catalina-runtime-home value=runtime/catalina/ property name=apps-context-reloadable value=false/ property name=apps-cross-context value=false/ property name=apps-distributable value=true/ !-- one or more tomcat engines (servers); map to this + host -- property name=default-server value=engine property name=default-host value=172.17.197.56/ property name=jvm-route value=node1/ property name=access-log-pattern property-value%h %l %u %t %r %s %b %{Referer}i %{User-Agent}i/property-value /property property name=access-log-resolve value=true/ property name=access-log-rotate value=true/ property name=access-log-prefix value=access_log./ property name=access-log-dir value=runtime/logs/ property name=enable-request-dump value=false/ !-- uncomment for cluster support -- property name=default-server-cluster value=cluster property name=rep-valve-filter property-value.*\.gif;.*\.js;.*\.jpg;.*\.htm;.*\.html;.*\.txt;/property-value /property property name=manager-class value=org.apache.catalina.ha.session.DeltaManager/ property name=debug value=5/ property name=replication-mode value=pooled/ !-- property name=tcp-listen-host value=172.17.197.56/ -- property name=tcp-listen-port value=4001/ property name=tcp-sector-timeout value=100/ property name=tcp-thread-count value=6/ property name=mcast-bind-addr value=172.17.197.56/ property name=mcast-addr value=228.0.0.4/ property name=mcast-port value=45564/ property name=mcast-freq value=500/ property name=mcast-drop-time value=3000/ /property In instances 2's ofbiz-containers.xml file i changed tcp-listen-port to 4002 and jvm node to node2. And i am using OFBiz-4.0 release version And my terminal output doesnt show any error about clustering Thanks in advance looking forward your replies bye vignesh sabapathi mailto : vignesh.sabapa...@tcs.com -- View this message in context: http://n4.nabble.com/Session-replication-not-working-in-OFBiz-embedded-tomcat-clustering-tp622565p622565.html Sent from the OFBiz - User mailing list archive at Nabble.com. -- Anil Soni +91-9930302283cell anil.s...@lntinfotech.com -- View this message in context: http://n4.nabble.com/Session-replication-not-working-in-OFBiz-embedded-tomcat-clustering-tp622565p623335.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Session replication not working in OFBiz embedded tomcat clustering
Hi I have done ofbiz clustering by deploying ofbiz in external tomcat. but when i try to do clustering (load balancing using Apache) with embedded ofbiz tomcat the session is not replicating Like when i shut down one instances . OFbiz goes to login page again here are my configuration files (ofbiz-containers.xml) container name=catalina-container class=org.ofbiz.catalina.container.CatalinaContainer !-- static configuration for tomcat -- property name=delegator-name value=default/ property name=use-naming value=false/ property name=debug value=0/ property name=catalina-runtime-home value=runtime/catalina/ property name=apps-context-reloadable value=false/ property name=apps-cross-context value=false/ property name=apps-distributable value=true/ !-- one or more tomcat engines (servers); map to this + host -- property name=default-server value=engine property name=default-host value=172.17.197.56/ property name=jvm-route value=node1/ property name=access-log-pattern property-value%h %l %u %t %r %s %b %{Referer}i %{User-Agent}i/property-value /property property name=access-log-resolve value=true/ property name=access-log-rotate value=true/ property name=access-log-prefix value=access_log./ property name=access-log-dir value=runtime/logs/ property name=enable-request-dump value=false/ !-- uncomment for cluster support -- property name=default-server-cluster value=cluster property name=rep-valve-filter property-value.*\.gif;.*\.js;.*\.jpg;.*\.htm;.*\.html;.*\.txt;/property-value /property property name=manager-class value=org.apache.catalina.ha.session.DeltaManager/ property name=debug value=5/ property name=replication-mode value=pooled/ !-- property name=tcp-listen-host value=172.17.197.56/ -- property name=tcp-listen-port value=4001/ property name=tcp-sector-timeout value=100/ property name=tcp-thread-count value=6/ property name=mcast-bind-addr value=172.17.197.56/ property name=mcast-addr value=228.0.0.4/ property name=mcast-port value=45564/ property name=mcast-freq value=500/ property name=mcast-drop-time value=3000/ /property In instances 2's ofbiz-containers.xml file i changed tcp-listen-port to 4002 and jvm node to node2. And i am using OFBiz-4.0 release version And my terminal output doesnt show any error about clustering Thanks in advance looking forward your replies bye vignesh sabapathi mailto : vignesh.sabapa...@tcs.com -- View this message in context: http://n4.nabble.com/Session-replication-not-working-in-OFBiz-embedded-tomcat-clustering-tp622565p622565.html Sent from the OFBiz - User mailing list archive at Nabble.com.
OFBiz4.0 clustering,session replication, failover and load balancing - Howto
Hi OFBizers After surfing the posts i could'nt find much info abt OFBiz4.0 clustering. Few members raised some issues in retaining shopping cart items during session replication. We are looking into that issue.. As an alternative i m posting here the way to do clustering and session replication in OFBiz4.0 by deploying OFBiz4.0 in external tomcat (By this way the shopping cart items can be retained) Following are the steps to be done step 1 : create a template (as same as for ofbiz9.0 deployment in tomcat) step 2 : Deploy ofbiz in tomcat (i tried with tomcat 6.0.16) step 3 : Cluster tomcat instances (i used 2 tomcat instances) step 4: Enable session replication by changing the configurations in server.xml file in all the nodes (use backup manager to retain cart items during session replication) step 5 : Enable Apache with mod_jk support step 6 : configure Apache (create worker.properties and change the configurations of httpd.conf and ssl.conf) to load balance tomcat servers Step 7 : check all the functions are working with lamba probe tool Hav a happy clustering i wil try to upload a file detailing all the activities later on by vignesh sabapathi mailto : vignesh.sabapa...@tcs.com mobile : 9930081383 -- View this message in context: http://n4.nabble.com/OFBiz4-0-clustering-session-replication-failover-and-load-balancing-Howto-tp585726p585726.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: OFBiz4.0 clustering,session replication, failover and load balancing - Howto
Hi Chris I should work for trunk too . Chris Snow-3 wrote: Hi Anil, Do Vignesh's instructions also work for trunk? If not, is there any documentation on how to do this in trunk? Many thanks, Chris Anil Soni wrote: Vignesh, same thing can also be done on embedded Tomcat also, we've successfully implemented this on trunk. Thanks Regards, Anil Soni anil.s...@lntinfotech.com Tel : 91-22-6795 4324 Mobile : 9930302283 __ -- View this message in context: http://n4.nabble.com/OFBiz4-0-clustering-session-replication-failover-and-load-balancing-Howto-tp585726p619590.html Sent from the OFBiz - User mailing list archive at Nabble.com.