geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "xiezhi (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GERONIMO-6258) HttpClient classloading problem while deploying ejb application
Date Thu, 23 Feb 2012 06:25:48 GMT

    [ https://issues.apache.org/jira/browse/GERONIMO-6258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13214367#comment-13214367
] 

xiezhi commented on GERONIMO-6258:
----------------------------------

I have deployed your application by transfering the content of openejb-jar.xml to geronimo-application.xml.
But when started the application, I got some exceptions from the server log.

2012-02-23 14:19:44,752 INFO  [config] Configuring Service(id=DefaultStatefulContainer, type=Container,
provider-id=Default Stateful Container)
2012-02-23 14:19:44,753 INFO  [config] Configuring Service(id=DefaultSingletonContainer, type=Container,
provider-id=Default Singleton Container)
2012-02-23 14:19:44,753 INFO  [config] Configuring Service(id=DefaultBMPContainer, type=Container,
provider-id=Default BMP Container)
2012-02-23 14:19:44,754 INFO  [config] Configuring Service(id=DefaultCMPContainer, type=Container,
provider-id=Default CMP Container)
2012-02-23 14:19:44,754 INFO  [config] Configuring Service(id=DefaultManagedContainer, type=Container,
provider-id=Default Managed Container)
2012-02-23 14:19:44,755 INFO  [config] Configuring enterprise application: d:\Test\Server\ce3000frombuildServer\wasce-server-3.0.0.0\bin\default\Test6258EAR\1.0\car
2012-02-23 14:19:44,784 INFO  [OpenEJB] Auto-deploying ejb HelloWorld: EjbDeployment(deployment-id=Test6258.jar/HelloWorld)
2012-02-23 14:19:44,784 INFO  [config] Enterprise application "d:\Test\Server\ce3000frombuildServer\wasce-server-3.0.0.0\bin\default\Test6258EAR\1.0\car"
loaded.
2012-02-23 14:19:47,033 INFO  [SupportedModesServiceImpl] Portlet mode 'edit' not found for
portletId: 'plugin.Deployment!-2135677113|0'
2012-02-23 14:19:48,872 INFO  [SupportedModesServiceImpl] Portlet mode 'edit' not found for
portletId: 'plugin.Deployment!-2135677113|0'
2012-02-23 14:20:04,307 INFO  [SupportedModesServiceImpl] Portlet mode 'edit' not found for
portletId: 'console-base.WARModules!-717254442|0'
2012-02-23 14:20:04,307 INFO  [SupportedModesServiceImpl] Portlet mode 'help' not found for
portletId: 'console-base.WARModules!-717254442|0'
2012-02-23 14:20:06,344 INFO  [SupportedModesServiceImpl] Portlet mode 'edit' not found for
portletId: 'console-base.EARModules!-1281652050|0'
2012-02-23 14:20:06,349 INFO  [SupportedModesServiceImpl] Portlet mode 'help' not found for
portletId: 'console-base.EARModules!-1281652050|0'
2012-02-23 14:20:10,825 INFO  [KernelContextGBean] bound gbean default/Test6258EAR/1.0/car?EJBModule=Test6258.jar,J2EEApplication=default/Test6258EAR/1.0/car,j2eeType=ValidatorFactory,name=ValidatorFactory
at name jca:/default/Test6258EAR/ValidatorFactory/ValidatorFactory
2012-02-23 14:20:10,864 INFO  [startup] Assembling app: d:\Test\Server\ce3000frombuildServer\wasce-server-3.0.0.0\bin\default\Test6258EAR\1.0\car
2012-02-23 14:20:10,868 INFO  [startup] Jndi(name=HelloWorldLocalBean) --> Ejb(deployment-id=Test6258.jar/HelloWorld)
2012-02-23 14:20:10,868 INFO  [startup] Jndi(name=global/Test6258EAR/Test6258/HelloWorld!nl.mic.test.HelloWorld)
--> Ejb(deployment-id=Test6258.jar/HelloWorld)
2012-02-23 14:20:10,869 INFO  [startup] Jndi(name=global/Test6258EAR/Test6258/HelloWorld)
--> Ejb(deployment-id=Test6258.jar/HelloWorld)
2012-02-23 14:20:10,869 INFO  [CdiBuilder] existing thread singleton service in SystemInstance()
org.apache.geronimo.openejb.cdi.ThreadSingletonServiceAdapter@5c285c28
2012-02-23 14:20:10,871 INFO  [startup] Deployed Application(path=d:\Test\Server\ce3000frombuildServer\wasce-server-3.0.0.0\bin\default\Test6258EAR\1.0\car)
2012-02-23 14:20:10,873 INFO  [EjbModuleImpl] createApplication.createdEjbTest6258.jar/HelloWorldHelloWorldDefaultStatelessContainer
2012-02-23 14:20:10,880 INFO  [EjbModuleImpl] createApplication.startedEjbTest6258.jar/HelloWorldHelloWorldDefaultStatelessContainer
2012-02-23 14:20:11,433 INFO  [SupportedModesServiceImpl] Portlet mode 'edit' not found for
portletId: 'console-base.EARModules!-1281652050|0'
2012-02-23 14:20:11,433 INFO  [SupportedModesServiceImpl] Portlet mode 'help' not found for
portletId: 'console-base.EARModules!-1281652050|0'
2012-02-23 14:21:00,873 INFO  [Transaction] TX NotSupported: Suspended transaction org.apache.geronimo.transaction.manager.TransactionImpl@699d699d
2012-02-23 14:21:00,874 ERROR [OpenEJB] The bean instance business method encountered a system
exception: argument type mismatch
java.lang.IllegalArgumentException: argument type mismatch
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
	at java.lang.reflect.Method.invoke(Method.java:611)
	at org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:181)
	at org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:163)
	at org.apache.openejb.monitoring.StatsInterceptor.record(StatsInterceptor.java:174)
	at org.apache.openejb.monitoring.StatsInterceptor.AroundTimeout(StatsInterceptor.java:138)
	at sun.reflect.GeneratedMethodAccessor126.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
	at java.lang.reflect.Method.invoke(Method.java:611)
	at org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:181)
	at org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:163)
	at org.apache.openejb.core.interceptor.InterceptorStack.invoke(InterceptorStack.java:130)
	at org.apache.openejb.core.stateless.StatelessContainer._invoke(StatelessContainer.java:226)
	at org.apache.openejb.core.stateless.StatelessContainer.invoke(StatelessContainer.java:178)
	at org.apache.openejb.core.timer.EjbTimerServiceImpl.ejbTimeout(EjbTimerServiceImpl.java:334)
	at org.apache.openejb.core.timer.EjbTimeoutJob.execute(EjbTimeoutJob.java:39)
	at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
	at java.lang.Thread.run(Thread.java:736)
2012-02-23 14:21:00,915 WARN  [Timer] Exception from ejbTimeout on Test6258.jar/HelloWorld
org.apache.openejb.InvalidateReferenceException: org.apache.openejb.core.transaction.TransactionRolledbackException:
The transaction has been marked rollback only because the bean encountered a non-application
exception :java.lang.IllegalArgumentException : argument type mismatch: The transaction has
been marked rollback only because the bean encountered a non-application exception :java.lang.IllegalArgumentException
: argument type mismatch
	at org.apache.openejb.core.transaction.EjbTransactionUtil.handleSystemException(EjbTransactionUtil.java:148)
	at org.apache.openejb.core.stateless.StatelessContainer._invoke(StatelessContainer.java:238)
	at org.apache.openejb.core.stateless.StatelessContainer.invoke(StatelessContainer.java:178)
	at org.apache.openejb.core.timer.EjbTimerServiceImpl.ejbTimeout(EjbTimerServiceImpl.java:334)
	at org.apache.openejb.core.timer.EjbTimeoutJob.execute(EjbTimeoutJob.java:39)
	at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
	at java.lang.Thread.run(Thread.java:736)
Caused by: org.apache.openejb.core.transaction.TransactionRolledbackException: The transaction
has been marked rollback only because the bean encountered a non-application exception :java.lang.IllegalArgumentException
: argument type mismatch
	at org.apache.openejb.core.transaction.EjbTransactionUtil.handleSystemException(EjbTransactionUtil.java:147)
	... 8 more
Caused by: java.lang.IllegalArgumentException: argument type mismatch
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
	at java.lang.reflect.Method.invoke(Method.java:611)
	at org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:181)
	at org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:163)
	at org.apache.openejb.monitoring.StatsInterceptor.record(StatsInterceptor.java:174)
	at org.apache.openejb.monitoring.StatsInterceptor.AroundTimeout(StatsInterceptor.java:138)
	at sun.reflect.GeneratedMethodAccessor126.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
	at java.lang.reflect.Method.invoke(Method.java:611)
	at org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:181)
	at org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:163)
	at org.apache.openejb.core.interceptor.InterceptorStack.invoke(InterceptorStack.java:130)
	at org.apache.openejb.core.stateless.StatelessContainer._invoke(StatelessContainer.java:226)
	... 7 more
2012-02-23 14:21:01,096 INFO  [Transaction] TX NotSupported: Suspended transaction org.apache.geronimo.transaction.manager.TransactionImpl@67a867a8
2012-02-23 14:21:01,097 ERROR [OpenEJB] The bean instance business method encountered a system
exception: argument type mismatch
java.lang.IllegalArgumentException: argument type mismatch
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
	at java.lang.reflect.Method.invoke(Method.java:611)
	at org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:181)
	at org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:163)
	at org.apache.openejb.monitoring.StatsInterceptor.record(StatsInterceptor.java:174)
	at org.apache.openejb.monitoring.StatsInterceptor.AroundTimeout(StatsInterceptor.java:138)
	at sun.reflect.GeneratedMethodAccessor126.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
	at java.lang.reflect.Method.invoke(Method.java:611)
	at org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:181)
	at org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:163)
	at org.apache.openejb.core.interceptor.InterceptorStack.invoke(InterceptorStack.java:130)
	at org.apache.openejb.core.stateless.StatelessContainer._invoke(StatelessContainer.java:226)
	at org.apache.openejb.core.stateless.StatelessContainer.invoke(StatelessContainer.java:178)
	at org.apache.openejb.core.timer.EjbTimerServiceImpl.ejbTimeout(EjbTimerServiceImpl.java:334)
	at org.apache.openejb.core.timer.EjbTimeoutJob.execute(EjbTimeoutJob.java:39)
	at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
	at java.lang.Thread.run(Thread.java:736)
2012-02-23 14:21:01,155 WARN  [Timer] Exception from ejbTimeout on Test6258.jar/HelloWorld
org.apache.openejb.InvalidateReferenceException: org.apache.openejb.core.transaction.TransactionRolledbackException:
The transaction has been marked rollback only because the bean encountered a non-application
exception :java.lang.IllegalArgumentException : argument type mismatch: The transaction has
been marked rollback only because the bean encountered a non-application exception :java.lang.IllegalArgumentException
: argument type mismatch
	at org.apache.openejb.core.transaction.EjbTransactionUtil.handleSystemException(EjbTransactionUtil.java:148)
	at org.apache.openejb.core.stateless.StatelessContainer._invoke(StatelessContainer.java:238)
	at org.apache.openejb.core.stateless.StatelessContainer.invoke(StatelessContainer.java:178)
	at org.apache.openejb.core.timer.EjbTimerServiceImpl.ejbTimeout(EjbTimerServiceImpl.java:334)
	at org.apache.openejb.core.timer.EjbTimeoutJob.execute(EjbTimeoutJob.java:39)
	at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
	at java.lang.Thread.run(Thread.java:736)
Caused by: org.apache.openejb.core.transaction.TransactionRolledbackException: The transaction
has been marked rollback only because the bean encountered a non-application exception :java.lang.IllegalArgumentException
: argument type mismatch
	at org.apache.openejb.core.transaction.EjbTransactionUtil.handleSystemException(EjbTransactionUtil.java:147)
	... 8 more
Caused by: java.lang.IllegalArgumentException: argument type mismatch
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
	at java.lang.reflect.Method.invoke(Method.java:611)
	at org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:181)
	at org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:163)
	at org.apache.openejb.monitoring.StatsInterceptor.record(StatsInterceptor.java:174)
	at org.apache.openejb.monitoring.StatsInterceptor.AroundTimeout(StatsInterceptor.java:138)
	at sun.reflect.GeneratedMethodAccessor126.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
	at java.lang.reflect.Method.invoke(Method.java:611)
	at org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:181)
	at org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:163)
	at org.apache.openejb.core.interceptor.InterceptorStack.invoke(InterceptorStack.java:130)
	at org.apache.openejb.core.stateless.StatelessContainer._invoke(StatelessContainer.java:226)
	... 7 more
2012-02-23 14:21:01,245 WARN  [Timer] Failed to execute ejbTimeout on Test6258.jar/HelloWorld
successfully within 1 attempts

                
> HttpClient classloading problem while deploying ejb application
> ---------------------------------------------------------------
>
>                 Key: GERONIMO-6258
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6258
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 3.0-beta-1
>         Environment: Windows 64 bit and 32 bit
>            Reporter: Michel Jonker
>         Attachments: geronimo-application.xml, testForClassLoading.zip
>
>
> When I create ejb (or web) applications that contain the latest http client (4.1.2) I
cannot make the application run succesfully on WAS CE 3.0
> Deployment from Eclipse or through the Browser result in the same behaviour.
> I have added the jars through to the repository (The eclipse plugin recognizes them as
such).
> More details can be found here
> http://www.ibm.com/developerworks/forums/thread.jspa?messageID=14775203
> I will also upload a sample eclipse project

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message