Jahia DX > HOWTO: Jahia Glassfish...

0 (0 Good)
0 (0 Bad)

HOWTO: Jahia Glassfish PostgreSQL

by  rvt »  2011/06/07 17:55

Here is a howto to install Jahia snapshot on glassfish 3.x and PostgreSQL 8.x

Step 1 - Create a PostgreSQL database

Create a new database called “jahia” within PostgreSQL and assign the correct rights for this database. This can be done using pgAdmin or from the command line like this:

indesign:~ rvt$ sudo su - postgres

Password:

indesign:~ postgres$ psql -U postgres

Password for user postgres: 

Welcome to psql 8.3.1 (server 8.4.4), the PostgreSQL interactive terminal.

...


postgres=# CREATE ROLE jahia LOGIN ENCRYPTED PASSWORD 'password' VALID UNTIL 'infinity';

...


postgres=# CREATE DATABASE jahia

  WITH ENCODING='UTF8'

       OWNER=jahia

       LC_COLLATE='en_US'

       LC_CTYPE='en_US';

Step 2 - Run Jahia installer

Execute the Jahia installer from the command line or from a gui.

indesign:~ rvt$ java -jar Jahia_xCM_CE_v6.5-SNAPSHOT_r35856.jar

a) Select a custom installation,

b) do NOT select the Apache Tomcat. Not selecting Apache Tomcat will create a ROOT.war file.

c) Check PostgreSQL and fill in the right credentials

d) Some other questions will be asked, but this is quite obvious.

Step 3 - Extract ROOT.war 

Decide on a proper context root, in the following examples jahia is used. Extract ROOT.war under /opt/Jahia_xCM_CE_v6.5-SNAPSHOT by running the unzip utility.

indesign:~ rvt$ cd /opt/Jahia_xCM_CE_v6.5-SNAPSHOT

indesign:Jahia_xCM_CE_v6.5-SNAPSHOT rvt$ unzip ROOT.war -d jahia.war

...

...

inflating: WEB-INF/var/shared_modules/userregistration-6.5-SNAPSHOT.war

inflating: WEB-INF/var/shared_modules/videostreaming-6.5-SNAPSHOT.war

inflating: WEB-INF/var/shared_modules/webClipping-6.5-SNAPSHOT.war

inflating: WEB-INF/var/shared_modules/wiki-6.5-SNAPSHOT.war

inflating: WEB-INF/var/versions.properties

inflating: WEB-INF/web.xml

...

...

If you use a GUI to extract the zip, make sure you extract in a new directory and that you name that directory jahia.war, jahia is in this case the name of the contextPath.

 

Step 4 - Prepare the Jahia archive for Glassfish deployment

- Edit WEB-INF/etc/config/jahia.properties and change jahia.contextPath from the empty default to /jahia

[b]Change[/b]

jahia.contextPath                                      = 

[b]To[/b]

jahia.contextPath                                      = /jahia

- Due to a bug in the taglib library the file jahia-taglib-6.5-SNAPSHOT.jar needs to be extracted and edited.

The easiest way to do this is extract the jar file using unzip into a separate directory

indesign:jahia.war rvt$ cd WEB-INF/lib 

indesign:lib rvt$ unzip jahia-taglib-6.5-SNAPSHOT.jar -d jahia-taglib-6.5-SNAPSHOT

  inflating: jahia-taglib-6.5-SNAPSHOT/org/jahia/taglibs/utility/siteproperties/DisplaySitePropertiesTag.class  

  inflating: jahia-taglib-6.5-SNAPSHOT/org/jahia/taglibs/utility/TextDiffTag.class  

  inflating: jahia-taglib-6.5-SNAPSHOT/org/jahia/taglibs/utility/Utils.class  

...

...

Then edit each META-INF/*.tld file and ONLY remove from between the <tag-file>...</tag-file> thedescription tag.

<tag-file>

   <description>Displays the content manager engine</description>

   <name>contentManager</name>

   <path>/META-INF/tags/ajax/contentmanager.tag</path>

</tag-file>

[b]becomes[/b]

<tag-file>

   <description>Displays the content manager engine</description>

   <name>contentManager</name>

   <path>/META-INF/tags/ajax/contentmanager.tag</path>

</tag-file>

[b]or comment out[/b]

<tag-file>

   <!--<description>Displays the content manager engine</description> -->

   <name>contentManager</name>

   <path>/META-INF/tags/ajax/contentmanager.tag</path>

</tag-file>

After all descriptions are commented out the jahia-taglib-6.5-SNAPSHOT needs to be zipped back into a jar file and the expanded directory needs to get removed.

indesign:lib rvt$ cd jahia-taglib-6.5-SNAPSHOT

indesign:jahia-taglib-6.5-SNAPSHOT rvt$ zip -r ../jahia-taglib-6.5-SNAPSHOT.jar .

updating: org/jahia/taglibs/workflow/ActiveWorkflowTag.class (deflated 53%)

updating: org/jahia/taglibs/workflow/AvailableTasksTag.class (deflated 57%)

updating: org/jahia/taglibs/workflow/AvailableWorkflowsTag.class (deflated 56%)

updating: org/jahia/taglibs/workflow/WorkflowFunctions.class (deflated 46%)

...

...

indesign:jahia-taglib-6.5-SNAPSHOT rvt$ cd ..

indesign:lib rvt$ rm -r jahia-taglib-6.5-SNAPSHOT

- Edit admin/manage_templates.jsp and remove the line: <%@page import="org.jahia.resourcebundle.*" %>
Note: this might not be needed anymore with the latest SNAPSHOT.

 

Step 5 - Prepare Glassfish 

Extract the files shared-libraries.zip and put them in your domainX/lib directory in Glassfish

indesign:~ rvt$ cd /opt/Jahia_xCM_CE_v6.5-SNAPSHOT

indesign:Jahia_xCM_CE_v6.5-SNAPSHOT rvt$ unzip shared-libraries.zip -d shared-libraries

Archive:  shared-libraries.zip

  inflating: shared-libraries/pluto-container-api-2.0.2.jar

  inflating: shared-libraries/ccpp-1.0.jar

  inflating: shared-libraries/pluto-container-driver-api-2.0.2.jar

  inflating: shared-libraries/portals-bridges-common-1.0.4.jar

  inflating: shared-libraries/pluto-taglib-2.0.2.jar

  inflating: shared-libraries/portlet-api_2.0_spec-1.0.jar

indesign:Jahia_xCM_CE_v6.5-SNAPSHOT rvt$ cd shared-libraries

indesign:shared-libraries rvt$ cp *.jar <glassfish dir>/domains/domain1/lib

indesign:shared-libraries rvt$

Make sure a jar file of the PostgreSQL jdbc driver is also available in the lib directory, and remove it from WEB-INF/lib folder of jahira.war to prevent classpath problems.

- Login to the admin console and create the following items under resources/JDBC

1) Create a connection pool with the name Jahia that points to the database created in Step 1. Ping the database to check if Glassfish can connect to it properly

2) Create a JDBC resource with the name jdbc/jahia that uses the Jahia pool name

 

Step 6) Deploy jahia

Deploy Jahia using the admin console (or using the cli) like you would do with any other war application. Be aware that the first time deploying might take some time and can take a minute or more depending on the speed of your server

After the deploy was successful you can go to the URL http://<server>:<port>/jahia/ that will bring you to the login screen of Jahia. From there you can enter with the password you have entered in step 2, system administrator.

 

I hope this was clear.

 

Ries

PS: Thanks from Sergiy for clearing this up in a other thread,

  • HOWTO: Jahia Glassfish PostgreSQL
    2011/07/04 09:27

    rvt <p> Here is a howto to install Jahia snapshot on glassfish 3.x and PostgreSQL 8.x</p> <p> Step 1 - Create a PostgreSQL database</p> <p> Create a new database called &ldquo;jahia&rdquo; within PostgreSQL and assign the correct rights for this database. This can be done using pgAdmin or from the command line like this:</p> <pre> indesign:~ rvt$ sudo su - postgres Password: indesign:~ postgres$ psql -U postgres Password for user postgres: Welcome to psql 8.3.1 (server 8.4.4), the PostgreSQL interactive terminal. ... postgres=# CREATE ROLE jahia LOGIN ENCRYPTED PASSWORD &#39;password&#39; VALID UNTIL &#39;infinity&#39;; ... postgres=# CREATE DATABASE jahia WITH ENCODING=&#39;UTF8&#39; OWNER=jahia LC_COLLATE=&#39;en_US&#39; LC_CTYPE=&#39;en_US&#39;;</pre> <p> Step 2 - Run Jahia installer</p> <p> Execute the Jahia installer from the command line or from a gui.</p> <pre> indesign:~ rvt$ java -jar Jahia_xCM_CE_v6.5-SNAPSHOT_r35856.jar</pre> <p> a) Select a custom installation,</p> <p> b) do <strong>NOT</strong> select the Apache Tomcat. Not selecting Apache Tomcat will create a ROOT.war file.</p> <p> c) Check PostgreSQL and fill in the right credentials</p> <p> d) Some other questions will be asked, but this is quite obvious.</p> <p> Step 3 - Extract ROOT.war&nbsp;</p> <p> Decide on a proper context root, in the following examples jahia is used. Extract ROOT.war under /opt/Jahia_xCM_CE_v6.5-SNAPSHOT by running the unzip utility.</p> <pre> indesign:~ rvt$ cd /opt/Jahia_xCM_CE_v6.5-SNAPSHOT indesign:Jahia_xCM_CE_v6.5-SNAPSHOT rvt$ unzip ROOT.war -d jahia.war ... ... inflating: WEB-INF/var/shared_modules/userregistration-6.5-SNAPSHOT.war inflating: WEB-INF/var/shared_modules/videostreaming-6.5-SNAPSHOT.war inflating: WEB-INF/var/shared_modules/webClipping-6.5-SNAPSHOT.war inflating: WEB-INF/var/shared_modules/wiki-6.5-SNAPSHOT.war inflating: WEB-INF/var/versions.properties inflating: WEB-INF/web.xml ... ...</pre> <p> If you use a GUI to extract the zip, make sure you extract in a new directory and that you name that directory jahia.war, jahia is in this case the name of the contextPath.</p> <p> &nbsp;</p> <p> Step 4 - Prepare the Jahia archive for Glassfish deployment</p> <p> - Edit WEB-INF/etc/config/jahia.properties and change jahia.contextPath from the empty default to /jahia</p> <pre> [b]Change[/b] jahia.contextPath = [b]To[/b] jahia.contextPath = /jahia</pre> <p> - Due to a bug in the taglib library the file jahia-taglib-6.5-SNAPSHOT.jar needs to be extracted and edited.</p> <p> The easiest way to do this is extract the jar file using unzip into a separate directory</p> <pre> indesign:jahia.war rvt$ cd WEB-INF/lib indesign:lib rvt$ unzip jahia-taglib-6.5-SNAPSHOT.jar -d jahia-taglib-6.5-SNAPSHOT inflating: jahia-taglib-6.5-SNAPSHOT/org/jahia/taglibs/utility/siteproperties/DisplaySitePropertiesTag.class inflating: jahia-taglib-6.5-SNAPSHOT/org/jahia/taglibs/utility/TextDiffTag.class inflating: jahia-taglib-6.5-SNAPSHOT/org/jahia/taglibs/utility/Utils.class ... ...</pre> <p> Then edit each META-INF/*.tld file and ONLY remove from <strong>between</strong> the &lt;tag-file&gt;...&lt;/tag-file&gt; the<strong>description</strong> tag.</p> <pre> &lt;tag-file&gt; &lt;description&gt;Displays the content manager engine&lt;/description&gt; &lt;name&gt;contentManager&lt;/name&gt; &lt;path&gt;/META-INF/tags/ajax/contentmanager.tag&lt;/path&gt; &lt;/tag-file&gt; [b]becomes[/b] &lt;tag-file&gt; &lt;description&gt;Displays the content manager engine&lt;/description&gt; &lt;name&gt;contentManager&lt;/name&gt; &lt;path&gt;/META-INF/tags/ajax/contentmanager.tag&lt;/path&gt; &lt;/tag-file&gt; [b]or comment out[/b] &lt;tag-file&gt; &lt;!--&lt;description&gt;Displays the content manager engine&lt;/description&gt; --&gt; &lt;name&gt;contentManager&lt;/name&gt; &lt;path&gt;/META-INF/tags/ajax/contentmanager.tag&lt;/path&gt; &lt;/tag-file&gt;</pre> <p> After all descriptions are commented out the jahia-taglib-6.5-SNAPSHOT needs to be zipped back into a jar file and the expanded directory needs to get removed.</p> <pre> indesign:lib rvt$ cd jahia-taglib-6.5-SNAPSHOT indesign:jahia-taglib-6.5-SNAPSHOT rvt$ zip -r ../jahia-taglib-6.5-SNAPSHOT.jar . updating: org/jahia/taglibs/workflow/ActiveWorkflowTag.class (deflated 53%) updating: org/jahia/taglibs/workflow/AvailableTasksTag.class (deflated 57%) updating: org/jahia/taglibs/workflow/AvailableWorkflowsTag.class (deflated 56%) updating: org/jahia/taglibs/workflow/WorkflowFunctions.class (deflated 46%) ... ... indesign:jahia-taglib-6.5-SNAPSHOT rvt$ cd .. indesign:lib rvt$ rm -r jahia-taglib-6.5-SNAPSHOT</pre> <p> - Edit admin/manage_templates.jsp and remove the line: <strong>&lt;%@page import=&quot;org.jahia.resourcebundle.*&quot; %&gt;</strong><br /> <em>Note: this might not be needed anymore with the latest SNAPSHOT.</em></p> <p> &nbsp;</p> <p> Step 5 - Prepare Glassfish&nbsp;</p> <p> Extract the files shared-libraries.zip and put them in your domainX/lib directory in Glassfish</p> <pre> indesign:~ rvt$ cd /opt/Jahia_xCM_CE_v6.5-SNAPSHOT indesign:Jahia_xCM_CE_v6.5-SNAPSHOT rvt$ unzip shared-libraries.zip -d shared-libraries Archive: shared-libraries.zip inflating: shared-libraries/pluto-container-api-2.0.2.jar inflating: shared-libraries/ccpp-1.0.jar inflating: shared-libraries/pluto-container-driver-api-2.0.2.jar inflating: shared-libraries/portals-bridges-common-1.0.4.jar inflating: shared-libraries/pluto-taglib-2.0.2.jar inflating: shared-libraries/portlet-api_2.0_spec-1.0.jar indesign:Jahia_xCM_CE_v6.5-SNAPSHOT rvt$ cd shared-libraries indesign:shared-libraries rvt$ cp *.jar &lt;glassfish dir&gt;/domains/domain1/lib indesign:shared-libraries rvt$</pre> <p> Make sure a jar file of the PostgreSQL jdbc driver is also available in the lib directory, and remove it from WEB-INF/lib folder of jahira.war to prevent classpath problems.</p> <p> - Login to the admin console and create the following items under resources/JDBC</p> <p> 1) Create a connection pool with the name Jahia that points to the database created in Step 1. Ping the database to check if Glassfish can connect to it properly</p> <p> 2) Create a JDBC resource with the name jdbc/jahia that uses the Jahia pool name</p> <p> &nbsp;</p> <p> Step 6) Deploy jahia</p> <p> Deploy Jahia using the admin console (or using the cli) like you would do with any other war application. Be aware that the first time deploying might take some time and can take a minute or more depending on the speed of your server</p> <p> After the deploy was successful you can go to the URL <a href="http:">http://</a>&lt;server&gt;:&lt;port&gt;/jahia/ that will bring you to the login screen of Jahia. From there you can enter with the password you have entered in step 2, system administrator.</p> <p> &nbsp;</p> <p> I hope this was clear.</p> <p> &nbsp;</p> <p> Ries</p> <p> PS: Thanks from Sergiy for clearing this up in a other thread,</p>

  • Number of messages  185
    Registration date Jun 7, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: HOWTO: Jahia Glassfish PostgreSQL

    by  shyrkov »  2011/06/07 17:55

    Hello Ries,

    thank you very much for the detailed procedure!
    I've corrected the problem in the [i:mvr9xsps]admin/manage_templates.jsp[/i:mvr9xsps] (available in the nightly builds).
    Was the creation of a deployment descriptor (sub-web.xml) not necessary in your case?

    Kind regards
    Sergiy
  • Re: HOWTO: Jahia Glassfish PostgreSQL
    2011/06/07 17:55

    shyrkov Hello Ries,<br/><br/>thank you very much for the detailed procedure!<br/>I've corrected the problem in the [i:mvr9xsps]admin/manage_templates.jsp[/i:mvr9xsps] (available in the nightly builds).<br/>Was the creation of a deployment descriptor (sub-web.xml) not necessary in your case?<br/><br/>Kind regards<br/>Sergiy

  • Number of messages  407
    Registration date Jun 7, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: HOWTO: Jahia Glassfish PostgreSQL

    by  rvt »  2011/06/07 17:55

     

    Sergiy,

    the deployment descriptor (sun-web.xml) is indeed not needed for Jahia to work properly. So far everything seems to work fine except 2 items:

    I have only one issue I am trying to track down when this exception happens :

    [#|2011-01-31T11:07:40.216 0500|WARNING|glassfish3.0.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=26;_ThreadName=http-thread-pool-8080-(1);|ApplicationDispatcher[/jahia] PWC1231: Servlet.service() for servle org.apache.jasper.JasperException: /modules/tasks/jnt_currentUserTasks/html/currentUserTasks.jsp(243,24) PWC6296: The function $ must be used with a prefix when a default namespace is not specified 

    I think it has something todo with GWT but looking at the JSP this seems more like a dollar sign function in javascript that fails, I don't know GWT well enough to know better, sorry 

    I am planning to report this as soon as I know how to repeat this error properly.

     

    Ries

  • Re: HOWTO: Jahia Glassfish PostgreSQL
    2011/07/04 09:30

    rvt <p> &nbsp;</p> <p> <title></title> </p> <p> Sergiy,</p> <p> the deployment descriptor (sun-web.xml) is indeed not needed for Jahia to work properly. So far everything seems to work fine except 2 items:</p> <p> I have only one issue I am trying to track down when this exception happens :</p> <pre> [#|2011-01-31T11:07:40.216 0500|WARNING|glassfish3.0.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=26;_ThreadName=http-thread-pool-8080-(1);|ApplicationDispatcher[/jahia] PWC1231: Servlet.service() for servle org.apache.jasper.JasperException: /modules/tasks/jnt_currentUserTasks/html/currentUserTasks.jsp(243,24) PWC6296: The function $ must be used with a prefix when a default namespace is not specified </pre> <p> I think it has something todo with GWT but looking at the JSP this seems more like a dollar sign function in javascript that fails, I don&#39;t know GWT well enough to know better, sorry&nbsp;</p> <p> I am planning to report this as soon as I know how to repeat this error properly.</p> <p> &nbsp;</p> <p> Ries</p>

  • Number of messages  185
    Registration date Jun 7, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: HOWTO: Jahia Glassfish PostgreSQL

    by  shyrkov »  2011/06/07 17:55

    Hello Ries,

    yes, there are 4 JSPs with the same issue that fail compilation on Glassfish (seehttp://jira.jahia.org/browse/QA-1741). The currentUserTasks.jsp is among them.
    But the issue is not with the GWT, but rather with jQuery framework usage ($-sign comes from it) that is wrongly interpreted by Glassfish.
    I had no chance yet to look into the details and search for a solution, but I am tracking this issue in the JIRA ticket QA-1741.

    Kind regards
    Sergiy

  • Re: HOWTO: Jahia Glassfish PostgreSQL
    2011/07/04 09:31

    shyrkov <p> Hello Ries,<br /> <br /> yes, there are 4 JSPs with the same issue that fail compilation on Glassfish (see<a href="http://jira.jahia.org/browse/QA-1741">http://jira.jahia.org/browse/QA-1741</a>). The currentUserTasks.jsp is among them.<br /> But the issue is not with the GWT, but rather with jQuery framework usage ($-sign comes from it) that is wrongly interpreted by Glassfish.<br /> I had no chance yet to look into the details and search for a solution, but I am tracking this issue in the JIRA ticket&nbsp;<a href="http://jira.jahia.org/browse/QA-1741">QA-1741</a>.<br /> <br /> Kind regards<br /> Sergiy</p>

  • Number of messages  407
    Registration date Jun 7, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: HOWTO: Jahia Glassfish PostgreSQL

    by  rvt »  2011/06/07 17:55

    Sergiy,

    awesome for tracking this!
    If there is anything I can do to help, please let me know...

    Ries
  • Re: HOWTO: Jahia Glassfish PostgreSQL
    2011/06/07 17:55

    rvt Sergiy,<br/><br/>awesome for tracking this!<br/>If there is anything I can do to help, please let me know...<br/><br/>Ries

  • Number of messages  185
    Registration date Jun 7, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: HOWTO: Jahia Glassfish PostgreSQL

    by  faeschlimann »  2011/06/07 17:55

    You could use the word "jQuery" instead of the shorcut "$" in your jsp as described in this page:
    http://docs.jquery.com/Using_jQuery_wit ... _Libraries

    It's usualy used for solving javascript conflict with other javascript framwork.
    In your case, you don't need to call the noConflict function.

      (faeschlimann)

    Number of messages  1
    Registration date
    0 (0 Good)
    0 (0 Bad)

    Re: HOWTO: Jahia Glassfish PostgreSQL

    by  rvt »  2011/06/07 17:56

     

    Hello!

     

    thanks for that pointer to teh jQuery documentation.

    I have added the following code to currentUserTasks.jsp (sorry no patch)

    Line 24 I added:

    <script type="text/javascript">jQuery.noConflict();</script>

    Line 243 I changed from

        <template:param name="workflowTaskFormCallbackJS"
    
    value="$('.taskformdiv').each(function(index,value){animatedcollapse.addDiv($(this).attr('id'), 'fade=1,speed=100');});animatedcollapse.reinit();"/>

    to

           <template:param name="workflowTaskFormCallbackJS"
    
    value="jQuery('.taskformdiv').each(function(index,value){animatedcollapse.addDiv(jQuery(this).attr('id'), 'fade=1,speed=100');});animatedcollapse.reinit();"/>

    During deployment with pre-compile JSP on the error is gone. Unfortunately I am not sure yet where currentUserTasks.jsp is called and I couldn't test yet if this is working or not. May be Sergiy can tells us how to get to currentUserTasks.jsp , and if this works I can provide a patch to the bugtracker for this.

     

    I do have a good feeling about this though....

     

    Ries

  • Re: HOWTO: Jahia Glassfish PostgreSQL
    2011/07/04 09:34

    rvt <p> &nbsp;</p> <p> <title></title> </p> <p> Hello!</p> <p> &nbsp;</p> <p> thanks for that pointer to teh jQuery documentation.</p> <p> I have added the following code to currentUserTasks.jsp (sorry no patch)</p> <p> Line 24 I added:</p> <pre> &lt;script type=&quot;text/javascript&quot;&gt;jQuery.noConflict();&lt;/script&gt;</pre> <p> Line 243 I changed from</p> <pre> &lt;template:param name=&quot;workflowTaskFormCallbackJS&quot; value=&quot;$(&#39;.taskformdiv&#39;).each(function(index,value){animatedcollapse.addDiv($(this).attr(&#39;id&#39;), &#39;fade=1,speed=100&#39;);});animatedcollapse.reinit();&quot;/&gt;</pre> <p> to</p> <pre> &lt;template:param name=&quot;workflowTaskFormCallbackJS&quot; value=&quot;jQuery(&#39;.taskformdiv&#39;).each(function(index,value){animatedcollapse.addDiv(jQuery(this).attr(&#39;id&#39;), &#39;fade=1,speed=100&#39;);});animatedcollapse.reinit();&quot;/&gt;</pre> <p> During deployment with pre-compile JSP on the error is gone. Unfortunately I am not sure yet where currentUserTasks.jsp is called and I couldn&#39;t test yet if this is working or not. May be Sergiy can tells us how to get to currentUserTasks.jsp , and if this works I can provide a patch to the bugtracker for this.</p> <p> &nbsp;</p> <p> I do have a good feeling about this though....</p> <p> &nbsp;</p> <p> Ries</p>

  • Number of messages  185
    Registration date Jun 7, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: HOWTO: Jahia Glassfish PostgreSQL

    by  shyrkov »  2011/06/07 17:56

    Hello Ries,

    I was using our pre-compile servlet to test the compilation of all JSPs:

    http://localhost:8080/precompileServlet

    (my Jahia is deployed in ROOT context).

    The servlet is protected by the basic authentication (by default user=jahia, password=password).

    Kind regards

    Sergiyt

  • Re: HOWTO: Jahia Glassfish PostgreSQL
    2011/07/04 09:34

    shyrkov <p> Hello Ries,<br /> <br /> I was using our pre-compile servlet to test the compilation of all JSPs:<br /> <br /> <a href="http://localhost:8080/precompileServlet">http://localhost:8080/precompileServlet</a><br /> <br /> (my Jahia is deployed in ROOT context).<br /> <br /> The servlet is protected by the basic authentication (by default user=jahia, password=password).<br /> <br /> Kind regards</p> <p> Sergiyt</p>

  • Number of messages  407
    Registration date Jun 7, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: HOWTO: Jahia Glassfish PostgreSQL

    by  rvt »  2011/06/07 17:56

    Sergiy,

    would you accept a patch where some of the javascript dollarsign functions are replaced by the jQuery function?
    I am beable to track some of them down but I wonder if it's better to find the rootcauze of this, or that it's just ok to change the $ function to jQuery. On tomcat here everything is fine, only on Glassfish I have a couple of small issues.

    I have been trying to google on this subject, but so far fruitless.

    Ries
  • Re: HOWTO: Jahia Glassfish PostgreSQL
    2011/06/07 17:56

    rvt Sergiy,<br/><br/>would you accept a patch where some of the javascript dollarsign functions are replaced by the jQuery function?<br/>I am beable to track some of them down but I wonder if it's better to find the rootcauze of this, or that it's just ok to change the $ function to jQuery. On tomcat here everything is fine, only on Glassfish I have a couple of small issues.<br/><br/>I have been trying to google on this subject, but so far fruitless.<br/><br/>Ries

  • Number of messages  185
    Registration date Jun 7, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: HOWTO: Jahia Glassfish PostgreSQL

    by  shyrkov »  2011/06/07 17:56

    Hello Ries,

    yes, sure, we will appreciate any patch suggestion. If you cannot attach the patch to the JIRA ticket, you can attach it here and we will take care.

    We are currently in the process of migrating Jahia 6.5 templates from jQuery 1.3.x to 1.5.x, so we can in perhaps consider your changes at the same time.

    Kind regards
    Sergiy

  • Re: HOWTO: Jahia Glassfish PostgreSQL
    2011/07/04 09:35

    shyrkov <p> Hello Ries,<br /> <br /> yes, sure, we will appreciate any patch suggestion. If you cannot attach the patch to the&nbsp;<a href="http://jira.jahia.org/browse/QA-1741">JIRA ticket</a>, you can attach it here and we will take care.<br /> <br /> We are currently in the process of migrating Jahia 6.5 templates from jQuery 1.3.x to 1.5.x, so we can in perhaps consider your changes at the same time.<br /> <br /> Kind regards<br /> Sergiy</p>

  • Number of messages  407
    Registration date Jun 7, 2011
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page