Expand my Community achievements bar.

SOLVED

jsp not being served?

Avatar

Level 2

 I got author:4502 to launch.  I got crxde editor back.  I reinstalled the packages. .  I had to turn off a java.exe because it wouldn't let me remove a duplicate quickstart file with java running.  I believe java.exec is turned back on.  In any case, I launched the JAVA EE server and now there are two java.exec in task mgr..   As far as I know cq5 is running and I checked the Felix configuration,  my Cq5 instance is using a Felix on another server and there is a config.json file in crxde that I double checked..  The only way I know to start author is to dbl click on the jar file directly.  Would like to turn on the debugger but don't know how to?    I couldn't get the batch file working or the quickstart.  I just find the jar file and it launches.  

 

I need some troubleshooting steps.   The problem is when I hit http://localhost:4502/content/XXcom/base/login.html  I get a blank page.  There is no errors.  There is a status 200 in chrome inspector for the get request.  It says dom content loaded.  There is only a blank page.  No resources loaded.. 

The directory in crxde matches the login page http://localhost:4502/content/XXcom/base/en/login.html  so something isn't serving something up..

Thanks,

 

.

1 Accepted Solution

Avatar

Correct answer by
Level 10
  • Symptoms indicates something missed around and required bundles/components are not installed. Reinstall all your packages and verify.
  • First verify if you can access geometrixx ?  If so just reinstall all your package & delete /var/classes and clientlibs  from /var/.... folder and verify
  • Since you are able to access felix console set the debugger there only. http://dev.day.com/docs/en/cq/current/deploying/configure_logging.html
  • Verify why batch file failing to start the instance & I am guessing your custom code need system variables and might be cause for blank page.
  • Worst case, restore from your backup. 
  • No backup & in case you have log before the issue occured. Get an official help through support request.

View solution in original post

5 Replies

Avatar

Correct answer by
Level 10
  • Symptoms indicates something missed around and required bundles/components are not installed. Reinstall all your packages and verify.
  • First verify if you can access geometrixx ?  If so just reinstall all your package & delete /var/classes and clientlibs  from /var/.... folder and verify
  • Since you are able to access felix console set the debugger there only. http://dev.day.com/docs/en/cq/current/deploying/configure_logging.html
  • Verify why batch file failing to start the instance & I am guessing your custom code need system variables and might be cause for blank page.
  • Worst case, restore from your backup. 
  • No backup & in case you have log before the issue occured. Get an official help through support request.

Avatar

Level 9

If you have eclipse and maven environment it will be easier for you to setup debugging env,

adobe recently released AEM developor tools for eclipse 

you can setup debugging using following links

http://docs.adobe.com/docs/en/dev-tools/aem-eclipse.html

You need to change the startup parameters in order to run debug env, here are the details on how to do

http://helpx.adobe.com/experience-manager/kb/CQ5HowToSetupRemoteDebuggingWithEclipse.html

More details on maven enviroment integration and jsp

http://docs.adobe.com/docs/en/aem/6-0/develop/how-tos/ht-projects-maven.html#How-To%20Work%20with%20...

Avatar

Level 2

It does not appear that Geometrix is available.  In fact I noticed the admin login screen doesn't pop up like before.  Also I watched the cq5 login instance cmd screen and noticed some errors see below.   I checked all my packages and there were reinstalled earlier today from a fresh downloaded copy so that doesn't appear to be a problem..   What is it saying an Indesign cq DAM error and OSGI wiring error?  It does look like a jsp error.  This library looks like it is missing?

ll:/libs/dam/install/cq-dam-scene7-5.6.18.jar (org.osgi.framework.BundleException 

What is OSGI missing wiring pkg  requirement?  Author is unable to resolve it.

-=---------------------------------author launch errors--------

ll:/libs/dam/install/cq-dam-indesign-5.6.4.jar (org.osgi.framework.BundleExcepti
on: Unresolved constraint in bundle com.day.cq.dam.cq-dam-indesign [216]: Unable
 to resolve 216.0: missing requirement [216.0] osgi.wiring.package; (&(osgi.wiri
ng.package=com.day.cq.dam.commons.handler)(version>=1.0.0)) [caused by: Unable t
o resolve 212.0: missing requirement [212.0] osgi.wiring.package; (osgi.wiring.p
ackage=com.day.cq.wcm.api)])
org.osgi.framework.BundleException: Unresolved constraint in bundle com.day.cq.d
am.cq-dam-indesign [216]: Unable to resolve 216.0: missing requirement [216.0] o
sgi.wiring.package; (&(osgi.wiring.package=com.day.cq.dam.commons.handler)(versi
on>=1.0.0)) [caused by: Unable to resolve 212.0: missing requirement [212.0] osg
i.wiring.package; (osgi.wiring.package=com.day.cq.wcm.api)]
        at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:389
6)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1938)
        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1261)

        at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStart
LevelImpl.java:298)
        at java.lang.Thread.run(Unknown Source)
01.11.2014 14:47:42.088 *ERROR* [FelixStartLevel] ERROR: Error starting jcrinsta
ll:/libs/dam/install/cq-dam-scene7-5.6.18.jar (org.osgi.framework.BundleExceptio
n: Unresolved constraint in bundle com.day.cq.dam.cq-dam-scene7 [217]: Unable to
 resolve 217.0: missing requirement [217.0] osgi.wiring.package; (osgi.wiring.pa
ckage=com.day.cq.dam.commons.process) [caused by: Unable to resolve 212.0: missi
ng requirement [212.0] osgi.wiring.package; (osgi.wiring.package=com.day.cq.wcm.
api)])
org.osgi.framework.BundleException: Unresolved constraint in bundle com.day.cq.d
am.cq-dam-scene7 [217]: Unable to resolve 217.0: missing requirement [217.0] osg
i.wiring.package; (osgi.wiring.package=com.day.cq.dam.commons.process) [caused b
y: Unable to resolve 212.0: missing requirement [212.0] osgi.wiring.package; (os
gi.wiring.package=com.day.cq.wcm.api)]
        at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:389
6)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1938)
        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1261)

        at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStart
LevelImpl.java:298)
        at java.lang.Thread.run(Unknown Source)
01.11.2014 14:47:42.089 *ERROR* [FelixStartLevel] ERROR: Error starting jcrinsta
ll:/libs/dam/install/cq-dam-video-5.6.2.jar (org.osgi.framework.BundleException:
 Unresolved constraint in bundle com.day.cq.dam.cq-dam-video [218]: Unable to re
solve 218.0: missing requirement [218.0] osgi.wiring.package; (osgi.wiring.packa
ge=com.day.cq.dam.commons.process) [caused by: Unable to resolve 212.0: missing
requirement [212.0] osgi.wiring.package; (osgi.wiring.package=com.day.cq.wcm.api
)])
org.osgi.framework.BundleException: Unresolved constraint in bundle com.day.cq.d
am.cq-dam-video [218]: Unable to resolve 218.0: missing requirement [218.0] osgi
.wiring.package; (osgi.wiring.package=com.day.cq.dam.commons.process) [caused by
: Unable to resolve 212.0: missing requirement [212.0] osgi.wiring.package; (osg
i.wiring.package=com.day.cq.wcm.api)]
        at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:389
6)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1938)
        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1261)

        at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStart
LevelImpl.java:298)

Avatar

Level 2

All the answers helped me get the server re-installed but this answer solved what seemed to be keeping it from getting reinstalled.  Thanks,

Avatar

Level 9

It seems that you don't have the required package to start the server. I suggest to install CQ5 on a different port and location to test whether it is your environment.

Your have unresolved constraint from felix bundle, You can understand the above message by following the  example from two part series

http://thecarlhall.wordpress.com/2012/01/19/understanding-the-unresolved-constraint-missing-resource...

http://thecarlhall.wordpress.com/2012/07/11/understanding-the-unresolved-constraint-missing-requirem...