You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Abdul Raheem Seyed (NDC IS&T)" <as...@ndc.ae> on 2009/12/07 07:18:12 UTC
Publishing Java webservice - tomcat 5.5 shared hosting
Hi,
We have requirement to host a webservice in a shared tomcat 5.5 webhosting environment ( virtual server ). The hosting company doesn't provide access to tomcat Manager as it's shared web hosting.
Can some one tell how we can deploy a java webservice in tomcat 5.5. We have access to specific folder of the tomcat only (tomcat root \ webapps\mywebsite\). We can't restart the server as well we don't have admin access to the server.
Appreciate your help.
Thanks in advance,
Abdul Raheem S
Disclaimer:
This e-mail has been scanned by Microsoft Forefront Online Security for Exchange.
This e-mail and its attachments may be confidential and are intended solely for the use of the individual(s) to whom it is addressed. If you have received it by mistake, please reply by e-mail to sender or admin@ndc.ae and delete it from your system; you may not copy this message or disclose its contents to anyone. Statements and opinions expressed in this e-mail are those of the sender, and do not necessarily reflect those of National Drilling Company (NDC). Although reasonable precautions have been taken to ensure no viruses are present in this e-mail, NDC cannot accept responsibility for any loss or damage arising from the use of this e-mail or attachments.
RE: Publishing Java webservice - tomcat 5.5 shared hosting
Posted by "Abdul Raheem Seyed (NDC IS&T)" <as...@ndc.ae>.
Dear All,
Thanks for your valuable suggestions. We managed to achieve this by developing the web service using lomboz and just copied the entire application folder from the local tomcat server into our web hosting environment ( /webapps/mywebsite/mywebservice ). It worked fine.
Thank you very much.
Regards,
Abdul Raheem S
-----Original Message-----
From: Gerwood Stewart [mailto:gstewar8@une.edu.au]
Sent: Monday, December 07, 2009 11:59 PM
To: Tomcat Users List
Subject: RE: Publishing Java webservice - tomcat 5.5 shared hosting
Abdul
Have you developed the Web-service?
There are a few frameworks that allow you to develop ws (Axis, CXF) but I can't tell if these are going to far. Axis (from memory) you can add more or less as a sub directory in your context, from there you should be able to create individual web-services as you see fit. It will require knowledge from java though.
I'm not sure what the result of trying to do it in JSP directly would be, but from previous experiences I would recommend you don't unless you can't avoid it.
You will also need to check what the Axis requirements are, you will probably need to modify the web.xml to be aware of it.
Gerwood Stewart
Senior Programmer/System Administrator
Information Technology Directory
Armidale NSW Australia 2351
Phone: +61 02 6773 2068
gstewar8@une.edu.au
www.une.edu.au
CRICOS Provider Number: 00003G
-----Original Message-----
From: Abdul Raheem Seyed (NDC IS&T) [mailto:aseyed@ndc.ae]
Sent: Monday, December 07, 2009 5:51 PM
To: Tomcat Users List
Subject: RE: Publishing Java webservice - tomcat 5.5 shared hosting
Hi,
Thanks for looking in to my question.
1) Web hosting provider doesn't have any defined policy as such.
2) No, the context was developed and configured by the provider. We have only ftp access to the /webapps/mywebsite folder. So, we can not redeploy it.
3) Yes, We can request for a restart
Thanks,
Abdul Raheem S
-----Original Message-----
From: Gerwood Stewart [mailto:gstewar8@une.edu.au]
Sent: Monday, December 07, 2009 10:43 AM
To: Tomcat Users List
Subject: RE: Publishing Java webservice - tomcat 5.5 shared hosting
I'd first check your hosting providers policy on webservices etc.
Do you develop the context /webapps/mywebsite? Can you fully redeploy it or modify it? Can you ask for it to be restarted?
Gerwood Stewart
Senior Programmer/System Administrator
Information Technology Directory
Armidale NSW Australia 2351
Phone: +61 02 6773 2068
gstewar8@une.edu.au
www.une.edu.au
CRICOS Provider Number: 00003G
-----Original Message-----
From: Abdul Raheem Seyed (NDC IS&T) [mailto:aseyed@ndc.ae]
Sent: Monday, December 07, 2009 5:18 PM
To: users@tomcat.apache.org
Subject: Publishing Java webservice - tomcat 5.5 shared hosting
Hi,
We have requirement to host a webservice in a shared tomcat 5.5 webhosting environment ( virtual server ). The hosting company doesn't provide access to tomcat Manager as it's shared web hosting.
Can some one tell how we can deploy a java webservice in tomcat 5.5. We have access to specific folder of the tomcat only (tomcat root \ webapps\mywebsite\). We can't restart the server as well we don't have admin access to the server.
Appreciate your help.
Thanks in advance,
Abdul Raheem S
Disclaimer:
This e-mail has been scanned by Microsoft Forefront Online Security for Exchange.
This e-mail and its attachments may be confidential and are intended solely for the use of the individual(s) to whom it is addressed. If you have received it by mistake, please reply by e-mail to sender or admin@ndc.ae and delete it from your system; you may not copy this message or disclose its contents to anyone. Statements and opinions expressed in this e-mail are those of the sender, and do not necessarily reflect those of National Drilling Company (NDC). Although reasonable precautions have been taken to ensure no viruses are present in this e-mail, NDC cannot accept responsibility for any loss or damage arising from the use of this e-mail or attachments.
Disclaimer:
This e-mail has been scanned by Microsoft Forefront Online Security for Exchange.
This e-mail and its attachments may be confidential and are intended solely for the use of the individual(s) to whom it is addressed. If you have received it by mistake, please reply by e-mail to sender or admin@ndc.ae and delete it from your system; you may not copy this message or disclose its contents to anyone. Statements and opinions expressed in this e-mail are those of the sender, and do not necessarily reflect those of National Drilling Company (NDC). Although reasonable precautions have been taken to ensure no viruses are present in this e-mail, NDC cannot accept responsibility for any loss or damage arising from the use of this e-mail or attachments.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Disclaimer:
This e-mail has been scanned by Microsoft Forefront Online Security for Exchange.
This e-mail and its attachments may be confidential and are intended solely for the use of the individual(s) to whom it is addressed. If you have received it by mistake, please reply by e-mail to sender or admin@ndc.ae and delete it from your system; you may not copy this message or disclose its contents to anyone. Statements and opinions expressed in this e-mail are those of the sender, and do not necessarily reflect those of National Drilling Company (NDC). Although reasonable precautions have been taken to ensure no viruses are present in this e-mail, NDC cannot accept responsibility for any loss or damage arising from the use of this e-mail or attachments.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Publishing Java webservice - tomcat 5.5 shared hosting
Posted by Gerwood Stewart <gs...@une.edu.au>.
Abdul
Have you developed the Web-service?
There are a few frameworks that allow you to develop ws (Axis, CXF) but I can't tell if these are going to far. Axis (from memory) you can add more or less as a sub directory in your context, from there you should be able to create individual web-services as you see fit. It will require knowledge from java though.
I'm not sure what the result of trying to do it in JSP directly would be, but from previous experiences I would recommend you don't unless you can't avoid it.
You will also need to check what the Axis requirements are, you will probably need to modify the web.xml to be aware of it.
Gerwood Stewart
Senior Programmer/System Administrator
Information Technology Directory
Armidale NSW Australia 2351
Phone: +61 02 6773 2068
gstewar8@une.edu.au
www.une.edu.au
CRICOS Provider Number: 00003G
-----Original Message-----
From: Abdul Raheem Seyed (NDC IS&T) [mailto:aseyed@ndc.ae]
Sent: Monday, December 07, 2009 5:51 PM
To: Tomcat Users List
Subject: RE: Publishing Java webservice - tomcat 5.5 shared hosting
Hi,
Thanks for looking in to my question.
1) Web hosting provider doesn't have any defined policy as such.
2) No, the context was developed and configured by the provider. We have only ftp access to the /webapps/mywebsite folder. So, we can not redeploy it.
3) Yes, We can request for a restart
Thanks,
Abdul Raheem S
-----Original Message-----
From: Gerwood Stewart [mailto:gstewar8@une.edu.au]
Sent: Monday, December 07, 2009 10:43 AM
To: Tomcat Users List
Subject: RE: Publishing Java webservice - tomcat 5.5 shared hosting
I'd first check your hosting providers policy on webservices etc.
Do you develop the context /webapps/mywebsite? Can you fully redeploy it or modify it? Can you ask for it to be restarted?
Gerwood Stewart
Senior Programmer/System Administrator
Information Technology Directory
Armidale NSW Australia 2351
Phone: +61 02 6773 2068
gstewar8@une.edu.au
www.une.edu.au
CRICOS Provider Number: 00003G
-----Original Message-----
From: Abdul Raheem Seyed (NDC IS&T) [mailto:aseyed@ndc.ae]
Sent: Monday, December 07, 2009 5:18 PM
To: users@tomcat.apache.org
Subject: Publishing Java webservice - tomcat 5.5 shared hosting
Hi,
We have requirement to host a webservice in a shared tomcat 5.5 webhosting environment ( virtual server ). The hosting company doesn't provide access to tomcat Manager as it's shared web hosting.
Can some one tell how we can deploy a java webservice in tomcat 5.5. We have access to specific folder of the tomcat only (tomcat root \ webapps\mywebsite\). We can't restart the server as well we don't have admin access to the server.
Appreciate your help.
Thanks in advance,
Abdul Raheem S
Disclaimer:
This e-mail has been scanned by Microsoft Forefront Online Security for Exchange.
This e-mail and its attachments may be confidential and are intended solely for the use of the individual(s) to whom it is addressed. If you have received it by mistake, please reply by e-mail to sender or admin@ndc.ae and delete it from your system; you may not copy this message or disclose its contents to anyone. Statements and opinions expressed in this e-mail are those of the sender, and do not necessarily reflect those of National Drilling Company (NDC). Although reasonable precautions have been taken to ensure no viruses are present in this e-mail, NDC cannot accept responsibility for any loss or damage arising from the use of this e-mail or attachments.
Disclaimer:
This e-mail has been scanned by Microsoft Forefront Online Security for Exchange.
This e-mail and its attachments may be confidential and are intended solely for the use of the individual(s) to whom it is addressed. If you have received it by mistake, please reply by e-mail to sender or admin@ndc.ae and delete it from your system; you may not copy this message or disclose its contents to anyone. Statements and opinions expressed in this e-mail are those of the sender, and do not necessarily reflect those of National Drilling Company (NDC). Although reasonable precautions have been taken to ensure no viruses are present in this e-mail, NDC cannot accept responsibility for any loss or damage arising from the use of this e-mail or attachments.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Publishing Java webservice - tomcat 5.5 shared hosting
Posted by "Abdul Raheem Seyed (NDC IS&T)" <as...@ndc.ae>.
Hi,
Thanks for looking in to my question.
1) Web hosting provider doesn't have any defined policy as such.
2) No, the context was developed and configured by the provider. We have only ftp access to the /webapps/mywebsite folder. So, we can not redeploy it.
3) Yes, We can request for a restart
Thanks,
Abdul Raheem S
-----Original Message-----
From: Gerwood Stewart [mailto:gstewar8@une.edu.au]
Sent: Monday, December 07, 2009 10:43 AM
To: Tomcat Users List
Subject: RE: Publishing Java webservice - tomcat 5.5 shared hosting
I'd first check your hosting providers policy on webservices etc.
Do you develop the context /webapps/mywebsite? Can you fully redeploy it or modify it? Can you ask for it to be restarted?
Gerwood Stewart
Senior Programmer/System Administrator
Information Technology Directory
Armidale NSW Australia 2351
Phone: +61 02 6773 2068
gstewar8@une.edu.au
www.une.edu.au
CRICOS Provider Number: 00003G
-----Original Message-----
From: Abdul Raheem Seyed (NDC IS&T) [mailto:aseyed@ndc.ae]
Sent: Monday, December 07, 2009 5:18 PM
To: users@tomcat.apache.org
Subject: Publishing Java webservice - tomcat 5.5 shared hosting
Hi,
We have requirement to host a webservice in a shared tomcat 5.5 webhosting environment ( virtual server ). The hosting company doesn't provide access to tomcat Manager as it's shared web hosting.
Can some one tell how we can deploy a java webservice in tomcat 5.5. We have access to specific folder of the tomcat only (tomcat root \ webapps\mywebsite\). We can't restart the server as well we don't have admin access to the server.
Appreciate your help.
Thanks in advance,
Abdul Raheem S
Disclaimer:
This e-mail has been scanned by Microsoft Forefront Online Security for Exchange.
This e-mail and its attachments may be confidential and are intended solely for the use of the individual(s) to whom it is addressed. If you have received it by mistake, please reply by e-mail to sender or admin@ndc.ae and delete it from your system; you may not copy this message or disclose its contents to anyone. Statements and opinions expressed in this e-mail are those of the sender, and do not necessarily reflect those of National Drilling Company (NDC). Although reasonable precautions have been taken to ensure no viruses are present in this e-mail, NDC cannot accept responsibility for any loss or damage arising from the use of this e-mail or attachments.
Disclaimer:
This e-mail has been scanned by Microsoft Forefront Online Security for Exchange.
This e-mail and its attachments may be confidential and are intended solely for the use of the individual(s) to whom it is addressed. If you have received it by mistake, please reply by e-mail to sender or admin@ndc.ae and delete it from your system; you may not copy this message or disclose its contents to anyone. Statements and opinions expressed in this e-mail are those of the sender, and do not necessarily reflect those of National Drilling Company (NDC). Although reasonable precautions have been taken to ensure no viruses are present in this e-mail, NDC cannot accept responsibility for any loss or damage arising from the use of this e-mail or attachments.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Publishing Java webservice - tomcat 5.5 shared hosting
Posted by Gerwood Stewart <gs...@une.edu.au>.
I'd first check your hosting providers policy on webservices etc.
Do you develop the context /webapps/mywebsite? Can you fully redeploy it or modify it? Can you ask for it to be restarted?
Gerwood Stewart
Senior Programmer/System Administrator
Information Technology Directory
Armidale NSW Australia 2351
Phone: +61 02 6773 2068
gstewar8@une.edu.au
www.une.edu.au
CRICOS Provider Number: 00003G
-----Original Message-----
From: Abdul Raheem Seyed (NDC IS&T) [mailto:aseyed@ndc.ae]
Sent: Monday, December 07, 2009 5:18 PM
To: users@tomcat.apache.org
Subject: Publishing Java webservice - tomcat 5.5 shared hosting
Hi,
We have requirement to host a webservice in a shared tomcat 5.5 webhosting environment ( virtual server ). The hosting company doesn't provide access to tomcat Manager as it's shared web hosting.
Can some one tell how we can deploy a java webservice in tomcat 5.5. We have access to specific folder of the tomcat only (tomcat root \ webapps\mywebsite\). We can't restart the server as well we don't have admin access to the server.
Appreciate your help.
Thanks in advance,
Abdul Raheem S
Disclaimer:
This e-mail has been scanned by Microsoft Forefront Online Security for Exchange.
This e-mail and its attachments may be confidential and are intended solely for the use of the individual(s) to whom it is addressed. If you have received it by mistake, please reply by e-mail to sender or admin@ndc.ae and delete it from your system; you may not copy this message or disclose its contents to anyone. Statements and opinions expressed in this e-mail are those of the sender, and do not necessarily reflect those of National Drilling Company (NDC). Although reasonable precautions have been taken to ensure no viruses are present in this e-mail, NDC cannot accept responsibility for any loss or damage arising from the use of this e-mail or attachments.
RE: Publishing Java webservice - tomcat 5.5 shared hosting
Posted by "Hadole, Nishant IN BOM SISL" <Ni...@siemens.com>.
The changes in web.xml will cause instant restart Only due to TRUE value for parameter autoDeploy in server.xml.
<Host name="localhost" appBase="webapps" unpackWARs="true autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false" />
With best regards,
Nishant Hadole
-----Original Message-----
From: Karthik Nanjangude [mailto:karthik.nanjangude@xius-bcgi.com]
Sent: Monday, 07 December, 2009 12:31 PM
To: Tomcat Users List
Subject: RE: Publishing Java webservice - tomcat 5.5 shared hosting
Hi
One Quick Hack is Open "Web.xml" make some temp modification (probably the Description) and save the file
This automatically restarts the Web Application
With regards
Karthik
-----Original Message-----
From: Abdul Raheem Seyed (NDC IS&T) [mailto:aseyed@ndc.ae]
Sent: Monday, December 07, 2009 11:48 AM
To: users@tomcat.apache.org
Subject: Publishing Java webservice - tomcat 5.5 shared hosting
Hi,
We have requirement to host a webservice in a shared tomcat 5.5 webhosting environment ( virtual server ). The hosting company doesn't provide access to tomcat Manager as it's shared web hosting.
Can some one tell how we can deploy a java webservice in tomcat 5.5. We have access to specific folder of the tomcat only (tomcat root \ webapps\mywebsite\). We can't restart the server as well we don't have admin access to the server.
Appreciate your help.
Thanks in advance,
Abdul Raheem S
Disclaimer:
This e-mail has been scanned by Microsoft Forefront Online Security for Exchange.
This e-mail and its attachments may be confidential and are intended solely for the use of the individual(s) to whom it is addressed. If you have received it by mistake, please reply by e-mail to sender or admin@ndc.ae and delete it from your system; you may not copy this message or disclose its contents to anyone. Statements and opinions expressed in this e-mail are those of the sender, and do not necessarily reflect those of National Drilling Company (NDC). Although reasonable precautions have been taken to ensure no viruses are present in this e-mail, NDC cannot accept responsibility for any loss or damage arising from the use of this e-mail or attachments.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Publishing Java webservice - tomcat 5.5 shared hosting
Posted by Karthik Nanjangude <ka...@xius-bcgi.com>.
Hi
One Quick Hack is Open "Web.xml" make some temp modification (probably the Description) and save the file
This automatically restarts the Web Application
With regards
Karthik
-----Original Message-----
From: Abdul Raheem Seyed (NDC IS&T) [mailto:aseyed@ndc.ae]
Sent: Monday, December 07, 2009 11:48 AM
To: users@tomcat.apache.org
Subject: Publishing Java webservice - tomcat 5.5 shared hosting
Hi,
We have requirement to host a webservice in a shared tomcat 5.5 webhosting environment ( virtual server ). The hosting company doesn't provide access to tomcat Manager as it's shared web hosting.
Can some one tell how we can deploy a java webservice in tomcat 5.5. We have access to specific folder of the tomcat only (tomcat root \ webapps\mywebsite\). We can't restart the server as well we don't have admin access to the server.
Appreciate your help.
Thanks in advance,
Abdul Raheem S
Disclaimer:
This e-mail has been scanned by Microsoft Forefront Online Security for Exchange.
This e-mail and its attachments may be confidential and are intended solely for the use of the individual(s) to whom it is addressed. If you have received it by mistake, please reply by e-mail to sender or admin@ndc.ae and delete it from your system; you may not copy this message or disclose its contents to anyone. Statements and opinions expressed in this e-mail are those of the sender, and do not necessarily reflect those of National Drilling Company (NDC). Although reasonable precautions have been taken to ensure no viruses are present in this e-mail, NDC cannot accept responsibility for any loss or damage arising from the use of this e-mail or attachments.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org