Hi Micha,
What do you mean with “Lucee directories”? What error exactly?
I meant that this part of the upgrade documentation didn’t work for me:
“… If you have defined a “railo-server-directory”/“lucee-server-directory” with your servlet specification copy the jars to “{lucee-server-directory-path}/bundles” …”
https://bitbucket.org/lucee/lucee/wiki/Lucee_5_Upgrading_Railo
Sorry, I should have saved the stacktrace … I guess the bundles were not found.
I assume you mean in the admin frontend, this will be the case for the next release. But of course not if you use the tags “collection, index,search” in your code.
Yes, this is a minor issue – and not important for us because we don’t use the search features in Lucee but custom Lucene and Elasticsearch code.
Extended catalina.properties and added a custom folder – jars were not found
That should work, I will check. How you call them?
What jars we talking about? we can make them available as bundles on the update provider, then a manual installation is not necessary.
Well, we are using some libraries like Lucene, POI, PDFBox, YUI, …
My common.loader:
common.loader=“${catalina.base}/lib”,“${catalina.base}/lib/.jar",“${catalina.home}/lib”,"${catalina.home}/lib/.jar”,“${catalina.home}/contenslib”,“${catalina.home}/contenslib/.jar",“${catalina.home}/luceelib”,"${catalina.home}/luceelib/.jar”
And a simple way to test if the library was loaded:
Lucene Facet
org.apache.lucene.facet
#getClassLocation("org.apache.lucene.facet.taxonomy.CategoryPath")#
(Version: #getPackageVersion("org.apache.lucene.facet.taxonomy")#)
#isInClassPath('org.apache.lucene.search.MultiCollector')#
Used for Lucene searching
-HarryVon: lucee@googlegroups.com [mailto:lucee@googlegroups.com] Im Auftrag von Michael Offner
Gesendet: Mittwoch, 8. April 2015 12:29
An: lucee@googlegroups.com
Betreff: Re: [Lucee] Lucee 5 - first impression and problem with custom Java libraries
Hi Harry
Please See my comments between the lines
Thanks for the feedback
Micha
Am Mittwoch, 8. April 2015 schrieb Harry Klein :
Thanks for the first version of Lucee 5, good job!
I played a little bit with Lucee 5 and CONTENS seems to run fine.
Some small issues I found:
The update documentation could be improved, I will try to find some time in the evening and add some missing steps
Most important things I missed:
Clarification about the new Lucee Servlet. Web.xml sample code
The LuceeServlet is not carved in stone yet, we had some troubles with tomcat and the welcome file list splitted between 2 servlets, so maybe this will be merged with the cfmlServlet in the next release.
I could not use existing lucee directories (load errors)
What do you mean with “Lucee directories”? What error exactly?
– and had to add lucee-server/bundles
Lucee shouldn’t throw an error if no searchengine is installed – e.g. this error should be catched
I assume you mean in the admin frontend, this will be the case for the next release. But of course not if you use the tags “collection, index,search” in your code.
I am missing the Infinispan Cache Extension
Will come asap
Could you please help me with one problem, before I add a new Jenkins job for Lucee 5:
How can I add custom JARs to Lucee 5?
I tried these ways:
Extended catalina.properties and added a custom folder – jars were not found
That should work, I will check. How you call them?
Copied the jars to lib/ext - jars were not found
See above
Copied the jars to luceee-server/bundles - jars were not found
Please have in mind that Lucee only looks for bundles in that directory.
Every bundle is a jar, but not every jar is a bundle.
What jars we talking about? we can make them available as bundles on the update provider, then a manual installation is not necessary.
P.S. I would suggest to change one line in startup.bat (comment with rem)
rem if not “%CATALINA_HOME%” == “” goto gotHome
Otherwise the express version could use another Tomcat version in the users system
–
Harry Klein | Konzeption und Entwicklung
CONTENS Software GmbH
Neumarkter Str. 41 | 81673 München
Fon: +49 (0)89 5199 69-0 | Fax: +49 (0)89 5199 69-78
mailto:@Harry_Klein<javascript:_e(%7B%7D,‘cvml’,‘@Harry_Klein’);> | http://www.contens.dehttp://www.contens.de/
Machen Sie CONTENS zu Ihrer Plattform
für effizientes digitales Marketing
www.contens.de/dmhttp://www.contens.de/dm
Sitz der Gesellschaft: München
Geschäftsführer: Jörg Wilcke
Amtsgericht München, HRB 128 273
You received this message because you are subscribed to the Google Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+unsubscribe@googlegroups.commailto:lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.commailto:lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/CAG%2BEEBytn865OO9KCL%3DbHJ_NywWDpxZnKmJcqEMgEoMk2sJZxQ%40mail.gmail.comhttps://groups.google.com/d/msgid/lucee/CAG%2BEEBytn865OO9KCL%3DbHJ_NywWDpxZnKmJcqEMgEoMk2sJZxQ%40mail.gmail.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout.