aspose file tools
The moose likes Tomcat and the fly likes How to Deploy in Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Tomcat
Reply 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: 56183
    
  13

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.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About 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: 56183
    
  13

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: 56183
    
  13

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

Joined: Jun 25, 2001
Posts: 14475
    
    7

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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: How to Deploy in Tomcat
 
Similar Threads
JBoss RMIC
jUDDI or what?
JBoss + Jetty -> restart overwrites files
change the image in the interface
Deploying application on the weblogic remote server