Hello there! I got stuck in a dead corner. Allow me to put some
background info here:
I work in a mid-size company (70-80 developers) and we are moving
towards a new framework as standard for our applications.
We used to be Oracle partners (thanks God, we just moved to IBM
solutions) but we still have a lot of costumers running OC4J
(10.1.2/10.1.3 mostly).
We had a small app, that took 4 months for 2 junior developers to
build (using JSF), but the app had so many problems, that last week, I
challenged my manager: "I'll rewrite this entire app in Tapestry in
less than 2 weeks", in exchange I asked the change to present tapestry
as our default framework for our applications, and I'd even provide
some training for our developers.
Ok have said that, I was developing the app on a tomcat 5.5.17 server
and everything was ok. When I first tried to deploy it on AS 10.1.2 I
got a hivemind error (Issue 166), I have post it on the hivemind list
and folks there gave me some hints. But reading through I had seen
that the problem was gone with AS 10.1.3. So we contacted our customer
and he said that they had a 10.1.3 installation running. I thought all
my problems were solved. But when I deployed it, I got the exception
shown below.
I'm tapestry 4.0 downloaded using maven at ibiblio's repository. I
believe that Hivemind version bundled is 1.1.

I really would like some help here, I might even pay for it (It's
gonna come from my own pocket but we may find a way to pay the
interested through western-union, paypal, a book as gift, dunno)

What I really don't want to see is people do not believing in Tapestry
(which gave me a HUGE productivity) and now, just because Oracle (damn
you all) can't produce quality products, risk the chance of having
Tapestry as our default framework for web apps.

Thanks all

Regards

[The Stack]
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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to