[Geoserver-users] geoserver consider that my featureStore is readonly !! but it is not...

hi again,

i try to make wfs-T request, but geoserver tells me that my feature store is read-only :
15 oct. 16:29:55 WARN [geoserver.ows] -
org.geoserver.wfs.WFSTransactionException: {http://…}myObject is read-only
        at org.geoserver.wfs.Transaction.execute(Transaction.java:267)
        at org.geoserver.wfs.Transaction.transaction(Transaction.java:104)
        at org.geoserver.wfs.DefaultWebFeatureService.transaction(DefaultWebFeatureService.java:156)
        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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:292)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:155)

I did not lock any transaction.
where can i tell it that it is not read-only !!

thank you.

--
Sébastien Geindre
DPREVI/AERO/DEV
sebastien.geindre __at__ meteo.fr

Sébastien Geindre ha scritto:

hi again,

i try to make wfs-T request, but geoserver tells me that my feature store is read-only :
15 oct. 16:29:55 WARN [geoserver.ows] -
org.geoserver.wfs.WFSTransactionException: {http://…}myObject is read-only
        at org.geoserver.wfs.Transaction.execute(Transaction.java:267)
        at org.geoserver.wfs.Transaction.transaction(Transaction.java:104)
        at org.geoserver.wfs.DefaultWebFeatureService.transaction(DefaultWebFeatureService.java:156)
        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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:292)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:155)

I did not lock any transaction.
where can i tell it that it is not read-only !!

Usually the issue is that the table lacks a primary key. We cannot treat
records without a primary key as updatable because we cannot refer back
to them in a stable way. Is this your case?
Cheers
Andrea

Andrea Aime a écrit :

Sébastien Geindre ha scritto:

hi again,

i try to make wfs-T request, but geoserver tells me that my feature store is read-only :
15 oct. 16:29:55 WARN [geoserver.ows] -
org.geoserver.wfs.WFSTransactionException: {http://…}myObject is read-only
        at org.geoserver.wfs.Transaction.execute(Transaction.java:267)
        at org.geoserver.wfs.Transaction.transaction(Transaction.java:104)
        at org.geoserver.wfs.DefaultWebFeatureService.transaction(DefaultWebFeatureService.java:156)

        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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:292)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:155)

I did not lock any transaction.
where can i tell it that it is not read-only !!

Usually the issue is that the table lacks a primary key. We cannot treat
records without a primary key as updatable because we cannot refer back
to them in a stable way. Is this your case?

yes it is, it was...
i was changing my primary key.
thank andrea !!!

Cheers
Andrea

--
Sébastien Geindre
DPREVI/AERO/DEV
sebastien.geindre __at__ meteo.fr