CQ5 author instance is not Starting - aem

I am Using 5.6.1 version of Adobe cq5 . I have set Java version 7 as JAVA_HOME . While starting Author instance am getting 500 error.

Some times even if we have java version 7 and AEM 5.6.1 , we face issues while starting the author instance. This can be over come by starting the instance via command prompt.

Related

AEM 6.4 upgrade post upgrade issue with packages

Post upgrade from AEM 6.2 with SP1 to AEM 6.4 few of the packages are not installed. The older version is on installed state.
For the new package is showing the message as "A different version seems to be installed:" see the below screen shot.
Because of this i could see few of the scripts are not updated with latest API.
For example
AEM 6.4 upgraded instance : /libs/cq/ui/components/widget/html.jsp -> API reference com.day.cq.widget.HtmlLibraryManager
AEM 6.4 Vanila instance : /libs/cq/ui/components/widget/html.jsp -> API reference com.adobe.granite.ui.clientlibs.HtmlLibraryManager
This issue is currently resolved by overlaying the file and updated with the new API com.adobe.granite.ui.clientlibs.HtmlLibraryManager
This package is not able to install manually. When i am trying to install getting the error as javax.jcr.nodetype.ConstraintViolationException: OakConstraint0074: Attempt to add, modify or remove the system maintained property 'rep:externalId'.
This is because of upgrade is not done properly. During the upgrade few packages is not upgraded from older version to new version due to javax.jcr.nodetype.ConstraintViolationException. This is because of custom code has updated 'rep:externalId' to the users and system user in the AEM 6.2 instance. During the upgrade this properly in the System user creates javax.jcr.nodetype.ConstraintViolationException. So i have deleted this property from system user before upgrade. This works for the above problem.
Note : Since Oak 1.5.8 the system-maintained property rep:externalId is protected and can not be altered using regular JCR and Jackrabbit API, irrespective of the permission setup of the editing session.

PIA_INSTALL_FAIL during PeopleSoft Server Administration

I'm following the online installation example (https://www.youtube.com/watch?v=7ElSGLkprkY) to install PeopleSoft with PeopleTools on Windows 7 with SQLServer 2008 R2.
My PS and PT installation version differs from the online videos since I'm using most recent available versions:
PeopleSoft HM 9.2
PeopleTools 8.55
Tuxedo 12.1.3.0.0 with VS2012
WebLogic 12.1.3.0.0 64bit
JDK 7u55 x64
SQL Server 2008 R2
I could install each element with no error, excepted one VIEW during HC database creation (PS_EP_APPRMOB_PNDG), but I could re-create the view manually by slightly modifying the SQL query.
Now I'm trying to configure the Web (PIA) Server and I encounter an error while creating the domain. The piainstall_HC.log file contains following:
Tue Sep 20 09:48:32 CEST 2016:Starting PIA installation...
PS_HOME: c:\PT8.55
Install Action : CREATE_NEW_DOMAIN
Creating Domain...
Deploying Web Applications...
Deploying WebLogic Extension files...
Deploying PeopleSoft Site files...
Deploying PeopleSoft Site Doc files...
Completed.
PS_CFG_HOME: C:\PS_CFG_HOME
PIA_INSTALL_FAIL
After intensive googling, I found that some other people got a similar issue which was caused by a wrong version of the JDK: the JRockit jvm was required.
Of course I tried to use JRockit JDK 64bit, but I still get the same error. I also tried several other oracle JDK versions, among others the JDK 7u55 x64, which is provided with PeopleTools installation elements.
Unfortunately, I definitively get the same error and cannot find any other logfile which could give more information on the root cause.
Did someone experienced the same issue and could fix it ?
Thanks for help
I finally could fix the issue.
It seems that my error was to install the wrong weblogic version: originally, I installed weblogic by using the "setup_fmw_12.1.3.0.0_ohs_win64.exe" installer which was provided with PeopleTools.
It appears that the other one (fmw_12.1.3.0.0_wls.jar) was expected. After installing this version (with "Coherence"), the domain could be created successfully.

Unable to get GraphAware to run on Windows Community edition

I've tried installing and running from the Zip instead of EXE as other have mentioned.
Gives a 404 if authorization header is supplied, and 401 if not
GraphAware seems to have only a version for 2.2.2, whereas 2.2.3 is the latest on the neo4j site. Managed to track down 2.2.2 only to have it not work still. Any ideas?
It is correct the GraphAware modules are not compatible with Neo4j2.2.3 due to a bug in the Transaction data in neo4j itself (ref here https://github.com/neo4j/neo4j/issues/4910) which should be fixed in 2.2.4 or 2.3-RC1
If you installed via the zip, this should however work with 2.2.2, Please amend your question with the modules you use and their version, also all configuration you have set for the moduleS.

Cannot deploy Google App due to errors

I have created a simple application using the Google App Engine
Environment
Eclipse 4.2 (Juno) Plugin - http://dl.google.com/eclipse/plugin/4.2
JDK 7
I was able to create a sample application and run it locally.
When I try to deploy it gives me an error
Error in eclipse
Deploying 'applicationname' to Google has encountered a problem.
Unable to update app: The application contains Java 7 classes, but the --use_java7 flag has not been set.
See the deployment console for more details
Unable to update app: The application contains Java 7 classes, but the --use_java7 flag has not been set.
The logs show
Unable to update:
java.lang.RuntimeException: The application contains Java 7 classes, but the --use_java7 flag has not been set.
at com.google.appengine.tools.admin.Application.createStagingDirectory(Application.java:576)
at com.google.appengine.tools.admin.AppAdminImpl.doUpdate(AppAdminImpl.java:370)
at com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java:53)
at com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.deploy(AppEngineBridgeImpl.java:433)
at com.google.appengine.eclipse.core.deploy.DeployProjectJob.runInWorkspace(DeployProjectJob.java:148)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
I see someone has encountered the same error before
Failed to deploy to Google App Engine because --use_java7 flag has not been set
I installed JDK 6 but I could not get the application to work either.
What are my alternatives to getting the application to work? - some thoughts...
Use prior version of plug in?
Install JDK 6 by itself?
Some other options?
You have to use JDK 6.
Similar Question
Java Overview Docs
App Engine runs Java applications using the Java 6 virtual machine (JVM). The App Engine SDK supports Java 5 and later, and the Java 6 JVM can use classes compiled with any version of the Java compiler up to Java 6.

jetty and eclipse

I'm trying to run a jetty server from a main. It always starts from http://0.0.0.0:8888;
I have changed jetty.xml and added set host to 127.0.0.0
when i run a command on the downloaded jetty files, it starts correctly at 127.0.0.0.
But eclipse keeps on starting at 0.0.0.0. It is running jetty 6.1, not the 8.0 version I have downloaded.
I've changed JETTY_HOME to point to the correct files. It does not work. :(
Need Help
Jetty 8 is in "experimental state" (see Versions) and I would recommend you do not use that version if you have a choice. I would go with version 6 as there was a change in version 7 with name spaces which may result in the behaviour you see.
Question is where that version 6.1 is coming from that you are seeing. Investigate and report back.
Try using run-jetty-run eclipse plugin. I have written a blog post about how to use it with DCEVM for hotdeploy. It really improves development time:
Spring-mvc + Velocity + DCEVM