Comments (5)
Cannot think of a good reason. But I do see an extra '/' in your tomcat.url after "http:". Can you try: "tomcat.url=http://localhost:8080"?
If that does not work, you may try to deploy the webapp by issuing appropriate command, instead of relying the ant task, and see if that succeeds.
from ella.
Thanks. That was a typo on my part. However I still can't get it to work. Android and analyzing code coverage are new to me, so I thank you for your patience. What do you mean by issuing the appropriate command to deploy the web app?
I can copy the malformed url and it actually does display at http://localhost:8080/manager/text//deploy?path=%2Fella&war=file%3A%2FUsers%2FAlex%2FDesktop%2FDevelopment%2Fsrc%2Fella%2Fbin%2Fella.war&update=true
with the following message on the site...
OK - Deployed application at context path /ella
Does that mean it is working?
I tried loading the instrumented jar onto my phone but the app keeps crashing. The logcat error that seems to be causing the problem is...
java.lang.Error: org.apache.http.conn.HttpHostConnectException: Connection to http://localhost:8080 refused
The app has the internet permission in the manifest. Have you encountered problems like this before and/or do you have any advice on how to fix them?
Thanks!
Alex
from ella.
The app is running on the phone, but the webserver is running on the mac. As a result, the app is failing to connect to the localhost url.
If you run the instrumented app in an emulator on the mac, it should work.
The ella url should be such that it should be accessible from the emulator or phone that is running the app.
On Tue, Mar 3, 2015 at 3:25 PM, Alexandra Gendreau <[email protected]
wrote:
Thanks. That was a typo on my part. However I still can't get it to work.
Android and analyzing code coverage are new to me, so I thank you for your
patience. What do you mean by issuing the appropriate command to deploy the
web app?I can copy the malformed url and it actually does display at
http://localhost:8080/manager/text//deploy?path=%2Fella&war=file%3A%2FUsers%2FAlex%2FDesktop%2FDevelopment%2Fsrc%2Fella%2Fbin%2Fella.war&update=truewith the following message on the site...
OK - Deployed application at context path /ellaDoes that mean it is working?
I tried loading the instrumented jar onto my phone but the app keeps
crashing. The logcat error that seems to be causing the problem is...java.lang.Error: org.apache.http.conn.HttpHostConnectException: Connection
to http://localhost:8080 refusedThe app has the internet permission in the manifest. Have you encountered
problems like this before and/or do you have any advice on how to fix them?Thanks!
Alex—
Reply to this email directly or view it on GitHub
#1 (comment).
from ella.
Thanks for your help and quick responses. I have now loaded an instrumented.apk onto my emulator and run ella.r.sh b and ella.r.sh e, however no coverage.dat file appears in the ellaoutdirectory. I do see the covids file.
The ant -f frontend/build.xml deploy is still failing, but when I go to the website that says it's malformed, I get the following message:
OK - Deployed application at context path /ella
Does this mean that everything is okay? Or do I still need to deploy the web app manually? If I need to deploy this manually, I do not how to do this. Do you have link describing the procedure?
Thanks!
Alex
from ella.
Sorry for the delay. I pushed some fixes. Could you try again after pulling those changes. Now the webapp should deploy without problem as described in the README.
I realized that you should not use "localhost:8080" for the tomcat.url
variable (in ella.settings). Instead use the IP address of the computer that is running tomcat. For example: tomcat.url=http://123.45.67.89:8080
After pulling, you should ant clean
, followed by ant
.
from ella.
Related Issues (14)
- Not considering the situation where message breaks are truncated due to the buffer length
- Caused by: org.jf.util.ExceptionWithContext: debug info items must have non-decreasing code addresses HOT 1
- ant error? HOT 2
- Error when build Ella, "java.lang.RuntimeException: The executable 'android' is not in the path" HOT 2
- Cannot run ella.sh i <apk path>
- issue: Error to execute ella.i.sh <path-to-apk> HOT 3
- Can Ella work without the front end, or web-server? HOT 1
- Cannot run program "dx". HOT 3
- FileNotFoundException ella.runtime.dex HOT 2
- Issue: Error occurred while instrumenting HOT 5
- Error on Instrument the app
- How to record timestamp and values of arguments of executed methods?
- multidex support HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ella.