This is a call to
ResourceFactoryManagerLocal.createResource( Subject subject, int serverId, int resourceType, String name, Configuration pluginConfig, String packageName, String version, Integer arch, Configuration config, InputStream is)
Which used to work on 1.3.1 with the h2 database. But it fails in 3.0.0 with an unsupported blob operation.
Not a major issue, but h2 is useful for testing since you can easily throw all the data away and start again. :-)
2010-10-19 09:27:17,441 ERROR [org.rhq.enterprise.server.content.ContentManagerBean] An error occurred while updating Blob with stream for PackageBits[10001], Feature not supported: LOB update [50100-117] 2010-10-19 09:27:17,441 ERROR [STDERR] org.h2.jdbc.JdbcSQLException: Feature not supported: LOB update [50100-117] 2010-10-19 09:27:17,442 ERROR [STDERR] at org.h2.message.Message.getSQLException(Message.java:105) 2010-10-19 09:27:17,442 ERROR [STDERR] at org.h2.message.Message.getSQLException(Message.java:116) 2010-10-19 09:27:17,442 ERROR [STDERR] at org.h2.message.Message.getSQLException(Message.java:75) 2010-10-19 09:27:17,442 ERROR [STDERR] at org.h2.message.Message.getUnsupportedException(Message.java:161) 2010-10-19 09:27:17,442 ERROR [STDERR] at org.h2.jdbc.JdbcBlob.setBinaryStream(JdbcBlob.java:173) 2010-10-19 09:27:17,442 ERROR [STDERR] at org.rhq.enterprise.server.content.ContentManagerBean.updateBlobStream(ContentManagerBean.java:1670) 2010-10-19 09:27:17,442 ERROR [STDERR] at org.rhq.enterprise.server.content.ContentManagerBean.loadPackageBits(ContentManagerBean.java:1612) 2010-10-19 09:27:17,442 ERROR [STDERR] at org.rhq.enterprise.server.content.ContentManagerBean.createPackageVersion(ContentManagerBean.java:1241) 2010-10-19 09:27:17,443 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2010-10-19 09:27:17,443 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 2010-10-19 09:27:17,443 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2010-10-19 09:27:17,443 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597) 2010-10-19 09:27:17,443 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) 2010-10-19 09:27:17,443 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166) 2010-10-19 09:27:17,443 ERROR [STDERR] at org.rhq.enterprise.server.common.TransactionInterruptInterceptor.addCheckedActionToTransactionManager(TransactionInterruptInterceptor.java:77) 2010-10-19 09:27:17,443 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor132.invoke(Unknown Source) 2010-10-19 09:27:17,443 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2010-10-19 09:27:17,443 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597) 2010-10-19 09:27:17,443 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118) 2010-10-19 09:27:17,443 ERROR [STDERR] at org.rhq.enterprise.server.authz.RequiredPermissionsInterceptor.checkRequiredPermissions(RequiredPermissionsInterceptor.java:156) 2010-10-19 09:27:17,443 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor131.invoke(Unknown Source) 2010-10-19 09:27:17,443 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2010-10-19 09:27:17,443 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597) 2010-10-19 09:27:17,443 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118) 2010-10-19 09:27:17,443 ERROR [STDERR] at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63) 2010-10-19 09:27:17,443 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) 2010-10-19 09:27:17,443 ERROR [STDERR] at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54) 2010-10-19 09:27:17,443 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) 2010-10-19 09:27:17,444 ERROR [STDERR] at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) 2010-10-19 09:27:17,444 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) 2010-10-19 09:27:17,444 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79) 2010-10-19 09:27:17,444 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:253) 2010-10-19 09:27:17,444 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) 2010-10-19 09:27:17,444 ERROR [STDERR] at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:95) 2010-10-19 09:27:17,444 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) 2010-10-19 09:27:17,444 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62) 2010-10-19 09:27:17,444 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) 2010-10-19 09:27:17,444 ERROR [STDERR] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77) 2010-10-19 09:27:17,444 ERROR [STDERR] at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:110) 2010-10-19 09:27:17,444 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) 2010-10-19 09:27:17,444 ERROR [STDERR] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46) 2010-10-19 09:27:17,444 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) 2010-10-19 09:27:17,444 ERROR [STDERR] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) 2010-10-19 09:27:17,444 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) 2010-10-19 09:27:17,444 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:240) 2010-10-19 09:27:17,444 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:210) 2010-10-19 09:27:17,444 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:84) 2010-10-19 09:27:17,444 ERROR [STDERR] at $Proxy373.createPackageVersion(Unknown Source) 2010-10-19 09:27:17,445 ERROR [STDERR] at org.rhq.enterprise.server.resource.ResourceFactoryManagerBean.createResource(ResourceFactoryManagerBean.java:526) 2010-10-19 09:27:17,445 ERROR [STDERR] at org.rhq.enterprise.server.resource.ResourceFactoryManagerBean.createResource(ResourceFactoryManagerBean.java:488) 2010-10-19 09:27:17,445 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2010-10-19 09:27:17,445 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 2010-10-19 09:27:17,445 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2010-10-19 09:27:17,445 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597) 2010-10-19 09:27:17,445 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) 2010-10-19 09:27:17,445 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166) 2010-10-19 09:27:17,445 ERROR [STDERR] at org.rhq.enterprise.server.common.TransactionInterruptInterceptor.addCheckedActionToTransactionManager(TransactionInterruptInterceptor.java:77) 2010-10-19 09:27:17,445 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor132.invoke(Unknown Source) 2010-10-19 09:27:17,445 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2010-10-19 09:27:17,445 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597) 2010-10-19 09:27:17,445 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118) 2010-10-19 09:27:17,445 ERROR [STDERR] at org.rhq.enterprise.server.authz.RequiredPermissionsInterceptor.checkRequiredPermissions(RequiredPermissionsInterceptor.java:156) 2010-10-19 09:27:17,445 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor131.invoke(Unknown Source) 2010-10-19 09:27:17,445 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2010-10-19 09:27:17,445 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597) 2010-10-19 09:27:17,445 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118) 2010-10-19 09:27:17,445 ERROR [STDERR] at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63) 2010-10-19 09:27:17,445 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) 2010-10-19 09:27:17,446 ERROR [STDERR] at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54) 2010-10-19 09:27:17,446 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) 2010-10-19 09:27:17,446 ERROR [STDERR] at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) 2010-10-19 09:27:17,446 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) 2010-10-19 09:27:17,446 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79) 2010-10-19 09:27:17,446 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191) 2010-10-19 09:27:17,446 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) 2010-10-19 09:27:17,446 ERROR [STDERR] at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:95) 2010-10-19 09:27:17,446 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) 2010-10-19 09:27:17,446 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62) 2010-10-19 09:27:17,446 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) 2010-10-19 09:27:17,446 ERROR [STDERR] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77) 2010-10-19 09:27:17,446 ERROR [STDERR] at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:110) 2010-10-19 09:27:17,446 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) 2010-10-19 09:27:17,446 ERROR [STDERR] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46) 2010-10-19 09:27:17,446 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) 2010-10-19 09:27:17,446 ERROR [STDERR] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) 2010-10-19 09:27:17,446 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) 2010-10-19 09:27:17,446 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:240) 2010-10-19 09:27:17,446 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:210) 2010-10-19 09:27:17,446 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:84) 2010-10-19 09:27:17,446 ERROR [STDERR] at $Proxy384.createResource(Unknown Source)
On 10/19/2010 05:17 AM, Adrian Brock wrote:
2010-10-19 09:27:17,441 ERROR [org.rhq.enterprise.server.content.ContentManagerBean] An error occurred while updating Blob with stream for PackageBits[10001], Feature not supported: LOB update [50100-117]
There was a similar issue in the bundle subsystem that Jay S. worked around. See:
https://bugzilla.redhat.com/show_bug.cgi?id=618659
I'm not sure if the patch that addressed that issue will also address this one you are seeing. The patch IIRC did not make it into 3.0.0, its currently in master for 4.0.0.
In that bugzilla, note the one comment ( https://bugzilla.redhat.com/show_bug.cgi?id=618659#c2 ) - H2 does not support blob columns.
From: http://groups.google.com/group/h2-database/browse_thread/thread/96a2d8ad8a52...
I think that complained something about Blobs not being supported.
Yes, that's true, this is not supported yet. Thanks a lot for reporting! I will add a feature request for this. Unfortunately I can't tell you when it will be implemented. I'm afraid it's unlikely that it will be implemented this year. Patches are welcome of course!
Yes, Blob/Package support has been repaired in H2. It should be working in head and the next release, it was not backported. -J
On 10/19/2010 8:41 AM, John Mazzitelli wrote:
On 10/19/2010 05:17 AM, Adrian Brock wrote:
2010-10-19 09:27:17,441 ERROR [org.rhq.enterprise.server.content.ContentManagerBean] An error occurred while updating Blob with stream for PackageBits[10001], Feature not supported: LOB update [50100-117]
There was a similar issue in the bundle subsystem that Jay S. worked around. See:
https://bugzilla.redhat.com/show_bug.cgi?id=618659
I'm not sure if the patch that addressed that issue will also address this one you are seeing. The patch IIRC did not make it into 3.0.0, its currently in master for 4.0.0.
In that bugzilla, note the one comment ( https://bugzilla.redhat.com/show_bug.cgi?id=618659#c2 ) - H2 does not support blob columns.
From: http://groups.google.com/group/h2-database/browse_thread/thread/96a2d8ad8a52...
I think that complained something about Blobs not being supported.
Yes, that's true, this is not supported yet. Thanks a lot for reporting! I will add a feature request for this. Unfortunately I can't tell you when it will be implemented. I'm afraid it's unlikely that it will be implemented this year. Patches are welcome of course!
rhq-devel mailing list rhq-devel@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/rhq-devel
rhq-devel@lists.fedorahosted.org