Hi,
I wanted to know if there is any way by which I can make a particular component to be loaded as non-secured .i.e accessible via 'http://...' My requirement is that I wish to run a third party non-secured component(http) as it is in ofbiz. Can anyone pl help me on this. Any suggestions in this regard would be of great help to us. Thanks & Regards, Swapnil Sawant ________________________________ This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. ______________________________________________________________________ |
In the controller.xml of the application web of your component, after each request-map put:
Check $OFBIZ_HOME/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/controller.xml (the contoller of the public ecommerce site) to see the request-maps settled in this way. Cheers,
David
DiSiD Technologies, S.L. - http://www.disid.com |
Hi,
This newly added component is a third party component unlike creating a new 'ofbiz component' . Hence, there is no controller.xml file present in it. In that case, what could be the possible solution ? Thanks & Regards, Swapnil Sawant -----Original Message----- From: David-DiSiD Technologies [mailto:[hidden email]] Sent: Monday, August 02, 2010 12:19 PM To: [hidden email] Subject: Re: Making a particular component in ofbiz non-secured In the controller.xml of the application web of your component, after each request-map put: > <security https="false" auth="false" /> > Check $OFBIZ_HOME/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/controller.xml (the contoller of the public ecommerce site) to see the request-maps settled in this way. Cheers, ----- David - dcervera at disid dot com DiSiD Technologies, S.L. - http://www.disid.com Crea Tu Tienda Virtual - http://www.creatutiendavirtual.com -- View this message in context: http://ofbiz.135035.n4.nabble.com/Making-a-particular-component-in-ofbiz-non-secured-tp2309936p2309938.html Sent from the OFBiz - User mailing list archive at Nabble.com. ______________________________________________________________________ This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. ______________________________________________________________________ |
Administrator
|
In reply to this post by Swapnil Sawant
Not sure if it's what you are looking for, but the eCOmmerce component mostly uses non securted request. Have a look into its
controller (controller.xml file) Jacques Swapnil Sawant wrote: > Hi, > > > I wanted to know if there is any way by which I can make a particular component to be loaded as non-secured .i.e accessible via > 'http://...' > > My requirement is that I wish to run a third party non-secured component(http) as it is in ofbiz. > > Can anyone pl help me on this. > > Any suggestions in this regard would be of great help to us. > > > Thanks & Regards, > Swapnil Sawant > > > > ________________________________ > This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended > recipient, please do not use or disseminate the information, notify the sender and delete it from your system. > > ______________________________________________________________________ |
In reply to this post by Swapnil Sawant
Are you talking about mounting a third party webapp wrapped in an ofbiz component? If so then it is up to you to configure the webapp's internal settings correctly, OFBiz won't really have much control over it (other than mounting it into tomcat).
Regards Scott HotWax Media http://www.hotwaxmedia.com On 2/08/2010, at 6:43 PM, Swapnil Sawant wrote: > Hi, > > > I wanted to know if there is any way by which I can make a particular component to be loaded as non-secured .i.e accessible via 'http://...' > > My requirement is that I wish to run a third party non-secured component(http) as it is in ofbiz. > > Can anyone pl help me on this. > > Any suggestions in this regard would be of great help to us. > > > Thanks & Regards, > Swapnil Sawant > > > > ________________________________ > This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. > > ______________________________________________________________________ smime.p7s (3K) Download Attachment |
Yes...
I am trying to integrate drools 5.0 Guvnor GUI into ofbiz. Here is what I have done for same : - wrote the framework code for running rules and put that component inside 'framework'. - unzipped war file of Guvnor 5.0 (GUI code for Guvnor) and put that code into 'hot-deploy/drools-guvnor/webapp' folder and added/removed necessary jars from it (Guvnor code base). - created 'lib' folder on same level as 'webapp' and put all the jars from 'hot-deploy/drools-guvnor/webapp/WEB- INF/lib' into it - ofbiz-component.xml file for this component - and started the server. Any suggestions at any step to make it work as "<a href="http://localhost:8441......./Guvnor.html'">http://localhost:8441......./Guvnor.html' ? Thanks & Regards, Swapnil Sawant -----Original Message----- From: Scott Gray [mailto:[hidden email]] Sent: Monday, August 02, 2010 1:11 PM To: [hidden email] Subject: Re: Making a particular component in ofbiz non-secured Are you talking about mounting a third party webapp wrapped in an ofbiz component? If so then it is up to you to configure the webapp's internal settings correctly, OFBiz won't really have much control over it (other than mounting it into tomcat). Regards Scott HotWax Media http://www.hotwaxmedia.com On 2/08/2010, at 6:43 PM, Swapnil Sawant wrote: > Hi, > > > I wanted to know if there is any way by which I can make a particular component to be loaded as non-secured .i.e accessible via 'http://...' > > My requirement is that I wish to run a third party non-secured component(http) as it is in ofbiz. > > Can anyone pl help me on this. > > Any suggestions in this regard would be of great help to us. > > > Thanks & Regards, > Swapnil Sawant > > > > ________________________________ > This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. > > ______________________________________________________________________ This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. ______________________________________________________________________ |
Did you define the web-app in ofbiz-component.xml file? Any errors during startup? What exactly isn't working?
Regards Scott On 2/08/2010, at 9:06 PM, Swapnil Sawant wrote: > Yes... > > I am trying to integrate drools 5.0 Guvnor GUI into ofbiz. > > Here is what I have done for same : > > - wrote the framework code for running rules and put that component inside 'framework'. > - unzipped war file of Guvnor 5.0 (GUI code for Guvnor) and put that code into 'hot-deploy/drools-guvnor/webapp' folder and added/removed necessary jars from it (Guvnor code base). > - created 'lib' folder on same level as 'webapp' and put all the jars from 'hot-deploy/drools-guvnor/webapp/WEB- INF/lib' into it > - ofbiz-component.xml file for this component > - and started the server. > > > Any suggestions at any step to make it work as "<a href="http://localhost:8441......./Guvnor.html'">http://localhost:8441......./Guvnor.html' ? > > > > Thanks & Regards, > Swapnil Sawant > > > -----Original Message----- > From: Scott Gray [mailto:[hidden email]] > Sent: Monday, August 02, 2010 1:11 PM > To: [hidden email] > Subject: Re: Making a particular component in ofbiz non-secured > > Are you talking about mounting a third party webapp wrapped in an ofbiz component? If so then it is up to you to configure the webapp's internal settings correctly, OFBiz won't really have much control over it (other than mounting it into tomcat). > > Regards > Scott > > HotWax Media > http://www.hotwaxmedia.com > > On 2/08/2010, at 6:43 PM, Swapnil Sawant wrote: > >> Hi, >> >> >> I wanted to know if there is any way by which I can make a particular component to be loaded as non-secured .i.e accessible via 'http://...' >> >> My requirement is that I wish to run a third party non-secured component(http) as it is in ofbiz. >> >> Can anyone pl help me on this. >> >> Any suggestions in this regard would be of great help to us. >> >> >> Thanks & Regards, >> Swapnil Sawant >> >> >> >> ________________________________ >> This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. >> >> ______________________________________________________________________ > > > This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. > > ______________________________________________________________________ smime.p7s (3K) Download Attachment |
Following is my ofbiz-component.xml : <?xml version="1.0" encoding="UTF-8"?> <ofbiz-component name="yourapp" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd"> <resource-loader name="main" type="component" /> <!-- <classpath type="dir" location="config" /> --> <classpath location="lib/*" type="jar"/> <classpath type="jar" location="build/lib/*"/> <classpath type="dir" location="src/*" /> <webapp name="drools-guvnor" title="drools-guvnor" server="default-server" location="webapp" mount-point="/drools-guvnor" app-bar-display="false" /> </ofbiz-component> When I start server, component gets loaded successfully. But it is treated as "https://localhost:8441/drools-guvnor....." wherein my requirement is to run it as "http://...." Thanks & Regards, Swapnil Sawant -----Original Message----- From: Scott Gray [mailto:[hidden email]] Sent: Monday, August 02, 2010 2:43 PM To: [hidden email] Subject: Re: Making a particular component in ofbiz non-secured Did you define the web-app in ofbiz-component.xml file? Any errors during startup? What exactly isn't working? Regards Scott On 2/08/2010, at 9:06 PM, Swapnil Sawant wrote: > Yes... > > I am trying to integrate drools 5.0 Guvnor GUI into ofbiz. > > Here is what I have done for same : > > - wrote the framework code for running rules and put that component inside 'framework'. > - unzipped war file of Guvnor 5.0 (GUI code for Guvnor) and put that code into 'hot-deploy/drools-guvnor/webapp' folder and added/removed necessary jars from it (Guvnor code base). > - created 'lib' folder on same level as 'webapp' and put all the jars from 'hot-deploy/drools-guvnor/webapp/WEB- INF/lib' into it > - ofbiz-component.xml file for this component > - and started the server. > > > Any suggestions at any step to make it work as "<a href="http://localhost:8441......./Guvnor.html'">http://localhost:8441......./Guvnor.html' ? > > > > Thanks & Regards, > Swapnil Sawant > > > -----Original Message----- > From: Scott Gray [mailto:[hidden email]] > Sent: Monday, August 02, 2010 1:11 PM > To: [hidden email] > Subject: Re: Making a particular component in ofbiz non-secured > > Are you talking about mounting a third party webapp wrapped in an ofbiz component? If so then it is up to you to configure the webapp's internal settings correctly, OFBiz won't really have much control over it (other than mounting it into tomcat). > > Regards > Scott > > HotWax Media > http://www.hotwaxmedia.com > > On 2/08/2010, at 6:43 PM, Swapnil Sawant wrote: > >> Hi, >> >> >> I wanted to know if there is any way by which I can make a particular component to be loaded as non-secured .i.e accessible via 'http://...' >> >> My requirement is that I wish to run a third party non-secured component(http) as it is in ofbiz. >> >> Can anyone pl help me on this. >> >> Any suggestions in this regard would be of great help to us. >> >> >> Thanks & Regards, >> Swapnil Sawant >> >> >> >> ________________________________ >> This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. >> >> ______________________________________________________________________ > > > This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. > > ______________________________________________________________________ This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. ______________________________________________________________________ |
It is "treated" as https by what? If you mean the OFBiz application menu then that's probably because it isn't really built to deal with non-OFBiz webapps properly. I'm sure it could be improved but I don't really have any advice to offer.
Regards Scott On 2/08/2010, at 9:52 PM, Swapnil Sawant wrote: > > Following is my ofbiz-component.xml : > > > <?xml version="1.0" encoding="UTF-8"?> > <ofbiz-component name="yourapp" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd"> > <resource-loader name="main" type="component" /> > <!-- > <classpath type="dir" location="config" /> > --> > > <classpath location="lib/*" type="jar"/> > <classpath type="jar" location="build/lib/*"/> > <classpath type="dir" location="src/*" /> > > <webapp name="drools-guvnor" > title="drools-guvnor" > server="default-server" > location="webapp" > mount-point="/drools-guvnor" > app-bar-display="false" /> > > </ofbiz-component> > > > When I start server, component gets loaded successfully. But it is treated as "https://localhost:8441/drools-guvnor....." wherein my requirement is to run it as "http://...." > > > > > Thanks & Regards, > Swapnil Sawant > > -----Original Message----- > From: Scott Gray [mailto:[hidden email]] > Sent: Monday, August 02, 2010 2:43 PM > To: [hidden email] > Subject: Re: Making a particular component in ofbiz non-secured > > Did you define the web-app in ofbiz-component.xml file? Any errors during startup? What exactly isn't working? > > Regards > Scott > > On 2/08/2010, at 9:06 PM, Swapnil Sawant wrote: > >> Yes... >> >> I am trying to integrate drools 5.0 Guvnor GUI into ofbiz. >> >> Here is what I have done for same : >> >> - wrote the framework code for running rules and put that component inside 'framework'. >> - unzipped war file of Guvnor 5.0 (GUI code for Guvnor) and put that code into 'hot-deploy/drools-guvnor/webapp' folder and added/removed necessary jars from it (Guvnor code base). >> - created 'lib' folder on same level as 'webapp' and put all the jars from 'hot-deploy/drools-guvnor/webapp/WEB- INF/lib' into it >> - ofbiz-component.xml file for this component >> - and started the server. >> >> >> Any suggestions at any step to make it work as "<a href="http://localhost:8441......./Guvnor.html'">http://localhost:8441......./Guvnor.html' ? >> >> >> >> Thanks & Regards, >> Swapnil Sawant >> >> >> -----Original Message----- >> From: Scott Gray [mailto:[hidden email]] >> Sent: Monday, August 02, 2010 1:11 PM >> To: [hidden email] >> Subject: Re: Making a particular component in ofbiz non-secured >> >> Are you talking about mounting a third party webapp wrapped in an ofbiz component? If so then it is up to you to configure the webapp's internal settings correctly, OFBiz won't really have much control over it (other than mounting it into tomcat). >> >> Regards >> Scott >> >> HotWax Media >> http://www.hotwaxmedia.com >> >> On 2/08/2010, at 6:43 PM, Swapnil Sawant wrote: >> >>> Hi, >>> >>> >>> I wanted to know if there is any way by which I can make a particular component to be loaded as non-secured .i.e accessible via 'http://...' >>> >>> My requirement is that I wish to run a third party non-secured component(http) as it is in ofbiz. >>> >>> Can anyone pl help me on this. >>> >>> Any suggestions in this regard would be of great help to us. >>> >>> >>> Thanks & Regards, >>> Swapnil Sawant >>> >>> >>> >>> ________________________________ >>> This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. >>> >>> ______________________________________________________________________ >> >> >> This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. >> >> ______________________________________________________________________ > > > This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. > > ______________________________________________________________________ smime.p7s (3K) Download Attachment |
In reply to this post by Swapnil Sawant
Since Drools is not Html it will not use a controller or access ofbiz data.
in fact it will not run on the server unless you are local. Swapnil Sawant sent the following on 8/2/2010 2:06 AM: > Yes... > > I am trying to integrate drools 5.0 Guvnor GUI into ofbiz. > > Here is what I have done for same : > > - wrote the framework code for running rules and put that component inside 'framework'. > - unzipped war file of Guvnor 5.0 (GUI code for Guvnor) and put that code into 'hot-deploy/drools-guvnor/webapp' folder and added/removed necessary jars from it (Guvnor code base). > - created 'lib' folder on same level as 'webapp' and put all the jars from 'hot-deploy/drools-guvnor/webapp/WEB- INF/lib' into it > - ofbiz-component.xml file for this component > - and started the server. > > > Any suggestions at any step to make it work as "<a href="http://localhost:8441......./Guvnor.html'">http://localhost:8441......./Guvnor.html' ? > > > > Thanks& Regards, > Swapnil Sawant > > > -----Original Message----- > From: Scott Gray [mailto:[hidden email]] > Sent: Monday, August 02, 2010 1:11 PM > To: [hidden email] > Subject: Re: Making a particular component in ofbiz non-secured > > Are you talking about mounting a third party webapp wrapped in an ofbiz component? If so then it is up to you to configure the webapp's internal settings correctly, OFBiz won't really have much control over it (other than mounting it into tomcat). > > Regards > Scott > > HotWax Media > http://www.hotwaxmedia.com > > On 2/08/2010, at 6:43 PM, Swapnil Sawant wrote: > >> Hi, >> >> >> I wanted to know if there is any way by which I can make a particular component to be loaded as non-secured .i.e accessible via 'http://...' >> >> My requirement is that I wish to run a third party non-secured component(http) as it is in ofbiz. >> >> Can anyone pl help me on this. >> >> Any suggestions in this regard would be of great help to us. >> >> >> Thanks& Regards, >> Swapnil Sawant >> >> >> >> ________________________________ >> This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. >> >> ______________________________________________________________________ > > > This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. > > ______________________________________________________________________ > |
I was in error it uses a gwt-rpc which is similar to JNL I use.
BJ Freeman sent the following on 8/2/2010 4:43 AM: > Since Drools is not Html it will not use a controller or access ofbiz data. > in fact it will not run on the server unless you are local. > > Swapnil Sawant sent the following on 8/2/2010 2:06 AM: >> Yes... >> >> I am trying to integrate drools 5.0 Guvnor GUI into ofbiz. >> >> Here is what I have done for same : >> >> - wrote the framework code for running rules and put that component >> inside 'framework'. >> - unzipped war file of Guvnor 5.0 (GUI code for Guvnor) and put that >> code into 'hot-deploy/drools-guvnor/webapp' folder and added/removed >> necessary jars from it (Guvnor code base). >> - created 'lib' folder on same level as 'webapp' and put all the jars >> from 'hot-deploy/drools-guvnor/webapp/WEB- INF/lib' into it >> - ofbiz-component.xml file for this component >> - and started the server. >> >> >> Any suggestions at any step to make it work as >> "<a href="http://localhost:8441......./Guvnor.html'">http://localhost:8441......./Guvnor.html' ? >> >> >> >> Thanks& Regards, >> Swapnil Sawant >> >> >> -----Original Message----- >> From: Scott Gray [mailto:[hidden email]] >> Sent: Monday, August 02, 2010 1:11 PM >> To: [hidden email] >> Subject: Re: Making a particular component in ofbiz non-secured >> >> Are you talking about mounting a third party webapp wrapped in an >> ofbiz component? If so then it is up to you to configure the webapp's >> internal settings correctly, OFBiz won't really have much control over >> it (other than mounting it into tomcat). >> >> Regards >> Scott >> >> HotWax Media >> http://www.hotwaxmedia.com >> >> On 2/08/2010, at 6:43 PM, Swapnil Sawant wrote: >> >>> Hi, >>> >>> >>> I wanted to know if there is any way by which I can make a particular >>> component to be loaded as non-secured .i.e accessible via 'http://...' >>> >>> My requirement is that I wish to run a third party non-secured >>> component(http) as it is in ofbiz. >>> >>> Can anyone pl help me on this. >>> >>> Any suggestions in this regard would be of great help to us. >>> >>> >>> Thanks& Regards, >>> Swapnil Sawant >>> >>> >>> >>> ________________________________ >>> This Email may contain confidential or privileged information for the >>> intended recipient (s) If you are not the intended recipient, please >>> do not use or disseminate the information, notify the sender and >>> delete it from your system. >>> >>> ______________________________________________________________________ >> >> >> This Email may contain confidential or privileged information for the >> intended recipient (s) If you are not the intended recipient, please >> do not use or disseminate the information, notify the sender and >> delete it from your system. >> >> ______________________________________________________________________ >> > |
Free forum by Nabble | Edit this page |