I am finding the database access in the VTP to be hard to work with.

I am using the current baseline and Eclipse 3.4.2 and it seems that when I want 
to use JNDI to connect to my database that I have to deploy the application, 
then manually update the web.xml file for my application to insert a 
<resource-ref> entry. Then I have to create a context file for my application 
with the required "Resource" entry down inside the Tomcat folders on my 
application server. Once all that is done I can connect to my database and it 
works OK from there on.

I can see that I can add my web.xml entries to the 
org.eclipse.vtp.desktop.projects.core/resources/web.xml file and then they will 
appear in my deployed application. However Tomcat is destroying my context file 
which I then have to recreate every time I deploy my application. I'm guessing 
that I can stop this file deletion from happening by taking Tomcat off of 
auto-deploy - but that is a guess.

Is someone working on getting this database action to work so that it is more 
'wizard-like' and does not require so much manual intervention?

Thanks,
Tom
_______________________________________________
vtp-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/vtp-dev

Reply via email to