[opencms-dev] opencms-dev Digest, Vol 115, Issue 1

Atle Enersen atle.enersen at gmail.com
Mon Jan 22 13:52:48 CET 2024


Hello.

The only thing seems off the grid is the Mysql 8 vs 5...

Vennlig hilsen Atle Enersen
--
Tel.: +47 48063171
Bluesky/X-Twitter: @nesrene

-----Opprinnelig melding-----
Fra: opencms-dev <opencms-dev-bounces at opencms.org> På vegne av opencms-dev-request at opencms.org
Sendt: mandag 22. januar 2024 12:00
Til: opencms-dev at opencms.org
Emne: opencms-dev Digest, Vol 115, Issue 1

Send opencms-dev mailing list submissions to
	opencms-dev at opencms.org

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
	opencms-dev-request at opencms.org

You can reach the person managing the list at
	opencms-dev-owner at opencms.org

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: Assistance Needed with OpenCms and External SOLR Server
      Integration (Ramon Gavira Sáenz)


----------------------------------------------------------------------

Message: 1
Date: Mon, 22 Jan 2024 10:01:38 +0100
From: Michael Emmerich <m.emmerich at alkacon.com>
To: opencms-dev at opencms.org
Subject: Re: [opencms-dev] XSD's
Message-ID: <5d9c4bd8-c9ae-4d08-a38a-f7d2dc30c04e at alkacon.com>
Content-Type: text/plain; charset=UTF-8; format=flowed

Hello Atle,

thanks for providing your module. I downloaded and tested it, and what should I say - it worked without any issue.

So here is what I did:

1) Made a fresh installation of OpenCms 16 on a Linux box, using Tomcat 9,  OpenJdk 1.8 and MySql 8.0

2) For the installation I selected the defaults everywhere, so the installation was with the Mercury Demo.

3) After OpenCms was set up, I have installed your module "org.enerson.core", installation proceeded without any issue.

4) I created a new Site in my system. While doing so, I selected your template "/system/modules/org.enersen.core/templates/enersen.jsp" as the template to be used

5) The site was created with the .content folder inside of it an an index.html in its site root.

6) I clicked on the "index.html" and your template is shown.

7) I now used the "new" function to pull something on the page. All Mercury content types were shown disabled (as they do not match to the container in your template). Your "Ensens Article" content is active and can be dragged into the template. No error occurs.

8) I then edited the content that was dragged to the page, which was also possible without an error.

So to sum it up, the module that I downloaded worked as it should and I could not reproduce the error. So my best guess is that something is wrong in your installation or you have something additional in the system that causes the problem. Although I do not know what this might be.

Can you try to do the steps that I described and check if this works? If not, it would be helpful to provide a complete opencms.log

Kind regards,

Michael


Am 21.01.24 um 09:49 schrieb Atle Enersen via opencms-dev:
> Hei Kai.
>
> Tried to post the dump here but the email-system refused it because of the attachment. So I uploaded it to a server:
>
> https://1408.no/multimedia/opencms/
>
> Vennlig hilsen Atle Enersen
> --
> Tel.: +47 48063171
> Bluesky/X-Twitter: @nesrene
>
> -----Opprinnelig melding-----
> Fra: Schliemann, Kai <K.Schliemann at comundus.com>
> Sendt: fredag 19. januar 2024 13:38
> Til: The OpenCms mailing list <opencms-dev at opencms.org>
> Kopi: Atle Enersen <atle.enersen at gmail.com>
> Emne: AW: [opencms-dev] XSD's
>
> Hello Etle,
>
> is it possible, that not the schema has a problem but your JSP?
> Can you check, if the rendered HTML is well formed. We had it once in a while that when the HTML in the JSP was not well formed, that we got such an error.
> So I would recommend to remove all unnecessary HTML code from that jsp and try it again.
> Or as Michael mentioned, provide your module her, so that it can be tested by Michael or someone else.
> Best regards
> Kai
>
> -----Ursprüngliche Nachricht-----
> Von: opencms-dev <opencms-dev-bounces at opencms.org> Im Auftrag von Atle 
> Enersen via opencms-dev
> Gesendet: Donnerstag, 18. Januar 2024 15:15
> An: opencms-dev at opencms.org
> Cc: Atle Enersen <atle.enersen at gmail.com>
> Betreff: Re: [opencms-dev] XSD's
>
> 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" <atle.enersen at gmail.com>
> To: "'Schliemann, Kai'" <K.Schliemann at comundus.com>
> Cc: <opencms-dev at opencms.org>
> Subject: Re: [opencms-dev] XSD's
> Message-ID: <017a01da4956$773184c0$65948e40$@gmail.com>
> 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 at 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
>
>
>
> _______________________________________________
> 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: Mon, 22 Jan 2024 10:38:29 +0000
From: Ramon Gavira Sáenz  <ramon.gavira at sagasoluciones.com>
To: The OpenCms mailing list <opencms-dev at opencms.org>
Subject: Re: [opencms-dev] Assistance Needed with OpenCms and External
	SOLR Server Integration
Message-ID:
	<AS8PR05MB85029DBEFA627E07004ADCE9E2752 at AS8PR05MB8502.eurprd05.prod.outlook.com>
	
Content-Type: text/plain; charset="utf-8"

Hi Antonio.

Thank you very much for your answer.

Is your External Solr in a different machine than OpenCms? How do you connect th “core” to OpenCms? How do you “point” to a different Machine?

Thanks in advance!

Kind Regards!

De: opencms-dev <opencms-dev-bounces at opencms.org> En nombre de Antonio Cordeddu via opencms-dev Enviado el: miércoles, 17 de enero de 2024 9:42
Para: Ramon Gavira Sáenz via opencms-dev <opencms-dev at opencms.org>
CC: Antonio Cordeddu <antoniocordeddu at coranto.it>
Asunto: Re: [opencms-dev] Assistance Needed with OpenCms and External SOLR Server Integration

Hello Ramon,

I installed an external SOLR server for OpenCms 16 as a text/prototype.
About your questions:
1) Yes, it is possible to integrate the indices you use in the server
2) You can manage as many "core" as you want in Solr and connect each one to a different index.

Kind regards
Antonio Cordeddu


--

[Logo]

_______________________________________________

Coranto informatica di Antonio Cordeddu

Via Torricelli, 9 09047 Selargius (CA) - Italy

antoniocordeddu at coranto.it<mailto:antoniocordeddu at coranto.it>

Skype: antonio.cordeddu

https://www.coranto.it

_______________________________________________

On 16/01/2024 17:00, Ramon Gavira Sáenz via opencms-dev wrote:
Hello,

Does anyone have experience using an external SOLR server in OpenCms? We're working on a project that requires integrating searches on a portal with an external SOLR server. Would it be possible to integrate the indices we use in OpenCms into that server?
Additionally, do you know if it's possible to define two different schemas for different indices within a SOLR instance?

Also, if anyone has insights into the requirements for such a SOLR server, that would be very helpful.

Any hints or ideas would be greatly appreciated.

Thank you very much!

Ramón.





_______________________________________________

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







-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20240122/eec6e4f8/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 13578 bytes
Desc: image001.jpg
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20240122/eec6e4f8/attachment-0001.jpg>

------------------------------

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 115, Issue 1
*******************************************



More information about the opencms-dev mailing list