juddi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex O'Ree (JIRA)" <juddi-...@ws.apache.org>
Subject [jira] [Commented] (JUDDI-871) Insert empty j3_category_bag
Date Fri, 25 Apr 2014 11:18:14 GMT

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

Alex O'Ree commented on JUDDI-871:
----------------------------------

Dima, you asked on IRC how to publish a service when the server starts. There's a few examples
on how to do this here: http://svn.apache.org/repos/asf/juddi/trunk/juddi-examples/uddi-annotations/

> Insert empty j3_category_bag
> ----------------------------
>
>                 Key: JUDDI-871
>                 URL: https://issues.apache.org/jira/browse/JUDDI-871
>             Project: jUDDI
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.2
>         Environment: wildfly, oracle 11g
>            Reporter: Dima 
>            Assignee: Kurt T Stam
>             Fix For: 3.2.1
>
>
> FailedObject: org.apache.juddi.model.TmodelCategoryBag@1bb202f7
> 	at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.start(UndertowDeploymentService.java:73)
> 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
[jboss-msc-1.2.0.Final.jar:1.2.0.Final]
> 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
[jboss-msc-1.2.0.Final.jar:1.2.0.Final]
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_40]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_40]
> 	at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_40]
> Caused by: javax.servlet.ServletException: <openjpa-2.2.1-r422266:1396819 fatal store
error> org.apache.openjpa.persistence.RollbackException: The transaction has been rolled
back.  See the nested exceptions for details on the errors that occurred.
> FailedObject: org.apache.juddi.model.TmodelCategoryBag@1bb202f7
> 	at org.apache.juddi.servlets.RegistryServlet.init(RegistryServlet.java:50)
> 	at io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start(ManagedServlet.java:208)
> 	at io.undertow.servlet.core.ManagedServlet.createServlet(ManagedServlet.java:116)
> 	at io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:496)
> 	at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:87)
> 	at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.start(UndertowDeploymentService.java:71)
> 	... 5 more
> Caused by: org.apache.commons.configuration.ConfigurationException: <openjpa-2.2.1-r422266:1396819
fatal store error> org.apache.openjpa.persistence.RollbackException: The transaction has
been rolled back.  See the nested exceptions for details on the errors that occurred.
> FailedObject: org.apache.juddi.model.TmodelCategoryBag@1bb202f7
> 	at org.apache.juddi.config.AppConfig.getPersistentConfiguration(AppConfig.java:174)
> 	at org.apache.juddi.config.AppConfig.loadConfiguration(AppConfig.java:147)
> 	at org.apache.juddi.config.AppConfig.<init>(AppConfig.java:87)
> 	at org.apache.juddi.config.AppConfig.getInstance(AppConfig.java:237)
> 	at org.apache.juddi.config.AppConfig.getConfiguration(AppConfig.java:259)
> 	at org.apache.juddi.replication.ReplicationNotifier.<init>(ReplicationNotifier.java:57)
> 	at org.apache.juddi.Registry.start(Registry.java:83)
> 	at org.apache.juddi.servlets.RegistryServlet.init(RegistryServlet.java:46)
> 	... 10 more
> Caused by: <openjpa-2.2.1-r422266:1396819 fatal store error> org.apache.openjpa.persistence.RollbackException:
The transaction has been rolled back.  See the nested exceptions for details on the errors
that occurred.
> FailedObject: org.apache.juddi.model.TmodelCategoryBag@1bb202f7
> 	at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:594)
> 	at org.apache.juddi.config.Install.install(Install.java:138)
> 	at org.apache.juddi.config.AppConfig.getPersistentConfiguration(AppConfig.java:172)
> 	... 17 more
> Caused by: <openjpa-2.2.1-r422266:1396819 fatal general error> org.apache.openjpa.persistence.PersistenceException:
The transaction has been rolled back.  See the nested exceptions for details on the errors
that occurred.
> FailedObject: org.apache.juddi.model.TmodelCategoryBag@1bb202f7
> 	at org.apache.openjpa.kernel.BrokerImpl.newFlushException(BrokerImpl.java:2339)
> 	at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:2176)
> 	at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:2074)
> 	at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1992)
> 	at org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:81)
> 	at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1516)
> 	at org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:933)
> 	at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:570)
> 	... 19 more
> Caused by: <openjpa-2.2.1-r422266:1396819 fatal store error> org.apache.openjpa.persistence.OptimisticLockException:
Unable to obtain an object lock on "org.apache.juddi.model.TmodelCategoryBag@1bb202f7".
> FailedObject: org.apache.juddi.model.TmodelCategoryBag@1bb202f7
> 	at org.apache.openjpa.jdbc.sql.DBDictionary.narrow(DBDictionary.java:4940)
> 	at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:4918)
> 	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:136)
> 	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:78)
> 	at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushAndUpdate(PreparedStatementManagerImpl.java:143)
> 	at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushInternal(PreparedStatementManagerImpl.java:99)
> 	at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flush(PreparedStatementManagerImpl.java:87)
> 	at org.apache.openjpa.jdbc.kernel.OperationOrderUpdateManager.flushPrimaryRow(OperationOrderUpdateManager.java:203)
> 	at org.apache.openjpa.jdbc.kernel.OperationOrderUpdateManager.flush(OperationOrderUpdateManager.java:89)
> 	at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(AbstractUpdateManager.java:105)
> 	at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(AbstractUpdateManager.java:78)
> 	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.flush(JDBCStoreManager.java:735)
> 	at org.apache.openjpa.kernel.DelegatingStoreManager.flush(DelegatingStoreManager.java:131)
> 	... 26 more
> Caused by: org.apache.openjpa.lib.jdbc.ReportingSQLException: ORA-00928: отсутствует
ключевое слово SELECT
>  {prepstmnt 1196389444 INSERT INTO SIRIUS_UDDI.j3_category_bag () VALUES ()} [code=928,
state=42000]
> 	at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:219)
> 	at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:195)
> 	at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.access$1000(LoggingConnectionDecorator.java:59)
> 	at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingPreparedStatement.executeUpdate(LoggingConnectionDecorator.java:1134)
> 	at org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:272)
> 	at org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:272)
> 	at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.executeUpdate(PreparedStatementManagerImpl.java:267)
> 	at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushAndUpdate(PreparedStatementManagerImpl.java:118)
> 	... 34 more



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message