i was reading leos post about restarting tomcat with the same username that had 
read access to the referenced database 
the same idea will work for tomcat if you create your VM with same login as 
PGUSER
password is stored in  .pgpass file if memory serves

hth
Martin Gainty 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.




> From: darryl.le...@unsw.edu.au
> To: users@tomcat.apache.org
> Date: Sat, 16 Apr 2011 13:18:49 +1000
> Subject: Tomcat on a Linux virtual machine
> 
> I have an application (commercial) running on a virtual instance of Linux 
> talking to a Postgres database.
> We are continually getting locks on the DB that are crashing the app.
> I think it's just bad programming on the suppliers side, but the supplier has 
> latched onto the idea that it is because it is running on a virtual machine.
> Has any experienced any problems running Tomcat on a virtual machine similar 
> to this?
                                          

Reply via email to