asseteditstatus.xml.tmp.xml (No such file or directory)

17 views
Skip to first unread message

fa...@appnovation.com

unread,
Jun 29, 2018, 5:37:43 PM6/29/18
to EnterMedia
Got an error message: 
org.openedit.repository.RepositoryException: /opt/entermediadb/webapp/WEB-INF/data/assets/catalog/lists/asseteditstatus.xml.tmp.xml (No such file or directory)
        at org.openedit.repository.filesystem.FileRepository.moveFiles(FileRepository.java:234)
        at org.openedit.repository.filesystem.FileRepository.move(FileRepository.java:165)
        at org.openedit.repository.filesystem.FileRepository.move(FileRepository.java:370)
        at org.openedit.repository.CompoundRepository.move(CompoundRepository.java:116)
        at org.openedit.xml.XmlArchive.saveXml(XmlArchive.java:187)
        at org.openedit.xml.XmlSearcher.saveData(XmlSearcher.java:497)
        at org.entermediadb.elasticsearch.searchers.ElasticListSearcher.saveData(ElasticListSearcher.java:235)
        at org.entermediadb.asset.mediadb.BaseJsonModule.populateJsonData(BaseJsonModule.java:289)
        at org.entermediadb.asset.mediadb.JsonAssetModule.updateAsset(JsonAssetModule.java:250)
        at sun.reflect.GeneratedMethodAccessor56.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.openedit.ModuleManager.execMethod(ModuleManager.java:107)
        at org.openedit.ModuleManager.executePageAction(ModuleManager.java:61)
        at org.openedit.ModuleManager.executePathActions(ModuleManager.java:184)
        at org.openedit.servlet.BaseOpenEditEngine.executePathActions(BaseOpenEditEngine.java:237)
        at org.openedit.servlet.BaseOpenEditEngine.beginRender(BaseOpenEditEngine.java:153)
        at org.openedit.servlet.BaseOpenEditEngine.render(BaseOpenEditEngine.java:122)
        at org.openedit.servlet.OpenEditFilter.doFilter(OpenEditFilter.java:79)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:784)
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:768)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455)
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.lang.Thread.run(Thread.java:748)

Anyone have seen this?


Thanks,
Fang

Ian Miller

unread,
Jun 29, 2018, 5:44:24 PM6/29/18
to enter...@googlegroups.com
Looks like the entermedia user doesn't have write permissions to your data folders at a glance

--
You received this message because you are subscribed to the Google Groups "EnterMedia" group.
To unsubscribe from this group and stop receiving emails from it, send an email to entermedia+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Fang Xu

unread,
Jun 29, 2018, 5:54:41 PM6/29/18
to enter...@googlegroups.com
Not the permission issue. The user has the write permission. 

-rw-r-----. 1 entermedia entermedia  963 Jun 29 21:44 asseteditstatus.xml
drwxr-x---. 2 entermedia entermedia 4096 Dec 12  2017 catalogsettings
drwxr-x---. 2 entermedia entermedia 4096 Jun  7 17:50 convertpreset
-rw-r-----. 1 entermedia entermedia 1289 Jun  7 06:12 language.xml
drwxr-x---. 2 entermedia entermedia 4096 Jan 19 13:02 module
drwxr-x---. 2 entermedia entermedia 4096 Apr 16 18:06 presetdata
drwxr-x---. 2 entermedia entermedia 4096 May  3 17:20 presetparameter
-rw-r-----. 1 entermedia entermedia 3473 May  1 21:35 settingsgroup.xml
drwxr-x---. 2 entermedia entermedia 4096 Apr 18 16:58 theme
drwxr-x---. 2 entermedia entermedia 4096 Jun 26 11:49 view


Thanks

To unsubscribe from this group and stop receiving emails from it, send an email to entermedia+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "EnterMedia" group.
To unsubscribe from this group and stop receiving emails from it, send an email to entermedia+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Fang Xu
System Administrator


Office:1.604.568.0313
Fax:1.604.568.0314


Email:fa...@appnovation.com
Address:#600-190 Alexander St
Vancouver, BC, V6A 2S5 Canada
Website:www.appnovation.com


We are the Open Technology Delivery Experts providing:

Web Development: Drupal, Laravel, HTML5. Mobile Development: Smartphone Apps, Tablet Apps, HTML5, Cross-Platform. Integration: MuleSoft. 
ECM & Document Management: Alfresco. Big Data: Hadoop, MongoDB. Identity Management: Janrain. Development: Behat, Docker, GitHub.
Testing: BlazeMeter. App Performance Management: Appdynamics. Cloud: Acquia, OpenStack, Amazon Web Services, Google. E-Commerce: 
Magento. Business Process Management: Activiti. Agile Adoption: JIRA, Confluence. ERP & CRM: Openbravo, Salesforce. Managed Services

Click here to unsubscribe from further Appnovation communications.

Ian Miller

unread,
Jun 29, 2018, 5:56:53 PM6/29/18
to enter...@googlegroups.com
And there is disk space?  This is just trying to rename a file.... You can try it at the command line also to confirm the issue

To unsubscribe from this group and stop receiving emails from it, send an email to entermedia+...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "EnterMedia" group.
To unsubscribe from this group and stop receiving emails from it, send an email to entermedia+...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Fang Xu
System Administrator


Office:1.604.568.0313
Fax:1.604.568.0314


Email:fa...@appnovation.com
Address:#600-190 Alexander St
Vancouver, BC, V6A 2S5 Canada
Website:www.appnovation.com


We are the Open Technology Delivery Experts providing:

Web Development: Drupal, Laravel, HTML5. Mobile Development: Smartphone Apps, Tablet Apps, HTML5, Cross-Platform. Integration: MuleSoft. 
ECM & Document Management: Alfresco. Big Data: Hadoop, MongoDB. Identity Management: Janrain. Development: Behat, Docker, GitHub.
Testing: BlazeMeter. App Performance Management: Appdynamics. Cloud: Acquia, OpenStack, Amazon Web Services, Google. E-Commerce: 
Magento. Business Process Management: Activiti. Agile Adoption: JIRA, Confluence. ERP & CRM: Openbravo, Salesforce. Managed Services

Click here to unsubscribe from further Appnovation communications.

--
You received this message because you are subscribed to the Google Groups "EnterMedia" group.
To unsubscribe from this group and stop receiving emails from it, send an email to entermedia+...@googlegroups.com.

Fang Xu

unread,
Jun 29, 2018, 6:12:21 PM6/29/18
to enter...@googlegroups.com
There is plenty of disk space. There is thread safety issue. Other thread can write corrently.
29-Jun-2018 22:10:39.484 INFO [http-nio-8080-exec-1] org.openedit.xml.XmlSearcher.saveData Saved to /WEB-INF/data/assets/catalog/lists/asseteditstatus.xml
29-Jun-2018 22:10:39.493 INFO [http-nio-8080-exec-6] org.openedit.xml.XmlSearcher.saveData Saved to /WEB-INF/data/assets/catalog/lists/asseteditstatus.xml
29-Jun-2018 22:10:39.640 INFO [http-nio-8080-exec-13] org.openedit.xml.XmlSearcher.saveData Saved to /WEB-INF/data/assets/catalog/lists/asseteditstatus.xml
29-Jun-2018 22:10:39.640 INFO [http-nio-8080-exec-7] org.openedit.xml.XmlSearcher.saveData Saved to /WEB-INF/data/assets/catalog/lists/asseteditstatus.xml
29-Jun-2018 22:10:39.640 SEVERE [http-nio-8080-exec-7] org.entermediadb.elasticsearch.searchers.ElasticListSearcher.saveData problem saving 6
 org.openedit.repository.RepositoryException: /opt/entermediadb/webapp/WEB-INF/data/assets/catalog/lists/asseteditstatus.xml.tmp.xml (No such file or directory)
To unsubscribe from this group and stop receiving emails from it, send an email to entermedia+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "EnterMedia" group.
To unsubscribe from this group and stop receiving emails from it, send an email to entermedia+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to entermedia+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "EnterMedia" group.
To unsubscribe from this group and stop receiving emails from it, send an email to entermedia+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Fang Xu

unread,
Jun 29, 2018, 6:44:38 PM6/29/18
to enter...@googlegroups.com
More infomation:
org.openedit.OpenEditException: org.openedit.OpenEditException: Path was: /opt/entermediadb/webapp/WEB-INF/data/assets/catalog/lists/asseteditstatus.xml Error:  org.openedit.OpenEditRuntimeException: Error on line 10 of document  : Attribute "id" was already specified for element "property". Nested exception: Attribute "id" was already specified for element "property".

Content of asseteditstatus.xml

<?xml version="1.0" encoding="UTF-8"?>

<properties>
  <property id="1">
    <name>
      <language id="en"><![CDATA[Pending]]></language>
      <language id="es"><![CDATA[Pendiente]]></language>
    </name>
  </property>
  <property id="6" id="6">
    <name>
      <language id="en"><![CDATA[Approved]]></language>
      <language id="es"><![CDATA[Aprobado]]></language>
    </name>
  </property>
  <property id="recording">
    <name>
      <language id="en"><![CDATA[Recording]]></language>
      <language id="es"><![CDATA[Grabando]]></language>
    </name>
  </property>
  <property id="rejected">
    <name>
      <language id="en"><![CDATA[Rejected]]></language>
      <language id="es"><![CDATA[Rechazado]]></language>
    </name>
  </property>
  <property id="7">
    <name>
      <language id="en"><![CDATA[Deleted]]></language>
      <language id="es"><![CDATA[Eliminado]]></language>
    </name>
  </property>
</properties>


There are two id attribute in the tag.

Bugs?

Thanks,
Fang

Ian Miller

unread,
Jun 29, 2018, 6:53:20 PM6/29/18
to enter...@googlegroups.com
Clean up the file and see if it works after that.  Could be a bug yes.  We will likely be removing those xml files in the fairly near future.

To unsubscribe from this group and stop receiving emails from it, send an email to entermedia+...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "EnterMedia" group.
To unsubscribe from this group and stop receiving emails from it, send an email to entermedia+...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to entermedia+...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "EnterMedia" group.
To unsubscribe from this group and stop receiving emails from it, send an email to entermedia+...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "EnterMedia" group.
To unsubscribe from this group and stop receiving emails from it, send an email to entermedia+...@googlegroups.com.

Christopher Shanti Burkey

unread,
Jun 29, 2018, 9:29:29 PM6/29/18
to enter...@googlegroups.com
Why is there so much writing to that table? It should mostly be used for reading from. If there is a need for high transaction then it might be best to make it a data module that has no xml backing 
Reply all
Reply to author
Forward
0 new messages