From: Diego B. <die...@di...> - 2005-01-30 21:25:10
|
Rakesh Lakshminarayana wrote: > If omar is built and tested on one server (say win xp) > and then deployed onto a linux server ... what steps > need to be followed? The external environment (like > tomcat version, jdk) etc can be assumed to be the > same. > > I copied omar ... built and tested on WIN XP (latest > CVS bits) ... onto the webapps folder in Linux > environment. In both cases, the database they use is > the same. For some reason the mere copying doesn't > seem to work. I see there is a dependency on > keystore.jks. I copied the keystore to Linux > maintaining the directory path. But the application > fails with the following exception. > > Paul in one of the posts had mentioned that this can > be related to database connection. Is this because > that there is no connection or that there is no data > fetched by the sql query executed? > Hello Rakesh, Simply copying the webapp is not enough since it uses to $omar.home for some configuration files / keystores. You could overcome that by copying the $omar.home to the new machine. Besides, the database configuration files in the webapp were setting a $omar.home absolute path based on the user that compiled. You should not have that problem anymore after you update from cvs (see my other mail to this list, from 30-jan-05). Finally, text files (especially property files) edited in windows and copied to linux might have some CR/LF problems. For a while I have not tried what you want to do (win -> linux). MAybe somebody else in this list might help. Regards, Diego -- Diego Ballve Digital Artefacts Europe http://www.digital-artefacts.fi |