File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes How to Deploy in Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "How to Deploy in Tomcat" Watch "How to Deploy in Tomcat" New topic
Author

How to Deploy in Tomcat

Arun Giridharan
Ranch Hand

Joined: Sep 30, 2010
Posts: 290

For while i was using Weblogic 10 , so, i thought about trying out tomcat6 ,so ,i'm in a confusion ,where to deploy ,means which directory can some one help,i'm using ubuntu 10.10


Thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60766
    
  65

There are a number of ways to do it, and they are all covered in the Tomcat documentation.

Easiest route is to drop the war file in the webapps folder.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Arun Giridharan
Ranch Hand

Joined: Sep 30, 2010
Posts: 290

i'm not able to drop my .war file in webapps folder. [the webapps in my private instance ]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60766
    
  65

Why not? Or is it a secret?
Arun Giridharan
Ranch Hand

Joined: Sep 30, 2010
Posts: 290

it's not allowing, it says your not a valid user.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60766
    
  65

Well that sounds like a file permission issue you'll need to fix.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15952
    
  19

Check and see if the tomcat manager webapp is available - and that you have a userid/password set up that allows you to access it.

The Tomcat manager can upload a WAR and deploy it.

Like Bear says, there are a number of ways to deploy, so it's a matter of finding one that works for you.


Customer surveys are for companies who didn't pay proper attention to begin with.
Arun Giridharan
Ranch Hand

Joined: Sep 30, 2010
Posts: 290

when i try to access
http://localhost:8080/manager/html
HTTP Status 403 - Access to the requested resource has been denied

type Status report

message Access to the requested resource has been denied

description Access to the specified resource (Access to the requested resource has been denied) has been forbidden.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to Deploy in Tomcat
 
Similar Threads
change the image in the interface
JBoss + Jetty -> restart overwrites files
jUDDI or what?
JBoss RMIC
Deploying application on the weblogic remote server