[jboss-user] [JBoss Portal] - Re: WARN [JDBCExceptionReporter] SQL Error: 0, SQLState: 01

cry4dawn do-not-reply at jboss.com
Wed Oct 10 17:45:38 EDT 2007


I am getting the same problem using oracle 9i

the cuased by is:

Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: Couldn't create Consumer 'MyProducer'
        at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:178)
        at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:169)
        at org.jboss.portal.wsrp.deployment.WSRPDeployer.init(WSRPDeployer.java:108)
        ... 129 more
Caused by: org.jboss.portal.wsrp.consumer.ConsumerException: Couldn't create Consumer 'MyProducer'
        at org.jboss.portal.wsrp.consumer.ConsumerRegistryService.org$jboss$portal$wsrp$consumer$ConsumerRegistryService$createConsumer$aop(Consu
merRegistryService.java:99)
        at org.jboss.portal.wsrp.consumer.ConsumerRegistryService$createConsumer_N7833998178913983332.invokeNext(ConsumerRegistryService$createCo
nsumer_N7833998178913983332.java)
        at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
        at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
        at org.jboss.portal.wsrp.consumer.ConsumerRegistryService$createConsumer_N7833998178913983332.invokeNext(ConsumerRegistryService$createCo
nsumer_N7833998178913983332.java)
        at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
        at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
        at org.jboss.portal.wsrp.consumer.ConsumerRegistryService$createConsumer_N7833998178913983332.invokeNext(ConsumerRegistryService$createCo
nsumer_N7833998178913983332.java)
        at org.jboss.portal.wsrp.consumer.ConsumerRegistryService.createConsumer(ConsumerRegistryService.java)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
        at $Proxy83.createConsumer(Unknown Source)
        at org.jboss.portal.wsrp.deployment.WSRPDeploymentFactory.newChild(WSRPDeploymentFactory.java:172)
        at org.jboss.portal.wsrp.deployment.WSRPDeploymentFactory.newChild(WSRPDeploymentFactory.java:80)
        at org.jboss.xb.binding.ObjectModelBuilder.startElement(ObjectModelBuilder.java:322)
        at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.startElement(SaxJBossXBParser.java:323)
        at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
        at org.apache.xerces.xinclude.XIncludeHandler.startElement(Unknown Source)
        at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)
        at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
        at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:174)
        ... 131 more
Caused by: org.hibernate.exception.SQLGrammarException: could not get next sequence value
        at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:67)
        at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
        at org.hibernate.id.SequenceGenerator.generate(SequenceGenerator.java:96)
        at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:99)
        at org.hibernate.event.def.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:131)
        at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:87)
        at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:38)
        at org.hibernate.impl.SessionImpl.firePersist(SessionImpl.java:618)
        at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:592)
        at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:596)
        at org.jboss.portal.wsrp.consumer.ConsumerRegistryService.org$jboss$portal$wsrp$consumer$ConsumerRegistryService$createConsumer$aop(Consu
merRegistryService.java:95)
        ... 169 more

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093746#4093746

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4093746



More information about the jboss-user mailing list