Foros de discusión

Liferay Web Proxy Error (RESOLVED)

thumbnail
Nikhil Francis, modificado hace 15 años.

Liferay Web Proxy Error (RESOLVED)

Junior Member Mensajes: 39 Fecha de incorporación: 24/04/07 Mensajes recientes
I'm trying to use Web Proxy portlet for relaying external websites/apps through Liferay Portal (tried with 4.4.2 and 5.0.1). But i could never see the portlet running when liferay is deployed on WebLogic server. Following is the error that i get when i start the server>


14:38:53,034 INFO  [PortalImpl:184] Portal lib url /bea/user_projects/domains/lPortalDomain_5.0.1_jdk1.5_12/servers/AdminServer/tmp/_WL_user/lif
eray-portal-5/qcmmj5/war/WEB-INF/lib/portal-impl.jar!/com/liferay/portal/util/PortalImpl.class
14:38:53,034 INFO  [PortalImpl:209] Portal lib directory /bea/user_projects/domains/lPortalDomain_5.0.1_jdk1.5_12/servers/AdminServer/tmp/_WL_us
er/liferay-portal-5/qcmmj5/war/WEB-INF/lib/
Compiler warnings:
  zip:C:/bea/user_projects/domains/lPortalDomain_5.0.1_jdk1.5_12/servers/AdminServer/tmp/_WL_user/liferay-portal-5/qcmmj5/war/WEB-INF/lib/portle
tbridge-portlet.jar!/org/portletbridge/xsl/portletbridge.xsl: line 106: Attribute 'src' outside of element.
ERROR:  'The first argument to the non-static Java function 'equalsIgnoreCase' is not a valid object reference.'
FATAL ERROR:  'Could not compile stylesheet'
14:39:10,034 ERROR [MainServlet:217] java.lang.IllegalStateException: Could not compile stylesheet
java.lang.IllegalStateException: Could not compile stylesheet
        at org.portletbridge.portlet.DefaultTemplateFactory.<init>(DefaultTemplateFactory.java:61)
        at org.portletbridge.portlet.PortletBridgePortlet.init(PortletBridgePortlet.java:67)
        at javax.portlet.GenericPortlet.init(GenericPortlet.java:107)
        at com.liferay.portlet.InvokerPortlet.init(InvokerPortlet.java:270)
        at com.liferay.portlet.PortletInstanceFactory._init(PortletInstanceFactory.java:215)
        at com.liferay.portlet.PortletInstanceFactory._init(PortletInstanceFactory.java:196)
        at com.liferay.portlet.PortletInstanceFactory._create(PortletInstanceFactory.java:111)
        at com.liferay.portlet.PortletInstanceFactory.create(PortletInstanceFactory.java:52)
        at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:213)
        at javax.servlet.GenericServlet.init(GenericServlet.java:256)
        at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:274)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
        at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
        at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
        at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
        at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:504)
        at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1716)
        at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1693)
        at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1613)
        at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2764)
        at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:889)
        at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:333)
        at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
        at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
        at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
        at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
        at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
        at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
        at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:26)
        at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
        at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
        at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
        at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
        at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:181)
        at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:358)
        at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:52)
        at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:186)
        at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
        at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
        at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
        at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
        at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
        at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
        at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
14:39:10,691 INFO  [HotDeployUtil:76] Initializing hot deploy manager 10835162
14:39:10,706 INFO  [ServerDetector:76] Detected server weblogic
14:39:11,253 INFO  [AutoDeployDir:76] Auto deploy scanner started for C:\Documents and Settings\fnikhil\liferay\deploy
14:39:11,378 INFO  [CustomSQLUtil:110] Database name MySQL
14:39:11,378 INFO  [CustomSQLUtil:138] Detected MySQL with database name MySQL
Loading zip:C:/bea/user_projects/domains/lPortalDomain_5.0.1_jdk1.5_12/servers/AdminServer/tmp/_WL_user/liferay-portal-5/qcmmj5/war/WEB-INF/lib/
portal-impl.jar!/portal.properties for {companyId=1, webId=liferay.com}
<jul 2, 2008 2:39:13 pm ist> <notice> <log management> <bea-170027> <the server initialized the domain log broadcaster successfully. log message s will now be broadcasted to log.>
<jul 2, 2008 2:39:13 pm ist> <notice> <weblogicserver> <bea-000365> <server state changed to admin>
<jul 2, 2008 2:39:13 pm ist> <notice> <weblogicserver> <bea-000365> <server state changed to resuming>
<jul 2, 2008 2:39:14 pm ist> <notice> <server> <bea-002613> <channel "default" is now listening on 192.168.93.135:7001 for protocols iiop, t3, l dap, http.>
<jul 2, 2008 2:39:14 pm ist> <notice> <server> <bea-002613> <channel "default[1]" is now listening on 127.0.0.1:7001 for protocols iiop, t3, lda p, http.>
<jul 2, 2008 2:39:14 pm ist> <notice> <weblogicserver> <bea-000331> <started weblogic admin server "adminserver" for domain "lportaldomain_5.0.1 _jdk1.5_12" running in development mode>
<jul 2, 2008 2:39:14 pm ist> <notice> <weblogicserver> <bea-000365> <server state changed to running>
<jul 2, 2008 2:39:14 pm ist> <notice> <weblogicserver> <bea-000360> <server started in running mode>
14:42:10,478 INFO  [PluginPackageUtil:1140] Reloading repositories
Loading zip:C:/bea/user_projects/domains/lPortalDomain_5.0.1_jdk1.5_12/servers/AdminServer/tmp/_WL_user/liferay-portal-5/qcmmj5/war/WEB-INF/lib/
portal-impl.jar!/captcha.properties
15:18:35,813 INFO  [PluginPackageUtil:1343] Checking for available updates
15:18:38,438 INFO  [PluginPackageUtil:1387] Finished checking for available updates in 0 ms
</server></bea-000360></weblogicserver></notice></jul></server></bea-000365></weblogicserver></notice></jul></started></bea-000331></weblogicserver></notice></jul></channel></bea-002613></server></notice></jul></channel></bea-002613></server></notice></jul></server></bea-000365></weblogicserver></notice></jul></server></bea-000365></weblogicserver></notice></jul></the></bea-170027></log></notice></jul></init></init>



Has anyone come across the same problem??

Thanks!
thumbnail
Nikhil Francis, modificado hace 15 años.

RE: Liferay Web Proxy Error (RESOLVED)

Junior Member Mensajes: 39 Fecha de incorporación: 24/04/07 Mensajes recientes
These are the steps that resolved the issue for me...

  • Get Xalan.jar. I used 2.7.0 version.
  • Create folder named "endorsed" inside YOUR_JDK_INSTALLATION/jre/lib.
  • Place Xalan.jar 2.7.0 inside YOUR_JDK_INSTALLATION/jre/lib/endorsed
  • Include xerces.jar in the class path of the WebLogic Server.
  • You will have to include "commons-logging.jar" and a appropriate version of "log4j.jar" in the class path of the server. ( I got NoClassdeffound errors because of these).
  • Restart the WL Server.
  • Done!
thumbnail
Brian Chan, modificado hace 15 años.

RE: Liferay Web Proxy Error (RESOLVED)

Liferay Master Mensajes: 753 Fecha de incorporación: 5/08/04 Mensajes recientes
I actually ran into the same problem while reviewing our WL 10 compatibility, and to my pleasant surprise, someone from the community had figured it out and posted a solution. Thanks Nikhil. We'll get this added to the official documentation.
hanjiang . zhao, modificado hace 14 años.

RE: Liferay Web Proxy Error (RESOLVED)

New Member Mensajes: 15 Fecha de incorporación: 13/07/09 Mensajes recientes
hi Nikhil!

In accordance with the steps you did not succeed or the same error

help me ! Thanks!