Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[higgins-dev] Cardsync with iPhone Selector

Hello all,

We have a problem using the application Cardsync and iPhone Selector. We have successfully deployed the web application in a unix server and tested it with Azigo Selector and Java direct connection. That works flawlessly without any visible problem.

The problem comes when we try to access to this application through iPhone Selector. When we configure it to access to our server with an existing user I receive this error log through Tomcat Console:



20 May 2010 14:03:03,429 ERROR [TP-Processor14] AuditService.saveUserActivity (AuditService.java:326) - org.hibernate.exception.SQLGrammarException: could not retrieve snapshot: [org.eclipse.higgins.ac.ws.model.entity.UserActivities#urn:uuid:A667590D1EAE5A9F2C1274355279771]

org.hibernate.exception.SQLGrammarException: could not retrieve snapshot: [org.eclipse.higgins.ac.ws.model.entity.UserActivities#urn:uuid:A667590D1EAE5A9F2C1274355279771]
        at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:67)
        at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
        at org.hibernate.persister.entity.AbstractEntityPersister.getDatabaseSnapshot(AbstractEntityPersister.java:1052)
        at org.hibernate.engine.StatefulPersistenceContext.getDatabaseSnapshot(StatefulPersistenceContext.java:246)
        at org.hibernate.engine.ForeignKeys.isTransient(ForeignKeys.java:189)
        at org.hibernate.event.def.AbstractSaveEventListener.getEntityState(AbstractSaveEventListener.java:512)
        at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:80)
        at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70)
        at org.hibernate.impl.SessionImpl.fireSaveOrUpdate(SessionImpl.java:507)
        at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:499)
        at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:495)


org.eclipse.higgins.icard.CardException: org.eclipse.higgins.icard.CardException: org.eclipse.higgins.idas.api.IdASException: Not a valid context ID: <user_home>/.higgins/.icard/xrds/pwmCardContext.xrds
        at org.eclipse.higgins.icard.provider.pwm.IdASBasedPwmCardProvider.getICards(IdASBasedPwmCardProvider.java:236)
        at org.eclipse.higgins.rpps.core.impl.RppsService.getICardsByUser(RppsService.java:2884)
        at org.eclipse.higgins.rpps.core.impl.RppsService.getICardsByUser(RppsService.java:2905)
        at org.eclipse.higgins.rpps.core.impl.RppsService.getICardsAndCategoriesByUser(RppsService.java:2801)
        at org.eclipse.higgins.rpps.webservices.RPPSServiceImpl.getICardsAndCategoriesByUser(RPPSServiceImpl.java:629)
        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.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
        at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
        at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
        at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
        at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
        at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)

Do you know what is this about? How should I configure pwmCardContext.xrds?

I've also seen an error referring to a non existent file named something like ProvidersConfiguration.xml. What is this file and where can I find a sample to fill it?

Thanks for your support.

---
David Campos
Safelayer Secure Communications S.A. Developer
DMAG UPC I+D Researcher

Back to the top