RajaramS1 / test-analytics

Automatically exported from code.google.com/p/test-analytics
0 stars 0 forks source link

Can't access the webapp #9

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I finally got the build working and then attempted to deploy the artifact 
test-analytics-1.0-SNAPSHOT.war
Tomcat deploys the war fine but I cannot access the webapp. I used the tomcat 
manager to deploy and then click on the link in the manager console which gives 
me this:

Unable to connect
      Firefox can't establish a connection to the server at localhost:8443.

Any suggestions?

Original issue reported on code.google.com by dirkh...@gmail.com on 3 Feb 2012 at 10:22

GoogleCodeExporter commented 8 years ago
hi, I have the same problem. I believe that this error is due to the fact that 
test analytics webapp redirects to port 8433 by default. The webapp container 
needs to be configured properly to handle that. However, after enabling this 
port in Tomcat's 'conf/server.xml' file, I still have problems, this time 
'Access to requested resource is denied'.

It would be good to have SOME documentation how to easily install this tool... 
:/

Original comment by coquelic...@gmail.com on 14 Sep 2012 at 11:53

GoogleCodeExporter commented 8 years ago
have anyone got it to work? In that case which source and instructions did you 
use?

Original comment by Lucky.L...@gmail.com on 18 Jun 2013 at 11:49

GoogleCodeExporter commented 8 years ago
It has been a year.  Same problem.  Any solution?

Original comment by k...@securityxing.com on 21 Oct 2014 at 2:19

GoogleCodeExporter commented 8 years ago
Sorry, new to Tomcat.  Didn't realize tomcat needs key information in addition 
to what was already defined for Apache.

Original comment by k...@securityxing.com on 21 Oct 2014 at 4:11

GoogleCodeExporter commented 8 years ago
Hi,

I am able to deploy and fix the issue by creating a self signed certificate and 
keystore and configured it in tomcat server.xml file.

But now i am getting "HTTP Status 403 - Access to the requested resource has 
been denied". 

Please assist, whats wrong i am doing.

Original comment by rahuljai...@gmail.com on 6 Jul 2015 at 6:55

GoogleCodeExporter commented 8 years ago
I got this mostly working a few years ago (some features like the heatmap 
weren't working). These are the rough steps I followed, hope it helps!

        ○ Checkout the project from Google Code
            § git clone https://code.google.com/p/test-analytics/ 
        ○ Download a Java JDK
            § http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
            § Set your JAVA_HOME environment variable, e.g. C:\Program Files\Java\jdk1.7.0_21
            § Add %JAVA_HOME%\bin to the BEGINNING of your PATH variable
        ○ Download Maven and follow instructions to set up %M2% and %M2__HOME%
            § http://maven.apache.org/download.cgi
            § Make sure to add %M2% to PATH
        ○ Navigate to …\test-analytics\testanalytics_frontend and open a command window
        ○ Type "mvn package" to generate the war file/SNAPSHOT
            § It will probably fail the first time; when it does, download the following jar file and place it in this directory:
                □ https://gwt-dnd.googlecode.com/files/gwt-dnd-3.1.1.jar
                □ %HOME%\.m2\repository\com\google\code\gwt-dnd\gwt-dnd\3.1.1
        ○ Download Google App Engine SDK (I chose the one for Java)
            § https://developers.google.com/appengine/downloads#Google_App_Engine_SDK_for_Java
        ○ IF YOU WANT TO DEPLOY TO GOOGLE APP ENGINE, SKIP TO "Set up a test Google App Engine Project", OTHERWISE FOR LOCAL DO THE NEXT 3 STEPS
            § You may need to edit the appengine-web.xml files (there are two) in the generated code (test-analytics\testanalytics_frontend\target\test-analytics-1.0-SNAPSHOT) to include the following
                □ <threadsafe>true</threadsafe>
            § Navigate to appengine-java-sdk-1.8.0\bin, open a command prompt and run the command
                □ dev_appserver.cmd --address=0.0.0.0 --port=8080 war
                □ Where "war" is the path to the SNAPSHOT directory, e.g.
                    ® D:\appengine-java-sdk-1.8.0\bin>dev_appserver.cmd --address=0.0.0.0 --port=8080 D:\projects\test-analytics\testanalytics_frontend\target\test-analytics-1.0-SNAPSHOT
            § Your app should now be available on http://yourcomputername:8080/
        ○ Set up a test Google App Engine project
            § https://appengine.google.com/
        ○ Edit the appengine-web.xml files (there are two) in the generated code (test-analytics\testanalytics_frontend\target\test-analytics-1.0-SNAPSHOT) to include the following
            § <threadsafe>true</threadsafe>
            § <application>YOUR APPLICATION NAME</application>
            § <property name="com.google.testing.testify.risk.frontend.url" value="https://YOUR APPLICATION NAME.appspot.com" />
        ○ Navigate to appengine-java-sdk-1.8.0\bin, open a command prompt and run the command
            § appcfg.cmd update war
            § Where "war" is the path to the SNAPSHOT directory, e.g.
            § appcfg.cmd update D:\projects\test-analytics\testanalytics_frontend\target\test-analytics-1.0-SNAPSHOT
            § Log in with your Google email and password when prompted
                □ I had to set up an application-specific password at https://www.google.com/settings/security because I have 2-step verification (authenticator) enabled
        ○ ??
        ○ Profit! Your app should be up and hosted by Google

Original comment by djjensaa...@gmail.com on 16 Jul 2015 at 7:48