Re: [xwiki-users] Problem with SQL Server Database
Hi, thanks fort he hint, this is what was missing! I choose the buildin HSQL support first, and then switching to MSSQL. I forgot to change the xwiki.hbm.xml to xwiki.mssql.hbm.xml Many thanks, Sebastian. -Ursprüngliche Nachricht- Von: users [mailto:users-boun...@xwiki.org] Im Auftrag von Clemens Klein-Robbenhaar Gesendet: Montag, 9. Mai 2016 10:28 An: users@xwiki.org Betreff: Re: [xwiki-users] Problem with SQL Server Database You can find that hbm file packed into a jar file in the WEB-INF/lib directory; the jar file should have the pattern xwiki-platform-legacy-oldcore-x.y.jar The file you are looking for is the xwiki.mssql.hbm.xml There you can shorten the size to 8000. I think you can edit that file and place the edited copy in the WEB-INF/classes directory to get picked up. If that does not help, you need to repack it into the jar where you extracted it. It is strange that the error pops up only now, as this setting has not been touched for quite some time ... Maybe you have the wrong dialect in the part of your hibernate.cfg.xml ? (I thought org.hibernate.dialect.SQLServerDialect would be ok, and maps "text" to varchar(max) but I have to admit I have not tried) > I don't know anything about SQL Server but the error seems to suggest > that the field XWR_REFERER defined in the hbm file is too big. > > On Mon, May 9, 2016 at 9:41 AM, Sebastian Schabbach > wrote: >> Thank you! >> >> Something was wrong with the user permissions. I get another problem when I >> correct the user permissions for the database user. >> >> I got the error >> >> com.microsoft.sqlserver.jdbc.SQLServerException: The size (8192) given to >> the column 'XWR_REFERER' exceeds the maximum allowed for any data type >> (8000). >> >> When creating the database. Is this a well known issue and if what I do to >> resolve that problem? >> >> Regards, >> Sebastian. >> >> -Ursprüngliche Nachricht- >> Von: users [mailto:users-boun...@xwiki.org] Im Auftrag von Clemens >> Klein-Robbenhaar >> Gesendet: Mittwoch, 4. Mai 2016 16:50 >> An: users@xwiki.org >> Betreff: Re: [xwiki-users] Problem with SQL Server Database >> >> Any chance both XWiki instances are writing to the same database? >> >> If you want the second XWiki instance writes to another database, you >> must not only update the value in the hibernate.hbm,xml but also the >> property "xwiki.db" (and probably xwiki.db.prefix) in >> WEB-INF/xwiki.cfg too >> >> >> Aside of that you can add a line like >> >>> level="debug"/> >> >> to the WEB-INF/classes/logback.xml >> and see if more information shows up in the log file. >> >>> Hi all, >>> >>> my next request is regarding to let xwiki initialize a new, empty SQL >>> Server database to use the xwiki with this empty database. The problem is >>> that the table activitystream_events seems to be created twice: >>> >>> com.microsoft.sqlserver.jdbc.SQLServerException: There is already an object >>> named 'activitystream_events' in the database. >>> >>> Has somebody an idea of how I can solve that issue? There are some >>> interesting logs that looks like access problems with the database, but if >>> there are problems accessing the database it might not be possible to >>> create any table, isn't it? >>> >>> So here is the tomcat log, maybe it is helpful to solve the issue. >>> >>> Kind regards, >>> Sebastian. >>> >>> >>> >>> Hibernate: select this_.XWV_VERSION as XWV1_26_0_ from >>> xwikidbversion this_ >>> Hibernate: select count(*) as y0_ from xwikidoc this_ >>> 2016-05-04 15:19:37,334 [http://pippin:8080/xwiki2/bin/view/Main/] >>> INFO .HibernateDataMigrationManager - Checking Hibernate mapping >>> and updating schema if needed for wiki [xwiki] >>> 2016-05-04 15:19:37,570 [http://pippin:8080/xwiki2/bin/view/Main/] ERROR >>> .HibernateDataMigrationManager - The empty database xwiki seems to be not >>> writable, please check your configuration! >>> >>> com.xpn.xwiki.store.migration.DataMigrationException: Unable to update >>> schema of wiki [xwiki] >>> at >>> com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.updateSchema(HibernateDataMigrationManager.java:182) >>> ~[xwiki-platform-legacy-oldcore-7.4.2.jar:na] >>> at >>> com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManage
Re: [xwiki-users] Problem with SQL Server Database
Thank you! Something was wrong with the user permissions. I get another problem when I correct the user permissions for the database user. I got the error com.microsoft.sqlserver.jdbc.SQLServerException: The size (8192) given to the column 'XWR_REFERER' exceeds the maximum allowed for any data type (8000). When creating the database. Is this a well known issue and if what I do to resolve that problem? Regards, Sebastian. -Ursprüngliche Nachricht- Von: users [mailto:users-boun...@xwiki.org] Im Auftrag von Clemens Klein-Robbenhaar Gesendet: Mittwoch, 4. Mai 2016 16:50 An: users@xwiki.org Betreff: Re: [xwiki-users] Problem with SQL Server Database Any chance both XWiki instances are writing to the same database? If you want the second XWiki instance writes to another database, you must not only update the value in the hibernate.hbm,xml but also the property "xwiki.db" (and probably xwiki.db.prefix) in WEB-INF/xwiki.cfg too Aside of that you can add a line like to the WEB-INF/classes/logback.xml and see if more information shows up in the log file. > Hi all, > > my next request is regarding to let xwiki initialize a new, empty SQL Server > database to use the xwiki with this empty database. The problem is that the > table activitystream_events seems to be created twice: > > com.microsoft.sqlserver.jdbc.SQLServerException: There is already an object > named 'activitystream_events' in the database. > > Has somebody an idea of how I can solve that issue? There are some > interesting logs that looks like access problems with the database, but if > there are problems accessing the database it might not be possible to create > any table, isn't it? > > So here is the tomcat log, maybe it is helpful to solve the issue. > > Kind regards, > Sebastian. > > > > Hibernate: select this_.XWV_VERSION as XWV1_26_0_ from xwikidbversion > this_ > Hibernate: select count(*) as y0_ from xwikidoc this_ > 2016-05-04 15:19:37,334 [http://pippin:8080/xwiki2/bin/view/Main/] > INFO .HibernateDataMigrationManager - Checking Hibernate mapping and > updating schema if needed for wiki [xwiki] > 2016-05-04 15:19:37,570 [http://pippin:8080/xwiki2/bin/view/Main/] ERROR > .HibernateDataMigrationManager - The empty database xwiki seems to be not > writable, please check your configuration! > > com.xpn.xwiki.store.migration.DataMigrationException: Unable to update schema > of wiki [xwiki] > at > com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.updateSchema(HibernateDataMigrationManager.java:182) > ~[xwiki-platform-legacy-oldcore-7.4.2.jar:na] > at > com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:142) > ~[xwiki-platform-legacy-oldcore-7.4.2.jar:na] > at > com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) > [xwiki-platform-legacy-oldcore-7.4.2.jar:na] > at > com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) > [xwiki-platform-legacy-oldcore-7.4.2.jar:na] > at > com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) > [xwiki-platform-legacy-oldcore-7.4.2.jar:na] > at > com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:734) > [xwiki-platform-legacy-oldcore-7.4.2.jar:na] > at > com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:911) > [xwiki-platform-legacy-oldcore-7.4.2.jar:na] > at > com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:843) > [xwiki-platform-legacy-oldcore-7.4.2.jar:na] > at > com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:856) > [xwiki-platform-legacy-oldcore-7.4.2.jar:na] > at > com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:299) > [xwiki-platform-legacy-oldcore-7.4.2.jar:na] > at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1634) > [xwiki-platform-legacy-oldcore-7.4.2.jar:na] > at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1680) > [xwiki-platform-legacy-oldcore-7.4.2.jar:na] > > > > Caused by: org.hibernate.HibernateException: Failed updating schema while > executing query [create table activitystream_events (ase_eventid varchar(48) > not null, ase_requestid varchar(48) null, ase_stream varchar(255) null, > ase_date datetime null, ase_priority int null, ase_type varchar(255) null, > ase_application varchar(255) null, ase_user varchar(255) null, ase_wiki > varchar(255) null, ase_space varchar(255) null, ase_page varchar(255) null, > ase_hidden tinyint null, ase_url varchar(2000) null, ase_title varchar(2000) > null, ase_body varchar(2000) null, ase_version varchar(30) null, ase_param1 > varchar(2000) null, ase_param2 varc
[xwiki-users] Problem with SQL Server Database
Hi all, my next request is regarding to let xwiki initialize a new, empty SQL Server database to use the xwiki with this empty database. The problem is that the table activitystream_events seems to be created twice: com.microsoft.sqlserver.jdbc.SQLServerException: There is already an object named 'activitystream_events' in the database. Has somebody an idea of how I can solve that issue? There are some interesting logs that looks like access problems with the database, but if there are problems accessing the database it might not be possible to create any table, isn't it? So here is the tomcat log, maybe it is helpful to solve the issue. Kind regards, Sebastian. Hibernate: select this_.XWV_VERSION as XWV1_26_0_ from xwikidbversion this_ Hibernate: select count(*) as y0_ from xwikidoc this_ 2016-05-04 15:19:37,334 [http://pippin:8080/xwiki2/bin/view/Main/] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [xwiki] 2016-05-04 15:19:37,570 [http://pippin:8080/xwiki2/bin/view/Main/] ERROR .HibernateDataMigrationManager - The empty database xwiki seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to update schema of wiki [xwiki] at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.updateSchema(HibernateDataMigrationManager.java:182) ~[xwiki-platform-legacy-oldcore-7.4.2.jar:na] at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:142) ~[xwiki-platform-legacy-oldcore-7.4.2.jar:na] at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) [xwiki-platform-legacy-oldcore-7.4.2.jar:na] at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) [xwiki-platform-legacy-oldcore-7.4.2.jar:na] at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) [xwiki-platform-legacy-oldcore-7.4.2.jar:na] at com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:734) [xwiki-platform-legacy-oldcore-7.4.2.jar:na] at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:911) [xwiki-platform-legacy-oldcore-7.4.2.jar:na] at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:843) [xwiki-platform-legacy-oldcore-7.4.2.jar:na] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:856) [xwiki-platform-legacy-oldcore-7.4.2.jar:na] at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:299) [xwiki-platform-legacy-oldcore-7.4.2.jar:na] at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1634) [xwiki-platform-legacy-oldcore-7.4.2.jar:na] at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1680) [xwiki-platform-legacy-oldcore-7.4.2.jar:na] Caused by: org.hibernate.HibernateException: Failed updating schema while executing query [create table activitystream_events (ase_eventid varchar(48) not null, ase_requestid varchar(48) null, ase_stream varchar(255) null, ase_date datetime null, ase_priority int null, ase_type varchar(255) null, ase_application varchar(255) null, ase_user varchar(255) null, ase_wiki varchar(255) null, ase_space varchar(255) null, ase_page varchar(255) null, ase_hidden tinyint null, ase_url varchar(2000) null, ase_title varchar(2000) null, ase_body varchar(2000) null, ase_version varchar(30) null, ase_param1 varchar(2000) null, ase_param2 varchar(2000) null, ase_param3 varchar(2000) null, ase_param4 varchar(2000) null, ase_param5 varchar(2000) null, primary key (ase_eventid))] at com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:625) [xwiki-platform-legacy-oldcore-7.4.2.jar:na] at com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:371) [xwiki-platform-legacy-oldcore-7.4.2.jar:na] at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.hibernateShemaUpdate(HibernateDataMigrationManager.java:198) ~[xwiki-platform-legacy-oldcore-7.4.2.jar:na] at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.updateSchema(HibernateDataMigrationManager.java:179) ~[xwiki-platform-legacy-oldcore-7.4.2.jar:na] ... 77 common frames omitted Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: There is already an object named 'activitystream_events' in the database. 2016-05-04 15:19:37,570 [http://pippin:8080/xwiki2/bin/view/Main/] ERROR PreferencesConfigurationSource - Failed to access configuration property com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [xwiki:XWi
Re: [xwiki-users] Running a second xwiki instance in a single apache tomcat installation
Hallo zusammen, many Thanks! Changing the caching config file as described has solved that issue! Kind regards, Sebastian. -Ursprüngliche Nachricht- Von: users [mailto:users-boun...@xwiki.org] Im Auftrag von Clemens Klein-Robbenhaar Gesendet: Mittwoch, 4. Mai 2016 11:37 An: users@xwiki.org Betreff: Re: [xwiki-users] Running a second xwiki instance in a single apache tomcat installation it is a known issue; please see answer here: http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HRunningmultipleinstancesofXWikiinthesamecontainer hth clemens > Dear all, > > thanks for your help regarding to my question about ACE related javascript > errors when editing xwiki articles a few days ago. As we figured out it is > likely not an issue regarding tot he xwiki system and come in from a > particular addon. Due to the fact, that is is not easily trackable for us > which addon is working wrong, we want to setup a second xwiki instance with a > new database and without extentions. This is only to ensure the errors weg et > is not related to xwiki and to get a closer view to the issue. > > We tried simply to run a second xwiki using apache tomcat using an webapp > directory called "xwiki2" with a xwiki 7.4.2 WAR-Distribution and the default > (empty) HSQL Database. But this seems not to work due to the following issue. > Could someone help me with fixing that issue? > > Kind Regards, > Sebastian. > > > Here is what the error is about: > > > HTTP Status 500 - Failed to locate an ExtendedURL Resource Type > Resolver component > > type Exception report > message Failed to locate an ExtendedURL Resource Type Resolver > component description The server encountered an internal error that prevented > it from fulfilling this request. > exception > javax.servlet.ServletException: Failed to locate an ExtendedURL > Resource Type Resolver component > org.xwiki.resource.servlet.RoutingFilter.getResourceTypeResolver(RoutingFilter.java:181) > > org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:1 > 03) > > [...] > > org.xwiki.cache.CacheException: Failed to get cache factory for role > hint [infinispan] > org.xwiki.cache.internal.DefaultCacheManager.createNewCache(DefaultCac > heManager.java:109) ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Running a second xwiki instance in a single apache tomcat installation
Dear all, thanks for your help regarding to my question about ACE related javascript errors when editing xwiki articles a few days ago. As we figured out it is likely not an issue regarding tot he xwiki system and come in from a particular addon. Due to the fact, that is is not easily trackable for us which addon is working wrong, we want to setup a second xwiki instance with a new database and without extentions. This is only to ensure the errors weg et is not related to xwiki and to get a closer view to the issue. We tried simply to run a second xwiki using apache tomcat using an webapp directory called "xwiki2" with a xwiki 7.4.2 WAR-Distribution and the default (empty) HSQL Database. But this seems not to work due to the following issue. Could someone help me with fixing that issue? Kind Regards, Sebastian. Here is what the error is about: HTTP Status 500 - Failed to locate an ExtendedURL Resource Type Resolver component type Exception report message Failed to locate an ExtendedURL Resource Type Resolver component description The server encountered an internal error that prevented it from fulfilling this request. exception javax.servlet.ServletException: Failed to locate an ExtendedURL Resource Type Resolver component org.xwiki.resource.servlet.RoutingFilter.getResourceTypeResolver(RoutingFilter.java:181) org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:103) [...] org.xwiki.cache.CacheException: Failed to get cache factory for role hint [infinispan] org.xwiki.cache.internal.DefaultCacheManager.createNewCache(DefaultCacheManager.java:109) org.xwiki.cache.internal.DefaultCacheManager.createNewCache(DefaultCacheManager.java:85) org.xwiki.wiki.internal.manager.WikiDescriptorCache.createCache(WikiDescriptorCache.java:67) org.xwiki.wiki.internal.manager.WikiDescriptorCache.initialize(WikiDescriptorCache.java:58) org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39) org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:322) org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:424) org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:392) org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190) org.xwiki.component.embed.EmbeddableComponentManager.getDependencyInstance(EmbeddableComponentManager.java:363) org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:312) org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:424) org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:392) org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190) org.xwiki.component.embed.EmbeddableComponentManager.getDependencyInstance(EmbeddableComponentManager.java:363) org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:312) org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:424) org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:392) org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190) org.xwiki.component.embed.EmbeddableComponentManager.getDependencyInstance(EmbeddableComponentManager.java:363) org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:312) org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:424) org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:392) org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190) org.xwiki.component.embed.EmbeddableComponentManager.getDependencyInstance(EmbeddableComponentManager.java:363) org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:312) org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:424) org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:392) org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190) org.xwiki.component.embed.EmbeddableComponentManager.getDependencyInstance(EmbeddableComponentManager.java:363) org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:312) org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:424) org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(Emb
Re: [xwiki-users] ACE Editor cannot be loaded after migration to version 7.4.2
Okay, only to ensure what is going on. I am right that all extentions are listeted in the 'installed extentions' list I can find on the wiki administrations page. I would like to check your assumptions against our wiki installation. So I guess if the addons are installed, I must found them in that list (Groovy console and colibri skin)? As I do not find any match on that, I guess these extentions are not installed. I am right? About your words to update at 8.0: Currently I can see the Flamingo Theme Application is installed, so that should not cause any problems? Regards, Sebastian. -Ursprüngliche Nachricht- Von: users [mailto:users-boun...@xwiki.org] Im Auftrag von Eduard Moraru Gesendet: Mittwoch, 20. April 2016 17:30 An: XWiki Users Betreff: Re: [xwiki-users] ACE Editor cannot be loaded after migration to version 7.4.2 Hi, Sebastian, Not entirely related to this topic, but I also notice from those logs that you seem to be using the colibri skin in 7.4. Note that in 8.0 we have officially deprecated the Colibri skin and, since you are doing the upgrade, you should start looking at the Flamingo skin instead (to avoid possible issues that Colibri might have). Hope this helps, Eduard On Wed, Apr 20, 2016 at 5:05 PM, Thomas Mortagne wrote: > Indeed the documentation of > > http://extensions.xwiki.org/xwiki/bin/view/Extension/Groovy+Console+Ap > plication > does talk about a XWiki.Xuake page. > > On Wed, Apr 20, 2016 at 3:44 PM, Hamster wrote: > > It seems to be a part of... > > > > > http://extensions.xwiki.org/xwiki/bin/view/Extension/Groovy+Console+Ap > plication > > > > > > > > > > -- > > View this message in context: > http://xwiki.475771.n2.nabble.com/ACE-Editor-cannot-be-loaded-after-mi > gration-to-version-7-4-2-tp7599063p7599097.html > > Sent from the XWiki- Users mailing list archive at Nabble.com. > > ___ > > users mailing list > > users@xwiki.org > > http://lists.xwiki.org/mailman/listinfo/users > > > > -- > Thomas Mortagne > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] ACE Editor cannot be loaded after migration to version 7.4.2
Hi, okay... Where you can find the information that it seems to be part oft he Groovy Console Application? Regards, Sebastian. -Ursprüngliche Nachricht- Von: users [mailto:users-boun...@xwiki.org] Im Auftrag von Hamster Gesendet: Mittwoch, 20. April 2016 15:45 An: users@xwiki.org Betreff: Re: [xwiki-users] ACE Editor cannot be loaded after migration to version 7.4.2 It seems to be a part of... http://extensions.xwiki.org/xwiki/bin/view/Extension/Groovy+Console+Application -- View this message in context: http://xwiki.475771.n2.nabble.com/ACE-Editor-cannot-be-loaded-after-migration-to-version-7-4-2-tp7599063p7599097.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] ACE Editor cannot be loaded after migration to version 7.4.2
wiki.api.XWiki.parseContent] in 40:/skins/colibri/view.vm@25,47 2016-03-22 09:16:50,721 [http://pippin:8080/xwiki/bin/view/Main/Search?text=suche...1&x=0&y=0] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.XWiki.getSpaces] in 40:xwiki:Main.Search@146,24 2016-03-22 09:16:52,236 [http://pippin:8080/xwiki/bin/view/Main/text.js] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method [com.xpn.xwiki.api.XWiki.parseContent] in 41:/skins/colibri/docdoesnotexist.vm@25,47 2016-03-22 09:17:07,266 [http://pippin:8080/xwiki/bin/view/Main/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method [com.xpn.xwiki.api.XWiki.parseContent] in 45:/skins/colibri/view.vm@25,47 2016-03-22 09:17:07,858 [http://pippin:8080/xwiki/bin/view/Main/text.js] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method [com.xpn.xwiki.api.XWiki.parseContent] in 47:/skins/colibri/docdoesnotexist.vm@25,47 2016-03-22 09:17:25,783 [http://pippin:8080/xwiki/bin/view/Main/Search?text=3123123123&x=0&y=0] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method [com.xpn.xwiki.api.XWiki.parseContent] in 39:/skins/colibri/view.vm@25,47 2016-03-22 09:17:25,908 [http://pippin:8080/xwiki/bin/view/Main/Search?text=3123123123&x=0&y=0] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.XWiki.getSpaces] in 39:xwiki:Main.Search@146,24 2016-03-22 09:17:26,440 [http://pippin:8080/xwiki/bin/view/Main/text.js] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method [com.xpn.xwiki.api.XWiki.parseContent] in 43:/skins/colibri/docdoesnotexist.vm@25,47 Do the posted log output helps a little bit more? Kind regards, Sebastian Schabbach -Ursprüngliche Nachricht- Von: users [mailto:users-boun...@xwiki.org] Im Auftrag von Marius Dumitru Florea Gesendet: Mittwoch, 20. April 2016 14:19 An: XWiki Users Betreff: Re: [xwiki-users] ACE Editor cannot be loaded after migration to version 7.4.2 I can't find any "ACE editor" extension on http://extensions.xwiki.org so it's hard to tell what the problem is without being able to reproduce. On Tue, Apr 19, 2016 at 2:42 PM, Sebastian Schabbach wrote: > Dear all, > > a view weeks ago we updated our xwiki application from version 6.2 to > version 7.4, but since upgrading the wiki we encountered several > problems with the ACE editor. The problems causes unexpected behaviors > (loading the article content in the ace editor will never end due to > javascript errors) when editing articles or create new ones. > > The root problem seems to be the Xuake script ( > http://baseurl/xwiki/bin/jsx/XWiki/Xuake?language=de&docVersion=1.1) > tries to intialize the ace library, but I guess something is missing. > Below is listed the console output when running the create new page > wizzard in the xwiki. > > HTML1406: Invalid tag start: " WebHome (1,2) > > -- > - > SCRIPT1010: Expected identifier > WebHome (1,9) > > -- > -- > SCRIPT5009: 'ace' is undefined > Xuake (143,7) > > -- > - > SCRIPT5007: Unable to get property 'noConflict' of undefined or null > reference WebHome (81,54) > > -- > --- > SEC7115: :visited and :link styles can only differ by color. Some > styles were not applied to :visited. > WebHome > > -- > --- > SCRIPT1002: Syntax error > text.js (1,1) > > -- > -- > SCRIPT5007: Unable to get property 'normalize' of undefined or null > reference require.min.js (20,263) > > -- > --- > SCRIPT5022: Load timeout for modules: > text!ace/css/editor.css_unnormalized2,jsTree,text!ace/theme/textmate.c > ss_unnormalized3 http://requirejs.org/docs/errors.html#timeout > require.min.js (8,137) > > -- > --- > SCRIPT438: Object doesn't support property or method 'getLayout' > prototype.js (11,59324) > > -- > --- > SCRIPT
[xwiki-users] ACE Editor cannot be loaded after migration to version 7.4.2
Dear all, a view weeks ago we updated our xwiki application from version 6.2 to version 7.4, but since upgrading the wiki we encountered several problems with the ACE editor. The problems causes unexpected behaviors (loading the article content in the ace editor will never end due to javascript errors) when editing articles or create new ones. The root problem seems to be the Xuake script (http://baseurl/xwiki/bin/jsx/XWiki/Xuake?language=de&docVersion=1.1) tries to intialize the ace library, but I guess something is missing. Below is listed the console output when running the create new page wizzard in the xwiki. HTML1406: Invalid tag start: "http://requirejs.org/docs/errors.html#timeout require.min.js (8,137) - SCRIPT438: Object doesn't support property or method 'getLayout' prototype.js (11,59324) - SCRIPT438: Object doesn't support property or method 'getLayout' prototype.js (11,59324) - SCRIPT438: Object doesn't support property or method 'getLayout' prototype.js (11,59324) - SCRIPT438: Object doesn't support property or method 'getLayout' prototype.js (11,59324) Hopefully somebody has an idea what is missing and can give me some help with that issue. Let me thanks you for your investigations in advice. Mit freundlichen Grüßen / Kind regards Sebastian Schabbach ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users