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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse Doubt" Watch "Eclipse Doubt" New topic
Author

Eclipse Doubt

Pankaj Shet
Ranch Hand

Joined: Sep 08, 2006
Posts: 246

Hello friends,

I am starting off with the web development projects, tried to develop and deploy it on Tomcat.
When we manually deploy the web- application on Tomcat, we create a WAR file and copy it under Tomcat/WebApps directory as per the rules.
But when we use Eclipse, we develop the Web-Application in our Workspace, that workspace can be anywhere, right??

After completing our work in the selected workspace, the Eclipse automatically deploys the application on the Tomcat Web-Server
and show the result in the selected browser, right??

but now my Question is, when the web-application is deployed using Eclipse and try to see the deployed Web-Application, under Tomcat/Webapps directory, there is nothing inside it.

I think that, Even if web-application is deployed and run by using Eclipse, the Web-Applications WAR file should be present under the Tomcat/Web-App Directory,

if not, please tell me how the Web-Application gets deployed and where do we find the Deployed Web-Application under the TOMCAT Directory when developed using Eclipse.

Help is always Appreciated.

Thanks and Regards,
Pankaj Shet


PANKAJ SHET
B.Sc.(I.T.), S.C.J.P., S.C.W.C.D., PGDAC(CDAC)
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

You can set the application context to reside outside the webapps directory. This is done via an xml file in the conf directory, which might be what your Eclipse plugin is doing (just guessing). Check this article.


[My Blog]
All roads lead to JavaRanch
Pankaj Shet
Ranch Hand

Joined: Sep 08, 2006
Posts: 246

Hi,
Thanks for your instant reply!!!
I tried to see inside your Guessed directory, But Cannot find anything like that!!!
and the article teaches us how to manully deploy the Web-Application,
But I wanted to know how does Eclipse deploy the Web-Application on the Tomcat!!!
Please let me know about the same!!!
Thanks
-Pankaj Shet
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

Which plugin are you using ?
Pankaj Shet
Ranch Hand

Joined: Sep 08, 2006
Posts: 246

Where to find it??
I am new to Eclipse!!!
Premila Devi Dayalan
Ranch Hand

Joined: Jul 19, 2009
Posts: 40
[quote]system.code=ca
cam.auth.mode=LOCAL
#installationType property can be CENTRAL, COUNTRY
cam.installationType=COUNTRY
#installationLocation property can be LOCAL, REMOTE
cam.installationLocation=REMOTE
cam.central.email=camcentral@esteh.net

tomcat.home=/agb/bin/tomcat
deploy.dir=/agb/webapps
#deploy.dir=${tomcat.home}/webapps
#Where to put application
#doc.base.folder=${deploy.dir}
doc.base.folder=/agb/webapps

db.type=psql
#MySQL root password. Needed for db creation
#db.root.pass=123456
#PostgreSQL password
db.admin.pass=123456

javac.debug=true

#Folder with country configurations
config.dir=/agb/config

#Username/password of DB user
db.user.username=cam_${system.code}
db.user.password=123456

#Database names
db.cam.name=db_cam_${system.code}
db.jbpm.name=db_cam_${system.code}_jbpm

cam.admin.email=cam_${system.code}_admin@linux.esteh.net

#Properties from CAM file. It should be changed in production

cam.debug=true
cam.defLocationName=Default
cam.defOrgUnitName=Default
cam.defDescription=Default, created on organization creation

#Authorisation mode. If ACTIVE_DIRECTORY mode, authentication will be done against AD.
#if LOCAL, then local CAM database will be used instead
#auth.mode=ACTIVE_DIRECTORY

#Mail server parameters
cam.mailserver.host=linux.esteh.net
cam.mailserver.username=cam_${system.code}
cam.mailserver.password=123456

#ldap properties. Used only if auth.mode is ACTIVE_DIRECTORY
cam.ldap.url=ldap://192.168.0.249:389
cam.ldap.password=vasa23
cam.ldap.managerDn=cn=esteh,ou=IT,ou=ATR Users,dc=atruk,dc=co,dc=uk
cam.ldap.base=dc\\\=atruk,dc\\\=co,dc\\\=uk


pollux.enabled=true
pollux.db.url=jdbc:firebirdsql://192.168.0.9:3050//db2000/HHM.gdb
pollux.db.username=sysdba
pollux.db.password=masterkey
[/quote]
Pankaj Shet
Ranch Hand

Joined: Sep 08, 2006
Posts: 246

Where to configure these properties??
Premila Devi Dayalan
Ranch Hand

Joined: Jul 19, 2009
Posts: 40
Build.properties
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Eclipse Doubt