Problem installing HIEOS

  6 posts   Feedicon  
Replies: 5 - Last Post: January 20, 2010 10:35
by: arnoldmad
showing 1 - 6 of 6
 
Posted: January 19, 2010 09:20 by arnoldmad
Hi !

I downloaded HIEOS and installed it as described in your documents (Binary Distribution 1.1). When I try to send a simple Hello message to the registry (with xdstoolkit from NIST) I get the following Exception:

^[[A[#|2010-01-19T10:06:39.643+0100|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-8080-4;|
[ERROR] The endpoint reference (EPR) for the Operation not found is http://192.168.2.155:8080/axis2/services/xdsregistryb and the WSA Action = urn:anonOutInOp
org.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operation not found is http://192.168.2.155:8080/axis2/services/xdsregistryb and the WSA Action = urn:anonOutInOp
at org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:89)
at org.apache.axis2.engine.Phase.invoke(Phase.java:333)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:264)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:163)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:133)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:382)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)
at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)

I also had a look at the axis2 console (http://localhost:8080/axis2/services/listServices) and I could find the xdsbregistry service running and also could get the WSDL:

xdsregistryb

Service EPR : http://192.168.2.155:8080/axis2/services/xdsregistryb
Service Description : xdsregistryb

Service Status : Active
Available Operations
runContentValidationService
DocumentRegistry_PRPA_IN201304UV02
DocumentRegistry_PRPA_IN201302UV02
SubmitObjectsRequest
DocumentRegistry_PRPA_IN201301UV02
AdhocQueryRequest

Anyone knows what could be wrong ?

 
Posted: January 19, 2010 21:55 by adeolaO

Since you can see the service running from the Axis console with the list of operations, it looks like you have the service installed properly. The hello message is not a valid registry operation. Please try running one of the xtest test scenarios as follows:

xtest -run -err -t vsmallpnr (This submits a Provide & Register Document Set-b to the repository and a Register Document Set-b to the registry.

xtest -run -err -t 12004 (This sends a registry stored query transaction to the registry)

Thanks
Adeola Odunlami
 
Posted: January 19, 2010 11:47 by arnoldmad
I tried now to query the registry with a simple query but I get the following:

#|2010-01-19T12:45:57.277+0100|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=16;_ThreadName=httpSSLWorkerThread-8080-1;|[INFO] Start SQ.b : 192.168.2.102 : Address: http://192.168.2.155:8080/axis2/services/xdsregistryb
|#]

[#|2010-01-19T12:45:58.023+0100|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=16;_ThreadName=httpSSLWorkerThread-8080-1;|[INFO] Loading omar properties...
|#]

[#|2010-01-19T12:45:58.058+0100|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=16;_ThreadName=httpSSLWorkerThread-8080-1;|[INFO] dbURL: jdbc:mysql://localhost:3306/omar
|#]

[#|2010-01-19T12:45:58.664+0100|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=16;_ThreadName=httpSSLWorkerThread-8080-1;|[ERROR] Caught exception
com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table 'omar.slot' doesn't exist
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2985)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1631)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723)
at com.mysql.jdbc.Connection.execSQL(Connection.java:3283)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1332)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1467)
at com.mysql.jdbc.jdbc2.optional.PreparedStatementWrapper.executeQuery(PreparedStatementWrapper.java:811)
at org.freebxml.omar.server.persistence.rdb.SlotDAO.getSlotsByParent(SlotDAO.java:85)
at org.freebxml.omar.server.persistence.rdb.IdentifiableDAO.loadObject(IdentifiableDAO.java:283)
at org.freebxml.omar.server.persistence.rdb.RegistryObjectDAO.loadObject(RegistryObjectDAO.java:613)
at org.freebxml.omar.server.persistence.rdb.PersonDAO.loadObject(PersonDAO.java:151)
at org.freebxml.omar.server.persistence.rdb.AbstractDAO.getObjects(AbstractDAO.java:117)
at org.freebxml.omar.server.persistence.rdb.SQLPersistenceManagerImpl.getObjects(SQLPersistenceManagerImpl.java:1114)
at org.freebxml.omar.server.persistence.rdb.SQLPersistenceManagerImpl.executeSQLQuery(SQLPersistenceManagerImpl.java:1003)
at org.freebxml.omar.server.persistence.rdb.SQLPersistenceManagerImpl.getIdentifiablesMatchingQuery(SQLPersistenceManagerImpl.java:1159)
at org.freebxml.omar.server.persistence.rdb.SQLPersistenceManagerImpl.getIdentifiableMatchingQuery(SQLPersistenceManagerImpl.java:1190)
at org.freebxml.omar.server.persistence.rdb.SQLPersistenceManagerImpl.getIdentifiable(SQLPersistenceManagerImpl.java:1281)
at org.freebxml.omar.server.persistence.rdb.SQLPersistenceManagerImpl.getRegistryObject(SQLPersistenceManagerImpl.java:1260)
at org.freebxml.omar.server.security.authentication.AuthenticationServiceImpl.loadPredefinedUsers(AuthenticationServiceImpl.java:475)
at org.freebxml.omar.server.security.authentication.AuthenticationServiceImpl.<init>(AuthenticationServiceImpl.java:96)
at org.freebxml.omar.server.security.authentication.AuthenticationServiceImpl.getInstance(AuthenticationServiceImpl.java:252)
at com.vangent.hieos.xutil.registry.OmarRegistry.<init>(OmarRegistry.java:57)
at com.vangent.hieos.xutil.registry.BackendRegistry.submit_to_backend_registry(BackendRegistry.java:143)
at com.vangent.hieos.xutil.registry.BackendRegistry.basic_query(BackendRegistry.java:131)
at com.vangent.hieos.xutil.registry.BackendRegistry.query(BackendRegistry.java:83)
at com.vangent.hieos.xutil.query.StoredQuery.query(StoredQuery.java:194)
at com.vangent.hieos.services.xds.registry.storedquery.FindSubmissionSets.impl(FindSubmissionSets.java:117)
at com.vangent.hieos.services.xds.registry.storedquery.FindSubmissionSets.run_internal(FindSubmissionSets.java:53)
at com.vangent.hieos.xutil.query.StoredQuery.run(StoredQuery.java:72)
at com.vangent.hieos.services.xds.registry.storedquery.StoredQueryFactory.run(StoredQueryFactory.java:231)
at com.vangent.hieos.services.xds.registry.transactions.AdhocQueryRequest.stored_query(AdhocQueryRequest.java:297)
at com.vangent.hieos.services.xds.registry.transactions.AdhocQueryRequest.AdhocQueryRequestInternal(AdhocQueryRequest.java:204)
at com.vangent.hieos.services.xds.registry.transactions.AdhocQueryRequest.adhocQueryRequest(AdhocQueryRequest.java:102)
at com.vangent.hieos.services.xds.registry.serviceimpl.XDSbRegistry.AdhocQueryRequest(XDSbRegistry.java:101)
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.vangent.hieos.xutil.services.framework.AbstractXDSRawXMLINoutMessageReceiver.invokeBusinessLogic(AbstractXDSRawXMLINoutMessageReceiver.java:102)
at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:100)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:133)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:382)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)
at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
|#]

[#|2010-01-19T12:45:58.665+0100|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=16;_ThreadName=httpSSLWorkerThread-8080-1;|[ERROR] Internal error. Could not load predefined users.
javax.xml.registry.RegistryException: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table 'omar.slot' doesn't exist
at org.freebxml.omar.server.persistence.rdb.SlotDAO.getSlotsByParent(SlotDAO.java:120)
at org.freebxml.omar.server.persistence.rdb.IdentifiableDAO.loadObject(IdentifiableDAO.java:283)
at org.freebxml.omar.server.persistence.rdb.RegistryObjectDAO.loadObject(RegistryObjectDAO.java:613)
at org.freebxml.omar.server.persistence.rdb.PersonDAO.loadObject(PersonDAO.java:151)
at org.freebxml.omar.server.persistence.rdb.AbstractDAO.getObjects(AbstractDAO.java:117)
at org.freebxml.omar.server.persistence.rdb.SQLPersistenceManagerImpl.getObjects(SQLPersistenceManagerImpl.java:1114)
at org.freebxml.omar.server.persistence.rdb.SQLPersistenceManagerImpl.executeSQLQuery(SQLPersistenceManagerImpl.java:1003)
at org.freebxml.omar.server.persistence.rdb.SQLPersistenceManagerImpl.getIdentifiablesMatchingQuery(SQLPersistenceManagerImpl.java:1159)
at org.freebxml.omar.server.persistence.rdb.SQLPersistenceManagerImpl.getIdentifiableMatchingQuery(SQLPersistenceManagerImpl.java:1190)
at org.freebxml.omar.server.persistence.rdb.SQLPersistenceManagerImpl.getIdentifiable(SQLPersistenceManagerImpl.java:1281)
at org.freebxml.omar.server.persistence.rdb.SQLPersistenceManagerImpl.getRegistryObject(SQLPersistenceManagerImpl.java:1260)
at org.freebxml.omar.server.security.authentication.AuthenticationServiceImpl.loadPredefinedUsers(AuthenticationServiceImpl.java:475)
at org.freebxml.omar.server.security.authentication.AuthenticationServiceImpl.<init>(AuthenticationServiceImpl.java:96)
at org.freebxml.omar.server.security.authentication.AuthenticationServiceImpl.getInstance(AuthenticationServiceImpl.java:252)
at com.vangent.hieos.xutil.registry.OmarRegistry.<init>(OmarRegistry.java:57)
at com.vangent.hieos.xutil.registry.BackendRegistry.submit_to_backend_registry(BackendRegistry.java:143)
at com.vangent.hieos.xutil.registry.BackendRegistry.basic_query(BackendRegistry.java:131)
at com.vangent.hieos.xutil.registry.BackendRegistry.query(BackendRegistry.java:83)
at com.vangent.hieos.xutil.query.StoredQuery.query(StoredQuery.java:194)
at com.vangent.hieos.services.xds.registry.storedquery.FindSubmissionSets.impl(FindSubmissionSets.java:117)
at com.vangent.hieos.services.xds.registry.storedquery.FindSubmissionSets.run_internal(FindSubmissionSets.java:53)
at com.vangent.hieos.xutil.query.StoredQuery.run(StoredQuery.java:72)
at com.vangent.hieos.services.xds.registry.storedquery.StoredQueryFactory.run(StoredQueryFactory.java:231)
at com.vangent.hieos.services.xds.registry.transactions.AdhocQueryRequest.stored_query(AdhocQueryRequest.java:297)
at com.vangent.hieos.services.xds.registry.transactions.AdhocQueryRequest.AdhocQueryRequestInternal(AdhocQueryRequest.java:204)
at com.vangent.hieos.services.xds.registry.transactions.AdhocQueryRequest.adhocQueryRequest(AdhocQueryRequest.java:102)
at com.vangent.hieos.services.xds.registry.serviceimpl.XDSbRegistry.AdhocQueryRequest(XDSbRegistry.java:101)
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.vangent.hieos.xutil.services.framework.AbstractXDSRawXMLINoutMessageReceiver.invokeBusinessLogic(AbstractXDSRawXMLINoutMessageReceiver.java:102)
at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:100)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:133)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:382)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)
at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
Caused by: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table 'omar.slot' doesn't exist
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2985)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1631)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723)
at com.mysql.jdbc.Connection.execSQL(Connection.java:3283)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1332)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1467)
at com.mysql.jdbc.jdbc2.optional.PreparedStatementWrapper.executeQuery(PreparedStatementWrapper.java:811)
at org.freebxml.omar.server.persistence.rdb.SlotDAO.getSlotsByParent(SlotDAO.java:85)
... 66 more
|#]

[#|2010-01-19T12:45:58.666+0100|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=16;_ThreadName=httpSSLWorkerThread-8080-1;|[ERROR] ***** Exception in calling Omar (ebxmlrr 3.x) Registry **** null
|#]

[#|2010-01-19T12:45:58.668+0100|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=16;_ThreadName=httpSSLWorkerThread-8080-1;_RequestID=ef9ae394-55e9-4677-ad86-e52e087856ae;|java.lang.reflect.UndeclaredThrowableException
at org.freebxml.omar.server.security.authentication.AuthenticationServiceImpl.<init>(AuthenticationServiceImpl.java:103)
at org.freebxml.omar.server.security.authentication.AuthenticationServiceImpl.getInstance(AuthenticationServiceImpl.java:252)
at com.vangent.hieos.xutil.registry.OmarRegistry.<init>(OmarRegistry.java:57)
at com.vangent.hieos.xutil.registry.BackendRegistry.submit_to_backend_registry(BackendRegistry.java:143)
at com.vangent.hieos.xutil.registry.BackendRegistry.basic_query(BackendRegistry.java:131)
at com.vangent.hieos.xutil.registry.BackendRegistry.query(BackendRegistry.java:83)
at com.vangent.hieos.xutil.query.StoredQuery.query(StoredQuery.java:194)
at com.vangent.hieos.services.xds.registry.storedquery.FindSubmissionSets.impl(FindSubmissionSets.java:117)
at com.vangent.hieos.services.xds.registry.storedquery.FindSubmissionSets.run_internal(FindSubmissionSets.java:53)
at com.vangent.hieos.xutil.query.StoredQuery.run(StoredQuery.java:72)
at com.vangent.hieos.services.xds.registry.storedquery.StoredQueryFactory.run(StoredQueryFactory.java:231)
at com.vangent.hieos.services.xds.registry.transactions.AdhocQueryRequest.stored_query(AdhocQueryRequest.java:297)
at com.vangent.hieos.services.xds.registry.transactions.AdhocQueryRequest.AdhocQueryRequestInternal(AdhocQueryRequest.java:204)
at com.vangent.hieos.services.xds.registry.transactions.AdhocQueryRequest.adhocQueryRequest(AdhocQueryRequest.java:102)
at com.vangent.hieos.services.xds.registry.serviceimpl.XDSbRegistry.AdhocQueryRequest(XDSbRegistry.java:101)
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.vangent.hieos.xutil.services.framework.AbstractXDSRawXMLINoutMessageReceiver.invokeBusinessLogic(AbstractXDSRawXMLINoutMessageReceiver.java:102)
at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:100)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:133)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:382)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)
at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
Caused by: javax.xml.registry.RegistryException: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table 'omar.slot' doesn't exist
at org.freebxml.omar.server.persistence.rdb.SlotDAO.getSlotsByParent(SlotDAO.java:120)
at org.freebxml.omar.server.persistence.rdb.IdentifiableDAO.loadObject(IdentifiableDAO.java:283)
at org.freebxml.omar.server.persistence.rdb.RegistryObjectDAO.loadObject(RegistryObjectDAO.java:613)
at org.freebxml.omar.server.persistence.rdb.PersonDAO.loadObject(PersonDAO.java:151)
at org.freebxml.omar.server.persistence.rdb.AbstractDAO.getObjects(AbstractDAO.java:117)
at org.freebxml.omar.server.persistence.rdb.SQLPersistenceManagerImpl.getObjects(SQLPersistenceManagerImpl.java:1114)
at org.freebxml.omar.server.persistence.rdb.SQLPersistenceManagerImpl.executeSQLQuery(SQLPersistenceManagerImpl.java:1003)
at org.freebxml.omar.server.persistence.rdb.SQLPersistenceManagerImpl.getIdentifiablesMatchingQuery(SQLPersistenceManagerImpl.java:1159)
at org.freebxml.omar.server.persistence.rdb.SQLPersistenceManagerImpl.getIdentifiableMatchingQuery(SQLPersistenceManagerImpl.java:1190)
at org.freebxml.omar.server.persistence.rdb.SQLPersistenceManagerImpl.getIdentifiable(SQLPersistenceManagerImpl.java:1281)
at org.freebxml.omar.server.persistence.rdb.SQLPersistenceManagerImpl.getRegistryObject(SQLPersistenceManagerImpl.java:1260)
at org.freebxml.omar.server.security.authentication.AuthenticationServiceImpl.loadPredefinedUsers(AuthenticationServiceImpl.java:475)
at org.freebxml.omar.server.security.authentication.AuthenticationServiceImpl.<init>(AuthenticationServiceImpl.java:96)
... 54 more
Caused by: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table 'omar.slot' doesn't exist
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2985)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1631)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723)
at com.mysql.jdbc.Connection.execSQL(Connection.java:3283)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1332)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1467)
at com.mysql.jdbc.jdbc2.optional.PreparedStatementWrapper.executeQuery(PreparedStatementWrapper.java:811)
at org.freebxml.omar.server.persistence.rdb.SlotDAO.getSlotsByParent(SlotDAO.java:85)
... 66 more
|#]

[#|2010-01-19T12:45:58.670+0100|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=16;_ThreadName=httpSSLWorkerThread-8080-1;|ERROR: Error parsing response from omar (ebxmlrr 3.x)|#]


I'm using linux and mysql. any suggestions ?
 
Posted: January 19, 2010 11:48 by arnoldmad
btw the tables are all created as described in the docs:

mysql> show tables;
+--------------------+
| Tables_in_omar |
+--------------------+
| slot |
| adhocquery |
| affectedobject |
| association |
| auditableevent |
| classification |
| classificationnode |
| classscheme |
| description |
| emailaddress |
| externalidentifier |
| externallink |
| extrinsicobject |
| federation |
| identifiable |
| name_ |
| notification |
| notificationobject |
| notifyaction |
| objectref |
| organization |
| person |
| postaladdress |
| registry |
| registryobject |
| registrypackage |
| repositoryitem |
| service |
| servicebinding |
| specificationlink |
| subscription |
| telephonenumber |
| usagedescription |
| usageparameter |
| user_ |
+--------------------+
35 rows in set (0.00 sec)
 
Posted: January 19, 2010 22:02 by adeolaO

Please cross check that the user accounts and schema privileges have been properly setup as specified in the installation guide.

Thanks
Adeola Odunlami
 
Posted: January 20, 2010 10:35 by arnoldmad
the problem was that I installed it on linux and mysql and there the table names are case sensitive.
I had to set lower_case_table_names=1 in my.cnf.
showing 1 - 6 of 6
Replies: 5 - Last Post: January 20, 2010 10:35
by: arnoldmad
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120127.ac94057)
 
 
Close
loading
Please Confirm
Close