Discussion:
change ofbiz https port (solved?)
i***@agentur-m3.de
2018-05-02 11:46:45 UTC
Permalink
Now I found another file to configure port changes:

framework/webapp/config/url.properties

I tried to change port.https:

port.https.enabled=Y
# empty by default see OFBIZ-9206
port.https=8445
force.https.host=

and ALSO in

/framework/catalina/ofbiz-component.xml

as already said.

To configure both of the entries then seems to
produce correct links (on first sight)
for https-requests.


As said before, I could not test changes for http or 80/8080,
cause I could not find a valid demo or starting point for http calls
in OFBiz.


Thanks and best regards!




-------- Weitergeleitete Nachricht --------
Betreff: Re: change ofbiz https port
Datum: Wed, 2 May 2018 12:15:43 +0200
Von: ***@agentur-m3.de <***@agentur-m3.de>
An: ***@ofbiz.apache.org

Thank you Deepak,

the global portoffset works for https and 8443.

Is there any callable page for standard http port 8080 (will it be
changed to 18080 in case portoffset =10000)
to test this?

It tried to call e.g. http://myerser:18080/webtools/control/main

which brings up an error message:

java.lang.NumberFormatException: For input string: ""
Did you try with portoffset parameter.
*You may also use the global portoffset Java properties. Use "gradlew
"ofbiz ?" or "java -jar build/libs/ofbiz.jar -h" to know more about this
option.*
Thanks & Regards
--
Deepak Dixit
www.hotwax.co
Hello,
I tryto change the https port 8443 for ofbiz.
https://www.thesisscientist.com/Docs/Others/f76e6628-ed35-
46a2-8f25-c7f7f09ce470
the property for this should be foudn in
framework/base/config/ofbiz-containers.xml
According to
https://cwiki.apache.org/confluence/display/OFBIZ/Apache+OFBiz+Technical+
Production+Setup+Guide
it should be found in ofbiz-containers.xml
In the current download version it seems to be in
/framework/catalina/ofbiz-component.xml
<property name="https-connector" value="connector">
<!-- see http://tomcat.apache.org/tomcat-8.0-doc/config
/http.html for reference -->
<!--<property name="address" value=""/>-->
<property name="port" value="8441"/>
https://myserver:8441/webtools/control/main
really brings up the page, so the system seems to recognize the
changed port.
https://0.0.32.252:8444/webtools/control/checklogin/main
is shown and the login does not lead to the login screen.
Is there any other configuration necessary?
Thank you!
Jacques Le Roux
2018-05-02 16:35:29 UTC
Permalink
Do you have this in your url.properties file?

# If you want to use HTTP then set no.http=N. Else all requests will use HTTPS (also enforced by a HSTS header) except if put in the
http.request-map.list
no.http=Y
http.request-map.list=SOAPService,xmlrpc,viewShipmentLabel

Jacques
Post by i***@agentur-m3.de
framework/webapp/config/url.properties
port.https.enabled=Y
# empty by default see OFBIZ-9206
port.https=8445
force.https.host=
and ALSO in
/framework/catalina/ofbiz-component.xml
as already said.
To configure both of the entries then seems to
produce correct links (on first sight)
for https-requests.
As said before, I could not test changes for http or 80/8080,
cause I could not find a valid demo or starting point for http calls
in OFBiz.
Thanks and best regards!
-------- Weitergeleitete Nachricht --------
Betreff: Re: change ofbiz https port
Datum: Wed, 2 May 2018 12:15:43 +0200
Thank you Deepak,
the global portoffset works for https and 8443.
Is there any callable page for standard http port 8080 (will it be
changed to 18080 in case portoffset =10000)
to test this?
It tried to call e.g. http://myerser:18080/webtools/control/main
java.lang.NumberFormatException: For input string: ""
Did you try with portoffset parameter.
*You may also use the global portoffset Java properties. Use "gradlew
"ofbiz ?" or "java -jar build/libs/ofbiz.jar -h" to know more about this
option.*
Thanks & Regards
--
Deepak Dixit
www.hotwax.co
Hello,
I tryto change the https port 8443 for ofbiz.
https://www.thesisscientist.com/Docs/Others/f76e6628-ed35-
46a2-8f25-c7f7f09ce470
the property for this should be foudn in
framework/base/config/ofbiz-containers.xml
According to
https://cwiki.apache.org/confluence/display/OFBIZ/Apache+OFBiz+Technical+
Production+Setup+Guide
it should be found in ofbiz-containers.xml
In the current download version it seems to be in
/framework/catalina/ofbiz-component.xml
<property name="https-connector" value="connector">
<!-- see http://tomcat.apache.org/tomcat-8.0-doc/config
/http.html for reference -->
<!--<property name="address" value=""/>-->
<property name="port" value="8441"/>
https://myserver:8441/webtools/control/main
really brings up the page, so the system seems to recognize the
changed port.
https://0.0.32.252:8444/webtools/control/checklogin/main
is shown and the login does not lead to the login screen.
Is there any other configuration necessary?
Thank you!
Loading...