Can't get past step one

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

Can't get past step one

mriley

Hi,

I followed these instructions at  
https://ofbiz.apache.org/business-users.html#UsrInstall and I get  
nothing to work. Web browser shows;

     Safari can't open the page "https://localhost:8443/accounting"  
can't connect to the server "localhost".

In Terminal all the ./gradlew commands seem to be doing something  
because there are no errors yet also no results. Is there a way I can  
test that anything is being built/performed?

I think I'm missing something obvious but I'm not a developer.

I'm running macOS 10.14.3 Java 1.8.0_201 OFBiz 16.11.05

Where do I start to trouble shoot this?

Thanks,

Mike

Reply | Threaded
Open this post in threaded view
|

答复: Can't get past step one

Schumann
Dear Mike,

It would be helpful if you could explain it step by step.
Or if you’ve experienced some failure notices that we could tell from?
It should be working if you have set up your JAVA environment correctly.

Be noted that depending on your browser strategy, you might receive the message that the link is not secure or not safe.
Just click to proceed with it.

HTH
Schumann

发件人: [hidden email]<mailto:[hidden email]>
发送时间: 2019年3月8日 10:10
收件人: [hidden email]<mailto:[hidden email]>
主题: Can't get past step one


Hi,

I followed these instructions at
https://ofbiz.apache.org/business-users.html#UsrInstall and I get
nothing to work. Web browser shows;

     Safari can't open the page "https://localhost:8443/accounting"
can't connect to the server "localhost".

In Terminal all the ./gradlew commands seem to be doing something
because there are no errors yet also no results. Is there a way I can
test that anything is being built/performed?

I think I'm missing something obvious but I'm not a developer.

I'm running macOS 10.14.3 Java 1.8.0_201 OFBiz 16.11.05

Where do I start to trouble shoot this?

Thanks,

Mike

Reply | Threaded
Open this post in threaded view
|

Re: Can't get past step one

mriley
Hi Schumann,

OK here are the steps I took.

First I downloaded the Java JDK and ran the install. I did nothing with Java after that.

Next I downloaded OFBiz and put the folder on my desktop

I opened terminal, navigated to the OFBiz folder on my desktop. I typed ./gradlew loadDefault ofbiz. At this point I got several rows of dots progressing down the Terminal window so I feel like something good happened there. The prompt returned with no error message.

I then went to my web browser and tried to open https://localhost:8443/accounting <https://localhost:8443/accounting>. I got the “can’t establist a secure connection” message. This is the extent of the instructions given at https://ofbiz.apache.org/business-users.html#UsrInstall <https://ofbiz.apache.org/business-users.html#UsrInstall> so I didn’t know where to go from here.

I Googling my problem but that yielded no meaningful results so I double checked my steps.

This is when I noticed that the Java Download page actually has two versions of Java, Java SE 11.0.2 Oracle JDK at the top and farther down is Java SE 8U201 JDK. The first time I looked at the page I didn’t notice this and downloaded the Oracle JDK.

I downloaded the Java SE 8U201 JDK and ran the install. I did nothing with Java after this besides confirm that I’m now running Version 8 Update 201 (build 1.8_201-b09) and NOT the Oracle 11.

I went back to Terminal and this time I followed the instructions in the readme file included with OFBiz. I typed ./gradlew cleanAll loadDefault then I typed ./gradlew ofbiz. I then tried the https://localhost:8443/accounting <https://localhost:8443/accounting> URL and got the same "Safari can’t open… can’t establish a secure connection…”. I tried the URL in Chrome and got something similar, can’t connect.

This is the extent of the instructions included in the Readme file so I don’t know where to go from here.

Thanks,

Mike

> On Mar 7, 2019, at 11:01 PM, Schumann Ye <[hidden email]> wrote:
>
> Dear Mike,
>
> It would be helpful if you could explain it step by step.
> Or if you’ve experienced some failure notices that we could tell from?
> It should be working if you have set up your JAVA environment correctly.
>
> Be noted that depending on your browser strategy, you might receive the message that the link is not secure or not safe.
> Just click to proceed with it.
>
> HTH
> Schumann
>
> 发件人: [hidden email]<mailto:[hidden email]>
> 发送时间: 2019年3月8日 10:10
> 收件人: [hidden email]<mailto:[hidden email]>
> 主题: Can't get past step one
>
>
> Hi,
>
> I followed these instructions at
> https://ofbiz.apache.org/business-users.html#UsrInstall and I get
> nothing to work. Web browser shows;
>
>     Safari can't open the page "https://localhost:8443/accounting"
> can't connect to the server "localhost".
>
> In Terminal all the ./gradlew commands seem to be doing something
> because there are no errors yet also no results. Is there a way I can
> test that anything is being built/performed?
>
> I think I'm missing something obvious but I'm not a developer.
>
> I'm running macOS 10.14.3 Java 1.8.0_201 OFBiz 16.11.05
>
> Where do I start to trouble shoot this?
>
> Thanks,
>
> Mike
>

Reply | Threaded
Open this post in threaded view
|

Re: Can't get past step one

mriley
In reply to this post by Schumann
I checked my Java version in Terminal and got this;

Mikes-iMac:~ Mike$ java -version
java version "11.0.2" 2019-01-15 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.2+9-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.2+9-LTS, mixed mode)
Mikes-iMac:~ Mike$

This looks to be different than what is indicated in the Java Console which shows Java 1.8.0_201. Would something like jenv (https://github.com/hiddenswitch/jenv <https://github.com/hiddenswitch/jenv>) help me change which Java is running or is there a simpler way?
Thanks,

Mike

> On Mar 7, 2019, at 11:01 PM, Schumann Ye <[hidden email]> wrote:
>
> Dear Mike,
>
> It would be helpful if you could explain it step by step.
> Or if you’ve experienced some failure notices that we could tell from?
> It should be working if you have set up your JAVA environment correctly.
>
> Be noted that depending on your browser strategy, you might receive the message that the link is not secure or not safe.
> Just click to proceed with it.
>
> HTH
> Schumann
>
> 发件人: [hidden email]<mailto:[hidden email]>
> 发送时间: 2019年3月8日 10:10
> 收件人: [hidden email]<mailto:[hidden email]>
> 主题: Can't get past step one
>
>
> Hi,
>
> I followed these instructions at
> https://ofbiz.apache.org/business-users.html#UsrInstall and I get
> nothing to work. Web browser shows;
>
>     Safari can't open the page "https://localhost:8443/accounting"
> can't connect to the server "localhost".
>
> In Terminal all the ./gradlew commands seem to be doing something
> because there are no errors yet also no results. Is there a way I can
> test that anything is being built/performed?
>
> I think I'm missing something obvious but I'm not a developer.
>
> I'm running macOS 10.14.3 Java 1.8.0_201 OFBiz 16.11.05
>
> Where do I start to trouble shoot this?
>
> Thanks,
>
> Mike
>

Reply | Threaded
Open this post in threaded view
|

Re: Can't get past step one

Benjamin Jugl
Hi there,

you are on the right track. The browser just thinks that the
ssl-connection is not secure (but it is, trust me), because the
ssl-certificates are signed by the issuer themselves. (Because we are on
localhost and nobody gets them signed for local tests, because that
costs money and is necessary, because you can trust your own computer /
development-installation.)

You can however ignore this. Usually you have two clickable buttons (At
least in chrome and Firefox) one states something along the lines of
"back", the other one something like "extended" or "further options" (I
have German localization, so I can only guess what exactly is stated).
It should be white. Click it. Click the option that states something
like "proceed to insecure..."(in chrome) or "Add exception" (in
Firefox). In chrome you should get to the ofbiz page now. in Firefox you
have confirm once more.

I hope this solves your problem,

kind regards,

Ben




On 08.03.19 14:50, Mike Riley wrote:

> I checked my Java version in Terminal and got this;
>
> Mikes-iMac:~ Mike$ java -version
> java version "11.0.2" 2019-01-15 LTS
> Java(TM) SE Runtime Environment 18.9 (build 11.0.2+9-LTS)
> Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.2+9-LTS, mixed mode)
> Mikes-iMac:~ Mike$
>
> This looks to be different than what is indicated in the Java Console which shows Java 1.8.0_201. Would something like jenv (https://github.com/hiddenswitch/jenv <https://github.com/hiddenswitch/jenv>) help me change which Java is running or is there a simpler way?
> Thanks,
>
> Mike
>
>> On Mar 7, 2019, at 11:01 PM, Schumann Ye <[hidden email]> wrote:
>>
>> Dear Mike,
>>
>> It would be helpful if you could explain it step by step.
>> Or if you’ve experienced some failure notices that we could tell from?
>> It should be working if you have set up your JAVA environment correctly.
>>
>> Be noted that depending on your browser strategy, you might receive the message that the link is not secure or not safe.
>> Just click to proceed with it.
>>
>> HTH
>> Schumann
>>
>> 发件人: [hidden email]<mailto:[hidden email]>
>> 发送时间: 2019年3月8日 10:10
>> 收件人: [hidden email]<mailto:[hidden email]>
>> 主题: Can't get past step one
>>
>>
>> Hi,
>>
>> I followed these instructions at
>> https://ofbiz.apache.org/business-users.html#UsrInstall and I get
>> nothing to work. Web browser shows;
>>
>>      Safari can't open the page "https://localhost:8443/accounting"
>> can't connect to the server "localhost".
>>
>> In Terminal all the ./gradlew commands seem to be doing something
>> because there are no errors yet also no results. Is there a way I can
>> test that anything is being built/performed?
>>
>> I think I'm missing something obvious but I'm not a developer.
>>
>> I'm running macOS 10.14.3 Java 1.8.0_201 OFBiz 16.11.05
>>
>> Where do I start to trouble shoot this?
>>
>> Thanks,
>>
>> Mike
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: Can't get past step one

Benjamin Jugl
not necessary, of course. :)

On 08.03.19 15:23, Benjamin Jugl wrote:
> [...](Because we are on localhost and nobody gets them signed for
> local tests, because that costs money and is necessary, because you
> can trust your own computer / development-installation.)

Reply | Threaded
Open this post in threaded view
|

Re: Can't get past step one

Blurbiness multimedia
Dear Mike,

OFBiz requires JDK 8, it will not work properly with other JDK versions.
If you have several JDK versions installed on your computer, ensure that
your JAVA_HOME environment variable is pointing to the JDK 8 before
starting OFBiz.
Yes, the link that you refer to, about jenv utility might help you.

Regards,

Francisco
*www.blurbiness.com* <http://www.blurbiness.com>



El vie., 8 mar. 2019 a las 15:43, Benjamin Jugl (<[hidden email]>)
escribió:

> not necessary, of course. :)
>
> On 08.03.19 15:23, Benjamin Jugl wrote:
> > [...](Because we are on localhost and nobody gets them signed for
> > local tests, because that costs money and is necessary, because you
> > can trust your own computer / development-installation.)
>
>