I am migrating Liferay 6.1 to 7.1 but while server started i am getting below error - portlet

'main' o.s.web.context.ContextLoader : Context initialization failed
java.lang.ClassNotFoundException: org.w3c.dom.DOMError cannot be found by msg-searching-portlet_1.0
could anyone suggest how to handle this error.
Thanks in Advance
while running liferay 7.1 tomcat server and after hot deploy of portlets , i am getting the error.
any way to resolve this error.

Related

Authentication Failed after an AEM 6.3 upgrade

I am doing upgrade from AEM 6.1 author with mongodb to AEM 6.3 author.
1. Pre upgrade task is done
2. Replaced AEM 6.1 jar with AEM 6.3 jar alone parallel AEM 6.1 crx instance
3. Unpacked AEM 6.3 jar with runmode mongo and it shows
Build number changed, running in upgrade mode
UpgradeUtil.handleInstallAndUpgrade has mode UPGRADE
Started the AEM 6.3 jar
Instance started with upgrade mode. Finally, its got started but not able to login. The below error is throwing.
11.11.2017 18:25:23.190 ERROR [0:0:0:0:0:0:0:1 [1510404923182] GET /libs/granite/core/content/login.html HTTP/1.1] com.day.cq.auth.impl.LoginSelectorHandler requestCredentials: Abort login due to apparent misconfiguration.
11.11.2017 18:25:23.190 ERROR [0:0:0:0:0:0:0:1 [1510404923182] GET /libs/granite/core/content/login.html HTTP/1.1]
com.day.cq.auth.impl.LoginSelectorHandler requestCredentials: Possible
reasons: login page not existing or not accessible
11.11.2017 18:25:23.592 ERROR [qtp316797819-2676] com.day.crx.delite.impl.servlets.InitServlet Error while retrieving
infos java.lang.NullPointerException: null at
com.day.crx.delite.impl.servlets.InitServlet.getFormattedName(InitServlet.java:126)
at
com.day.crx.delite.impl.servlets.InitServlet.doService(InitServlet.java:84)
at com.day.crx.delite.impl.AbstractServlet.service(AbstractServlet.java:52)
at com.day.crx.delite.impl.MainServlet.doService(MainServlet.java:129)
at com.day.crx.delite.impl.MainServlet.service(MainServlet.java:107)
at org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:85)
at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.jav
a:79)
at com.adobe.granite.license.impl.LicenseCheckFilter.doFilter(LicenseCheckFilter.java:308)
at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135)
at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.jav
a:74)
at org.apache.felix.http.sslfilter.internal.SslFilter.doFilter(SslFilter.java:96)
at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135)
at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.jav
a:74)
at org.apache.sling.security.impl.ReferrerFilter.doFilter(ReferrerFilter.java:295)
at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135)
at
org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.jav
a:74)
at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:138)
at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135)
at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.jav
a:74)

Deploying sbt project in tomcat

I am facing an issue while deploying an sbt project which is build using maven in tomcat.
While starting the tomcat server I am getting HTTP 500 error
While checking the logs it says
IllegalArgument Exception: No actor system defined
Any help would be appreciated.

Cannot deploy application to glassfish server

Got the above error when trying to deploy to glassfish server.
Any suggestion to fix this issue?
This is the error.
Error occurred during deployment: Exception while deploying the app [pintar_detection] : org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'filter'. One of '{"http://java.sun.com/xml/ns/javaee":description, "http://java.sun.com/xml/ns/javaee":param-name}' is expected.. Please see server.log for more details.
Need to solve this ASAP.

JBoss & warbler: no such file to load

guys.
I'm using Rails 3.2.13, jruby-1.7.12, JBoss EAP 6.2 and warbler 1.4.3.dev(have tried 1.4.1 and 1.4.2 - it doesn't matter). And I got such error while entering first page of my application:
19:32:18,822 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/]] (ServerService Thread Pool -- 68) ERROR: initialization failed: org.jruby.rack.RackInitializationException: no such file to load -- /home/alex/Projects/install_test/eap-6.2/jboss-eap-6.2/standalone/tmp/vfs/temp/temp37c8c04246e7d946/content-69d213af89011d97/home/alex/Projects/install_test/eap-6.2/jboss-eap-6.2/standalone/tmp/vfs/temp/temp37c8c04246e7d946/content-95fa3e2c22b1402c/config/environment.rb
I got this error only when there are two different deployments in my JBoss:
Where ap_ROOT.war is my rails application and rp_app.war is my java application. In case when there is only rails application there are no errors.
As I found
/home/alex/Projects/install_test/eap-6.2/jboss-eap-6.2/standalone/tmp/vfs/temp/temp37c8c04246e7d946/content-69d213af89011d97
is the path to the rp_app.war(java application) deployment folder and
/home/alex/Projects/install_test/eap-6.2/jboss-eap-6.2/standalone/tmp/vfs/temp/temp37c8c04246e7d946/content-95fa3e2c22b1402c
is the path to the app_ROOT.war(rails application) deployment folder.
Someway it get messed up and JBoss can't find 'config/environment.rb'.
Thanks,
Alex.

jsf-console 3.x on JBoss 6.x possible?

I'm trying to move an application from JBoss 4.2.2 AS to 6.x AS. Right now I'm trying to get jbpm 3.x running on the AS I have this problem when trying to upload a .par file to the server:
13:41:51,713 ERROR [org.jbpm.db.GraphSession] (http-127.0.0.1-8888-1) java.lang.ClassCastException: org.jbpm.graph.def.Node_$$_javassist_92 cannot be cast to javassist.util.proxy.ProxyObject
Which then results in:
13:41:51,740 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/app].[ProcessUploadServlet]] (http-127.0.0.1-8888-1) Servlet.service() for servlet ProcessUploadServlet threw exception: org.jbpm.JbpmException: couldn't find process definition 'ProcessName'.
I've tried using both old and new versions of javassist which has no positive effect. Any ideas?
It seems you are using eclipse plugins and you have class loader problem between 2 plugins, make sure that you have only one class loader to load ProxyObject (Javassist)