Noko19 / bodgeit

Automatically exported from code.google.com/p/bodgeit
0 stars 0 forks source link

Installation of Bodgeit Unclear #8

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
In the installation notes it states:

All you need to do is download and open the zip file, and then extract the war 
file into the webapps directory of your favorite servlet engine. 

Then point your browser at (for example) http://localhost:8080/bodgeit 

Q.  Exactly what do you mean by 'point your browser'?  Are you referring to a 
proxy setting here?  

Original issue reported on code.google.com by a.momon...@googlemail.com on 30 Jun 2014 at 3:05

GoogleCodeExporter commented 8 years ago
Just type that URL into your browser's URL bar.
If you want to use an intercepting proxy (like ZAP) then you'll need to set 
that up as well.

Original comment by psii...@gmail.com on 30 Jun 2014 at 3:08

GoogleCodeExporter commented 8 years ago
Hi - I did type that URL into my browser's URL bar and all it returns is a
blank screen.
Yes, I have ZAP installed so please kindly confirm exactly what needs
setting up in ZAP in order for it to pick up the Bodgeit site in the sites
tab.

Original comment by a.momon...@googlemail.com on 1 Jul 2014 at 8:29

GoogleCodeExporter commented 8 years ago
Have a look at the ZAP help file (menu: Help / User Guide) - which is also 
online: https://code.google.com/p/zaproxy/wiki/HelpStartStart

Original comment by psii...@gmail.com on 1 Jul 2014 at 8:35

GoogleCodeExporter commented 8 years ago
The Help files are anything but helpful i'm afraid. In Firefox, I have set
the proxy to Localhost 8080.  in ZAP, the Local Proxy is also set
to Localhost 8080.
Why does it still fail to lad the Bodgeit site??  What am I doing wrong? Is
there any other setting/application I need to either install/configure?
 Note. I have also installed Appache Tomcat and also placed the Bodgeit WAR
file onto the Webapps directory of Apache.

Original comment by a.momon...@googlemail.com on 1 Jul 2014 at 9:06

GoogleCodeExporter commented 8 years ago
By default tomcat listens on 8080 too.
Try changing ZAP to listen on 8090.
Remember to change you browser proxy settings as well.
ZAP should warn you if it cant listen on the configured port, but tomcat wont.

Original comment by psii...@gmail.com on 1 Jul 2014 at 9:08

GoogleCodeExporter commented 8 years ago
I've just changed the Firefox proxy to listen on 8090 (and ZAP to also
listen on 8090). I then entered the URL ( http://localhost:8090/bodgeit
<http://localhost:8080/bodgeit>) into Firefox URL bar anmd all i get is a
blank white screen.  What am I doing wrong??

Original comment by a.momon...@googlemail.com on 1 Jul 2014 at 9:25

GoogleCodeExporter commented 8 years ago
If tomcat is listening on 8080 you should access bodgeit via 
http://localhost:8080/bodgeit (not sure if the 8090 was a typo)
Try accessing bodgeit on http://localhost:8080/bodgeit without using ZAP as a 
proxy (eg using a different browser) - if that doesnt work then its a tomcat 
issue.
Have a look in the tomcat logs and see if there are any errors

Original comment by psii...@gmail.com on 1 Jul 2014 at 9:29

GoogleCodeExporter commented 8 years ago
I've tried a different browser without using zap as a proxy and still
doesn't work.
Now, when you mention Tomcat...I installed Tomcat but it does not appear in
Start------>Programs menu.  In my local drive I have a folder called
'apache-tomcat-8.0.9'.  IN there, is an executable called tomcat8.exe -
which when double clicking does not do anything.

Original comment by a.momon...@googlemail.com on 1 Jul 2014 at 9:42

GoogleCodeExporter commented 8 years ago
So it sounds like its a tomcat issue.
Have a look at the files in the tomcat 'logs' directory - are there any errors 
logged in any of them?

Original comment by psii...@gmail.com on 1 Jul 2014 at 9:46

GoogleCodeExporter commented 8 years ago
The Logs directory is empty.

Original comment by a.momon...@googlemail.com on 1 Jul 2014 at 9:51

GoogleCodeExporter commented 8 years ago
That means tomcat isnt being started :/
Is there a tomcat8w.exe file in the bin directory?
I've got tomcat 7 installed right now, and I use tomcat7w.exe which starts and 
stops the tomcat service.
That might give you more info.

Original comment by psii...@gmail.com on 1 Jul 2014 at 9:57

GoogleCodeExporter commented 8 years ago
Yes there is an exe with that name, but when I double clcik on it i get an
'Application System Error' dialogue box. the message syas 'The specified
service does not exist as an installed service.  unable to open the service
tomcat8'

Original comment by a.momon...@googlemail.com on 1 Jul 2014 at 9:59

GoogleCodeExporter commented 8 years ago
No idea what that is then :(
Might be worth reinstalling?
Or asking on a tomcat list?

Original comment by psii...@gmail.com on 1 Jul 2014 at 10:04

GoogleCodeExporter commented 8 years ago
Appreciate the time - its pretty annoying when we can't get the site to
load up - irf yiou do come across anyone else with similar issues and there
is a workaround please do let me know.

Original comment by a.momon...@googlemail.com on 1 Jul 2014 at 10:38

GoogleCodeExporter commented 8 years ago
Will do.
Might be worth trying Tomcat7 - thats working fine for me ;)
One thought - are you using tomcat 32 or 64 bit?
Might also be worth trying the other one!

Original comment by psii...@gmail.com on 1 Jul 2014 at 10:41

GoogleCodeExporter commented 8 years ago
I tried tomcat 8 64 bit and also tomcat 7 64 bit - OK will try 32 bit on both.
I will update you once I have tried 32 bit version.

Original comment by a.momon...@googlemail.com on 1 Jul 2014 at 10:46

GoogleCodeExporter commented 8 years ago
i got it to work!
i installed both tomcat 7 and 8 32 bit and after stoipping/starting
services on both and changing the port to 8090 (yes, 8090); it launched the
site in firefox and it loads up within zap too!!

:)

On Tue, Jul 1, 2014 at 9:29 AM, A Momoniat <a.momoniat@googlemail.com>
wrote:

Original comment by a.momon...@googlemail.com on 1 Jul 2014 at 11:13

GoogleCodeExporter commented 8 years ago
\o/

Original comment by psii...@gmail.com on 1 Jul 2014 at 11:18