Jahia in English > Deleted pages from...

0 (0 Good)
0 (0 Bad)

Deleted pages from the site are added back after an updated template is deployed

by  sudhirjangir »  2013/04/11 10:40

We are keeping default pages in the template, and these pages are created when we create a website using the template.

Now go to edit mode of the site, and delete a page from the site, and publish it.

Change something in template and deploy the new template again.

You will see the deleted page has reappeared for the edit mode, not for the published mode. Published mode is untouched.

Is it an expected behaviour?

  • Deleted pages from the site are added back after an updated template is deployed
    2013/04/11 10:40

    sudhirjangir <p> We are keeping default pages in the template, and these pages are created when we create a website using the template.</p> <p> Now go to edit mode of the site, and delete a page from the site, and publish it.</p> <p> Change something in template and deploy the new template again.</p> <p> You will see the deleted page has reappeared for the edit mode, not for the published mode. Published mode is untouched.</p> <p> Is it an expected behaviour?</p>

  • Number of messages  7
    Registration date Apr 11, 2013
    0 (0 Good)
    0 (0 Bad)

    Jahia/JVM/Tomcat Crash

    by  sudhirjangir »  2013/04/11 10:52

    we are using following configuration:

    CATALINA_OPTS="$CATALINA_OPTS -Xms6144m -Xmx6144m -Dcertain.config=/data02/certain/config -Djava.awt.headless=true -XX:MaxPermSize=1024m -server -Dhibernate.jdbc.use_streams_for_binary=true -verbose:gc -XX:+HeapDumpOnOutOfMemoryError -XX:ParallelGCThreads=4 -XX:LargePageSizeInBytes=512m -XX:+UseParallelOldGC -XX:+UseParallelGC -XX:+UseCompressedOops -XX:+AggressiveHeap -XX:+PrintGC -XX:+PrintGCDetails -XX:+PrintGCTimeStamps "

    JDK 1.6 version 22

    OS:Red Hat Enterprise Linux Server release 6.

    CPU:total 4 (1 cores per cpu, 1 threads per core)

    Java HotSpot(TM) 64-Bit Server VM (17.1-b03) for linux-amd64 JRE (1.6.0_22-b04)

    we keep getting:

    #
    # A fatal error has been detected by the Java Runtime Environment:
    #
    # java.lang.OutOfMemoryError: requested 17179869200 bytes for Chunk::new. Out of swap space?
    #
    #  Internal Error (allocation.cpp:215), pid=5845, tid=139708177794816
    #  Error: Chunk::new
    #
    # JRE version: 6.0_22-b04
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (17.1-b03 mixed mode linux-amd64 compressed oops)
    # An error report file with more information is saved as:
    # /data02/tomcatlogs/hs_err_pid5845.log
    #
    # If you would like to submit a bug report, please visit:
    #   http://java.sun.com/webapps/bugreport/crash.jsp
    #

  • Jahia/JVM/Tomcat Crash
    2013/04/11 10:52

    sudhirjangir <p> we are using following configuration:</p> <p> CATALINA_OPTS=&quot;$CATALINA_OPTS -Xms6144m -Xmx6144m -Dcertain.config=/data02/certain/config -Djava.awt.headless=true -XX:MaxPermSize=1024m -server -Dhibernate.jdbc.use_streams_for_binary=true -verbose:gc -XX:+HeapDumpOnOutOfMemoryError -XX:ParallelGCThreads=4 -XX:LargePageSizeInBytes=512m -XX:+UseParallelOldGC -XX:+UseParallelGC -XX:+UseCompressedOops -XX:+AggressiveHeap -XX:+PrintGC -XX:+PrintGCDetails -XX:+PrintGCTimeStamps &quot;</p> <p> JDK 1.6 version 22</p> <p> OS:Red Hat Enterprise Linux Server release 6.<br /> <br /> CPU:total 4 (1 cores per cpu, 1 threads per core)<br /> <br /> Java HotSpot(TM) 64-Bit Server VM (17.1-b03) for linux-amd64 JRE (1.6.0_22-b04)</p> <p> we keep getting:</p> <p> #<br /> # A fatal error has been detected by the Java Runtime Environment:<br /> #<br /> # java.lang.OutOfMemoryError: requested 17179869200 bytes for Chunk::new. Out of swap space?<br /> #<br /> #&nbsp; Internal Error (allocation.cpp:215), pid=5845, tid=139708177794816<br /> #&nbsp; Error: Chunk::new<br /> #<br /> # JRE version: 6.0_22-b04<br /> # Java VM: Java HotSpot(TM) 64-Bit Server VM (17.1-b03 mixed mode linux-amd64 compressed oops)<br /> # An error report file with more information is saved as:<br /> # /data02/tomcatlogs/hs_err_pid5845.log<br /> #<br /> # If you would like to submit a bug report, please visit:<br /> #&nbsp;&nbsp; http://java.sun.com/webapps/bugreport/crash.jsp<br /> #</p>

  • Number of messages  7
    Registration date Apr 11, 2013
    0 (0 Good)
    0 (0 Bad)

    Re: Jahia/JVM/Tomcat Crash

    by  shuber »  2013/04/11 13:24

    Hello, 

    A quick google search brought up this interesting result:

    http://stackoverflow.com/questions/4435819/java-lang-outofmemoryerror-requested-1958536-bytes-for-chunknew-out-of-swap

    Best regards,

      Serge Huber.

    Serge Huber (shuber)

    Number of messages  271
    Registration date
    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