1 2 Previous Next 29 Replies Latest reply on Feb 29, 2008 7:37 AM by Daniel Daniel

    richfaces weblogic portlet

    Daniel Daniel Newbie

      Hello.
      I am trying to deploy my application from jboss to weblogic, unfortunately without results. Does someone have any example of an richfaces portlet deployed on weblogic. And alsi what libs did he used. Thx.

        • 1. Re: richfaces weblogic portlet
          Daniel Daniel Newbie

          Someone with an example?

          • 2. Re: richfaces weblogic portlet
            Viggo Navarsete Expert

            pdaniel: I guess you get some exceptions when deploying your portlet to weblogic, and that's the reason for this post? Please give us your exceptions/errors and perhaps we have the solution :)
            As long as you use the portletbridge, I think you should be able to deploy you JSF portlet to weblogic as well.

            • 3. Re: richfaces weblogic portlet
              Daniel Daniel Newbie

              Ok, i will post here what i have :

              My lib dir


              02/26/2008 11:24 AM 34,807 asm-2.2.2.jar
              02/26/2008 11:25 AM 115,002 aspectjrt.jar
              02/26/2008 11:24 AM 1,896,338 aspectjweaver.jar
              02/26/2008 11:24 AM 324,238 cglib-nodep-2.1_3.jar
              02/26/2008 11:25 AM 188,671 commons-beanutils.jar
              02/26/2008 11:25 AM 46,725 commons-codec.jar
              02/26/2008 11:24 AM 571,259 commons-collections.jar
              02/26/2008 11:24 AM 143,602 commons-digester-1.8.jar
              02/26/2008 11:24 AM 22,379 commons-fileupload.jar
              02/26/2008 11:25 AM 217,691 commons-httpclient.jar
              02/26/2008 11:25 AM 61,562 commons-io.jar
              02/26/2008 11:25 AM 207,723 commons-lang.jar
              02/26/2008 11:25 AM 52,915 commons-logging.jar
              02/26/2008 11:25 AM 84,462 commons-validator.jar
              02/26/2008 11:25 AM 256,316 core-3.2.0-SNAPSHOT.jar
              02/26/2008 11:24 AM 185,016 dwr1.1.3.jar
              02/26/2008 11:24 AM 208,048 ehcache-1.2.3.jar
              02/26/2008 11:25 AM 323,012 jsf-api-1.2_04-p02.jar
              02/26/2008 11:24 AM 299,326 jsf-facelets.jar
              02/26/2008 11:24 AM 298,368 jsf-facelets-1.1.12.jar
              02/26/2008 11:25 AM 1,210,046 jsf-impl-1.2_04-p02.jar
              02/26/2008 11:25 AM 16,630 jstl.jar
              02/26/2008 11:25 AM 20,801 jstl-1.0.jar
              02/26/2008 11:24 AM 105,672 nekohtml-0.9.5.jar
              02/26/2008 11:25 AM 15,333 portletbridge-api-3.1.4.GA.jar
              02/26/2008 11:25 AM 114,432 portletbridge-impl-3.1.4.GA.jar
              02/26/2008 11:24 AM 117,592 richfaces-api-3.1.4.GA.jar
              02/26/2008 11:25 AM 1,304,704 richfaces-impl-3.1.4.GA.jar
              02/26/2008 11:24 AM 1,796,003 richfaces-ui-3.1.4.GA.jar
              02/26/2008 11:25 AM 2,545,110 spring.jar
              02/26/2008 11:25 AM 8,624 spring-aspects.jar
              02/26/2008 11:24 AM 315,295 standard.jar
              02/26/2008 11:24 AM 24,039 util.jar
              02/26/2008 11:24 AM 862,226 xalan.jar
              02/26/2008 11:25 AM 1,212,965 xercesImpl.jar
              02/26/2008 11:24 AM 895,924 xercesImpl-2.4.0.jar
              02/26/2008 11:25 AM 195,119 xml-apis.jar
              02/26/2008 11:24 AM 120,069 xpp3-1.1.4c.jar
              02/26/2008 11:25 AM 261,710 xstream-1.1.3.jar

              The core lib is also from ajax4jsf


              my web.xml file :


              <?xml version="1.0" encoding="UTF-8"?>
              <web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
              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">
              <display-name>portal</display-name>
              <welcome-file-list>

              <welcome-file>index.html</welcome-file>

              </welcome-file-list>

              <context-param>
              <param-name>contextConfigLocation</param-name>
              <param-value>/WEB-INF/vontext.xml</param-value>
              </context-param>

              <listener>
              <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
              </listener>


              <servlet>
              <description>Direct Web Remoter Servlet</description>
              <display-name>DWR Servlet</display-name>
              <servlet-name>dwr-invoker</servlet-name>
              <servlet-class>uk.ltd.getahead.dwr.DWRServlet</servlet-class>
              <init-param>
              <param-name>debug</param-name>
              <param-value>true</param-value>
              </init-param>
              <init-param>
              <param-name>scriptCompressed</param-name>
              <param-value>true</param-value>
              </init-param>
              <load-on-startup>1</load-on-startup>
              </servlet>
              <servlet>
              <servlet-name>rest</servlet-name>
              <servlet-class>net.eads.sisfportal.uti.service.rest.RestServlet</servlet-class>
              </servlet>

              <servlet-mapping>
              <servlet-name>rest</servlet-name>
              <url-pattern>/rest</url-pattern>
              </servlet-mapping>

              <servlet-mapping>
              <servlet-name>dwr-invoker</servlet-name>
              <url-pattern>/dwr/*</url-pattern>
              </servlet-mapping>



              <mime-mapping>
              <extension>dll</extension>
              <mime-type>application/x-msdownload</mime-type>
              </mime-mapping>


              <context-param>
              <param-name>org.apache.myfaces.ALLOW_JAVASCRIPT</param-name>
              <param-value>true</param-value>
              </context-param>
              <context-param>
              <param-name>org.apache.myfaces.DETECT_JAVASCRIPT</param-name>
              <param-value>false</param-value>
              </context-param>
              <context-param>
              <param-name>org.apache.myfaces.AUTO_SCROLL</param-name>
              <param-value>false</param-value>
              </context-param>
              <context-param>
              <param-name>org.apache.myfaces.CHECK_EXTENSIONS_FILTER</param-name>
              <param-value>false</param-value>
              </context-param>
              <context-param>
              <param-name>org.apache.myfaces.PRETTY_HTML</param-name>
              <param-value>true</param-value>
              </context-param>
              <context-param>
              <param-name>facelets.DEVELOPMENT</param-name>
              <param-value>false</param-value>
              </context-param>
              <context-param>
              <param-name>facelets.SKIP_COMMENTS</param-name>
              <param-value>true</param-value>
              </context-param>
              <context-param>
              <param-name>facelets.VIEW_MAPPINGS</param-name>
              <param-value>*.xhtml</param-value>
              </context-param>
              <context-param>
              <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
              <param-value>org.ajax4jsf.portlet.application.FaceletPortletViewHandler</param-value>
              </context-param>
              <context-param>
              <param-name>org.richfaces.LoadStyleStrategy</param-name>
              <param-value>NONE</param-value>
              </context-param>
              <context-param>
              <param-name>org.richfaces.LoadScriptStrategy</param-name>
              <param-value>NONE</param-value>
              </context-param>
              <context-param>
              <param-name>org.ajax4jsf.RESOURCE_URI_PREFIX</param-name>
              <param-value>rfRes</param-value>
              </context-param>

              <context-param>
              <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
              <param-value>server</param-value>
              </context-param>
              <filter>
              <display-name>Ajax4jsf Filter</display-name>
              <filter-name>ajax4jsf</filter-name>
              <filter-class>org.ajax4jsf.Filter</filter-class>
              </filter>
              <filter-mapping>
              <filter-name>ajax4jsf</filter-name>
              <servlet-name>FacesServlet</servlet-name>
              <dispatcher>FORWARD</dispatcher>
              <dispatcher>REQUEST</dispatcher>
              <dispatcher>INCLUDE</dispatcher>
              </filter-mapping>

              -->
              <servlet>
              <servlet-name>FacesServlet</servlet-name>
              <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
              <load-on-startup>1</load-on-startup>
              </servlet>
              <servlet-mapping>
              <servlet-name>FacesServlet</servlet-name>
              <url-pattern>/faces/*</url-pattern>
              </servlet-mapping>
              <mime-mapping>
              <extension>svg</extension>
              <mime-type>image/svg+xml</mime-type>
              </mime-mapping>
              <login-config>
              <auth-method>BASIC</auth-method>
              </login-config>
              </web-app>


              my faces-config file:


              <?xml version="1.0"?>
              <!--
              Copyright 2003 Sun Microsystems, Inc. All rights reserved.
              SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
              -->
              <!DOCTYPE faces-config PUBLIC
              "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
              "http://java.sun.com/dtd/web-facesconfig_1_0.dtd">

              <faces-config>
              <!--<application>
              <locale-config>
              <default-locale>en</default-locale>
              </locale-config>
              </application>-->

              <application>
              ---- mappings here ---
              <view-handler>
              org.ajax4jsf.portlet.application.PortletViewHandler
              </view-handler>
              <!--
              <state-manager>
              org.ajax4jsf.portlet.application.PortalStateManager
              </state-manager>
              <view-handler>com.sun.facelets.FaceletPortletViewHandler</view-handler>
              -->
              </application>
              <factory>
              <faces-context-factory>
              org.ajax4jsf.portlet.context.FacesContextFactoryImpl
              </faces-context-factory>
              </factory>
              <!--<factory>
              <application-factory>
              org.apache.beehive.netui.pageflow.faces.PageFlowApplicationFactory
              </application-factory>
              </factory> -->
              </faces-config>



              the error

              INFO: JSF1048: PostConstruct/PreDestroy annotations present. ManagedBeans methods marked with these annotations will have said
              annotations processed.
              commons.digester.Digester ERROR - End event threw exception
              java.lang.IllegalArgumentException: argument type mismatch
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:585)
              at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216)
              at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:217)
              at org.apache.commons.digester.Rule.end(Rule.java:253)
              at org.apache.commons.digester.Digester.endElement(Digester.java:1222)
              at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:633)
              at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl
              .java:1241)
              at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumen
              tFragmentScannerImpl.java:1685)
              at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.j
              ava:368)
              at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
              at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
              at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
              at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
              at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:133)
              at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:153)
              at org.apache.commons.digester.Digester.parse(Digester.java:1765)
              at org.ajax4jsf.framework.resource.ResourceBuilderImpl.registerConfig(ResourceBuilderImpl.java:186)
              at org.ajax4jsf.framework.resource.ResourceBuilderImpl.registerResources(ResourceBuilderImpl.java:131)
              at org.ajax4jsf.framework.resource.ResourceBuilderImpl.init(ResourceBuilderImpl.java:202)
              at org.ajax4jsf.framework.renderer.ChameleonRenderKitFactory.<init>(ChameleonRenderKitFactory.java:62)
              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
              at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
              at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:549)
              at javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:448)
              at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:249)
              at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:1036)
              at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:493)
              at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:381)
              at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:458)
              at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
              at weblogic.security.service.SecurityManager.runAs(Unknown Source)
              at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:168)
              at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1721)
              at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2890)
              at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:948)
              at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:353)
              at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
              at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
              at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
              at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
              at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
              at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
              at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
              at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
              at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:26)
              at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
              at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
              at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
              at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
              at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
              at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:182)
              at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:359)
              at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
              at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:196)
              at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
              at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
              at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
              at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
              at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
              at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
              at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
              at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:464)
              at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
              at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
              javax.faces.FacesException: org.ajax4jsf.framework.renderer.ChameleonRenderKitFactory
              at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:556)
              at javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:448)
              at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:249)
              at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:1036)
              at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:493)
              at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:381)
              at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:458)
              at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
              at weblogic.security.service.SecurityManager.runAs(Unknown Source)
              at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:168)
              at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1721)
              at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2890)
              at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:948)
              at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:353)
              at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
              at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
              at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
              at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
              at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
              at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
              at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
              at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
              at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:26)
              at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
              at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
              at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
              at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
              at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
              at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:182)
              at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:359)
              at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
              at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:196)
              at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
              at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
              at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
              at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
              at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
              at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
              at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
              at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:464)
              at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
              at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
              Caused by: java.lang.reflect.InvocationTargetException
              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
              at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
              at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:549)
              ... 41 more
              Caused by: javax.faces.FacesException: java.lang.IllegalArgumentException: argument type mismatch
              at org.ajax4jsf.framework.resource.ResourceBuilderImpl.registerConfig(ResourceBuilderImpl.java:193)
              at org.ajax4jsf.framework.resource.ResourceBuilderImpl.registerResources(ResourceBuilderImpl.java:131)
              at org.ajax4jsf.framework.resource.ResourceBuilderImpl.init(ResourceBuilderImpl.java:202)
              at org.ajax4jsf.framework.renderer.ChameleonRenderKitFactory.<init>(ChameleonRenderKitFactory.java:62)
              ... 46 more
              Caused by: java.lang.IllegalArgumentException: argument type mismatch
              at org.apache.commons.digester.Digester.createSAXException(Digester.java:3181)
              at org.apache.commons.digester.Digester.createSAXException(Digester.java:3207)
              at org.apache.commons.digester.Digester.endElement(Digester.java:1225)
              at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:633)
              at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl
              .java:1241)
              at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumen
              tFragmentScannerImpl.java:1685)
              at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.j
              ava:368)
              at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
              at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
              at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
              at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
              at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:133)
              at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:153)
              at org.apache.commons.digester.Digester.parse(Digester.java:1765)
              at org.ajax4jsf.framework.resource.ResourceBuilderImpl.registerConfig(ResourceBuilderImpl.java:186)
              ... 49 more
              <26.02.2008 11:30:58 EET> <Warning> <HTTP> <BEA-101162> <User defined listener com.sun.faces.config.ConfigureListener failed: j
              avax.faces.FacesException: org.ajax4jsf.framework.renderer.ChameleonRenderKitFactory.
              javax.faces.FacesException: org.ajax4jsf.framework.renderer.ChameleonRenderKitFactory
              at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:556)
              at javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:448)
              at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:249)
              at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:1036)
              at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:493)
              Truncated. see log file for complete stacktrace
              java.lang.reflect.InvocationTargetException
              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
              at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
              at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:549)
              Truncated. see log file for complete stacktrace
              javax.faces.FacesException: java.lang.IllegalArgumentException: argument type mismatch
              at org.ajax4jsf.framework.resource.ResourceBuilderImpl.registerConfig(ResourceBuilderImpl.java:193)
              at org.ajax4jsf.framework.resource.ResourceBuilderImpl.registerResources(ResourceBuilderImpl.java:131)
              at org.ajax4jsf.framework.resource.ResourceBuilderImpl.init(ResourceBuilderImpl.java:202)
              at org.ajax4jsf.framework.renderer.ChameleonRenderKitFactory.<init>(ChameleonRenderKitFactory.java:62)
              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
              Truncated. see log file for complete stacktrace
              java.lang.IllegalArgumentException: argument type mismatch
              at org.apache.commons.digester.Digester.createSAXException(Digester.java:3181)
              at org.apache.commons.digester.Digester.createSAXException(Digester.java:3207)
              at org.apache.commons.digester.Digester.endElement(Digester.java:1225)
              at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:633)
              at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl
              .java:1241)
              Truncated. see log file for complete stacktrace
              >
              <26.02.2008 11:30:58 EET> <Warning> <HTTP> <BEA-101162> <User defined listener com.sun.faces.application.WebappLifecycleListene
              r failed: java.lang.NullPointerException.
              java.lang.NullPointerException
              at com.sun.faces.application.WebappLifecycleListener.contextDestroyed(WebappLifecycleListener.java:273)
              at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:459)
              at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
              at weblogic.security.service.SecurityManager.runAs(Unknown Source)
              at weblogic.servlet.internal.EventsManager.notifyContextDestroyedEvent(EventsManager.java:187)
              Truncated. see log file for complete stacktrace
              >
              <26.02.2008 11:30:59 EET> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application '_app
              sdir_portal_ear'.
              weblogic.application.ModuleException:
              at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:950)
              at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:353)
              at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
              at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
              at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
              Truncated. see log file for complete stacktrace
              java.lang.IllegalArgumentException: argument type mismatch
              at org.apache.commons.digester.Digester.createSAXException(Digester.java:3181)
              at org.apache.commons.digester.Digester.createSAXException(Digester.java:3207)
              at org.apache.commons.digester.Digester.endElement(Digester.java:1225)
              at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:633)
              at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl
              .java:1241)
              Truncated. see log file for complete stacktrace




              I am using weblogic 10.

              • 4. Re: richfaces weblogic portlet
                Viggo Navarsete Expert

                I googled the bea error code, and found several posts about it. At the Icefaces forum, a user had a similar problem:
                http://www.icefaces.org/JForum/posts/list/15/4605.page

                and I _think_ his solution was to use weblogic's own JSF 1.2 libraries. Please google for BEA-149231 and see if you find any solution to your problem if it doesn't work to use the weblogic specific JSF 1.2 libraries.

                • 5. Re: richfaces weblogic portlet
                  Daniel Daniel Newbie

                  I think that bea takes the own implementation of jsf. I've deleted all my jar files and bea takes the same lib. How can i make it to take my impl?

                  • 6. Re: richfaces weblogic portlet
                    Viggo Navarsete Expert

                    hmm, I'm not sure. But I found some other postings that perhaps can help you:
                    http://firstpartners.net/kb/index.php/JBoss_Drools_BRMS_on_Weblogic

                    I've also seen that if you switch from JRockit to Sun VM, you will be able to see more exact stacktraces. It seems like JRockit eats up some exceptions..

                    • 7. Re: richfaces weblogic portlet
                      Daniel Daniel Newbie

                      I am using sun jdk

                      • 8. Re: richfaces weblogic portlet
                        Daniel Daniel Newbie

                        In weblogic 9.2 i get this error


                        WARNING: JSF1033: Resource injection is DISABLED.
                        nl.ikarus.nxt.priv.imageio.icoreader.lib.ICOReader loaded, version: 0.06.064 build: 691
                        commons.digester.Digester ERROR - End event threw exception
                        java.lang.IllegalArgumentException: argument type mismatch
                        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                        at java.lang.reflect.Method.invoke(Method.java:585)
                        at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216)
                        at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:217)
                        at org.apache.commons.digester.Rule.end(Rule.java:253)
                        at org.apache.commons.digester.Digester.endElement(Digester.java:1222)
                        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:633)
                        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScan
                        nerImpl.java:1241)
                        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XML
                        DocumentFragmentScannerImpl.java:1685)
                        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScanne
                        rImpl.java:368)
                        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
                        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
                        at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)




                        • 9. Re: richfaces weblogic portlet
                          Viggo Navarsete Expert

                          I saw something similar in an Oracle thread:
                          http://forums.oracle.com/forums/thread.jspa?threadID=537450
                          Perhaps there is something you can do to provide a Weblogic InjectionProvider?

                          • 12. Re: richfaces weblogic portlet
                            Daniel Daniel Newbie

                            I managed to pass the deploy errors. Now when i am trying to load the portlet i get this error :

                            AJAX call to portlet without namespace parameter

                            Anyone with any idea how to pass this error?

                            • 13. Re: richfaces weblogic portlet
                              Viggo Navarsete Expert

                              sure I do:)

                              I have seen this myself on my own portlet deployed to JBoss Portal as well. It's a warning, and it seems to happen randomly! Everything seems to work even though you get the warning. Ignore it for now, and watch the following issues for updates:
                              http://jira.jboss.org/jira/browse/AJSF-132

                              • 14. Re: richfaces weblogic portlet
                                Viggo Navarsete Expert

                                just curious..would you mind share your solution to the deployment issues you had, so that other persons can use it as well. Nothing is more frustrating searching for solutions to problems you have, and you find postings on the problem, but no solution.

                                1 2 Previous Next