It's not a secret anymore!
The moose likes Tomcat and the fly likes Unable to deploy web-application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Unable to deploy web-application" Watch "Unable to deploy web-application" New topic

Unable to deploy web-application

Srilu nandula

Joined: Dec 07, 2007
Posts: 7
Hi All,
I am not able to deploy my web application on Tomcat. When I open the Manager App, I can see the deployed application. But, when I try to open it on the browser, I got 404 resource not available message. When I reload the application I got the following exception.

!ENTRY com.sysdeo.eclipse.tomcat 4 4 2009-05-04 22:31:59.531
!MESSAGE java.lang.Exception: The following url was used :

Check manager app settings (username and password)

at com.sysdeo.eclipse.tomcat.actions.RestartContextActionDelegate.doActionOn(
at org.eclipse.ui.internal.PluginAction.runWithEvent(
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(
at org.eclipse.jface.action.ActionContributionItem.access$2(
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(
at org.eclipse.swt.widgets.EventTable.sendEvent(
at org.eclipse.swt.widgets.Widget.sendEvent(
at org.eclipse.swt.widgets.Display.runDeferredEvents(
at org.eclipse.swt.widgets.Display.readAndDispatch(
at org.eclipse.ui.internal.Workbench.runEventLoop(
at org.eclipse.ui.internal.Workbench.runUI(
at org.eclipse.ui.internal.Workbench.access$4(
at org.eclipse.ui.internal.Workbench$
at org.eclipse.core.databinding.observable.Realm.runWithDefault(
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(
at org.eclipse.ui.internal.ide.application.IDEApplication.start(
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(
at org.eclipse.equinox.launcher.Main.basicRun(

I created user in tomcat-users.xml.

<role rolename="manager" />
<user username="tomcat" password="tomcat" roles="manager" />

I am able to run the manager app and see the list of deployed applications. What could be the problem? Thank you.
I agree. Here's the link:
subject: Unable to deploy web-application
It's not a secret anymore!