You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by "vivek.mi" <vm...@gmail.com> on 2020/05/11 11:51:36 UTC

Tomcat Upgrade to 9.0.31, with Apache web server 2.4.39 configuration

Hi All,

I have upgraded to Tomcat 9.0.31 in OFBiz 16.11.01.

I have configured my Apche web server (9.4.39) to access website.

With TOMCAT 9.0.21 it was working fine. But with 9.0.31 website is not
accessible. I have made changes in 
/framework/catalina/ofbiz-component.xml as below:

<property name="ajp-connector" value="connector">
            
            <property name="port" value="8009"/>
            <property name="protocol" value="AJP/1.3"/>
            <property name="scheme" value="http"/>
            <property name="secure" value="false"/>
            <property name="URIEncoding" value="UTF-8"/>
            <property name="xpoweredBy" value="false"/>
            <property name="secretRequired" value="false"/>
        </property>

Any help would be much appreciated.

Thanks
Vivek





-----
Vivek Mishra
--
Sent from: http://ofbiz.135035.n4.nabble.com/OFBiz-User-f135036.html

Re: Tomcat Upgrade to 9.0.31, with Apache web server 2.4.39 configuration

Posted by Deepak Dixit <de...@hotwax.co>.
Hi Vivek,

You can refer following ticket for more details

https://issues.apache.org/jira/browse/OFBIZ-11407


Kind Regards,
Deepak Dixit

mobile: +91 9826754548
email: deepak.dixit@hotwax.co
*www.hotwax.co <http://www.hotwax.co/>*


On Sat, May 23, 2020 at 10:21 AM Nameet Jain <na...@hotwaxsystems.com>
wrote:

> Hi Vivek,
>
> I was able to run OFBiz 16.11 with Tomcat 9.0.31. The ajp-connector
> properties you shared are also looking good. Maybe you need to recheck the
> Apache webserver connector settings.
>
> Can you share more details about what problem you are facing?
>
> Thanks
> --
> Nameet Jain
>
>
> On Mon, May 11, 2020 at 5:21 PM vivek.mi <vm...@gmail.com> wrote:
>
> > Hi All,
> >
> > I have upgraded to Tomcat 9.0.31 in OFBiz 16.11.01.
> >
> > I have configured my Apche web server (9.4.39) to access website.
> >
> > With TOMCAT 9.0.21 it was working fine. But with 9.0.31 website is not
> > accessible. I have made changes in
> > /framework/catalina/ofbiz-component.xml as below:
> >
> > <property name="ajp-connector" value="connector">
> >
> >             <property name="port" value="8009"/>
> >             <property name="protocol" value="AJP/1.3"/>
> >             <property name="scheme" value="http"/>
> >             <property name="secure" value="false"/>
> >             <property name="URIEncoding" value="UTF-8"/>
> >             <property name="xpoweredBy" value="false"/>
> >             <property name="secretRequired" value="false"/>
> >         </property>
> >
> > Any help would be much appreciated.
> >
> > Thanks
> > Vivek
> >
> >
> >
> >
> >
> > -----
> > Vivek Mishra
> > --
> > Sent from: http://ofbiz.135035.n4.nabble.com/OFBiz-User-f135036.html
> >
>

Re: Tomcat Upgrade to 9.0.31, with Apache web server 2.4.39 configuration

Posted by Girish Vasmatkar <gi...@hotwaxsystems.com>.
Hi Vivek -

If secretRequired is set true, the Apache server has to configure a secret
property with a matching value that you'd specify in Tomcat configuration.
However, support for secret property was only added after 2.4.42 and your
version of Apache is 2.4.39 so I believe you're out of luck.

Tomcat is going to expect secret value unless you specifically set
secretRequired to false.

Best,
Girish




On Tue, May 26, 2020 at 12:25 PM vivek.mi <vm...@gmail.com> wrote:

> Hi Nameet, OFBiz is running with this.
>
> <property name="address" value="0.0.0.0"/>
>             <property name="port" value="8008"/>
>             <property name="protocol" value="AJP/1.3"/>
>             <property name="scheme" value="http"/>
>             <property name="secure" value="false"/>
>             <property name="URIEncoding" value="UTF-8"/>
>             <property name="xpoweredBy" value="false"/>
>             <property name="secretRequired" value="false"/>
>             <property name="allowedRequestAttributesPattern" value=".*"/>
>
> And with above configuration, Apache server is able to communicate with
> TOMCAT.
>
> But if i want to configure it with secretRequired as true then how to get
> it
> done.
>
>
>
>
>
> -----
> Vivek Mishra
> --
> Sent from: http://ofbiz.135035.n4.nabble.com/OFBiz-User-f135036.html
>

Re: Tomcat Upgrade to 9.0.31, with Apache web server 2.4.39 configuration

Posted by "vivek.mi" <vm...@gmail.com>.
Hi Nameet, OFBiz is running with this.

<property name="address" value="0.0.0.0"/>
            <property name="port" value="8008"/>
            <property name="protocol" value="AJP/1.3"/>
            <property name="scheme" value="http"/>
            <property name="secure" value="false"/>
            <property name="URIEncoding" value="UTF-8"/>
            <property name="xpoweredBy" value="false"/>
            <property name="secretRequired" value="false"/>
            <property name="allowedRequestAttributesPattern" value=".*"/>

And with above configuration, Apache server is able to communicate with
TOMCAT.

But if i want to configure it with secretRequired as true then how to get it
done.





-----
Vivek Mishra
--
Sent from: http://ofbiz.135035.n4.nabble.com/OFBiz-User-f135036.html

Re: Tomcat Upgrade to 9.0.31, with Apache web server 2.4.39 configuration

Posted by Nameet Jain <na...@hotwaxsystems.com>.
Hi Vivek,

I was able to run OFBiz 16.11 with Tomcat 9.0.31. The ajp-connector
properties you shared are also looking good. Maybe you need to recheck the
Apache webserver connector settings.

Can you share more details about what problem you are facing?

Thanks
--
Nameet Jain


On Mon, May 11, 2020 at 5:21 PM vivek.mi <vm...@gmail.com> wrote:

> Hi All,
>
> I have upgraded to Tomcat 9.0.31 in OFBiz 16.11.01.
>
> I have configured my Apche web server (9.4.39) to access website.
>
> With TOMCAT 9.0.21 it was working fine. But with 9.0.31 website is not
> accessible. I have made changes in
> /framework/catalina/ofbiz-component.xml as below:
>
> <property name="ajp-connector" value="connector">
>
>             <property name="port" value="8009"/>
>             <property name="protocol" value="AJP/1.3"/>
>             <property name="scheme" value="http"/>
>             <property name="secure" value="false"/>
>             <property name="URIEncoding" value="UTF-8"/>
>             <property name="xpoweredBy" value="false"/>
>             <property name="secretRequired" value="false"/>
>         </property>
>
> Any help would be much appreciated.
>
> Thanks
> Vivek
>
>
>
>
>
> -----
> Vivek Mishra
> --
> Sent from: http://ofbiz.135035.n4.nabble.com/OFBiz-User-f135036.html
>