Fórum

Ext Plugin Error

thumbnail
Fakhruddin S Mushki, modificado 10 Anos atrás.

Ext Plugin Error

Junior Member Postagens: 78 Data de Entrada: 10/04/13 Postagens Recentes
Dears,

I have created an ext plugin for Custom Tag Lib. It works fine on Local System (Liferay6.2 with Tomcat) but when I deploy it on remote machine where it has Liferay6.2 with JBoss7 AS. The class in the ext plugin doesnt get loaded and gives error of ClassNotFoundException.

I can see the message in the logs:

Extension environment for XYZ-ext has been applied. You must reboot the server and redeploy all other plugins.

Will the restart resolve this ClassNotFoundException ?

Check the logs below :


08:37:18,074 INFO [org.jboss.as.server] (DeploymentScanner-threads - 1) JBAS018559: Deployed "XYZ-ext.war"
08:37:17,574 WARN [org.jboss.as.ee] (MSC service thread 1-26) JBAS011006: Not installing optional component com.liferay.taglib.ui.CustomTag due to exception: java.lang.ClassNotFoundException: com.liferay.taglib.ui.CustomTag from [Module "deployment.XYZ-ext.war:main" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190) [jboss-modules.jar:1.1.1.GA]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468) [jboss-modules.jar:1.1.1.GA]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456) [jboss-modules.jar:1.1.1.GA]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:423) [jboss-modules.jar:1.1.1.GA]
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398) [jboss-modules.jar:1.1.1.GA]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120) [jboss-modules.jar:1.1.1.GA]
at java.lang.Class.forName0(Native Method) [rt.jar:1.6.0_45]
at java.lang.Class.forName(Class.java:249) [rt.jar:1.6.0_45]
at org.jboss.as.server.deployment.reflect.DeploymentClassIndex.classIndex(DeploymentClassIndex.java:54) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:79)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) [rt.jar:1.6.0_45]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) [rt.jar:1.6.0_45]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_45]



Please Help
thumbnail
Harish Kumar, modificado 10 Anos atrás.

RE: Ext Plugin Error (Resposta)

Expert Postagens: 483 Data de Entrada: 31/07/10 Postagens Recentes
Extension environment for XYZ-ext has been applied. You must reboot the server and redeploy all other plugins.


This log is displayed after ext deployment. You have to reboot the server.
thumbnail
Fakhruddin S Mushki, modificado 10 Anos atrás.

RE: Ext Plugin Error

Junior Member Postagens: 78 Data de Entrada: 10/04/13 Postagens Recentes
Solved !! Thanks Harish .. !! Rebooting the server was needed. Thanks once agian.