I am getting the same error, here is the entire error message.
Using the latest "OC4J 10g (10.1.3) Developer Preview 4". The
same app starts normally on Tomcat 5.
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:/C:/work/dep2oc4j/WEB-INF/lib/tapestry-4.0-beta-12.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_107dd8742a9: argument type mismatch
[code-source:/C:/work/dep2oc4j/WEB-INF/lib/tapestry-4.0-beta-12.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_107dd87429e._service($ApplicationInitializer_107dd87429e.java)
at
$ApplicationInitializer_107dd87429e.initialize($ApplicationInitializer_107dd87429e.java)
at
$ApplicationInitializer_107dd87429d.initialize($ApplicationInitializer_107dd87429d.java)
at
$ApplicationInitializer_107dd8742a1.initialize($ApplicationInitializer_107dd8742a1.java)
at
$ApplicationInitializer_107dd874296.initialize($ApplicationInitializer_107dd874296.java)
at
$ApplicationInitializer_107dd874295.initialize($ApplicationInitializer_107dd874295.java)
at
org.apache.tapestry.ApplicationServlet.initializeApplication(ApplicationServlet.java:317)
at
org.apache.tapestry.ApplicationServlet.init(ApplicationServlet.java:216)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) -
Developer Preview
4].server.http.HttpApplication.loadServlet(HttpApplication.java:2178)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) -
Developer Preview
4].server.http.HttpApplication.findServlet(HttpApplication.java:4514)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) -
Developer Preview
4].server.http.HttpApplication.findServlet(HttpApplication.java:4438)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) -
Developer Preview
4].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2859)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) -
Developer Preview
4].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:703)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) -
Developer Preview
4].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:430)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) -
Developer Preview
4].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) -
Developer Preview
4].server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) -
Developer Preview
4].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at
oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:215)
at
oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:232)
at
oracle.oc4j.network.ServerSocketAcceptHandler.access$1000(ServerSocketAcceptHandler.java:35)
at
oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:819)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) -
Developer Preview
4].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.apache.hivemind.ApplicationRuntimeException:
Error building service
tapestry.init.ApplicationSpecificationInitializer: Error at
code-source:/C:/work/dep2oc4j/WEB-INF/lib/tapestry-4.0-beta-12.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_107dd8742a9: argument type mismatch
[code-source:/C:/work/dep2oc4j/WEB-INF/lib/tapestry-4.0-beta-12.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:/C:/work/dep2oc4j/WEB-INF/lib/tapestry-4.0-beta-12.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_107dd8742a9: argument type mismatch
[code-source:/C:/work/dep2oc4j/WEB-INF/lib/tapestry-4.0-beta-12.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:/C:/work/dep2oc4j/WEB-INF/lib/tapestry-4.0-beta-12.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_107dd8742a9: argument type mismatch
[code-source:/C:/work/dep2oc4j/WEB-INF/lib/tapestry-4.0-beta-12.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_107dd8742a9: 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
---- Original message ----
>Date: Tue, 29 Nov 2005 14:38:27 -0500
>From: "Gabriel H. Lozano M." <[EMAIL PROTECTED]>
>Subject: RE: problem starting tapestry with oracle
>To: "'Tapestry users'" <[email protected]>
>
>I am working on Oracle 10.1.3.0.0 Developer preview 4. Please
help me!!}
>
>Thanks
>
>Gabriel
>
>-----Mensaje original-----
>De: Martijn Hinten [mailto:[EMAIL PROTECTED]
>Enviado el: Martes, 29 de Noviembre de 2005 01:28 p.m.
>Para: Tapestry users
>Asunto: Re: problem starting tapestry with oracle
>
>Hm... Scanning those old posts, I might have misread your
post. Maybe
>you are running into a different issue here. What OC4J
version are you
>using?
>
>Regards,
>Martijn
>
>Martijn Hinten wrote:
>
>> See the archives:
>>
http://www.tapestryforums.com/viewtopic.php?t=2748&highlight=oc4j,
>>
http://www.tapestryforums.com/viewtopic.php?t=2746&highlight=oc4j
>> and
>>
http://www.tapestryforums.com/viewtopic.php?t=1528&highlight=oc4j
>>
>> It is not that hard to fix.
>>
>> Gabriel H. Lozano M. wrote:
>>
>>> Hi,
>>>
>>>
>>>
>>> Our SA recently setup a new deployment environment that
we're having
>>> configuration issues with.
>>>
>>>
>>> It seems to throw an argument type mismatch while trying
to build the
>>> ApplicationSpecificationInitializer related services.
>>>
>>>
>>>
>>> <service-point id="ApplicationSpecificationInitializer"
>>> interface="ApplicationInitializer">
>>>
>>>
>>>
>>> Locates and parses the application specification and
informs the
>>> ApplicationGlobals service about it.
>>>
>>>
>>>
>>> <invoke-factory>
>>>
>>> <construct
class="impl.ApplicationSpecificationInitializer">
>>>
>>> <set-service property="classpathResourceFactory"
service-
>>>
>>> id="tapestry.ClasspathResourceFactory"/>
>>>
>>> <set-service property="globals" service-
>>>
>>> id="tapestry.globals.ApplicationGlobals"/>
>>>
>>> <set-service property="parser" service-
>>>
>>> id="tapestry.parse.SpecificationParser"/>
>>>
>>> </construct>
>>>
>>> </invoke-factory>
>>>
>>> </service-point>
>>>
>>>
>>>
>>> Has anyone idea of what is happening ?
>>>
>>>
>>>
>>> Thanks in advance,
>>>
>>> Gabriel
>>>
>>>
>>>
>>> javax.servlet.ServletException:
>>>
>>>
>>>
>>> Unable to initialize application servlet: Unable to
construct service
>>> tapestry.init.ApplicationSpecificationInitializer: Error
building
>>> service tapestry.init.ApplicationSpecificationInitializer:
Error at
>>>
jar:file:<PATH_TO_APP>/WEB-INF/lib/tapestry-4.0-beta-4.jar!/META-INF/
>>>
>>> tapestry.init.xml, line 46: Service interceptor factory
>>> hivemind.LoggingInterceptor failed to create
>>> org.apache.tapestry.parse.ISpecificationParser interceptor
for
>>> service tapestry.parse.SpecificationParser as class
>>> $ISpecificationParser_10692dad6da: argument type mismatch
>>>
>>>
>>>
>>> Root Cause:
>>>
>>>
>>>
>>> org.apache.hivemind.ApplicationRuntimeException: Unable to
construct
>>> service tapestry.init.ApplicationSpecificationInitializer:
Error
>>> building service
tapestry.init.ApplicationSpecificationInitializer:
>>> Error at
jar:file:<PATH_TO_APP>/WEB-INF/lib/tapestry-4.0-beta-4.jar!/
>>>
>>> META-INF/tapestry.init.xml, line 46: Service interceptor
factory
>>> hivemind.LoggingInterceptor failed to create
>>> org.apache.tapestry.parse.ISpecificationParser interceptor
for
>>> service tapestry.parse.SpecificationParser as class
>>> $ISpecificationParser_10692dad6da: argument type mismatch
>>>
[jar:file:<PATH_TO_APP>/WEB-INF/lib/tapestry-4.0-beta-4.jar!/META-INF/
>>>
>>> tapestry.init.xml, line 42]
>>>
>>>
>>>
>>>
>>>
>>> Oracle Application Server 10g
>>>
>>> Java version 1.4.2
>>>
>>>
>>>
>>>
>>
>
>--
>
>
>*Cumquat Information Technology*
>De Dreef 19
>3706 BR Zeist
>T +31 (0)30 - 6940490
>F +31 (0)10 - 6940499
>http://www.cumquat.nl <http://www.cumquat.nl/>
>
>[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>M +31 6 22 384 318
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail:
[EMAIL PROTECTED]
>For additional commands, e-mail:
[EMAIL PROTECTED]
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail:
[EMAIL PROTECTED]
>For additional commands, e-mail:
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]