Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-978

How to deploy tapestry4.0.2 app with OC4J 10.1.3

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 4.0.2
    • None
    • Web
    • None
    • Windows XP ,JDK1.5.0_06,tapestry4.0.2,Oracle Application Server 10g Release 3 (10.1.3)

    Description

      Hello ,
      I build a simple app and deployed on Tomcat and SUN AS PE9 successful ,but throws exception on Oc4j

      The exception when deploy tapestry in Oracle Application Server 10g

      500 Internal Server Error

      org.apache.hivemind.ApplicationRuntimeException: Unable to construct service tapestry.init.ApplicationSpecificationInitializer: Error building service tapestry.init.ApplicationSpecificationInitializer: Error at code-source:/F:/product/10.1.3/OracleAS_1/j2ee/home/applications/web/web/WEB-INF/lib/tapestry-4.0.2.jar!META-INF/tapestry.init.xml, line 46, column 89: Service interceptor factory hivemind.LoggingInterceptor failed to create org.apache.tapestry.parse.ISpecificationParser interceptor for service tapestry.parse.SpecificationParser as class $ISpecificationParser_10b7e6f35d0: argument type mismatch [code-source:/F:/product/10.1.3/OracleAS_1/j2ee/home/applications/web/web/WEB-INF/lib/tapestry-4.0.2.jar!META-INF/tapestry.init.xml, line 42, column 21]
      at org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructNewServiceImplementation(AbstractServiceModelImpl.java:165)
      at org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructServiceImplementation(AbstractServiceModelImpl.java:139)
      at org.apache.hivemind.impl.servicemodel.SingletonServiceModel.getActualServiceImplementation(SingletonServiceModel.java:68)
      at $ApplicationInitializer_10b7e6f35c5._service($ApplicationInitializer_10b7e6f35c5.java)
      at $ApplicationInitializer_10b7e6f35c5.initialize($ApplicationInitializer_10b7e6f35c5.java)
      at $ApplicationInitializer_10b7e6f35c4.initialize($ApplicationInitializer_10b7e6f35c4.java)
      at $ApplicationInitializer_10b7e6f35c8.initialize($ApplicationInitializer_10b7e6f35c8.java)
      at $ApplicationInitializer_10b7e6f35bd.initialize($ApplicationInitializer_10b7e6f35bd.java)
      at $ApplicationInitializer_10b7e6f35bc.initialize($ApplicationInitializer_10b7e6f35bc.java)
      at org.apache.tapestry.ApplicationServlet.initializeApplication(ApplicationServlet.java:299)
      at org.apache.tapestry.ApplicationServlet.init(ApplicationServlet.java:198)
      at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpApplication.loadServlet(HttpApplication.java:2231)
      at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpApplication.findServlet(HttpApplication.java:4617)
      at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpApplication.findServlet(HttpApplication.java:4541)
      at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2821)
      at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2441)
      at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:740)
      at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
      at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)
      at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
      at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
      at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: org.apache.hivemind.ApplicationRuntimeException: Error building service tapestry.init.ApplicationSpecificationInitializer: Error at code-source:/F:/product/10.1.3/OracleAS_1/j2ee/home/applications/web/web/WEB-INF/lib/tapestry-4.0.2.jar!META-INF/tapestry.init.xml, line 46, column 89: Service interceptor factory hivemind.LoggingInterceptor failed to create org.apache.tapestry.parse.ISpecificationParser interceptor for service tapestry.parse.SpecificationParser as class $ISpecificationParser_10b7e6f35d0: argument type mismatch [code-source:/F:/product/10.1.3/OracleAS_1/j2ee/home/applications/web/web/WEB-INF/lib/tapestry-4.0.2.jar!META-INF/tapestry.init.xml, line 42, column 21]
      at org.apache.hivemind.impl.InvokeFactoryServiceConstructor.constructCoreServiceImplementation(InvokeFactoryServiceConstructor.java:88)
      at org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructCoreServiceImplementation(AbstractServiceModelImpl.java:107)
      at org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructNewServiceImplementation(AbstractServiceModelImpl.java:157)
      ... 22 more
      Caused by: org.apache.hivemind.ApplicationRuntimeException: Error building service tapestry.init.ApplicationSpecificationInitializer: Error at code-source:/F:/product/10.1.3/OracleAS_1/j2ee/home/applications/web/web/WEB-INF/lib/tapestry-4.0.2.jar!META-INF/tapestry.init.xml, line 46, column 89: Service interceptor factory hivemind.LoggingInterceptor failed to create org.apache.tapestry.parse.ISpecificationParser interceptor for service tapestry.parse.SpecificationParser as class $ISpecificationParser_10b7e6f35d0: argument type mismatch [code-source:/F:/product/10.1.3/OracleAS_1/j2ee/home/applications/web/web/WEB-INF/lib/tapestry-4.0.2.jar!META-INF/tapestry.init.xml, line 43, column 67]
      at org.apache.hivemind.service.impl.BuilderFactoryLogic.createService(BuilderFactoryLogic.java:87)
      at org.apache.hivemind.service.impl.BuilderFactory.createCoreServiceImplementation(BuilderFactory.java:42)
      at org.apache.hivemind.impl.InvokeFactoryServiceConstructor.constructCoreServiceImplementation(InvokeFactoryServiceConstructor.java:84)
      ... 24 more
      Caused by: org.apache.hivemind.ApplicationRuntimeException: Error at code-source:/F:/product/10.1.3/OracleAS_1/j2ee/home/applications/web/web/WEB-INF/lib/tapestry-4.0.2.jar!META-INF/tapestry.init.xml, line 46, column 89: Service interceptor factory hivemind.LoggingInterceptor failed to create org.apache.tapestry.parse.ISpecificationParser interceptor for service tapestry.parse.SpecificationParser as class $ISpecificationParser_10b7e6f35d0: argument type mismatch [code-source:/F:/product/10.1.3/OracleAS_1/j2ee/home/applications/web/web/WEB-INF/lib/tapestry-4.0.2.jar!META-INF/tapestry.init.xml, line 46, column 89]
      at org.apache.hivemind.impl.StrictErrorHandler.error(StrictErrorHandler.java:39)
      at org.apache.hivemind.impl.ErrorLogImpl.error(ErrorLogImpl.java:40)
      at org.apache.hivemind.service.impl.BuilderFactoryLogic.error(BuilderFactoryLogic.java:95)
      at org.apache.hivemind.service.impl.BuilderFactoryLogic.wireProperty(BuilderFactoryLogic.java:368)
      at org.apache.hivemind.service.impl.BuilderFactoryLogic.setProperties(BuilderFactoryLogic.java:320)
      at org.apache.hivemind.service.impl.BuilderFactoryLogic.createService(BuilderFactoryLogic.java:77)
      ... 26 more
      Caused by: org.apache.hivemind.ApplicationRuntimeException: Service interceptor factory hivemind.LoggingInterceptor failed to create org.apache.tapestry.parse.ISpecificationParser interceptor for service tapestry.parse.SpecificationParser as class $ISpecificationParser_10b7e6f35d0: argument type mismatch
      at org.apache.hivemind.service.impl.LoggingInterceptorFactory.createInterceptor(LoggingInterceptorFactory.java:261)
      at org.apache.hivemind.impl.ServiceInterceptorContributionImpl.createInterceptor(ServiceInterceptorContributionImpl.java:95)
      at org.apache.hivemind.impl.InterceptorStackImpl.process(InterceptorStackImpl.java:116)
      at org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.addInterceptors(AbstractServiceModelImpl.java:84)
      at org.apache.hivemind.impl.servicemodel.PooledServiceModel.constructServiceProxy(PooledServiceModel.java:159)
      at org.apache.hivemind.impl.servicemodel.PooledServiceModel.getService(PooledServiceModel.java:138)
      at org.apache.hivemind.impl.ServicePointImpl.getService(ServicePointImpl.java:209)
      at org.apache.hivemind.impl.ServicePointImpl.getService(ServicePointImpl.java:222)
      at org.apache.hivemind.impl.RegistryInfrastructureImpl.getService(RegistryInfrastructureImpl.java:207)
      at org.apache.hivemind.impl.ModuleImpl.getService(ModuleImpl.java:97)
      at org.apache.hivemind.schema.rules.ServiceTranslator.translate(ServiceTranslator.java:40)
      at org.apache.hivemind.service.impl.BuilderPropertyFacet.getFacetValue(BuilderPropertyFacet.java:55)
      at org.apache.hivemind.service.impl.BuilderFactoryLogic.wireProperty(BuilderFactoryLogic.java:357)
      ... 28 more
      Caused by: java.lang.IllegalArgumentException: argument type mismatch
      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 org.apache.hivemind.service.impl.LoggingInterceptorFactory.instantiateInterceptor(LoggingInterceptorFactory.java:290)
      at org.apache.hivemind.service.impl.LoggingInterceptorFactory.createInterceptor(LoggingInterceptorFactory.java:255)
      ... 40 more

      Attachments

        Activity

          People

            jkuhnert Jesse Kuhnert
            tw801 tw801
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: