Both sides previous revision
Previous revision
Next revision
|
Previous revision
|
docpublic:systemes:esup:esup_socle_4_c7 [2015/05/21 14:10] procacci@tem-tsp.eu [build initial] |
docpublic:systemes:esup:esup_socle_4_c7 [2016/05/27 13:14] (current) procacci@tem-tsp.eu [parametrage] |
| |
http://stackoverflow.com/questions/3320400/to-prevent-a-memory-leak-the-jdbc-driver-has-been-forcibly-unregistered | http://stackoverflow.com/questions/3320400/to-prevent-a-memory-leak-the-jdbc-driver-has-been-forcibly-unregistered |
| |
| |
| ==== pb demarrage postgres ===== |
| |
| https://github.com/openshift/postgresql/issues/97 |
| |
| <code> |
| $ systemctl status postgresql.service |
| * postgresql.service - PostgreSQL database server |
| Loaded: loaded (/usr/lib/systemd/system/postgresql.service; enabled; vendor preset: disabled) |
| Active: failed (Result: exit-code) since Wed 2016-05-25 14:58:07 CEST; 1min 38s ago |
| Process: 326 ExecStart=/usr/bin/pg_ctl start -D ${PGDATA} -s -o -p ${PGPORT} -w -t 300 (code=exited, status=1/FAILURE |
| May 25 14:58:06 esup4dz pg_ctl[326]: DETAIL: Failed system call was shmget(key=5432001, size=41222144, 03600). |
| May 25 14:58:06 esup4dz pg_ctl[326]: HINT: This error usually means that PostgreSQL's request for a shared memory segment exceeded your kernel's SHMMAX parameter. You can ... |
| May 25 14:58:06 esup4dz pg_ctl[326]: If the request size is already small, it's possible that it is less than your kernel's SHMMIN parameter, in which case raisin...called for. |
| May 25 14:58:06 esup4dz pg_ctl[326]: The PostgreSQL documentation contains more information about shared memory configuration. |
| May 25 14:58:07 esup4dz pg_ctl[326]: pg_ctl: could not start server |
| May 25 14:58:07 esup4dz pg_ctl[326]: Examine the log output. |
| May 25 14:58:07 esup4dz systemd[1]: postgresql.service: control process exited, code=exited status=1 |
| </code> |
| |
| |
| resolution : http://www.cyber-neurones.org/2015/11/postgresql-maximum-de-connexion-en-simultanes/ |
| |
| |
| reduction du nombre de connexion max par defaut et augmentation shmmax |
| <code> |
| [root@esup4dz /var/log] |
| $ grep max_connections /var/lib/pgsql/data/postgresql.conf |
| max_connections = 25 # (change requires restart) |
| |
| |
| |
| $ cat /proc/sys/kernel/shmmax |
| 33554432 |
| [root@esup4dz /var/log] |
| $ sysctl -w kernel.shmmax=44554432 |
| kernel.shmmax = 44554432 |
| [root@esup4dz /var/log] |
| $ cat /proc/sys/kernel/shmmax |
| 44554432 |
| |
| $ systemctl start postgresql.service |
| [root@esup4dz /var/log] |
| $ systemctl status postgresql.service |
| * postgresql.service - PostgreSQL database server |
| Loaded: loaded (/usr/lib/systemd/system/postgresql.service; enabled; vendor preset: disabled) |
| Active: active (running) since Wed 2016-05-25 15:22:31 CEST; 4s ago |
| </code> |
===== Pre-requis Java ===== | ===== Pre-requis Java ===== |
| |
</code> | </code> |
| |
| |
==== erreur corrigées ==== | |
| |
| |
=== si pb de permission denied === | |
| |
<code> | |
/home/esup/esup-uportal/build.xml:657: java.io.FileNotFoundException: /var/lib/tomcat6/shared/lib/person-directory-api.jar (Permission denied) | |
</code> | |
| |
alors donner les droits au user esup de deposer des jar dans ce repertoire (usage ici du group tomcat en ecriture) | |
| |
<code> | |
[root@esup4dev /]# ls -ald /var/lib/tomcat6/shared/lib/ | |
drwxr-xr-x 2 root root 4096 May 13 16:20 /var/lib/tomcat6/shared/lib/ | |
[root@esup4dev /]# chgrp tomcat /var/lib/tomcat6/shared/lib/ | |
[root@esup4dev /]# chmod 775 /var/lib/tomcat6/shared/lib/ | |
[root@esup4dev /]# ls -ald /var/lib/tomcat6/shared/lib/ | |
drwxrwxr-x 2 root tomcat 4096 May 13 16:20 /var/lib/tomcat6/shared/lib/ | |
</code> | |
| |
effectivement apres le *ant clean initportal* on retrouve bien : | |
| |
<code> | |
[root@esup4dev /]# ls -ltr /var/lib/tomcat6/shared/lib/ | |
total 180 | |
-rw-r--r-- 1 esup tomcat 8169 May 19 18:16 person-directory-api.jar | |
-rw-r--r-- 1 esup tomcat 15048 May 19 18:16 ccpp.jar | |
-rw-r--r-- 1 esup tomcat 48049 May 19 18:16 portlet-api.jar | |
-rw-r--r-- 1 esup tomcat 42767 May 19 18:16 pluto-taglib.jar | |
-rw-r--r-- 1 esup tomcat 23436 May 19 18:16 pluto-container-driver-api.jar | |
-rw-r--r-- 1 esup tomcat 39576 May 19 18:16 pluto-container-api.jar | |
</code> | |
| |
=== Erreur variable 'univEntServerHost' === | |
| |
au lancement de | |
| |
$ ant -Dmaven.test.skip=true clean initportal | |
| |
on a constaté cette erreur a propos des variables univEntServer* (alternative ne pas utiliser ces variables ...! ) | |
| |
.... ZZZZ ... qq minutes .... | |
| |
[java] Exception in thread "main" org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'jsonThemeTransformComponent' defined in class path resource [properties/contexts/jsonRenderingPipelineContext.xml]: Could not resolve placeholder 'univEntServerHost' in string value "https://cas.univ.fr/login?service=https://${univEntServerHost}/uPortal/Login" | |
[java] at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:209) | |
| |
il faut definir/declarer ces variables "univEntServerHost" dans le build.xml meme avec une valeur bidon, sinon on a ce plantage a cause de l'usage des varaibles d'environement sur les hostnames que l'on a utiliser dans notre parametrage | |
| |
<code> | |
[esup@esup4dev esup-uportal]$ git commit -a -m "declaration des variables univEntServerHostNum et univEntServerHost dans build.xml, JP " | |
[ecampusdev f352068] declaration des variables univEntServerHostNum et univEntServerHost dans build.xml, JP | |
1 files changed, 4 insertions(+), 0 deletions(-) | |
| |
[esup@esup4dev esup-uportal]$ git diff c5d280e build.xml | |
diff --git a/build.xml b/build.xml | |
index 0ed2d4f..219841f 100644 | |
--- a/build.xml | |
+++ b/build.xml | |
@@ -458,6 +458,8 @@ | |
<java fork="true" failonerror="true" dir="${basedir}" classname="org.jasig.portal.shell.PortalShell"> | |
<jvmarg value="-XX:MaxPermSize=256m"/> | |
<sysproperty key="log4j.configuration" value="command-line.log4j.properties" /> | |
+ <sysproperty key="univEntServerHostNum" value="bidon" /> | |
+ <sysproperty key="univEntServerHost" value="bidon" /> | |
<classpath refid="uportal-war-full.classpath" /> | |
<arg value="-s" /> | |
<arg value="${script}" /> | |
@@ -468,6 +470,8 @@ | |
| |
<java fork="true" failonerror="true" dir="${basedir}" classname="org.jasig.portal.shell.PortalShell"> | |
<sysproperty key="log4j.configuration" value="command-line.log4j.properties" /> | |
+ <sysproperty key="univEntServerHostNum" value="bidon" /> | |
+ <sysproperty key="univEntServerHost" value="bidon" /> | |
<classpath refid="uportal-war-full.classpath" /> | |
</java> | |
</else> | |
| |
</code> | |
| |
| |
| |
| ===== database cree ===== |
| |
Au final, on a une base de donnée remplie de plusieurs tables et sequences: | Au final, on a une base de donnée remplie de plusieurs tables et sequences: |
| |
<code> | <code> |
[esup@esup4dev esup-uportal]$ psql -d uportal4dev -U useresup -h 127.0.0.1 -W | [esup@esup4dz ~/esup-uportal] |
Password for user useresup: | $ psql -d uportaldz -U uportaluz -h 127.0.0.1 -W |
psql (8.4.20) | Password for user uportaluz: |
| psql (9.2.10) |
Type "help" for help. | Type "help" for help. |
| |
uportal4dev=> \d | uportaldz=> \d |
List of relations | List of relations |
Schema | Name | Type | Owner | Schema | Name | Type | Owner |
--------+-------------------------------+----------+---------- | --------+-------------------------------+----------+----------- |
public | admins | table | useresup | public | admins | table | uportaluz |
public | announcement | table | useresup | public | announcement | table | uportaluz |
public | announcement_attachment | table | useresup | public | announcement_attachment | table | uportaluz |
public | audience | table | useresup | public | audience | table | uportaluz |
public | authors | table | useresup | public | authors | table | uportaluz |
public | calendar_configuration | table | useresup | public | calendar_configuration | table | uportaluz |
public | calendar_parameter | table | useresup | public | calendar_parameter | table | uportaluz |
public | calendar_preference | table | useresup | public | calendar_preference | table | uportaluz |
public | calendar_role | table | useresup | public | calendar_role | table | uportaluz |
public | calendar_store | table | useresup | public | calendar_store | table | uportaluz |
public | hibernate_sequence | sequence | useresup | public | hibernate_sequence | sequence | uportaluz |
public | hibernate_sequences | table | useresup | public | hibernate_sequences | table | uportaluz |
public | moderators | table | useresup | public | moderators | table | uportaluz |
public | news_configuration | table | useresup | public | news_configuration | table | uportaluz |
public | news_definition | table | useresup | public | news_definition | table | uportaluz |
public | news_parameter | table | useresup | public | news_parameter | table | uportaluz |
public | news_preference | table | useresup | public | news_preference | table | uportaluz |
public | news_role | table | useresup | public | news_role | table | uportaluz |
public | news_set | table | useresup | public | news_set | table | uportaluz |
public | scm_attachment | table | useresup | public | scm_attachment | table | uportaluz |
public | subscription | table | useresup | public | subscription | table | uportaluz |
public | topic | table | useresup | public | topic | table | uportaluz |
public | up_academic_term_detail | table | useresup | public | up_academic_term_detail | table | uportaluz |
public | up_academic_term_detail_seq | sequence | useresup | public | up_academic_term_detail_seq | sequence | uportaluz |
public | up_aggr_group_mapping | table | useresup | public | up_aggr_group_mapping | table | uportaluz |
public | up_aggr_group_mapping_seq | sequence | useresup | public | up_aggr_group_mapping_seq | sequence | uportaluz |
public | up_aggr_portlet_mapping | table | useresup | public | up_aggr_portlet_mapping | table | uportaluz |
public | up_aggr_portlet_mapping_seq | sequence | useresup | public | up_aggr_portlet_mapping_seq | sequence | uportaluz |
public | up_aggr_tab_mapping | table | useresup | public | up_aggr_tab_mapping | table | uportaluz |
public | up_aggr_tab_mapping_seq | sequence | useresup | public | up_aggr_tab_mapping_seq | sequence | uportaluz |
public | up_concurrent_user_aggr | table | useresup | public | up_attachment_seq | sequence | uportaluz |
public | up_concurrent_user_aggr_seq | sequence | useresup | public | up_concurrent_user_aggr | table | uportaluz |
public | up_date_dimension | table | useresup | public | up_concurrent_user_aggr_seq | sequence | uportaluz |
public | up_date_dimension_seq | sequence | useresup | public | up_date_dimension | table | uportaluz |
public | up_dlm_evaluator | table | useresup | public | up_date_dimension_seq | sequence | uportaluz |
public | up_dlm_evaluator_paren | table | useresup | public | up_dlm_evaluator | table | uportaluz |
public | up_dlm_evaluator_seq | sequence | useresup | public | up_dlm_evaluator_paren | table | uportaluz |
public | up_entity_cache_invalidation | table | useresup | public | up_dlm_evaluator_seq | sequence | uportaluz |
public | up_entity_lock | table | useresup | public | up_entity_cache_invalidation | table | uportaluz |
public | up_entity_prop | table | useresup | public | up_entity_lock | table | uportaluz |
public | up_entity_type | table | useresup | public | up_entity_prop | table | uportaluz |
public | up_event_aggr_conf_groups | table | useresup | public | up_entity_type | table | uportaluz |
public | up_event_aggr_conf_groups_exc | table | useresup | public | up_event_aggr_conf_groups | table | uportaluz |
public | up_event_aggr_conf_groups_inc | table | useresup | public | up_event_aggr_conf_groups_exc | table | uportaluz |
public | up_event_aggr_conf_groups_seq | sequence | useresup | public | up_event_aggr_conf_groups_inc | table | uportaluz |
public | up_event_aggr_conf_intrvl | table | useresup | public | up_event_aggr_conf_groups_seq | sequence | uportaluz |
public | up_event_aggr_conf_intrvl_exc | table | useresup | public | up_event_aggr_conf_intrvl | table | uportaluz |
public | up_event_aggr_conf_intrvl_inc | table | useresup | public | up_event_aggr_conf_intrvl_exc | table | uportaluz |
public | up_event_aggr_conf_intrvl_seq | sequence | useresup | public | up_event_aggr_conf_intrvl_inc | table | uportaluz |
public | up_event_aggr_status | table | useresup | public | up_event_aggr_conf_intrvl_seq | sequence | uportaluz |
public | up_event_aggr_status_seq | sequence | useresup | public | up_event_aggr_status | table | uportaluz |
public | up_event_session | table | useresup | public | up_event_aggr_status_seq | sequence | uportaluz |
public | up_event_session_groups | table | useresup | public | up_event_session | table | uportaluz |
public | up_event_session_seq | sequence | useresup | public | up_event_session_groups | table | uportaluz |
public | up_group | table | useresup | public | up_event_session_seq | sequence | uportaluz |
public | up_group_membership | table | useresup | public | up_group | table | uportaluz |
public | up_jgroups_auth | table | useresup | public | up_group_membership | table | uportaluz |
public | up_jgroups_ping | table | useresup | public | up_jgroups_auth | table | uportaluz |
public | up_layout_param | table | useresup | public | up_jgroups_ping | table | uportaluz |
public | up_layout_struct | table | useresup | public | up_layout_param | table | uportaluz |
public | up_login_event_aggr | table | useresup | public | up_layout_struct | table | uportaluz |
public | up_login_event_aggr_seq | sequence | useresup | public | up_login_event_aggr | table | uportaluz |
public | up_message | table | useresup | public | up_login_event_aggr_seq | sequence | uportaluz |
public | up_message_seq | sequence | useresup | public | up_message | table | uportaluz |
public | up_mutex | table | useresup | public | up_message_seq | sequence | uportaluz |
public | up_mutex_seq | sequence | useresup | public | up_mutex | table | uportaluz |
public | up_permission | table | useresup | public | up_mutex_seq | sequence | uportaluz |
public | up_permission_activity | table | useresup | public | up_permission | table | uportaluz |
public | up_permission_activity_seq | sequence | useresup | public | up_permission_activity | table | uportaluz |
public | up_permission_owner | table | useresup | public | up_permission_activity_seq | sequence | uportaluz |
public | up_permission_owner_seq | sequence | useresup | public | up_permission_owner | table | uportaluz |
public | up_person_attr | table | useresup | public | up_permission_owner_seq | sequence | uportaluz |
public | up_person_attr_seq | sequence | useresup | public | up_person_attr | table | uportaluz |
public | up_person_attr_values | table | useresup | public | up_person_attr_seq | sequence | uportaluz |
public | up_person_dir | table | useresup | public | up_person_attr_values | table | uportaluz |
public | up_person_dir_seq | sequence | useresup | public | up_person_dir | table | uportaluz |
public | up_portal_cookies | table | useresup | public | up_person_dir_seq | sequence | uportaluz |
public | up_portal_cookies_seq | sequence | useresup | public | up_portal_cookies | table | uportaluz |
public | up_portlet_cookies | table | useresup | public | up_portal_cookies_seq | sequence | uportaluz |
public | up_portlet_cookies_seq | sequence | useresup | public | up_portlet_cookies | table | uportaluz |
public | up_portlet_def | table | useresup | public | up_portlet_cookies_seq | sequence | uportaluz |
public | up_portlet_def_mdata | table | useresup | public | up_portlet_def | table | uportaluz |
public | up_portlet_def_param | table | useresup | public | up_portlet_def_mdata | table | uportaluz |
public | up_portlet_def_param_seq | sequence | useresup | public | up_portlet_def_param | table | uportaluz |
public | up_portlet_def_seq | sequence | useresup | public | up_portlet_def_param_seq | sequence | uportaluz |
public | up_portlet_ent | table | useresup | public | up_portlet_def_seq | sequence | uportaluz |
public | up_portlet_ent__states | table | useresup | public | up_portlet_ent | table | uportaluz |
public | up_portlet_ent_seq | sequence | useresup | public | up_portlet_ent__states | table | uportaluz |
public | up_portlet_exec_aggr | table | useresup | public | up_portlet_ent_seq | sequence | uportaluz |
public | up_portlet_exec_aggr_seq | sequence | useresup | public | up_portlet_exec_aggr | table | uportaluz |
public | up_portlet_layout_aggr | table | useresup | public | up_portlet_exec_aggr_seq | sequence | uportaluz |
public | up_portlet_pref | table | useresup | public | up_portlet_layout_aggr | table | uportaluz |
public | up_portlet_pref_seq | sequence | useresup | public | up_portlet_pref | table | uportaluz |
public | up_portlet_pref_values | table | useresup | public | up_portlet_pref_seq | sequence | uportaluz |
public | up_portlet_prefs | table | useresup | public | up_portlet_pref_values | table | uportaluz |
public | up_portlet_prefs_seq | sequence | useresup | public | up_portlet_prefs | table | uportaluz |
public | up_portlet_type | table | useresup | public | up_portlet_prefs_seq | sequence | uportaluz |
public | up_portlet_type_seq | sequence | useresup | public | up_portlet_type | table | uportaluz |
public | up_quarter_detail | table | useresup | public | up_portlet_type_seq | sequence | uportaluz |
public | up_quarter_detail_seq | sequence | useresup | public | up_quarter_detail | table | uportaluz |
public | up_raw_events | table | useresup | public | up_quarter_detail_seq | sequence | uportaluz |
public | up_raw_events_seq | sequence | useresup | public | up_raw_events | table | uportaluz |
public | up_search_req_aggr | table | useresup | public | up_raw_events_seq | sequence | uportaluz |
public | up_sequence | table | useresup | public | up_search_req_aggr | table | uportaluz |
public | up_ss_desc | table | useresup | public | up_sequence | table | uportaluz |
public | up_ss_desc_lay_attr | table | useresup | public | up_ss_desc | table | uportaluz |
public | up_ss_desc_lay_attr_elms | table | useresup | public | up_ss_desc_lay_attr | table | uportaluz |
public | up_ss_desc_lay_attr_seq | sequence | useresup | public | up_ss_desc_lay_attr_elms | table | uportaluz |
public | up_ss_desc_output_prop | table | useresup | public | up_ss_desc_lay_attr_seq | sequence | uportaluz |
public | up_ss_desc_output_prop_seq | sequence | useresup | public | up_ss_desc_output_prop | table | uportaluz |
public | up_ss_desc_param | table | useresup | public | up_ss_desc_output_prop_seq | sequence | uportaluz |
public | up_ss_desc_param_seq | sequence | useresup | public | up_ss_desc_param | table | uportaluz |
public | up_ss_desc_seq | sequence | useresup | public | up_ss_desc_param_seq | sequence | uportaluz |
public | up_ss_user_pref | table | useresup | public | up_ss_desc_seq | sequence | uportaluz |
public | up_ss_user_pref_lay_attr | table | useresup | public | up_ss_user_pref | table | uportaluz |
public | up_ss_user_pref_lay_attr_seq | sequence | useresup | public | up_ss_user_pref_lay_attr | table | uportaluz |
public | up_ss_user_pref_lay_attr_val | table | useresup | public | up_ss_user_pref_lay_attr_seq | sequence | uportaluz |
public | up_ss_user_pref_output_prop | table | useresup | public | up_ss_user_pref_lay_attr_val | table | uportaluz |
public | up_ss_user_pref_param | table | useresup | public | up_ss_user_pref_output_prop | table | uportaluz |
public | up_ss_user_pref_seq | sequence | useresup | public | up_ss_user_pref_param | table | uportaluz |
public | up_tab_render_aggr | table | useresup | public | up_ss_user_pref_seq | sequence | uportaluz |
public | up_tab_render_aggr_seq | sequence | useresup | public | up_tab_render_aggr | table | uportaluz |
public | up_time_dimension | table | useresup | public | up_tab_render_aggr_seq | sequence | uportaluz |
public | up_time_dimension_seq | sequence | useresup | public | up_time_dimension | table | uportaluz |
public | up_unique_str | table | useresup | public | up_time_dimension_seq | sequence | uportaluz |
public | up_unique_str_segment | table | useresup | public | up_unique_str | table | uportaluz |
public | up_unique_str_segment__uids | table | useresup | public | up_unique_str_segment | table | uportaluz |
public | up_unique_str_segment_seq | sequence | useresup | public | up_unique_str_segment__uids | table | uportaluz |
public | up_unique_str_seq | sequence | useresup | public | up_unique_str_segment_seq | sequence | uportaluz |
public | up_user | table | useresup | public | up_unique_str_seq | sequence | uportaluz |
public | up_user_fragment_sub_seq | sequence | useresup | public | up_user | table | uportaluz |
public | up_user_fragment_subscription | table | useresup | public | up_user_fragment_sub_seq | sequence | uportaluz |
public | up_user_layout | table | useresup | public | up_user_fragment_subscription | table | uportaluz |
public | up_user_locale | table | useresup | public | up_user_layout | table | uportaluz |
public | up_user_profile | table | useresup | public | up_user_locale | table | uportaluz |
public | up_version | table | useresup | public | up_user_profile | table | uportaluz |
public | up_version_seq | sequence | useresup | public | up_version | table | uportaluz |
(137 rows) | public | up_version_seq | sequence | uportaluz |
| (138 rows) |
</code> | </code> |
| |
| |
<code> | <code> |
uportal4dev=> select * from up_group; | uportaldz=> select * from up_group; |
group_id | creator_id | entity_type_id | group_name | description | group_id | creator_id | entity_type_id | group_name | description |
----------+------------+----------------+------------------------+------------------------------------------ | ----------+------------+----------------+------------------------+------------------------------------------ |
19 | system | 16 | Finances | Portlets financières et comptables | 19 | system | 16 | Actualités | Portlets d'actualités |
20 | system | 16 | Démonstration | Portlets de démonstration | 10 | system | 16 | Administration | Portlets d'administration |
10 | system | 12 | Fragment Owners | Propriétaires de fragments | 20 | system | 16 | Divertissement | Portlets de divertissement |
21 | system | 16 | Recherche | Portlets de recherche | 11 | system | 16 | uPortal | Portlets intégrées dans uPortal |
22 | system | 16 | Divertissement | Portlets de divertissement | 21 | system | 10 | Students | Tous les étudiants |
2 | system | 12 | Portal Administrators | Administrateurs du portail | 12 | system | 16 | Information | Portlets d'information |
0 | system | 12 | Everyone | Toutes les personnes | 0 | system | 10 | Everyone | Toutes les personnes |
11 | system | 12 | Subscribable Fragments | These are fragment layout owner accounts | 13 | system | 10 | Fragment Owners | Propriétaires de fragments |
23 | system | 16 | Conseil | Portlets pour les conseillers | 14 | system | 10 | Subscribable Fragments | These are fragment layout owner accounts |
24 | system | 16 | Tests | Portlets de tests | 22 | system | 16 | Enseignement | Portlets d'enseignement |
25 | system | 16 | Enseignants | Portlets pour les enseignants | 23 | system | 16 | Travail | Portlets métier |
12 | system | 12 | Guests | Anonymes | |
26 | system | 16 | Travail | Portlets métier | |
27 | system | 12 | Staff | Tout le personnel | |
13 | system | 12 | Portal System | Comptes systèmes du portail | |
28 | system | 12 | Faculty | Tous les enseignants | |
29 | system | 16 | Bibliothèque | Portlets de documentation | |
14 | system | 12 | Portal Developers | Développeurs autour du portail | |
15 | system | 16 | Développement | Portlets pour développeurs | |
30 | system | 16 | Actualités | Portlets d'actualités | |
16 | system | 16 | uPortal | Portlets intégrées dans uPortal | |
17 | system | 16 | Administration | Portlets d'administration | |
31 | system | 16 | Services | Portlets de services | |
18 | system | 16 | Information | Portlets d'information | |
32 | system | 16 | Enseignement | Portlets d'enseignement | |
33 | system | 12 | Students | Tous les étudiants | |
1 | system | 16 | All categories | Toutes les catégories de portlets | 1 | system | 16 | All categories | Toutes les catégories de portlets |
| 15 | system | 16 | Développement | Portlets pour développeurs |
| 24 | system | 16 | Démonstration | Portlets de démonstration |
| 25 | system | 16 | Tests | Portlets de tests |
| 26 | system | 16 | Bibliothèque | Portlets de documentation |
| 27 | system | 16 | Finances | Portlets financières et comptables |
| 2 | system | 10 | Portal Administrators | Administrateurs du portail |
| 28 | system | 16 | Services | Portlets de services |
| 29 | system | 10 | Faculty | Tous les enseignants |
| 30 | system | 10 | Staff | Tout le personnel |
| 16 | system | 10 | Portal Developers | Développeurs autour du portail |
| 31 | system | 16 | Recherche | Portlets de recherche |
| 32 | system | 16 | Enseignants | Portlets pour les enseignants |
| 33 | system | 16 | Conseil | Portlets pour les conseillers |
| 17 | system | 10 | Guests | Anonymes |
| 18 | system | 10 | Portal System | Comptes systèmes du portail |
(27 rows) | (27 rows) |
| |
| |
uportal4dev=> select * from up_group_membership; | uportaldz=> select * from up_group_membership; |
group_id | member_service | member_key | member_is_group | group_id | member_service | member_key | member_is_group |
----------+----------------+---------------------+----------------- | ----------+----------------+---------------------+----------------- |
16 | local | 1 | F | 11 | local | 1 | F |
16 | local | 2 | F | 11 | local | 2 | F |
... | 15 | local | 3 | F |
10 | local | academics-lo | F | 11 | local | 4 | F |
10 | local | admin-lo | F | 10 | local | 7 | F |
10 | local | all-lo | F | 10 | local | 8 | F |
10 | local | campus-lo | F | 11 | local | 10 | F |
10 | local | developer-lo | F | 11 | local | 11 | F |
10 | local | faculty-lo | F | 11 | local | 12 | F |
10 | local | fragmentTemplate | F | 11 | local | 13 | F |
10 | local | guest-lo | F | 11 | local | 14 | F |
10 | local | news-lo | F | 11 | local | 15 | F |
10 | local | staff-lo | F | 10 | local | 15 | F |
10 | local | student-lo | F | 11 | local | 17 | F |
10 | local | welcome-lo | F | 15 | local | 18 | F |
10 | local | 11 | T | 10 | local | 19 | F |
| 10 | local | 20 | F |
| 11 | local | 21 | F |
| 12 | local | 22 | F |
| 11 | local | 23 | F |
| 10 | local | 24 | F |
| 11 | local | 25 | F |
| 15 | local | 26 | F |
| 10 | local | 27 | F |
| 12 | local | 28 | F |
| 21 | local | student | F |
| 21 | local | student-lo | F |
| 0 | pags | authenticated_users | T |
| 0 | pags | pags_root | T |
| 0 | local | 29 | T |
| 0 | local | 17 | T |
| 0 | local | 18 | T |
| 0 | local | 30 | T |
| 0 | local | 21 | T |
| 13 | local | academics-lo | F |
| 13 | local | admin-lo | F |
| 13 | local | all-lo | F |
| 13 | local | campus-lo | F |
| 13 | local | developer-lo | F |
| 13 | local | faculty-lo | F |
| 13 | local | fragmentTemplate | F |
| 13 | local | guest-lo | F |
| 13 | local | news-lo | F |
| 13 | local | staff-lo | F |
| 13 | local | student-lo | F |
| 13 | local | welcome-lo | F |
| 13 | local | 14 | T |
| 14 | local | ent-lo | F |
| 14 | local | news-lo | F |
| 1 | local | 22 | T |
| 1 | local | 10 | T |
| 1 | local | 33 | T |
| 1 | local | 24 | T |
| 1 | local | 15 | T |
| 1 | local | 20 | T |
| 1 | local | 27 | T |
| 1 | local | 12 | T |
| 1 | local | 32 | T |
| 1 | local | 26 | T |
| 1 | local | 19 | T |
| 1 | local | 31 | T |
| 1 | local | 28 | T |
| 1 | local | 25 | T |
| 1 | local | 23 | T |
| 1 | local | 11 | T |
2 | local | admin | F | 2 | local | admin | F |
2 | local | admin-lo | F | 2 | local | admin-lo | F |
0 | pags | authenticated_users | T | 29 | local | faculty | F |
0 | pags | pags_root | T | 29 | local | faculty-lo | F |
0 | local | 28 | T | 30 | local | staff | F |
... | 30 | local | staff-lo | F |
20 | local | 81 | F | 16 | local | admin | F |
18 | local | 82 | F | 16 | local | admin-lo | F |
(135 rows) | 16 | local | developer | F |
| 16 | local | developer-lo | F |
| 16 | local | staff | F |
| 16 | local | staff-lo | F |
| 17 | local | guest | F |
| 17 | local | guest-lo | F |
| 18 | local | 13 | T |
| 18 | local | 2 | T |
| .... |
| 12 | local | 82 | F |
| (134 rows) |
</code> | </code> |
| |
| |
<code> | <code> |
[root@esup4dev /]# yum install mod_ssl | [root@esup4dz ~] |
| $ yum install mod_ssl |
Installed: | Installed: |
mod_ssl.i686 1:2.2.15-30.el6.centos | mod_ssl.x86_64 1:2.4.6-31.el7.centos |
Complete! | Complete! |
</code> | </code> |
| |
<code> | <code> |
[root@esup4dev /]# grep SSLCertificate /etc/httpd/conf.d/ssl.conf | [root@esup4dz /etc/httpd/conf.d] |
| $ grep SSLCertificate /etc/httpd/conf.d/ssl.conf |
SSLCertificateFile /etc/pki/tls/certs/cert-xxxx--.tem-tsp.eu.pem | SSLCertificateFile /etc/pki/tls/certs/cert-2877-_.tem-tsp.eu.pem |
SSLCertificateKeyFile /etc/pki/tls/private/secret-temtsp.key | SSLCertificateKeyFile /etc/pki/tls/private/cert-2877.key |
SSLCertificateChainFile /etc/pki/tls/certs/chain-xxxx-.tem-tsp.eu.pem | SSLCertificateChainFile /etc/pki/tls/certs/chain-2877-_.tem-tsp.eu.pem |
</code> | </code> |
| |
<code> | <code> |
[root@esup4dev /]# tail -9 /etc/httpd/conf/httpd.conf | [root@esup4dz /etc/httpd/conf.d] |
| $ tail -9 /etc/httpd/conf/httpd.conf |
| |
ProxyPass /uPortal ajp://localhost:8009/uPortal retry=1 | ProxyPass /uPortal ajp://localhost:8009/uPortal retry=1 |
ProxyPass /WebProxyPortlet ajp://localhost:8009/WebProxyPortlet retry=1 | ProxyPass /WebProxyPortlet ajp://localhost:8009/WebProxyPortlet retry=1 |
ProxyPass /manager ajp://localhost:8009/manager retry=1 | ProxyPass /manager ajp://localhost:8009/manager retry=1 |
| |
</code> | </code> |
| |
| |
http://esup4dev.tem-tsp.eu/uPortal/render.userLayoutRootNode.uP | http://esup4dev.tem-tsp.eu/uPortal/render.userLayoutRootNode.uP |
| |
| doc esup sur pool de DB |
| |
| https://www.esup-portail.org/wiki/pages/viewpage.action?pageId=260898894 |
| |
===== SSL ===== | ===== SSL ===== |
| |
</code> | </code> |
==== esup-filemanager ==== | |
| ===== esup-filemanager 3 ===== |
| |
| https://www.esup-portail.org/wiki/display/PROJCANSTOCK/Esup+File+Manager |
| |
| on va utiliser git pour recuperer le source |
| |
| <code> |
| [esup@esup4dz ~/portlet] |
| $ git clone https://github.com/EsupPortail/esup-filemanager.git |
| Cloning into 'esup-filemanager'... |
| remote: Counting objects: 5383, done. |
| remote: Total 5383 (delta 0), reused 0 (delta 0), pack-reused 5383 |
| Receiving objects: 100% (5383/5383), 1.89 MiB | 1.18 MiB/s, done. |
| Resolving deltas: 100% (1908/1908), done. |
| [esup@esup4dz ~/portlet] |
| $ cd esup-filemanager/ |
| [esup@esup4dz ~/portlet/esup-filemanager] |
| $ ls |
| LICENSE NOTICE pom.xml src |
| </code> |
| |
| visualisation de l'existant |
| <code> |
| [esup@esup4dz ~/portlet/esup-filemanager] |
| $ git config --global color.ui auto |
| [esup@esup4dz ~/portlet/esup-filemanager] |
| $ git branch -a |
| * master |
| remotes/origin/HEAD -> origin/master |
| remotes/origin/esup-filemanager-portlet_1_0 |
| remotes/origin/master |
| |
| [esup@esup4dz ~/portlet/esup-filemanager] |
| $ git remote -v |
| origin https://github.com/EsupPortail/esup-filemanager.git (fetch) |
| origin https://github.com/EsupPortail/esup-filemanager.git (push) |
| [esup@esup4dz ~/portlet/esup-filemanager] |
| $ tig |
| [esup@esup4dz ~/portlet/esup-filemanager] |
| $ git tag |
| esup-filemanager-2.1.0 |
| esup-filemanager-2.2.0 |
| esup-filemanager-2.2.1 |
| esup-filemanager-2.2.2 |
| esup-filemanager-3.0.0 |
| esup-filemanager-3.1.0 |
| |
| </code> |
| |
| on se met le dernier tag/release plutot que de rester sur les "nigthly build" (cf tig) |
| et on met notre propre branche . |
| <code> |
| [esup@esup4dz ~/portlet/esup-filemanager] |
| $ git checkout -b esup-filemanager-3.1.0-tem-tsp esup-filemanager-3.1.0 |
| Switched to a new branch 'esup-filemanager-3.1.0-tem-tsp' |
| |
| [esup@esup4dz ~/portlet/esup-filemanager] |
| $ git branch |
| * esup-filemanager-3.1.0-tem-tsp |
| master |
| </code> |
| |
| ==== test localhost avec pluto ===== |
| |
| pluto container de portlet (tomcat container de servlet ...) permet de tester la portlet simplement |
| |
| on lance la portlet dans la container pluto |
| |
| <code> |
| [esup@esup4dz ~/portlet/esup-filemanager] |
| $ mvn clean portlet-prototyping:run |
| [INFO] Scanning for projects... |
| Downloading: http://repo.jlehtinen.net/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.5.1/maven-compiler-plugin-2.5.1.pom |
| |
| May 26, 2016 12:05:06 PM org.apache.pluto.driver.PortalStartupListener contextInitialized |
| INFO: Starting up Pluto Portal Driver. . . |
| May 26, 2016 12:05:06 PM org.springframework.web.context.ContextLoader initWebApplicationContext |
| INFO: Root WebApplicationContext: initialization started |
| May 26, 2016 12:05:06 PM org.mortbay.log.Slf4jLog info |
| INFO: Loading Spring root WebApplicationContext |
| May 26, 2016 12:05:06 PM org.springframework.core.CollectionFactory <clinit> |
| INFO: JDK 1.4+ collections available |
| May 26, 2016 12:05:06 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions |
| INFO: Loading XML bean definitions from ServletContext resource [/WEB-INF/pluto-portal-driver-services-config.xml] |
| May 26, 2016 12:05:06 PM org.springframework.context.support.AbstractRefreshableApplicationContext refreshBeanFactory |
| INFO: Bean factory for application context [Root WebApplicationContext]: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [PortletContainer,PlutoServices,PortalDriverServices,PortalContext,DriverConfiguration,AdminConfiguration,ResourceConfigFactory,PortalURLParser,RenderConfigService,SupportedModesService,SupportedWindowStatesService,PortletRequestContextService,EventCoordinationService,FilterManagerService,PortletURLListenerService,PortletContextService,RequestDispatcherService]; root of BeanFactory hierarchy |
| May 26, 2016 12:05:06 PM org.springframework.context.support.AbstractApplicationContext refresh |
| INFO: 17 beans defined in application context [Root WebApplicationContext] |
| May 26, 2016 12:05:06 PM org.springframework.context.support.AbstractApplicationContext initMessageSource |
| INFO: Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@a54379e] |
| May 26, 2016 12:05:06 PM org.springframework.context.support.AbstractApplicationContext initApplicationEventMulticaster |
| INFO: Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@7b93bc9d] |
| May 26, 2016 12:05:06 PM org.springframework.ui.context.support.UiApplicationContextUtils initThemeSource |
| INFO: Unable to locate ThemeSource with name 'themeSource': using default [org.springframework.ui.context.support.ResourceBundleThemeSource@65ad7f3f] |
| May 26, 2016 12:05:06 PM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons |
| INFO: Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [PortletContainer,PlutoServices,PortalDriverServices,PortalContext,DriverConfiguration,AdminConfiguration,ResourceConfigFactory,PortalURLParser,RenderConfigService,SupportedModesService,SupportedWindowStatesService,PortletRequestContextService,EventCoordinationService,FilterManagerService,PortletURLListenerService,PortletContextService,RequestDispatcherService]; root of BeanFactory hierarchy] |
| May 26, 2016 12:05:06 PM net.jlehtinen.portlet.prototyping.portal.PortletPrototypingRenderConfigServiceImpl addPortletPrototypingPage |
| INFO: Configuring Pluto portal for portlet prototyping |
| May 26, 2016 12:05:06 PM net.jlehtinen.portlet.prototyping.portal.PortletPrototypingRenderConfigServiceImpl addPortletPrototypingPage |
| INFO: Portlet context path = /esup-filemanager |
| May 26, 2016 12:05:06 PM net.jlehtinen.portlet.prototyping.portal.PortletPrototypingRenderConfigServiceImpl addPortletPrototypingPage |
| INFO: Portlet names = esup-filemanager |
| May 26, 2016 12:05:06 PM net.jlehtinen.portlet.prototyping.portal.PortletPrototypingRenderConfigServiceImpl addPortletPrototypingPage |
| INFO: Configured 1 portlets |
| May 26, 2016 12:05:06 PM org.apache.pluto.container.impl.PortletContainerImpl infoWithName |
| INFO: Portlet Container [pluto-portal-driver]: Container initialized successfully. |
| May 26, 2016 12:05:06 PM org.springframework.web.context.ContextLoader initWebApplicationContext |
| INFO: Using context class [org.springframework.web.context.support.XmlWebApplicationContext] for root WebApplicationContext |
| May 26, 2016 12:05:06 PM org.springframework.web.context.ContextLoader initWebApplicationContext |
| INFO: Root WebApplicationContext: initialization completed in 408 ms |
| May 26, 2016 12:05:06 PM org.apache.pluto.driver.PortalStartupListener contextInitialized |
| INFO: Initializing Portlet Container. . . |
| May 26, 2016 12:05:06 PM org.apache.pluto.driver.PortalStartupListener contextInitialized |
| INFO: Pluto portlet container started. |
| May 26, 2016 12:05:06 PM org.apache.pluto.driver.PortalStartupListener contextInitialized |
| INFO: ********** Pluto Portal Driver Started ********** |
| |
| |
| May 26, 2016 12:05:06 PM org.mortbay.log.Slf4jLog info |
| INFO: Started SelectChannelConnector@0.0.0.0:8080 |
| [INFO] Started Jetty Server |
| May 26, 2016 12:05:07 PM org.apache.pluto.driver.container.PortletContextManager fireRegistered |
| INFO: Portlet Context '/pluto' registered. |
| May 26, 2016 12:05:07 PM org.apache.pluto.driver.container.PortletContextManager register |
| INFO: Registered portlet application for context '/pluto' |
| May 26, 2016 12:05:07 PM org.apache.pluto.driver.container.PortletContextManager register |
| INFO: Registering 3 portlets for context //pluto |
| May 26, 2016 12:05:07 PM org.apache.pluto.driver.container.PortletContextManager register |
| INFO: Portlet application for context '/pluto' already registered. |
| May 26, 2016 12:05:07 PM org.apache.pluto.driver.container.PortletContextManager register |
| INFO: Portlet application for context '/pluto' already registered. |
| May 26, 2016 12:05:16 PM org.apache.pluto.driver.container.PortletContextManager fireRegistered |
| INFO: Portlet Context '/esup-filemanager' registered. |
| May 26, 2016 12:05:16 PM org.apache.pluto.driver.container.PortletContextManager register |
| INFO: Registered portlet application for context '/esup-filemanager' |
| May 26, 2016 12:05:16 PM org.apache.pluto.driver.container.PortletContextManager register |
| INFO: Registering 1 portlets for context //esup-filemanager |
| May 26, 2016 12:05:16 PM org.mortbay.log.Slf4jLog info |
| INFO: Initializing Spring FrameworkPortlet 'esup-filemanager' |
| |
| </code> |
| |
| c'est accessible via localhost:8080/ (mais si tomcat tourne conflit de port => arreter tomcat ) |
| |
| on peux aussi y acceder sur le FQDN http://esup4dz.tem-tsp.eu:8080/pluto/portal |
| |
| ne pas tenir compte du "404" (pas de context par defaut, il liste les 2 ) il suffit de cliquer sur le 2eme lien /pluto |
| |
| <code> |
| Error 404 - Not Found. |
| No context on this server matched or handled this request. |
| Contexts known to this server are: |
| |
| /esup-filemanager ---> org.mortbay.jetty.plugin.Jetty6PluginWebAppContext@3605ce8f{/esup-filemanager,/home/esup/portlet/esup-filemanager/src/main/webapp} |
| /pluto ---> org.mortbay.jetty.webapp.WebAppContext@7a3fafbd{/pluto,/home/esup/.m2/repository/net/jlehtinen/portlet/portlet-prototyping-portal/0.9/portlet-prototyping-portal-0.9.war} |
| </code> |
| |
| ==== parametrage ===== |
| |
| definir le serveur cas |
| |
| <code> |
| [esup@esup4dz ~/portlet/esup-filemanager] |
| $ vim ./src/main/webapp/WEB-INF/web.xml |
| [esup@esup4dz ~/portlet/esup-filemanager] |
| $ cp ./src/main/webapp/WEB-INF/web.xml ./src/main/webapp/WEB-INF/web.xml.orig |
| [esup@esup4dz ~/portlet/esup-filemanager] |
| $ vim ./src/main/webapp/WEB-INF/web.xml |
| [esup@esup4dz ~/portlet/esup-filemanager] |
| $ diff -ur ./src/main/webapp/WEB-INF/web.xml ./src/main/webapp/WEB-INF/web.xml.orig |
| --- ./src/main/webapp/WEB-INF/web.xml 2016-05-26 17:16:18.430542157 +0200 |
| +++ ./src/main/webapp/WEB-INF/web.xml.orig 2016-05-26 17:15:44.944549896 +0200 |
| @@ -80,7 +80,7 @@ |
| <servlet-class>edu.yale.its.tp.cas.proxy.ProxyTicketReceptor</servlet-class> |
| <init-param> |
| <param-name>edu.yale.its.tp.cas.proxyUrl</param-name> |
| - <param-value>https://cas16.tem-tsp.eu/proxy</param-value> |
| + <param-value>https://cas.mon-univ.fr/proxy</param-value> |
| </init-param> |
| </servlet> |
| </code> |
| |
| definir les drives que l'on vaux afficher dans le filemanager |
| |
| <code> |
| [esup@esup4dz ~/portlet/esup-filemanager] |
| $ cp ./src/main/webapp/WEB-INF/context/drives.xml ./src/main/webapp/WEB-INF/context/drives.xml.orig |
| [esup@esup4dz ~/portlet/esup-filemanager] |
| $ vim ./src/main/webapp/WEB-INF/context/drives.xml |
| </code> |
| |
| |
| === compilation === |
| |
| <code> |
| [esup@esup4dz ~/portlet/esup-filemanager] |
| $ mvn clean package |
| [INFO] Scanning for projects... |
| [INFO] |
| [INFO] ------------------------------------------------------------------------ |
| [INFO] Building esup-filemanager 3.1.0 |
| [INFO] ------------------------------------------------------------------------ |
| Downloading: http://repo.jlehtinen.net/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.10/maven-surefire-plugin-2.10.pom |
| ... |
| [INFO] Exploding webapp... |
| [INFO] Assembling webapp esup-filemanager in /home/esup/portlet/esup-filemanager/target/esup-filemanager |
| [INFO] Copy webapp webResources to /home/esup/portlet/esup-filemanager/target/esup-filemanager |
| [INFO] Generating war /home/esup/portlet/esup-filemanager/target/esup-filemanager.war |
| [INFO] Building war: /home/esup/portlet/esup-filemanager/target/esup-filemanager.war |
| [INFO] ------------------------------------------------------------------------ |
| [INFO] BUILD SUCCESS |
| [INFO] ------------------------------------------------------------------------ |
| [INFO] Total time: 12.007s |
| [INFO] Finished at: Thu May 26 17:25:41 CEST 2016 |
| [INFO] Final Memory: 20M/309M |
| [INFO] ------------------------------------------------------------------------ |
| </code> |
| |
| === deploiement === |
| |
| ant deployPortletApp => ajoute dans le web.xml le fait que c'est le portail qui va lancer cette portlet (via pluto) et pousse le .war dans webapps . |
| |
| le deploy se fait depuis la racine des sources du portail |
| |
| <code> |
| [esup@esup4dz ~/esup-uportal] |
| $ cd /home/esup/esup-uportal |
| </code> |
| |
| puis deploy via ant deployPortletApp |
| |
| <code> |
| [esup@esup4dz ~/esup-uportal] |
| $ ant deployPortletApp -DportletApp=/home/esup/portlet/esup-filemanager/target/esup-filemanager.war |
| Buildfile: /home/esup/esup-uportal/build.xml |
| |
| checkForTomcat: |
| |
| deployPortletApp: |
| |
| install-parent-pom: |
| [artifact:install] [INFO] Installing /home/esup/esup-uportal/pom.xml to /home/esup/.m2/repository/org/jasig/portal/uportal-parent/4.0.16-SNAPSHOT/uportal-parent-4.0.16-SNAPSHOT.pom |
| [touch] Creating /home/esup/esup-uportal/target/tmp/uportal-parent.pom-41461427-marker |
| [echo] Artifact '/home/esup/esup-uportal/bootstrap/pluto-assembler/target/pluto-assembler-4.0.16-SNAPSHOT.jar' is not available or out-of-date, calling 'mvn install' |
| |
| mvn: |
| [exec] [INFO] Scanning for projects... |
| [exec] [INFO] |
| [exec] [INFO] ------------------------------------------------------------------------ |
| [exec] [INFO] Building Bootstrap - Pluto Assembler Dependencies 4.0.16-SNAPSHOT |
| [exec] [INFO] ------------------------------------------------------------------------ |
| [exec] Downloading: http://repo.maven.apache.org/maven2/org/apache/portals/pluto/pluto-ant-tasks/2.1.0-M3/pluto-ant-tasks-2.1.0-M3.pom |
| [exec] Downloaded: http://repo.maven.apache.org/maven2/org/apache/portals/pluto/pluto-ant-tasks/2.1.0-M3/pluto-ant-tasks-2.1.0-M3.pom (2 KB at 2.6 KB/sec) |
| [exec] Downloading: http://repo.maven.apache.org/maven2/org/apache/portals/pluto/pluto-ant-tasks/2.1.0-M3/pluto-ant-tasks-2.1.0-M3.jar |
| [exec] Downloaded: http://repo.maven.apache.org/maven2/org/apache/portals/pluto/pluto-ant-tasks/2.1.0-M3/pluto-ant-tasks-2.1.0-M3.jar (12 KB at 42.1 KB/sec) |
| [exec] [INFO] |
| [exec] [INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ pluto-assembler --- |
| [exec] [INFO] |
| [exec] [INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-versions) @ pluto-assembler --- |
| [exec] [INFO] |
| [exec] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ pluto-assembler --- |
| [exec] [INFO] Using 'UTF-8' encoding to copy filtered resources. |
| [exec] [INFO] skip non existing resourceDirectory /home/esup/esup-uportal/bootstrap/pluto-assembler/src/main/resources |
| [exec] [INFO] |
| [exec] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ pluto-assembler --- |
| [exec] [INFO] No sources to compile |
| [exec] [INFO] |
| [exec] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ pluto-assembler --- |
| [exec] [INFO] Using 'UTF-8' encoding to copy filtered resources. |
| [exec] [INFO] skip non existing resourceDirectory /home/esup/esup-uportal/bootstrap/pluto-assembler/src/test/resources |
| [exec] [INFO] |
| [exec] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ pluto-assembler --- |
| [exec] [INFO] No sources to compile |
| [exec] [INFO] |
| [exec] [INFO] --- maven-surefire-plugin:2.15:test (default-test) @ pluto-assembler --- |
| [exec] [INFO] No tests to run. |
| [exec] [INFO] |
| [exec] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ pluto-assembler --- |
| [exec] [WARNING] JAR will be empty - no content was marked for inclusion! |
| [exec] [INFO] Building jar: /home/esup/esup-uportal/bootstrap/pluto-assembler/target/pluto-assembler-4.0.16-SNAPSHOT.jar |
| [exec] [INFO] |
| [exec] [INFO] --- maven-site-plugin:3.1.r1174614:attach-descriptor (attach-descriptor) @ pluto-assembler --- |
| [exec] [INFO] |
| [exec] [INFO] --- maven-install-plugin:2.4:install (default-install) @ pluto-assembler --- |
| [exec] [INFO] Installing /home/esup/esup-uportal/bootstrap/pluto-assembler/target/pluto-assembler-4.0.16-SNAPSHOT.jar to /home/esup/.m2/repository/org/jasig/portal/pluto-assembler/4.0.16-SNAPSHOT/pluto-assembler-4.0.16-SNAPSHOT.jar |
| [exec] [INFO] Installing /home/esup/esup-uportal/bootstrap/pluto-assembler/pom.xml to /home/esup/.m2/repository/org/jasig/portal/pluto-assembler/4.0.16-SNAPSHOT/pluto-assembler-4.0.16-SNAPSHOT.pom |
| [exec] [INFO] ------------------------------------------------------------------------ |
| [exec] [INFO] BUILD SUCCESS |
| [exec] [INFO] ------------------------------------------------------------------------ |
| [exec] [INFO] Total time: 3.805s |
| [exec] [INFO] Finished at: Thu May 26 17:43:42 CEST 2016 |
| [exec] [INFO] Final Memory: 16M/310M |
| [exec] [INFO] ------------------------------------------------------------------------ |
| [assemblePortlet] Assembling '/home/esup/portlet/esup-filemanager/target/esup-filemanager.war' to '/home/esup/esup-uportal/target/tmp' |
| [assemblePortlet] SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". |
| [assemblePortlet] SLF4J: Defaulting to no-operation (NOP) logger implementation |
| [assemblePortlet] SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. |
| |
| fastWarDeploy: |
| [echo] extractWars=true |
| [echo] removeExisting=true |
| [mkdir] Created dir: /home/esup/esup-uportal/target/tmp/esup-filemanager |
| [unwar] Expanding: /home/esup/esup-uportal/target/tmp/esup-filemanager.war into /home/esup/esup-uportal/target/tmp/esup-filemanager |
| [echo] Moving /home/esup/esup-uportal/target/tmp/esup-filemanager to /opt/tomcat/webapps |
| [delete] Deleting: /home/esup/esup-uportal/target/tmp/esup-filemanager.war |
| |
| BUILD SUCCESSFUL |
| Total time: 10 seconds |
| </code> |
| |
| === visualisation Cmd=edit option sur l'interface === |
| |
| voir les options de personnalisation sur l'interface web (si css les caches) |
| |
| https://esup4dz.tem-tsp.eu/uPortal/f/welcome/p/esup-filemanager.u32l1n15/max/render.uP?p**Cmd=edit** |
| |
| |
| ==== esup-filemanager 2==== |
| |
=== Sources === | === Sources === |
| |
| |
==== probe ==== | ===== probe ===== |
| |
https://github.com/psi-probe/psi-probe | https://github.com/psi-probe/psi-probe |
| |
http://esup4dz.tem-tsp.eu:8080/probe/ | http://esup4dz.tem-tsp.eu:8080/probe/ |
| |
| ===== git update ====== |
| |
| une correction sur simplecontent portlet a été corrigé sur la branche master, on v a mettre a jour notre branche maison dessus |
| |
| <code> |
| [esup@esup4dz ~/esup-uportal] |
| $ git pull origin master |
| remote: Counting objects: 3, done. |
| remote: Compressing objects: 100% (3/3), done. |
| remote: Total 3 (delta 0), reused 0 (delta 0), pack-reused 0 |
| Unpacking objects: 100% (3/3), done. |
| From git://github.com/EsupPortail/esup-uportal |
| * branch master -> FETCH_HEAD |
| Auto-merging pom.xml |
| CONFLICT (content): Merge conflict in pom.xml |
| Automatic merge failed; fix conflicts and then commit the result. |
| </code> |
| |
| Merger pom.xml |
| |
| <code> |
| <!-- POSTGRESQL driver. Uncomment if you need to --> |
| <<<<<<< HEAD |
| <jdbc.groupId>postgresql</jdbc.groupId> |
| <jdbc.artifactId>postgresql</jdbc.artifactId> |
| <jdbc.version>9.0-801.jdbc4</jdbc.version> |
| ======= |
| <!-- |
| <jdbc.groupId>org.postgresql</jdbc.groupId> |
| <jdbc.artifactId>postgresql</jdbc.artifactId> |
| <jdbc.version>9.3-1102-jdbc41</jdbc.version> |
| --> |
| >>>>>>> fb40a9781a992e4501713691bcc9cc14b91e8ed9 |
| |
| </code> |
| |
| on commit localement |
| |
| |
| <code> |
| [esup@esup4dz ~/esup-uportal] |
| $ git commit -a -m "mise a jour sur master de pom.xml pour drivers postgres simplecontent ... JP " |
| [ecampusdz 726fd1f] mise a jour sur master de pom.xml pour drivers postgres simplecontent ... JP |
| </code> |
| |
| tig affiche bien tout ça |
| |
| <code> |
| 2015-05-22 09:49 jehan M─┐ [ecampusdz] mise a jour sur master de pom.xml pour drivers postgres simplecontent ... JP |
| 2015-05-22 09:03 vincent │ o MAJ postgresql jdbc version - notamment pour issue sur CMSPLT - #114 |
| 2015-05-20 18:12 jehan o │ activation driver postgresql dans pom.xml JP |
| </code> |
| |
| |