3 Replies Latest reply on Jan 19, 2007 11:33 AM by Laszlo Schaffer

    seam with oracle adf

    Laszlo Schaffer Newbie

      Hello everybody
      I would like to use seam with ADF
      I am using JDeveloper 10.1.3.1.0
      Latest seam (1.1.1GA) version has been download installed
      I prepared a new project with seam-gen (thats works)
      Then I made a jdev project (using ... project from source) and added new JSP (jspx) page with a simple seam action listener
      Then I modified the build.xml (because of jdev needed to prepare own WEB-INF/libs and configs to use jsp editor)
      Then I replaced the original (sem generated) web.xml, faces-config.xml ..etc) with files from adfregistration example

      Finally I tried to deploy ... no success
      Because of I have got various exceptions and I do not know already what I replaced and overwritten ...etc

      So could somebody send me (laszlo.schaffer@t-online.hu) with a real working prototype where
      seam is used with ADF (.jsp or jspx ) (maybe with facelets)
      I think it would be enough the
      web, faces-config.xml ... the list of the used jars and the build.xml

      (Otherwise seam impressed me)
      Thanks
      Lschaffer



        • 1. Re: seam with oracle adf
          Pete Muir Master

          You should consider using trinidad - the result of the donation of ADF to the apache foundation.

          It's also worth searching the forum - this has come up before.

          • 2. Re: seam with oracle adf
            Laszlo Schaffer Newbie

            hello
            I was thinking about Trinidat too
            But Trinidad did not have a release yet
            Jdev has and it has a great visual editor for jsf pages

            • 3. Re: seam with oracle adf
              Laszlo Schaffer Newbie

              now I am getting always this exception

              17:30:13,531 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jn
              p.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}

              17:30:13,531 INFO [UpdateTimestampsCache] starting update timestamps cache at region: org.hibernate
              .cache.UpdateTimestampsCache
              17:30:13,531 INFO [StandardQueryCache] starting query cache at region: org.hibernate.cache.Standard
              QueryCache
              17:30:13,546 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=tmoffice.ear,jar=tmoffice
              .jar,name=HelloBean,service=EJB3 with dependencies:
              17:30:13,546 INFO [EJBContainer] STARTED EJB: com.mc.tmoffice.HelloBean ejbName: HelloBean
              17:30:13,562 INFO [EJB3Deployer] Deployed: file:/C:/jboss45/server/default/tmp/deploy/tmp9141tmoffi
              ce.ear-contents/tmoffice.jar
              17:30:13,593 INFO [TomcatDeployer] deploy, ctxPath=/tmoffice, warUrl=.../tmp/deploy/tmp9141tmoffice
              .ear-contents/tmoffice-exp.war/
              17:30:13,640 ERROR [StandardContext] Error in dependencyCheck
              java.util.zip.ZipException: invalid bit length repeat
              at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:140)
              at java.util.zip.ZipInputStream.read(ZipInputStream.java:139)
              at java.util.jar.JarInputStream.read(JarInputStream.java:171)
              at java.io.BufferedInputStream.read1(BufferedInputStream.java:254)
              at java.io.BufferedInputStream.read(BufferedInputStream.java:313)
              at java.util.jar.JarInputStream.getBytes(JarInputStream.java:88)
              at java.util.jar.JarInputStream.(JarInputStream.java:65)
              at java.util.jar.JarInputStream.(JarInputStream.java:43)
              at org.apache.catalina.util.ExtensionValidator.getManifest(ExtensionValidator.java:372)
              at org.apache.catalina.util.ExtensionValidator.validateApplication(ExtensionValidator.java:1
              83)
              at org.apache.catalina.core.StandardContext.start(StandardContext.java:4059)
              at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
              at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
              at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
              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.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
              at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              at org.apache.catalina.core.StandardContext.init(StandardContext.java:5052)
              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.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
              at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297)
              at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
              at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
              at org.jboss.web.WebModule.startModule(WebModule.java:83)
              at org.jboss.web.WebModule.startService(WebModule.java:61)
              at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
              at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)

              at sun.reflect.GeneratedMethodAccessor94.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.server.Invocation.invoke(Invocation.java:86)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
              at $Proxy0.start(Unknown Source)
              at org.jboss.system.ServiceController.start(ServiceController.java:417)
              at sun.reflect.GeneratedMethodAccessor5.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.server.Invocation.invoke(Invocation.java:86)
              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 $Proxy38.start(Unknown Source)
              at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
              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.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(ModelMBeanOperationInterce
              ptor.java:142)
              at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
              at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport
              .java:238)
              at org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:92)
              at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInt
              erceptorSupport.java:188)
              at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

              what could be a reason???