<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: command line Export/Import and ServletContext error in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/command-line-export-import-and-servletcontext-error/m-p/245566#M198696</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I did not make any changes to any .properties file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;All effort I can recall had to do with the classpath. And of course the content of the .acp (mainly the xml).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Joop&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Feb 2010 15:39:28 GMT</pubDate>
    <dc:creator>joop</dc:creator>
    <dc:date>2010-02-16T15:39:28Z</dc:date>
    <item>
      <title>command line Export/Import and ServletContext error</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/command-line-export-import-and-servletcontext-error/m-p/245561#M198691</link>
      <description>Hi, this is my first attempt to use the command line Export functionality and I get this error:Alfresco Repository ExporterThe following error has occurred:javax/servlet/ServletContextjava.lang.NoClassDefFoundError: javax/servlet/ServletContext&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.lang.Class.getDeclaredMethods0(Native Me</description>
      <pubDate>Mon, 15 Feb 2010 10:02:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/command-line-export-import-and-servletcontext-error/m-p/245561#M198691</guid>
      <dc:creator>joop</dc:creator>
      <dc:date>2010-02-15T10:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: command line Export/Import and ServletContext error</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/command-line-export-import-and-servletcontext-error/m-p/245562#M198692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry for the noise. It seems that although it is command line functionality, the Servlet server is being used.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In fact I have to bring Alfresco down in order allow the import to succeed (mysql must still be running). Else a "Port already in use: 50501" error occurs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My problem was basically that not all needed jars were listed in the Wiki example command for 3.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Adding them step by step based on all the NoClassDefFoundError messages in the end it ran.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;No I can finally import external documents using uuibinding CREATE_NEW.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Too bad the server needs to go down.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2010 15:32:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/command-line-export-import-and-servletcontext-error/m-p/245562#M198692</guid>
      <dc:creator>joop</dc:creator>
      <dc:date>2010-02-15T15:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: command line Export/Import and ServletContext error</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/command-line-export-import-and-servletcontext-error/m-p/245563#M198693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Joop,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your helpful posts.&amp;nbsp; I am trying to get the command line import on Alfresco 3.1 to work for a week now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; After hours of putting the jar files together, I finally was able to invoke import via command line.&amp;nbsp; But I got the following error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt; 15:28:40,194&amp;nbsp; INFO&amp;nbsp; [alfresco.config.SystemPropertiesFactoryBean] Loading properties file from class path resource [alfresco/domain/hibernate-cfg.properties]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt; 15:29:05,316&amp;nbsp; WARN&amp;nbsp; [hibernate.cfg.SettingsFactory] Could not obtain connection metadata&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;—&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you please share your hibernate-cfg.properties file?&amp;nbsp; I am reading the hibernate reference book, and added few properties in there, but still could not get it to work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Appreciated if you could help.&amp;nbsp; Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2010 14:43:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/command-line-export-import-and-servletcontext-error/m-p/245563#M198693</guid>
      <dc:creator>shea</dc:creator>
      <dc:date>2010-02-16T14:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: command line Export/Import and ServletContext error</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/command-line-export-import-and-servletcontext-error/m-p/245564#M198694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have not touched this file. It came with 3.2.r2 and is dated&amp;nbsp; 12 nov 2009 16:49&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway, the content is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;+++++++++++++++++++&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# Hibernate configuration&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# The Hibernate Dialect:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp; As of V3.1, the dialect is automatically detected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp; It is still possible to set the dialect explicitly, for example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;hibernate.jdbc.use_streams_for_binary=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;hibernate.show_sql=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;hibernate.cache.use_query_cache=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;hibernate.max_fetch_depth=10&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;hibernate.cache.provider_class=org.alfresco.repo.cache.InternalEhCacheManagerFactoryBean&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;hibernate.cache.use_second_level_cache=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;hibernate.default_batch_fetch_size=1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;hibernate.jdbc.batch_size=32&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;hibernate.connection.release_mode=auto&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;hibernate.connection.isolation=2&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#hibernate.query.substitutions=&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#hibernate.jdbc.use_get_generated_keys=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Oracle Schema Distinction:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp; See &lt;/SPAN&gt;&lt;A href="https://issues.alfresco.com/jira/browse/ETHREEOH-680" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/jira/browse/ETHREEOH-680&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp; Metadata queries to Oracle have to be limited by schema name&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp; when multiple instances of Alfresco are installed on an Oracle server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#hibernate.default_schema=&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2010 15:02:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/command-line-export-import-and-servletcontext-error/m-p/245564#M198694</guid>
      <dc:creator>joop</dc:creator>
      <dc:date>2010-02-16T15:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: command line Export/Import and ServletContext error</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/command-line-export-import-and-servletcontext-error/m-p/245565#M198695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your quick response.&amp;nbsp; Appreciated very much.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;One more question, do you have to change the custom-connection-pool-context.properties file?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you do, could you please share it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know that Alfresco 3.1 has a different configuration and setup.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My last hope is to try import command line on Alfresco 3.2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2010 15:14:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/command-line-export-import-and-servletcontext-error/m-p/245565#M198695</guid>
      <dc:creator>shea</dc:creator>
      <dc:date>2010-02-16T15:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: command line Export/Import and ServletContext error</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/command-line-export-import-and-servletcontext-error/m-p/245566#M198696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I did not make any changes to any .properties file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;All effort I can recall had to do with the classpath. And of course the content of the .acp (mainly the xml).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Joop&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2010 15:39:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/command-line-export-import-and-servletcontext-error/m-p/245566#M198696</guid>
      <dc:creator>joop</dc:creator>
      <dc:date>2010-02-16T15:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: command line Export/Import and ServletContext error</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/command-line-export-import-and-servletcontext-error/m-p/245567#M198697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks again. Very much appreciated. I'll try it on Alfresco 3.2 to see I'll get better luck with it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2010 15:54:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/command-line-export-import-and-servletcontext-error/m-p/245567#M198697</guid>
      <dc:creator>shea</dc:creator>
      <dc:date>2010-02-16T15:54:02Z</dc:date>
    </item>
  </channel>
</rss>

