#788 closed (fixed)
Update of template files and scripts to allow new versions of external software
Reported by: | olle | Owned by: | olle |
---|---|---|---|
Milestone: | Proteios SE 2.17.0 | Keywords: | |
Cc: |
Description
Configuration template files and scripts should be updated to allow Proteios SE to work with new versions of external software. The updates range from those necessary to use a new external software version, to updates that simplify use of the latter. The updates should include:
- Configuration template files
client/servlet/conf/proteios.config.in
andclient/ftpd/conf/ftp.properties.in
: Settingdb.dialect
should be updated fromorg.hibernate.dialect.MySQLInnoDBDialect
toorg.hibernate.dialect.MySQL5InnoDBDialect
, in order to simplify use of MySQL version 5.5 (the new setting should still be compatible with the currently recommended version MySQL 5.1). - Unix/Linux *.sh shell scripts should have the so called "shebang" line (the first line defining a command shell) changed from "
#!/bin/sh
" to "#!/bin/bash
", in order to make the scripts work on Ubunto Linux without explicitly defining the shell. On most Linux distributions/bin/sh
is linked to/bin/bash
, so the change should not be noticed, while Ubunto linksbin/sh
to/bin/dash
, and therefore requires the update, since some functionality in/bin/bash
is missing in the latter.
Change History (9)
comment:1 Changed 11 years ago by
Status: | new → assigned |
---|
comment:2 Changed 11 years ago by
Design discussion.
- The issue of the
db.dialect
change is discussed for Proteios SE sister project BASE (http://base.thep.lu.se) in BASE Ticket #1566 (MySQL 5.5 no longer supports CREATE TABLE ... TYPE=InnoDB).
comment:3 Changed 11 years ago by
comment:4 Changed 11 years ago by
Design descussion.
The following *.sh shell scripts should have their shebang line changed from "#!/bin/sh
" to "#!/bin/bash
":
- client/servlet/test/src/webservice/run.sh
- client/servlet/www/WEB-INF/init.sh
- client/servlet/www/WEB-INF/update.sh
- doc/course/install.sh
- doc/course/src/exercise/bin/new_project.sh
- misc/install/install.sh
- misc/shell.sh
comment:5 Changed 11 years ago by
comment:6 Changed 11 years ago by
New issue - Using Proteios SE with Tomcat 7.
When installing Proteios SE on a system using Tomcat 7 (Tomcat 7.0.30 for the test system),
when the latter was restarted and one tried to access Proteios SE in the web browser
(on the test system via URL http://localhost:8080/proteios/
), an error message was displayed for the <error-page> tags in the web.xml file (java.lang.NoSuchMethodException: org.apache.catalina.WebXml addErrorPage
).
Inspection revealed that the problem was caused by the files catalina.jar and catalina-optional.jar in $CATALINA_HOME/webapps/proteios/WEB-INF/lib/, and that the files were not needed in that directory, although they might be needed at an earlier stage in the software building process. Further tests showed that the files also were not needed on systems using Tomcat 6, although they did not cause any problems there. The outermost ant build file build.xml should therefore be updated to exclude these files when copying files to an intermediate directory, from which files are later copied to directory $CATALINA_HOME/webapps/proteios/WEB-INF/lib/ during the installation.
comment:7 Changed 11 years ago by
comment:8 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Ticket closed as fixes for the known issues have been added.
Ticket accepted.