|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
oscar.properties is NOT thereHas any one else seen this
Everything runs well until the section "Now we’ll enable the new echart interface". When I issued command " java -cp .:/usr/local/tomcat/webapps/oscar/WEB-INF/lib/mysql-connector-java-3.0.11-stable-bin.jar importCasemgmt /usr/local/tomcat/oscar.properties ", I got error " Could not open properties file: /usr/local/tomcat/oscar.properties (No such file or directory) " A check ("ls") on directory /usr/local/tomcat shows that indeed file oscar.properties is NOT there. Terry Bordeleau ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Oscarmcmaster-devel mailing list Oscarmcmaster-devel@... https://lists.sourceforge.net/lists/listinfo/oscarmcmaster-devel |
|
|
Re: oscar.properties is NOT thereIn order to get the oscar.properties file in the /usr/local/tomcat/ directory, you run the command (assuming you've followed my instructions)...
sudo cp $HOME/src/oscar_source/oscar_mcmaster/install/oscar*properties $CATALINA_HOME sudo ln -s $CATALINA_HOME/oscar_mcmaster.properties $CATALINA_HOME/oscar.properties On Tue, Nov 10, 2009 at 5:29 PM, Terry Bordeleau <terrybordeleau@...> wrote: Has any one else seen this ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Oscarmcmaster-devel mailing list Oscarmcmaster-devel@... https://lists.sourceforge.net/lists/listinfo/oscarmcmaster-devel |
|
|
Re: oscar.properties is NOT thereTerry
David provided the answer, but I'll give you a more detailed explanation ;-) David, please correct me if I err... The actual file was put into your home folder when you downloaded and compiled the Oscar source. $HOME/src/oscar_source/oscar_mcmaster/install/oscar*properties (aka oscar_mcmaster.properties) At the same time, we use a variable to point to the location of the Apache Tomcat server files. Since there can be different versions of Tomcat (We currently use 5.5, but the new version is 6.0), the $CATALINA_HOME variable points the the correct tomcat folder. That way you can upgrade tomcat and just change the name in $CATALINA_HOME So, when David writes 'cp $HOME/src/oscar_source/oscar_mcmaster/install/oscar*properties $CATALINA_HOME', it means that you have to copy the files from the source directory to the tomcat home directory. Note: If $CATALINA_HOME has been set incorrectly, the file will go to the wrong place ;-( Next, you have to 'ln -s $CATALINA_HOME/oscar_mcmaster.properties $CATALINA_HOME/oscar.properties'. This creates a link from an alias (oscar.properties) to the real file (oscar_mcmaster.properties). So..... If you make any error defining $CATALINA_HOME or creating the link (ln), you will not find the file ;-( To check $CATALINA_HOME, open a terminal screen and type ' cd $CATALINA_HOME' The system should do the cd (change directory) and point to the directory known as $CATALINA_HOME. On my server, it is /usr/share/tomcat5.5 it could be /usr/share/tomcat6 If you ls -l in the directory, you should see an entry as follows: lrwxrwxrwx 1 root root oscar.properties -> /usr/share/tomcat5.5/oscar_mcmaster.properties If you do not, then you mistyped the ln command... PS: What is Catalina? from wikipedia, Catalina is Tomcat's servlet container. Catalina implements Sun Microsystems' specifications for servlet and JavaServer Pages (JSP). good luck ;-) On Tue, Nov 10, 2009 at 5:29 PM, Terry Bordeleau <terrybordeleau@...> wrote: > Has any one else seen this > > Everything runs well until the section > "Now we’ll enable the new echart interface". > When I issued command > " java > -cp .:/usr/local/tomcat/webapps/oscar/WEB-INF/lib/mysql-connector-java-3.0.11-stable-bin.jar importCasemgmt /usr/local/tomcat/oscar.properties ", > I got error > " Could not open properties file: > /usr/local/tomcat/oscar.properties (No such file or directory) " > A check ("ls") on directory /usr/local/tomcat shows that indeed file > oscar.properties is NOT there. > > Terry Bordeleau > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Oscarmcmaster-devel mailing list > Oscarmcmaster-devel@... > https://lists.sourceforge.net/lists/listinfo/oscarmcmaster-devel > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Oscarmcmaster-devel mailing list Oscarmcmaster-devel@... https://lists.sourceforge.net/lists/listinfo/oscarmcmaster-devel |
| Free embeddable forum powered by Nabble | Forum Help |