This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am pissed off with Tomcat Problem started with "duplicate instance of application " -> " java binding error on default port" -> "Start /shutdown of tomcat"
I re-installed and configured tomcat multiple times on eclipse. Currently having all fresh instance and set up configured on eclipse. Still have following problem:
When i start my server - eclipse showing status as started, but can not open "http://localhost:8080"
And when status shows "stopped", i could see " "http://localhost:8080""
Scenarios attached with post.
Please help :banghead:[/img]
Joined: Mar 04, 2008
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?
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.
An IDE is no substitute for an Intelligent Developer.
Joined: Mar 04, 2008
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.
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
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.