Tomcat getting 503 error

Avatar

Avatar

shivangim985778

Avatar

shivangim985778

shivangim985778

04-09-2018

When i deploy aem war file into the tomcat server i am getting 503 error. Can anyone please help me to resolve this problem?

Replies

Avatar

Avatar

shivangim985778

Avatar

shivangim985778

shivangim985778

04-09-2018

04-Sep-2018 13:10:12.722 INFO [http-nio-4509-exec-1] org.apache.catalina.core.ApplicationContext.log granite: Setting sling.home=/crx-quickstart (servlet parameter sling.home)

04-Sep-2018 13:10:12.723 SEVERE [66] org.apache.catalina.core.ApplicationContext.log granite: Failed to start Apache Sling in /crx-quickstart

java.lang.IllegalArgumentException: Sling Home /crx-quickstart/launchpad cannot be created as a directory

at org.apache.sling.launchpad.base.shared.Loader.getLaunchpadHomeFile(Loader.java:387)

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.access$000(SlingServlet.java:58)

at org.apache.sling.launchpad.webapp.SlingServlet$2.run(SlingServlet.java:289)

at java.lang.Thread.run(Thread.java:748)

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K
smacdonald2008

05-09-2018

See if this TroubleShooting doc will help you -- Troubleshooting

Avatar

Avatar

shivangim985778

Avatar

shivangim985778

shivangim985778

05-09-2018

no it is not helpful for me anything else can you suggest?

Avatar

Avatar

kautuk_sahni

Community Manager

Total Posts

5.8K

Likes

1.0K

Correct Reply

1.1K

Avatar

kautuk_sahni

Community Manager

Total Posts

5.8K

Likes

1.0K

Correct Reply

1.1K
kautuk_sahni
Community Manager

06-09-2018

I could recall some similar issue earlier as well.

Can you you:

  • Look at your error.log during start up and look for exceptions and error messages. These exceptions and error messages will clue you into what the problem is.
  • If you don't see error messages log into felix and see if you have any bundles that aren't starting and try to manually start them and watch the error logs while you are manually starting them

-Kautuk

Avatar

Avatar

shivangim985778

Avatar

shivangim985778

shivangim985778

06-09-2018

error log is not showing any error

Avatar

Avatar

kautuk_sahni

Community Manager

Total Posts

5.8K

Likes

1.0K

Correct Reply

1.1K

Avatar

kautuk_sahni

Community Manager

Total Posts

5.8K

Likes

1.0K

Correct Reply

1.1K
kautuk_sahni
Community Manager

06-09-2018

All bundles up and running?

If no, try starting them again.

If yes, then i would request you to create a Support ticket for this one.

Avatar

Avatar

shivangim985778

Avatar

shivangim985778

shivangim985778

06-09-2018

bundles are not creating because when i deploy aem into tomcat it is not running and felix console is also not opening