• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Eclipse Doubt

 
Ranch Hand
Posts: 338
Scala Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Pankaj Shet
Ranch Hand
Posts: 338
Scala Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Which plugin are you using ?
 
Pankaj Shet
Ranch Hand
Posts: 338
Scala Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Where to find it??
I am new to Eclipse!!!
 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
[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
Posts: 338
Scala Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Where to configure these properties??
 
Premila Devi Dayalan
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Build.properties
 
reply
    Bookmark Topic Watch Topic
  • New Topic