Hi.
I'm having problem creating multiple tmodels.
The error I get is "primary key constraint or unique index identified"
and this is since I'm using wrong keygenerator for my three tmodel xml
files.
I'm not 100% sure how to configur the keygenerator
uddi:www.domain.com:keygenerator when I use multiple tmodels.
Any hints?
My logs and tmodel config follws.
2010-05-21 16:15:42,186 ERROR
[org.apache.juddi.api.impl.UDDIInquiryImpl] - Configuration exception
occurred retrieving: juddi.authenticate.Inquiry
org.apache.commons.configuration.ConfigurationException:
<openjpa-1.2.1-r752877:753278 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.
at
org.apache.juddi.config.AppConfig.getPersistentConfiguration(AppConfig.java:122)
at
org.apache.juddi.config.AppConfig.loadConfiguration(AppConfig.java:95)
at org.apache.juddi.config.AppConfig.<init>(AppConfig.java:62)
at org.apache.juddi.config.AppConfig.getInstance(AppConfig.java:183)
at
org.apache.juddi.config.AppConfig.getConfiguration(AppConfig.java:205)
at
org.apache.juddi.api.impl.UDDIInquiryImpl.isAuthenticated(UDDIInquiryImpl.java:416)
at
org.apache.juddi.api.impl.UDDIInquiryImpl.findBusiness(UDDIInquiryImpl.java:106)
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:597)
at
org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:166)
at
org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:82)
at
org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:55)
at
org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:68)
at
org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
at
org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:106)
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:243)
at
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:104)
at
org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:99)
at
org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:358)
at
org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:187)
at
org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:163)
at
org.apache.cxf.transport.servlet.AbstractCXFServlet.doPost(AbstractCXFServlet.java:141)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:394)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:619)
Caused by: <openjpa-1.2.1-r752877:753278 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.
at
org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:523)
at org.apache.juddi.config.Install.install(Install.java:127)
at
org.apache.juddi.config.AppConfig.getPersistentConfiguration(AppConfig.java:120)
... 42 more
Caused by: <openjpa-1.2.1-r752877:753278 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.
at
org.apache.openjpa.kernel.BrokerImpl.newFlushException(BrokerImpl.java:2163)
at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:2010)
at
org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1908)
at
org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1826)
at
org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:81)
at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1350)
at
org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:877)
at
org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:512)
... 44 more
Caused by: <openjpa-1.2.1-r752877:753278 nonfatal store error>
org.apache.openjpa.persistence.EntityExistsException: The statement
was aborted because it would have caused a duplicate key value in a
unique or primary key constraint or unique index identified by
'SQL100521161357900' defined on 'J3_UDDI_ENTITY'. {prepstmnt 10073775
INSERT INTO j3_uddi_entity (entity_key, authorized_name, created,
modified, modified_including_children, node_id) VALUES (?, ?, ?, ?, ?,
?) [params=(String) uddi:www.siminn.is:keygenerator, (String) ice,
(Timestamp) 2010-05-21 16:15:40.539, (Timestamp) 2010-05-21
16:15:40.539, (Timestamp) 2010-05-21 16:15:40.539, (String)
uddi:juddi.apache.org:business-sales-asf]} [code=20000, state=23505]
FailedObject: org.apache.juddi.model.tmo...@b2d899
at
org.apache.openjpa.jdbc.sql.DBDictionary.narrow(DBDictionary.java:4224)
at
org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:4197)
at
org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:102)
at
org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:72)
at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushAndUpdate(PreparedStatementManagerImpl.java:131)
at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushInternal(PreparedStatementManagerImpl.java:89)
at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flush(PreparedStatementManagerImpl.java:72)
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:89)
at
org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(AbstractUpdateManager.java:72)
at
org.apache.openjpa.jdbc.kernel.JDBCStoreManager.flush(JDBCStoreManager.java:717)
at
org.apache.openjpa.kernel.DelegatingStoreManager.flush(DelegatingStoreManager.java:130)
... 51 more
Caused by: org.apache.openjpa.lib.jdbc.ReportingSQLException: The
statement was aborted because it would have caused a duplicate key
value in a unique or primary key constraint or unique index identified
by 'SQL100521161357900' defined on 'J3_UDDI_ENTITY'. {prepstmnt
10073775 INSERT INTO j3_uddi_entity (entity_key, authorized_name,
created, modified, modified_including_children, node_id) VALUES (?, ?,
?, ?, ?, ?) [params=(String) uddi:www.siminn.is:keygenerator, (String)
ice, (Timestamp) 2010-05-21 16:15:40.539, (Timestamp) 2010-05-21
16:15:40.539, (Timestamp) 2010-05-21 16:15:40.539, (String)
uddi:juddi.apache.org:business-sales-asf]} [code=20000, state=23505]
at
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:192)
at
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.access$700(LoggingConnectionDecorator.java:57)
at
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingPreparedStatement.executeUpdate(LoggingConnectionDecorator.java:866)
at
org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:269)
at
org.apache.openjpa.jdbc.kernel.JDBCStoreManager$CancelPreparedStatement.executeUpdate(JDBCStoreManager.java:1586)
at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.executeUpdate(PreparedStatementManagerImpl.java:151)
at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushAndUpdate(PreparedStatementManagerImpl.java:120)
... 59 more
2010-05-21 16:15:42,438 INFO [org.apache.juddi.config.Install] -
Loading the content of file:
file:/opt/juddi-portal-bundle-3.0.2/webapps/juddiv3/WEB-INF/classes/juddi_custom_install_data/icms_BusinessEntity.xml
2010-05-21 16:15:42,657 ERROR
[org.apache.juddi.portlets.server.service.FindServiceImpl] - Could not
obtain token. null
java.lang.NullPointerException
at
org.apache.juddi.portlets.server.service.FindServiceImpl.getBusinesses(FindServiceImpl.java:78)
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:597)
at
com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:527)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:164)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:421)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:619)
2010-05-21 16:15:42,692 INFO [org.apache.juddi.config.Install] -
Loading the content of file:
file:/opt/juddi-portal-bundle-3.0.2/webapps/juddiv3/WEB-INF/classes/juddi_custom_install_data/icms_Publisher.xml
2010-05-21 16:15:42,782 INFO [org.apache.juddi.config.Install] -
Loading the content of file:
file:/opt/juddi-portal-bundle-3.0.2/webapps/juddiv3/WEB-INF/classes/juddi_custom_install_data/icms_tModels.xml
2010-05-21 16:15:42,887 INFO [org.apache.juddi.config.Install] -
Loading the content of file:
file:/opt/juddi-portal-bundle-3.0.2/webapps/juddiv3/WEB-INF/classes/juddi_custom_install_data/UDDI_Publisher.xml
2010-05-21 16:15:43,003 INFO [org.apache.juddi.config.Install] -
Loading the content of file:
file:/opt/juddi-portal-bundle-3.0.2/webapps/juddiv3/WEB-INF/classes/juddi_custom_install_data/UDDI_tModels.xml
2010-05-21 16:15:43,791 ERROR
[org.apache.juddi.api.impl.UDDIInquiryImpl] - Configuration exception
occurred retrieving: juddi.authenticate.Inquiry
org.apache.commons.configuration.ConfigurationException:
<openjpa-1.2.1-r752877:753278 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.
at
org.apache.juddi.config.AppConfig.getPersistentConfiguration(AppConfig.java:122)
at
org.apache.juddi.config.AppConfig.loadConfiguration(AppConfig.java:95)
at org.apache.juddi.config.AppConfig.<init>(AppConfig.java:62)
at org.apache.juddi.config.AppConfig.getInstance(AppConfig.java:183)
at
org.apache.juddi.config.AppConfig.getConfiguration(AppConfig.java:205)
at
org.apache.juddi.api.impl.UDDIInquiryImpl.isAuthenticated(UDDIInquiryImpl.java:416)
at
org.apache.juddi.api.impl.UDDIInquiryImpl.findBusiness(UDDIInquiryImpl.java:106)
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:597)
at
org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:166)
at
org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:82)
at
org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:55)
at
org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:68)
at
org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
at
org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:106)
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:243)
at
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:104)
at
org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:99)
at
org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:358)
at
org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:187)
at
org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:163)
at
org.apache.cxf.transport.servlet.AbstractCXFServlet.doPost(AbstractCXFServlet.java:141)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:394)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:619)
Caused by: <openjpa-1.2.1-r752877:753278 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.
at
org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:523)
at org.apache.juddi.config.Install.install(Install.java:127)
at
org.apache.juddi.config.AppConfig.getPersistentConfiguration(AppConfig.java:120)
... 42 more
Caused by: <openjpa-1.2.1-r752877:753278 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.
at
org.apache.openjpa.kernel.BrokerImpl.newFlushException(BrokerImpl.java:2163)
at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:2010)
at
org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1908)
at
org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1826)
at
org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:81)
at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1350)
at
org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:877)
at
org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:512)
... 44 more
Caused by: <openjpa-1.2.1-r752877:753278 nonfatal store error>
org.apache.openjpa.persistence.EntityExistsException: The statement
was aborted because it would have caused a duplicate key value in a
unique or primary key constraint or unique index identified by
'SQL100521161357900' defined on 'J3_UDDI_ENTITY'. {prepstmnt 21601921
INSERT INTO j3_uddi_entity (entity_key, authorized_name, created,
modified, modified_including_children, node_id) VALUES (?, ?, ?, ?, ?,
?) [params=(String) uddi:www.siminn.is:keygenerator, (String) ice,
(Timestamp) 2010-05-21 16:15:42.435, (Timestamp) 2010-05-21
16:15:42.435, (Timestamp) 2010-05-21 16:15:42.435, (String)
uddi:juddi.apache.org:business-sales-asf]} [code=20000, state=23505]
FailedObject: org.apache.juddi.model.tmo...@16f8b22
at
org.apache.openjpa.jdbc.sql.DBDictionary.narrow(DBDictionary.java:4224)
at
org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:4197)
at
org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:102)
at
org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:72)
at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushAndUpdate(PreparedStatementManagerImpl.java:131)
at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushInternal(PreparedStatementManagerImpl.java:89)
at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flush(PreparedStatementManagerImpl.java:72)
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:89)
at
org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(AbstractUpdateManager.java:72)
at
org.apache.openjpa.jdbc.kernel.JDBCStoreManager.flush(JDBCStoreManager.java:717)
at
org.apache.openjpa.kernel.DelegatingStoreManager.flush(DelegatingStoreManager.java:130)
... 51 more
Caused by: org.apache.openjpa.lib.jdbc.ReportingSQLException: The
statement was aborted because it would have caused a duplicate key
value in a unique or primary key constraint or unique index identified
by 'SQL100521161357900' defined on 'J3_UDDI_ENTITY'. {prepstmnt
21601921 INSERT INTO j3_uddi_entity (entity_key, authorized_name,
created, modified, modified_including_children, node_id) VALUES (?, ?,
?, ?, ?, ?) [params=(String) uddi:www.siminn.is:keygenerator, (String)
ice, (Timestamp) 2010-05-21 16:15:42.435, (Timestamp) 2010-05-21
16:15:42.435, (Timestamp) 2010-05-21 16:15:42.435, (String)
uddi:juddi.apache.org:business-sales-asf]} [code=20000, state=23505]
at
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:192)
at
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.access$700(LoggingConnectionDecorator.java:57)
at
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingPreparedStatement.executeUpdate(LoggingConnectionDecorator.java:866)
at
org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:269)
at
org.apache.openjpa.jdbc.kernel.JDBCStoreManager$CancelPreparedStatement.executeUpdate(JDBCStoreManager.java:1586)
at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.executeUpdate(PreparedStatementManagerImpl.java:151)
at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushAndUpdate(PreparedStatementManagerImpl.java:120)
... 59 more
2010-05-21 16:15:43,804 ERROR
[org.apache.juddi.portlets.server.service.FindServiceImpl] - Could not
obtain token. null
java.lang.NullPointerException
at
org.apache.juddi.portlets.server.service.FindServiceImpl.getBusinesses(FindServiceImpl.java:78)
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:597)
at
com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:527)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:164)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:421)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:619)
2010-05-21 16:15:47,165 INFO [org.apache.juddi.config.AppConfig] -
Reading from properties file:
file:/opt/juddi-portal-bundle-3.0.2/webapps/juddiv3/WEB-INF/classes/juddiv3.properties
2010-05-21 16:15:47,167 INFO [org.apache.juddi.config.AppConfig] - The
'root' publisher was not found, loading...
2010-05-21 16:15:47,168 INFO [org.apache.juddi.config.Install] -
Loading the content of file:
file:/opt/juddi-portal-bundle-3.0.2/webapps/juddiv3/WEB-INF/classes/juddi_custom_install_data/root_tModelKeyGen.xml
2010-05-21 16:15:47,259 INFO [org.apache.juddi.config.Install] -
Loading the content of file:
file:/opt/juddi-portal-bundle-3.0.2/webapps/juddiv3/WEB-INF/classes/juddi_custom_install_data/root_BusinessEntity.xml
2010-05-21 16:15:47,346 INFO [org.apache.juddi.config.Install] -
Loading the root Publisher from file root_Publisher.xml
2010-05-21 16:15:47,346 INFO [org.apache.juddi.config.Install] -
Loading the content of file:
file:/opt/juddi-portal-bundle-3.0.2/webapps/juddiv3/WEB-INF/classes/juddi_custom_install_data/root_Publisher.xml
2010-05-21 16:15:47,434 INFO [org.apache.juddi.config.Install] -
Loading the content of file:
file:/opt/juddi-portal-bundle-3.0.2/webapps/juddiv3/WEB-INF/classes/juddi_custom_install_data/disa_BusinessEntity.xml
2010-05-21 16:15:47,519 INFO [org.apache.juddi.config.Install] -
Loading the content of file:
file:/opt/juddi-portal-bundle-3.0.2/webapps/juddiv3/WEB-INF/classes/juddi_custom_install_data/disa_Publisher.xml
2010-05-21 16:15:47,610 INFO [org.apache.juddi.config.Install] -
Loading the content of file:
file:/opt/juddi-portal-bundle-3.0.2/webapps/juddiv3/WEB-INF/classes/juddi_custom_install_data/disa_tModels.xml
2010-05-21 16:15:47,697 INFO [org.apache.juddi.config.Install] -
Loading the content of file:
file:/opt/juddi-portal-bundle-3.0.2/webapps/juddiv3/WEB-INF/classes/juddi_custom_install_data/actserver_BusinessEntity.xml
2010-05-21 16:15:47,781 INFO [org.apache.juddi.config.Install] -
Loading the content of file:
file:/opt/juddi-portal-bundle-3.0.2/webapps/juddiv3/WEB-INF/classes/juddi_custom_install_data/actserver_Publisher.xml
2010-05-21 16:15:47,866 INFO [org.apache.juddi.config.Install] -
Loading the content of file:
file:/opt/juddi-portal-bundle-3.0.2/webapps/juddiv3/WEB-INF/classes/juddi_custom_install_data/actserver_tModels.xml
2010-05-21 16:15:47,955 INFO [org.apache.juddi.config.Install] -
Loading the content of file:
file:/opt/juddi-portal-bundle-3.0.2/webapps/juddiv3/WEB-INF/classes/juddi_custom_install_data/icms_BusinessEntity.xml
2010-05-21 16:15:48,045 INFO [org.apache.juddi.config.Install] -
Loading the content of file:
file:/opt/juddi-portal-bundle-3.0.2/webapps/juddiv3/WEB-INF/classes/juddi_custom_install_data/icms_Publisher.xml
2010-05-21 16:15:48,166 INFO [org.apache.juddi.config.Install] -
Loading the content of file:
file:/opt/juddi-portal-bundle-3.0.2/webapps/juddiv3/WEB-INF/classes/juddi_custom_install_data/icms_tModels.xml
2010-05-21 16:15:48,266 INFO [org.apache.juddi.config.Install] -
Loading the content of file:
file:/opt/juddi-portal-bundle-3.0.2/webapps/juddiv3/WEB-INF/classes/juddi_custom_install_data/UDDI_Publisher.xml
2010-05-21 16:15:48,390 INFO [org.apache.juddi.config.Install] -
Loading the content of file:
file:/opt/juddi-portal-bundle-3.0.2/webapps/juddiv3/WEB-INF/classes/juddi_custom_install_data/UDDI_tModels.xml
2010-05-21 16:15:49,155 ERROR
[org.apache.juddi.api.impl.UDDIInquiryImpl] - Configuration exception
occurred retrieving: juddi.authenticate.Inquiry
org.apache.commons.configuration.ConfigurationException:
<openjpa-1.2.1-r752877:753278 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.
at
org.apache.juddi.config.AppConfig.getPersistentConfiguration(AppConfig.java:122)
at
org.apache.juddi.config.AppConfig.loadConfiguration(AppConfig.java:95)
at org.apache.juddi.config.AppConfig.<init>(AppConfig.java:62)
at org.apache.juddi.config.AppConfig.getInstance(AppConfig.java:183)
at
org.apache.juddi.config.AppConfig.getConfiguration(AppConfig.java:205)
at
org.apache.juddi.api.impl.UDDIInquiryImpl.isAuthenticated(UDDIInquiryImpl.java:416)
at
org.apache.juddi.api.impl.UDDIInquiryImpl.findBusiness(UDDIInquiryImpl.java:106)
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:597)
at
org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:166)
at
org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:82)
at
org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:55)
at
org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:68)
at
org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
at
org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:106)
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:243)
at
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:104)
at
org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:99)
at
org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:358)
at
org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:187)
at
org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:163)
at
org.apache.cxf.transport.servlet.AbstractCXFServlet.doPost(AbstractCXFServlet.java:141)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:394)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:619)
Caused by: <openjpa-1.2.1-r752877:753278 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.
at
org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:523)
at org.apache.juddi.config.Install.install(Install.java:127)
at
org.apache.juddi.config.AppConfig.getPersistentConfiguration(AppConfig.java:120)
... 42 more
Caused by: <openjpa-1.2.1-r752877:753278 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.
at
org.apache.openjpa.kernel.BrokerImpl.newFlushException(BrokerImpl.java:2163)
at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:2010)
at
org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1908)
at
org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1826)
at
org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:81)
at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1350)
at
org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:877)
at
org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:512)
... 44 more
Caused by: <openjpa-1.2.1-r752877:753278 nonfatal store error>
org.apache.openjpa.persistence.EntityExistsException: The statement
was aborted because it would have caused a duplicate key value in a
unique or primary key constraint or unique index identified by
'SQL100521161357900' defined on 'J3_UDDI_ENTITY'. {prepstmnt 1838192
INSERT INTO j3_uddi_entity (entity_key, authorized_name, created,
modified, modified_including_children, node_id) VALUES (?, ?, ?, ?, ?,
?) [params=(String) uddi:www.siminn.is:keygenerator, (String) ice,
(Timestamp) 2010-05-21 16:15:47.953, (Timestamp) 2010-05-21
16:15:47.953, (Timestamp) 2010-05-21 16:15:47.953, (String)
uddi:juddi.apache.org:business-sales-asf]} [code=20000, state=23505]
FailedObject: org.apache.juddi.model.tmo...@11dd546
at
org.apache.openjpa.jdbc.sql.DBDictionary.narrow(DBDictionary.java:4224)
at
org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:4197)
at
org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:102)
at
org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:72)
at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushAndUpdate(PreparedStatementManagerImpl.java:131)
at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushInternal(PreparedStatementManagerImpl.java:89)
at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flush(PreparedStatementManagerImpl.java:72)
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:89)
at
org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(AbstractUpdateManager.java:72)
at
org.apache.openjpa.jdbc.kernel.JDBCStoreManager.flush(JDBCStoreManager.java:717)
at
org.apache.openjpa.kernel.DelegatingStoreManager.flush(DelegatingStoreManager.java:130)
... 51 more
Caused by: org.apache.openjpa.lib.jdbc.ReportingSQLException: The
statement was aborted because it would have caused a duplicate key
value in a unique or primary key constraint or unique index identified
by 'SQL100521161357900' defined on 'J3_UDDI_ENTITY'. {prepstmnt
1838192 INSERT INTO j3_uddi_entity (entity_key, authorized_name,
created, modified, modified_including_children, node_id) VALUES (?, ?,
?, ?, ?, ?) [params=(String) uddi:www.siminn.is:keygenerator, (String)
ice, (Timestamp) 2010-05-21 16:15:47.953, (Timestamp) 2010-05-21
16:15:47.953, (Timestamp) 2010-05-21 16:15:47.953, (String)
uddi:juddi.apache.org:business-sales-asf]} [code=20000, state=23505]
at
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:192)
at
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.access$700(LoggingConnectionDecorator.java:57)
at
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingPreparedStatement.executeUpdate(LoggingConnectionDecorator.java:866)
at
org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:269)
at
org.apache.openjpa.jdbc.kernel.JDBCStoreManager$CancelPreparedStatement.executeUpdate(JDBCStoreManager.java:1586)
at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.executeUpdate(PreparedStatementManagerImpl.java:151)
at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushAndUpdate(PreparedStatementManagerImpl.java:120)
... 59 more
2010-05-21 16:15:49,164 ERROR
[org.apache.juddi.portlets.server.service.FindServiceImpl] - Could not
obtain token. null
java.lang.NullPointerException
at
org.apache.juddi.portlets.server.service.FindServiceImpl.getBusinesses(FindServiceImpl.java:78)
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:597)
at
com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:527)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:164)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:421)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:619)
gu...@nibbler:/opt/juddi/webapps/juddiv3/WEB-INF/classes/juddi_custom_install_data$
grep "siminn" *.xml
actserver_BusinessEntity.xml:<businessEntity
xmlns="urn:uddi-org:api_v3"
xmlns:xml="http://www.w3.org/XML/1998/namespace"
businessKey="uddi:www.siminn.is:act-provisioning-siminn">
actserver_tModels.xml: <tModel
tModelKey="uddi:www.siminn.is:keygenerator" xmlns="urn:uddi-org:api_v3">
actserver_tModels.xml: <name>www-siminn-is:keyGenerator</name>
actserver_tModels.xml: <tModel
tModelKey="uddi:actserver-subs.siminn.is:keygenerator"
xmlns="urn:uddi-org:api_v3">
actserver_tModels.xml:
<name>www-siminn-is:subscription:keyGenerator</name>
disa_BusinessEntity.xml:<businessEntity xmlns="urn:uddi-org:api_v3"
xmlns:xml="http://www.w3.org/XML/1998/namespace"
businessKey="uddi:www.siminn.is:disa-provisioning-siminn">
disa_tModels.xml: <tModel
tModelKey="uddi:www.siminn.is:keygenerator" xmlns="urn:uddi-org:api_v3">
disa_tModels.xml: <name>www-siminn-is:keyGenerator</name>
disa_tModels.xml: <tModel
tModelKey="uddi:icms-subs.siminn.is:keygenerator"
xmlns="urn:uddi-org:api_v3">
disa_tModels.xml:
<name>www-siminn-is:subscription:keyGenerator</name>
icms_BusinessEntity.xml:<businessEntity xmlns="urn:uddi-org:api_v3"
xmlns:xml="http://www.w3.org/XML/1998/namespace"
businessKey="uddi:www.siminn.is:icms-billing-siminn">
icms_tModels.xml: <tModel
tModelKey="uddi:www.siminn.is:keygenerator" xmlns="urn:uddi-org:api_v3">
icms_tModels.xml: <name>www-siminn-is:keyGenerator</name>
icms_tModels.xml: <tModel
tModelKey="uddi:icms-subs.siminn.is:keygenerator"
xmlns="urn:uddi-org:api_v3">
icms_tModels.xml:
<name>www-siminn-is:subscription:keyGenerator</name>
Thanks.
-Gunnlaugur
--
Kveðja/Regards
Gunnlaugur Sigurðsson
gunnlaugur...@gmail.com <mailto:gunnlaugur...@gmail.com>
Mobile: (+354) 896-7963
Home: (+354) 565-5229