Hi,
I tried to extract a jar file, it is giving errors
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
Solved! Go to Solution.
Views
Replies
Total Likes
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
Views
Replies
Total Likes
#### 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
Views
Replies
Total Likes
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
Views
Replies
Total Likes
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.
Views
Replies
Total Likes
Please go through the above links i tried everything
Views
Replies
Total Likes
I did, but I didn't see if you tried the -unpack option.
Views
Replies
Total Likes
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
Views
Replies
Total Likes
Hi feike visser,
I tried it if u want i will paste error if u want.
Views
Replies
Total Likes
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
Views
Replies
Total Likes
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.
Views
Replies
Total Likes
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
Views
Replies
Total Likes
Can you restart the machine? To avoid any hanging processes etc.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies