ShiLi1015 / xmppwebchat

Automatically exported from code.google.com/p/xmppwebchat
0 stars 0 forks source link

What is the default URL? No Basic Instruction. #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install Jetty on Ubuntu
2. Place WAR file in /var/lib/jetty/webapps
3. Start Jetty and browse to http://servername:8080/unknown URL.

What is the expected output? What do you see instead?
See the chat application

What version of the product are you using? On what operating system?
XMPPWebChat.1.2.war

Please provide any additional information below.

I am running jetty on Ubuntu 13. I have placed the WAR in 
/var/lib/jetty/webapps and my jetty server is available on http://chat:8080. 
How do I access the WebChat?? I have tried http://chat:8080/XMPP and 
http://chat:8080/XMPPWebChat and http://chat:8080/XMPPWebChat/login.html but I 
cannot find the URL to access the chat client.
If I browse the file system sudo ls -l 
/var/cache/jetty/data/Jetty_0_0_0_0_8080_XMPPWebChat.1.2.warXMPPWebChat.1.27i28i
v/webapp I can see what looks to be the application files. I tried 
http://chat:8080/webapp/ and http://chat:8080/webapp/login.html but still no 
love.
Thanks.

Original issue reported on code.google.com by Jesse.Ca...@gmail.com on 15 Aug 2014 at 4:06

GoogleCodeExporter commented 9 years ago
I apologize.
I changed how I deployed and was able to find it.

http://wiki.eclipse.org/Jetty/Howto/Deploy_Web_Applications

So I did the following:
sudo mv /var/lib/jetty/webapps/XMPPWebChat-1.2.war 
/var/lib/jetty/webapps/chat.war
sudo service jetty restart

Then browse to http://servername:8080/chat and was able to reach the 
application.

Original comment by Jesse.Ca...@gmail.com on 15 Aug 2014 at 4:13