Hi,
With the help of this "Tapestry (4.0.2) / Hivemind (1.1.1) in OC4J
10.1.3 - Dig a little bit more, anyone please give me a ladder to climb
up" post
I've now got things working on 10.1.3.2
Below the hivemodule.xml I created:
<?xml version="1.0"?>
<module id="com.cumquatit.refapp" version="1.0.0"
package="com.cumquatit.refapp">
<implementation service-id="hivemind.LoggingInterceptor">
<create-instance
class="com.cumquatit.refapp.HivemindFixLoggingInterceptor" />
</implementation>
</module>
And the class to go along with it:
package com.cumquatit.refapp;
import java.util.List;
import org.apache.hivemind.InterceptorStack;
import org.apache.hivemind.ServiceInterceptorFactory;
import org.apache.hivemind.internal.Module;
public class HivemindFixLoggingInterceptor implements
ServiceInterceptorFactory {
@SuppressWarnings("unchecked")
public void createInterceptor(InterceptorStack arg0, Module arg1,
List arg2) {
}
}
This basically does the trick.
Thanks Jesse (and I hope you refrain from taking every post coming from
me as an insult),
-J.
(On OC4J11 Tech Preview, it is not yet working - but the error indicates
something different than a specific Hivemind issue)
Jan Vissers wrote:
Below the trace I see, whenever Tapestry 4.1.1 tries to load....
Has anybody ever tried Tapestry 4.1.1 on OC4J?
**********************************************************
07/05/09 13:22:02 org.apache.hivemind.ApplicationRuntimeException:
Unable to construct service tapestry.init.ApplicationSpecificationInitial
izer: Error building service
tapestry.init.ApplicationSpecificationInitializer: Error at
code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applica
tions/refapp/refapp-web-1.0.0/WEB-INF/lib/tapestry-framework-4.1.1.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.S
pecificationParser as class $ISpecificationParser_112709303e6:
argument type mismatch
07/05/09 13:22:02 location:
code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applications/refapp/refapp-web-1.0.0/WEB-INF/lib/tapestry-framewo
rk-4.1.1.jar!/META-INF/tapestry.init.xml, line 42, column 21
07/05/09 13:22:02 org.apache.hivemind.ApplicationRuntimeException:
Error building service tapestry.init.ApplicationSpecificationInitializer:
Error at
code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applications/refapp/refapp-web-1.0.0/WEB-INF/lib/tapestry-framework-4.1.1.jar!/META-IN
F/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_112709303e6: argument type mi
smatch
07/05/09 13:22:02 location:
code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applications/refapp/refapp-web-1.0.0/WEB-INF/lib/tapestry-framewo
rk-4.1.1.jar!/META-INF/tapestry.init.xml, line 42, column 21
07/05/09 13:22:02 org.apache.hivemind.ApplicationRuntimeException:
Error building service tapestry.init.ApplicationSpecificationInitializer:
Error at
code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applications/refapp/refapp-web-1.0.0/WEB-INF/lib/tapestry-framework-4.1.1.jar!/META-IN
F/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_112709303e6: argument type mi
smatch
07/05/09 13:22:02 location:
code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applications/refapp/refapp-web-1.0.0/WEB-INF/lib/tapestry-framewo
rk-4.1.1.jar!/META-INF/tapestry.init.xml, line 43, column 67
07/05/09 13:22:02 org.apache.hivemind.ApplicationRuntimeException:
Error at code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applications/refapp/
refapp-web-1.0.0/WEB-INF/lib/tapestry-framework-4.1.1.jar!/META-INF/tapestry.init.xml,
line 46, column 89: Service interceptor factory hivem
ind.LoggingInterceptor failed to create
org.apache.tapestry.parse.ISpecificationParser interceptor for service
tapestry.parse.SpecificationP
arser as class $ISpecificationParser_112709303e6: argument type mismatch
07/05/09 13:22:02 location:
code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applications/refapp/refapp-web-1.0.0/WEB-INF/lib/tapestry-framewo
rk-4.1.1.jar!/META-INF/tapestry.init.xml, line 46, column 89
07/05/09 13:22:02 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_112
709303e6: argument type mismatch
07/05/09 13:22:02 java.lang.IllegalArgumentException: argument type
mismatch
07/05/09 13:22:02
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
07/05/09 13:22:02
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
07/05/09 13:22:02
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
07/05/09 13:22:02
java.lang.reflect.Constructor.newInstance(Constructor.java:513)
07/05/09 13:22:02
org.apache.hivemind.service.impl.LoggingInterceptorFactory.instantiateInterceptor(LoggingInterceptorFactory.java:290)
07/05/09 13:22:02
org.apache.hivemind.service.impl.LoggingInterceptorFactory.createInterceptor(LoggingInterceptorFactory.java:255)
07/05/09 13:22:02
org.apache.hivemind.impl.ServiceInterceptorContributionImpl.createInterceptor(ServiceInterceptorContributionImpl.java:95)
07/05/09 13:22:02
org.apache.hivemind.impl.InterceptorStackImpl.process(InterceptorStackImpl.java:116)
07/05/09 13:22:02
org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.addInterceptors(AbstractServiceModelImpl.java:85)
07/05/09 13:22:02
org.apache.hivemind.impl.servicemodel.PooledServiceModel.constructServiceProxy(PooledServiceModel.java:154)
07/05/09 13:22:02
org.apache.hivemind.impl.servicemodel.PooledServiceModel.<init>(PooledServiceModel.java:130)
07/05/09 13:22:02
org.apache.hivemind.impl.servicemodel.PooledServiceModelFactory.createServiceModelForService(PooledServiceModelFactory.jav
a:26)
07/05/09 13:22:02
org.apache.hivemind.impl.ServicePointImpl.getService(ServicePointImpl.java:208)
07/05/09 13:22:02
org.apache.hivemind.impl.ServicePointImpl.getService(ServicePointImpl.java:223)
07/05/09 13:22:02
org.apache.hivemind.impl.RegistryInfrastructureImpl.getService(RegistryInfrastructureImpl.java:207)
07/05/09 13:22:02
org.apache.hivemind.impl.ModuleImpl.getService(ModuleImpl.java:105)
07/05/09 13:22:02
org.apache.hivemind.schema.rules.ServiceTranslator.translate(ServiceTranslator.java:40)
07/05/09 13:22:02
org.apache.hivemind.service.impl.BuilderPropertyFacet.getFacetValue(BuilderPropertyFacet.java:55)
07/05/09 13:22:02
org.apache.hivemind.service.impl.BuilderFactoryLogic.wireProperty(BuilderFactoryLogic.java:357)
07/05/09 13:22:02
org.apache.hivemind.service.impl.BuilderFactoryLogic.setProperties(BuilderFactoryLogic.java:320)
07/05/09 13:22:02
org.apache.hivemind.service.impl.BuilderFactoryLogic.createService(BuilderFactoryLogic.java:77)
07/05/09 13:22:02
org.apache.hivemind.service.impl.BuilderFactory.createCoreServiceImplementation(BuilderFactory.java:42)
07/05/09 13:22:02
org.apache.hivemind.impl.InvokeFactoryServiceConstructor.constructCoreServiceImplementation(InvokeFactoryServiceConstructo
r.java:62)
07/05/09 13:22:02
org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructCoreServiceImplementation(AbstractServiceModelImpl
.java:108)
07/05/09 13:22:02
org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructNewServiceImplementation(AbstractServiceModelImpl.
java:158)
07/05/09 13:22:02
org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructServiceImplementation(AbstractServiceModelImpl.jav
a:140)
07/05/09 13:22:02
org.apache.hivemind.impl.servicemodel.SingletonServiceModel.getActualServiceImplementation(SingletonServiceModel.java:69)
07/05/09 13:22:03
$ApplicationInitializer_112709303db._service($ApplicationInitializer_112709303db.java)
07/05/09 13:22:03
$ApplicationInitializer_112709303db.initialize($ApplicationInitializer_112709303db.java)
07/05/09 13:22:03
$ApplicationInitializer_112709303da.initialize($ApplicationInitializer_112709303da.java)
07/05/09 13:22:03
$ApplicationInitializer_112709303de.initialize($ApplicationInitializer_112709303de.java)
07/05/09 13:22:03
$ApplicationInitializer_112709303d3.initialize($ApplicationInitializer_112709303d3.java)
07/05/09 13:22:03
$ApplicationInitializer_112709303d2.initialize($ApplicationInitializer_112709303d2.java)
07/05/09 13:22:03
org.apache.tapestry.ApplicationServlet.initializeApplication(ApplicationServlet.java:299)
07/05/09 13:22:03
org.apache.tapestry.ApplicationServlet.init(ApplicationServlet.java:198)
07/05/09 13:22:03
com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2361)
07/05/09 13:22:03
com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4810)
07/05/09 13:22:03
com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4734)
07/05/09 13:22:03
com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4922)
07/05/09 13:22:03
com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1134)
07/05/09 13:22:03
com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:738)
07/05/09 13:22:03
com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414)
07/05/09 13:22:03
com.evermind.server.Application.getHttpApplication(Application.java:571)
07/05/09 13:22:03
com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1990)
07/05/09 13:22:03
com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1909)
07/05/09 13:22:03
com.evermind.server.http.HttpSite.initApplications(HttpSite.java:645)
07/05/09 13:22:03
com.evermind.server.http.HttpSite.setConfig(HttpSite.java:290)
07/05/09 13:22:03
com.evermind.server.http.HttpServer.setSites(HttpServer.java:270)
07/05/09 13:22:03
com.evermind.server.http.HttpServer.setConfig(HttpServer.java:177)
07/05/09 13:22:03
com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2478)
07/05/09 13:22:03
com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1032)
07/05/09 13:22:03
com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
07/05/09 13:22:03 java.lang.Thread.run(Thread.java:619)
07/05/09 13:22:03
**********************************************************
07/05/09 13:22:03 Oracle Containers for J2EE 10g (10.1.3.2.0)
initialized
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Cumquat Information Technology
De Dreef 19
3706 BR Zeist
T +31 (0)30 - 6940490
F +31 (0)30 - 6940499
W http://www.cumquat.nl
E [EMAIL PROTECTED]
M +31 6 51 169 556
B http://www.cumquat.nl/technology_atom10.xml
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]