t:jscookmenu is not working in Jboss portlet.
hi..
i am facing a problem in <t:jscookmenu>, that is , i am using the JBoss portlet 2.4 and my aim is to provide a top menu in the default index page.i tried with <t:jscookmenu> , but it is throwing error(scroll down for error code), but <t:outputtext> are all working good.
error code:
ERROR [CommandFilter] Exception in command invocation
org.apache.jasper.JasperException: org.jboss.portlet.JBossRenderRequest
at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.execute(PortletRequestDispatcherImpl.java:87)
at sun.reflect.GeneratedMethodAccessor304.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.portal.server.servlet.CommandFilter.doFilter(CommandFilter.java:65)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
at org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:108)
at org.apache.myfaces.context.portlet.PortletExternalContextImpl.dispatch(PortletExternalContextImpl.java:164)
at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:195)
at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:323)
at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:298)
at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:380)
at org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:266)
at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:167)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:407)
at org.jboss.portal.portlet.container.PortletContainer.invokeRender(PortletContainer.java:519)
at org.jboss.portal.portlet.container.PortletContainer.dispatch(PortletContainer.java:440)
at org.jboss.portal.portlet.container.PortletContainerInvoker$1.dispatch(PortletContainerInvoker.java:143)
at org.jboss.portal.portlet.invocation.PortletInvocation.dispatch(PortletInvocation.java:242)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeNotSupported$aop(TransactionInterceptor.java:85)
at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_4827075286966232824.invokeNext(TransactionInterceptor$invokeNotSupported_4827075286966232824.java)
at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)
at org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:101)
at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_4827075286966232824.invokeNext(TransactionInterceptor$invokeNotSupported_4827075286966232824.java)
at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeNotSupported(TransactionInterceptor.java)
at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:55)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.core.aspects.portlet.HeaderInterceptor.invoke(HeaderInterceptor.java:49)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.portlet.aspects.portlet.ProducerCacheInterceptor.invoke(ProducerCacheInterceptor.java:50)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.portlet.aspects.portlet.ModesInterceptor.invoke(ModesInterceptor.java:59)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:45)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.portlet.aspects.portlet.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:55)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.portlet.aspects.portlet.PortletSessionSynchronizationInterceptor.invoke(PortletSessionSynchronizationInterceptor.java:76)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor$InvokeNextCommand.execute(ContextDispatcherInterceptor.java:124)
at sun.reflect.GeneratedMethodAccessor295.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.portal.server.servlet.CommandServlet.doGet(CommandServlet.java:104)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:539)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
at org.jboss.portal.portlet.impl.spi.AbstractRequestContext.include(AbstractRequestContext.java:193)
at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor$1.include(ContextDispatcherInterceptor.java:68)
at org.jboss.portal.server.servlet.CommandServlet.include(CommandServlet.java:84)
at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:74)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.portlet.aspects.portlet.ContextTrackerInterceptor.invoke(ContextTrackerInterceptor.java:50)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.portlet.aspects.portlet.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:65)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.portlet.aspects.portlet.ValveInterceptor.invoke(ValveInterceptor.java:61)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
at org.jboss.portal.portlet.container.PortletContainerInvoker.invoke(PortletContainerInvoker.java:114)
at sun.reflect.GeneratedMethodAccessor294.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy61.invoke(Unknown Source)
at org.jboss.portal.portlet.state.producer.StatefulPortletInvoker.invoke(StatefulPortletInvoker.java:249)
at sun.reflect.GeneratedMethodAccessor293.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy63.invoke(Unknown Source)
at org.jboss.portal.federation.impl.FederatedPortletInvokerService.invoke(FederatedPortletInvokerService.java:139)
at org.jboss.portal.federation.impl.FederatingPortletInvokerService.invoke(FederatingPortletInvokerService.java:155)
at sun.reflect.GeneratedMethodAccessor292.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy65.invoke(Unknown Source)
at org.jboss.portal.portlet.test.TestPortletInvoker$1.dispatch(TestPortletInvoker.java:63)
at org.jboss.portal.portlet.invocation.PortletInvocation.dispatch(PortletInvocation.java:242)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
at org.jboss.portal.portlet.aspects.portlet.PortalSessionSynchronizationInterceptor.invoke(PortalSessionSynchronizationInterceptor.java:85)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.portlet.aspects.portlet.ConsumerCacheInterceptor.invoke(ConsumerCacheInterceptor.java:93)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.core.model.instance.InstanceSecurityInterceptor.invoke(InstanceSecurityInterceptor.java:83)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
at org.jboss.portal.portlet.test.TestPortletInvoker.invoke(TestPortletInvoker.java:123)
at sun.reflect.GeneratedMethodAccessor286.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy47.invoke(Unknown Source)
at org.jboss.portal.core.impl.model.instance.InstanceImpl.invoke(InstanceImpl.java:273)
at org.jboss.portal.core.command.RenderWindowCommand.execute(RenderWindowCommand.java:108)
at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:91)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:171)
at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.core.aspects.controller.PageNavigationInterceptor.invoke(PageNavigationInterceptor.java:80)
at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:79)
at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:59)
at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:102)
at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:91)
at org.jboss.portal.core.command.CommandContext.chain(CommandContext.java:148)
at org.jboss.portal.core.command.MarkupCommand.renderPortletWindow(MarkupCommand.java:463)
at org.jboss.portal.core.command.RenderPageCommand.renderFragments(RenderPageCommand.java:76)
at org.jboss.portal.core.command.MarkupCommand.execute(MarkupCommand.java:340)
at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:91)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:171)
at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.core.aspects.controller.PageNavigationInterceptor.invoke(PageNavigationInterceptor.java:80)
at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:79)
at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:59)
at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:102)
at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:91)
at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:78)
at org.jboss.portal.core.CoreController.handle(CoreController.java:126)
at sun.reflect.GeneratedMethodAccessor301.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:287)
at $Proxy139.handle(Unknown Source)
at org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:79)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
at org.jboss.portal.server.aspects.server.NavigationInterceptor.invoke(NavigationInterceptor.java:64)
at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:65)
at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:74)
at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:174)
at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:92)
at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.core.aspects.server.TransactionInterceptor.org$jboss$portal$core$aspects$server$TransactionInterceptor$invoke$aop(TransactionInterceptor.java:49)
at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
at org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:275)
at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java)
at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
at org.jboss.portal.server.servlet.PortalServlet.process(PortalServlet.java:294)
at org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:172)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
16:44:16,476 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
java.lang.ClassCastException: org.jboss.portlet.JBossRenderRequest
at org.apache.myfaces.component.html.util.AddResource.addAdditionalHeaderInfoToRender(AddResource.java:376)
at org.apache.myfaces.component.html.util.AddResource.addJavaScriptToHeader(AddResource.java:126)
at org.apache.myfaces.component.html.util.AddResource.addJavaScriptToHeader(AddResource.java:116)
at org.apache.myfaces.custom.navmenu.jscookmenu.HtmlJSCookMenuRenderer.addResourcesToHeader(HtmlJSCookMenuRenderer.java:309)
at org.apache.myfaces.custom.navmenu.jscookmenu.HtmlJSCookMenuRenderer.encodeEnd(HtmlJSCookMenuRenderer.java:267)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:712)
at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:616)
at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:539)
at org.apache.jsp.WEB_002dINF.jsp.message_jsp._jspx_meth_t_jscookMenu_0(message_jsp.java:185)
at org.apache.jsp.WEB_002dINF.jsp.message_jsp._jspx_meth_f_view_0(message_jsp.java:131)
at org.apache.jsp.WEB_002dINF.jsp.message_jsp._jspService(message_jsp.java:97)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.execute(PortletRequestDispatcherImpl.java:87)
at sun.reflect.GeneratedMethodAccessor304.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.portal.server.servlet.CommandFilter.doFilter(CommandFilter.java:65)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
at org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:108)
at org.apache.myfaces.context.portlet.PortletExternalContextImpl.dispatch(PortletExternalContextImpl.java:164)
at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:195)
at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:323)
at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:298)
at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:380)
at org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:266)
at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:167)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:407)
at org.jboss.portal.portlet.container.PortletContainer.invokeRender(PortletContainer.java:519)
at org.jboss.portal.portlet.container.PortletContainer.dispatch(PortletContainer.java:440)
at org.jboss.portal.portlet.container.PortletContainerInvoker$1.dispatch(PortletContainerInvoker.java:143)
at org.jboss.portal.portlet.invocation.PortletInvocation.dispatch(PortletInvocation.java:242)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeNotSupported$aop(TransactionInterceptor.java:85)
at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_4827075286966232824.invokeNext(TransactionInterceptor$invokeNotSupported_4827075286966232824.java)
at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)
at org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:101)
at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_4827075286966232824.invokeNext(TransactionInterceptor$invokeNotSupported_4827075286966232824.java)
at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeNotSupported(TransactionInterceptor.java)
at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:55)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.core.aspects.portlet.HeaderInterceptor.invoke(HeaderInterceptor.java:49)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.portlet.aspects.portlet.ProducerCacheInterceptor.invoke(ProducerCacheInterceptor.java:50)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.portlet.aspects.portlet.ModesInterceptor.invoke(ModesInterceptor.java:59)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:45)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.portlet.aspects.portlet.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:55)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.portlet.aspects.portlet.PortletSessionSynchronizationInterceptor.invoke(PortletSessionSynchronizationInterceptor.java:76)
at or
hi,
We are calling SBWP transaaction as a transaction Iview from EP. We are able to see the tasks in the Inbox and could able to work on the same. But it does not really do anything to the tasks at the R/3.(Ideally, the tasks should be completed).
If you run in R/3 same transaction using logon pad, the tasks are getting completed.
Similar Messages
-
EJB 3 CMP not working in JBoss
hi,
i created a simple CMP Entity Bean with mySQL and works fine with OC4J but when delpoy to JBoss 4.0.4RC1, it doesn't work.
What I realised is that when a JDeveloper create a CMP Entity Bean from a Table it uses @Resource annotaion while I saw all the JBoss samples using @Persistance annotation.
I changed my CMP to use @persistence annotation and created a persistence.xml file; for somereason it is not working neither in JBoss nor does it work in OC4J.
Now, if i continue using @Resource annotation, where can I set the datasource so that the @Resource annotation uses my datasource when I deploy it to JBoss?
or is there any other way to get it working?
p/s: my datasource is working fine. i created a simple slsb and used
DataSource ds =
(DataSource)context.lookup(
"java:jdbc/mysqlDS");
and it works fine both in OC4J and JBoss
any help is appreciated.
thanksOk, i got this working in JBoss.
1) Replaced @Resource annotation with @Peristence annotation
@PersistenceContext(unitName="mysql")
2) Created persistence.xml in META-INF directory
<persistence>
<persistence-unit name="mysql">
<jta-data-source>java:/jdbc/mysqlDS</jta-data-source>
<!-- <properties>
<property name="hibernate.hbm2ddl.auto"
value="create-drop"/>
</properties> -->
</persistence-unit>
</persistence>
that is it.
It means that whether we create EJB 3 on toplink EJB 3 or hibernate EJB 3, we should be able to run it on any of these as long as we stick with the standard annotations. JBoss Hibernate EJB has many additional annotations.
Now, the only thing that is not working is my Firebird DataSource in JBoss. If anyone has done it please let me know .. thanks. -
[HELP] [BPEL 11g] Customized BPEL worklist app could not work on JBoss
Dear all,
We are developing the customized Human Worklist app based on BPEL HW API 11g.
The application (some jsp pages) works fine in JDeveloper 11g. However, after deploy to JBoss, it always prompt with "NoClassDefFoundError" exception, although we have already add following 7 jar files into Classpath:
${jdeveloper.home}\Middleware\wlserver_10.3\server\lib\weblogic.jar
${jdeveloper.home}\Middleware\jdeveloper\modules\oracle.jrf_11.1.1\jrf.jar
${jdeveloper.home}\Middleware\jdeveloper\modules\oracle.webservices_11.1.1\wsclient.jar
${bea.home}/AS11gR1SOA/soa/modules/oracle.soa.fabric_11.1.1/bpm-infra.jar
${bea.home}/AS11gR1SOA/soa/modules/oracle.soa.workflow_11.1.1/bpm-services.jar
xml.jar
xmlparserv2.jar
Then we manually copy many other jars (nearly 100) under Weblogic server, but it still prompt lacking of some jar file with "NoClassDefFoundError" exception.
So, does BPEL 11g support deploy HW app outside weblogic, like JBoss? If so, what we need to set at JBoss side to run our app?
Thanks a lot.Not sure it is available yet as I have not seen any doc for 11g.
here is the 10g instructions which may provide some pointers.
http://download-east.oracle.com/docs/cd/B31017_01/web.1013/b25947/deployment_topics012.htm
cheers
James -
Simple Web App NOT working with JBoss on IDEA IntelliJ
Hi Experts:
I am using TOMCAT_4.0.3 (bundled with JBOSS_3.0.0) and using IntelliJ-IDEA as my IDE environment.
On one of my machine I created a WEB-APP kithany.war. It was working fine on this machine.
Later when I copied this kithany.war to other machine and put under server/default/deploy directory and then ran Jboss on which I get following error - wonder why?
13:32:34,078 INFO [MainDeployer] Starting deployment of package: file:/C:/jboss-3.0.0_tomcat-4.0.3/server/default/deploy/kithany.war/
13:32:34,156 INFO [EmbeddedCatalinaServiceSX] deploy, ctxPath=/kithany, warUrl=file:/C:/jboss-3.0.0_tomcat-4.0.3/server/default/deploy/kithany.war/
13:32:34,281 ERROR [MainDeployer] could not start deployment: file:/C:/jboss-3.0.0_tomcat-4.0.3/server/default/deploy/kithany.war/
org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (java.lang.NullPointerException)
at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:309) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:678)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:513)
java.lang.NullPointerException
at org.jboss.web.catalina.EmbeddedCatalinaServiceSX.createWebContext(EmbeddedCatalinaServiceSX.java:321)
at org.jboss.web.catalina.EmbeddedCatalinaServiceSX.performDeploy(EmbeddedCatalinaServiceSX.java:238)
at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:300)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:678)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:513)
13:32:34,281 ERROR [URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@6417805a{ url=file:/C:/jboss-3.0.0_tomcat-4.0.3/server/default/deploy/kithany.war/, deployedLastModified=0 }
org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (java.lang.NullPointerException)
at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:309)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:678)
WHat is wrong on this...? Any related information on above is appreciated.
THANKS!Hello, manojkithany!
Did you find out what was wrong? I am experiencing this problem with the jboss http-invoker.sar and the jmx-console.war...
Both machines have the same environment. I found this exception with jobss3.04-tomcat bundle as well as with jobss3.06-tomcat bundle.
~~~snip
2003-04-01 17:10:04,122 DEBUG [org.jboss.deployment.MainDeployer] Done with create step of deploying http-invoker.sar
2003-04-01 17:10:04,122 DEBUG [org.jboss.deployment.MainDeployer] Begin deployment start file:/home/tmt/kroh/jcom/app/jcom/dep
loy/http-invoker.sar/
2003-04-01 17:10:04,122 DEBUG [org.jboss.deployment.MainDeployer] Begin deployment start file:/home/tmt/kroh/jcom/app/jcom/dep
loy/http-invoker.sar/invoker.war/
2003-04-01 17:10:04,125 DEBUG [org.jboss.web.catalina.EmbeddedCatalinaService41] webContext: null
2003-04-01 17:10:04,125 DEBUG [org.jboss.web.catalina.EmbeddedCatalinaService41] warURL: file:/home/tmt/kroh/jcom/app/jcom/dep
loy/http-invoker.sar/invoker.war/
2003-04-01 17:10:04,125 DEBUG [org.jboss.web.catalina.EmbeddedCatalinaService41] webAppParser: org.jboss.web.AbstractWebContai
ner$DescriptorParser@1c8efd1
2003-04-01 17:10:04,173 INFO [org.jboss.web.catalina.EmbeddedCatalinaService41] deploy, ctxPath=/invoker, warUrl=file:/home/t
mt/kroh/jcom/app/jcom/deploy/http-invoker.sar/invoker.war/
2003-04-01 17:10:04,220 DEBUG [org.apache.commons.digester.Digester] register('-//Sun Microsystems, Inc.//DTD JSP Tag Library
1.1//EN', 'jar:file:/home/tmt/kroh/www/jboss-3.0.6_tomcat-4.1.18/tomcat-4.1.x/common/lib/servlet.jar!/javax/servlet/jsp/resour
ces/web-jsptaglibrary_1_1.dtd'
2003-04-01 17:10:04,221 DEBUG [org.apache.commons.digester.Digester] register('-//Sun Microsystems, Inc.//DTD JSP Tag Library
1.2//EN', 'jar:file:/home/tmt/kroh/www/jboss-3.0.6_tomcat-4.1.18/tomcat-4.1.x/common/lib/servlet.jar!/javax/servlet/jsp/resour
ces/web-jsptaglibrary_1_2.dtd'
2003-04-01 17:10:04,224 DEBUG [org.apache.commons.digester.Digester] addRuleSet() with no namespace URI
2003-04-01 17:10:04,224 DEBUG [org.apache.commons.digester.Digester] register('-//Sun Microsystems, Inc.//DTD Web Application
2.2//EN', 'jar:file:/home/tmt/kroh/www/jboss-3.0.6_tomcat-4.1.18/tomcat-4.1.x/common/lib/servlet.jar!/javax/servlet/resources/
web-app_2_2.dtd'
2003-04-01 17:10:04,225 DEBUG [org.apache.commons.digester.Digester] register('-//Sun Microsystems, Inc.//DTD Web Application
2.3//EN', 'jar:file:/home/tmt/kroh/www/jboss-3.0.6_tomcat-4.1.18/tomcat-4.1.x/common/lib/servlet.jar!/javax/servlet/resources/
web-app_2_3.dtd'
2003-04-01 17:10:04,236 DEBUG [org.apache.commons.digester.Digester] addRuleSet() with no namespace URI
2003-04-01 17:10:04,242 DEBUG [org.jboss.web.catalina.EmbeddedCatalinaService41] AbstractWebContainer.parseWebAppDescriptors,
Begin
2003-04-01 17:10:04,243 DEBUG [org.jboss.web.catalina.EmbeddedCatalinaService41] Creating ENC using ClassLoader: java.net.Fact
oryURLClassLoader@df0438
### concatenation, always the same ###
2003-04-01 11:09:07,737 DEBUG [org.jboss.web.catalina.EmbeddedCatalinaService41] ..org.jboss.mx.loading.UnifiedClassLoader3@15
db13f{ url=file:/home/tmt/kroh/jcom/app/jcom/deploy/http-invoker.sar/invoker.war/ }
2003-04-01 11:09:07,737 DEBUG [org.jboss.web.catalina.EmbeddedCatalinaService41] ..java.net.URLClassLoader@6e1408
2003-04-01 11:09:07,737 DEBUG [org.jboss.web.catalina.EmbeddedCatalinaService41] ..sun.misc.Launcher$AppClassLoader@7a78d3
2003-04-01 11:09:07,737 DEBUG [org.jboss.web.catalina.EmbeddedCatalinaService41] ..sun.misc.Launcher$ExtClassLoader@929206
2003-04-01 11:09:07,738 DEBUG [org.jboss.web.catalina.EmbeddedCatalinaService41] Linked java:comp/UserTransaction to JNDI name
: UserTransaction
2003-04-01 11:09:07,739 DEBUG [org.jboss.web.catalina.EmbeddedCatalinaService41] addEnvEntries
2003-04-01 11:09:07,739 DEBUG [org.jboss.web.catalina.EmbeddedCatalinaService41] linkResourceEnvRefs
2003-04-01 11:09:07,739 DEBUG [org.jboss.web.catalina.EmbeddedCatalinaService41] linkResourceRefs
2003-04-01 11:09:07,739 DEBUG [org.jboss.web.catalina.EmbeddedCatalinaService41] linkEjbRefs
2003-04-01 11:09:07,739 DEBUG [org.jboss.web.catalina.EmbeddedCatalinaService41] linkEjbLocalRefs
2003-04-01 11:09:07,739 DEBUG [org.jboss.web.catalina.EmbeddedCatalinaService41] linkSecurityDomain
2003-04-01 11:09:07,739 DEBUG [org.jboss.web.catalina.EmbeddedCatalinaService41] Linking security/securityMgr to JNDI name: ja
va:/jaas/http-invoker
2003-04-01 11:09:07,741 DEBUG [org.jboss.web.catalina.EmbeddedCatalinaService41] AbstractWebContainer.parseWebAppDescriptors,
End
##### remark: from here it starts to deviate from normal behavior ####
2003-04-01 11:09:07,744 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.parentTraceEnabled=true
2003-04-01 11:09:07,746 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.nestedTraceEnabled=false
2003-04-01 11:09:07,746 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.detectDuplicateNesting=true
2003-04-01 11:09:07,751 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scann
er.URLDeploymentScanner$DeployedURL@ba617c43{ url=file:/home/tmt/kroh/jcom/app/jcom/deploy/http-invoker.sar/, deployedLastModi
fied=0 }
org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (java.lang.NullPointerException)
at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:309)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:807)
~~~snap
Olaf -
Portlets with ADF faces does not work
Hello
I am trying to portlize an hello world ADF application but am unable to do so because of the situation describe below. I have tried all the options given on this post but nothing seems to resolve the issue.
I have followed the instructions of portelizing at http://download-east.oracle.com/otndocs/tech/webcenter/files/owcs_10132_bridge_viewlet.html
A simple portlets without AFD works fine in oc4h or webcenter or jboss, but when I include ADF in the project then none of the application server or the container works
I am using jdeveloper 10.1.3.2.0 and the embedded webcenter oc4j for this test
I have two projects
1) ui where the ADF appplication is and
2) test1 where the producer is registered and is tested
In ui I have a simple jsp page untitled1.jsp with just one adf component (ADF Command Link)
Here is the source of untitled1.jsp
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%@ page contentType="text/html;charset=windows-1252"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://xmlns.oracle.com/adf/faces/portlet" prefix="adfp"%>
<%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
<%@ taglib uri="http://xmlns.oracle.com/adf/faces/customizable" prefix="cust"%>
<%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh"%>
<f:view>
<afh:html binding="#{backing_untitled1.html1}" id="html1">
<afh:head title="Pixel Home" binding="#{backing_untitled1.head1}"
id="head1">
<meta http-equiv="Content-Type"
content="text/html; charset=windows-1252"/>
<style type="text/css">
body {
background-color: #ffffff;
a:link { color: #2121ff; }
</style>
</afh:head>
<afh:body binding="#{backing_untitled1.body1}" id="body1">
<h:form binding="#{backing_untitled1.form1}" id="form1">
<af:commandLink text="commandLink 1"
binding="#{backing_untitled1.commandLink1}"
id="commandLink1"/>
</h:form>
</afh:body>
</afh:html>
</f:view>
After deploying this in webcenter I can see the WSDL page
http://localhost:6688/AdfFacesDemo1/portlets/wsrp1?WSDL
<?xml version = '1.0' encoding = 'UTF-8'?>
<wsdl:definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:bind="urn:oasis:names:tc:wsrp:v1:bind" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="urn:oasis:names:tc:wsrp:v1:wsdl">
<import namespace="urn:oasis:names:tc:wsrp:v1:bind" location="wsrp_v1_bindings.wsdl"/>
<wsdl:service name="WSRP_v1_Service">
<wsdl:port binding="bind:WSRP_v1_Markup_Binding_SOAP" name="WSRPBaseService">
<soap:address location="http://localhost:6688/AdfFacesDemo1/portlets/WSRPBaseService"/>
</wsdl:port>
<wsdl:port binding="bind:WSRP_v1_ServiceDescription_Binding_SOAP" name="WSRPServiceDescriptionService">
<soap:address location="http://localhost:6688/AdfFacesDemo1/portlets/WSRPServiceDescriptionService"/>
</wsdl:port>
<wsdl:port binding="bind:WSRP_v1_Registration_Binding_SOAP" name="WSRPRegistrationService">
<soap:address location="http://localhost:6688/AdfFacesDemo1/portlets/WSRPRegistrationService"/>
</wsdl:port>
<wsdl:port binding="bind:WSRP_v1_PortletManagement_Binding_SOAP" name="WSRPPortletManagementService">
<soap:address location="http://localhost:6688/AdfFacesDemo1/portlets/WSRPPortletManagementService"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
In test1 project I have a simple jsp page test1.jsp and here is the source
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%@ page contentType="text/html;charset=windows-1252"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://xmlns.oracle.com/adf/faces/portlet" prefix="adfp"%>
<%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
<%@ taglib uri="http://xmlns.oracle.com/adf/faces/customizable" prefix="cust"%>
<%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh"%>
<f:view>
<afh:html binding="#{backing_test1.html1}" id="html1">
<afh:head title="Pixel Home" binding="#{backing_test1.head1}" id="head1">
<meta http-equiv="Content-Type"
content="text/html; charset=windows-1252"/>
<style type="text/css">
body {
background-color: #ffffff;
a:link { color: #2121ff; }
</style>
</afh:head>
<afh:body binding="#{backing_test1.body1}" id="body1">
<h:form binding="#{backing_test1.form1}" id="form1">
<adfp:portlet value="#{bindings.ADFFacesDemoPortlet11_1}"
portletType="/oracle/adf/portlet/AdfFacesDemoProducer_1186417722625/ap/E0default_3c036e4c_0114_1000_8003_83e15f750fa7"
id="portlet1" binding="#{backing_test1.portlet1}"/>
</h:form>
</afh:body>
</afh:html>
</f:view>
<%-- oracle-jdev-comment:auto-binding-backing-bean-name:backing_test1--%>
I have already registered a producer called[b] ADFFacesDemoProducer in test1 project with 300 sec as timeout. Now when I run the test1.jsp page in oc4j container I get the following error. I have tried all the options in this forum and nothing worked.
Target URL -- http://131.225.95.117:8988/PortletTest6-test1-context-root/faces/test1.jsp
07/08/06 11:31:04 Oracle Containers for J2EE 10g (10.1.3.1.1) initialized
Warning : Not able to reserve 2048M memory for the heap. Heap reduced to 890M
Aug 6, 2007 11:31:17 AM oracle.adf.share.config.ADFConfigFactory findOrCreateADFConfig
INFO: oracle.adf.share.config.ADFConfigFactory Reading META-INF/adf-config.xml
07/08/06 11:31:18 PortletContainer portletTechnologies set to '{oracle.portlet.client.containerimpl.web.WebPortletTechnologyConfig,oracle.portlet.client.containerimpl.wsrp.WSRPPortletTechnologyConfig}' from adf-config.xml
07/08/06 11:31:18 PortletContainer defaultTimeout set to '20' from adf-config.xml
07/08/06 11:31:18 PortletContainer minimumTimeout set to '1' from adf-config.xml
07/08/06 11:31:18 PortletContainer maximumTimeout set to '60' from adf-config.xml
07/08/06 11:31:18 PortletContainer resourceProxyPath set to '/resourceproxy' from adf-config.xml
Aug 6, 2007 11:31:20 AM oracle.adfinternal.view.faces.application.ViewHandlerImpl _checkTimestamp
INFO: ADF Faces is running with time-stamp checking enabled. This should not be used in a production environment. See the oracle.adf.view.faces.CHECK_FILE_MODIFICATION property in WEB-INF/web.xml
Aug 6, 2007 11:31:20 AM oracle.portlet.client.utils.PortletLogger info
INFO: Portlet Client MBeans registered
Aug 6, 2007 11:31:25 AM oracle.adfinternal.view.faces.renderkit.html.portlet.PortletRenderer preRender
SEVERE: oracle.adf.model.portlet.binding.PortletBindingException: Unable to get portlet response (Internal Error) for portlet binding ADFFacesDemoPortlet11_1
at oracle.adf.model.portlet.binding.PortletBinding.getPortletRendition(PortletBinding.java:514)
at oracle.adfinternal.view.faces.renderkit.html.portlet.PortletRenderer.preRender(PortletRenderer.java:417)
at oracle.adfinternal.view.faces.renderkit.html.customizable.ShowDetailFrameRenderer.encodeBegin(ShowDetailFrameRenderer.java:227)
at oracle.adf.view.faces.component.UIXComponentBase.encodeBegin(UIXComponentBase.java:593)
at oracle.adfinternal.view.faces.renderkit.RenderUtils.encodeRecursive(RenderUtils.java:39)
at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeChild(CoreRenderer.java:242)
at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeAllChildren(CoreRenderer.java:265)
at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.renderContent(PanelPartialRootRenderer.java:65)
at oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.renderContent(BodyRenderer.java:117)
at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.encodeAll(PanelPartialRootRenderer.java:147)
at oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.encodeAll(BodyRenderer.java:60)
at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:169)
at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:645)
at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:568)
at oracle.adf.view.faces.webapp.UIXComponentTag.doEndTag(UIXComponentTag.java:100)
at test1.jspService(_test1.java:122)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:598)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:522)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:712)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:286)
at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:50)
at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:192)
at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:197)
at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:346)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:152)
at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:620)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:595)
Caused by: oracle.portlet.client.container.PortletRemoteException: oracle.portlet.server.container.OperationFailedException: oracle.portlet.wsrp.v1.OperationFailedException: oracle.portlet.wsrp.v1.soap.OperationFailed
at oracle.portlet.client.techimpl.wsrp.WSRPBaseTerminalPipe.processException(WSRPBaseTerminalPipe.java:37)
at oracle.portlet.client.techimpl.wsrp.WSRPGetMarkupPipe.execute(WSRPGetMarkupPipe.java:185)
at oracle.portlet.client.techimpl.wsrp.WSRPGetMarkupPipe.pre(WSRPGetMarkupPipe.java:52)
at oracle.portlet.client.service.pipeline.PipeContext.internalExecute2(PipeContext.java:516)
at oracle.portlet.client.service.pipeline.PipeContext.internalExecute(PipeContext.java:403)
at oracle.portlet.client.service.pipeline.PipeContextRunnable.run(PipeContextRunnable.java:24)
at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:431)
at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
at oracle.portlet.client.service.pipeline.ModifiedThreadPoolExecutor$Worker.runTask(ModifiedThreadPoolExecutor.java:398)
at oracle.portlet.client.service.pipeline.ModifiedThreadPoolExecutor$Worker.run(ModifiedThreadPoolExecutor.java:423)
... 1 more
Caused by: oracle.portlet.server.container.OperationFailedException: oracle.portlet.wsrp.v1.OperationFailedException: oracle.portlet.wsrp.v1.soap.OperationFailed
at oracle.portlet.wsrp.v1.ServerToWSRPv1.getMarkup(ServerToWSRPv1.java:1093)
at oracle.portlet.client.connection.wsrp.ActivityServerWrapper.getMarkup(ActivityServerWrapper.java:1330)
at oracle.portlet.client.techimpl.wsrp.WSRPGetMarkupPipe.execute(WSRPGetMarkupPipe.java:116)
... 9 more
Caused by: oracle.portlet.wsrp.v1.OperationFailedException: oracle.portlet.wsrp.v1.soap.OperationFailed
at oracle.portlet.wsrp.v1.WSRP_v1_Markup_PortTypeJaxbToSoap.getMarkup(WSRP_v1_Markup_PortTypeJaxbToSoap.java:101)
at oracle.portlet.wsrp.v1.ServerToWSRPv1.getMarkup(ServerToWSRPv1.java:977)
... 11 more
Caused by: oracle.portlet.wsrp.v1.soap.OperationFailed
at oracle.portlet.wsrp.v1.soap.runtime.WSRP_v1_Markup_PortType_getMarkup_Fault_SOAPSerializer.deserializeDetail(WSRP_v1_Markup_PortType_getMarkup_Fault_SOAPSerializer.java:269)
at oracle.j2ee.ws.common.encoding.SOAPFaultInfoSerializer.doDeserializeSOAP11(SOAPFaultInfoSerializer.java:132)
at oracle.j2ee.ws.common.encoding.SOAPFaultInfoSerializer.doDeserialize(SOAPFaultInfoSerializer.java:94)
at oracle.j2ee.ws.common.encoding.ObjectSerializerBase.deserialize(ObjectSerializerBase.java:180)
at oracle.j2ee.ws.common.encoding.ReferenceableSerializerImpl.deserialize(ReferenceableSerializerImpl.java:147)
at oracle.portlet.wsrp.v1.soap.runtime.WSRP_v1_Markup_Binding_SOAP_Stub._readBodyFaultElement(WSRP_v1_Markup_Binding_SOAP_Stub.java:456)
at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:321)
at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:112)
at oracle.portlet.wsrp.v1.soap.runtime.WSRP_v1_Markup_Binding_SOAP_Stub.getMarkup(WSRP_v1_Markup_Binding_SOAP_Stub.java:76)
at oracle.portlet.wsrp.v1.WSRP_v1_Markup_PortTypeJaxbToSoap.getMarkup(WSRP_v1_Markup_PortTypeJaxbToSoap.java:78)
... 12 more
Then I tried to deploy the test1.jsp as a WAR file in the webcenter OC4J and tried this URL
http://localhost:6688/AdfFacesDemoTest1/test1.jsp
but it gave me this error
500 Internal Server Error
Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details.
When I tried this URL I got a diffrent error. Googling this did not help at all
http://localhost:6688/AdfFacesDemoTest1/faces/test1.jsp
07/08/06 11:33:26 PortletContainer portletTechnologies set to '{oracle.portlet.client.containerimpl.web.WebPortletTechnologyConfig,oracle.portlet.client.containerimpl.wsrp.WSRPPortletTechnologyConfig}' from adf-config.xml
07/08/06 11:33:26 PortletContainer defaultTimeout set to '20' from adf-config.xml
07/08/06 11:33:26 PortletContainer minimumTimeout set to '1' from adf-config.xml
07/08/06 11:33:26 PortletContainer maximumTimeout set to '60' from adf-config.xml
07/08/06 11:33:26 PortletContainer resourceProxyPath set to '/resourceproxy' from adf-config.xml
2007-08-06 11:33:58.843 ERROR oracle.portlet.client.persistence.PersistenceNotFoundException: mdsId=/oracle/adf/portlet/AdfFacesDemoProducer_1186417722625/ap/E0default_3c036e4c_0114_1000_8003_83e15f750fa7.pxml not found
at oracle.portlet.client.persistenceimpl.mds.MDSPersistenceContext.get(MDSPersistenceContext.java:587)
at oracle.portlet.client.beanimpl.persistence.PersistenceBeanFactory.getExisting(PersistenceBeanFactory.java:226)
at oracle.portlet.client.beanimpl.persistence.PersistenceBeanContext.getExisting(PersistenceBeanContext.java:83)
at oracle.portlet.client.containerimpl.PublicFactoryImpl.get(PublicFactoryImpl.java:248)
at oracle.portlet.client.containerimpl.PublicFactoryImpl.get(PublicFactoryImpl.java:258)
at oracle.portlet.client.containerimpl.PortletContainerImpl.getPortlet(PortletContainerImpl.java:227)
at oracle.adf.model.portlet.binding.PortletBinding.prepareModel(PortletBinding.java:801)
at oracle.adf.model.portlet.binding.PortletBinding.refresh(PortletBinding.java:606)
at oracle.adf.model.binding.DCBindingContainerDef$1RegionBindingAdapter.refresh(DCBindingContainerDef.java:1011)
at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:2455)
at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2260)
at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:99)
at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareModel(FacesPageLifecycle.java:73)
at oracle.adf.controller.v2.lifecycle.Lifecycle$8.execute(Lifecycle.java:210)
at oracle.adf.controller.v2.lifecycle.Lifecycle.executePhase(Lifecycle.java:116)
at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java:29)
at oracle.adf.controller.faces.lifecycle.ADFPhaseListener$4.after(ADFPhaseListener.java:327)
at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:90)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:254)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:620)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: oracle.mds.core.MetadataNotFoundException: No metadata found for metadata object "/oracle/adf/portlet/AdfFacesDemoProducer_1186417722625/ap/E0default_3c036e4c_0114_1000_8003_83e15f750fa7.pxml"
at oracle.mds.core.MetadataObject.getBaseMO(Unknown Source)
at oracle.mds.core.MDSSession.getBaseMO(Unknown Source)
at oracle.mds.core.MDSSession.getMutableMO(Unknown Source)
at oracle.portlet.client.persistenceimpl.mds.MDSPersistenceContext.getBaseMutableMO(MDSPersistenceContext.java:1143)
at oracle.portlet.client.persistenceimpl.mds.MDSPersistenceContext.get(MDSPersistenceContext.java:577)
... 40 more
Here is my portlet.xml in ui project
<?xml version="1.0" encoding="ISO-8859-1"?>
<portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd
http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd">
<portlet>
<description>ADF Faces Demo Portlet 1</description>
<portlet-name>ADFFacesDemo1</portlet-name>
<display-name>ADF Faces Demo portlet 1</display-name>
<portlet-class>oracle.portlet.server.bridges.jsf.FacesPortlet
</portlet-class>
<init-param>
<name>DefaultPage.view</name>
<value>/untitled1.jsp</value>
</init-param>
<init-param>
<name>BridgeLifecycleListeners</name>
<value>
oracle.portlet.server.bridges.jsf.adf.ADFFacesBridgeLifecycleListener,
oracle.portlet.server.bridges.jsf.adf.BindingFacesBridgeLifecycleListener
</value>
</init-param>
<supports>
<mime-type>text/html</mime-type>
<portlet-mode>VIEW</portlet-mode>
</supports>
<supported-locale>en</supported-locale>
<portlet-info>
<title>ADF Faces Demo Portlet 1</title>
<short-title>ADFFacesDemo1</short-title>
</portlet-info>
</portlet>
</portlet-app>
web.xml in ui project (where the AFD application is)
<?xml version = '1.0' encoding = 'windows-1252'?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee">
<description>Empty web.xml file for Web Application</description>
<filter>
<filter-name>adfFaces</filter-name>
<filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>adfFaces</filter-name>
<servlet-name>Faces Servlet</servlet-name>
<dispatcher>FORWARD</dispatcher>
<dispatcher>REQUEST</dispatcher>
</filter-mapping>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>resources</servlet-name>
<servlet-class>oracle.adf.view.faces.webapp.ResourceServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>resources</servlet-name>
<url-pattern>/adf/*</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>35</session-timeout>
</session-config>
<mime-mapping>
<extension>html</extension>
<mime-type>text/html</mime-type>
</mime-mapping>
<mime-mapping>
<extension>txt</extension>
<mime-type>text/plain</mime-type>
</mime-mapping>
</web-app>
web.xml in test1 project (where portlet producer is registered)
<?xml version = '1.0' encoding = 'windows-1252'?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee">
<description>Empty web.xml file for Web Application</description>
<context-param>
<param-name>CpxFileName</param-name>
<param-value>test1.DataBindings</param-value>
</context-param>
<context-param>
<param-name>oracle.mds.web-app-root</param-name>
<param-value>/test1/public_html</param-value>
</context-param>
<context-param>
<param-name>oracle.adf.view.faces.CHANGE_PERSISTENCE</param-name>
<param-value>oracle.adfinternal.view.faces.change.HybridChangeManager</param-value>
</context-param>
<filter>
<filter-name>adfFaces</filter-name>
<filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter</filter-class>
</filter>
<filter>
<filter-name>adfBindings</filter-name>
<filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
</filter>
<filter>
<filter-name>mdsFilter</filter-name>
<filter-class>oracle.mds.jsp.MDSJSPFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>adfFaces</filter-name>
<servlet-name>Faces Servlet</servlet-name>
<dispatcher>FORWARD</dispatcher>
<dispatcher>REQUEST</dispatcher>
</filter-mapping>
<filter-mapping>
<filter-name>adfBindings</filter-name>
<url-pattern>*.jsp</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>adfBindings</filter-name>
<url-pattern>*.jspx</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>adfBindings</filter-name>
<servlet-name>resourceproxy</servlet-name>
</filter-mapping>
<filter-mapping>
<filter-name>adfBindings</filter-name>
<servlet-name>adfportlet</servlet-name>
</filter-mapping>
<filter-mapping>
<filter-name>mdsFilter</filter-name>
<servlet-name>jsp2</servlet-name>
<dispatcher>FORWARD</dispatcher>
<dispatcher>INCLUDE</dispatcher>
<dispatcher>REQUEST</dispatcher>
</filter-mapping>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>resources</servlet-name>
<servlet-class>oracle.adf.view.faces.webapp.ResourceServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>adfportlet</servlet-name>
<servlet-class>oracle.adfinternal.view.faces.renderkit.html.portlet.ADFPortletServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>resourceproxy</servlet-name>
<servlet-class>oracle.portlet.client.resourceproxy.adf.ADFPortletResourceServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>jsp2</servlet-name>
<servlet-class>oracle.jsp.runtimev2.JspServlet</servlet-class>
<init-param>
<param-name>tags_reuse_default</param-name>
<param-value>none</param-value>
</init-param>
<init-param>
<param-name>check_page_scope</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>debug_mode</param-name>
<param-value>false</param-value>
</init-param>
<init-param>
<param-name>page_provider</param-name>
<param-value>oracle.mds.jsp.MDSJSPProvider</param-value>
</init-param>
<init-param>
<param-name>page_repository</param-name>
<param-value>oracle.mds.jsp.MDSJSPProvider</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>resources</servlet-name>
<url-pattern>/adf/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>adfportlet</servlet-name>
<url-pattern>/adfportlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>adfportlet</servlet-name>
<url-pattern>/adfportletfullpage</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>resourceproxy</servlet-name>
<url-pattern>/resourceproxy</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>jsp2</servlet-name>
<url-pattern>/*.jspx</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>35</session-timeout>
</session-config>
<mime-mapping>
<extension>html</extension>
<mime-type>text/html</mime-type>
</mime-mapping>
<mime-mapping>
<extension>txt</extension>
<mime-type>text/plain</mime-type>
</mime-mapping>
<service-ref xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<service-ref-name>service/WSRPServiceRefV1</service-ref-name>
<service-interface>javax.xml.rpc.Service</service-interface>
<wsdl-file>WEB-INF/wsdl/WSRP_v1_Service.wsdl</wsdl-file>
<jaxrpc-mapping-file>WEB-INF/WSRP_v1_Service-java-wsdl-mapping.xml</jaxrpc-mapping-file>
<service-qname xmlns:service-qname_ns__="urn:oasis:names:tc:wsrp:v1:wsdl">service-qname_ns__:WSRP_v1_Service</service-qname>
<port-component-ref>
<service-endpoint-interface>oracle.portlet.wsrp.v1.soap.WSRP_v1_Markup_PortType</service-endpoint-interface>
</port-component-ref>
<port-component-ref>
<service-endpoint-interface>oracle.portlet.wsrp.v1.soap.WSRP_v1_ServiceDescription_PortType</service-endpoint-interface>
</port-component-ref>
<port-component-ref>
<service-endpoint-interface>oracle.portlet.wsrp.v1.soap.WSRP_v1_Registration_PortType</service-endpoint-interface>
</port-component-ref>
<port-component-ref>
<service-endpoint-interface>oracle.portlet.wsrp.v1.soap.WSRP_v1_PortletManagement_PortType</service-endpoint-interface>
</port-component-ref>
</service-ref>
<service-ref xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<service-ref-name>service/WSRPServiceRefV2</service-ref-name>
<service-interface>javax.xml.rpc.Service</service-interface>
<wsdl-file>WEB-INF/wsdl/WSRP_v2_Service.wsdl</wsdl-file>
<jaxrpc-mapping-file>WEB-INF/WSRP_v2_Service-java-wsdl-mapping.xml</jaxrpc-mapping-file>
<service-qname xmlns:service-qname_ns__="urn:oasis:names:tc:wsrp:v2:wsdl">service-qname_ns__:WSRP_v2_Service</service-qname>
<port-component-ref>
<service-endpoint-interface>oracle.portlet.wsrp.v2.soap.WSRP_v2_Markup_PortType</service-endpoint-interface>
</port-component-ref>
<port-component-ref>
<service-endpoint-interface>oracle.portlet.wsrp.v2.soap.WSRP_v2_ServiceDescription_PortType</service-endpoint-interface>
</port-component-ref>
<port-component-ref>
<service-endpoint-interface>oracle.portlet.wsrp.v2.soap.WSRP_v2_Registration_PortType</service-endpoint-interface>
</port-component-ref>
<port-component-ref>
<service-endpoint-interface>oracle.portlet.wsrp.v2.soap.WSRP_v2_PortletManagement_PortType</service-endpoint-interface>
</port-component-ref>
</service-ref>
</web-app>
Can anyone help please
regards
VijayHello dvohra,
Thanks for the reply but I have done everything before I posted my message on this forum
1. Is the Portlet Faces Bridge library in the project libraries?
yes in both test1 project and ui project. ui project is where the ADF application is and test1 is where the producer is registered
2. I sent the web.xml earlier in the forum. Yes it include the tags
here is it again
<?xml version = '1.0' encoding = 'windows-1252'?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee">
<description>Empty web.xml file for Web Application</description>
<filter>
<filter-name>adfFaces</filter-name>
<filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter</filter-class>
</filter>
<filter>
<filter-name>adfBindings</filter-name>
<filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>adfFaces</filter-name>
<servlet-name>Faces Servlet</servlet-name>
<dispatcher>FORWARD</dispatcher>
<dispatcher>REQUEST</dispatcher>
</filter-mapping>
<filter-mapping>
<filter-name>adfBindings</filter-name>
<url-pattern>*.jsp</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>adfBindings</filter-name>
<url-pattern>*.jspx</url-pattern>
</filter-mapping>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>resources</servlet-name>
<servlet-class>oracle.adf.view.faces.webapp.ResourceServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>resources</servlet-name>
<url-pattern>/adf/*</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>35</session-timeout>
</session-config>
<mime-mapping>
<extension>html</extension>
<mime-type>text/html</mime-type>
</mime-mapping>
<mime-mapping>
<extension>txt</extension>
<mime-type>text/plain</mime-type>
</mime-mapping>
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>server</param-value>
</context-param>
</web-app>
3. Yes it include that tag also. Please see the web.xml I pasted above
4. Yes I deployed it as the simple WAR file and NEVER as a WebCenter Application WAR
I am assuming that when you refer to web.xml you refer to the one in my ui project where the ADF application is . There is another web.xml file in test1 project where I try to test the portlet. That web.xml is also pasted in my earlier blog
Any other idea ?
thanks a lot
Vijay
______________________________________________________________________ -
Item level security not working when placed in a portlet page
I have three page links linking to separate pages and have two of them with item level security turned on for specific groups with view privilges. I have the access for those groups with view privilges in the page level as well. I have published that as portlet and placed the portlet in another page which has view priviliges for the groups specified in item level as well.
But I notice that when i place the portlet in a page, the item level security is not working.
Item Level Security Not Working for Items Placed on a page and published as portlet and placed in another page. Is there some work around for this.
Thanks
ValliWould you please clarify for me? Is the problem that unauthorized people can see the portlet, or that unauthorized people can see the links?
-
ADF Controls not working throught Portlet Bridge
Hello,
I have a JSF/ADF Faces very simple application, when I expose this application using Portlet Faces Bridge, JSF controls are working but ADF controls are not working.
I am using:
JDeveloper 10.1.3.3
OC4J 10.1.3.3 Standalone with PDK 10.1.3.2
Portal 10.1.4.
Controls work fine in application running outside portal as standard J2EE App.
Please if someone can provide quick help.
ThanksDo you mean the content is not rendered correctly? Have you configured resource proxying? See Re: WSRP examples - no display chart for the details.
Kind Regards,
Andre Jochems -
Publisher News Portlet Not Working
Hi,
We use Publisher 6.5 with Oracle WCI 10gR3 portal. We have a News Portlet in our home page which has suddenly stopped displaying any content. It has a huge number of news articles, i.e. around 250 Plus articles.
We found a setting in the DET relating to max items which was set to 200, we increased it to 400, and published the whole folder, but things still did not work out.
If we try to preview the portlet while adding to another page, we are able to see the content, but once the portlet gets added, nothing displays once again. Also in Publisher Explorer, the content item attached to the News portlet is not getting displayed if we click Preview. We get an error message "Error - Requested resource is currently unavailable. Request to the remote server has timed out. Try again later or contact your portal administrator.
Gateway was not able to access requested content. If the error persists, contact your portal administrator. "
Please can anyone help as this is an urgent issueFirst you should contact Oracle Support and get this set as a priority one issue and escalate it so that you get the fastest possible response.
It sounds to me like you've blown away your index.
I'd check the following:
1)
go into your publisher directory <portal home>/ptcs/publishedcontent/publish/<path to your content>
Verify that the content is actually still there (actual html files of each of your news articles).
2)
go into publisher explorer and check your articles folder (in the appropriate area) and verify that your content is still there.
3)
Within the problematic folder, open the Content Item Index - this will contain all of the items that you've posted to your announcement portlet.
If someone checked-out this file and then did an "undo-checkout" I believe it blows away all changes since the last "check-in" which typically is nothing, and blows away all your content - which would cause precisely the problem you are seeing. -
Request Scope for portlets? Sharing data tutorial does not work for portlet
I created 2 identical applications, one that was a regular JSF web app, and one a JSR168 portlet. By following the "Sharing Data Between Two Pages" tutorial, I can get this technique to work without a problem in the web app, but the portlet (deployed locally using the pluto server) does not work. What is the difference between a regular app and a portlet app?
This shows that portlets apparently handle scope much differently than other applications, so any information relating to this would be helpful to pass along.Portlet Life Cycle Differences
A portlet page is the same as a web application page in the Creator 2 application
model with differences only in the page life cycle. To best understand the life
cycle differences, you must first understand how a portal interacts with a portlet.
This interaction between portals and portlets is defined by the JSR-168 Portlet
specification. Typically a portal display in the web browser shows multiple
portlets. That is, when the portal page is displayed, there are actually multiple
portlets displaying or rendering their content. The job of the portal is to manage
how these portlets are displayed. Internally, the portal is responsible for telling
each portlet two things:
1. When to display itself
2. If there has been an action, such as a button press, performed inside that
portlet.
When a portal wants portlets to display their contents, the portal sends a render
request to each portlet showing in the portal. If one of the portlets showing in the
portal has a button tied to an action request, when that button is pushed, the
portal fires an action request for that portlet. In addition, the portal generates a
render request for the portlet and all other portlets on the page. You should note
that the portal implementation fires both action and render requests for each
action method on a portlet showing in the portal. The implication of this
interaction means the portlet page being rendered can not make assumptions
about the state of the values to be shown. Unlike a normal web application page,
a portlet page can't assume that the page being rendered in the Render Response
phase is the same page that was built in Restore View. If a portlet wants to
maintain state across repeated render requests, the portlet must use the session
bean to store stateful information.
The main point to remember is a portlet page must always be prepared to render
it's values from scratch or session data. This implies you should never bind
portlet page UI components to page bean properties or request bean properties.
Also, you should never rely on page bean instance variables that might be set
during an action event.
Hope this helps. -
JBoss cluster shared session not working always
Hi all,
I am using JBoss AS 4.0 for my Application, recently we need to scale the application, so we added another JBoss AS 4.0 in cluster. It is working fine with sticky session.
But we need to share the session state so we made the changes in JBoss service .xml and the Appache for shared session, as described in the Jboss administration documentation, but the session shareing is not working always, some time it is working, suddenly the session in the clustered server gone out,
please advice me what if i am missing, i cannot figure out
thanks in advanceHello. I actually raised a support request to Microsoft about this. It seems from my testing that when using user profile disks in 2012 r2 that shared activation doesn't work. Last update this was with engineering team at MS. Will update when they have
confirmed this is an actual bug. -
Application is not working due to memory issue
Hi Friesnds,
Kindly help me regarding settings in java. Scenario is like that. I have one server having two jboss versions (jboss-4.2.3 GA and jboss- 3.2.6). Each having java memory (JVM settings) 1 GB. The total memory of that server is 3 GB.
Problem is that every two days my application is not working due to memory issue. Once i freed the memory (through run the commands - (1). sync
(2). echo 3 > /proc/sys/vm/drop_caches
Application works fine.
I heared that the above command (echo 3 > /proc/sys/vm/drop_caches) can't run frequently because of server crash.
Kindly help me regarding this issue and provide the resolution.
Let me know if you need more information from my side.
Thanks
Ashish ShuklaAll of the above. I tested on 4 different networks and had no luck, I also had friends test my network and the other networks with their iPhones and all had no issues using FaceTime.
Also after I wiped my phone (erased all content and settings) I was able to successfully initiate a FaceTime call with no changes to my network and was also able to initiate another call when connected to another previously tested network that didn't work before. Once I restored from backup though, FaceTime stopped working again.
I did find this discussion: https://discussions.apple.com/thread/5163024?start=0&tstart=0
and tried the suggestions found there too. That discussion describes my issue I am having as well. -
Binding not working when returning to same page
Hi, Im developing a portlet that access some data from MYSQL.
I have a simple page with several textfields, all with bindings to a javabean object that is a property of SessionBean1 bean, so it is a Session Scope bean.
In that page I put some buttons like next, prior, etc. to navigate between all registers of my DB. I added some code to event button like this:
public String bnext_action() {
// get sessionbean
SessionBean1 SBean1 = (SessionBean1)getBean("SessionBean1");
// navigate to next register in database
// ProdBean is my property bean that get values from database
// bindings are like this : text="#{SessionBean1.prodBean.codigo}
SBean1.getProdBean().GetNextReg(SBean1.getModuloIdx());
// set current register index
SBean1.setModuloIdx(SBean1.getProdBean().getIndex());
return null;
The problem is that when I get next register of database, bindings are not reflecting new values, always holding first values. I tried to force things by setting values in pre-rendering face manually with setText method of textfields but nothing happens.
As Im a newbie in Java yet I really don't undestand this, I have readed all JSF life cycle documention and portlet life cycle docs but couldn't find an answer. Why binding is not working?Thanks for this. Unfortunately now I have tried with Standard actions the links do not work at all. The links provided were created with spaces so contained within the links are lots of '%20'. e.g. :
PCI%20DSS/UWE%20PCI-DSS%20Quick%20Reference%20guide.pdf
for some reason when creating the links with standard actions, when the project is published the links have changed to contain 25s e.g.
PCI%2520DSS/UWE%2520PCI-DSS%2520Quick%2520Reference%2520guide.pdf
no idea why this is happening. -
hi,
i installed adobe livecycle forms 7.2 (win 2003 and jboss). i used turnkey installation to install this server.
i am trying to use .net soap assembly to render the forms, but it do not work.
i am using a sample from "SmartDoc Technologies".
for the soapendpoint i set following value:
formServer.setSoapEndPoint("http://localhost:8080/jboss_net/services/AdobeFSService")
renderForm(...) throws an exception (see below). the same exception is thrown after i changed the url of soapendpoint to string like "test_test".
how can i determine if the soap interface was installed successfully?
jboss and mysql are running, i can login on "http://localhost:8080/adminui"
need help.
thanks
Event Type: Error
Event Source: mii.EVN.Barcode.Forms
Event Category: None
Event ID: 0
Date: 18.09.2007
Time: 11:55:23
User: N/A
Computer: SMIILAB3801
Description:
Safe handle has been closed
at System.Net.UnsafeNclNativeMethods.OSSOCK.setsockopt(SafeCloseSocket socketHandle, SocketOptionLevel optionLevel, SocketOptionName optionName, Int32& optionValue, Int32 optionLength)
at System.Net.Sockets.Socket.SetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, Int32 optionValue, Boolean silent)
at System.Net.Sockets.NetworkStream.SetSocketTimeoutOption(SocketShutdown mode, Int32 timeout, Boolean silent)
at System.Net.ConnectStream.SafeSetSocketTimeout(SocketShutdown mode)
at System.Net.ConnectStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Xml.XmlTextReaderImpl.InitStreamInput(Uri baseUri, String baseUriStr, Stream stream, Byte[] bytes, Int32 byteCount, Encoding encoding)
at System.Xml.XmlTextReaderImpl..ctor(String url, Stream input, XmlNameTable nt)
at System.Xml.XmlDocument.Load(Stream inStream)
at SoapClient.FSSoapClient.ReachServerRequest(String SoapMethod, Byte[] vRequest)
at SoapClient.FSSoapClient.XMLGetForm(Byte[] vRequest)
at SoapClient.FSSoapClient.renderForm(String sFormQuery, String sFormPreference, Byte[] cXMLData, String sOptions, String sUserAgent, String sApplicationWebRoot, String sTargetURL, String sContentRootURI, String sBaseURL)
at Service.CreateADOBEForm(String TemplateName, String XMLContent) in c:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\WebSites\mii.EVN.Barcode.Forms\App_Code\Service.cs:line 59
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.I'm sorry but your post doesn't make much sense in English. You may want to try posting again in your native language.
Best of luck. -
Configuration Template Builder WL8.1 does not work
Hello,
After spending nearly 2 days now trying to get a Configuration Template
built, I've concluded this simply does not work. Has anyone used the
Config Template builder to package a semi-complex application on top of WLI?
I'm trying to have 2 of my applications, the JMS and JDBC resources,
and a WLI event generator packaged up for easy deployment to someone
else's server configuration. The problem with this is that there are
required resources for WLI, namely a database. The Pointbase database
included for WLI does not get included in the template automatically.
There are also some flat-out bugs:
If you choose to include a resource adapter "application", such as
jms-xa-adp.rar, the template builder does not bundle this in the
template and deploy it correctly. The template builder restricts you to
putting applications in the relative path starting at ./
For jms-xa-adp.rar, its original location is in $WL_HOME/server/lib, and
the template builder defaults to put it in ./lib of your template.
However, when you create a domain with the template, jms-xa-adp.rar does
not get placed in your ./lib directory. This causes you to then go and
manually edit your config.xml to point back at $WL_HOME/server/lib or to
manually copy jms-xa-adp.rar into your ./lib directory (which the
template mechanism should do for you).
Relative paths in the config.xml file require you to execute the config
builder from the directory of the domain you are making a template for.
The template builder should instead be smart enough to realize that
relative paths in the config.xml file are relative to the directory that
the config.xml is in, not the one you are running the template builder
from. You'll get an error when trying to create the template cause it
won't find the resources if you're not in that directory.
If anyone has successfully used this to package a WLI application in a
template, please share your experiences and how to do so. In the
meantime, I'm claiming there is no way to nicely package up a server
configuration for a WLI app in Weblogic, and this is a big shortcoming.
Weblogic needs a simple transferrable way of creating server
configurations (it tries to do this with the template, but that is
failing). With JBoss, for example, you simply copy your server directory
into another installation. This doesn't work with Weblogic unfortunately
because it puts hard-coded paths in the config.xml file.
ThanksRuss,
Thank you for the detailed responses. The only one I'm currently
struggling with still is the #5, with the scripts between the two. One
of the major benefits of using a J2EE App Server is supposed to be the
portability between servers. I find it disconcerting that BEA Weblogic
restricts me to the platform I created the domain on by creating
platform-specific startup/shutdown scripts for only the platform created
on. It's understandable that a script converter would be difficult, but
at least both the .sh/.cmd files should be created from the first time
you make a domain. If the user only wants one or the other, they can
delete the appropriate one. It's also understandable that the
users/deployers shouldn't have to manually convert a startup/shutdown
script to take the domain to a different box.
JBoss clearly has BEA beat on ease of deployment here. Their model is
the concept I'm thinking of: you have some generic startup/shutdown
scripts that can load a platform-independent server configuration. You
truly can copy directories as-is between JBoss installations.
I was hoping to package up a server domain for use on any of the
supported platforms, but since I don't have the time to manually convert
the startup/shutdown scripts, I'm going to have to tell people it's only
for Solaris now.
Hopefully BEA can fix this in a future SP. There's no need for this
platform-dependency. Also, if the Windows version can generate both
scripts at creation time, then the Solaris should be able to do this as
well (or at least give you the option).
Thanks again for the replies
russ wrote:
Hi Steven,
I have several comments and questions about your last two posts. I will try to
address them in order.
1) "The Pointbase database included for WLI does not get included in the template
automatically."
By default the template builder only includes the *.cmd and *.sh files in the
template from your domain directory. If you begin building with an existing
domain template all files that were in the template will get included. This was
done because there is no way for the builder to automatically determine all the
files that are required by your template/domain and we steered away from recursively
including all files from the directory so that unused files were not needlessly
included. We can extrapolate some files based on the application paths in the
config.xml, but the rest is left up to the template builder to be aware of what
is needed for their domain to run. So, if you need the Pointbase *.dbn and *.wal
files included in your template just select these files on the ?Add Files? panel
of the template builder and add them to the ?Domain Directory?.
2) ?If you choose to include a resource adapter "application", such as jms-xa-adp.rar,
the template builder does not bundle this in the template and deploy it correctly.?
The template builder considers application files to be in two categories: Imported
or Internal. When you are at the ?Add Applications? panel of the builder you
will see a checklist of all the applications that are in the domain you selected.
On the right hand side there are two text fields. The top one displays the application
path as it is currently set in the config.xml of that domain. The bottom field
will be different depending on what category the application falls into. As you
click on each application in the list, you may notice that the bottom field may
change from an editable field titled ?Imported Application Path? to a non-editable
field titled ?Internal Application Path?. The difference between the two categories
is that an ?Imported? application?s files will be included in the template jar.
An ?Internal? application?s files will not be included in the template jar because
they are considered internal to the weblogic installation. The jms-xa-adp.rar
should fall into the internal category and should not get included in your template.
From what you are describing it sounds like the builder attempted to import that
application when it should not have. In an attempt to recreate the problem you
are seeing I deployed that Connector Module through the WLS console and ended
up with an application path of ?C:\bea\weblogic81\server\lib? where ?C:\bea\weblogic81?
is my WL_HOME (a.k.a. USER_INSTALL_DIR). If I then attempt to build a template
from this domain, the builder recognizes this as an internal path and does not
include it inside my template. If the current application path you had looks
different from the one above, that may explain why the builder was attempting
to import it. What was the value of the ?Current Application Path? for that application
deployment?
3) ?Relative paths in the config.xml file require you to execute the config builder
from the directory of the domain you are making a template for.?
The builder is ?smart? enough to determine relative paths. You should not have
to invoke it from the domain directory you are working with. There is a known
bug in the WebLogic Platform 8.1.1.0 release of the template builder that will
cause it to not find files with relative paths in your domain directory if the
application path in the config.xml is just a ?.?. If this is the case, you should
see a FileNotFoundException when you attempt to create the template. This will
be fixed in SP2 and you can work around this problem by changing those paths to
?./? instead. If this was not the case, what was the path the wizard choked
on?
4) ?Looking through the config file, it seems that it's all of the WLI components
that have absolute paths in the config file. In addition, BEA_WLS_DBMS_ADK has
an absolute path, not sure if that is WLI or WLS. ?
BEA_WLS_DBMS_ADK is an integration application. If you created the original
domain using the configuration wizard most of the applications in an integration
enabled domain will reference paths inside of you installation directory or ?internal?
paths. For instance, I used the wizard to create a ?Basic WebLogic Integration
Domain?. The path for that application in this domain is: ?C:\bea\weblogic81/integration/adapters/dbms/lib/BEA_WLS_DBMS_ADK.ear?
where ?C:\bea\weblogic81? is my WL_HOME or USER_INSTALL_DIR. When I load this
domain into the builder it shows this application as ?internal? and the ?Internal
Application Path? is "$USER_INSTALL_DIR$/integration/adapters/dbms/lib/BEA_WLS_DBMS_ADK.ear".
This will be set as the path value of this application in the config.xml that
will be included in the template you build. When you later use the Configuration
Wizard on this template it will substitute the $USER_INSTALL_DIR$ to the value
of the installation directory of the machine you are creating it on.
If you were to Change these to relative paths, as Mark previously suggested,
it will only work if you copy the domain directory to the same location relative
to your installation directory on the target machine. Also, if you copy the domain
in this manner you will more than likely run into problems with your start/stop
scripts and be forced to hand modify all the paths contained within. The configuration
wizard tries to alleviate these problems and make the configuration entirely portable.
This gives the user who creates the domain from your template the ability to
put it anywhere they want regardless of the paths in the config.xml.
5) ?However, there is another major problem with the Template Builder: it only
includes the startup/shutdown script for the platform you create the template
on. ???I built the template on Solaris with the UNIX scripts. However, I tried
to create a new config on Windows with this template, and the scripts were not
converted to .bat files!?
As I stated previously, the builder will only include *.cmd and *.sh scripts
into your template by default. If you created the domain on a unix platform using
the configuration wizard it will not extract the *.cmd files since these aren?t
considered to be useful on unix. If you were then to attempt building a template
from this domain and take it onto a windows platform, it will obviously be missing
any windows scripts. Conversely, the wizard will extract *.sh scripts on windows
because they can still be useful if a user has an MKS or Cygwin type environment
installed. The config wizard and template builder do not have the ability to convert
scripts. The builder will only include existing scripts that are in your domain
directory and automatically determine any necessary string substitutions that
will be needed. Please note that since WebLogic is only supported on the NT/2K/XP
versions of windows you will find that the wizards use ?.cmd? files and not ?.bat?
files since these are more commonly associated with Win 95/98/ME.
I will be happy to answer any more questions you may have and would also like
to take a look at your domain configuration to try and get a better understanding
of the problems you are encountering.
thanx,
russ -
Could not find portlet_xml_ref for portlet key 18011
Hi,
I just loaded BEA Portal 7.0.4 and created my domain. copied the portal app from another working machine and started the server. This is what I'm getting:
<Dec 2, 2004 3:59:34 PM CST> <Warning> <EJB> <010004> <The EJB deployment named: abtServer_b2c_abtMail.jar was compiled by a different
version of the WebLogic Server.>
<Dec 2, 2004 3:59:35 PM CST> <Warning> <EJB> <010004> <The EJB deployment named: abtServer_b2c_abtECommerce.jar was compiled by a diffe
rent version of the WebLogic Server.>
Exception[com.bea.portal.PortalException: Could not find portlet_xml_ref for portlet key 18011]
at com.bea.portal.manager.internal.persistence.jdbc.JdbcPortalDeletionHelper.removeEntitlementsForPortletForPortalPageP13n(Jdbc
PortalDeletionHelper.java:2424)
at com.bea.portal.manager.internal.persistence.jdbc.JdbcPortalDeletionHelper.removePortletFromPageP13n(JdbcPortalDeletionHelper
.java:1542)
at com.bea.portal.manager.internal.persistence.jdbc.JdbcPortalDeletionHelper.deleteRemovedItems(JdbcPortalDeletionHelper.java:9
31)
at com.bea.portal.manager.internal.persistence.jdbc.JdbcPortalPersistenceManager.deleteRemovedItems(JdbcPortalPersistenceManage
r.java:805)
at com.bea.portal.manager.internal.persistence.MainPersistenceManager.deleteRemovedItems(MainPersistenceManager.java:221)
at com.bea.portal.manager.internal.PortalPersistenceManager.updatePortalModel(PortalPersistenceManager.java:349)
at com.bea.portal.manager.internal.PortalPersistenceManager.createDataItem(PortalPersistenceManager.java:199)
at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.handleDataItemMessage(AbstractDataRepository.java:81
4)
at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.onDataSyncMessage(AbstractDataRepository.java:990)
at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.executeMessage(AbstractDataRepository.java:252)
at com.bea.p13n.management.data.message.internal.JvmCommunicationPipe.sendMessage(JvmCommunicationPipe.java:116)
at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.onSyncRequestResultMessage(AbstractDataRepository.ja
va:1185)
at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.executeMessage(AbstractDataRepository.java:261)
at com.bea.p13n.management.data.message.internal.JvmCommunicationPipe.sendMessage(JvmCommunicationPipe.java:116)
at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.onSyncRequestMessage(AbstractDataRepository.java:108
6)
at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.executeMessage(AbstractDataRepository.java:257)
at com.bea.p13n.management.data.message.internal.JvmCommunicationPipe.sendMessage(JvmCommunicationPipe.java:116)
at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.notifyDataRepository(AbstractDataRepository.java:706
at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.onRefreshMessage(AbstractDataRepository.java:912)
at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.executeMessage(AbstractDataRepository.java:247)
at com.bea.p13n.management.data.message.internal.JvmCommunicationPipe.sendMessage(JvmCommunicationPipe.java:116)
at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.sendRefreshMessageToThis(AbstractDataRepository.java
:341)
at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.addNotifiedDataRepository(AbstractDataRepository.jav
a:324)
at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.addNotifiedDataRepository(AbstractDataRepository.jav
a:304)
at com.bea.portal.manager.internal.DeploymentManager.initializePortal(DeploymentManager.java:142)
at com.bea.portal.manager.internal.DeploymentManager.initialize(DeploymentManager.java:101)
at com.bea.portal.manager.internal.PortalManagerDelegateImpl.<init>(PortalManagerDelegateImpl.java:91)
at com.bea.portal.manager.PortalFactory.createPortalManagerDelegate(PortalFactory.java:248)
at com.bea.portal.manager.ejb.internal.PortalManagerBean.ejbCreate(PortalManagerBean.java:147)
at com.bea.portal.manager.ejb.internal.PortalManagerBean_w6xny9_Impl.ejbCreate(PortalManagerBean_w6xny9_Impl.java:133)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.ejb20.pool.StatelessSessionPool.createBean(StatelessSessionPool.java:151)
at weblogic.ejb20.pool.Pool.createInitialBeans(Pool.java:188)
at weblogic.ejb20.manager.StatelessManager.initializePool(StatelessManager.java:376)
at weblogic.ejb20.deployer.EJBDeployer.initializePools(EJBDeployer.java:1507)
at weblogic.ejb20.deployer.EJBDeployer.start(EJBDeployer.java:1392)
at weblogic.ejb20.deployer.EJBModule.start(EJBModule.java:394)
at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:1043)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:1029)
at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForAllApplications(SlaveDeployer.java:645)
at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:394)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:242)
at weblogic.t3.srvr.ServerLifeCycleList.resume(ServerLifeCycleList.java:65)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:832)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:300)
at weblogic.Server.main(Server.java:32)
2004-12-02 16:00:03,046 [main] INFO com.abt.businessobjects.common.ValueLookupDAO - Loaded cache:ECommerceConstantsCache Size = 152
2004-12-02 16:00:03,046 [main] DEBUG com.abt.businessobjects.common.impl.AbtCacheManagerBeanImpl_3xndmm_Impl - AbtCacheManagerBean crea
ted.
2004-12-02 16:00:03,046 [main] DEBUG com.abt.businessobjects.common.impl.ProductPricingImpl_nzszyh_Impl - INTERNET_PRICE = 10
2004-12-02 16:00:03,046 [main] DEBUG com.abt.businessobjects.common.impl.ProductPricingImpl_nzszyh_Impl - STORE_PRICE = 20
2004-12-02 16:00:03,046 [main] DEBUG com.abt.businessobjects.common.impl.ProductPricingImpl_nzszyh_Impl - INTERNET_PRICE = 10
2004-12-02 16:00:03,046 [main] DEBUG com.abt.businessobjects.common.impl.ProductPricingImpl_nzszyh_Impl - STORE_PRICE = 20
2004-12-02 16:00:03,046 [main] DEBUG com.abt.businessobjects.common.impl.ProductPricingImpl_nzszyh_Impl - INTERNET_PRICE = 10
2004-12-02 16:00:03,046 [main] DEBUG com.abt.businessobjects.common.impl.ProductPricingImpl_nzszyh_Impl - STORE_PRICE = 20
2004-12-02 16:00:03,046 [main] DEBUG com.abt.businessobjects.common.impl.ProductPricingImpl_nzszyh_Impl - INTERNET_PRICE = 10
2004-12-02 16:00:03,046 [main] DEBUG com.abt.businessobjects.common.impl.ProductPricingImpl_nzszyh_Impl - STORE_PRICE = 20
2004-12-02 16:00:03,046 [main] DEBUG com.abt.businessobjects.common.impl.ProductPricingImpl_nzszyh_Impl - INTERNET_PRICE = 10
2004-12-02 16:00:03,046 [main] DEBUG com.abt.businessobjects.common.impl.ProductPricingImpl_nzszyh_Impl - STORE_PRICE = 20
=============== Initializing Logger ======================
<Dec 2, 2004 4:00:04 PM CST> <Notice> <Management> <141053> <Application Poller not started for production server.>
2004-12-02 16:00:05,390 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - About to load cache:RelatedPrdItemTypesCache
2004-12-02 16:00:05,421 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - Loaded cache:RelatedPrdItemTypesCache Size = 8
2004-12-02 16:00:05,421 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - About to load cache:DiscountTypeCache
2004-12-02 16:00:05,421 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - Loaded cache:DiscountTypeCache Size = 1
2004-12-02 16:00:05,437 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - About to load cache:ReturnTypeCache
2004-12-02 16:00:05,453 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - Loaded cache:ReturnTypeCache Size = 3
2004-12-02 16:00:05,453 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - About to load cache:AffiliateFileFormatCache
2004-12-02 16:00:05,500 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - Loaded cache:AffiliateFileFormatCache Size = 5
2004-12-02 16:00:05,500 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - About to load cache:ProductVisibilityCache
2004-12-02 16:00:05,515 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - Loaded cache:ProductVisibilityCache Size = 4
2004-12-02 16:00:05,515 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - About to load cache:ManufacturerCache
2004-12-02 16:00:05,718 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - Loaded cache:ManufacturerCache Size = 426
2004-12-02 16:00:05,718 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - About to load cache:InventoryStatusCache
2004-12-02 16:00:05,750 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - Loaded cache:InventoryStatusCache Size = 9
2004-12-02 16:00:05,750 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - About to load cache:CategoryTypeCache
2004-12-02 16:00:05,765 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - Loaded cache:CategoryTypeCache Size = 7
2004-12-02 16:00:05,765 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - About to load cache:CustomerTypeCache
2004-12-02 16:00:05,812 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - Loaded cache:CustomerTypeCache Size = 3
2004-12-02 16:00:05,812 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - About to load cache:CountryCache
2004-12-02 16:00:05,843 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - Loaded cache:CountryCache Size = 4
2004-12-02 16:00:05,843 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - About to load cache:SeverityLevelCache
2004-12-02 16:00:05,875 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - Loaded cache:SeverityLevelCache Size = 3
2004-12-02 16:00:05,875 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - About to load cache:PriceTypeCache
2004-12-02 16:00:05,906 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - Loaded cache:PriceTypeCache Size = 8
2004-12-02 16:00:05,906 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - About to load cache:ECommerceConstantsCache
2004-12-02 16:00:05,921 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - Loaded cache:ECommerceConstantsCache Size = 15
2
2004-12-02 16:00:05,921 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - About to load cache:OccasionCache
2004-12-02 16:00:05,953 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - Loaded cache:OccasionCache Size = 4
2004-12-02 16:00:05,953 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - About to load cache:ExtranetCache
2004-12-02 16:00:06,078 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - Loaded cache:ExtranetCache Size = 2
2004-12-02 16:00:06,078 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - About to load cache:GersDataSyncStatusCache
2004-12-02 16:00:06,109 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - Loaded cache:GersDataSyncStatusCache Size = 3
2004-12-02 16:00:06,109 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - About to load cache:ProductTypeCache
2004-12-02 16:00:06,140 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - Loaded cache:ProductTypeCache Size = 6
2004-12-02 16:00:06,156 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - About to load cache:ColorCache
2004-12-02 16:00:06,171 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - Loaded cache:ColorCache Size = 9
2004-12-02 16:00:06,171 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - About to load cache:StateCache
2004-12-02 16:00:06,218 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - Loaded cache:StateCache Size = 52
2004-12-02 16:00:06,218 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - About to load cache:OrderStatusCache
2004-12-02 16:00:06,234 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - Loaded cache:OrderStatusCache Size = 12
2004-12-02 16:00:06,234 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - About to load cache:CreditCardTypeCache
2004-12-02 16:00:06,265 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - Loaded cache:CreditCardTypeCache Size = 5
2004-12-02 16:00:06,265 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - About to load cache:NewsletterFormatCache
2004-12-02 16:00:06,296 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - Loaded cache:NewsletterFormatCache Size = 4
2004-12-02 16:00:06,328 [Thread-6] INFO com.abt.servlets.StartDataSyncThreads - startDataSyncThreads = false
<Dec 2, 2004 4:00:12 PM CST> <Warning> <Security> <090088> <Private key keystore alias is not specified in SSL configuration of server
abtServer, realm CompatibilityRealm. Assuming 6.x private key configuration. Loading the key from file.>
<Dec 2, 2004 4:00:20 PM CST> <Warning> <Security> <090120> <Cannot find the file specified by SSL.TrustedCAFileName trusted-ca.pem on s
erver abtServer.>
<Dec 2, 2004 4:00:21 PM CST> <Notice> <WebLogicServer> <000354> <Thread "SSLListenThread.Default" listening on port 7502>
<Dec 2, 2004 4:00:21 PM CST> <Notice> <WebLogicServer> <000354> <Thread "ListenThread.Default" listening on port 7501>
<Dec 2, 2004 4:00:21 PM CST> <Notice> <WebLogicServer> <000329> <Started WebLogic Admin Server "abtServer" for domain "abtDomain" runni
ng in Production Mode>
<Dec 2, 2004 4:00:21 PM CST> <Notice> <WebLogicServer> <000365> <Server state changed to RUNNING>
<Dec 2, 2004 4:00:21 PM CST> <Notice> <WebLogicServer> <000360> <Server started in RUNNING mode>
Does anyone have any idea why this is happening?
Any help is greatly appreciated.
Thank You,
AlbertHi,
I just loaded BEA Portal 7.0.4 and created my domain. copied the portal app from another working machine and started the server. This is what I'm getting:
<Dec 2, 2004 3:59:34 PM CST> <Warning> <EJB> <010004> <The EJB deployment named: abtServer_b2c_abtMail.jar was compiled by a different
version of the WebLogic Server.>
<Dec 2, 2004 3:59:35 PM CST> <Warning> <EJB> <010004> <The EJB deployment named: abtServer_b2c_abtECommerce.jar was compiled by a diffe
rent version of the WebLogic Server.>
Exception[com.bea.portal.PortalException: Could not find portlet_xml_ref for portlet key 18011]
at com.bea.portal.manager.internal.persistence.jdbc.JdbcPortalDeletionHelper.removeEntitlementsForPortletForPortalPageP13n(Jdbc
PortalDeletionHelper.java:2424)
at com.bea.portal.manager.internal.persistence.jdbc.JdbcPortalDeletionHelper.removePortletFromPageP13n(JdbcPortalDeletionHelper
.java:1542)
at com.bea.portal.manager.internal.persistence.jdbc.JdbcPortalDeletionHelper.deleteRemovedItems(JdbcPortalDeletionHelper.java:9
31)
at com.bea.portal.manager.internal.persistence.jdbc.JdbcPortalPersistenceManager.deleteRemovedItems(JdbcPortalPersistenceManage
r.java:805)
at com.bea.portal.manager.internal.persistence.MainPersistenceManager.deleteRemovedItems(MainPersistenceManager.java:221)
at com.bea.portal.manager.internal.PortalPersistenceManager.updatePortalModel(PortalPersistenceManager.java:349)
at com.bea.portal.manager.internal.PortalPersistenceManager.createDataItem(PortalPersistenceManager.java:199)
at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.handleDataItemMessage(AbstractDataRepository.java:81
4)
at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.onDataSyncMessage(AbstractDataRepository.java:990)
at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.executeMessage(AbstractDataRepository.java:252)
at com.bea.p13n.management.data.message.internal.JvmCommunicationPipe.sendMessage(JvmCommunicationPipe.java:116)
at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.onSyncRequestResultMessage(AbstractDataRepository.ja
va:1185)
at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.executeMessage(AbstractDataRepository.java:261)
at com.bea.p13n.management.data.message.internal.JvmCommunicationPipe.sendMessage(JvmCommunicationPipe.java:116)
at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.onSyncRequestMessage(AbstractDataRepository.java:108
6)
at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.executeMessage(AbstractDataRepository.java:257)
at com.bea.p13n.management.data.message.internal.JvmCommunicationPipe.sendMessage(JvmCommunicationPipe.java:116)
at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.notifyDataRepository(AbstractDataRepository.java:706
at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.onRefreshMessage(AbstractDataRepository.java:912)
at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.executeMessage(AbstractDataRepository.java:247)
at com.bea.p13n.management.data.message.internal.JvmCommunicationPipe.sendMessage(JvmCommunicationPipe.java:116)
at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.sendRefreshMessageToThis(AbstractDataRepository.java
:341)
at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.addNotifiedDataRepository(AbstractDataRepository.jav
a:324)
at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.addNotifiedDataRepository(AbstractDataRepository.jav
a:304)
at com.bea.portal.manager.internal.DeploymentManager.initializePortal(DeploymentManager.java:142)
at com.bea.portal.manager.internal.DeploymentManager.initialize(DeploymentManager.java:101)
at com.bea.portal.manager.internal.PortalManagerDelegateImpl.<init>(PortalManagerDelegateImpl.java:91)
at com.bea.portal.manager.PortalFactory.createPortalManagerDelegate(PortalFactory.java:248)
at com.bea.portal.manager.ejb.internal.PortalManagerBean.ejbCreate(PortalManagerBean.java:147)
at com.bea.portal.manager.ejb.internal.PortalManagerBean_w6xny9_Impl.ejbCreate(PortalManagerBean_w6xny9_Impl.java:133)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.ejb20.pool.StatelessSessionPool.createBean(StatelessSessionPool.java:151)
at weblogic.ejb20.pool.Pool.createInitialBeans(Pool.java:188)
at weblogic.ejb20.manager.StatelessManager.initializePool(StatelessManager.java:376)
at weblogic.ejb20.deployer.EJBDeployer.initializePools(EJBDeployer.java:1507)
at weblogic.ejb20.deployer.EJBDeployer.start(EJBDeployer.java:1392)
at weblogic.ejb20.deployer.EJBModule.start(EJBModule.java:394)
at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:1043)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:1029)
at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForAllApplications(SlaveDeployer.java:645)
at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:394)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:242)
at weblogic.t3.srvr.ServerLifeCycleList.resume(ServerLifeCycleList.java:65)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:832)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:300)
at weblogic.Server.main(Server.java:32)
2004-12-02 16:00:03,046 [main] INFO com.abt.businessobjects.common.ValueLookupDAO - Loaded cache:ECommerceConstantsCache Size = 152
2004-12-02 16:00:03,046 [main] DEBUG com.abt.businessobjects.common.impl.AbtCacheManagerBeanImpl_3xndmm_Impl - AbtCacheManagerBean crea
ted.
2004-12-02 16:00:03,046 [main] DEBUG com.abt.businessobjects.common.impl.ProductPricingImpl_nzszyh_Impl - INTERNET_PRICE = 10
2004-12-02 16:00:03,046 [main] DEBUG com.abt.businessobjects.common.impl.ProductPricingImpl_nzszyh_Impl - STORE_PRICE = 20
2004-12-02 16:00:03,046 [main] DEBUG com.abt.businessobjects.common.impl.ProductPricingImpl_nzszyh_Impl - INTERNET_PRICE = 10
2004-12-02 16:00:03,046 [main] DEBUG com.abt.businessobjects.common.impl.ProductPricingImpl_nzszyh_Impl - STORE_PRICE = 20
2004-12-02 16:00:03,046 [main] DEBUG com.abt.businessobjects.common.impl.ProductPricingImpl_nzszyh_Impl - INTERNET_PRICE = 10
2004-12-02 16:00:03,046 [main] DEBUG com.abt.businessobjects.common.impl.ProductPricingImpl_nzszyh_Impl - STORE_PRICE = 20
2004-12-02 16:00:03,046 [main] DEBUG com.abt.businessobjects.common.impl.ProductPricingImpl_nzszyh_Impl - INTERNET_PRICE = 10
2004-12-02 16:00:03,046 [main] DEBUG com.abt.businessobjects.common.impl.ProductPricingImpl_nzszyh_Impl - STORE_PRICE = 20
2004-12-02 16:00:03,046 [main] DEBUG com.abt.businessobjects.common.impl.ProductPricingImpl_nzszyh_Impl - INTERNET_PRICE = 10
2004-12-02 16:00:03,046 [main] DEBUG com.abt.businessobjects.common.impl.ProductPricingImpl_nzszyh_Impl - STORE_PRICE = 20
=============== Initializing Logger ======================
<Dec 2, 2004 4:00:04 PM CST> <Notice> <Management> <141053> <Application Poller not started for production server.>
2004-12-02 16:00:05,390 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - About to load cache:RelatedPrdItemTypesCache
2004-12-02 16:00:05,421 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - Loaded cache:RelatedPrdItemTypesCache Size = 8
2004-12-02 16:00:05,421 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - About to load cache:DiscountTypeCache
2004-12-02 16:00:05,421 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - Loaded cache:DiscountTypeCache Size = 1
2004-12-02 16:00:05,437 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - About to load cache:ReturnTypeCache
2004-12-02 16:00:05,453 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - Loaded cache:ReturnTypeCache Size = 3
2004-12-02 16:00:05,453 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - About to load cache:AffiliateFileFormatCache
2004-12-02 16:00:05,500 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - Loaded cache:AffiliateFileFormatCache Size = 5
2004-12-02 16:00:05,500 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - About to load cache:ProductVisibilityCache
2004-12-02 16:00:05,515 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - Loaded cache:ProductVisibilityCache Size = 4
2004-12-02 16:00:05,515 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - About to load cache:ManufacturerCache
2004-12-02 16:00:05,718 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - Loaded cache:ManufacturerCache Size = 426
2004-12-02 16:00:05,718 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - About to load cache:InventoryStatusCache
2004-12-02 16:00:05,750 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - Loaded cache:InventoryStatusCache Size = 9
2004-12-02 16:00:05,750 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - About to load cache:CategoryTypeCache
2004-12-02 16:00:05,765 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - Loaded cache:CategoryTypeCache Size = 7
2004-12-02 16:00:05,765 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - About to load cache:CustomerTypeCache
2004-12-02 16:00:05,812 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - Loaded cache:CustomerTypeCache Size = 3
2004-12-02 16:00:05,812 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - About to load cache:CountryCache
2004-12-02 16:00:05,843 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - Loaded cache:CountryCache Size = 4
2004-12-02 16:00:05,843 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - About to load cache:SeverityLevelCache
2004-12-02 16:00:05,875 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - Loaded cache:SeverityLevelCache Size = 3
2004-12-02 16:00:05,875 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - About to load cache:PriceTypeCache
2004-12-02 16:00:05,906 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - Loaded cache:PriceTypeCache Size = 8
2004-12-02 16:00:05,906 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - About to load cache:ECommerceConstantsCache
2004-12-02 16:00:05,921 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - Loaded cache:ECommerceConstantsCache Size = 15
2
2004-12-02 16:00:05,921 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - About to load cache:OccasionCache
2004-12-02 16:00:05,953 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - Loaded cache:OccasionCache Size = 4
2004-12-02 16:00:05,953 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - About to load cache:ExtranetCache
2004-12-02 16:00:06,078 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - Loaded cache:ExtranetCache Size = 2
2004-12-02 16:00:06,078 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - About to load cache:GersDataSyncStatusCache
2004-12-02 16:00:06,109 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - Loaded cache:GersDataSyncStatusCache Size = 3
2004-12-02 16:00:06,109 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - About to load cache:ProductTypeCache
2004-12-02 16:00:06,140 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - Loaded cache:ProductTypeCache Size = 6
2004-12-02 16:00:06,156 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - About to load cache:ColorCache
2004-12-02 16:00:06,171 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - Loaded cache:ColorCache Size = 9
2004-12-02 16:00:06,171 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - About to load cache:StateCache
2004-12-02 16:00:06,218 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - Loaded cache:StateCache Size = 52
2004-12-02 16:00:06,218 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - About to load cache:OrderStatusCache
2004-12-02 16:00:06,234 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - Loaded cache:OrderStatusCache Size = 12
2004-12-02 16:00:06,234 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - About to load cache:CreditCardTypeCache
2004-12-02 16:00:06,265 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - Loaded cache:CreditCardTypeCache Size = 5
2004-12-02 16:00:06,265 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - About to load cache:NewsletterFormatCache
2004-12-02 16:00:06,296 [Thread-6] INFO com.abt.businessobjects.common.ValueLookupDAO - Loaded cache:NewsletterFormatCache Size = 4
2004-12-02 16:00:06,328 [Thread-6] INFO com.abt.servlets.StartDataSyncThreads - startDataSyncThreads = false
<Dec 2, 2004 4:00:12 PM CST> <Warning> <Security> <090088> <Private key keystore alias is not specified in SSL configuration of server
abtServer, realm CompatibilityRealm. Assuming 6.x private key configuration. Loading the key from file.>
<Dec 2, 2004 4:00:20 PM CST> <Warning> <Security> <090120> <Cannot find the file specified by SSL.TrustedCAFileName trusted-ca.pem on s
erver abtServer.>
<Dec 2, 2004 4:00:21 PM CST> <Notice> <WebLogicServer> <000354> <Thread "SSLListenThread.Default" listening on port 7502>
<Dec 2, 2004 4:00:21 PM CST> <Notice> <WebLogicServer> <000354> <Thread "ListenThread.Default" listening on port 7501>
<Dec 2, 2004 4:00:21 PM CST> <Notice> <WebLogicServer> <000329> <Started WebLogic Admin Server "abtServer" for domain "abtDomain" runni
ng in Production Mode>
<Dec 2, 2004 4:00:21 PM CST> <Notice> <WebLogicServer> <000365> <Server state changed to RUNNING>
<Dec 2, 2004 4:00:21 PM CST> <Notice> <WebLogicServer> <000360> <Server started in RUNNING mode>
Does anyone have any idea why this is happening?
Any help is greatly appreciated.
Thank You,
Albert
Maybe you are looking for
-
Unable to Import objects into ID
Hi All, For your support I have completed the development work and I have moved to Quality from Development. But while trying to import the one scenario in to Quality System from Development in XI, I am getting the following Error:- Internal
-
FTP/SSL Connection Problem for FTP Receiver Adapter
Hello All, We are trying to establish an FTPS/SSL connection with one of our customers from our XI(Unix) system, and are receive following error: <b>iaik.security.ssl.SSLException: Server certificate rejected by ChainVerifier</b> Communication Channe
-
How do I create a pdf version of amap that is searchable?
I have a map that was created using ARCVIEW. It has center line , major roads, and building points indicated on the map. Each building point is assigned a location number. I wish to search for the location number and the form goes to that point an
-
Personal Data not working for an employee in ESS
Hai All, I have configured Personal Data in ESS. But, for a particular employee Personal Data is giving the below mentioned error when he edits the data. The error happens when he edits and clicks on Review or when he clicks on the dropdown for Natio
-
How to change Repository variable from Datetime to date
Hi, I have a repository variable which populates sysdate in OBIEE. It is coming as datetimestamp. I know repository variables are long char. I am using this variable in report title. It is coming as datetimestamp. Is there ant way to just show it as