Re: opencms-dev Digest, Vol 114, Issue 4
Atle Enersen via opencms-dev <[email protected]> Sat, 20 Jan 2024 19:31:01 +0100
| Newsgroups | gmane.comp.cms.opencms.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello Michael. Seems I cannot post ZIP's, it gets denien from opencms.org's end... Vennlig hilsen Atle Enersen -- Tel.: +47 48063171 Bluesky/X-Twitter: @nesrene -----Opprinnelig melding----- Fra: opencms-dev <[email protected]> På vegne av [email protected] Sendt: fredag 19. januar 2024 12:00 Til: [email protected] Emne: opencms-dev Digest, Vol 114, Issue 4 Send opencms-dev mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit https://lists.opencms.org/mailman/listinfo/opencms-dev or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of opencms-dev digest..." Today's Topics: 1. Re: XSD's (Michael Emmerich) 2. Re: XSD's (Atle Enersen) ---------------------------------------------------------------------- Message: 1 Date: Thu, 18 Jan 2024 13:37:03 +0100 From: Michael Emmerich <[email protected]> To: [email protected] Subject: Re: [opencms-dev] XSD's Message-ID: <[email protected]> Content-Type: text/plain; charset=UTF-8; format=flowed Atle, Kai, this is indeed strange. As you know I have tested your xsd that you posted here and they all worked on my system here, i.e. I could drag&drop contents of those into the website. Maybe you can post your module here that contains xsd, formatter and module config. As you say that all Mercury content types do work and that own do all not work, so the general OpenCms setup, DB and all libs should be ok, otherwise Mercury contents would not work, too. Kind regards, Michael Am 18.01.24 um 04:06 schrieb Atle Enersen via opencms-dev: > Hello Kai. > > It is not Mysql, there are so many databases running on it that it would trigger som error on other apps. I cannot just upgrade Mysql. An upgrade will potentially destroy database(s). > > The SAX parser config is already sat to false. > > When I take a content class of mine and make it usable for Mercury it trigger the unmarshalling-error. > > I have already done the step-by-step both removable and add more fields. Same error. > > I can turn debugging on, I just do not know how. I think that would give us additional info. Today we do not know which file or where in the file the unmarshalling-error gets triggered. > > Do you want to have a peek "under the hood" of the OpenCms installation? > > Best regards Atle Enersen > -- > Tel.: +47 48063171 > Bluesky/X-Twitter: @nesrene > > -----Opprinnelig melding----- > Fra: Schliemann, Kai <[email protected]> > Sendt: onsdag 17. januar 2024 17:59 > Til: Atle Enersen <[email protected]> > Kopi: [email protected] > Emne: AW: [opencms-dev] XSD's > > Hello Atle, > > difficult issue. > Your MySQL version is quite old, but I doubt, that this is a problem. So if it is easy for you to replace it with an newer version, give it a try. > One more thing you could check is the SAX parser config in OpenCms as described here: > https://documentation.opencms.org/opencms-documentation/server-adminis > tration/tomcat-configuration/index.html#improving-xml-unmarshalling-pe > rformance-22cb94f4 We never use this option, so if it is set to true, > change it back to false and restart Tomcat. > > If all this does not help you could try one more thing. > > Create a new content type and add the fields from your old / "broken" schema files to the new schema file. Make all the necessary steps to make it available to the content editor and try to add a new content item of this new type. > Doing this I would suggest to start very simple. > So create the new schema with just one field. > Add field by field. > Leave out nested schemas and configurations in the first place. > Between each step, try to place new content type to the page and see if everything works. > If you are lucky, the error never appears with the new content type. > But if it does, you should be able to find the field or the config, which is responsible for the problem. > You might need to dig into a nested schema. Maybe the problem is there. > > Last hint: > If you have the possibility for debugging this could help you finding the problem as well. > Good luck. > Best regards > Kai > > > > _______________________________________________ > This mail is sent to you from the opencms-dev mailing list To change > your list options, or to unsubscribe from the list, please visit > https://lists.opencms.org/mailman/listinfo/opencms-dev > > > -- Michael Emmerich ------------------- Alkacon Software GmbH & Co. KG - The OpenCms Experts http://www.alkacon.com - http://www.opencms.org ------------------------------ Message: 2 Date: Thu, 18 Jan 2024 15:14:53 +0100 From: "Atle Enersen" <[email protected]> To: <[email protected]> Subject: Re: [opencms-dev] XSD's Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" Hello again. The exception seems to happen in the /system/modules/org.enersen.core/templates/eng.jsp - when I hit enter to add a new line at the top of the file the exception reports the same, but now on line 2. See the attached image. Regards, Atle Enersen -- Tel.: +47 48063171 Bluesky/X-Twitter: @nesrene -----Opprinnelig melding----- 2. Re: XSD's (Atle Enersen) ---------------------------------------------------------------------- Message: 2 Date: Wed, 17 Jan 2024 16:04:27 +0100 From: "Atle Enersen" <[email protected]> To: "'Schliemann, Kai'" <[email protected]> Cc: <[email protected]> Subject: Re: [opencms-dev] XSD's Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" Hello Kai, and thanks for taking time to explore this strange behaviour. 1. It seems it only triggers the exception on content I add. I could add, modify and remove content in the Mercury template without any errors. 2. MySQL: Server version: 5.7.42-0ubuntu0.18.04.1 (Ubuntu) 3. Tomcat 9.0.33. 4. No, well, yes. The standard apps that ship with Tomcat. 5. No. 6. root@s160-153-244-17:/home/nesrene# java -version openjdk version "1.8.0_362" OpenJDK Runtime Environment (build 1.8.0_362-8u372-ga~us1-0ubuntu1~18.04-b09) OpenJDK 64-Bit Server VM (build 25.362-b09, mixed mode) Vennlig hilsen Atle Enersen -- Tel.: +47 48063171 Bluesky/X-Twitter: @nesrene -------------- next part -------------- A non-text attachment was scrubbed... Name: Unmarshalling error line 2.png Type: image/png Size: 27402 bytes Desc: not available URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20240118/5153970e/attachment-0001.png> ------------------------------ Subject: Digest Footer _______________________________________________ This mail is sent to you from the opencms-dev mailing list To change your list options, or to unsubscribe from the list, please visit https://lists.opencms.org/mailman/listinfo/opencms-dev ------------------------------ End of opencms-dev Digest, Vol 114, Issue 4 ******************************************* _______________________________________________ This mail is sent to you from the opencms-dev mailing list To change your list options, or to unsubscribe from the list, please visit https://lists.opencms.org/mailman/listinfo/opencms-dev