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_activ2 [2015/01/09 15:17]
procacci@tem-tsp.eu [deploy]
docpublic:systemes:esup:esup_activ2 [2015/01/09 16:41] (current)
procacci@tem-tsp.eu [access http]
Line 16: Line 16:
 </code> </code>
  
-==== esup-actif-fo ====+===== esup-actif-fo =====
  
 <code> <code>
Line 179: Line 179:
 BUILD SUCCESSFUL BUILD SUCCESSFUL
 Total time: 10 seconds Total time: 10 seconds
 +</code>
 +
 +==== access http esup-activ-fo ====
 +
 +on crée les acces a l'appli java tomcat via apache http (proxy-ajp)
 +
 +<code>
 +[root@japi esup-activ-fo-2.3.1]# cat  /etc/httpd/conf.d/proxy-ajp.conf 
 +ProxyPass /esup-activ-fo ajp://localhost:8009/esup-activ-fo retry=3 min=0 max=100 smax=50 ttl=10 timeout=60
 +ProxyPass /manager ajp://localhost:8009/manager retry=3 min=0 max=100 smax=50 ttl=10 timeout=60
 +</code>
 +
 +suite au deploy ci-dessus,  relance de tomcat et apache,  on peux enfin acceder a l'application sur http://jesup.int-evry.fr/esup-activ-fo/
 +
 +
 +il persite tout de meme une erreur dans les log tomcat  catalina.out un peu inquietante, je n'ai pas encore de retour dessus ...
 +
 +<code>
 +2015-01-09 16:27:03,118 INFO [org.apache.myfaces.config.FacesConfigurator] - Reading config /WEB-INF/classes/properties/jsf/commons-pattern-faces-config.xml
 +2015-01-09 16:27:03,140 ERROR [org.apache.myfaces.config.FacesConfigurator] - You are using the MyFaces-package : tomahawk in different versions; first (and probably used) version is : 1.1.6, currently encountered version is : bridge-0.9.1. This will cause undesired behaviour. Please clean out your class-path. The first encountered version is loaded from : file:/var/lib/tomcat/webapps/esup-activ-fo/WEB-INF/lib/tomahawk-1.1.6.jar. The currently encountered version is loaded from : jar:file:/var/lib/tomcat/webapps/esup-activ-fo/WEB-INF/lib/tomahawk-bridge-0.9.1.jar!/META-INF/MANIFEST.MF
 +2015-01-09 16:27:03,140 INFO [org.apache.myfaces.config.FacesConfigurator] - Starting up MyFaces-package : myfaces-api in version : 1.1.5 from path : file:/var/lib/tomcat/webapps/esup-activ-fo/WEB-INF/lib/myfaces-api-1.1.5.jar
 +</code>
 +
 +===== esup-active-bo =====
 +
 +adaptations du build.properties et config.properties
 +
 +<code>
 +
 +[root@japi esup-activ]# unzip esup-activ-bo-2.3.1-0.zip
 +[root@japi esup-activ-bo-2.3.1]# cp build.properties build.properties.orig
 +[root@japi esup-activ-bo-2.3.1]# vim build.properties
 +[root@japi esup-activ-bo-2.3.1]# cd properties/
 +[root@japi properties]# cp config.sample.properties config.properties
 +
 +</code>
 +
 +
 +==== deploy ====
 +
 +<code>
 +[root@japi esup-activ-bo-2.3.1]# ant deploy
 +Buildfile: /root/esup-activ/esup-activ-bo-2.3.1/build.xml
 +
 +read-commons-properties:
 +     [echo] Property quick-start is not set, defaults to false.
 +     [echo] deploy.type=servlet
 +     [echo] deploy.home=/var/lib/tomcat/webapps/esup-activ-bo
 +     [echo] tomcat.host is not set, defaults to localhost.
 +     [echo] tomcat.port=8080
 +     [echo] tomcat.cas-port is not set, defaults to 8080.
 +     [echo] tomcat.path=
 +     [echo] tomcat.url=http://localhost:8080
 +     [echo] Use JNDI: true
 +
 +commons-check-shared-config:
 +
 +check-shared-config:
 +
 +set-download-properties:
 +
 +commons-download-files:
 +     [echo] checking esup-commons libraries...
 +     [echo] up to date.
 +     [echo] checking esup-activ-bo libs...
 +     [echo] up to date.
 +
 +commons-prepare:
 +
 +prepare:
 +
 +commons-compile-shared:
 +     [copy] Copying 1 file to /root/esup-activ/esup-activ-bo-2.3.1/build/WEB-INF/lib
 +    [javac] /root/esup-activ/esup-activ-bo-2.3.1/build-commons.xml:807: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
 +     [copy] Copying 36 files to /root/esup-activ/esup-activ-bo-2.3.1/build/WEB-INF/classes/properties
 +     [copy] Copying 7 files to /root/esup-activ/esup-activ-bo-2.3.1/build/WEB-INF/classes/properties
 +     [copy] Copying 1 file to /root/esup-activ/esup-activ-bo-2.3.1/build/WEB-INF/classes
 +     [copy] Copying 1 file to /root/esup-activ/esup-activ-bo-2.3.1/build/WEB-INF/classes/properties/i18n/bundles
 +     [copy] Copying 1 file to /root/esup-activ/esup-activ-bo-2.3.1/build/WEB-INF/classes/properties/i18n/bundles
 +
 +compile-shared:
 +
 +commons-compile-web:
 +     [copy] Copying 1 file to /root/esup-activ/esup-activ-bo-2.3.1/build/WEB-INF
 +     [copy] Copying 673 files to /root/esup-activ/esup-activ-bo-2.3.1/build
 +
 +compile-web:
 +
 +commons-deploy:
 +    [mkdir] Created dir: /var/lib/tomcat/webapps/esup-activ-bo
 +     [copy] Copying 1104 files to /var/lib/tomcat/webapps/esup-activ-bo
 +
 +deploy:
 +
 +BUILD SUCCESSFUL
 +Total time: 2 seconds
 </code> </code>
  
docpublic/systemes/esup/esup_activ2.1420816666.txt.gz · Last modified: 2015/01/09 15:17 by procacci@tem-tsp.eu
[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