UK WEB HOSTING FORUM FOR DISCUSSION ON WEB HOSTING SERVICE AND SUPPORT
LINUX HOSTING WINDOWS HOSTING PACKAGES SHOPPING CART OSCOMMERCE ZEN CART AGORA
ECOMMERCE HOSTING ASP MSSQL FRONTPAGE HOSTING PHP MYSQL HOSTING DISCUSSION FORUM
CPANEL RESELLER HOSTING DEDICATED SERVER VPS HOSTING PLESK VIRTUOZZO
Quick Search
Your forum announcement here!

  UK Web Hosting | Dedicated Server Windows and Linux VPS Forum > Web Hosting and Domains > Javascript - Ajax - Tomcat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 13-07-2008, 12:31
new member
 
Join Date: Sep 2007
Posts: 4
Default Try to get servlets working again

Hi there,

I'm back again trying to get my java servlets working with eukhost, and have run into trouble getting requests to hit my servlet.

Here is what I've done so far

1. Created a test servlet and jsp page
2. Created a simple web.xml
3. Wrapped them into a war
4. Uploaded this to /public_html

My problem is that I can't seem to hit the servlet properly. This is the servlet mapping section from my web.xml :

<servlet-mapping>
<servlet-name>TestServlet</servlet-name>
<url-pattern>/TestServlet</url-pattern>
</servlet-mapping>

When I test this on a local tomcat install its fine, the url

(bah annoyingly I can't post urls as I haven't posted enough on these forums. Imagine these have http on the start )

://localhost:8080/Test/TestServlet

correctly hits the servlet.

But when I try it against my eukhost servet using this url...

://www.jamesshaw.org/Test/TestServlet

...I get an apache error - so it doesn't look like its even reaching Tomcat. I can see that tomcat is definitely there in some respects with this url

://www.jamesshaw.org/Test/

It hits my test index.jsp correctly, and correctly fails because the request hasn't run through the servlet first.

Hopefully someone can suggest what it is I need to do to make this work. I've had a look around and there still isn't much in the way of user guides or FAQs to get a basic servlet setup working so I'm a bit stumped!

Thanks in advance,

James
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 13-07-2008, 13:35
System Administrator
 
Join Date: Aug 2007
Posts: 54
Default

I have created a support ticket FMT-60082-385 for this problem and updated you at your registered email ID.


eUKMatthew
UK Web Hosting - Cheap Windows Linux cPanel Shared Reseller Web Hosting in UK
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 13-08-2008, 18:13
new member
 
Join Date: Aug 2008
Posts: 1
Default

Hi,

Did anyone get the solution to this problem .. I have stuck to it for many days ...

Can anyone please suggest something ..

Thanks
Goutam
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 14-08-2008, 10:16
new member
 
Join Date: Sep 2007
Posts: 4
Default

Yeah I did manage to get a basic test servlet working thanks to the support guys. This is the response I got :

---------

Your issue has been finally resolved, there were two factors in this case which were causing issues.
1. Bad web.xml aand
2. is Entry for Test folder was not added in Tomcat Configuration file.

--------

I'm dubious about the bad web.xml bit because all that was changed in the working version was the servlet mapping name. I suspect its that second point that is the all important bit - its probably worth raising a support ticket and asking if they can do that for you.

I had a search around for what "Entry for Test" means, but I can only assume its something specific to they way euk have setup the tomcat contexts.

Hope this helps,

James
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 12:39.

 

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by Web Hosting 3.1.0
Copyright © 2001-2008, eUKhost.com. All rights reserved.

 
Site Map

VPS Hosting
VPS Hosting plans

Dedicated Server Hosting
Dedicated Server plans

Business Web Hosting
100% uptime Hosting

Cpanel Hosting
cPanel Shared Hosting

Reseller Hosting
Reseller Web Hosting

Windows Hosting
Windows Shared Hosting

Windows VPS

Windows VPS Hosting

Semi Dedicated Servers
Semi-Dedicated Hosting

Dedicated Server Mirroring
Dedicated Server Mirroring

Webhosting Knowledgebase
Frequently asked Questions

Web Hosting Blog
eUKhost Blog

Web Hosting Support
Support Helpdesk

UK Data Center
eUKhost Datacenter

Web Hosting Forum
eUKhost Forum

Support Tutorials
Online Flash Tutorials

Offsite Back-up Plans
Remote Backup Service

Customer Testimonials
eUK Customer Testimonials


knowledgebase articles

eUKhost.com Services

Pre-Sales Questions
Pre-sales FAQ's

Domain Names
Domain registration FAQ's

cPanel Hosting
cPanel Hosting FAQ's

Windows Web Hosting
Plesk Control Panel

Reseller Hosting
Reseller Hosting FAQ's

VPS Hosting
Virtual Private Server

Semi-Dedicated Servers
Semi-Dedicated FAQ's

Dedicated Servers
Dedicated Server Hosting


popular blog categories


Web Hosting
Website Hosting articles

UK Web Hosting
UK Hosting articles

Dedicated Server Hosting
Dedicated Server guidelines

VPS Hosting
VPS hosting articles

cPanel Hosting
cPanel Hosting articles

Linux Operating System
Linux Operating techniques

Windows Web Hosting
Windows plesk articles

Web Hosting
Web Hosting Service