[opencms-dev] Re: opencms-dev Digest, Vol 83, Issue 1

Wils wilson.neto at cesar.org.br
Mon Mar 6 14:11:41 CET 2006


Hi,

Where i found this photo album?
Is a example?

Tks
Wils

----- Original Message ----- 
From: <opencms-dev-request at opencms.org>
To: <opencms-dev at opencms.org>
Sent: Monday, March 06, 2006 8:06 AM
Subject: opencms-dev Digest, Vol 83, Issue 1


> Send opencms-dev mailing list submissions to
> opencms-dev at opencms.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://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. PhotoAlbum on Opencms 6.0.4 (Ivan Codarin)
>   2. Re: PhotoAlbum on Opencms 6.0.4 (Christian Steinert)
>   3. Re: PhotoAlbum on Opencms 6.0.4 (Codarin Ivan)
>   4. Re: PhotoAlbum on Opencms 6.0.4 (Christian Steinert)
>   5. problem when using  _configuration  (=?gb2312?B?bHhiaW5nMTEz?=)
>   6. Re: WebUser delete problem (Dmitry Lihachev)
>   7. Compilation error on opencms (Tsun Hung Wong)
>   8. what goes in the "Edit Controlcode" ? (Christoph P. Kukulies)
>   9. Installation on Debian 3.1 and Plesk 7.5.4 (Guggenberger,Wilhelm)
>  10. Re: Spring / Hibernate: OpenSessionInViewFilter (Georg Raffer)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 05 Mar 2006 15:01:00 +0000
> From: Ivan Codarin <ivan.codarin at gmail.com>
> Subject: [opencms-dev] PhotoAlbum on Opencms 6.0.4
> To: The OpenCms mailing list <opencms-dev at opencms.org>
> Message-ID: <440AFD2C.10307 at amm.uniud.it>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Dear All,
> I wanna know if it is possible to integrate the photoalbum module
> (released within Opencms 6.2beta) on the Opencms 6.0.4.
> I tried to export the module from the 6.2beta and install on the 6.0.4
> but when I try to open the page album.html in
> /system/modules/org.opencms.frontend.photoalbum/pages/  I get an error
> regarding a non-existent class:
>
> CmsImageScaler (that would have to be in org.opencms.loader...).
> I saw that class in the opencms.jar but I cannot find the sourcecode in
> the CVS repository (this sounds very strange)...
>
> Thank you
> Ivan
>
> ------------------------------
>
> Message: 2
> Date: Sun, 05 Mar 2006 17:57:28 +0100
> From: Christian Steinert <christian_steinert at web.de>
> Subject: Re: [opencms-dev] PhotoAlbum on Opencms 6.0.4
> To: ivan.codarin at amm.uniud.it, The OpenCms mailing list
> <opencms-dev at opencms.org>
> Message-ID: <440B1878.8070901 at web.de>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Ivan Codarin wrote:
>> Dear All,
>> I wanna know if it is possible to integrate the photoalbum module
>> (released within Opencms 6.2beta) on the Opencms 6.0.4.
>> I tried to export the module from the 6.2beta and install on the 6.0.4
>> but when I try to open the page album.html in
>> /system/modules/org.opencms.frontend.photoalbum/pages/  I get an error
>> regarding a non-existent class:
>>
>> CmsImageScaler (that would have to be in org.opencms.loader...).
>> I saw that class in the opencms.jar but I cannot find the sourcecode
>> in the CVS repository (this sounds very strange)...
>>
>> Thank you
>> Ivan
>>
>> _______________________________________________
>> 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
>> http://lists.opencms.org/mailman/listinfo/opencms-dev
>>
> Dear Ivan,
>
> I have downloaded the complete 604 - source from CVS. The class
> org.opencms.loader.CmsImageScaler is not contained in the 6.0.4 source
> and it is also not contained in my opencms.jar of release 6.0.4.
> That class must have been added to the CVS with a later version.
>
> Regards
> Christian
>
> ------------------------------
>
> Message: 3
> Date: Sun, 05 Mar 2006 18:19:14 +0100
> From: Codarin Ivan <ivan.codarin at gmail.com>
> Subject: Re: [opencms-dev] PhotoAlbum on Opencms 6.0.4
> To: ivan.codarin at amm.uniud.it, The OpenCms mailing list
> <opencms-dev at opencms.org>
> Message-ID: <440B1D92.4020807 at amm.uniud.it>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Dears,
> I managed this problem, now I have the photoalbum running on Opencms
> 6.04 copying some .class/jar files from 6.2beta to 6.0.4.
>
> But I don't have the source code for the classes that, for example, are
> responsible for the resizing of the images.... the resizes done by
> default is not so well (it seem not to be proportional-width and height
> on the thumbnails are not scaled well)...
>
> Ivan
>
> Ivan Codarin wrote:
>> Dear All,
>> I wanna know if it is possible to integrate the photoalbum module
>> (released within Opencms 6.2beta) on the Opencms 6.0.4.
>> I tried to export the module from the 6.2beta and install on the 6.0.4
>> but when I try to open the page album.html in
>> /system/modules/org.opencms.frontend.photoalbum/pages/  I get an error
>> regarding a non-existent class:
>>
>> CmsImageScaler (that would have to be in org.opencms.loader...).
>> I saw that class in the opencms.jar but I cannot find the sourcecode
>> in the CVS repository (this sounds very strange)...
>>
>> Thank you
>> Ivan
>>
>> _______________________________________________
>> 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
>> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
>
> ------------------------------
>
> Message: 4
> Date: Sun, 05 Mar 2006 18:43:03 +0100
> From: Christian Steinert <christian_steinert at web.de>
> Subject: Re: [opencms-dev] PhotoAlbum on Opencms 6.0.4
> To: ivan.codarin at amm.uniud.it, The OpenCms mailing list
> <opencms-dev at opencms.org>
> Message-ID: <440B2327.8040208 at web.de>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Codarin Ivan wrote:
>> Dears,
>> I managed this problem, now I have the photoalbum running on Opencms
>> 6.04 copying some .class/jar files from 6.2beta to 6.0.4.
>>
>> But I don't have the source code for the classes that, for example,
>> are responsible for the resizing of the images.... the resizes done by
>> default is not so well (it seem not to be proportional-width and
>> height on the thumbnails are not scaled well)...
> Hi,
>
> the class IS in the CVS, but you must select build 6.1.8 (which is 6.2 
> beta)
> http://www.opencms.org/cvs/viewcvs.cgi/opencms/src/org/opencms/loader/?only_with_tag=build_6_1_8
>
> Christian
>
> ------------------------------
>
> Message: 5
> Date: Mon, 6 Mar 2006 09:00:38 +0800 (CST)
> From: "=?gb2312?B?bHhiaW5nMTEz?=" <lxbing113 at 163.com>
> Subject: [opencms-dev] problem when using  _configuration
> To: "opencms-dev at opencms...." <opencms-dev at opencms.org>
> Message-ID: <440B89B6.000143.23520 at bj163app1.163.com>
> Content-Type: text/plain; charset="gb2312"
>
> hello every one:
>
>
>   I removed the opencms 6.0 from one tomcat to another one,follwing 
> bellow:
>
>
>   copy the file /tomcat/webapps/opencms.war and the folder
> /tomcat/webapps/opencms of the old tomcat, to the correspondence folder
> of the new tomcat,The two tomcats in the same server,one tomcat is not
> working. ervery thing in opencms works well,but when I am at the
> offline status, the files in the _configuration folder are not working
> in every project, the error message is:
>
>
>
>
>
>
>
> Failed to read resource "/xiancaro/_configuration/configuration_common". 
> It is only available for internal access operations.
>
>
>
>
>
> org.opencms.main.CmsException: Failed to read resource 
> "/xiancaro/_configuration/configuration_common". It is only available for 
> internal access operations.
> at org.opencms.main.OpenCmsCore.initResource(OpenCmsCore.java:1230)
> at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1334)
> at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:139)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
> at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
> at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
> at 
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at 
> org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
> at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
> at 
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
> at 
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
> at 
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
> at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at 
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
> at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
> at 
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
> at 
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
> at 
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
> at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
> at java.lang.Thread.run(Thread.java:534)
>
> I think it maybe some files of opencms concealed in the old tomcat,which I 
> couldn't copy to the new tomcat! but I can't find it,
>       does someone have the exprience of the case, please help!
> thanks advance!
>
>      lxbing
>   06/03/2006
>
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: 
> http://lists.opencms.org/pipermail/opencms-dev/attachments/20060306/b7505232/attachment-0001.html
>
> ------------------------------
>
> Message: 6
> Date: Mon, 06 Mar 2006 09:27:52 +0600
> From: Dmitry Lihachev <lda at tusur.ru>
> Subject: Re: [opencms-dev] WebUser delete problem
> To: tommaso.masi at tiscali.it, The OpenCms mailing list
> <opencms-dev at opencms.org>
> Message-ID: <440BAC38.7050105 at tusur.ru>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hello, Tomas. 04.03.2006 15:19 You wrote:
>> Thank you for your suggestion, Dmitry.
>> I tried your solution just to discover that the Guest user I used to
>> initialize the CmsObject has not the account manager role needed to 
>> delete a
>> WebUser.
>> If this is true, I think it is impossible to write application code to
>> implement a delete function for a WebUser that want to remove itself from
>> the set of registered users of a site build on top of OpenCms.
>> Can someone from the OpenCms development team answer to this question?
>> Thank you
>>
> I think you can log in as manager with predefined login and password and
> try to delete your WebUser
>
> -- 
> icq uin: 120606300, jabber: lda at hostel.tusur.ru
> e-mail: lda at tusur.ru, http://ilab.tusur.ru
>
>
> ------------------------------
>
> Message: 7
> Date: Mon, 6 Mar 2006 16:02:17 +0800 (CST)
> From: Tsun Hung Wong <wthterry at yahoo.com.hk>
> Subject: [opencms-dev] Compilation error on opencms
> To: opencms-dev at opencms.org
> Message-ID: <20060306080217.31829.qmail at web53609.mail.yahoo.com>
> Content-Type: text/plain; charset="big5"
>
> Dear All,
>
>  I'm having an error on compiling the InfoCMS, the error message is as 
> follow. Did anyone ever faced this problem?
>
>
>  type Exception report
>  message
>  description The server encountered an internal error () that prevented it 
> from fulfilling this request.
>  exception
> org.apache.jasper.JasperException: Unable to compile class for JSP    An 
> error occurred at line: -1 in the jsp file: null    Generated servlet 
> error:      [javac] Compiling 1 source file         at 
> org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:85) 
> at 
> org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:248) 
> at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:315) 
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:328)   at 
> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:427) 
> at 
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:142) 
> at 
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:240) 
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:187)   at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:809)   at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200) 
> at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146) 
> at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209) 
> at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596) 
> at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433) 
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948) 
> at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144) 
> at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596) 
> at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433) 
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948) 
> at 
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358) 
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133) 
> at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596) 
> at 
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118) 
> at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594) 
> at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116) 
> at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594) 
> at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433) 
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948) 
> at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127) 
> at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596) 
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433) 
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948) 
> at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152) 
> at 
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) 
> at 
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) 
> at 
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) 
> at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) 
> at java.lang.Thread.run(Unknown Source)
>
> Regards,
>
> Terry
>
> _______________________________________
> YM - Â÷½u°T®§
> ´Nºâ§A¨S¦³¤Wºô¡A§AªºªB¤Í¤´¥i¥H¯d¤U°T®§µ¹§A¡A·í§A¤Wºô®É´N¯à¥ß§Y¬Ý¨ì¡A¥ô¦ó»¡¸Ü³£ÉN¨«¥¢¡C
> http://messenger.yahoo.com.hk
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: 
> http://lists.opencms.org/pipermail/opencms-dev/attachments/20060306/ff2cf062/attachment-0001.html
>
> ------------------------------
>
> Message: 8
> Date: Mon, 6 Mar 2006 09:14:01 +0100
> From: "Christoph P. Kukulies" <kuku at physik.rwth-aachen.de>
> Subject: [opencms-dev] what goes in the "Edit Controlcode" ?
> To: opencms-dev at opencms.org
> Message-ID: <20060306081401.GA10740 at physik.rwth-aachen.de>
> Content-Type: text/plain; charset=us-ascii
>
>
> I have some weird effects with Javascript. During examining
> the failing page I found that I had lots of FORM related control code
> in that section (Edit controlcode) and I never could see where the
> javascript goes.
>
> I remember that I saw the javascript code with the old editor
> but since I installed the FCK-editor I don't see the
> javascript code any longer in the source edit window.
>
> When I click on "Edit Controlcode" then the old - primitive version (
> with the save+exit, save and quit buttons) - is being used.
>
> I suspect that this editor has the same sensitivity about touching
> and messing my javascript code.
>
> How can I debug this?
>
>
> --
> Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
>
>
> ------------------------------
>
> Message: 9
> Date: Mon, 6 Mar 2006 09:27:14 +0100
> From: "Guggenberger,Wilhelm" <Wilhelm.Guggenberger at drei.com>
> Subject: [opencms-dev] Installation on Debian 3.1 and Plesk 7.5.4
> To: <opencms-dev at opencms.org>
> Message-ID:
> <BB9DB05AEE941B4E93353AF11B39E93650636A at AV1MX3.at-work.local>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi !
>
> I have tried to install OpenCms 6.2 beta on a Debian 3.1 system managed
> with Plesk 7.5.4 software,
> but it was not possible to start the web aaplication.
>
> Have anybody the some configuration and a running OpenCms system?
>
> Thanks
> Willi
>
> ------------------------------
>
> Message: 10
> Date: Mon, 06 Mar 2006 10:47:22 +0100
> From: Georg Raffer <georg.nc at gmail.com>
> Subject: [opencms-dev] Re: Spring / Hibernate: OpenSessionInViewFilter
> To: The OpenCms mailing list <opencms-dev at opencms.org>
> Message-ID: <440C052A.1040101 at gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> hi,
>
> we are using the
> org.springframework.orm.hibernate3.support.OpenSessionInViewFilter with
> singleSession.
> It works fine. If you use lazy="true" (which is default), you have to
> fetch the associations once if you want to use the object in the next
> request (e.g. putting into session). Loading in a java class, forwarding
> to a jsp in the same request (and than using lazy associations) should
> be no problem with this filter.
>
> <filter>
>    <filter-name>hibernateFilter</filter-name>
>    <filter-class>
>      org.springframework.orm.hibernate3.support.OpenSessionInViewFilter
>    </filter-class>
>    <init-param>
>      <param-name>singleSession</param-name>
>      <param-value>true</param-value>
>    </init-param>
>   </filter>
>
> bye,
> Georg
>
>
> Jonathan Woods wrote:
>> When you say 'don't seem to be applicable', do you mean there's something
>> stopping you from adding a Tomcat filter?  I haven't tried it with 
>> OpenCms,
>> but I think you should still be able to do something like this through
>> Tomcat config alone.
>>
>> Jono
>>
>> -----Original Message-----
>> From: opencms-dev-bounces at opencms.org
>> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Stephen Callaghan
>> Sent: 03 March 2006 05:23
>> To: opencms-dev at opencms.org
>> Subject: [opencms-dev] Spring / Hibernate
>>
>> We've been using Spring successfully for our own java classes which we 
>> are
>> loading into OpenCMS as a module. However, we are now getting the
>> LazyInstantiationException from Hibernate when talking to our database. 
>> All
>> the usual fixes for this (OpenSessionInViewFilter etc) dont seem to be
>> applicable for OpenCMS.
>>
>>  Has anyone else solved this problem?
>>
>> _______________________________________________
>> 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
>> http://lists.opencms.org/mailman/listinfo/opencms-dev
>>
>>
>>
>> _______________________________________________
>> 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
>> http://lists.opencms.org/mailman/listinfo/opencms-dev
>>
>>
>
>
> ------------------------------
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
>
> End of opencms-dev Digest, Vol 83, Issue 1
> ******************************************
> 




More information about the opencms-dev mailing list