hypercontent-users Mailing List for HyperContent (Page 8)
Brought to you by:
alexvigdor
You can subscribe to this list here.
2004 |
Jan
|
Feb
(4) |
Mar
(6) |
Apr
(4) |
May
(3) |
Jun
(1) |
Jul
(7) |
Aug
(4) |
Sep
(31) |
Oct
(11) |
Nov
(30) |
Dec
(22) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(23) |
Feb
(11) |
Mar
(22) |
Apr
(13) |
May
(31) |
Jun
(27) |
Jul
(32) |
Aug
(4) |
Sep
(25) |
Oct
(21) |
Nov
(31) |
Dec
(28) |
2006 |
Jan
(14) |
Feb
(12) |
Mar
(17) |
Apr
(21) |
May
(6) |
Jun
(4) |
Jul
(26) |
Aug
(24) |
Sep
(19) |
Oct
(24) |
Nov
(34) |
Dec
(17) |
2007 |
Jan
(10) |
Feb
(43) |
Mar
(60) |
Apr
(10) |
May
(20) |
Jun
(2) |
Jul
(17) |
Aug
(38) |
Sep
(45) |
Oct
(5) |
Nov
(4) |
Dec
(5) |
2008 |
Jan
|
Feb
(1) |
Mar
|
Apr
(10) |
May
(2) |
Jun
(2) |
Jul
|
Aug
(4) |
Sep
(1) |
Oct
(5) |
Nov
(1) |
Dec
(1) |
2009 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: tom t. <j_l...@ya...> - 2007-03-30 00:08:38
|
Alex, Pls find my comments below Did you update the CAS url in the login pipeline in > pipelines.xml > also? Yes of course, Initially it redirects to the CAS server for user to enter his username and password (with this url https://casserver:8443/cas/login?service=http://localhost:8080/hypercontent/vusample2/%3fmode%3Dlogin%26passmode%3D%26command%3DLogin)) Then user enters his credentials and then it fails in the HC end, infact CAS log says ticket granted and authentication is successful. It could be a certificate issue - can you > test the connection > another way? Yes I did test it another way, that is, I pointed my uPortal server (my dev machine) (same machine with HC) to remote CAS server, and I was able to login to the uPortal via CAS. If there is a certificate issue uPortal would not allow the user to login, using java key tool I imported the CAS server certificate to my cacerts in JAVA_HOME. The other minor difference I see is, we use PAMs in CAS server and we keep all the pam jars in ext directory of the JAVA_HOME where as in HC client.jar is in the WEB-INF/lib. Above I did in my dev machine, but we are getting the same repetitive error in UAT env, where there is one dedicated HC server with no other dependencies and also a seperate CAS server. Pls let me know how to proceed on this. Thanks ____________________________________________________________________________________ Bored stiff? Loosen up... Download and play hundreds of games for free on Yahoo! Games. http://games.yahoo.com/games/front |
From: Alex V. <al...@bi...> - 2007-03-29 13:31:44
|
Hi Carl, On line 192 of /screens/modal-xml.xsl in the bootstrap = repository, =20 you'll see this commented out: <a title=3D"{$EXPAND_ELEM}" href=3D"{$baseActionURL}?{$edit_cmd}=20 =3DExpandAll&{$position}=3D{$pos}&anchor=3D{$pos}"> <img alt=3D"{$EXPAND_ELEM}" border=3D"0" hspace=3D"1" vspace=3D"1" =20= width=3D"16" height=3D"16" src=3D"{$mediaBase}/expanded.gif"/> </a> If you uncomment this, it will place an expansion icon on the root =20 element whose sole purpose is to "expand all". If you want to enable =20= this just for one site, copy the file to the same path in the project =20= repository. Cheers, Alex On Mar 28, 2007, at 5:38 AM, Carl Barrow wrote: > Hi Alex, > > > > I had this question form someone here : > > > > =91Is it possible on the CMS to set a parameter so that when you go =20= > into edit a page all the editing boxes are already open? > > This would save a lot of time.=92 > > > > Is this possible? Also is it possible to enable it on just one =20 > website since I=92m not sure the rest of my users want this. > > > > Cheers > > Carl > > > > > > ************************************* > > Carl Barrow > Systems Integrator > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > > http://www.hull.ac.uk/cms > > ************************************* > > > > **********************************************************************=20= > ******************* > To view the terms under which this email is distributed, please go =20 > to http://www.hull.ac.uk/legal/email_disclaimer.html > **********************************************************************=20= > *******************---------------------------------------------------=20= > ---------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to =20 > share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?=20 > page=3Djoin.php&p=3Dsourceforge&CID=3DDEVDEV____________________________= ____=20 > _______________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |
From: Alex V. <al...@bi...> - 2007-03-29 13:25:35
|
Hi Tom, Did you update the CAS url in the login pipeline in pipelines.xml also? It could be a certificate issue - can you test the connection another way? For example, you could try to set up an include that points to the CAS login screen; if the JVM is able to connect you might get a parsing error, but if not you may get some diagnostic details about the failure. Alex On Mar 29, 2007, at 2:09 AM, tom tom wrote: >> From the top level diagnosting what I could observ > was. > > When both CAS and HC in one server everthing works, > which means which Login.java calls lc.login(); it will > call the CASLoginModule's login method, but when CAS > server is remote it won't call the CASLoginModule's > login instead repeating the lc.login() method, > > Is this a certificate issue. > > Thanks > --- tom tom <j_l...@ya...> wrote: > >> Hi, >> >> When we seperate the CAS server from HC server >> browser >> gives the following error, we have installed the CAS >> server certificates in the HC server. Also can't >> find >> any error in any of the logs. >> >> but in the browser query string I can see service >> has >> duplicate entries, >> >> What would be the problem for this. >> >> jaas.properties looks as follows >> >> HyperContent >> { >> edu.yale.its.tp.cas.client.jaas.CASLoginModule >> sufficient >> >> > cas_validate_url="https://remote.cas.server:8443/cas/serviceValidate"; >> }; >> >> browser error, >> >> The page isn't redirecting properly >> Firefox has detected that the server is redirecting >> the request for this address in a way that will >> never >> complete. >> >> * This problem can sometimes be caused by >> disabling or refusing to accept >> cookies. >> >> >> >> > ______________________________________________________________________ > ______________ >> Food fight? Enjoy some healthy debate >> in the Yahoo! Answers Food & Drink Q&A. >> > http://answers.yahoo.com/dir/?link=list&sid=396545367 >> >> > ---------------------------------------------------------------------- > --- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get >> the chance to share your >> opinions on IT & business topics through brief >> surveys-and earn cash >> > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> Hypercontent-users mailing list >> Hyp...@li... >> > https://lists.sourceforge.net/lists/listinfo/hypercontent-users >> > > > > > ______________________________________________________________________ > ______________ > Get your own web address. > Have a HUGE year through Yahoo! Small Business. > http://smallbusiness.yahoo.com/domains/?p=BESTDEAL > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users > |
From: tom t. <j_l...@ya...> - 2007-03-29 06:09:48
|
>From the top level diagnosting what I could observ was. When both CAS and HC in one server everthing works, which means which Login.java calls lc.login(); it will call the CASLoginModule's login method, but when CAS server is remote it won't call the CASLoginModule's login instead repeating the lc.login() method, Is this a certificate issue. Thanks --- tom tom <j_l...@ya...> wrote: > Hi, > > When we seperate the CAS server from HC server > browser > gives the following error, we have installed the CAS > server certificates in the HC server. Also can't > find > any error in any of the logs. > > but in the browser query string I can see service > has > duplicate entries, > > What would be the problem for this. > > jaas.properties looks as follows > > HyperContent > { > edu.yale.its.tp.cas.client.jaas.CASLoginModule > sufficient > > cas_validate_url="https://remote.cas.server:8443/cas/serviceValidate"; > }; > > browser error, > > The page isn't redirecting properly > Firefox has detected that the server is redirecting > the request for this address in a way that will > never > complete. > > * This problem can sometimes be caused by > disabling or refusing to accept > cookies. > > > > ____________________________________________________________________________________ > Food fight? Enjoy some healthy debate > in the Yahoo! Answers Food & Drink Q&A. > http://answers.yahoo.com/dir/?link=list&sid=396545367 > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get > the chance to share your > opinions on IT & business topics through brief > surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users > ____________________________________________________________________________________ Get your own web address. Have a HUGE year through Yahoo! Small Business. http://smallbusiness.yahoo.com/domains/?p=BESTDEAL |
From: tom t. <j_l...@ya...> - 2007-03-29 04:06:47
|
Hi, When we seperate the CAS server from HC server browser gives the following error, we have installed the CAS server certificates in the HC server. Also can't find any error in any of the logs. but in the browser query string I can see service has duplicate entries, What would be the problem for this. jaas.properties looks as follows HyperContent { edu.yale.its.tp.cas.client.jaas.CASLoginModule sufficient cas_validate_url="https://remote.cas.server:8443/cas/serviceValidate"; }; browser error, The page isn't redirecting properly Firefox has detected that the server is redirecting the request for this address in a way that will never complete. * This problem can sometimes be caused by disabling or refusing to accept cookies. ____________________________________________________________________________________ Food fight? Enjoy some healthy debate in the Yahoo! Answers Food & Drink Q&A. http://answers.yahoo.com/dir/?link=list&sid=396545367 |
From: Carl B. <C.P...@hu...> - 2007-03-28 09:38:52
|
***************************************************************************************** To view the terms under which this email is distributed, please go to http://www.hull.ac.uk/legal/email_disclaimer.html ***************************************************************************************** |
From: tom t. <j_l...@ya...> - 2007-03-20 22:51:01
|
Hi Alex, I sent the only exception I got in the log. UAT is on Fedora CORE 5, with internal storage. STAFF access via tomcat 5.5.20 on port 8080 for content editing and will publish to Apache 2.2 (runs in the same machine) for serving students. Production will be same setup with Linux Advanced server with mod_jk for staff as well. Thanks --- Alex Vigdor <al...@bi...> wrote: > Hi Tom, > You should look for errors earlier in the log that > might give a clue > as to the root cause. Also, can you describe your > server platform? > I.e. unix or windows, internal or network storage, > NFS or SMB, > processor, etc. > > Alex > > On Mar 19, 2007, at 9:24 PM, tom tom wrote: > > > I did all the fixes as suggested by you, but at > UAT > > following happened > > > > UAT Content Author (doesnt have approval rights) > > started creating all the contents (lot of > content). > > > > Towards the end Author experienced the system is > very > > slow and complained about that then I asked to > send > > the log. I have attached the exception, > > > > I asked the user to delete the file.lock in side > > /workflow-data/pending-executables.db. Then > everything > > is ok > > > > > > I came across similar thing sometime back for > > build.xml > > and you gave some suggestions to put it as > schedulars. > > > > Can you let me know any recommendation for the > above > > issue > > > > > > > > org.hypercontent.HyperException: Store already > engaged > > in transaction @ > > /workflow-data/pending-executables.db(exists? > true) > > > > at > > > org.hypercontent.data.impl.AbstractDataStore.beginTransaction > > > (AbstractDataStore.java:141) > > at > > > org.hypercontent.data.impl.AbstractDataStore.beginTransaction > > > (AbstractDataStore.java:84) > > at > > > org.hypercontent.data.impl.AbstractDataStore.beginTransaction > > > (AbstractDataStore.java:80) > > at > > > org.hypercontent.workflow.queue.impl.ExecutableQueue.enqueue > > > (ExecutableQueue.java:205) > > at > > > org.hypercontent.workflow.queue.impl.ExecutableQueue.enqueue > > > (ExecutableQueue.java:139) > > at > > > org.hypercontent.workflow.event.EventDispatcher.dispatch > > > (EventDispatcher.java:64) > > at > > > org.hypercontent.server.commands.NewFile.execute(NewFile.java:286) > > at > > > org.hypercontent.server.ContentServer.service(ContentServer.java:439) > > at > > org.hypercontent.servlet.CompositionServlet.doGet > > (CompositionServlet.java:104) > > 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:252) > > at > > > org.apache.catalina.core.ApplicationFilterChain.doFilter > > > (ApplicationFilterChain.java:173) > > at > > > org.apache.catalina.core.StandardWrapperValve.invoke > > > (StandardWrapperValve.java:213) > > at > > > org.apache.catalina.core.StandardContextValve.invoke > > > (StandardContextValve.java:178) > > at > > org.apache.catalina.core.StandardHostValve.invoke > > (StandardHostValve.java:126) > > --- Alex Vigdor <al...@bi...> wrote: > > > >> > >> On Feb 27, 2007, at 5:33 PM, tom tom wrote: > >> > >>> Alex, > >>> I will try it out and let you know, > >>> > >>> Well...Eventually when this (HC) goes to > >> production > >>> this will be used by the Authors, Hence there is > >>> always a possibility this can happen, > >> > >> I suggest you deny your authors permission to > read > >> or write any files > >> under /config, e.g. > >> > >> <permission activity="read" denied="true" > >> principal="group:authors" > >> target="/config/**/*.*"/> > >> <permission activity="read" denied="true" > >> principal="group:authors" > >> target="/config/**/"/> > >> > >>> > >>> Due to these reasons cant we do the following > >>> > >>> 1) Have a timeout and release the resources so > >> that > >>> users will not get this error all the time. Or > as > >> part > >>> of the restart clear the locks. > >> > >> There is currently a 4 hour lock timeout and a 15 > >> second lock wait > >> time hard coded. If you'd like to see those > moved > >> to a properties > >> file, or a facility for scheduling workflow tasks > >> for startup, please > >> submit jira issues. > >> > >> > https://clearinghouse.ja-sig.org/issues/browse/HYP > >> > >>> > >>> > >>> 2) Delete unnecessary workflow data triggered by > a > >>> schedular > >>> > >>> 3) Mechanism to delete the history data which we > >> can > >>> see in the workflow screen > >> > >> In order to delete work data from the repository > >> (and therefore on > >> screen), you must remove it from any queues it is > >> in. You can do this > >> on a schedule. For example, in approvals.xml > >> > >> <q id="archived"> > >> <event name="scheduled-discard" when="in 2 > hours"> > >> <dq where="${path}"/> > >> <dq who="${editor}"/> > >> <dq/> > >> </event> > >> ... > >> > >> or in publish.xml > >> > >> <q id="published"> > >> <event name="scheduled-discard" when="in 2 > days"> > >> <dq who="${publisher}"/> > >> <dq/> > >> </event> > >> ... > >> > >> See this page for more scheduling info: > === message truncated === ____________________________________________________________________________________ Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. http://autos.yahoo.com/new_cars.html |
From: Carl P B. <C.P...@hu...> - 2007-03-20 13:03:31
|
Thanks, Works great, although I had to set disable-output-escaping to 'yes' Cheers=20 Carl ************************************* Carl Barrow Systems Integrator e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 http://www.hull.ac.uk/cms ************************************* -----Original Message----- From: hyp...@li... [mailto:hyp...@li...] On Behalf Of Adam Carl Sent: 20 March 2007 12:37 To: Alex Vigdor; Hypercontent-users List Subject: Re: [Hypercontent-users] Embeding movies Thanks Alex, you beat me to it. Adam On 3/20/07 8:11 AM, "Alex Vigdor" <al...@bi...> wrote: > Hi Carl, > You're close, try adding this template: >=20 > <xsl:template match=3D"rawhtml"> > <xsl:value-of select=3D"." disable-output-escaping=3D"true"/> > </xsl:template> >=20 > The disable-output-escaping attribute will allow the user-entered > tags to pass through. >=20 > Cheers, > Alex >=20 > On Mar 20, 2007, at 8:01 AM, Carl P Barrow wrote: >=20 >> Adam, >>=20 >> So...I set things up as follows but it's actually showing the code >> rather that the video. Am I just going about it the wrong way? >>=20 >> DTD >> <!ELEMENT rawhtml (#PCDATA)> >>=20 >> XSL >> <xsl:template name=3D"rawhtml"> >> <xsl:apply-templates select=3D"/cms:wrapper/cms:source/page/ >> rawhtml"/> >> </xsl:template> >>=20 >> <xsl:call-template name=3D"rawhtml"/> >>=20 >>=20 >>=20 >> ************************************* >> Carl Barrow >> Systems Integrator >> e-Services >> The University of Hull >> Cottingham Road >> Hull >> HU6 7RX >> Ext. 6838 >>=20 >> http://www.hull.ac.uk/cms >> ************************************* >>=20 >> -----Original Message----- >> From: hyp...@li... >> [mailto:hyp...@li...] On Behalf Of >> Carl P Barrow >> Sent: 20 March 2007 09:43 >> To: Adam Carl; Hypercontent-users List >> Subject: Re: [Hypercontent-users] Embeding movies >>=20 >> Thanks Adam, I hadn't though of that. I'll take a look. >>=20 >> What time is it there? Must be awfully early! >>=20 >> ************************************* >> Carl Barrow >> Systems Integrator >> e-Services >> The University of Hull >> Cottingham Road >> Hull >> HU6 7RX >> Ext. 6838 >>=20 >> http://www.hull.ac.uk/cms >> ************************************* >>=20 >> -----Original Message----- >> From: Adam Carl [mailto:ac...@co...] >> Sent: 20 March 2007 09:39 >> To: Carl P Barrow; Hypercontent-users List >> Subject: Re: [Hypercontent-users] Embeding movies >>=20 >> Carl, >>=20 >> The html is strippied out by the wysiwyg editor right? I would just >> create another dtd element called rawhtml and tell the xsl to spit it >> out exactly as shown. Of couse the entry box will not show a wysiwyg >> editor but a user is really not supposed to change that kind of html >> anyway. Just a thought. >>=20 >> Adam >>=20 >> Adam Carl >> CUIT Webservices >>=20 >> -----Original Message----- >> From: Carl P Barrow [mailto:C.P...@hu...] >> Sent: Tuesday, March 20, 2007 05:22 AM Eastern Standard Time >> To: Hypercontent-users List >> Subject: Re: [Hypercontent-users] Embeding movies >>=20 >> Hi Alex, >>=20 >> Did you have a chance to look at the below email. I'm being asked >> about >> this a lot. >>=20 >> Cheers >> Carl >>=20 >> ************************************* >> Carl Barrow >> Systems Integrator >> e-Services >> The University of Hull >> Cottingham Road >> Hull >> HU6 7RX >> Ext. 6838 >>=20 >> http://www.hull.ac.uk/cms >> ************************************* >> ________________________________ >>=20 >> From: hyp...@li... >> [mailto:hyp...@li...] On Behalf Of >> Carl Barrow >> Sent: 07 March 2007 14:33 >> To: Hypercontent-users List >> Subject: [Hypercontent-users] Embeding movies >>=20 >> Hi Alex, >>=20 >> One of my users here wants to embed a move taken from YouTube into one >> of their web pages. The problem is that the code is stripped out when >> the content is saved. Where can I tell the system not to strip it out? >>=20 >> Code would be as follows: >>=20 >> <object width=3D"425" height=3D"350"><param name=3D"movie" >> value=3D"http://www.youtube.com/v/QF7RRBZYfko"></param><param >> name=3D"wmode" >> value=3D"transparent"></param><embed >> src=3D"http://www.youtube.com/v/QF7RRBZYfko" >> type=3D"application/x-shockwave-flash" wmode=3D"transparent" = width=3D"425" >> height=3D"350"></embed></object> >>=20 >> Cheers >> Carl >>=20 >> ************************************* >> Carl Barrow >> Systems Integrator >> e-Services >> The University of Hull >> Cottingham Road >> Hull >> HU6 7RX >> Ext. 6838 >>=20 >> http://www.hull.ac.uk/cms >> ************************************* >> ********************************************************************** >> ******************* >> To view the terms under which this email is distributed, please go >> to http://www.hull.ac.uk/legal/email_disclaimer.html >> ********************************************************************** >> *******************--------------------------------------------------- >> ---------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to >> share your >> opinions on IT & business topics through brief surveys-and earn cash >> http://www.techsay.com/default.php? >> page=3Djoin.php&p=3Dsourceforge&CID=3DDEVDEV_____________________________= ___ >> _______________ >> Hypercontent-users mailing list >> Hyp...@li... >> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >=20 >=20 > ------------------------------------------------------------------------ - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDE V > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDE V _______________________________________________ Hypercontent-users mailing list Hyp...@li... https://lists.sourceforge.net/lists/listinfo/hypercontent-users |
From: Adam C. <ac...@co...> - 2007-03-20 12:37:34
|
Thanks Alex, you beat me to it. Adam On 3/20/07 8:11 AM, "Alex Vigdor" <al...@bi...> wrote: > Hi Carl, > You're close, try adding this template: > > <xsl:template match="rawhtml"> > <xsl:value-of select="." disable-output-escaping="true"/> > </xsl:template> > > The disable-output-escaping attribute will allow the user-entered > tags to pass through. > > Cheers, > Alex > > On Mar 20, 2007, at 8:01 AM, Carl P Barrow wrote: > >> Adam, >> >> So...I set things up as follows but it's actually showing the code >> rather that the video. Am I just going about it the wrong way? >> >> DTD >> <!ELEMENT rawhtml (#PCDATA)> >> >> XSL >> <xsl:template name="rawhtml"> >> <xsl:apply-templates select="/cms:wrapper/cms:source/page/ >> rawhtml"/> >> </xsl:template> >> >> <xsl:call-template name="rawhtml"/> >> >> >> >> ************************************* >> Carl Barrow >> Systems Integrator >> e-Services >> The University of Hull >> Cottingham Road >> Hull >> HU6 7RX >> Ext. 6838 >> >> http://www.hull.ac.uk/cms >> ************************************* >> >> -----Original Message----- >> From: hyp...@li... >> [mailto:hyp...@li...] On Behalf Of >> Carl P Barrow >> Sent: 20 March 2007 09:43 >> To: Adam Carl; Hypercontent-users List >> Subject: Re: [Hypercontent-users] Embeding movies >> >> Thanks Adam, I hadn't though of that. I'll take a look. >> >> What time is it there? Must be awfully early! >> >> ************************************* >> Carl Barrow >> Systems Integrator >> e-Services >> The University of Hull >> Cottingham Road >> Hull >> HU6 7RX >> Ext. 6838 >> >> http://www.hull.ac.uk/cms >> ************************************* >> >> -----Original Message----- >> From: Adam Carl [mailto:ac...@co...] >> Sent: 20 March 2007 09:39 >> To: Carl P Barrow; Hypercontent-users List >> Subject: Re: [Hypercontent-users] Embeding movies >> >> Carl, >> >> The html is strippied out by the wysiwyg editor right? I would just >> create another dtd element called rawhtml and tell the xsl to spit it >> out exactly as shown. Of couse the entry box will not show a wysiwyg >> editor but a user is really not supposed to change that kind of html >> anyway. Just a thought. >> >> Adam >> >> Adam Carl >> CUIT Webservices >> >> -----Original Message----- >> From: Carl P Barrow [mailto:C.P...@hu...] >> Sent: Tuesday, March 20, 2007 05:22 AM Eastern Standard Time >> To: Hypercontent-users List >> Subject: Re: [Hypercontent-users] Embeding movies >> >> Hi Alex, >> >> Did you have a chance to look at the below email. I'm being asked >> about >> this a lot. >> >> Cheers >> Carl >> >> ************************************* >> Carl Barrow >> Systems Integrator >> e-Services >> The University of Hull >> Cottingham Road >> Hull >> HU6 7RX >> Ext. 6838 >> >> http://www.hull.ac.uk/cms >> ************************************* >> ________________________________ >> >> From: hyp...@li... >> [mailto:hyp...@li...] On Behalf Of >> Carl Barrow >> Sent: 07 March 2007 14:33 >> To: Hypercontent-users List >> Subject: [Hypercontent-users] Embeding movies >> >> Hi Alex, >> >> One of my users here wants to embed a move taken from YouTube into one >> of their web pages. The problem is that the code is stripped out when >> the content is saved. Where can I tell the system not to strip it out? >> >> Code would be as follows: >> >> <object width="425" height="350"><param name="movie" >> value="http://www.youtube.com/v/QF7RRBZYfko"></param><param >> name="wmode" >> value="transparent"></param><embed >> src="http://www.youtube.com/v/QF7RRBZYfko" >> type="application/x-shockwave-flash" wmode="transparent" width="425" >> height="350"></embed></object> >> >> Cheers >> Carl >> >> ************************************* >> Carl Barrow >> Systems Integrator >> e-Services >> The University of Hull >> Cottingham Road >> Hull >> HU6 7RX >> Ext. 6838 >> >> http://www.hull.ac.uk/cms >> ************************************* >> ********************************************************************** >> ******************* >> To view the terms under which this email is distributed, please go >> to http://www.hull.ac.uk/legal/email_disclaimer.html >> ********************************************************************** >> *******************--------------------------------------------------- >> ---------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to >> share your >> opinions on IT & business topics through brief surveys-and earn cash >> http://www.techsay.com/default.php? >> page=join.php&p=sourceforge&CID=DEVDEV________________________________ >> _______________ >> Hypercontent-users mailing list >> Hyp...@li... >> https://lists.sourceforge.net/lists/listinfo/hypercontent-users > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |
From: Alex V. <al...@bi...> - 2007-03-20 12:20:28
|
Hi Tom, You should look for errors earlier in the log that might give a clue as to the root cause. Also, can you describe your server platform? I.e. unix or windows, internal or network storage, NFS or SMB, processor, etc. Alex On Mar 19, 2007, at 9:24 PM, tom tom wrote: > I did all the fixes as suggested by you, but at UAT > following happened > > UAT Content Author (doesnt have approval rights) > started creating all the contents (lot of content). > > Towards the end Author experienced the system is very > slow and complained about that then I asked to send > the log. I have attached the exception, > > I asked the user to delete the file.lock in side > /workflow-data/pending-executables.db. Then everything > is ok > > > I came across similar thing sometime back for > build.xml > and you gave some suggestions to put it as schedulars. > > Can you let me know any recommendation for the above > issue > > > > org.hypercontent.HyperException: Store already engaged > in transaction @ > /workflow-data/pending-executables.db(exists? true) > > at > org.hypercontent.data.impl.AbstractDataStore.beginTransaction > (AbstractDataStore.java:141) > at > org.hypercontent.data.impl.AbstractDataStore.beginTransaction > (AbstractDataStore.java:84) > at > org.hypercontent.data.impl.AbstractDataStore.beginTransaction > (AbstractDataStore.java:80) > at > org.hypercontent.workflow.queue.impl.ExecutableQueue.enqueue > (ExecutableQueue.java:205) > at > org.hypercontent.workflow.queue.impl.ExecutableQueue.enqueue > (ExecutableQueue.java:139) > at > org.hypercontent.workflow.event.EventDispatcher.dispatch > (EventDispatcher.java:64) > at > org.hypercontent.server.commands.NewFile.execute(NewFile.java:286) > at > org.hypercontent.server.ContentServer.service(ContentServer.java:439) > at > org.hypercontent.servlet.CompositionServlet.doGet > (CompositionServlet.java:104) > 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:252) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter > (ApplicationFilterChain.java:173) > at > org.apache.catalina.core.StandardWrapperValve.invoke > (StandardWrapperValve.java:213) > at > org.apache.catalina.core.StandardContextValve.invoke > (StandardContextValve.java:178) > at > org.apache.catalina.core.StandardHostValve.invoke > (StandardHostValve.java:126) > --- Alex Vigdor <al...@bi...> wrote: > >> >> On Feb 27, 2007, at 5:33 PM, tom tom wrote: >> >>> Alex, >>> I will try it out and let you know, >>> >>> Well...Eventually when this (HC) goes to >> production >>> this will be used by the Authors, Hence there is >>> always a possibility this can happen, >> >> I suggest you deny your authors permission to read >> or write any files >> under /config, e.g. >> >> <permission activity="read" denied="true" >> principal="group:authors" >> target="/config/**/*.*"/> >> <permission activity="read" denied="true" >> principal="group:authors" >> target="/config/**/"/> >> >>> >>> Due to these reasons cant we do the following >>> >>> 1) Have a timeout and release the resources so >> that >>> users will not get this error all the time. Or as >> part >>> of the restart clear the locks. >> >> There is currently a 4 hour lock timeout and a 15 >> second lock wait >> time hard coded. If you'd like to see those moved >> to a properties >> file, or a facility for scheduling workflow tasks >> for startup, please >> submit jira issues. >> >> https://clearinghouse.ja-sig.org/issues/browse/HYP >> >>> >>> >>> 2) Delete unnecessary workflow data triggered by a >>> schedular >>> >>> 3) Mechanism to delete the history data which we >> can >>> see in the workflow screen >> >> In order to delete work data from the repository >> (and therefore on >> screen), you must remove it from any queues it is >> in. You can do this >> on a schedule. For example, in approvals.xml >> >> <q id="archived"> >> <event name="scheduled-discard" when="in 2 hours"> >> <dq where="${path}"/> >> <dq who="${editor}"/> >> <dq/> >> </event> >> ... >> >> or in publish.xml >> >> <q id="published"> >> <event name="scheduled-discard" when="in 2 days"> >> <dq who="${publisher}"/> >> <dq/> >> </event> >> ... >> >> See this page for more scheduling info: >> >> > http://hypercontent.sourceforge.net/help/project/workflow/ >> >> scheduling.html >> >>> >>> Question >>> >>> 1) When the system goes through many >>> Author->Preview->Approve/Reject ->Build>publish >>> >>> Cycles there may be many data collected as part of >>> each workflow, >>> >>> Will this data cause some performance issue >> specially >>> when loading the Workflow Screen,? If so what is >> the >>> mechanism to get rid of that. >> >> Yes, this can cause performance issues loading the >> workflow screen. >> The scheduled events above will address this. >> >>> >>> Basically I want to be prepared if such a thing >>> happens when this goes to production >>> >>> >>> Thanks >>> >>> >>> >>> >>> >>> >>> Let me know your thoughts on this. >>> >>> Thanks >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> --- Alex Vigdor <al...@bi...> wrote: >>> >>>> This is likely the cause of the delays you are >>>> seeing; the system >>>> must be able to acquire a lock on workflow >> scripts >>>> in order to >>>> initialize them, so you have to make sure that >> once >>>> you open a >>>> workflow script for edit, you save or discard >> your >>>> changes. If you >>>> leave the file open the system will time out >> trying >>>> to acquire the lock. >>>> >>>> After things have gotten weird with the workflow >>>> components, its also >>>> a good idea to restart the server. This won't >> clear >>>> the lock, >>>> however - you can manually remove that from the >>>> filesystem by looking >>>> for "/config/workflow/build.xml/file.lock". >>>> >>>> Cheers, >>>> Alex >>>> >>>> On Feb 27, 2007, at 12:33 AM, tom tom wrote: >>>> >>>>> I looked at the catalina.out and it gives an >> Error >>>> as >>>>> follows. >>>>> >>>>> What is the cause for this error. >>>>> >>>>> >>>>> Thanks >>>>> >>>>> <Unable to load workflow build> >>>>> 2007-02-27 16:29:14,781 ERROR >>>>> [org.hypercontent.util.Logger] - <> >>>>> org.hypercontent.HyperException: Store already >>>> engaged >>>>> in transaction @ >>>> /config/workflow/build.xml(exists? >>>>> true) >>>>> at >>>>> >>>> >>> >> > org.hypercontent.data.impl.AbstractDataStore.beginTransaction >>>> >>>>> (AbstractDataStore.java:141) >>>>> at >>>>> >>>> >>> >> > org.hypercontent.data.impl.AbstractDataStore.beginTransaction >>>> >>>>> (AbstractDataStore.java:84) >>>>> at >>>>> >>>> >>> >> > org.hypercontent.data.impl.AbstractDataStore.beginTransaction >>>> >>>>> (AbstractDataStore.java:80) >>>>> at >>>>> >>>> >>> >> > org.hypercontent.workflow.impl.WorkflowFactoryImpl.getWorkflow >>>> >>>>> (WorkflowFactoryImpl.java:137) >>>>> at >> > === message truncated === > > > > > ______________________________________________________________________ > ______________ > Sucker-punch spam with award-winning protection. > Try the free Yahoo! Mail Beta. > http://advision.webevents.yahoo.com/mailbeta/features_spam.html > |
From: Alex V. <al...@bi...> - 2007-03-20 12:11:53
|
Hi Carl, You're close, try adding this template: <xsl:template match="rawhtml"> <xsl:value-of select="." disable-output-escaping="true"/> </xsl:template> The disable-output-escaping attribute will allow the user-entered tags to pass through. Cheers, Alex On Mar 20, 2007, at 8:01 AM, Carl P Barrow wrote: > Adam, > > So...I set things up as follows but it's actually showing the code > rather that the video. Am I just going about it the wrong way? > > DTD > <!ELEMENT rawhtml (#PCDATA)> > > XSL > <xsl:template name="rawhtml"> > <xsl:apply-templates select="/cms:wrapper/cms:source/page/ > rawhtml"/> > </xsl:template> > > <xsl:call-template name="rawhtml"/> > > > > ************************************* > Carl Barrow > Systems Integrator > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > > http://www.hull.ac.uk/cms > ************************************* > > -----Original Message----- > From: hyp...@li... > [mailto:hyp...@li...] On Behalf Of > Carl P Barrow > Sent: 20 March 2007 09:43 > To: Adam Carl; Hypercontent-users List > Subject: Re: [Hypercontent-users] Embeding movies > > Thanks Adam, I hadn't though of that. I'll take a look. > > What time is it there? Must be awfully early! > > ************************************* > Carl Barrow > Systems Integrator > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > > http://www.hull.ac.uk/cms > ************************************* > > -----Original Message----- > From: Adam Carl [mailto:ac...@co...] > Sent: 20 March 2007 09:39 > To: Carl P Barrow; Hypercontent-users List > Subject: Re: [Hypercontent-users] Embeding movies > > Carl, > > The html is strippied out by the wysiwyg editor right? I would just > create another dtd element called rawhtml and tell the xsl to spit it > out exactly as shown. Of couse the entry box will not show a wysiwyg > editor but a user is really not supposed to change that kind of html > anyway. Just a thought. > > Adam > > Adam Carl > CUIT Webservices > > -----Original Message----- > From: Carl P Barrow [mailto:C.P...@hu...] > Sent: Tuesday, March 20, 2007 05:22 AM Eastern Standard Time > To: Hypercontent-users List > Subject: Re: [Hypercontent-users] Embeding movies > > Hi Alex, > > Did you have a chance to look at the below email. I'm being asked > about > this a lot. > > Cheers > Carl > > ************************************* > Carl Barrow > Systems Integrator > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > > http://www.hull.ac.uk/cms > ************************************* > ________________________________ > > From: hyp...@li... > [mailto:hyp...@li...] On Behalf Of > Carl Barrow > Sent: 07 March 2007 14:33 > To: Hypercontent-users List > Subject: [Hypercontent-users] Embeding movies > > Hi Alex, > > One of my users here wants to embed a move taken from YouTube into one > of their web pages. The problem is that the code is stripped out when > the content is saved. Where can I tell the system not to strip it out? > > Code would be as follows: > > <object width="425" height="350"><param name="movie" > value="http://www.youtube.com/v/QF7RRBZYfko"></param><param > name="wmode" > value="transparent"></param><embed > src="http://www.youtube.com/v/QF7RRBZYfko" > type="application/x-shockwave-flash" wmode="transparent" width="425" > height="350"></embed></object> > > Cheers > Carl > > ************************************* > Carl Barrow > Systems Integrator > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > > http://www.hull.ac.uk/cms > ************************************* > ********************************************************************** > ******************* > To view the terms under which this email is distributed, please go > to http://www.hull.ac.uk/legal/email_disclaimer.html > ********************************************************************** > *******************--------------------------------------------------- > ---------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV________________________________ > _______________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |
From: Carl P B. <C.P...@hu...> - 2007-03-20 12:01:37
|
Adam, So...I set things up as follows but it's actually showing the code rather that the video. Am I just going about it the wrong way? DTD <!ELEMENT rawhtml (#PCDATA)> XSL <xsl:template name=3D"rawhtml"> <xsl:apply-templates = select=3D"/cms:wrapper/cms:source/page/rawhtml"/> </xsl:template> <xsl:call-template name=3D"rawhtml"/> ************************************* Carl Barrow Systems Integrator e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 http://www.hull.ac.uk/cms ************************************* -----Original Message----- From: hyp...@li... [mailto:hyp...@li...] On Behalf Of Carl P Barrow Sent: 20 March 2007 09:43 To: Adam Carl; Hypercontent-users List Subject: Re: [Hypercontent-users] Embeding movies Thanks Adam, I hadn't though of that. I'll take a look. What time is it there? Must be awfully early! ************************************* Carl Barrow Systems Integrator e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 http://www.hull.ac.uk/cms ************************************* -----Original Message----- From: Adam Carl [mailto:ac...@co...]=20 Sent: 20 March 2007 09:39 To: Carl P Barrow; Hypercontent-users List Subject: Re: [Hypercontent-users] Embeding movies Carl, The html is strippied out by the wysiwyg editor right? I would just create another dtd element called rawhtml and tell the xsl to spit it out exactly as shown. Of couse the entry box will not show a wysiwyg editor but a user is really not supposed to change that kind of html anyway. Just a thought. Adam Adam Carl CUIT Webservices -----Original Message----- From: Carl P Barrow [mailto:C.P...@hu...] Sent: Tuesday, March 20, 2007 05:22 AM Eastern Standard Time To: Hypercontent-users List Subject: Re: [Hypercontent-users] Embeding movies Hi Alex, =20 Did you have a chance to look at the below email. I'm being asked about this a lot. =20 =20 Cheers Carl =20 ************************************* Carl Barrow Systems Integrator e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 http://www.hull.ac.uk/cms ************************************* ________________________________ From: hyp...@li... [mailto:hyp...@li...] On Behalf Of Carl Barrow Sent: 07 March 2007 14:33 To: Hypercontent-users List Subject: [Hypercontent-users] Embeding movies =20 Hi Alex, =20 One of my users here wants to embed a move taken from YouTube into one of their web pages. The problem is that the code is stripped out when the content is saved. Where can I tell the system not to strip it out? =20 Code would be as follows: =20 <object width=3D"425" height=3D"350"><param name=3D"movie" value=3D"http://www.youtube.com/v/QF7RRBZYfko"></param><param = name=3D"wmode" value=3D"transparent"></param><embed src=3D"http://www.youtube.com/v/QF7RRBZYfko" type=3D"application/x-shockwave-flash" wmode=3D"transparent" = width=3D"425" height=3D"350"></embed></object> =20 Cheers Carl =20 ************************************* Carl Barrow Systems Integrator e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 http://www.hull.ac.uk/cms ************************************* =20 |
From: Carl P B. <C.P...@hu...> - 2007-03-20 09:43:41
|
Thanks Adam, I hadn't though of that. I'll take a look. What time is it there? Must be awfully early! ************************************* Carl Barrow Systems Integrator e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 http://www.hull.ac.uk/cms ************************************* -----Original Message----- From: Adam Carl [mailto:ac...@co...]=20 Sent: 20 March 2007 09:39 To: Carl P Barrow; Hypercontent-users List Subject: Re: [Hypercontent-users] Embeding movies Carl, The html is strippied out by the wysiwyg editor right? I would just create another dtd element called rawhtml and tell the xsl to spit it out exactly as shown. Of couse the entry box will not show a wysiwyg editor but a user is really not supposed to change that kind of html anyway. Just a thought. Adam Adam Carl CUIT Webservices -----Original Message----- From: Carl P Barrow [mailto:C.P...@hu...] Sent: Tuesday, March 20, 2007 05:22 AM Eastern Standard Time To: Hypercontent-users List Subject: Re: [Hypercontent-users] Embeding movies Hi Alex, =20 Did you have a chance to look at the below email. I'm being asked about this a lot. =20 =20 Cheers Carl =20 ************************************* Carl Barrow Systems Integrator e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 http://www.hull.ac.uk/cms ************************************* ________________________________ From: hyp...@li... [mailto:hyp...@li...] On Behalf Of Carl Barrow Sent: 07 March 2007 14:33 To: Hypercontent-users List Subject: [Hypercontent-users] Embeding movies =20 Hi Alex, =20 One of my users here wants to embed a move taken from YouTube into one of their web pages. The problem is that the code is stripped out when the content is saved. Where can I tell the system not to strip it out? =20 Code would be as follows: =20 <object width=3D"425" height=3D"350"><param name=3D"movie" value=3D"http://www.youtube.com/v/QF7RRBZYfko"></param><param = name=3D"wmode" value=3D"transparent"></param><embed src=3D"http://www.youtube.com/v/QF7RRBZYfko" type=3D"application/x-shockwave-flash" wmode=3D"transparent" = width=3D"425" height=3D"350"></embed></object> =20 Cheers Carl =20 ************************************* Carl Barrow Systems Integrator e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 http://www.hull.ac.uk/cms ************************************* =20 |
From: Adam C. <ac...@co...> - 2007-03-20 09:35:48
|
Carl, The html is strippied out by the wysiwyg editor right? I would just cre= ate another dtd element called rawhtml and tell the xsl to spit it out= exactly as shown. Of couse the entry box will not show a wysiwyg edito= r but a user is really not supposed to change that kind of html anyway.= Just a thought. Adam Adam Carl CUIT Webservices -----Original Message----- From: Carl P Barrow [mailto:C.P...@hu...] Sent: Tuesday, March 20, 2007 05:22 AM Eastern Standard Time To: Hypercontent-users List Subject: Re: [Hypercontent-users] Embeding movies Hi Alex, =20 Did you have a chance to look at the below email. I'm being asked about this a lot. =20 =20 Cheers Carl =20 ************************************* Carl Barrow Systems Integrator e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 http://www.hull.ac.uk/cms ************************************* ________________________________ From: hyp...@li... [mailto:hyp...@li...] On Behalf Of Carl Barrow Sent: 07 March 2007 14:33 To: Hypercontent-users List Subject: [Hypercontent-users] Embeding movies =20 Hi Alex, =20 One of my users here wants to embed a move taken from YouTube into one of their web pages. The problem is that the code is stripped out when the content is saved. Where can I tell the system not to strip it out? =20 Code would be as follows: =20 <object width=3D"425" height=3D"350"><param name=3D"movie" value=3D"http://www.youtube.com/v/QF7RRBZYfko"></param><param name=3D"wm= ode" value=3D"transparent"></param><embed src=3D"http://www.youtube.com/v/QF7RRBZYfko" type=3D"application/x-shockwave-flash" wmode=3D"transparent" width=3D"42= 5" height=3D"350"></embed></object> =20 Cheers Carl =20 ************************************* Carl Barrow Systems Integrator e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 http://www.hull.ac.uk/cms ************************************* =20 |
From: Carl P B. <C.P...@hu...> - 2007-03-20 09:18:32
|
***************************************************************************************** To view the terms under which this email is distributed, please go to http://www.hull.ac.uk/legal/email_disclaimer.html ***************************************************************************************** |
From: tom t. <j_l...@ya...> - 2007-03-20 01:25:01
|
I did all the fixes as suggested by you, but at UAT following happened UAT Content Author (doesnt have approval rights) started creating all the contents (lot of content). Towards the end Author experienced the system is very slow and complained about that then I asked to send the log. I have attached the exception, I asked the user to delete the file.lock in side /workflow-data/pending-executables.db. Then everything is ok I came across similar thing sometime back for build.xml and you gave some suggestions to put it as schedulars. Can you let me know any recommendation for the above issue org.hypercontent.HyperException: Store already engaged in transaction @ /workflow-data/pending-executables.db(exists? true) at org.hypercontent.data.impl.AbstractDataStore.beginTransaction(AbstractDataStore.java:141) at org.hypercontent.data.impl.AbstractDataStore.beginTransaction(AbstractDataStore.java:84) at org.hypercontent.data.impl.AbstractDataStore.beginTransaction(AbstractDataStore.java:80) at org.hypercontent.workflow.queue.impl.ExecutableQueue.enqueue(ExecutableQueue.java:205) at org.hypercontent.workflow.queue.impl.ExecutableQueue.enqueue(ExecutableQueue.java:139) at org.hypercontent.workflow.event.EventDispatcher.dispatch(EventDispatcher.java:64) at org.hypercontent.server.commands.NewFile.execute(NewFile.java:286) at org.hypercontent.server.ContentServer.service(ContentServer.java:439) at org.hypercontent.servlet.CompositionServlet.doGet(CompositionServlet.java:104) 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:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) --- Alex Vigdor <al...@bi...> wrote: > > On Feb 27, 2007, at 5:33 PM, tom tom wrote: > > > Alex, > > I will try it out and let you know, > > > > Well...Eventually when this (HC) goes to > production > > this will be used by the Authors, Hence there is > > always a possibility this can happen, > > I suggest you deny your authors permission to read > or write any files > under /config, e.g. > > <permission activity="read" denied="true" > principal="group:authors" > target="/config/**/*.*"/> > <permission activity="read" denied="true" > principal="group:authors" > target="/config/**/"/> > > > > > Due to these reasons cant we do the following > > > > 1) Have a timeout and release the resources so > that > > users will not get this error all the time. Or as > part > > of the restart clear the locks. > > There is currently a 4 hour lock timeout and a 15 > second lock wait > time hard coded. If you'd like to see those moved > to a properties > file, or a facility for scheduling workflow tasks > for startup, please > submit jira issues. > > https://clearinghouse.ja-sig.org/issues/browse/HYP > > > > > > > 2) Delete unnecessary workflow data triggered by a > > schedular > > > > 3) Mechanism to delete the history data which we > can > > see in the workflow screen > > In order to delete work data from the repository > (and therefore on > screen), you must remove it from any queues it is > in. You can do this > on a schedule. For example, in approvals.xml > > <q id="archived"> > <event name="scheduled-discard" when="in 2 hours"> > <dq where="${path}"/> > <dq who="${editor}"/> > <dq/> > </event> > ... > > or in publish.xml > > <q id="published"> > <event name="scheduled-discard" when="in 2 days"> > <dq who="${publisher}"/> > <dq/> > </event> > ... > > See this page for more scheduling info: > > http://hypercontent.sourceforge.net/help/project/workflow/ > > scheduling.html > > > > > Question > > > > 1) When the system goes through many > > Author->Preview->Approve/Reject ->Build>publish > > > > Cycles there may be many data collected as part of > > each workflow, > > > > Will this data cause some performance issue > specially > > when loading the Workflow Screen,? If so what is > the > > mechanism to get rid of that. > > Yes, this can cause performance issues loading the > workflow screen. > The scheduled events above will address this. > > > > > Basically I want to be prepared if such a thing > > happens when this goes to production > > > > > > Thanks > > > > > > > > > > > > > > Let me know your thoughts on this. > > > > Thanks > > > > > > > > > > > > > > > > > > > > > > --- Alex Vigdor <al...@bi...> wrote: > > > >> This is likely the cause of the delays you are > >> seeing; the system > >> must be able to acquire a lock on workflow > scripts > >> in order to > >> initialize them, so you have to make sure that > once > >> you open a > >> workflow script for edit, you save or discard > your > >> changes. If you > >> leave the file open the system will time out > trying > >> to acquire the lock. > >> > >> After things have gotten weird with the workflow > >> components, its also > >> a good idea to restart the server. This won't > clear > >> the lock, > >> however - you can manually remove that from the > >> filesystem by looking > >> for "/config/workflow/build.xml/file.lock". > >> > >> Cheers, > >> Alex > >> > >> On Feb 27, 2007, at 12:33 AM, tom tom wrote: > >> > >>> I looked at the catalina.out and it gives an > Error > >> as > >>> follows. > >>> > >>> What is the cause for this error. > >>> > >>> > >>> Thanks > >>> > >>> <Unable to load workflow build> > >>> 2007-02-27 16:29:14,781 ERROR > >>> [org.hypercontent.util.Logger] - <> > >>> org.hypercontent.HyperException: Store already > >> engaged > >>> in transaction @ > >> /config/workflow/build.xml(exists? > >>> true) > >>> at > >>> > >> > > > org.hypercontent.data.impl.AbstractDataStore.beginTransaction > >> > >>> (AbstractDataStore.java:141) > >>> at > >>> > >> > > > org.hypercontent.data.impl.AbstractDataStore.beginTransaction > >> > >>> (AbstractDataStore.java:84) > >>> at > >>> > >> > > > org.hypercontent.data.impl.AbstractDataStore.beginTransaction > >> > >>> (AbstractDataStore.java:80) > >>> at > >>> > >> > > > org.hypercontent.workflow.impl.WorkflowFactoryImpl.getWorkflow > >> > >>> (WorkflowFactoryImpl.java:137) > >>> at > === message truncated === ____________________________________________________________________________________ Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/features_spam.html |
From: Alex V. <al...@bi...> - 2007-03-16 13:54:44
|
If you need to output markup for a file that does not contain html tags and styles, you should define a separate output that uses a separate XSL to achieve the desired results. See "Forms of Output" at http://hypercontent.sourceforge.net/help/project/files/xml.html Alex On Mar 16, 2007, at 12:43 AM, tom tom wrote: > Hi, > > The use of Hypercontent in our institution is two > fold. > > 1) Define CWebProxies for uPortal served from HC > publish area > > 2) Some of the jsps in the uPortal got business text > where these business text is kept in HC and will be > served as JSTL import from the uPortal > > i.e uPortal jsp got a <c:import > url="http://hypercontentServer/hypercontent/../../...html" > > > both item 1) and 2) should go through > edit->preview->approve->build->publish workflow > > > We worked on the above Item 1) and it is working fine. > > When it comes to Item 2) we do a issue because the > page (part of the page from uPortal perspective) got > the entire <html>..... </html> tags and the styles in > the html source, this makes lot of problem in the > uPortal. > > What is ideal is only to get source without additional > html tags, > > > Can you let us know what is the best way to achieve > this. Also keeping the CWebProxy stuff. > > Our whole idea is simillar to the static content, take > out the business content from the jsps and give > content authors to drive it, so that no unnecessary > deployments occur. > > Thanks > > > > > > > > > > > > ______________________________________________________________________ > ______________ > Don't pick lemons. > See all the new 2007 cars at Yahoo! Autos. > http://autos.yahoo.com/new_cars.html > |
From: Alex V. <al...@bi...> - 2007-03-16 13:51:13
|
Since the authors don't have approve permissions, their uploaded data is stored in a revision on the server, but that revision is not set to current. You can see the data in the "Revisions" tab. You either need to have authors go through approval workflow for images, or give them approve permissions for images, e.g. <permission principal="group:authors" target="/**/*.gif" activity="approve"/> <permission principal="group:authors" target="/**/*.jpg" activity="approve"/> Alex On Mar 15, 2007, at 10:20 PM, tom tom wrote: > Hi, > > When a author (doenst have approve rights) uploads an > image (gif/jpg) while uploading it looks allright, but > looks like it get uploaded with zero bytes. When I > browse to the uploaded image and click the image it > shows the URL instead of rendering the image. > > When a administrator(or even I think approvers) does > the uploaded it get uploaded properly without no > issues. > > How can we make the authors also successfully upload > the images. > > Is there any reason behind this restriction. > > > > Thanks > > > > ______________________________________________________________________ > ______________ > Food fight? Enjoy some healthy debate > in the Yahoo! Answers Food & Drink Q&A. > http://answers.yahoo.com/dir/?link=list&sid=396545367 > |
From: Alex V. <al...@bi...> - 2007-03-16 13:48:31
|
I referenced the wrong pipeline previously: the "preview" pipeline shows up in an iframe; the pipeline that generates the top level xsl preview looks like this normally: <pipeline mode="xsl-preview-select" binding="/**/*.xsl" content- type="text/html" permissions="read"> <exec stage="org.hypercontent.project.engine.stage.XSLPreviewPrepStage"/> <exec stage="org.hypercontent.project.engine.stage.VelocityStage"> <with-param name="source" value="/screens/xsl-preview-select.vm"/> <with-param name="localize-with" value="/screens/dir"/> </exec> <exec stage="org.hypercontent.project.engine.stage.TrimStage"/> </pipeline> So you could do something like: <pipeline mode="xsl-preview-select" binding="/config/skins/base.xsl" permissions="read"/> <pipeline mode="xsl-preview-select" binding="/config/skins/ common.xsl" permissions="read"/> to disable rendered preview for these two files. Alex On Mar 15, 2007, at 6:56 PM, tom tom wrote: > How can I override the following to base.xsl and > common.xsl in my project. (only for those two). So > that > without downloading somebody can preview the contents > of these two xsl files. > > Reason is these two xsls are the main two files which > anybody will be interested on. > > Let me know if I do so, is there any impact. > > > > One more question. > > Production, I proposed HC should be running on Apache > with mod_jk, Well just want to know should it be > https, > Are we getting anything more if we run HC on https > instead of http. > > Also have you tested HC on JAVA 1.6 > > > > Thanks. > > > >> <pipeline mode="preview" binding="/**/*.xsl"> >> <dependencies> >> <permission activity="read"/> >> </dependencies> >> <exec >> > stage="org.hypercontent.project.engine.stage.XSLPreviewStage"/> >> </pipeline> >> >> You can override this within your project for all >> XSL or just certain >> XSL, or disable it globally. If you would like to >> leave this enabled >> and just want to know how to get the actual XSL, you >> can either use >> the contextual menu in the directory listing to >> download the XSL >> file, or open it for edit and use the download link. >> >> Cheers, >> Alex >> >> >> On Mar 14, 2007, at 10:47 PM, tom tom wrote: >> >>> Hi, >>> >>> When I try to view the /config/skins/base.xsl it >>> renders some other xml files which I created. >>> >>> I cant view even the common.xsl, Is there any >> entry >>> that I should have in the project-definition.xml >>> >>> >>> Thanks >>> >>> >>> >>> >> > ______________________________________________________________________ >> >>> ______________ >>> We won't tell. Get more on shows you hate to love >>> (and love to hate): Yahoo! TV's Guilty Pleasures >> list. >>> http://tv.yahoo.com/collections/265 >>> >> >> >> > ---------------------------------------------------------------------- > --- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get >> the chance to share your >> opinions on IT & business topics through brief >> surveys-and earn cash >> > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> Hypercontent-users mailing list >> Hyp...@li... >> > https://lists.sourceforge.net/lists/listinfo/hypercontent-users >> > > > > > ______________________________________________________________________ > ______________ > Sucker-punch spam with award-winning protection. > Try the free Yahoo! Mail Beta. > http://advision.webevents.yahoo.com/mailbeta/features_spam.html > |
From: Alex V. <al...@bi...> - 2007-03-16 13:43:44
|
If the class attributes are present in published content, but aren't displaying properly, then you may have a broken reference to the CSS in your XSL that generates the page. Can you verify that the link or import is properly configured in the output, and that the css is being published? Alex On Mar 16, 2007, at 12:55 AM, tom tom wrote: >>> 2)I can see the style changes in the edit mode >> only >>> but when I go to view mode it get lost. >> >> Can you verify that the style attributes are present >> in the output? > > Yes style attributes are present in the published > content. When I do any style change it reflects in the > edit mode but not in the HC view mode as well as in > the published content. > > The thing is if manually modify the source as for. e.g > > <div id=data> some text </div> this reflects in both > > but using the editer if I highlight the text and > select style as data it will add the following in the > html source <p class="data"> > .... > </p> > > I can see the changes in the edit mode but not in the > view or publish mode. > > > Anyway thanks > > > > > > > > > > ______________________________________________________________________ > ______________ > No need to miss a message. Get email on-the-go > with Yahoo! Mail for Mobile. Get started. > http://mobile.yahoo.com/mail > |
From: Carl P B. <C.P...@hu...> - 2007-03-16 09:14:51
|
Hi, Apologies if I'm off the mark here and misunderstood the question. =20 If you want to be able to view and edit the XLS in HyperContent you could just assign the text editor that that XLST in yout project definition: <xml-doc definition=3D"" path=3D"/config/xsl/common.xsl" root=3D"xsl:stylesheet"> <editor key=3D"text" /> </xml-doc>=20 This would allow someone to see the visual transformation and then by clicking 'Edit' see and edit the code. Thanks Carl ************************************* Carl Barrow Systems Integrator e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 http://www.hull.ac.uk/cms ************************************* -----Original Message----- From: hyp...@li... [mailto:hyp...@li...] On Behalf Of tom tom Sent: 15 March 2007 22:57 To: Alex Vigdor; hypercontent List Subject: Re: [Hypercontent-users] viewing xsl files How can I override the following to base.xsl and common.xsl in my project. (only for those two). So that without downloading somebody can preview the contents of these two xsl files. Reason is these two xsls are the main two files which anybody will be interested on. Let me know if I do so, is there any impact. One more question. Production, I proposed HC should be running on Apache with mod_jk, Well just want to know should it be https, Are we getting anything more if we run HC on https instead of http. Also have you tested HC on JAVA 1.6 Thanks. > <pipeline mode=3D"preview" binding=3D"/**/*.xsl"> > <dependencies> > <permission activity=3D"read"/> > </dependencies> > <exec > stage=3D"org.hypercontent.project.engine.stage.XSLPreviewStage"/> > </pipeline> >=20 > You can override this within your project for all > XSL or just certain =20 > XSL, or disable it globally. If you would like to > leave this enabled =20 > and just want to know how to get the actual XSL, you > can either use =20 > the contextual menu in the directory listing to > download the XSL =20 > file, or open it for edit and use the download link. >=20 > Cheers, > Alex >=20 >=20 > On Mar 14, 2007, at 10:47 PM, tom tom wrote: >=20 > > Hi, > > > > When I try to view the /config/skins/base.xsl it > > renders some other xml files which I created. > > > > I cant view even the common.xsl, Is there any > entry > > that I should have in the project-definition.xml > > > > > > Thanks > > > > > > > > > ______________________________________________________________________ >=20 > > ______________ > > We won't tell. Get more on shows you hate to love > > (and love to hate): Yahoo! TV's Guilty Pleasures > list. > > http://tv.yahoo.com/collections/265 > > >=20 >=20 > ------------------------------------------------------------------------ - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get > the chance to share your > opinions on IT & business topics through brief > surveys-and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDE V > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users >=20 =20 ________________________________________________________________________ ____________ Sucker-punch spam with award-winning protection.=20 Try the free Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/features_spam.html ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDE V _______________________________________________ Hypercontent-users mailing list Hyp...@li... https://lists.sourceforge.net/lists/listinfo/hypercontent-users |
From: tom t. <j_l...@ya...> - 2007-03-16 04:55:55
|
> > 2)I can see the style changes in the edit mode > only > > but when I go to view mode it get lost. > > Can you verify that the style attributes are present > in the output? Yes style attributes are present in the published content. When I do any style change it reflects in the edit mode but not in the HC view mode as well as in the published content. The thing is if manually modify the source as for. e.g <div id=data> some text </div> this reflects in both but using the editer if I highlight the text and select style as data it will add the following in the html source <p class="data"> .... </p> I can see the changes in the edit mode but not in the view or publish mode. Anyway thanks ____________________________________________________________________________________ No need to miss a message. Get email on-the-go with Yahoo! Mail for Mobile. Get started. http://mobile.yahoo.com/mail |
From: tom t. <j_l...@ya...> - 2007-03-16 04:44:00
|
Hi, The use of Hypercontent in our institution is two fold. 1) Define CWebProxies for uPortal served from HC publish area 2) Some of the jsps in the uPortal got business text where these business text is kept in HC and will be served as JSTL import from the uPortal i.e uPortal jsp got a <c:import url="http://hypercontentServer/hypercontent/../../...html" both item 1) and 2) should go through edit->preview->approve->build->publish workflow We worked on the above Item 1) and it is working fine. When it comes to Item 2) we do a issue because the page (part of the page from uPortal perspective) got the entire <html>..... </html> tags and the styles in the html source, this makes lot of problem in the uPortal. What is ideal is only to get source without additional html tags, Can you let us know what is the best way to achieve this. Also keeping the CWebProxy stuff. Our whole idea is simillar to the static content, take out the business content from the jsps and give content authors to drive it, so that no unnecessary deployments occur. Thanks ____________________________________________________________________________________ Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. http://autos.yahoo.com/new_cars.html |
From: tom t. <j_l...@ya...> - 2007-03-16 02:20:19
|
Hi, When a author (doenst have approve rights) uploads an image (gif/jpg) while uploading it looks allright, but looks like it get uploaded with zero bytes. When I browse to the uploaded image and click the image it shows the URL instead of rendering the image. When a administrator(or even I think approvers) does the uploaded it get uploaded properly without no issues. How can we make the authors also successfully upload the images. Is there any reason behind this restriction. Thanks ____________________________________________________________________________________ Food fight? Enjoy some healthy debate in the Yahoo! Answers Food & Drink Q&A. http://answers.yahoo.com/dir/?link=list&sid=396545367 |
From: tom t. <j_l...@ya...> - 2007-03-15 22:57:05
|
How can I override the following to base.xsl and common.xsl in my project. (only for those two). So that without downloading somebody can preview the contents of these two xsl files. Reason is these two xsls are the main two files which anybody will be interested on. Let me know if I do so, is there any impact. One more question. Production, I proposed HC should be running on Apache with mod_jk, Well just want to know should it be https, Are we getting anything more if we run HC on https instead of http. Also have you tested HC on JAVA 1.6 Thanks. > <pipeline mode="preview" binding="/**/*.xsl"> > <dependencies> > <permission activity="read"/> > </dependencies> > <exec > stage="org.hypercontent.project.engine.stage.XSLPreviewStage"/> > </pipeline> > > You can override this within your project for all > XSL or just certain > XSL, or disable it globally. If you would like to > leave this enabled > and just want to know how to get the actual XSL, you > can either use > the contextual menu in the directory listing to > download the XSL > file, or open it for edit and use the download link. > > Cheers, > Alex > > > On Mar 14, 2007, at 10:47 PM, tom tom wrote: > > > Hi, > > > > When I try to view the /config/skins/base.xsl it > > renders some other xml files which I created. > > > > I cant view even the common.xsl, Is there any > entry > > that I should have in the project-definition.xml > > > > > > Thanks > > > > > > > > > ______________________________________________________________________ > > > ______________ > > We won't tell. Get more on shows you hate to love > > (and love to hate): Yahoo! TV's Guilty Pleasures > list. > > http://tv.yahoo.com/collections/265 > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get > the chance to share your > opinions on IT & business topics through brief > surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users > ____________________________________________________________________________________ Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/features_spam.html |