hivemind-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinicius Carvalho" <java.vinic...@gmail.com>
Subject Fwd: Tapestry [Hivemind] and OC4J another issue.
Date Fri, 11 Aug 2006 17:46:06 GMT
Just forwarding a question, really dunno which world does it belongs
(Tapestry or Hivemind)...

Hello there! I was reading the Hivemind list
and it's a known bug in OC4J 10.1.2 (Issue 166 I believe), that
hivemind needs a hack to work with 10.1.2, but folks said that it
works with 10.1.3. Well I've upgraded to 10.1.3 and I'm getting an
error:

Anything I am doing wrong? (Tapestry 4.0 downloaded from ibiblio)

regards

org.apache.hivemind.ApplicationRuntimeException: Unable to construct
service tapestry.init.ApplicationSpecificationInitializer: Error
building service tapestry.init.ApplicationSpecificationInitializer:
Error at code-source:/java/servers/oc4j-10.1.3/j2ee/home/applications/chat/chat/WEB-INF/lib/tapestry-4.0.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_10cfdcf2043: argument type mismatch
[code-source:/java/servers/oc4j-10.1.3/j2ee/home/applications/chat/chat/WEB-INF/lib/tapestry-4.0.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_10cfdcf2036._service($ApplicationInitializer_10cfdcf2036.java)
        at $ApplicationInitializer_10cfdcf2036.initialize($ApplicationInitializer_10cfdcf2036.java)
        at $ApplicationInitializer_10cfdcf2035.initialize($ApplicationInitializer_10cfdcf2035.java)
        at $ApplicationInitializer_10cfdcf2039.initialize($ApplicationInitializer_10cfdcf2039.java)
        at $ApplicationInitializer_10cfdcf202c.initialize($ApplicationInitializer_10cfdcf202c.java)
        at $ApplicationInitializer_10cfdcf202b.initialize($ApplicationInitializer_10cfdcf202b.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:3232)
        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.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
        at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)
].server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
        at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)
].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
        at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
        at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)
        at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)
        at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)
        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:/java/servers/oc4j-10.1.3/j2ee/home/applications/chat/chat/WEB-INF/lib/tapestry-4.0.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_10cfdcf2043: argument type mismatch
[code-source:/java/servers/oc4j-10.1.3/j2ee/home/applications/chat/chat/WEB-INF/lib/tapestry-4.0.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)
        ... 25 more
Caused by: org.apache.hivemind.ApplicationRuntimeException: Error
building service tapestry.init.ApplicationSpecificationInitializer:
Error at code-source:/java/servers/oc4j-10.1.3/j2ee/home/applications/chat/chat/WEB-INF/lib/tapestry-4.0.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_10cfdcf2043: argument type mismatch
[code-source:/java/servers/oc4j-10.1.3/j2ee/home/applications/chat/chat/WEB-INF/lib/tapestry-4.0.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)
        ... 27 more
Caused by: org.apache.hivemind.ApplicationRuntimeException: Error at
code-source:/java/servers/oc4j-10.1.3/j2ee/home/applications/chat/chat/WEB-INF/lib/tapestry-4.0.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_10cfdcf2043: argument type mismatch
[code-source:/java/servers/oc4j-10.1.3/j2ee/home/applications/chat/chat/WEB-INF/lib/tapestry-4.0.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)
        ... 29 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_10cfdcf2043: 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)
        ... 31 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)
        ... 43 more

Mime
View raw message