• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tomcat startup problem

 
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Tomcat-Stop.JPG
[Thumbnail for Tomcat-Stop.JPG]
Tomcat Homepage on Stop
Tomcat-start.JPG
[Thumbnail for Tomcat-start.JPG]
Tomcat Homepage on Start
 
Kacee Saxena
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Somehow , issue is resolved.
Although i did not do anything new.

Now, on start status, i can see lcoalhost homepage.

Now, the problem is i am not able to deploy application when i select option - 'Run As " -> Run on server in eclipse for one of the working web applciation.

I checked physical location of tomcat_home/webapps directory and could not see my deployed application. Can someone suggest how to verify if the application is deployed through while runnign from eclipse?

Thanks,
Kacee
 
Saloon Keeper
Posts: 27887
198
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You were pissed at Tomcat, but it's not Tomcat's fault that the WTP Tomcat subsystem in Eclipse is an abomination. I've gone back to the sysdeo plugin and life is much happier.

There is a Tomcat Manager webapp and a link to it on your Tomcat server's home page, assuming you didn't replace the default application.You might have to download and deploy the manager webapp, however. It's not provided with the basic Tomcat download anymore. For security reasons, I suspect.

You should also be able to use jconsole to check the status of deployed webapps.

Checking the webapp directory is meaningless. Yes, dropping a WAR in TOMCAT_HOME/webapps will deploy it (assuming that the app CAN be deployed), but it's possible to deploy webapps in tomcat without using the webapp directory at all. Most of my WARs aren't present in the webapps directory, in fact.
 
Kacee Saxena
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, I could see my application deployed on Tomcat Manager webpage , only when i am manually placing .war file to /webapps.

But I can not see application deployed, if I try to do deploy from Eclipse. Neither console is giving any error message.

Secondly,

Say if i go for manual option, while deploying through Tomcat Manager, correct URL is not gettign formed.
i.e. I have URL defined llike this in my wsdl file

<wsdlsoap:address location="http://localhost:8080/testService2/services/HelloService"/>

whereas, when i deploy it, the URL shows : http://localhost:8080/testService2/
I think somewhere other than wsdl file, i need to specify "the left over URL paramaters"
Can anyone please please help me.


 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic