Hi All.I'm trying to deploy an aem 6.0 .war instance on to Jboss EAS 7.x via Administration bord.
When I'm trying to invoke aem app using url : localhost:<port>\aem60 I'm receiving the following message : Apache Sling is currently starting up, please try again.
Here below a stack trace from Jboss console.
Any help should be very appreciated.
Thanks All
BR,
Antonio
P.S. Jboss Console Stack trace
Calling "C:\AOL_SKY\EAP-7.2.0\bin\standalone.conf.bat"
Setting JAVA property to "C:\Java\bin\java"
Access is denied.
===============================================================================
JBoss Bootstrap Environment
JBOSS_HOME: "C:\AOL_SKY\EAP-7.2.0"
JAVA: "C:\Java\bin\java"
JAVA_OPTS: "-Dprogram.name=standalone.bat -Xms1G -Xmx1G -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -verbose:gc -Xloggc:"C:\AOL_SKY\EAP-7.2.0\standalone\log\gc.log" -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=3M -XX:-TraceClassUnloading "
===============================================================================
16:13:12,941 INFO [org.jboss.modules] (main) JBoss Modules version 1.8.6.Final-redhat-00001
16:13:13,462 INFO [org.jboss.msc] (main) JBoss MSC version 1.4.5.Final-redhat-00001
16:13:13,477 INFO [org.jboss.threads] (main) JBoss Threads version 2.3.2.Final-redhat-1
16:13:13,668 INFO [org.jboss.as] (MSC service thread 1-1) WFLYSRV0049: JBoss EAP 7.2.0.GA (WildFly Core 6.0.11.Final-redhat-00001) starting
16:13:15,268 INFO [org.wildfly.security] (ServerService Thread Pool -- 27) ELY00001: WildFly Elytron version 1.6.1.Final-redhat-00001
16:13:16,035 INFO [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/core-service=management/management-interface=http-interface' is deprecated, and may be removed in a future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
16:13:16,098 INFO [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 13) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/subsystem=undertow/server=default-server/https-listener=https' is deprecated, and may be removed in a future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
16:13:16,227 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)
16:13:16,321 INFO [org.xnio] (MSC service thread 1-5) XNIO version 3.6.5.Final-redhat-00001
16:13:16,352 INFO [org.xnio.nio] (MSC service thread 1-5) XNIO NIO Implementation Version 3.6.5.Final-redhat-00001
16:13:16,439 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 70) WFLYWS0002: Activating WebServices Extension
16:13:16,471 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 48) WFLYCLINF0001: Activating Infinispan subsystem.
16:13:16,503 INFO [org.jboss.as.jaxrs] (ServerService Thread Pool -- 50) WFLYRS0016: RESTEasy version 3.6.1.SP2-redhat-00001
16:13:16,503 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 60) WFLYNAM0001: Activating Naming Subsystem
16:13:16,519 WARN [org.jboss.as.txn] (ServerService Thread Pool -- 68) WFLYTX0013: The node-identifier attribute on the /subsystem=transactions is set to the default value. This is a danger for environments running multiple servers. Please make sure the attribute value is unique.
16:13:16,519 INFO [org.jboss.as.security] (ServerService Thread Pool -- 66) WFLYSEC0002: Activating Security Subsystem
16:13:16,519 INFO [org.wildfly.extension.microprofile.config.smallrye._private] (ServerService Thread Pool -- 57) WFLYCONF0001: Activating WildFly MicroProfile Config Subsystem
16:13:16,550 INFO [org.wildfly.extension.microprofile.opentracing] (ServerService Thread Pool -- 59) WFLYTRACEXT0001: Activating MicroProfile OpenTracing Subsystem
16:13:16,628 INFO [org.jboss.as.security] (MSC service thread 1-4) WFLYSEC0001: Current PicketBox version=5.0.3.Final-redhat-3
16:13:16,613 INFO [org.jboss.as.mail.extension] (MSC service thread 1-6) WFLYMAIL0002: Unbound mail session [java:jboss/mail/Default]
16:13:16,613 INFO [org.wildfly.extension.microprofile.health.smallrye] (ServerService Thread Pool -- 58) WFLYHEALTH0001: Activating Eclipse MicroProfile Health Subsystem
16:13:16,597 INFO [org.jboss.as.jsf] (ServerService Thread Pool -- 55) WFLYJSF0007: Activated the following JSF Implementations: [main]
16:13:16,582 INFO [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0003: Undertow 2.0.15.Final-redhat-00001 starting
16:13:16,660 INFO [org.jboss.as.connector] (MSC service thread 1-7) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.4.11.Final-redhat-00001)
16:13:16,753 INFO [org.jboss.as.naming] (MSC service thread 1-8) WFLYNAM0003: Starting Naming Service
16:13:16,769 INFO [org.jboss.as.mail.extension] (MSC service thread 1-8) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default]
16:13:16,878 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 41) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.4)
16:13:17,063 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-7) WFLYJCA0018: Started Driver service with driver-name = h2
16:13:17,147 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-6) WFLYJCA0010: Unbound data source [java:jboss/datasources/ExampleDS]
16:13:17,225 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 69) WFLYUT0014: Creating file handler for path 'C:\AOL_SKY\EAP-7.2.0/welcome-content' with options [directory-listing: 'false', follow-symlink: 'false', case-sensitive: 'true', safe-symlink-paths: '[]']
16:13:17,789 INFO [org.wildfly.extension.io] (ServerService Thread Pool -- 49) WFLYIO001: Worker 'default' has auto-configured to 8 core threads with 64 task threads based on your 4 available processors
16:13:17,804 INFO [org.jboss.as.ejb3] (MSC service thread 1-4) WFLYEJB0481: Strict pool slsb-strict-max-pool is using a max instance size of 64 (per class), which is derived from thread worker pool sizing.
16:13:17,820 INFO [org.jboss.as.ejb3] (MSC service thread 1-8) WFLYEJB0482: Strict pool mdb-strict-max-pool is using a max instance size of 16 (per class), which is derived from the number of CPUs on this host.
16:13:17,880 INFO [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0012: Started server default-server.
16:13:17,899 INFO [org.jboss.as.patching] (MSC service thread 1-8) WFLYPAT0050: JBoss EAP cumulative patch ID is: base, one-off patches include: none
16:13:17,889 INFO [org.jboss.remoting] (MSC service thread 1-5) JBoss Remoting version 5.0.8.Final-redhat-1
16:13:17,914 INFO [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0018: Host default-host starting
16:13:17,990 WARN [org.jboss.as.domain.management.security] (MSC service thread 1-4) WFLYDM0111: Keystore C:\AOL_SKY\EAP-7.2.0\standalone\configuration\application.keystore not found, it will be auto generated on first use with a self signed certificate for host localhost
16:13:17,990 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-5) WFLYDS0013: Started FileSystemDeploymentService for directory C:\AOL_SKY\EAP-7.2.0\standalone\deployments
16:13:18,036 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) WFLYSRV0027: Starting deployment of "cq60.war" (runtime-name: "cq60.war")
16:13:18,052 INFO [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0006: Undertow HTTP listener default listening on 127.0.0.1:8080
16:13:18,161 INFO [org.jboss.as.ejb3] (MSC service thread 1-2) WFLYEJB0493: EJB subsystem suspension complete
16:13:18,302 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-8) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]
16:13:18,850 INFO [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0006: Undertow HTTPS listener https listening on 127.0.0.1:8443
16:13:19,032 INFO [org.jboss.ws.common.management] (MSC service thread 1-1) JBWS022052: Starting JBossWS 5.2.4.Final-redhat-00001 (Apache CXF 3.2.5.redhat-00001)
16:13:25,773 INFO [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-1) ISPN000128: Infinispan version: Infinispan 'Estrella Galicia' 9.3.3.Final-redhat-00001
16:13:26,088 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 72) WFLYCLINF0002: Started client-mappings cache from ejb container
16:13:26,260 INFO [io.undertow.servlet] (ServerService Thread Pool -- 75) granite: Setting sling.home=C:\Windows\System32\crx-quickstart (servlet parameter sling.home)
16:13:26,291 ERROR [io.undertow.servlet] (ServerService Thread Pool -- 75) granite: Failed to start Apache Sling in C:\Windows\System32\crx-quickstart: java.lang.IllegalArgumentException: Sling Home C:\Windows\System32\crx-quickstart\launchpad cannot be created as a directory
at org.apache.sling.launchpad.base.shared.Loader.getLaunchpadHomeFile(Loader.java:385)
at org.apache.sling.launchpad.base.shared.Loader.<init>(Loader.java:80)
at org.apache.sling.launchpad.webapp.SlingServlet$3.<init>(SlingServlet.java:306)
at org.apache.sling.launchpad.webapp.SlingServlet.startSling(SlingServlet.java:306)
at org.apache.sling.launchpad.webapp.SlingServlet.init(SlingServlet.java:118)
at javax.servlet.GenericServlet.init(GenericServlet.java:244)
at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:117)
at org.wildfly.extension.undertow.security.RunAsLifecycleInterceptor.init(RunAsLifecycleInterceptor.java:78)
at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:103)
at io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start(ManagedServlet.java:303)
at io.undertow.servlet.core.ManagedServlet.createServlet(ManagedServlet.java:143)
at io.undertow.servlet.core.DeploymentManagerImpl$2.call(DeploymentManagerImpl.java:583)
at io.undertow.servlet.core.DeploymentManagerImpl$2.call(DeploymentManagerImpl.java:554)
at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:42)
at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
at org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105)
at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
at io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:596)
at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:97)
at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:78)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
at java.lang.Thread.run(Thread.java:748)
at org.jboss.threads.JBossThread.run(JBossThread.java:485)
16:13:26,291 INFO [io.undertow.servlet] (ServerService Thread Pool -- 75) granite: Servlet granite initialized
16:13:26,291 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 75) WFLYUT0021: Registered web context: '/cq60' for server 'default-server'
16:13:26,307 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0010: Deployed "cq60.war" (runtime-name : "cq60.war")
16:13:26,478 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
16:13:26,478 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management
16:13:26,478 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990
16:13:26,494 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: JBoss EAP 7.2.0.GA (WildFly Core 6.0.11.Final-redhat-00001) started in 14164ms - Started 413 of 598 services (326 services are lazy, passive or on-demand)
Solved! Go to Solution.
Views
Replies
Total Likes
I'm not sure why you've used an outdated version of AEM and chosen "system32" to be your cwd
It seems that you don't have appropriate permission on the system as mentioned by error - Setting JAVA property to "C:\Java\bin\java"
Access is denied.
I believe "sling.launchpad" should also be defined at the time of setup similar to "sling.home". This must be mentioned in the setup documentation that you've referred.
sling.home=C:\Windows\System32\crx-quickstart (servlet parameter sling.home)
sling.launchpad=C:\Windows\System32\crx-quickstart\launchpad (servlet parameter sling.launchpad)
P.S. you should use latest version of war file, if possible
Views
Replies
Total Likes
I'm not sure why you've used an outdated version of AEM and chosen "system32" to be your cwd
It seems that you don't have appropriate permission on the system as mentioned by error - Setting JAVA property to "C:\Java\bin\java"
Access is denied.
I believe "sling.launchpad" should also be defined at the time of setup similar to "sling.home". This must be mentioned in the setup documentation that you've referred.
sling.home=C:\Windows\System32\crx-quickstart (servlet parameter sling.home)
sling.launchpad=C:\Windows\System32\crx-quickstart\launchpad (servlet parameter sling.launchpad)
P.S. you should use latest version of war file, if possible
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies