alduhoo Posted December 31, 2011 Posted December 31, 2011 Hi, I want to deploy a jsp/servlet application, I´ve already have jsp working on my account but don´t know how to deploy my application I developed using netbeans. Generally I just copy the .war file generated and tomcat deploys the application, but I don´t know how to do that here, or can anyone help me in deploying my application from netbeans to the server? thanks
cl58 Posted December 31, 2011 Posted December 31, 2011 I know very little about Java, but have you tried to chmod the file to be executable?
Guest xaav Posted December 31, 2011 Posted December 31, 2011 While it is possible to deploy WAR files on HelioHost, it would require additional configuration by the administrators. Instead, I would recommend you use the following command to unzip the WAR file: jar -xvf webApplicationfilename.war Then, upload the contents of the webApplicationfilename folder to your public_html folder. Of course, the folder name will be different depending on what the name of your WAR file is. 1
alduhoo Posted December 31, 2011 Author Posted December 31, 2011 While it is possible to deploy WAR files on HelioHost, it would require additional configuration by the administrators. Instead, I would recommend you use the following command to unzip the WAR file: jar -xvf webApplicationfilename.war Then, upload the contents of the webApplicationfilename folder to your public_html folder. Of course, the folder name will be different depending on what the name of your WAR file is. Excellent, will try it later today, thanks for the quick response cheers
Guest xaav Posted January 3, 2012 Posted January 3, 2012 Please upload the WAR file to your public_html directory.
pjvleeuw Posted April 1, 2012 Posted April 1, 2012 Dear admins, Figuring out how to deploy a war to my Johnny account turned out a bit more difficult then I expected. I believe my Johnny account was 'Java activated' some time ago, although I cannot seem to find my 'Java Request' topic back. Is this because those topics are cleaned up after some time or did I not actually get Java activated on my account? I could post a 'Java Request' topic, but I do not want to cause problems if it is already activated... My final purpose is to be able to deploy (home brewed) WAR files to my public_html folder, but this old thread (only found via Google Cache) seems to suggest that requires some 'extra' configuration? http://webcache.goog...lient=firefox-a Please tell me what to do: post (possibly another) 'Java Request' or can I assume it should be working and try to find the problem somewhere else? Hope hearing from you, thanks!Cheers,Paul
pjvleeuw Posted April 12, 2012 Posted April 12, 2012 To get things moving I requested java (here http://www.helionet.org/index/topic/12050-request-for-java-pjvleeuw ), because it might have been on on a previous account which expired... If anyone has WAR files successfully working: could you please explain to me how/where to upload my WAR file (lets say 'example.war' containing '/index.jsp') and with what URL to access it. E.g. should I put example.war in public_html and would the URL than be <my.domain>/example/index.jsp ? I find it hard to verify my setup when I am not sure what is expected where and such... Cheers!
njindal11 Posted December 2, 2012 Posted December 2, 2012 I have uploaded my Wep application developed using JSP and servlets. I created war file and uploaded in public diectory but it is not running and and asking users to download that war file. I extracted my war file and uploaded whole wep application structure on heliohost but still it runs only JSP . Related Servlets and Java class files are not being identified. I got following Error: Not Found The requested URL /calculatorServer was not found on this server.Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/0.9.8e-fips-rhel5 mod_mono/2.6.3 mod_jk/1.2.35 FrontPage/5.0.2.2635 mod_bwlimited/1.4 mod_auth_passthrough/2.1 mod_wsgi/3.4 Python/2.4.3 Server at prayas.heliohost.org Port 80 Please help me about this.
njindal11 Posted December 2, 2012 Posted December 2, 2012 Yes ..there exists entries for each and every servlet. The project is running fine on my local host and i deployed war file on another trial server and it worked there as well.
Shinryuu Posted December 2, 2012 Posted December 2, 2012 Recheck that everything was uploaded correctly and not broken. Aside from that I've no advice to give, I'm on Stevie and have no Java knowledge, so I don't know the first thing about servlets or JSPs, sorry. Perhaps try asking around on stackoverflow or other programming sites for further assistance.
njindal11 Posted December 3, 2012 Posted December 3, 2012 I uploaded everything correctly and there is nothing missing and no fault is there in my programming...
njindal11 Posted December 3, 2012 Posted December 3, 2012 I am also not able to deploy my war file..If you got it working, please tell me the way to do it.
njindal11 Posted December 3, 2012 Posted December 3, 2012 I am facing the same problem...if you know how to do it please tell me about this..
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now