Relevant info:-
I am working on ubutnu , so no firewall issues i hope.
I am sitting behind a proxy server.
I am able to connect to smtp server through terminal using telnet.
When I run the same code using gradle from terminal(you need a build tool to download the java mail api from repository), it works fine.
I have included the mail api in external jars in my eclipse project and even tried setting/unsetting the proxy in eclipse, even then it's not working.
Related
After succesfully deployment via Github repo of my Spring boot Application in Azure's App Service i have still "Hey java developers!" page, i tried do this via Github and Github Actions, Github and Kudu, FTP, but result is allways the same. I'm out of ideas.
UPDATE
Today, I try again. I disconnect connection. And try to reconnect, I saw build area like below.
After Action completed, it works.
So I suggest you disconnect and reconnect to solve the problem.
PRIVIOUS
According to your description, I personally tested one side and your problem reappeared.
My troubleshooting steps:
First create a default page for webapp. (Under windows, it fails, indicating that this is not).
Deploy the webapp under linux and find that everything is normal.
From the Action on github, it was found that there should be a problem with the build in the deployment under windows.
In conclusion:
It is recommended to use linux to deploy webapp. As for the deployment failure under windows, it is recommended to raise a support ticket for help.
My test result.
Under Linux, after build action, we can see app.jar file under wwwroot folder.
I also move it to windows webapp, it doesn't work.
I'm running into issues getting my frontend (being built in Android Studio using Java, running through an android device connected via USB) to connect to a locally hosted app-engine backend (running as a local devserver).
Errors are as follows:
Error when attempting to call an API method with:
'apiBld.setRootUrl("http://192.168.0.x:8080/_ah/api/");'
http://pastebin.com/eqHrSLfJ
Error when attempting to call an API method with:
'apiBld.setRootUrl("http://0.0.0.0:8080/_ah/api/");'
http://pastebin.com/s7PMqiyK
-
When its run with '192.168.0.x:8080' the emulated version of the code runs fine, the app connects locally and can call API methods. I've tried suggestions from various other related posts, but nothing has solved my issue. In pom.xml Ive also been sure to enable 0.0.0.0 for the port and we're not yet using authentication.
Any ideas?
It's strange that it connects in the emulator, as the avd network address to tunnel to your computer's loopback is 10.0.2.2.
Make sure the server is running by putting the URL in the browser. You may need to change the port to something else if it is already bound (ie: xbmc web server uses 8080 by default) try 8081. Don't forget the 'httpPort' directive in your build.gradle if using android studio.
I'm trying to setup a local red5 streaming server to stream my desktop screen to multiple devices with no luck. the setup will eventually look like this.
mylaptop screen (live stream)=> red5 server <= client devices pulling the live stream
note: red5 server is ubuntu based, client devices will eventually be android tablets but any device will do just fine for now
This is what I have so far:
1) Installed red5-server and all of its dependencies using apt-get install red5-server
2) Downloaded red5-screenshare applet from http://code.google.com/p/red5-screenshare/
and followed all the steps there
3) After I start my screensharing, visiting the client link http://[my_red5_server:5080]/screenshare/screenviewer.html produces error #2032
chrome developer tools says
GET http://my_red5_server:5080/screenshare/textLayout_1.1.0.604.swz 404 Not Found
4) so I downloaded the textLayout file from adobe, placed it into the screenshare folder but I still get the same 404 not found error
Is my setup wrong? I'm not sure how to debug this since there's very few documentation on the matter and I reeeeally dont want to write my own java app and reinvent the wheel
Also if any of you happy hackers have found a different solution to locally screenshare I'm all ears
Thank you for taking the time to help.
The error your getting is because the flex "swz" files cannot be downloaded from Adobe. This was happening to us at work this week and we solved it by finding the offending files via google and placing them on our server. Download the swz files and place them in the same directory as your swf file.
What steps should I take to correctly deploy Playframework 2.1.1 website on production server?
More specific questions:
1) Should I install Play on my production server?
2) Locally it is clear to use play run but in production I need to run it 24/7 and restart it again if server has been restarted. How this works? Some outostart or something?
3) How to deploy it on Ubuntu 12.04(Apache2) server on mydomain.com(port 80)?
4) What configuration settings should I change/add for production to disable debug etc.?
I would really appreciate information about default deployment workflow for Playframework 2.1.1
First create a deployable version of your project using play clean compile dist.
The documentation recommends play clean compile stage but the dist command generates a nice ZIP file and does basically the same things.
You then load that file onto your server and extract it to the desired folder. Now start the Play server with the start file Play created for you.
Play defaults to TCP port 9000 as it does in debug mode but you can change that by using the option -Dhttp.port=80. Listening on a specific IP address can be done via -Dhttp.address=127.0.0.1.
But the thing I do is using an nginx as a reverse proxy to control things link GZIP compression and to listen on a specific hostname. Just search the web for more details about reverse proxies.
You should have an own configuration file for your production use because you need to turn off evolutions, change the database server, and maybe some other stuff you added during development. More about the production configuration can be found in the docs.
I have previously installed xampp on my remote linux server. So I already have php pre-compiled. Java also. I installed a jetty server. Do I need other configuration to it to run both PHP and JSP?
I want to use JSP and jetty server instead of PHP and apache for scaling issues regarding a notification system that I will soon apply. Any feedback on this descision will be apprecitied
See their documentation for PHP support.