Tomcat Upgrade to 9.0.31, with Apache web server 2.4.39 configuration

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Tomcat Upgrade to 9.0.31, with Apache web server 2.4.39 configuration

vivek.mi
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
Vivek Mishra
Reply | Threaded
Open this post in threaded view
|

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

Nameet Jain-2
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 <[hidden email]> 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
>
Reply | Threaded
Open this post in threaded view
|

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

Deepak Dixit-4
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: [hidden email]
*www.hotwax.co <http://www.hotwax.co/>*


On Sat, May 23, 2020 at 10:21 AM Nameet Jain <[hidden email]>
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 <[hidden email]> 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
> >
>
Reply | Threaded
Open this post in threaded view
|

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

vivek.mi
In reply to this post by Nameet Jain-2
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
Vivek Mishra
grv
Reply | Threaded
Open this post in threaded view
|

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

grv
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 <[hidden email]> 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
>