Hello,
I just used configuration manager to get the asset manager and crx modules deployed in the livecycle ear, which we deploy to jboss. When I go to <my server>/crx, the crx repository comes up just fine, but when I hit the /lc context, I just get a blank screen. The source says:
<!-- saved from url=(0014)about:internet --> | |
<html lang="en"> | |
<!-- | |
Smart developers always View Source. | |
This application was built using Adobe Flex, an open source framework | |
for building rich Internet applications that get delivered via the | |
Flash Player or to desktops via Adobe AIR. | |
Learn more about Flex at http://flex.org | |
// --> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE" /> | |
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE" /> | |
<META HTTP-EQUIV="EXPIRES" CONTENT="0" /> | |
<title>Manage Assets</title> | |
<script src="/lc/apps/solutions/cm/assetmanager/AC_OETags.js" language="javascript"></script> | |
<style> | |
body { margin: 0px; overflow:hidden } | |
</style> | |
<script language="JavaScript" type="text/javascript"> | |
//CM specific params | |
var helpUrl="http://www.adobe.com/go/learn_lc_correspondence_management_10"; | |
var ccrDefRelativeUrl = "/content/cm/createcorrespondence.html"; | |
var reconnectWaitDuration = "20"; | |
var flashVars = "reconnectWaitDuration="+reconnectWaitDuration; | |
<!-- | |
// ----------------------------------------------------------------------------- | |
// Globals | |
// Major version of Flash required | |
var requiredMajorVersion = 10; | |
// Minor version of Flash required | |
var requiredMinorVersion = 2; | |
// Minor version of Flash required | |
var requiredRevision = 0; | |
// ----------------------------------------------------------------------------- | |
// --> | |
</script> | |
</head> | |
<body scroll="no" onload="onFlexInitialized()"> | |
<script language="JavaScript" type="text/javascript"> | |
var contextRoot = "/lc" | |
flashVars = flashVars + '&localeChain=en_US'; | |
flashVars = flashVars + '&contextRoot='+contextRoot; | |
<!-- | |
// Version check for the Flash Player that has the ability to start Player Product Install (6.0r65) | |
var hasProductInstall = DetectFlashVer(6, 0, 65); | |
// Version check based upon the values defined in globals | |
var hasRequestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision); | |
// Check to see if a player with Flash Product Install is available and the version does not meet the requirements for playback | |
if ( hasProductInstall && !hasRequestedVersion ) { | |
// MMdoctitle is the stored document.title value used by the installation process to close the window that started the process | |
// This is necessary in order to close browser windows that are still utilizing the older version of the player after installation has completed | |
// DO NOT MODIFY THE FOLLOWING FOUR LINES | |
// Location visited after installation is complete if installation is required | |
var MMPlayerType = (isIE == true) ? "ActiveX" : "PlugIn"; | |
var MMredirectURL = encodeURI(window.location); | |
document.title = document.title.slice(0, 47) + " - Flash Player Installation"; | |
var MMdoctitle = document.title; | |
AC_FL_RunContent( | |
"src", "playerProductInstall", | |
"FlashVars", "MMredirectURL="+MMredirectURL+'&MMplayerType='+MMPlayerType+'&MMdoctitle='+MMdoctitle+"", | |
"width", "100%", | |
"height", "100%", | |
"align", "middle", | |
"id", "index", | |
"quality", "high", | |
"bgcolor", "#869ca7", | |
"name", "index", | |
"allowScriptAccess","sameDomain", | |
"type", "application/x-shockwave-flash", | |
"pluginspage", "http://www.adobe.com/go/getflashplayer" | |
); | |
} else if (hasRequestedVersion) { | |
// if we've detected an acceptable version | |
// embed the Flash Content SWF when all tests are passed | |
AC_FL_RunContent( | |
"src", contextRoot + "/apps/solutions/cm/assetmanager/index", | |
"flashVars", flashVars, | |
"width", "100%", | |
"height", "100%", | |
"align", "middle", | |
"id", "index", | |
"quality", "high", | |
"bgcolor", "#869ca7", | |
"name", "index", | |
"allowScriptAccess","sameDomain", | |
"type", "application/x-shockwave-flash", | |
"pluginspage", "http://www.adobe.com/go/getflashplayer" | |
); | |
} else { // flash is too old or we can't detect the plugin | |
var alternateContent = 'Alternate HTML content should be placed here. ' | |
+ 'This content requires the Adobe Flash Player. ' | |
+ '<a href=http://www.adobe.com/go/getflash/>Get Flash</a>'; | |
document.write(alternateContent); // insert non-flash content | |
} | |
// Enable browser window closing (in some browsers) | |
function closeTheWindow() | |
{ | |
window.close(); // Works in IE | |
history.go(-1); // Works in Firefox & Safari | |
} | |
function onFlexInitialized() | |
{ | |
document.getElementById("index").focus(); | |
} | |
// --> | |
</script> | |
<noscript> | |
<br/><br/><br/><br/> | |
<p>This web page requires that your browser have scripting enabled.</p> | |
<p>Please enable scripting, and/or contact your system administrator.</p> | |
</noscript> | |
</body> | |
</html> | |
The console shows that there is an error accessing the AC_OETags.js file, which is throwing a 404 error. Trying to get to that file at the path specified gives me:
Cannot serve request to /lc/apps/solutions/cm/assetmanager/AC_OETags.js in /libs/sling/servlet/errorhandler/404.jsp
0 (2014-03-10 11:36:33) TIMER_START{Request Processing}
0 (2014-03-10 11:36:33) COMMENT timer_end format is {<elapsed msec>,<timer name>} <optional message>
0 (2014-03-10 11:36:33) LOG Method=GET, PathInfo=/apps/solutions/cm/assetmanager/AC_OETags.js
0 (2014-03-10 11:36:33) TIMER_START{ResourceResolution}
7 (2014-03-10 11:36:33) TIMER_END{7,ResourceResolution} URI=/lc/apps/solutions/cm/assetmanager/AC_OETags.js resolves to Resource=NonExistingResource, path=/apps/solutions/cm/assetmanager/AC_OETags.js
7 (2014-03-10 11:36:33) LOG Resource Path Info: SlingRequestPathInfo: path='/apps/solutions/cm/assetmanager/AC_OETags.js', selectorString='null', extension='js', suffix='null'
7 (2014-03-10 11:36:33) TIMER_START{ServletResolution}
7 (2014-03-10 11:36:33) TIMER_START{resolveServlet(NonExistingResource, path=/apps/solutions/cm/assetmanager/AC_OETags.js)}
10 (2014-03-10 11:36:33) TIMER_END{3,resolveServlet(NonExistingResource, path=/apps/solutions/cm/assetmanager/AC_OETags.js)} Using servlet org.apache.sling.servlets.get.DefaultGetServlet
10 (2014-03-10 11:36:33) TIMER_END{3,ServletResolution} URI=/lc/apps/solutions/cm/assetmanager/AC_OETags.js handled by Servlet=org.apache.sling.servlets.get.DefaultGetServlet
10 (2014-03-10 11:36:33) LOG Applying Requestfilters
10 (2014-03-10 11:36:33) LOG Calling filter: org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter
10 (2014-03-10 11:36:33) LOG Calling filter: org.apache.sling.portal.container.internal.request.PortalFilter
10 (2014-03-10 11:36:33) LOG Calling filter: org.apache.sling.rewriter.impl.RewriterFilter
10 (2014-03-10 11:36:33) LOG Calling filter: com.day.cq.wcm.core.impl.WCMRequestFilter
10 (2014-03-10 11:36:33) LOG Calling filter: org.apache.sling.i18n.impl.I18NFilter
10 (2014-03-10 11:36:33) LOG Calling filter: com.day.cq.theme.impl.ThemeResolverFilter
10 (2014-03-10 11:36:33) LOG Calling filter: com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet
10 (2014-03-10 11:36:33) LOG Calling filter: org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter
10 (2014-03-10 11:36:33) LOG Calling filter: com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter
12 (2014-03-10 11:36:33) LOG RedirectFilter did not redirect (MobileUtil.isMobileResource() returns false)
12 (2014-03-10 11:36:33) LOG Applying Componentfilters
12 (2014-03-10 11:36:33) LOG Calling filter: com.day.cq.wcm.core.impl.WCMComponentFilter
12 (2014-03-10 11:36:33) LOG Calling filter: com.day.cq.wcm.core.impl.WCMDebugFilter
12 (2014-03-10 11:36:33) TIMER_START{org.apache.sling.servlets.get.DefaultGetServlet#0}
12 (2014-03-10 11:36:33) TIMER_END{0,org.apache.sling.servlets.get.DefaultGetServlet#0}
12 (2014-03-10 11:36:33) TIMER_START{handleError:status=404}
13 (2014-03-10 11:36:33) TIMER_END{1,handleError:status=404} Using handler /libs/sling/servlet/errorhandler/404.jsp
14 (2014-03-10 11:36:33) TIMER_END{14,Request Processing} Dumping SlingRequestProgressTracker Entries
Anybody have this issue or know what I'm doing wrong?
Thanks
Views
Replies
Total Likes
We found that the js file being requested is in the crx repository. It is only visible when you are logged in as administrator though. We think that we somehow we need the /lc context to log into the /crx context, but I'm not sure how to set that up.
Views
Replies
Total Likes