jQuery in Action, 3rd edition
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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: 63348
    
  70

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: 63348
    
  70

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: 63348
    
  70

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

Joined: Jun 25, 2001
Posts: 17148
    
  27

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.


An IDE is no substitute for an Intelligent Developer.
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
 
It's not a secret anymore!