Foren

RE: Error with Unbundled liferay-portal-X.war + Weblogic 9.2

Nadjim Bourezak, geändert vor 14 Jahren.

Error with Unbundled liferay-portal-5.2.2.war + Weblogic 9.2

New Member Beiträge: 19 Beitrittsdatum: 31.03.09 Neueste Beiträge
Hi,

I tried to install the unbundled version of liferay (liferay-portal-5.2.2.war) on WebLogic 9.2. I created the Database on MySQL. The DataSource test connection works. When I deploy the application, everything was find. Once I start the managed server, I get the following exeception/errors.

bash-2.05$ ./startManagedWebLogic.sh xrds_d26021 http://web-dev.net.wireless.rogers.com:26221
.
.
JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XXemoticonermSize=48m -XX:MaxPermSize=128m
.
WLS Start Mode=Development
.
CLASSPATH=:/home/weblogic9/bea/patch_weblogic921/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/java/j2se-1.5/lib/tools.jar:/home/weblogic9/bea/weblogic92/server/lib/weblogic_sp.jar:/home/weblogic9/bea/weblogic92/server/lib/weblogic.jar:/home/weblogic9/bea/weblogic92/server/lib/webservices.jar::/home/weblogic9/bea/weblogic92/common/eval/pointbase/lib/pbclient51.jar:/home/weblogic9/bea/weblogic92/server/lib/xqrl.jar::
.
PATH=/home/weblogic9/bea/weblogic92/server/bin:/home/java/j2se-1.5/jre/bin:/home/java/j2se-1.5/bin:/usr/bin
.
***************************************************
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http://hostname:port/console *
***************************************************
starting weblogic with Java version:
java version "1.5.0_10"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_10-b03)
Java HotSpot(TM) Client VM (build 1.5.0_10-b03, mixed mode, sharing)
Starting WLS with line:
/home/java/j2se-1.5/bin/java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XXemoticonermSize=48m -XX:MaxPermSize=128m -Xverify:none -da -Dplatform.home=/home/weblogic9/bea/weblogic92 -Dwls.home=/home/weblogic9/bea/weblogic92/server -Dwli.home=/home/weblogic9/bea/weblogic92/integration -Dweblogic.management.discover=false -Dweblogic.management.server=http://web-dev.net.wireless.rogers.com:26221 -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/home/weblogic9/bea/patch_weblogic921/profiles/default/sysext_manifest_classpath -Dweblogic.Name=xrds_d26021 -Djava.security.policy=/home/weblogic9/bea/weblogic92/server/lib/weblogic.policy weblogic.Server
<25-May-2009 2:33:39 o'clock PM EDT> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
/home/weblogic9/bea/weblogic92/platform/lib/p13n/p13n-schemas.jar:/home/weblogic9/bea/weblogic92/platform/lib/p13n/p13n_common.jar:/home/weblogic9/bea/weblogic92/platform/lib/p13n/p13n_system.jar:/home/weblogic9/bea/weblogic92/platform/lib/wlp/commerce_system.jar:/home/weblogic9/bea/weblogic92/platform/lib/wlp/content_system.jar:/home/weblogic9/bea/weblogic92/platform/lib/wlp/groupspace_system.jar:/home/weblogic9/bea/weblogic92/platform/lib/wlp/netuix_common.jar:/home/weblogic9/bea/weblogic92/platform/lib/wlp/netuix_schemas.jar:/home/weblogic9/bea/weblogic92/platform/lib/wlp/netuix_system-full.jar:/home/weblogic9/bea/weblogic92/platform/lib/wlp/netuix_system.jar:/home/weblogic9/bea/weblogic92/platform/lib/wlp/nf-jspcmods.jar:/home/weblogic9/bea/weblogic92/platform/lib/wlp/nf-system.jar:/home/weblogic9/bea/weblogic92/platform/lib/wlp/wlp-schemas.jar:/home/weblogic9/bea/weblogic92/platform/lib/wlp/wps_system.jar:/home/weblogic9/bea/weblogic92/platform/lib/wlp/wsrp-client.jar:/home/weblogic9/bea/weblogic92/platform/lib/wlp/wsrp-common.jar:/home/wlsjct/xrds_dev01/lib/annotations.jar:/home/wlsjct/xrds_dev01/lib/container.jar:/home/wlsjct/xrds_dev01/lib/hsql.jar:/home/wlsjct/xrds_dev01/lib/mysql-connector-java-5.1.7-bin.jar:/home/wlsjct/xrds_dev01/lib/portal-kernel.jar:/home/wlsjct/xrds_dev01/lib/portal-service.jar:/home/wlsjct/xrds_dev01/lib/portlet-container.jar:/home/wlsjct/xrds_dev01/lib/portlet.jar:/home/wlsjct/xrds_dev01/lib/saw-api.jar:/home/wlsjct/xrds_dev01/lib/xercesImpl.jar>
<25-May-2009 2:33:40 o'clock PM EDT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 1.5.0_10-b03 from Sun Microsystems Inc.>
<25-May-2009 2:33:41 o'clock PM EDT> <Info> <Security> <BEA-090065> <Getting boot identity from user.>
Enter username to boot WebLogic server:xrdsadmin
Enter password to boot WebLogic server:
<25-May-2009 2:36:59 o'clock PM EDT> <Info> <Management> <BEA-141107> <Version: WebLogic Server 9.2 MP1 Sun Jan 7 00:56:31 EST 2007 883308 >
<25-May-2009 2:37:05 o'clock PM EDT> <Info> <WebLogicServer> <BEA-000215> <Loaded License : /home/weblogic9/bea/license.bea>
<25-May-2009 2:37:05 o'clock PM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<25-May-2009 2:37:05 o'clock PM EDT> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<25-May-2009 2:37:06 o'clock PM EDT> <Notice> <Log Management> <BEA-170019> <The server log file /home/wlsjct/xrds_dev01/servers/xrds_d26021/logs/xrds_d26021.log is opened. All server side log events will be written to this file.>
<25-May-2009 2:37:09 o'clock PM EDT> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<25-May-2009 2:37:14 o'clock PM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
<25-May-2009 2:37:14 o'clock PM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
Loading jar:file:/home/weblogic9/bea/weblogic92/platform/lib/wlp/commerce_system.jar!/system.properties
Loading zip:/home/wlsjct/xrds_dev01/servers/xrds_d26021/tmp/_WL_user/Crossroads/zgfd41/war/WEB-INF/lib/portal-impl.jar!/portal.properties
14:38:16,680 INFO [DialectDetector:64] Determining dialect for HSQL Database Engine 1
14:38:16,696 WARN [DialectDetector:79] Liferay is configured to use Hypersonic as its database. Do NOT use Hypersonic in production. Hypersonic is an embedded database useful for development and demo'ing purposes. The database settings can be changed in portal.properties.
14:38:17,196 INFO [DialectDetector:97] Using dialect org.hibernate.dialect.HSQLDialect
Loading zip:/home/wlsjct/xrds_dev01/servers/xrds_d26021/tmp/_WL_user/Crossroads/zgfd41/war/WEB-INF/lib/portal-impl.jar!/captcha.properties
14:38:31,344 INFO [PortalImpl:243] Portal lib directory /home/wlsjct/xrds_dev01/servers/xrds_d26021/tmp/_WL_user/Crossroads/zgfd41/war/WEB-INF/lib/
14:39:06,402 INFO [ServerDetector:104] Detected server weblogic
25-May-2009 2:39:15 PM com.sun.portal.container.service.ServiceManagerContextListenerImpl contextInitialized
INFO: PSC_CSPCS001 : Started initializing ServiceManager
25-May-2009 2:39:15 PM com.sun.portal.container.service.ServiceManager addService
INFO: PSC_CSPCS004 : Service added, Name: com.sun.portal.container.service.CoordinationService, Implementation: com.sun.portal.container.service.coordination.impl.CoordinationServiceImpl
25-May-2009 2:39:15 PM com.sun.portal.container.service.ServiceManager addService
INFO: PSC_CSPCS004 : Service added, Name: com.sun.portal.container.service.CachingService, Implementation: com.sun.portal.container.service.caching.impl.CachingServiceImpl
25-May-2009 2:39:15 PM com.sun.portal.container.service.ServiceManager addService
INFO: PSC_CSPCS004 : Service added, Name: com.sun.portal.container.service.ClientCachingService, Implementation: com.sun.portal.container.service.caching.impl.ClientCachingServiceImpl
25-May-2009 2:39:15 PM com.sun.portal.container.service.ServiceManager addService
INFO: PSC_CSPCS004 : Service added, Name: com.sun.portal.container.service.DeploymentService_Local, Implementation: com.sun.portal.container.service.deployment.impl.DeploymentServiceLocalImpl
25-May-2009 2:39:15 PM com.sun.portal.container.service.ServiceManager addService
INFO: PSC_CSPCS004 : Service added, Name: com.sun.portal.container.service.ContainerEventService, Implementation: com.sun.portal.container.service.coordination.impl.ContainerEventServiceImpl
25-May-2009 2:39:15 PM com.sun.portal.container.service.ServiceManager addService
INFO: PSC_CSPCS004 : Service added, Name: com.sun.portal.container.service.PolicyService, Implementation: com.liferay.portal.portletcontainer.PolicyServiceImpl
25-May-2009 2:39:15 PM com.sun.portal.container.service.ServiceManager addService
INFO: PSC_CSPCS018 : ClassNotFoundException: com.sun.portal.wsrp.consumer.common.DeploymentServiceRemoteImpl, while adding the service: com.sun.portal.container.service.DeploymentService_Remote
25-May-2009 2:39:15 PM com.sun.portal.container.service.ServiceManagerContextListenerImpl contextInitialized
INFO: PSC_CSPCS002 : Finished initializing ServiceManager
25-May-2009 2:39:15 PM com.sun.portal.portletcontainer.impl.PortletContainerContextListenerImpl contextInitialized
INFO: PSPL_PCCSPCPCI0003 : Starting PortletContainer 2.1
Starting Liferay Portal Standard Edition 5.2.2 (Augustine / Build 5202 / February 20, 2009)
14:39:30,208 ERROR [ServletContextUtil:89] Real path for /WEB-INF/classes/logging.properties is null
14:39:30,212 ERROR [ServletContextUtil:89] Real path for /WEB-INF/classes/log4j.properties is null
14:39:30,214 ERROR [ServletContextUtil:89] Real path for /WEB-INF/classes/portal-legacy-5.1.properties is null
14:39:30,216 ERROR [ServletContextUtil:89] Real path for /WEB-INF/classes/portal-legacy-5.0.properties is null
14:39:30,218 ERROR [ServletContextUtil:89] Real path for /WEB-INF/classes/portal-developer.properties is null
14:39:30,221 ERROR [ServletContextUtil:89] Real path for /WEB-INF/classes/portal-legacy-4.4.properties is null
nl.ikarus.nxt.priv.imageio.icoreader.lib.ICOReader loaded, version: 0.06.064 build: 691
Compiler warnings:
zip:/home/wlsjct/xrds_dev01/servers/xrds_d26021/tmp/_WL_user/Crossroads/zgfd41/war/WEB-INF/lib/portletbridge-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:37,124 ERROR [MainServlet:228] 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:85)
at com.liferay.portlet.InvokerPortletImpl.init(InvokerPortletImpl.java:250)
at com.liferay.portlet.PortletInstanceFactoryImpl.init(PortletInstanceFactoryImpl.java:245)
at com.liferay.portlet.PortletInstanceFactoryImpl.init(PortletInstanceFactoryImpl.java:217)
at com.liferay.portlet.PortletInstanceFactoryImpl.create(PortletInstanceFactoryImpl.java:140)
at com.liferay.portlet.PortletInstanceFactoryUtil.create(PortletInstanceFactoryUtil.java:47)
at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:224)
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:40,261 ERROR [ServletContextUtil:89] Real path for /WEB-INF/classes/logging.properties is null
14:39:40,263 ERROR [ServletContextUtil:89] Real path for /WEB-INF/classes/log4j.properties is null
14:39:40,265 ERROR [ServletContextUtil:89] Real path for /WEB-INF/classes/portal-legacy-5.1.properties is null
14:39:40,267 ERROR [ServletContextUtil:89] Real path for /WEB-INF/classes/portal-legacy-5.0.properties is null
14:39:40,269 ERROR [ServletContextUtil:89] Real path for /WEB-INF/classes/portal-developer.properties is null
14:39:40,272 ERROR [ServletContextUtil:89] Real path for /WEB-INF/classes/portal-legacy-4.4.properties is null
14:39:49,212 INFO [HotDeployUtil:64] Initializing hot deploy manager 27571405
14:39:50,412 INFO [AutoDeployDir:108] Auto deploy scanner started for /home/wlsjct/deploy
<25-May-2009 2:39:52 o'clock PM EDT> <Notice> <Log Management> <BEA-170027> <The server initialized the domain log broadcaster successfully. Log messages will now be broadcasted to the domain log.>
<25-May-2009 2:39:52 o'clock PM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
<25-May-2009 2:39:52 o'clock PM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
<25-May-2009 2:39:53 o'clock PM EDT> <Notice> <Security> <BEA-090171> <Loading the identity certificate and private key stored under the alias DemoIdentity from the jks keystore file /home/weblogic9/bea/weblogic92/server/lib/DemoIdentity.jks.>
<25-May-2009 2:39:58 o'clock PM EDT> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the jks keystore file /home/weblogic9/bea/weblogic92/server/lib/DemoTrust.jks.>
<25-May-2009 2:39:58 o'clock PM EDT> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the jks keystore file /home/java/jdk1.5.0_10/jre/lib/security/cacerts.>
<25-May-2009 2:39:58 o'clock PM EDT> <Notice> <Server> <BEA-002613> <Channel "DefaultSecure" is now listening on 10.64.31.72:26022 for protocols iiops, t3s, ldaps, https.>
<25-May-2009 2:39:58 o'clock PM EDT> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 10.64.31.72:26021 for protocols iiop, t3, ldap, http.>
<25-May-2009 2:39:58 o'clock PM EDT> <Notice> <Server> <BEA-002613> <Channel "DefaultSecure[1]" is now listening on 127.0.0.1:26022 for protocols iiops, t3s, ldaps, https.>
<25-May-2009 2:39:58 o'clock PM EDT> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 127.0.0.1:26021 for protocols iiop, t3, ldap, http.>
<25-May-2009 2:39:58 o'clock PM EDT> <Notice> <WebLogicServer> <BEA-000332> <Started WebLogic Managed Server "xrds_d26021" for domain "xrds_dev01" running in Development Mode>
<25-May-2009 2:39:58 o'clock PM EDT> <Notice> <Log Management> <BEA-170027> <The server initialized the domain log broadcaster successfully. Log messages will now be broadcasted to the domain log.>
<25-May-2009 2:40:04 o'clock PM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<25-May-2009 2:40:04 o'clock PM EDT> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
14:42:48,622 INFO [PluginPackageUtil:1148] Reloading repositories

Afterwards, in the deployment view I see that Liferay is active and when I try to test the deployment, I get the following error:

at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2003)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1909)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
15:15:09,781 WARN [PortalImpl:2860] Current URL /web/guest generates exception: Failed to compile JSP /html/portal/render_portlet.jsp
render_portlet.jsp:412:119: Type javax.portlet.PortletRequest contains no field with this name.
PortletURLImpl urlConfiguration = new PortletURLImpl(request, PortletKeys.PORTLET_CONFIGURATION, plid, PortletRequest.RENDER_PHASE);
^----------^
render_portlet.jsp:434:99: Type javax.portlet.PortletRequest contains no field with this name.
PortletURLImpl urlEdit = new PortletURLImpl(request, portletDisplay.getId(), plid, PortletRequest.RENDER_PHASE);
^----------^
render_portlet.jsp:457:107: Type javax.portlet.PortletRequest contains no field with this name.
PortletURLImpl urlEditDefaults = new PortletURLImpl(request, portletDisplay.getId(), plid, PortletRequest.RENDER_PHASE);
^----------^
render_portlet.jsp:480:104: Type javax.portlet.PortletRequest contains no field with this name.
PortletURLImpl urlEditGuest = new PortletURLImpl(request, portletDisplay.getId(), plid, PortletRequest.RENDER_PHASE);
^----------^
render_portlet.jsp:503:118: Type javax.portlet.PortletRequest contains no field with this name.
PortletURLImpl urlExportImport = new PortletURLImpl(request, PortletKeys.PORTLET_CONFIGURATION, plid, PortletRequest.RENDER_PHASE);
^----------^
render_portlet.jsp:518:99: Type javax.portlet.PortletRequest contains no field with this name.
PortletURLImpl urlHelp = new PortletURLImpl(request, portletDisplay.getId(), plid, PortletRequest.RENDER_PHASE);
^----------^
render_portlet.jsp:541:35: Type javax.portlet.PortletRequest contains no field with this name.
String lifecycle = PortletRequest.RENDER_PHASE;
^----------^
render_portlet.jsp:544:29: Type javax.portlet.PortletRequest contains no field with this name.
lifecycle = PortletRequest.ACTION_PHASE;
^----------^
render_portlet.jsp:558:37: Type javax.portlet.PortletRequest contains no field with this name.
if (lifecycle.equals(PortletRequest.RENDER_PHASE)) {
^----------^
render_portlet.jsp:596:100: Type javax.portlet.PortletRequest contains no field with this name.
PortletURLImpl urlPrint = new PortletURLImpl(request, portletDisplay.getId(), plid, PortletRequest.RENDER_PHASE);
^----------^

15:15:17,555 ERROR [IncludeTag:79] Current URL /web/guest generates exception: Failed to compile JSP /html/taglib/theme/meta_tags/page.jsp
page.jsp:25:18: Error in "init.jsp" at line 35: Type javax.portlet.PortletResponse contains no methods named getNamespace.
<%@ include file="/html/taglib/init.jsp" %>
^---------------------^

15:15:17,564 ERROR [IncludeTag:165] weblogic.servlet.jsp.CompilationException: Failed to compile JSP /html/taglib/theme/meta_tags/page.jsp
page.jsp:25:18: Error in "init.jsp" at line 35: Type javax.portlet.PortletResponse contains no methods named getNamespace.
<%@ include file="/html/taglib/init.jsp" %>
^---------------------^

at weblogic.servlet.jsp.JavelinxJSPStub.compilePage(JavelinxJSPStub.java:294)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:200)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:164)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:235)
at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:391)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:309)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:500)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:431)
at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:67)
at jsp_servlet._html._common._themes.__top_head._jsp__tag3(__top_head.java:2522)
at jsp_servlet._html._common._themes.__top_head._jspService(__top_head.java:1065)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:223)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:391)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:309)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:500)

15:15:18,850 ERROR [jsp:992] javax.servlet.ServletException: Failed to compile JSP /html/portal/render_portlet.jsp
render_portlet.jsp:412:119: Type javax.portlet.PortletRequest contains no field with this name.
PortletURLImpl urlConfiguration = new PortletURLImpl(request, PortletKeys.PORTLET_CONFIGURATION, plid, PortletRequest.RENDER_PHASE);
^----------^
render_portlet.jsp:434:99: Type javax.portlet.PortletRequest contains no field with this name.
PortletURLImpl urlEdit = new PortletURLImpl(request, portletDisplay.getId(), plid, PortletRequest.RENDER_PHASE);
^----------^
render_portlet.jsp:457:107: Type javax.portlet.PortletRequest contains no field with this name.
PortletURLImpl urlEditDefaults = new PortletURLImpl(request, portletDisplay.getId(), plid, PortletRequest.RENDER_PHASE);
^----------^
render_portlet.jsp:480:104: Type javax.portlet.PortletRequest contains no field with this name.
PortletURLImpl urlEditGuest = new PortletURLImpl(request, portletDisplay.getId(), plid, PortletRequest.RENDER_PHASE);
^----------^
render_portlet.jsp:503:118: Type javax.portlet.PortletRequest contains no field with this name.
PortletURLImpl urlExportImport = new PortletURLImpl(request, PortletKeys.PORTLET_CONFIGURATION, plid, PortletRequest.RENDER_PHASE);
^----------^
render_portlet.jsp:518:99: Type javax.portlet.PortletRequest contains no field with this name.
PortletURLImpl urlHelp = new PortletURLImpl(request, portletDisplay.getId(), plid, PortletRequest.RENDER_PHASE);
^----------^
render_portlet.jsp:541:35: Type javax.portlet.PortletRequest contains no field with this name.
String lifecycle = PortletRequest.RENDER_PHASE;
^----------^
render_portlet.jsp:544:29: Type javax.portlet.PortletRequest contains no field with this name.
lifecycle = PortletRequest.ACTION_PHASE;
^----------^
render_portlet.jsp:558:37: Type javax.portlet.PortletRequest contains no field with this name.
if (lifecycle.equals(PortletRequest.RENDER_PHASE)) {
^----------^
render_portlet.jsp:596:100: Type javax.portlet.PortletRequest contains no field with this name.
PortletURLImpl urlPrint = new PortletURLImpl(request, portletDisplay.getId(), plid, PortletRequest.RENDER_PHASE);
^----------^

javax.servlet.ServletException: Failed to compile JSP /html/portal/render_portlet.jsp
render_portlet.jsp:412:119: Type javax.portlet.PortletRequest contains no field with this name.
PortletURLImpl urlConfiguration = new PortletURLImpl(request, PortletKeys.PORTLET_CONFIGURATION, plid, PortletRequest.RENDER_PHASE);
^----------^
render_portlet.jsp:434:99: Type javax.portlet.PortletRequest contains no field with this name.
PortletURLImpl urlEdit = new PortletURLImpl(request, portletDisplay.getId(), plid, PortletRequest.RENDER_PHASE);
^----------^
render_portlet.jsp:457:107: Type javax.portlet.PortletRequest contains no field with this name.
PortletURLImpl urlEditDefaults = new PortletURLImpl(request, portletDisplay.getId(), plid, PortletRequest.RENDER_PHASE);
^----------^
render_portlet.jsp:480:104: Type javax.portlet.PortletRequest contains no field with this name.
PortletURLImpl urlEditGuest = new PortletURLImpl(request, portletDisplay.getId(), plid, PortletRequest.RENDER_PHASE);
^----------^
render_portlet.jsp:503:118: Type javax.portlet.PortletRequest contains no field with this name.
PortletURLImpl urlExportImport = new PortletURLImpl(request, PortletKeys.PORTLET_CONFIGURATION, plid, PortletRequest.RENDER_PHASE);
^----------^
render_portlet.jsp:518:99: Type javax.portlet.PortletRequest contains no field with this name.
PortletURLImpl urlHelp = new PortletURLImpl(request, portletDisplay.getId(), plid, PortletRequest.RENDER_PHASE);
^----------^
render_portlet.jsp:541:35: Type javax.portlet.PortletRequest contains no field with this name.
String lifecycle = PortletRequest.RENDER_PHASE;
^----------^
render_portlet.jsp:544:29: Type javax.portlet.PortletRequest contains no field with this name.
lifecycle = PortletRequest.ACTION_PHASE;
^----------^
render_portlet.jsp:558:37: Type javax.portlet.PortletRequest contains no field with this name.
if (lifecycle.equals(PortletRequest.RENDER_PHASE)) {
^----------^
render_portlet.jsp:596:100: Type javax.portlet.PortletRequest contains no field with this name.
PortletURLImpl urlPrint = new PortletURLImpl(request, portletDisplay.getId(), plid, PortletRequest.RENDER_PHASE);
^----------^

at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
15:15:25,187 ERROR [IncludeTag:79] Current URL /web/guest generates exception: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'wrapPortlet' in class com.liferay.taglib.util.VelocityTaglib threw exception com.liferay.portal.SystemException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'iconPortlet' in class com.liferay.taglib.util.VelocityTaglib threw exception javax.servlet.ServletException: Failed to compile JSP /html/taglib/portlet/icon_portlet/page.jsp
page.jsp:25:18: Error in "init.jsp" at line 35: Type javax.portlet.PortletResponse contains no methods named getNamespace.
<%@ include file="/html/taglib/init.jsp" %>
^---------------------^
at _SERVLET_CONTEXT_/html/themes/classic/templates/portlet.vm[line 11, column 32] at _SERVLET_CONTEXT_/html/themes/classic/templates/portal_normal.vm[line 74, column 24]
15:15:25,192 ERROR [IncludeTag:165] weblogic.servlet.jsp.CompilationException: Failed to compile JSP /html/taglib/portlet/icon_portlet/page.jsp
page.jsp:25:18: Error in "init.jsp" at line 35: Type javax.portlet.PortletResponse contains no methods named getNamespace.
<%@ include file="/html/taglib/init.jsp" %>
^---------------------^

Any help woul be appreciated.

Thanks
thumbnail
Christianto Sahat, geändert vor 14 Jahren.

RE: Error with Unbundled liferay-portal-5.2.2.war + Weblogic 9.2

Regular Member Beiträge: 179 Beitrittsdatum: 25.09.07 Neueste Beiträge
Problem with 'could not compile stylesheet' may have correlation with xalan.jar. Check your library file whether it's already including xalan.jar. Similar problem is solved in this thread :

http://www.liferay.com/web/guest/community/forums/-/message_boards/message/2123270
Jiri Splichal, geändert vor 13 Jahren.

RE: Error with Unbundled liferay-portal-X.war + Weblogic 9.2

New Member Beiträge: 16 Beitrittsdatum: 27.09.10 Neueste Beiträge
Problem on Weblogic 9.2 is that it uses natively jsr-168 javax.portlet classes (console app libs). Therefore comes the compile problems with PortletRequest etc.
Solution is to include Portlet2.0 portlet.jar library first in the server classpath - to load 2.0 spec before the old one.