Quantcast
Channel: Adobe Community : All Content - Content Repository (CRX)
Viewing all 61 articles
Browse latest View live

ERROR com.day.crx.core.util.console.AbstractConsole using CRX console tool

$
0
0

Hello Experts,

 

I am having issue while running CRX console tool (console.sh with CRX 2.2). I was trying to execute "check" command using this tool to perform repository check but unfortunately its throwing following exception while running.

 

268154 [main] ERROR com.day.crx.core.util.console.AbstractConsole  - Unable to perform command check: java.lang.ArrayIndexOutOfBoundsException: 10

 

 

Any help would be appriciated.

 

Thanks,

Ifteqar


Where to post CQ5 related question?

$
0
0

Hi All,

 

I just found DIgital Marketing Suite and CQ5 has become read-only. So where to post CQ5 related questions.

 

Thanks,

Sai

scripting evaluation exceptions..

$
0
0

Hi,

 

can i get help on the below one...it is bit of priority one...

 

 

 

18.11.2013 06:14:31.791 *ERROR* [27.251.211.42 [1384773271760] GET / HTTP/1.1] org.apache.sling.scripting.jsp.jasper.compiler.Compiler Compilation error java.io.FileNotFoundException: Unable to find \org/apache/jsp/apps/sling/servlet/errorhandler\_404_jsp.java

          at org.apache.sling.jcr.classloader.internal.DynamicClassLoaderProviderImpl.getInputStream(D ynamicClassLoaderProviderImpl.java:398)

          at org.apache.sling.scripting.jsp.SlingIOProvider.getInputStream(SlingIOProvider.java:73)

          at org.apache.sling.scripting.jsp.jasper.JspCompilationContext.getInputStream(JspCompilation Context.java:201)

          at org.apache.sling.scripting.jsp.jasper.compiler.JDTCompiler$1CompilationUnit.getContents(J DTCompiler.java:102)

          at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:9047)

          at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:9019)

          at org.eclipse.jdt.internal.compiler.parser.Parser.dietParse(Parser.java:7707)

          at org.eclipse.jdt.internal.compiler.Compiler.beginToCompile(Compiler.java:371)

          at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:397)

          at org.apache.sling.scripting.jsp.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java :410)

          at org.apache.sling.scripting.jsp.jasper.compiler.Compiler.compile(Compiler.java:313)

          at org.apache.sling.scripting.jsp.jasper.compiler.Compiler.compile(Compiler.java:291)

          at org.apache.sling.scripting.jsp.jasper.compiler.Compiler.compile(Compiler.java:278)

          at org.apache.sling.scripting.jsp.jasper.JspCompilationContext.compile(JspCompilationContext .java:599)

          at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:354)

          at org.apache.sling.scripting.jsp.JspServletWrapperAdapter.service(JspServletWrapperAdapter. java:59)

          at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java :173)

          at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.j ava:84)

          at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngin eFactory.java:388)

          at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:358)

          at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:170)

          at org.apache.sling.scripti

 

 

I am getting this error in my logs..

 

And every time im getting thr service not available in my console...when i click localhost:4502..

But excepept welcome screen and system/console remaining crx,crxde,packagemanager all opening..can i get help on this..

 

 

Thanks,

Sony C

Troubles using webdav with cq5.4..

$
0
0

Hi,

 

 

I just trying to use webdav in one of my cq5.4 instance..

Here what iam finding is when i upload an image from cq5.4 digital assets itz showing up correct in my webdav folder with generating the rendations for that particular image...

 

 

And when use webdav folder to upload image it is showing u[p in the cq dam but rendetions are not getting created..

 

 

Is there any solution for this..And images names which are showing with some 1.0 , 1.2 like names in webdav folder...

Can i get help on this...

 

 

 

 

Thanks,

Sony C

Hiding "Form Template"

$
0
0

Hi,
How do you hide the "Form Template" from create new page view? The template is in

 

/libs/collab/commons/templates/form with allowedPaths : /content(/.*)? . Is there a way to override this without touching the ootb node directly?

 

Thanks in advance.

Replication agent configuration with CRX clustering

$
0
0

Hi Experts,

 

Currently i have 1 author instance & 3 publisher instances. The publisher instances are clustered as "Shared nothing cluster".

 

So now i need to configure replication agents on Author. Should i configure replication agents for all the four publishers or just for 1 publisher is enough?

 

Thanks in Advance...

 

Regards,

Error in bundle while importing in cq5

$
0
0

Hi,

 

Here i am facing a problem with the bundles installation in cq5 system/console.

 

I want to use com.sun.pdfview in my cq5 when importing the jar im getting the errorcom.sun.pdfview -- Cannot be resolved..

 

I tried all the ways to resolve it.

 

Is there any way we can use this jar in cq5 console directly.

 

package.png

Thanks,

Sony C

How to read files from cq5..

$
0
0

Hi,

 

Here i want to get a pdf file from the "/content/myproj-data/docs/demo.pdf" path and then want to convert this into images...(I am using cq5.6.1)

 

Whenever i started this process using the File I/O stream, i am not able to get the pdf file from the above path .....whenver i took from the static localpath (d://files/demo.pdf) i am able to fulfill my requirement ..

 

Here whats happening is, when pass /content/myproj-data/docs/demo.pdf to the InputStream , it is changing as "\content\myproj-data\docs\demo.pdf" (Instead of "/" itz taking "\").

 

Is there a better way to read pdf file from cq5 and convert into image??

 

Please share!!!

 

Thanks in advance

 

Sony C.


Images from page

$
0
0

Need to introduce new content finder tab  . On click on newly introdued tab   , need to display the image refered in current page in content finder result area. That image may be used in RTE ,TextImage and Image component.

 

New tab introduction has been done . Please guide to display the images used in  the current page in the content finder result area

How to use dataview xtype in cq5..

$
0
0

Hi,

 

Can anyone help me how to use the dataview xtype component in cq5..

 

I am able to show dataview grid in dialog with styles and default text. But passing the data to that dataview is the task for me. I am not able to get the process to pass the values in dataview.

 

Please help me to achieve this?

 

Thanks in advance!!!

 

Sony C.

Setup Dispatcher

$
0
0

Hi,

 

I want to setup a dispatcher, for my localhost.

I have an author and publisher environments already been setup in my laptop with windows 7 OS.

please let me know if there are detailed steps having the confuration steps for setting up dispatcher.

 

Thanks

Naren

Unable to login to CRX DE when using AEM (CQ5.6) with Weblogic

$
0
0

I'm a newbie to AEM and I am trying to run AEM on top of weblogic (10.3.6).  For that I've set up AEM war in the domains folder of my weblogic. I'm able to access the projects from the location :

http://localhost:7001/cq-publish-5.6.1/libs/cq/core/content/welcome.html 

However I'm not able to login to the CRXDE IDE. I tried the following URLs:

http://localhost:7001/cq-publish-5.6.1 
http://localhost:7001/
http://localhost:7001/crx-quickstart

crx-quickstart being the folder name where the repository of the AEM is present in the domans folder and other related URLs.  Except for the first URL, in all the other cases, I get the error in the prompt saying Could not connect. Please check your connection settings. However for the First URL, the repository login screen does not show any error, but after some time, there is a dialog with error saying "Error initializing workspace: No file system defined for scheme : jcr" and the IDE closes.

Also, there is a dialog saying the log file location and the log has errors as mentioned below:

 

java.lang.reflect.InvocationTargetException
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:121)
at com.day.cq.ide.CQDEApplication.start(CQDEApplication.java:62)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)


Caused by: org.eclipse.core.runtime.CoreException: No file system is defined for scheme: jcr
at org.eclipse.core.internal.filesystem.Policy.error(Policy.java:55)
at org.eclipse.core.internal.filesystem.Policy.error(Policy.java:50)
at org.eclipse.core.internal.filesystem.InternalFileSystemCore.getFileSystem(InternalFileSys temCore.java:65)
at org.eclipse.core.internal.filesystem.InternalFileSystemCore.getStore(InternalFileSystemCo re.java:107)
at org.eclipse.core.filesystem.EFS.getStore(EFS.java:350)
at com.day.cq.ide.fs.JCRFileSystemPlugin.registerExtensions(JCRFileSystemPlugin.java:100)
at com.day.cq.ide.init.SetupWorkspaceOperation.initWorkspace(SetupWorkspaceOperation.java:16 6)
at com.day.cq.ide.init.SetupWorkspaceOperation.execute(SetupWorkspaceOperation.java:119)
at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118)

 

What is it that I'm missing? Also, I have no problems when using CRXDE with the stand alone jar and accessing it as http://localhost:4302/

CQ5-JCR SQL 2 Queries with subqueries

$
0
0

Hi,

 

I want to find all users that belong to a certain group using the "Tools->Query" tool under CRXDE Lite (CQ5.5 SP2). My query looks as folling:

 

SELECT * FROM [nt:base] AS u WHERE u."jcr:primaryType" = 'rep:User' AND u."jcr:uuid" IN (SELECT s."rep:members" FROM [nt:base] AS s WHERE s."rep:principalName" = 'administrators' AND s."jcr:primaryType" = 'rep:Group').

 

When I execute the query I get "Query execution resulted in an error!" after a short while. What am I doing wrong? The syntax seems to be correct.

Extract environment name- dev/uat

$
0
0

Hi,

 

How can I dynamically retrieve environment detail like whether it is dev/staging/uat environment on which code is running in a model class or servlet ? I am using CQ5.6.

 

Regards,

Shallu Rohilla

listener for selection xtype

$
0
0

Hi Experts,

 

My requirement is to set a checkbox upon selecting some dropdown properties in the "Basic" Tab. The checkbox that I need to set is in the "Advanced" Tab.

I got hold of the checkbox in the Advance tab from the listener and I set the value to true but it doesn't seem to be setting persistently.

 

Code:

var checkBox = this.findParentByType('tabpanel').find('title', 'Advanced')[0].find('name','./somecheckbox')[0];
console.log('Before' + checkBox.getValue());  // prints empty

checkBox.setValue(true);

console.log('After: ' + checkBox.getValue()); // prints true

 

But when I go to the Advanced tab the check box is not checked.

How do I make this persistent?

 

Thanks in advance.


CRX and virtual repositories

$
0
0

Hi I am new to the CRX JCR and CQ5. I have read through all the docs and have it up and running. I am working with them to consider the JCR adapters for Interwoven & Documentum. Before they get them we need information on virtual repositories, their performance, and how to get legacy CMS repositories under our new site hierarchy in CQ5

 

Background: I have a customer who has a bunch of legacy repositories that will live on a few more years, and are pretty well rooted in some of their content creation workflows. These are a home-made CMS based in an Oracle DB, Interwoven Teamsite and Documentum.


What we have done so far: We have exported the entirety of Interwoven teamsite in multiple XML docs and put them in CRX. we can now use it as native content to the repository, and CQ5. The only thing is that when we add things to Teamsite, which will be living on, we need to call export scripts to pull it into the CRX in CQ5.

 

What I am asking with respect to Virtual Repositories:

 

What are some experiences with performance? Understanding that bandwidth, performance, traffic etc. are a factor, I am llooking for good, bad, problems, best practices.

 

Am I better off just importing all those legacy docs into CRX & CQ5?

 

Once I have the virtual reposirotes mounted, are they seen just as native docs? Are they just like native docs to CQ5? Are there any CQ5 functional limitations?

 

Are they read and write in CQ5 back to the native repository?


How do I get the docs in the virtual repositories, that have different hierarchies under my new hierarchy in CQ5?  Would I need to reference each of them to place it under my new hierarchy in CRX?

Not able to download abobe CRX, not finding the valid link on the site, please provide the link if anyone downloaded recently. thanks in advance

$
0
0

Not able to download abobe CRX, not finding the valid link on the site, please provide the link if anyone downloaded recently. thanks in advance

How to restrict design_dialog to reflect changes made only on 5 pages/selected pages?

$
0
0

How to restrict design_dialog to reflect changes made only on 5 pages/selected pages?

How to show timeout indicator in cq5

$
0
0

Hi,

 

Can anyone help me how to show the timeout indicator in cq5.


I am able to show when the system is about to time out in the cq author page 5 min before the session timeout and have to provide options to extend the session and logout.


Please help me to achieve this.


Thanks in advance!!!


Sony C.



How to show only specific workflows for different sites in CQ5 Sidekick

$
0
0

Hi,

 

Can anyone help me how to show specific workflows only based on the site.

 

I have 2 sites in my application. I have to show only specific workflows and hide all other workflows in the sidekick. same to the other site. 


Please help me to achieve this.


Thanks in advance!!!


Sony C.

Viewing all 61 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>