trying to extract CQ author instance ? | Community
Skip to main content
Level 4
October 16, 2015
Solved

trying to extract CQ author instance ?

  • October 16, 2015
  • 11 replies
  • 3700 views

Hi,

I tried to extract a jar file, it is giving errors

http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__qw5y-java_-jar_cq-author-.html

http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__lfol-_java_-xx_maxperm.html

http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__mer1-java_-xx_maxpermsize.html

so i decided to u extract ajar file manually by double clicking the folder and extract button in it.

I extracted the directories present in it i got all the directories, when i executed #./start cmd.

When i use #ps -ef | grep java it is showing that author instance is running, When i tried to url https://<hostname>:4502 , it is giving msg UNNABLE TO CONNECT TO THE SERVER AT 4502

what would be the issue, one this is it a good practice to do so in a manual way

Thanks

Mahesh

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Feike_Visser1

You can do the following:

java -jar yourcq5jarfile.jar -unpack

Then navigate to the crx-quickstart\bin folder and run the start/start.bat file

--

Feike

11 replies

Level 4
October 16, 2015

#### java -jar cq-author-p4502.jar -unpack
Loading quickstart properties: default
Loading quickstart properties: instance
Setting properties from filename '/home/author/cq-author-p4502.jar'
Option '-quickstart.server.port' set to '4502' from filename cq-author-p4502.jar
Verbose mode - stdout/err not redirected to files, and stdin not closedResourceProvider paths=[/gui, /gui/default]
quickstart.build=5.6.1.20130606
quickstart.properties not found, initial install
UpgradeUtil.handleInstallAndUpgrade has mode INSTALL
Saving build number in quickstart.properties
Upgrade: no files to restore from pre-upgrade backup
java.io.IOException: Push back buffer is full
        at java.io.PushbackInputStream.unread(PushbackInputStream.java:232)
        at java.util.zip.ZipInputStream.readEnd(ZipInputStream.java:366)
        at java.util.zip.ZipInputStream.read(ZipInputStream.java:195)
        at java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:139)
        at com.adobe.granite.quickstart.base.impl.Unpacker.extractFiles(Unpacker.java:168)
        at com.adobe.granite.quickstart.base.impl.Unpacker.unpack(Unpacker.java:69)
        at com.adobe.granite.quickstart.base.impl.upgrade.UpgradeUtil.handleInstallAndUpgrade(UpgradeUtil.java:100)
        at com.adobe.granite.quickstart.base.impl.Quickstart.<init>(Quickstart.java:140)
        at com.adobe.granite.quickstart.base.impl.Main.<init>(Main.java:781)
        at com.adobe.granite.quickstart.base.impl.Main.main(Main.java:839)
Quickstart: aborting

Feike_Visser1
Adobe Employee
Feike_Visser1Adobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

You can do the following:

java -jar yourcq5jarfile.jar -unpack

Then navigate to the crx-quickstart\bin folder and run the start/start.bat file

--

Feike

Feike_Visser1
Adobe Employee
Adobe Employee
October 16, 2015

So this is the cause then "java.io.IOException: Push back buffer is full"

Looks like a memory issue of some kind.

How much memory do you have?

For the sake of testing, can you try it on another machine and see if that works ok.

Also adding -Xmx1024m is worth trying I would say.

Level 4
October 16, 2015

Please go through the above links i tried everything 

Feike_Visser1
Adobe Employee
Adobe Employee
October 16, 2015

I did, but I didn't see if you tried the -unpack option.

Level 4
October 16, 2015

in another machine it is working.

it worked for me in my box, i don't know why it is troubling me.

java -XX:MaxPermSize=192m -Xmx768M -jar cq-author-p4502.jar
Loading quickstart properties: default
Loading quickstart properties: instance
Low-memory action set to fork
Using 32bit VM settings, min.heap=768MB, min permgen=192MB, default fork arguments=[-Xmx768m, -XX:MaxPermSize=192m]
**** WARNING: insufficent heap memory ******************************************
The JVM reports 742 MB but we recommend at least 768 MB +/- 20
Use your JVM's heap size option (like -Xmx768M) to set that size.
Will fork a JVM to get enough memory.
********************************************************************************
The JVM MBean:Perm Gen reports a maximum size of 192 MB, meets our expectation of 192 MB +/- 20
Available memory below specified limits and low-memory action set to fork, will fork to get enough memory
Preparing to fork JVM, OS name=Linux, isWindows=false
Forking JVM: [/usr/java/jdk1.7.0_09/jre/bin/java, -Xmx768m, -XX:MaxPermSize=192m, -jar, /home/author/cq-author-p4502.jar, -nofork, -pt, CHILD]
Loading quickstart properties: default
Loading quickstart properties: instance
Low-memory action set to fork
Using 32bit VM settings, min.heap=768MB, min permgen=192MB, default fork arguments=[-Xmx768m, -XX:MaxPermSize=192m]
**** WARNING: insufficent heap memory ******************************************
The JVM reports 742 MB but we recommend at least 768 MB +/- 20
Use your JVM's heap size option (like -Xmx768M) to set that size.
Will fork a JVM to get enough memory.
********************************************************************************
The JVM MBean:Perm Gen reports a maximum size of 192 MB, meets our expectation of 192 MB +/- 20
Available memory below specified limits and low-memory action set to fork, will fork to get enough memory
Not forking JVM as -nofork option is set
Setting properties from filename '/home/author/cq-author-p4502.jar'
Option '-quickstart.server.port' set to '4502' from filename cq-author-p4502.jar
Verbose option not active, closing stdin and redirecting stdout and stderr
Redirecting stdout to /home/author/crx-quickstart/logs/stdout.log
Redirecting stderr to /home/author/crx-quickstart/logs/stderr.log
Forked JVM process exited with exit code 1
Main JVM process exiting
MAIN process: shutdown hook
MAIN process: exiting

Level 4
October 16, 2015

Hi feike visser,

I tried it if u want i will paste error if u want.

Level 4
October 16, 2015

java -XX:MaxPermSize=256m -Xmx1024M -jar cq-author-p4502.jar -unpack
Loading quickstart properties: default
Loading quickstart properties: instance
Setting properties from filename '/home/author/cq-author-p4502.jar'
Option '-quickstart.server.port' set to '4502' from filename cq-author-p4502.jar
Verbose mode - stdout/err not redirected to files, and stdin not closedResourceProvider paths=[/gui, /gui/default]
quickstart.build=5.6.1.20130606
quickstart.properties not found, initial install
UpgradeUtil.handleInstallAndUpgrade has mode INSTALL
Saving build number in quickstart.properties
Upgrade: no files to restore from pre-upgrade backup
java.io.IOException: Push back buffer is full
        at java.io.PushbackInputStream.unread(PushbackInputStream.java:232)
        at java.util.zip.ZipInputStream.readEnd(ZipInputStream.java:366)
        at java.util.zip.ZipInputStream.read(ZipInputStream.java:195)
        at java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:139)
        at com.adobe.granite.quickstart.base.impl.Unpacker.extractFiles(Unpacker.java:168)
        at com.adobe.granite.quickstart.base.impl.Unpacker.unpack(Unpacker.java:69)
        at com.adobe.granite.quickstart.base.impl.upgrade.UpgradeUtil.handleInstallAndUpgrade(UpgradeUtil.java:100)
        at com.adobe.granite.quickstart.base.impl.Quickstart.<init>(Quickstart.java:140)
        at com.adobe.granite.quickstart.base.impl.Main.<init>(Main.java:781)
        at com.adobe.granite.quickstart.base.impl.Main.main(Main.java:839)
Quickstart: aborting

Feike_Visser1
Adobe Employee
Adobe Employee
October 16, 2015

Same amount of mem/ram in the two machines?

Otherwise try closing all other apps and/or restart your machine to get more ram available.

It is good at least that it is working on your other machine.

Level 4
October 16, 2015

ya i have 4 GB ram allocated to that machine,

i deleted all the author, now when i am trying to extract it again it is getting this error