Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I have created an App with the AppConKit 3 and tested it locally on my Computer, running from the AppConDeveloper. Now i'd like to deploy it to a tomcat server. How do I do that? I've the Eclipse Java Perspective open.
If you are that far, it's fairly simple.
right click on your _server project and select "Export"-> "Export..."
In the new window, unfold "Web" and select "War" File
(If you have the Java EE perspective open, your can directly select Export->War)
Set the Destination of the War file accordingly (ideally, set the name to Appname.war, not Appname_server.war) and click Finish.
All you have left to do is to deploy this .war to your Java Application Server. If you have a tomcat server, go to http://YourServerIp:8080/manager/html/ (you will need a username & password) and find the section at the bottom of the page that says "WAR file to deploy". Click on Browser and locate the saved war above. Click on Upload.
When your upload is through, you can reach your server at http://YourServerIp:8080/Warfilename .
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 years ago.
Improve this question
I was stuck here for a couple of hours. I tried opening my .php in htdocs (localhost/users) using Internet Explorer but it redirect me to download my.php file instead of opening it. I've also tried using Chrome and Opera but it shows cannot locate the file (localhost/users ).I've other related questions here but it seems none is fitting to my question.
Don't open a PHP file directly. Navigate to the URL your web server is running on, usually http://localhost, but the port could differ depending on your configuration. If you set the web server (Apache) to run on a port other than 80, use a URL like http://localhost:1234 instead, where 1234 is the port number.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I download the project in here
Then I opened the index.html, got these error. I checked, url for files are correct.
Updated: I often faced this problem, but I do not know why. I believe the url for the files are correct. I hope someone can download that project and run and let me know the reason. And how to solve the problem I have. I appreciate, so I know how to fix in the future.
I think angularJS's project do not need the localhost server, right?
I followed this tutorial: https://www.sitepoint.com/creating-crud-app-minutes-angulars-resource/
Try running a localhost server instead of directly loading the html from your file browser on your computer (in terminal run a localhost with http-simple server )see if you still get that error. also double check your code to make sure the directory pointing are correct.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
How can I create a file (let's say a markdown file) that persists on the server, strictly using HTML5? So no database or web server, just an static site server.
Your question is probably too broad but you need some type of program that serves a file but not "server software" such as Apache or nginx. Just like those web servers, they are written to listen to a port on the IP address of the computer attached to an internet connection somewhere. A program to do that is actually relatively easy to write but all the needs of a proper web server aren't such as needed security and the ability to interface to other programs.
But then that program is, in essence, a server and functions in the same manner so being able to serve a file without a server of some sort in some manner isn't possible.
Whole books are written about this and one of the best is, "Advanced Programming in the Unix Environment" by Stevens and "Unix Network Programming" also by Stevens.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I want to make my adobe air application that uses some data like (xml, png, ...) works only if the CD ROM exist ! means after installation the user must put the CD and run the app from the icon on desktop ! is it possible with flash/as3 ? thank you
you can do a little trick, at the launch of the app you can search for a file on that cdrom and show an alert if you don't find it. Here a simple way of getting all drives of the user computer:
var list:Array = File.getRootDirectories();
the list array contain File objects relative of all drives in the computer, afeter that you can search for a file inside the root of the drive or somewhere else.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I am trying to create a Minecraft 24/7 vanilla server for free, but I can't seem to get html to run Minecraft_Server.jar (the jar file), located at https://s3.amazonaws.com/MinecraftDownload/launcher/minecraft_server.jar. I dont know the startup class, but I do know the download link. The jar file was made to save to and read from files on a computer, and is normally started by a .command. Any help?
I shall address the issues you are facing one at a time.
HTML alone cannot run a Java program. HTML can run an applet; this is how the Minecraft Demo works.
The minecraft_server.jar is not a Java applet. Therefore you cannot run it online using HTML.
The unmodded minecraft_server.jar is not designed to run from a BAT file (I think you mean BAT rather then a .command file).
If you are trying to administrate a Minecraft server online take a look at some online consoles such as McMyAdmin or SpaceBukkit. You can also find online hosting that provides these console with a quick Google.