It's worth checking the versions of commons-logging and log4j that you have in your war/ear are up-to-date and whether there are older versions of those libraries in OC4J.
The stack trace looks like the system is trying to construct some logging object but the constructor in that object is different to what the system expects... Paul ------------------ Paul Field Global Markets Research IT Deutsche Bank "Vinicius Carvalho" <[EMAIL PROTECTED]> wrote on 22/08/2006 23:31:19: > Hello there! I still did not gave up OC4J 10.1.3 (well, I'd love to, > but my boss wont let me). > So, just to fresh-up memories, I get a nasty exception when I deploy > my app on oracle AS: > > 06/08/22 23:23:51 java.lang.IllegalArgumentException: argument type mismatch > 06/08/22 23:23:51 > sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > 06/08/22 23:23:51 > sun.reflect.NativeConstructorAccessorImpl. > newInstance(NativeConstructorAccessorImpl.java:39) > 06/08/22 23:23:51 > sun.reflect.DelegatingConstructorAccessorImpl. > newInstance(DelegatingConstructorAccessorImpl.java:27) > 06/08/22 23:23:51 > java.lang.reflect.Constructor.newInstance(Constructor.java:494) > 06/08/22 23:23:51 > org.apache.hivemind.service.impl.LoggingInterceptorFactory. > instantiateInterceptor(LoggingInterceptorFactory.java:290) > 06/08/22 23:23:51 > org.apache.hivemind.service.impl.LoggingInterceptorFactory. > createInterceptor(LoggingInterceptorFactory.java:255) > > Ok, so I start debuging the app on both tomcat and Oracle: > > Here's the snippet I was debugging inside the LogginInterceptorFactory: > > private Object instantiateInterceptor(InterceptorStack stack, > Class interceptorClass) > throws Exception > { > Object stackTop = stack.peek(); > > Constructor c = interceptorClass.getConstructors()[0]; > > return c.newInstance(new Object[] { stack.getServiceLog(), > stackTop }); <- point of problem > } > > Well below it's a "toString" of each of the variables involved: > > Tomcat: > stack > =InterceptorStackImpl[contribution=ServiceInterceptorContributionImpl[factoryServiceId=hivemind. > LoggingInterceptor > parameters=null precedingInterceptorIds=null > followingInterceptorIds=null name=null] interfaceClass=interface > org.apache.tapestry.parse.ISpecificationParser top=<PooledProxy for > tapestry.parse.SpecificationParser(org.apache.tapestry.parse. > ISpecificationParser)>] > > interceptorClass = lass $ISpecificationParser_10d3ecd54a4 > > stackTop = <PooledProxy for > tapestry.parse.SpecificationParser(org.apache.tapestry.parse. > ISpecificationParser)> > > c = public $ISpecificationParser_10d38c5277a(org.apache.commons. > logging.Log,$ISpecificationParser_10d38c52779) > > stack.getServiceLog = [EMAIL PROTECTED] > > > OC4J > stack = > InterceptorStackImpl[contribution=ServiceInterceptorContributionImpl[factoryServiceId=hivemind. > LoggingInterceptor > parameters=null precedingInterceptorIds=null > followingInterceptorIds=null name=null] interfaceClass=interface > org.apache.tapestry.parse.ISpecificationParser top=<PooledProxy for > tapestry.parse.SpecificationParser(org.apache.tapestry.parse. > ISpecificationParser)>] > > interceptorClass = class $ISpecificationParser_10d38ce04a4 > > stackTop = <PooledProxy for > tapestry.parse.SpecificationParser(org.apache.tapestry.parse. > ISpecificationParser)> > > c = public $ISpecificationParser_10d38c89a9b(org.apache.commons. > logging.Log,$ISpecificationParser_10d38c89a9a) > > stack.getServiceLog = [EMAIL PROTECTED] > > Well, I got stuck because, all the variables seems to be the same > type, hence, how could a type mismatch could be happening. > > I couldn't find a way to figure out the interfaces of the stackTop. > > Well I hope this piece of information would give an idea for the gurus > or hivemind/tapestry to give me a hand on how to solve this. > > I really need to get it working on 10.1.3 :( > > My best regards > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]