Forums Register Login

Doubt on Eclipse hot deployment of web-app.

+Pie Number of slices to send: Send
Hello,


I recently came across a new process of deploying a web-app. Here no build tool (ant or maven) are used and they go ahead and deploy the application on the server configured. The IDE used is Eclipse - Ganymede 3.4.2 along with Tomcat 6.0. Feel its sort of a hot deployment operation and there is no .war file created.

Coming to my doubt. Since the war is absent I do not get to see the application in the webapps folder and the same applies to the work folder. Now I face a missing file issue with Tomcat failing to start mentioning a 'org.hibernate.HibernateException: /hibernate.cfg.xml not found' exception.

How do I solve this. And how can Tomcat deploy/deliver the application if it is not in the webapps or even the work temporary folder. This seems a little weird to me. Or is Eclipse helping things out in any way?

Any help with this or ideas would be highly valued and appreciated.

Thanks,
Raj.
+Pie Number of slices to send: Send
Is your Hibernate config file located in a source directory (or other place that will get it deployed)?
+Pie Number of slices to send: Send
The 'hibernate.cfg.xml' is located in the root source folder. And the same is copied to 'Default output folder' as configured in Eclipse.
Anderson gave himself the promotion. So I gave myself this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1021 times.
Similar Threads
Hot Deploy in iPlanet 6
Doubt in EL?
Eclipse + Lomboz problem
Eclipse Doubt
How to deploy a WAR file/EAR file on websphere ?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 04:53:55.