Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
docpublic:systemes:esup:esup_socle_3_2_c6 [2012/08/16 16:43]
PROCACCIA [Publication]
docpublic:systemes:esup:esup_socle_3_2_c6 [2013/01/16 11:37] (current)
PROCACCIA [Theme par population]
Line 3127: Line 3127:
  
 <code> <code>
-custom/uPortal/uportal-impl/src/main/resources/properties/contexts/personDirectoryContext.xml 
  
-<entry key="supannentiteaffectationprincipale> +[esup@esup3re7 ~/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/contexts] 
-<set>                                                             <value>uPortalTemplateUserName</value>                                              <value>supannentiteaffectationprincipale</value> +$ diff -ur personDirectoryContext.xml personDirectoryContext.xml.new 
-</set> +--- personDirectoryContext.xml  2012-08-25 21:29:30.000000000 +0200 
-</entry>++++ personDirectoryContext.xml.new      2012-08-25 21:28:58.000000000 +0200 
 +@@ -305,6 +305,13 @@ 
 +                                                        <entry key="employeeType">                  <value>employeeType</value></entry> 
 +                                                        <entry key="title">                         <value>title</value></entry> 
 +                                                        <entry key="supannaffectation">             <value>supannaffectation</value></entry> 
 ++                                                       <entry key="supannentiteaffectationprincipale"
 ++                                                               <set> 
 ++                                                                <value>uPortalTemplateUserName</value> 
 ++                                                                <value>supannentiteaffectationprincipale</value> 
 ++                                                                 </set> 
 ++                                                       </entry> 
 +
 +                                                        <entry key="objectclass">                   <value>objectclass</value></entry> 
 +                                                        <entry key="supannorganisme">               <value>supannorganisme</value></entry> 
 +                                        </map> 
 + 
 </code> </code>
  
Line 3153: Line 3168:
  
 <code> <code>
-[esup@esup32dev ~/esup-install]+[esup@esup3re7 ~/esup-install]
 $ mkdir custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/template_account $ mkdir custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/template_account
  
- +[esup@esup3re7 ~/esup-install] 
-[esup@esup32dev ~/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/template_account+$ ll /home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/template_account/
-$ ll+
 total 36 total 36
--rw-r--r-- 1 esup esup 409 Jul  3 23:31 tem-default.profile +-rw-r--r-- 1 esup esup 410 Aug 26 14:40 tem-default.profile 
--rw-r--r-- 1 esup root 481 Jul  3 23:33 tem.layout +-rw-r--r-- 1 esup esup 481 Aug 26 14:40 tem.layout 
--rw-r--r-- 1 esup root  86 Jul  3 23:34 tem.template-user +-rw-r--r-- 1 esup esup  86 Aug 26 14:41 tem.template-user 
--rw-r--r-- 1 esup root 416 Jul  3 23:37 tmsp-default.profile +-rw-r--r-- 1 esup esup 411 Aug 26 14:41 tmsp-default.profile 
--rw-r--r-- 1 esup root 481 Jul  3 23:36 tmsp.layout +-rw-r--r-- 1 esup esup 481 Aug 26 14:41 tmsp.layout 
--rw-r--r-- 1 esup root  86 Jul  3 23:36 tmsp.template-user +-rw-r--r-- 1 esup esup  86 Aug 26 14:42 tmsp.template-user 
--rw-r--r-- 1 esup root 415 Jul  3 23:37 tsp-default.profile +-rw-r--r-- 1 esup esup 410 Aug 26 14:42 tsp-default.profile 
--rw-r--r-- 1 esup root 481 Jul  3 23:37 tsp.layout +-rw-r--r-- 1 esup esup 481 Aug 26 14:42 tsp.layout 
--rw-r--r-- 1 esup root  86 Jul  3 23:38 tsp.template-user+-rw-r--r-- 1 esup esup  86 Aug 26 14:43 tsp.template-user 
  
 $ cat tmsp.template-user  $ cat tmsp.template-user 
Line 3199: Line 3214:
 </code> </code>
  
-import +import template-user 
  
 <code> <code>
-[esup@esup32dev ~/esup-install] +[esup@esup3re7 ~/esup-install] 
-$ ant db.import -Ddir=/home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/template_account/+ ant db.import -Ddir=/home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/template_account/ -Dpattern=".*\.template-user"
 Buildfile: build.xml Buildfile: build.xml
-    [java] Base Import Directory=/home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/template_account/ +... 
-     [java] FILE_PATTERN=.*+install-parent-pom: 
 +[artifact:install] [INFO] Installing /home/esup/esup-uPortal-3.2.4-esup-1.0.0-RC3/Portail/uPortal_rel-3.2.4/pom.xml to /home/esup/.m2/repository/org/jasig/portal/uportal-parent/3.2.4/uportal-parent-3.2.4.pom 
 +    [touch] Creating /tmp/jasig/uportal-parent.pom-1153366062-marker 
 +     [echo] Artifact '/home/esup/esup-uPortal-3.2.4-esup-1.0.0-RC3/Portail/uPortal_rel-3.2.4/uportal-impl/target/uportal-impl-3.2.4.jar' is up-to-date 
 +[artifact:install] [INFO] Installing /home/esup/esup-uPortal-3.2.4-esup-1.0.0-RC3/Portail/uPortal_rel-3.2.4/uportal-impl/target/uportal-impl-3.2.4.jar to /home/esup/.m2/repository/org/jasig/portal/uportal-impl/3.2.4/uportal-impl-3.2.4.jar 
 +     [java] 
 +     [java]  INFO Creating new lazily initialized GenericApplicationContext for the portal 
 +     [java]  INFO Created new MemoryContext with environment '{java.naming.factory.url.pkgs=tyrex.naming, java.naming.provider.url=, java.naming.factory.initial=org.jasig.portal.jndi.DisposableMemoryContextFactory}' 
 +     [java]  INFO Initialized portal JNDI context 
 +     [java]  INFO Failed to load bean 'PortalDb.JNDI' from ApplicationContext expecting type: interface javax.sql.DataSource. Will try to load the next bean in the list instead. Error message from the attempt to load this bean ('PortalDb.JNDI'):  Error creating bean with name 'PortalDb.JNDI' defined in class path resource [properties/contexts/datasourceContext.xml]: Invocation of init method failed; nested exception is javax.naming.NotContextException: comp is not a subcontext (enable debug for stack trace) 
 +     [java]  INFO Loaded bean for name PortalDb.direct 
 +     [java]  INFO Setting CacheProvider 'org.jasig.portal.utils.cache.hibernate.EhCacheProvider@8c39d7' on ThreadLocal 
 +     [java]  INFO Created new lazily initialized GenericApplicationContext for the portal in 3624ms 
 +     [java] Base Import Directory=/home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/template_account/ 
 +     [java] FILE_PATTERN=.*\.template-user
      [java] Import Template User:  tem.template-user      [java] Import Template User:  tem.template-user
 +     [java]  INFO Looking up bean 'counterStore' in ApplicationContext due to context not yet being initialized
      [java] Import Template User:  tmsp.template-user      [java] Import Template User:  tmsp.template-user
      [java] Import Template User:  tsp.template-user      [java] Import Template User:  tsp.template-user
 +     [java] Import of /home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/template_account/ Complete in 824 milliseconds.
 +
 +BUILD SUCCESSFUL
 +Total time: 10 seconds
 +</code>
 +
 +
 +import profile
 +
 +<code>
 +[esup@esup3re7 ~/esup-install]
 +$  ant db.import -Ddir=/home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/template_account/ -Dpattern=".*\.profile"
 +Buildfile: build.xml
 +...
 +install-parent-pom:
 +[artifact:install] [INFO] Installing /home/esup/esup-uPortal-3.2.4-esup-1.0.0-RC3/Portail/uPortal_rel-3.2.4/pom.xml to /home/esup/.m2/repository/org/jasig/portal/uportal-parent/3.2.4/uportal-parent-3.2.4.pom
 +    [touch] Creating /tmp/jasig/uportal-parent.pom-1700626302-marker
 +     [echo] Artifact '/home/esup/esup-uPortal-3.2.4-esup-1.0.0-RC3/Portail/uPortal_rel-3.2.4/uportal-impl/target/uportal-impl-3.2.4.jar' is up-to-date
 +[artifact:install] [INFO] Installing /home/esup/esup-uPortal-3.2.4-esup-1.0.0-RC3/Portail/uPortal_rel-3.2.4/uportal-impl/target/uportal-impl-3.2.4.jar to /home/esup/.m2/repository/org/jasig/portal/uportal-impl/3.2.4/uportal-impl-3.2.4.jar
 +     [java]
 +     [java]  INFO Creating new lazily initialized GenericApplicationContext for the portal
 +     [java]  INFO Created new MemoryContext with environment '{java.naming.factory.url.pkgs=tyrex.naming, java.naming.provider.url=, java.naming.factory.initial=org.jasig.portal.jndi.DisposableMemoryContextFactory}'
 +     [java]  INFO Initialized portal JNDI context
 +     [java]  INFO Failed to load bean 'PortalDb.JNDI' from ApplicationContext expecting type: interface javax.sql.DataSource. Will try to load the next bean in the list instead. Error message from the attempt to load this bean ('PortalDb.JNDI'):  Error creating bean with name 'PortalDb.JNDI' defined in class path resource [properties/contexts/datasourceContext.xml]: Invocation of init method failed; nested exception is javax.naming.NotContextException: comp is not a subcontext (enable debug for stack trace)
 +     [java]  INFO Loaded bean for name PortalDb.direct
 +     [java]  INFO Setting CacheProvider 'org.jasig.portal.utils.cache.hibernate.EhCacheProvider@1a3f178' on ThreadLocal
 +     [java]  INFO Created new lazily initialized GenericApplicationContext for the portal in 3677ms
 +     [java] Base Import Directory=/home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/template_account/
 +     [java] FILE_PATTERN=.*\.profile
      [java] Import Profile:  tem-default.profile      [java] Import Profile:  tem-default.profile
 +     [java]  INFO Looking up bean 'counterStore' in ApplicationContext due to context not yet being initialized
      [java] Import Profile:  tmsp-default.profile      [java] Import Profile:  tmsp-default.profile
      [java] Import Profile:  tsp-default.profile      [java] Import Profile:  tsp-default.profile
 +     [java] Import of /home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/template_account/ Complete in 806 milliseconds.
 +
 +BUILD SUCCESSFUL
 +Total time: 10 seconds
 +</code>
 +
 +import layout
 +
 +<code>
 +[esup@esup3re7 ~/esup-install]
 +$  ant db.import -Ddir=/home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/template_account/ -Dpattern=".*\.layout"
 +Buildfile: build.xml
 +...
 +install-parent-pom:
 +[artifact:install] [INFO] Installing /home/esup/esup-uPortal-3.2.4-esup-1.0.0-RC3/Portail/uPortal_rel-3.2.4/pom.xml to /home/esup/.m2/repository/org/jasig/portal/uportal-parent/3.2.4/uportal-parent-3.2.4.pom
 +    [touch] Creating /tmp/jasig/uportal-parent.pom-1829337587-marker
 +     [echo] Artifact '/home/esup/esup-uPortal-3.2.4-esup-1.0.0-RC3/Portail/uPortal_rel-3.2.4/uportal-impl/target/uportal-impl-3.2.4.jar' is up-to-date
 +[artifact:install] [INFO] Installing /home/esup/esup-uPortal-3.2.4-esup-1.0.0-RC3/Portail/uPortal_rel-3.2.4/uportal-impl/target/uportal-impl-3.2.4.jar to /home/esup/.m2/repository/org/jasig/portal/uportal-impl/3.2.4/uportal-impl-3.2.4.jar
 +     [java]
 +     [java]  INFO Creating new lazily initialized GenericApplicationContext for the portal
 +     [java]  INFO Created new MemoryContext with environment '{java.naming.factory.url.pkgs=tyrex.naming, java.naming.provider.url=, java.naming.factory.initial=org.jasig.portal.jndi.DisposableMemoryContextFactory}'
 +     [java]  INFO Initialized portal JNDI context
 +     [java]  INFO Failed to load bean 'PortalDb.JNDI' from ApplicationContext expecting type: interface javax.sql.DataSource. Will try to load the next bean in the list instead. Error message from the attempt to load this bean ('PortalDb.JNDI'):  Error creating bean with name 'PortalDb.JNDI' defined in class path resource [properties/contexts/datasourceContext.xml]: Invocation of init method failed; nested exception is javax.naming.NotContextException: comp is not a subcontext (enable debug for stack trace)
 +     [java]  INFO Loaded bean for name PortalDb.direct
 +     [java]  INFO Setting CacheProvider 'org.jasig.portal.utils.cache.hibernate.EhCacheProvider@3f58bb' on ThreadLocal
 +     [java]  INFO Created new lazily initialized GenericApplicationContext for the portal in 3396ms
 +     [java] Base Import Directory=/home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/template_account/
 +     [java] FILE_PATTERN=.*\.layout
      [java] Import Layout:  tem.layout      [java] Import Layout:  tem.layout
      [java]  INFO Looking up bean 'PortalDb' in ApplicationContext due to context not yet being initialized      [java]  INFO Looking up bean 'PortalDb' in ApplicationContext due to context not yet being initialized
      [java]  INFO Looking up bean 'PortalDB.metadata' in ApplicationContext due to context not yet being initialized      [java]  INFO Looking up bean 'PortalDB.metadata' in ApplicationContext due to context not yet being initialized
-... +     [java]  INFO Join test failed: org.jasig.portal.rdbm.DatabaseMetaDataImpl$OracleDb on statement: 'SELECT COUNT(UP_USER.USER_ID) FROM UP_USER, UP_USER_LAYOUT WHERE UP_USER.USER_ID = UP_USER_LAYOUT.USER_ID(+) AND UP_USER.USER_ID=0': 
-    [java]  INFO RDBMEntityGroupStore.initialize(): Node separator set to .+     [java] StatementCallback; bad SQL grammar [SELECT COUNT(UP_USER.USER_ID) FROM UP_USER, UP_USER_LAYOUT WHERE UP_USER.USER_ID = UP_USER_LAYOUT.USER_ID(+) AND UP_USER.USER_ID=0]; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND UP_USER.USER_ID=0' at line 1 
 +     [java]  INFO Using join test: org.jasig.portal.rdbm.DatabaseMetaDataImpl$PostgreSQLDb 
 +     [java]  INFO MySQL (5.0.95) / MySQL-AB JDBC Driver (mysql-connector-java-5.1.6 ( Revision: ${svn.Revision} )) database/driver 
 +     [java]     Connected To: jdbc:mysql://bd3.it-sudparis.eu/uportal32re7 
 +     [java]     Supports: 
 +     [java]         Outer Joins:          true 
 +     [java]         {ts metasyntax:       true 
 +     [java]         TO_DATE():            false 
 +     [java]  INFO Looking up bean 'channelRegistryStore' in ApplicationContext due to context not yet being initialized 
 +     [java]  INFO Creating singleton instance for bean 'scopedTarget.sessionAttributesOverridesMap' 
 +     [java]  INFO Adding destruction callback singleton for bean 'scopedTarget.sessionAttributesOverridesMap' 
 +     [java]  INFO Looking up bean 'counterStore' in ApplicationContext due to context not yet being initialized 
 +     [java]  INFO Looking up bean 'personManager' in ApplicationContext due to context not yet being initialized 
 +     [java]  INFO Looking up bean 'dlmConfigurationLoader' in ApplicationContext due to context not yet being initialized 
 +     [java]  INFO Parsing group service configuration
 +     [java]  INFO RDBMEntityGroupStore.initialize(): Node separator set to .
      [java]  INFO Looking up bean 'cacheFactory' in ApplicationContext due to context not yet being initialized      [java]  INFO Looking up bean 'cacheFactory' in ApplicationContext due to context not yet being initialized
      [java] Import Layout:  tmsp.layout      [java] Import Layout:  tmsp.layout
      [java] Import Layout:  tsp.layout      [java] Import Layout:  tsp.layout
-     [java] Import of /home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/template_account/ Complete in 19203 milliseconds.+     [java] Import of /home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/template_account/ Complete in 4518 milliseconds.
  
 BUILD SUCCESSFUL BUILD SUCCESSFUL
-Total time: 51 seconds+Total time: 10 seconds
 </code> </code>
  
 +Tous les fichiers d'un coup
 +
 +<code>
 +
 +[esup@esup3re7 ~/esup-install]
 +$ ll /home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/template-account/
 +total 36
 +-rw-r--r-- 1 esup esup  410 Jan 16 12:33 tem-default.profile
 +-rw-r--r-- 1 esup esup 1998 Jan 16 12:31 tem.layout
 +-rw-r--r-- 1 esup esup   86 Jan 16 12:02 tem.template-user
 +-rw-r--r-- 1 esup esup  411 Jan 16 12:34 tmsp-default.profile
 +-rw-r--r-- 1 esup esup 1889 Jan 16 12:32 tmsp.layout
 +-rw-r--r-- 1 esup esup   86 Jan 16 12:02 tmsp.template-user
 +-rw-r--r-- 1 esup esup  410 Jan 16 12:33 tsp-default.profile
 +-rw-r--r-- 1 esup esup 1900 Jan 16 12:30 tsp.layout
 +-rw-r--r-- 1 esup esup   86 Jan 16 12:02 tsp.template-user
 +
 +
 +[esup@esup3re7 ~/esup-install]
 +$ ant db.import -Ddir=/home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/template-account/
 +Buildfile: build.xml
 +Trying to override old definition of task java
 +Trying to override old definition of task javac
 +
 +db.import:
 +
 +prodPrompt:
 +
 +crn-import:
 +
 +install-parent-pom:
 +[artifact:install] [INFO] Installing /home/esup/esup-uPortal-3.2.4-esup-1.0.0-RC3/Portail/uPortal_rel-3.2.4/pom.xml to /home/esup/.m2/repository/org/jasig/portal/uportal-parent/3.2.4/uportal-parent-3.2.4.pom
 +    [touch] Creating /tmp/jasig/uportal-parent.pom-1673432325-marker
 +     [echo] Artifact '/home/esup/esup-uPortal-3.2.4-esup-1.0.0-RC3/Portail/uPortal_rel-3.2.4/uportal-impl/target/uportal-impl-3.2.4.jar' is up-to-date
 +[artifact:install] [INFO] Installing /home/esup/esup-uPortal-3.2.4-esup-1.0.0-RC3/Portail/uPortal_rel-3.2.4/uportal-impl/target/uportal-impl-3.2.4.jar to /home/esup/.m2/repository/org/jasig/portal/uportal-impl/3.2.4/uportal-impl-3.2.4.jar
 +     [java]
 +     [java]  INFO Creating new lazily initialized GenericApplicationContext for the portal
 +     [java]  INFO Created new MemoryContext with environment '{java.naming.factory.url.pkgs=tyrex.naming, java.naming.provider.url=, java.naming.factory.initial=org.jasig.portal.jndi.DisposableMemoryContextFactory}'
 +     [java]  INFO Initialized portal JNDI context
 +     [java]  INFO Failed to load bean 'PortalDb.JNDI' from ApplicationContext expecting type: interface javax.sql.DataSource. Will try to load the next bean in the list instead. Error message from the attempt to load this bean ('PortalDb.JNDI'):  Error creating bean with name 'PortalDb.JNDI' defined in class path resource [properties/contexts/datasourceContext.xml]: Invocation of init method failed; nested exception is javax.naming.NotContextException: comp is not a subcontext (enable debug for stack trace)
 +     [java]  INFO Loaded bean for name PortalDb.direct
 +     [java]  INFO Setting CacheProvider 'org.jasig.portal.utils.cache.hibernate.EhCacheProvider@5dc268' on ThreadLocal
 +     [java]  INFO Created new lazily initialized GenericApplicationContext for the portal in 3555ms
 +     [java] Base Import Directory=/home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/template-account/
 +     [java] FILE_PATTERN=.*
 +     [java] Import Template User:  tem.template-user
 +     [java]  INFO Looking up bean 'counterStore' in ApplicationContext due to context not yet being initialized
 +     [java] Import Template User:  tmsp.template-user
 +     [java] Import Template User:  tsp.template-user
 +     [java] Import Profile:  tem-default.profile
 +     [java] Import Profile:  tmsp-default.profile
 +     [java] Import Profile:  tsp-default.profile
 +     [java] Import Layout:  tem.layout
 +     [java]  INFO Looking up bean 'PortalDb' in ApplicationContext due to context not yet being initialized
 +     [java]  INFO Looking up bean 'PortalDB.metadata' in ApplicationContext due to context not yet being initialized
 +     [java]  INFO Join test failed: org.jasig.portal.rdbm.DatabaseMetaDataImpl$OracleDb on statement: 'SELECT COUNT(UP_USER.USER_ID) FROM UP_USER, UP_USER_LAYOUT WHERE UP_USER.USER_ID = UP_USER_LAYOUT.USER_ID(+) AND UP_USER.USER_ID=0':
 +     [java] StatementCallback; bad SQL grammar [SELECT COUNT(UP_USER.USER_ID) FROM UP_USER, UP_USER_LAYOUT WHERE UP_USER.USER_ID = UP_USER_LAYOUT.USER_ID(+) AND UP_USER.USER_ID=0]; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND UP_USER.USER_ID=0' at line 1
 +     [java]  INFO Using join test: org.jasig.portal.rdbm.DatabaseMetaDataImpl$PostgreSQLDb
 +     [java]  INFO MySQL (5.0.95) / MySQL-AB JDBC Driver (mysql-connector-java-5.1.6 ( Revision: ${svn.Revision} )) database/driver
 +     [java]     Connected To: jdbc:mysql://bd3.it-sudparis.eu/uportal32re7
 +     [java]     Supports:
 +     [java]         Outer Joins:          true
 +     [java]         {ts metasyntax:       true
 +     [java]         TO_DATE():            false
 +     [java]  INFO Looking up bean 'channelRegistryStore' in ApplicationContext due to context not yet being initialized
 +     [java]  INFO Creating singleton instance for bean 'scopedTarget.sessionAttributesOverridesMap'
 +     [java]  INFO Adding destruction callback singleton for bean 'scopedTarget.sessionAttributesOverridesMap'
 +     [java]  INFO Looking up bean 'personManager' in ApplicationContext due to context not yet being initialized
 +     [java]  INFO Looking up bean 'dlmConfigurationLoader' in ApplicationContext due to context not yet being initialized
 +     [java]  INFO Parsing group service configuration.
 +     [java]  INFO RDBMEntityGroupStore.initialize(): Node separator set to .
 +     [java]  INFO Looking up bean 'cacheFactory' in ApplicationContext due to context not yet being initialized
 +     [java] Import Layout:  tmsp.layout
 +     [java] Import Layout:  tsp.layout
 +     [java] Import of /home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/template-account/ Complete in 2281 milliseconds.
 +
 +BUILD SUCCESSFUL
 +Total time: 10 seconds
 +</code>
  
 ===== Langues, traduction XSL ===== ===== Langues, traduction XSL =====
Line 3374: Line 3557:
 Total time: 10 seconds Total time: 10 seconds
 </code> </code>
 +
 +=== import tous cannaux 2012 ====
 +
 +apres s'etre assurer d'avoir integrer tous les groups membership correspondants (categoris de cannaux)
  
 <code> <code>
 +[esup@esup3re7 ~/esup-install]
 +$ ant db.import -Ddir=/home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/group_membership/
 +Buildfile: build.xml
 +...
 +    [java] Base Import Directory=/home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/group_membership/
 +     [java] FILE_PATTERN=.*
 +     [java] Import Group_Membership:  Administration.group_membership
 +     [java] Import Group_Membership:  Assistance.group_membership
 +     [java] Import Group_Membership:  Divers.group_membership
 +     [java] Import Group_Membership:  Etablissements.group_membership
 +     [java] Import Group_Membership:  Etudiants.group_membership
 +     [java] Import Group_Membership:  Google.group_membership
 +     [java] Import Group_Membership:  ITSP_groupes_LDAP.group_membership
 +     [java] Import Group_Membership:  Information.group_membership
 +     [java] Import Group_Membership:  Mes_groupes_locaux.group_membership
 +     [java] Import Group_Membership:  Offres.group_membership
 +     [java] Import Group_Membership:  OutilsCom.group_membership
 +     [java] Import Group_Membership:  OutilsComm.group_membership
 +     [java]  INFO Looking up bean 'counterStore' in ApplicationContext due to context not yet being initialized
 +     [java] Import Group_Membership:  Pratique.group_membership
 +     [java] Import Group_Membership:  Proprietaires_de_fragment.group_membership
 +     [java] Import Group_Membership:  Services.group_membership
 +     [java] Import Group_Membership:  Tests.group_membership
 +     [java] Import Group_Membership:  Tout_le_monde.group_membership
 +     [java] Import Group_Membership:  Toutes_les_categories.group_membership
 +     [java] Import Group_Membership:  Utilisateurs_apogee.group_membership
 +     [java] Import Group_Membership:  Utilisateurs_harpege.group_membership
 +     [java] Import Group_Membership:  Administration.group_membership
 +     [java] Import Group_Membership:  Assistance.group_membership
 +     [java] Import Group_Membership:  Divers.group_membership
 +     [java] Import Group_Membership:  Etablissements.group_membership
 +     [java]  INFO Parsing group service configuration.
 +     [java]  INFO RDBMEntityGroupStore.initialize(): Node separator set to .
 +     [java]  INFO Looking up bean 'cacheFactory' in ApplicationContext due to context not yet being initialized
 +     [java]  INFO Looking up bean 'PortalDb' in ApplicationContext due to context not yet being initialized
 +     [java]  INFO Looking up bean 'entityCachingService' in ApplicationContext due to context not yet being initialized
 +     [java] Import Group_Membership:  Etudiants.group_membership
 +     [java] Import Group_Membership:  Google.group_membership
 +     [java] Import Group_Membership:  ITSP_groupes_LDAP.group_membership
 +     [java] Import Group_Membership:  Information.group_membership
 +     [java] Import Group_Membership:  Mes_groupes_locaux.group_membership
 +     [java] Import Group_Membership:  Offres.group_membership
 +     [java] Import Group_Membership:  OutilsCom.group_membership
 +     [java] Import Group_Membership:  OutilsComm.group_membership
 +     [java] Import Group_Membership:  Pratique.group_membership
 +     [java] Import Group_Membership:  Proprietaires_de_fragment.group_membership
 +     [java] Import Group_Membership:  Services.group_membership
 +     [java] Import Group_Membership:  Tests.group_membership
 +     [java] Import Group_Membership:  Tout_le_monde.group_membership
 +     [java] Import Group_Membership:  Toutes_les_categories.group_membership
 +     [java] Import Group_Membership:  Utilisateurs_apogee.group_membership
 +     [java] Import Group_Membership:  Utilisateurs_harpege.group_membership
 +     [java] Import of /home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/group_membership/ Complete in 4907 milliseconds.
  
 +BUILD SUCCESSFUL
 +Total time: 10 seconds
 +</code>
 +
 +on peux integrer tous les canaux
 +
 +<code>
 +[esup@esup3re7 ~/esup-install]
 +$ ant db.import -Ddir=/home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/channel -Dpattern=".*\.channel"
 +Buildfile: build.xml
 +
 +     [java] FILE_PATTERN=.*\.channel
 +     [java] Import Channel:  AccesECampus.channel
 +     [java]  INFO Looking up bean 'channelRegistryStore' in ApplicationContext due to context not yet being initialized
 +     [java]  INFO Creating singleton instance for bean 'scopedTarget.sessionAttributesOverridesMap'
 +     [java]  INFO Adding destruction callback singleton for bean 'scopedTarget.sessionAttributesOverridesMap'
 +     [java]  INFO Looking up bean 'jpaInterceptor' in ApplicationContext due to context not yet being initialized
 +     [java]  INFO Parsing group service configuration.
 +     [java]  INFO RDBMEntityGroupStore.initialize(): Node separator set to .
 +     [java]  INFO Looking up bean 'cacheFactory' in ApplicationContext due to context not yet being initialized
 +     [java]  INFO Looking up bean 'PortalDb' in ApplicationContext due to context not yet being initialized
 +     [java]  INFO Looking up bean 'entityCachingService' in ApplicationContext due to context not yet being initialized
 +     [java]  INFO Looking up bean 'portletDefinitionRegistry' in ApplicationContext due to context not yet being initialized
 +     [java]  INFO Looking up bean 'channelPublishingService' in ApplicationContext due to context not yet being initialized
 +     [java] Import Channel:  Actualites.channel
 +     [java] Import Channel:  Administration.channel
 +     [java] Import Channel:  Apple.channel
 +     [java] Import Channel:  Arcentel.channel
 +     [java] Import Channel:  AssosAnciens.channel
 +     [java] Import Channel:  AssosEtudiants.channel
 +     [java] Import Channel:  Bookmark.channel
 +     [java] Import Channel:  Brochure.channel
 +     [java] Import Channel:  CAnnuaire.channel
 +     [java] Import Channel:  CE.channel
 +     [java] Import Channel:  CHello.channel
 +     [java] Import Channel:  CInfos.channel
 +     [java] Import Channel:  CSuggestion.channel
 +     [java] Import Channel:  CanalU.channel
 +     [java] Import Channel:  Carrefourinternational.channel
 +     [java] Import Channel:  Catalogues.channel
 +     [java] Import Channel:  EvryPratique.channel
 +     [java] Import Channel:  Filez.channel
 +     [java] Import Channel:  Graife.channel
 +     [java] Import Channel:  Handicap.channel
 +     [java] Import Channel:  Helpdesk.channel
 +     [java] Import Channel:  Infopedia.channel
 +     [java] Import Channel:  Intro.channel
 +     [java] Import Channel:  LienUtilesPerm.channel
 +     [java] Import Channel:  MSDNAA.channel
 +     [java] Import Channel:  MaisonEleves.channel
 +     [java] Import Channel:  Mediatheque.channel
 +     [java] Import Channel:  Moodle.channel
 +     [java] Import Channel:  MotPasse.channel
 +     [java] Import Channel:  Nuxeo.channel
 +     [java] Import Channel:  OpenPortal.channel
 +     [java] Import Channel:  Parrains.channel
 +     [java] Import Channel:  ProgTV.channel
 +     [java] Import Channel:  Rapport_fin_de_sejour.channel
 +     [java] Import Channel:  Rdvz.channel
 +     [java] Import Channel:  ReglementScola.channel
 +     [java] Import Channel:  Relations_entreprises.channel
 +     [java] Import Channel:  STP.channel
 +     [java] Import Channel:  Signets.channel
 +     [java] Import Channel:  Specificite_europe_bourse_erasmus.channel
 +     [java] Import Channel:  Stats.channel
 +     [java] Import Channel:  Supervis.channel
 +     [java] Import Channel:  Sympa.channel
 +     [java] Import Channel:  Titresejour.channel
 +     [java] Import Channel:  Trombi.channel
 +     [java] Import Channel:  Ubicast.channel
 +     [java] Import Channel:  Voila.channel
 +     [java] Import Channel:  Webmail.channel
 +     [java] Import Channel:  Wifi.channel
 +     [java] Import Channel:  Wikiadmin.channel
 +     [java] Import Channel:  Wikipedia.channel
 +     [java] Import Channel:  calendar.channel
 +     [java] Import Channel:  cms.channel
 +     [java] Import Channel:  dictionnaire-portlet.channel
 +     [java] Import Channel:  esup-annuaire.channel
 +     [java] Import Channel:  google-maps-portlet.channel
 +     [java] Import Channel:  google-portlet.channel
 +     [java] Import Channel:  google-translate-portlet.channel
 +     [java] Import Channel:  inlineMeteo.channel
 +     [java] Import of /home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/channel Complete in 7763 milliseconds.
 +
 +BUILD SUCCESSFUL
 +Total time: 12 seconds
 +</code>
  
  
Line 3436: Line 3764:
  
 </code> </code>
 +==== esup-filemanager ====
 +
 +=== Sources ===
 +
 +<code>
 +[esup@esup3re7 ~/esup-install/canaux]
 +$ wget https://sourcesup.renater.fr/frs/download.php/4021/esup-filemanager-2.2.0.tgz
 +$ tar tvfz esup-filemanager-2.2.0.tgz
 +$ ln -s esup-filemanager-2.2.0 esup-filemanager
 +$ cd esup-filemanager
 +</code>
 +
 +=== configuration ===
 +
 +<code>
 +[esup@esup3re7 ~/esup-install/canaux/esup-filemanager/src/main/webapp/WEB-INF]
 +$ cp web.xml web.xml.orig
 +$ cp context/drives.xml context/drives.xml.orig
 +$ cp log4j.properties log4j.properties.orig
 +</code>
 +
 +
 +<code>
 +[esup@esup3re7 ~/esup-install/canaux/esup-filemanager/src/main/webapp/WEB-INF]
 +$ diff web.xml.orig web.xml
 +115c115
 +<             <param-value>https://cas.mon-univ.fr/proxy</param-value>
 +---
 +>             <param-value>https://cas.tem-tsp.eu/cas/proxy</param-value>
 +</code>
 +
 +<code>
 +[esup@esup3re7 ~/esup-install/canaux/esup-filemanager/src/main/webapp/WEB-INF]
 +$ diff context/drives.xml.orig context/drives.xml | more
 +36c36
 +<   <util:constant id="isPortlet" static-field="java.lang.Boolean.FALSE"/>
 +---
 +>   <util:constant id="isPortlet" static-field="java.lang.Boolean.TRUE"/>
 +42,52c42,52
 +<   <util:map id="drivesCategories">
 +<     <entry key="Shared">
 +<       <bean class="org.esupportail.portlet.filemanager.beans.DrivesCategory">
 +<       <property name="icon" value="/esup-filemanager/img/drives/house.png" />
 +<       <property name="drives">
 +<         <list>
 +<           <value>Toto</value>
 +<           <value>bob</value>
 +<         </list>
 +<       </property>
 +<       </bean>
 +---
 +>   <util:map id="drivesCategories">
 +>     <entry key="Mes fichiers">
 +>               <bean class="org.esupportail.portlet.filemanager.beans.DrivesCategory">
 +>                       <property name="icon" value="/esup-filemanager/img/drives/house.png" />
 +>                       <property name="drives">
 +>                         <list>
 +>                               <value>Espace personnel</value>
 +>                               <value>Web spaces</value>
 +....
 +</code>
 +
 +=== compilation ===
 +
 +<code>
 +export JAVA_HOME=/usr/lib/jvm/java-1.6.0
 +[esup@esup3re7 ~/esup-install/canaux/esup-filemanager]
 +$ /usr/local/apache-maven-2.2.1/bin/mvn clean package
 +....
 +Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.jar
 +138K downloaded  (plexus-archiver-1.0-alpha-7.jar)
 +[INFO] [war:war {execution: default-war}]
 +[INFO] Exploding webapp...
 +[INFO] Assembling webapp esup-filemanager in /home/esup/esup-uPortal-3.2.4-esup-1.0.0-RC3/canaux/esup-filemanager-2.2.0/target/esup-filemanager
 +[INFO] Copy webapp webResources to /home/esup/esup-uPortal-3.2.4-esup-1.0.0-RC3/canaux/esup-filemanager-2.2.0/target/esup-filemanager
 +[INFO] Generating war /home/esup/esup-uPortal-3.2.4-esup-1.0.0-RC3/canaux/esup-filemanager-2.2.0/target/esup-filemanager.war
 +[INFO] Building war: /home/esup/esup-uPortal-3.2.4-esup-1.0.0-RC3/canaux/esup-filemanager-2.2.0/target/esup-filemanager.war
 +[INFO] ------------------------------------------------------------------------
 +[INFO] BUILD SUCCESSFUL
 +[INFO] ------------------------------------------------------------------------
 +[INFO] Total time: 1 minute 24 seconds
 +[INFO] Finished at: Thu Aug 30 15:42:11 CEST 2012
 +[INFO] Final Memory: 27M/91M
 +[INFO] ------------------------------------------------------------------------
 +<code>
 +
 +=== deploy ===
 +
 +<code>
 +[esup@esup3re7 ~/esup-install/canaux/esup-filemanager]
 +$ ant -f /home/esup/esup-install/build.xml  portlet.deploy -DportletApp=/home/esup/esup-install/canaux/esup-filemanager/target/esup-filemanager.war
 +Buildfile: /home/esup/esup-install/build.xml
 +Trying to override old definition of task java
 +Trying to override old definition of task javac
 +
 +portlet.deploy:
 +
 +checkForTomcat:
 +
 +deployPortletApp:
 +
 +install-parent-pom:
 +[artifact:install] [INFO] Installing /home/esup/esup-install/Portail/uPortal_rel-3.2.4/pom.xml to /home/esup/.m2/repository/org/jasig/portal/uportal-parent/3.2.4/uportal-parent-3.2.4.pom
 +    [touch] Creating /tmp/jasig/uportal-parent.pom-1990999528-marker
 +[artifact:dependencies] Downloading: org/apache/pluto/pluto-ant-tasks/1.1.7/pluto-ant-tasks-1.1.7.pom from central
 +[artifact:dependencies] Transferring 2K from central
 +[artifact:dependencies] Downloading: org/apache/pluto/pluto-ant-tasks/1.1.7/pluto-ant-tasks-1.1.7.jar from central
 +[artifact:dependencies] Transferring 11K from central
 +[assemblePortlet] Assembling '/home/esup/esup-install/canaux/esup-filemanager/target/esup-filemanager.war' to '/tmp/jasig'
 +[assemblePortlet] Aug 30, 2012 3:46:07 PM org.exolab.castor.mapping.Mapping loadMapping
 +[assemblePortlet] INFO: Loading mapping descriptors from jar:file:/home/esup/.m2/repository/org/apache/pluto/pluto-descriptor-impl/1.1.7/pluto-descriptor-impl-1.1.7.jar!/org/apache/pluto/descriptors/services/castor/castor-web-xml-mapping.xml
 +[assemblePortlet] Aug 30, 2012 3:46:07 PM org.exolab.castor.mapping.Mapping loadMapping
 +[assemblePortlet] INFO: Loading mapping descriptors from jar:file:/home/esup/.m2/repository/org/apache/pluto/pluto-descriptor-impl/1.1.7/pluto-descriptor-impl-1.1.7.jar!/org/apache/pluto/descriptors/services/castor/castor-portlet-xml-mapping.xml
 +[assemblePortlet] Aug 30, 2012 3:46:08 PM org.exolab.castor.mapping.Mapping loadMapping
 +[assemblePortlet] INFO: Loading mapping descriptors from jar:file:/home/esup/.m2/repository/org/apache/pluto/pluto-descriptor-impl/1.1.7/pluto-descriptor-impl-1.1.7.jar!/org/apache/pluto/descriptors/services/castor/castor-web-xml-mapping.xml
 +
 +fastWarDeploy:
 +     [echo]    extractWars=true
 +     [echo] removeExisting=false
 +    [mkdir] Created dir: /tmp/jasig/esup-filemanager
 +    [unwar] Expanding: /tmp/jasig/esup-filemanager.war into /tmp/jasig/esup-filemanager
 +     [echo] Moving /tmp/jasig/esup-filemanager to /usr/share/tomcat6/webapps
 +   [delete] Deleting: /tmp/jasig/esup-filemanager.war
 +
 +BUILD SUCCESSFUL
 +Total time: 7 seconds
 +
 +
 +[esup@esup3re7 ~/esup-install/canaux/esup-filemanager]
 +$ ll /usr/share/tomcat6/webapps/esup-filemanager/
 +total 20
 +drwxrwsr-x 3 esup esup 4096 Aug 30 15:46 css
 +drwxrwsr-x 7 esup esup 4096 Aug 30 15:46 img
 +drwxrwsr-x 3 esup esup 4096 Aug 30 15:46 js
 +drwxrwsr-x 3 esup esup 4096 Aug 30 15:46 META-INF
 +drwxrwsr-x 6 esup esup 4096 Aug 30 15:46 WEB-INF
 +
 +</code>
 +
 +=== Context tomcat ===
 +
 +
 +dans /etc/tomcat6/server.xml
 +
 +<code>
 +<Context path="/esup-filemanager" docBase="/usr/share/tomcat6/webapps/esup-filemanager" reloadable="true">
 +    <Manager pathname=""/>
 +</Context>
 +</code>
 +
 +=== import channel ===
 +
 +<code>
 +
 +[esup@esup3re7 ~/esup-install]
 +$ ant db.import -Ddir=/home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/channel -Dpattern="esup-filemanager\.channel"
 +Buildfile: build.xml
 +Trying to override old definition of task java
 +Trying to override old definition of task javac
 +
 +db.import:
 +
 +prodPrompt:
 +
 +crn-import:
 +
 +install-parent-pom:
 +[artifact:install] [INFO] Installing /home/esup/esup-uPortal-3.2.4-esup-1.0.0-RC3/Portail/uPortal_rel-3.2.4/pom.xml to /home/esup/.m2/repository/org/jasig/portal/uportal-parent/3.2.4/uportal-parent-3.2.4.pom
 +    [touch] Creating /tmp/jasig/uportal-parent.pom-1944894708-marker
 +     [echo] Artifact '/home/esup/esup-uPortal-3.2.4-esup-1.0.0-RC3/Portail/uPortal_rel-3.2.4/uportal-impl/target/uportal-impl-3.2.4.jar' is up-to-date
 +[artifact:install] [INFO] Installing /home/esup/esup-uPortal-3.2.4-esup-1.0.0-RC3/Portail/uPortal_rel-3.2.4/uportal-impl/target/uportal-impl-3.2.4.jar to /home/esup/.m2/repository/org/jasig/portal/uportal-impl/3.2.4/uportal-impl-3.2.4.jar
 +     [java]
 +     [java]  INFO Creating new lazily initialized GenericApplicationContext for the portal
 +     [java]  INFO Created new MemoryContext with environment '{java.naming.factory.url.pkgs=tyrex.naming, java.naming.provider.url=, java.naming.factory.initial=org.jasig.portal.jndi.DisposableMemoryContextFactory}'
 +     [java]  INFO Initialized portal JNDI context
 +     [java]  INFO Failed to load bean 'PortalDb.JNDI' from ApplicationContext expecting type: interface javax.sql.DataSource. Will try to load the next bean in the list instead. Error message from the attempt to load this bean ('PortalDb.JNDI'):  Error creating bean with name 'PortalDb.JNDI' defined in class path resource [properties/contexts/datasourceContext.xml]: Invocation of init method failed; nested exception is javax.naming.NotContextException: comp is not a subcontext (enable debug for stack trace)
 +     [java]  INFO Loaded bean for name PortalDb.direct
 +     [java]  INFO Setting CacheProvider 'org.jasig.portal.utils.cache.hibernate.EhCacheProvider@1843ca4' on ThreadLocal
 +     [java]  INFO Created new lazily initialized GenericApplicationContext for the portal in 4186ms
 +     [java] Base Import Directory=/home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/channel
 +     [java] FILE_PATTERN=esup-filemanager\.channel
 +     [java] Import Channel:  esup-filemanager.channel
 +     [java]  INFO Looking up bean 'channelRegistryStore' in ApplicationContext due to context not yet being initialized
 +     [java]  INFO Creating singleton instance for bean 'scopedTarget.sessionAttributesOverridesMap'
 +     [java]  INFO Adding destruction callback singleton for bean 'scopedTarget.sessionAttributesOverridesMap'
 +     [java]  INFO Looking up bean 'jpaInterceptor' in ApplicationContext due to context not yet being initialized
 +     [java]  INFO Parsing group service configuration.
 +     [java]  INFO RDBMEntityGroupStore.initialize(): Node separator set to .
 +     [java]  INFO Looking up bean 'cacheFactory' in ApplicationContext due to context not yet being initialized
 +     [java]  INFO Looking up bean 'PortalDb' in ApplicationContext due to context not yet being initialized
 +     [java]  INFO Looking up bean 'entityCachingService' in ApplicationContext due to context not yet being initialized
 +     [java]  INFO Looking up bean 'portletDefinitionRegistry' in ApplicationContext due to context not yet being initialized
 +     [java]  INFO Looking up bean 'channelPublishingService' in ApplicationContext due to context not yet being initialized
 +     [java] Import of /home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/channel Complete in 5874 milliseconds.
 +
 +BUILD SUCCESSFUL
 +Total time: 12 seconds
 +</code>
 +
 ==== Canal Stockage ==== ==== Canal Stockage ====
  
docpublic/systemes/esup/esup_socle_3_2_c6.1345135414.txt.gz · Last modified: 2012/08/16 16:43 by PROCACCIA
[unknown link type]Back to top
CC Attribution-Noncommercial-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0