FW: LDAP Transformer with XSP page?
The only thing that doesn't work are the xsp:expr If I replace a value with a variable like : ... xsp:logic String MyTest = (cn=tfrgh*); /xsp:logic ... ldap:filterxsp:exprMyTest/xsp:expr/ldap:filter ... I get a java.lang.NullPointerException error : java.lang.NullPointerException at org.apache.cocoon.webapps.authentication.components.Authenticator.authen ticate(Authenticator.java:288) at org.apache.cocoon.webapps.authentication.components.DefaultAuthenticatio nManager.login(DefaultAuthenticationManager.java:218) at org.apache.cocoon.webapps.authentication.acting.LoginAction.act(LoginAct ion.java:118) at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(Ac tTypeNode.java:133) -Original Message- From: Yury Mikhienko [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 7:23 AM To: [EMAIL PROTECTED] Subject: Re: LDAP Transformer with XSP page? On Tue, 1 Jul 2003 16:20:59 +0200 [EMAIL PROTECTED] wrote: Is it possible to create the ldap.xml, with the ldap queries in a xsp page? Yes, for example: xsp:page language=java xmlns:xsp=http://apache.org/xsp; xmlns:ldap=http://apache.org/cocoon/LDAP/1.0; page xsp:logic String cn = request.getParameter(cn); if(cn == null) cn = *; /xsp:logic ldap:execute-query ldap:initializercom.sun.jndi.ldap.LdapCtxFactory/ldap:initializer ldap:serverurlldap://ldaphost/ldap:serverurl ldap:port389/ldap:port ldap:scopeOBJECTS_SCOPE/ldap:scope ldap:rootdncn=Directory Manager/ldap:rootdn ldap:passwordpassword/ldap:password ldap:searchbaseou=people,o=company/ldap:searchbase ldap:attributecn/ldap:attribute ldap:attributesn/ldap:attribute ldap:attributegivenName/ldap:attribute ldap:attributeinitials/ldap:attribute ldap:attributemobile/ldap:attribute ldap:attributemail/ldap:attribute ldap:attributeou/ldap:attribute ldap:attributeuid/ldap:attribute ldap:attributetitle/ldap:attribute ldap:show-attributetrue/ldap:show-attribute ldap:filter(amp;(uid=xsp:exprcn/xsp:expr)(mobile=*))/ldap:filter /ldap:execute-query /page /xsp:page -- Best regards, Yury Mikhienko. IT engineer, ZAO Mobicom-Kavkaz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Fw: Cocoon and other servlets?
Wrong list. Send such mails to cocoon-users and/or cocoon-dev. Cocoon 1.7.4 is obsolete. Andreas - Original Message - From: Samuel Kock [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 1:04 PM Subject: Cocoon and other servlets? Hi there Is there a way of piping data from a servlet straight to Cocoon? What I have is a servlet that outputs XML, which I want as input to the Cocoon system. Is this possible? I am using Cocoon 1.7.4 and Apache JServ. If anyone needs more info I'll be glad to give it! Regards Samuel -- Samuel Kock Pretoria, South Africa Always try to be modest and be proud of it! - In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
FW: jfor encoding problem
Bertrand, Thank you very much for your reply. First of all, I'm using Cocoon-2.1m2 and jdk1.3.1. I am using the xercesImpl-2.4.1.jar (875KB), xalan-20030506.jar(2571KB), and xml-apis.jar(122kb) in tomcat4.0.5's common/lib dir. You can easily reproduce it by using the Orderpage example at http://localhost:8080/cocoon/samples/stream/order. If you add ?xml version=1.0 encoding=ISO-8859-1? at the top of the default xml and change Order Id to be Gérer, the next html page will display OrderIDGérer /OrderID as Order Id. It is doing the same thing to rtf report. Is it a parser problem? The same xml is parsed correctly in my struts application using different xml jars. I'm going to switch to using those jars to try if it will work. Thanks! Charlene -Original Message- From: Bertrand Delacretaz [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 1:41 AM To: [EMAIL PROTECTED] Cc: Yan, Charlene Subject: Re: jfor encoding problem Le Lundi, 2 juin 2003, à 21:51 Europe/Zurich, Yan, Charlene a écrit : ... I'm trying to display accented characters correctly using jfor. However, when I try to run http://localhost:8080/cocoon/samples/jfor/minimal.rtf, it gives the following exception. I have put some French words such as Gére in the xml file... Is the encoding declaration correct in your input XML? Can you parse it with another tool (XML editor or parser)? If you can reduce your input to the smallest XML file that causes the problem, you could post it here so that someone can test it. Hope this helps, -- Bertrand Delacretaz (codeconsult.ch, jfor.org) XML, java, XSLT, Cocoon, FOP, mentoring/programming/teaching blogspace http://www.codeconsult.ch/bertrand - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Fw: Re: XSP LDAP
Hello, I would like to get some information about how to use the LDAP transformer (first of all, in wich library the classes are), and how to make a simple XSP page with an authentification (from Windows Active Directory) Thanks for any help! Try use new LDAPTransformer http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20033 or my latest version (add attribute future addided) in attachment some using samples: !-- ldap:execute-replace ldap:initializercom.sun.jndi.ldap.LdapCtxFactory/ldap:initializer ldap:serverurlldap://ldap.host/ldap:serverurl ldap:port389/ldap:port ldap:scopeOBJECTS_SCOPE/ldap:scope ldap:rootdncn=Directory Manager/ldap:rootdn ldap:passwordxyz/ldap:password ldap:searchbaseou=people,o=company/ldap:searchbase ldap:attribute name=urls/:omc/rz/ldap:attribute ldap:filter(amp;(uid=test))/ldap:filter /ldap:execute-replace -- !-- ldap:execute-add ldap:initializercom.sun.jndi.ldap.LdapCtxFactory/ldap:initializer ldap:serverurlldap://ldap.host/ldap:serverurl ldap:port389/ldap:port ldap:scopeOBJECTS_SCOPE/ldap:scope ldap:rootdncn=Directory Manager/ldap:rootdn ldap:passwordxyz/ldap:password ldap:searchbaseou=people,o=company/ldap:searchbase ldap:attribute name=traceTRUE/ldap:attribute ldap:attribute name=sleep28000/ldap:attribute ldap:attribute name=urls//ldap:attribute ldap:attribute name=adminTRUE/ldap:attribute ldap:attribute name=zone2/ldap:attribute ldap:attribute name=userPassword123/ldap:attribute ldap:filter(amp;(uid=test))/ldap:filter /ldap:execute-add -- ldap:execute-query ldap:initializercom.sun.jndi.ldap.LdapCtxFactory/ldap:initializer ldap:serverurlldap://ldap.host/ldap:serverurl ldap:port389/ldap:port ldap:scopeOBJECTS_SCOPE/ldap:scope ldap:rootdncn=Directory Manager/ldap:rootdn ldap:passwordxyz/ldap:password ldap:searchbaseou=people,o=company/ldap:searchbase ldap:attributeurls/ldap:attribute ldap:attributetitle/ldap:attribute ldap:attributemobile/ldap:attribute ldap:attributecn/ldap:attribute ldap:attributesn/ldap:attribute ldap:attributezone/ldap:attribute ldap:attributesleep/ldap:attribute ldap:attributetrace/ldap:attribute ldap:attributeadmin/ldap:attribute ldap:show-attributetrue/ldap:show-attribute ldap:filter(amp;(uid=test))/ldap:filter /ldap:execute-query -- Best regards, Yury Mikhienko. IT engineer, ZAO Mobicom-Kavkaz LDAPTransformer.patch Description: Binary data - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
authentication fw: flowscript in authentication resource
Hello I am trying to use flowscript in the authentication resource of the authentication framework. authuser is my authentication resource. Part of sitemap: !-- call flowscript -- map:match pattern=authuser map:call function=auth/ /map:match !-- called by sendPage -- map:match pattern=userID map:generate src=userID.xml / map:serialize type = xml / /map:match This is the flowscript function: function auth() { sendPage(userID, {user : test} ); } And this is the userID xml file called by sendPage: ?xml version=1.0? authentication ID23/ID datanamehugob/name/data /authentication When I call the resource directly by appname/authuser, the sitemap matches the authusr and the flowscript returns the content of the xml file as expected. When I use it as an authentication resource, I get a null pointer exception. This is from core.log: at org.apache.cocoon.webapps.authentication.components.Authenticator.authentica te(Authenticator.java:187) ... 61 more org.apache.cocoon.ProcessingException: Attempted to process incomplete pipeline. at org.apache.cocoon.components.source.impl.SitemapSource.init(SitemapSource.ja va:377) When I use userID as my authentication resource (and skip the flowscript step), authentication works OK. What is going wrong? Is it just impossible to use flowscript in this resource? attachment: winmail.dat- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Portal session-context in the portal-fw
Hi, thanks to everyone who thought about my problem. In the meantime its working like documented. The problem was that I mixed the xsp-session logicsheet with the session transformer. After separating these and using them in the correct manner it worked. Helmut On Wed, 26 Mar 2003 15:16:54 +0100, Helmut Tammen [EMAIL PROTECTED] wrote: Here are some additional informations: Cocoon - Verion: 2.1-dev (CVS) All attributes in the session: Name: uprofile:portalhandler|sunspotdemo:user_5_guest_guest Value: {misc=[Lorg.w3c.dom.Node;124154, typeConfPaths=[profile/layout- profile[not(*)]/portal[not(*)]/layouts[not(*)]/layout[not(*) ]/background[not(*)]/[EMAIL PROTECTED] and formpath and formdescription], profile/layout-profile[not(*)]/portal[not(*) ]/layouts[not(*) ]/layout[not(*)]/font[not(*)]/[EMAIL PROTECTED] and formpath and formdescription], profile/layout-profile[not(*) ]/portal[not(*) ]/columns[not(*)]/[EMAIL PROTECTED] and formpath and formdescription], profile/portal-profile[not(*)]/content[not(*) ]/[EMAIL PROTECTED]/[EMAIL PROTECTED] and formpath and formdescription], profile/portal-profile[not(*)]/content[not(*) ]/[EMAIL PROTECTED]/coplets[not(*)]/[EMAIL PROTECTED] and number and position]/status[not(*)]/[EMAIL PROTECTED] and formpath and formdescription], profile/portal-profile[not(*)]/content[not(*) ]/[EMAIL PROTECTED]/coplets[not(*)]/[EMAIL PROTECTED] and number and position]/status[not(*)]/[EMAIL PROTECTED] and formpath and formdescription]], portalLayouts={html=[layout: null], wap=[layout: null]}, copletLayouts={html=[layout: null], wap=[layout: null]}, typePaths=[profile/layout-profile[not(*)]/portal[not(*) ]/layouts[not(*) ]/layout[not(*)]/background[not(*)]/color[not(*) ]/backgroundcolor|Backgroundcolor, profile/layout-profile[not(*) ]/portal[not(*)]/layouts[not(*)]/layout[not(*)]/font[not(*) ]/color[not(*)]/textcolor|Fontcolor, profile/layout-profile[not(*) ]/portal[not(*)]/columns[not(*)]/number[not(*)]/columnnumber|Amount, profile/portal-profile[not(*)]/content[not(*) ]/[EMAIL PROTECTED]/width[not(*)]/CARDINAL|Width, profile/portal- profile[not(*)]/content[not(*)]/[EMAIL PROTECTED]/coplets[not(*) ]/[EMAIL PROTECTED] and number and position]/status[not(*)]/visible[not(*) ]/BOOLEAN|Visibile, profile/portal-profile[not(*)]/content[not(*) ]/[EMAIL PROTECTED]/coplets[not(*)]/[EMAIL PROTECTED] and number and position]/status[not(*)]/size[not(*)]/copletsize|Size], defCoplets={sundnnews=[coplet: null], customnews=[coplet: null], feedback=[coplet: null], personalizeguest=[coplet: null], S0=[coplet: null], consultantprofile=[coplet: null], germany=[coplet: null], S1=[coplet: null], banknews=[coplet: null]}, profile=[#document-fragment: null], mediaCoplets={html={}, wap={}}} Name: portalConfportalhandler:sunspotdemo Value: {S=sunspotdemo-portal, D=profiles/copletprofile.xml, M=cocoon:raw:/sunspotdemoresource- userprofile, R=profiles/admintypes.xml, K=cocoon:raw:/sunspotdemoresource-saveroleprofile, F=profiles/types.xml, H=cocoon:raw:/sunspotdemoresource-saveglobalprofile, U=false, J=cocoon:raw:/sunspotdemoresource-roleprofile, C=profiles/layoutprofile.xml, T=sunspotdemo, N=cocoon:raw:/sunspotdemoresource-saveuserprofile, P=cocoon:raw:/sunspotdemoresource-userstatus, B=sunspotdemo-portal, Q=cocoon:raw:/sunspotdemoresource-saveuserstatus, G=profiles/globalprofile.xml, V=1, E=profiles/copletprofile.xml} Name: org.apache.cocoon.webapps.authentication.Handlers Value: {portalhandler=authentication-Handler portalhandler} Name: org.apache.cocoon.webapps.authentication.SessionContext Value: [EMAIL PROTECTED] Name: org.apache.cocoon.webapps.session.context.TransactionState Value: [EMAIL PROTECTED]@f2625f} Name: org.apache.cocoon.webapps.session.context.SessionContext Value: {org.apache.cocoon.webapps.portal.context.SessionContext:[EMAIL PROTECTED] Hi, I cant get any information from the session-context portal. Following situation: 1. Coplet resource uri: resource uri=cocoon:/sunspotdemo-test/ 2. pipeline in sitemap.xmap: map:match pattern=sunspotdemo-test map:generate src=resources/auth/test.xsp type=serverpages/ map:transform type=session/ map:serialize type=xml/ /map:match 3. xsp - file test.xsp (excerpt): xsp:page xmlns:xsp=http://apache.org/xsp; xmlns:session=http://apache.org/xsp/session/2.0; URI:session:getxml context=portal path=/configuration/uri/br/ color:session:getxml context=portal path=/layout/coplets/content/background/color/ /xsp:page Result: Test.xsp is called and executed (I do some more other things inside it which work fine) but the strings after URI: and color: are emtpy. Thanks Helmut - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL
Bug in portal-fw ??
Hi, I think Ive found a little bug in the portal framework. I hope this is the right place to report it. Changing the resource uri of a coplet has no effect as long as tomcat is not shut down, the files in cache-dir are deleted manually and tomcat is restarted. It does make no difference it the uri is changed via the admin pages of the portal or directly in the file copletprofile.xml. Is there any workaround? Helmut - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Portal session-context in the portal-fw
Hi, I cant get any information from the session-context portal. Following situation: 1. Coplet resource uri: resource uri=cocoon:/sunspotdemo-test/ 2. pipeline in sitemap.xmap: map:match pattern=sunspotdemo-test map:generate src=resources/auth/test.xsp type=serverpages/ map:transform type=session/ map:serialize type=xml/ /map:match 3. xsp - file test.xsp (excerpt): xsp:page xmlns:xsp=http://apache.org/xsp; xmlns:session=http://apache.org/xsp/session/2.0; URI:session:getxml context=portal path=/configuration/uri/br/ color:session:getxml context=portal path=/layout/coplets/content/background/color/ /xsp:page Result: Test.xsp is called and executed (I do some more other things inside it which work fine) but the strings after URI: and color: are emtpy. Thanks Helmut - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Portal session-context in the portal-fw
Here are some additional informations: Cocoon - Verion: 2.1-dev (CVS) All attributes in the session: Name: uprofile:portalhandler|sunspotdemo:user_5_guest_guest Value: {misc=[Lorg.w3c.dom.Node;124154, typeConfPaths=[profile/layout- profile[not(*)]/portal[not(*)]/layouts[not(*)]/layout[not(*) ]/background[not(*)]/[EMAIL PROTECTED] and formpath and formdescription], profile/layout-profile[not(*)]/portal[not(*)]/layouts[not(*) ]/layout[not(*)]/font[not(*)]/[EMAIL PROTECTED] and formpath and formdescription], profile/layout-profile[not(*)]/portal[not(*) ]/columns[not(*)]/[EMAIL PROTECTED] and formpath and formdescription], profile/portal-profile[not(*)]/content[not(*) ]/[EMAIL PROTECTED]/[EMAIL PROTECTED] and formpath and formdescription], profile/portal-profile[not(*)]/content[not(*) ]/[EMAIL PROTECTED]/coplets[not(*)]/[EMAIL PROTECTED] and number and position]/status[not(*)]/[EMAIL PROTECTED] and formpath and formdescription], profile/portal-profile[not(*)]/content[not(*) ]/[EMAIL PROTECTED]/coplets[not(*)]/[EMAIL PROTECTED] and number and position]/status[not(*)]/[EMAIL PROTECTED] and formpath and formdescription]], portalLayouts={html=[layout: null], wap=[layout: null]}, copletLayouts={html=[layout: null], wap=[layout: null]}, typePaths=[profile/layout-profile[not(*)]/portal[not(*)]/layouts[not(*) ]/layout[not(*)]/background[not(*)]/color[not(*) ]/backgroundcolor|Backgroundcolor, profile/layout-profile[not(*) ]/portal[not(*)]/layouts[not(*)]/layout[not(*)]/font[not(*) ]/color[not(*)]/textcolor|Fontcolor, profile/layout-profile[not(*) ]/portal[not(*)]/columns[not(*)]/number[not(*)]/columnnumber|Amount, profile/portal-profile[not(*)]/content[not(*) ]/[EMAIL PROTECTED]/width[not(*)]/CARDINAL|Width, profile/portal- profile[not(*)]/content[not(*)]/[EMAIL PROTECTED]/coplets[not(*) ]/[EMAIL PROTECTED] and number and position]/status[not(*)]/visible[not(*) ]/BOOLEAN|Visibile, profile/portal-profile[not(*)]/content[not(*) ]/[EMAIL PROTECTED]/coplets[not(*)]/[EMAIL PROTECTED] and number and position]/status[not(*)]/size[not(*)]/copletsize|Size], defCoplets={sundnnews=[coplet: null], customnews=[coplet: null], feedback=[coplet: null], personalizeguest=[coplet: null], S0=[coplet: null], consultantprofile=[coplet: null], germany=[coplet: null], S1=[coplet: null], banknews=[coplet: null]}, profile=[#document-fragment: null], mediaCoplets={html={}, wap={}}} Name: portalConfportalhandler:sunspotdemo Value: {S=sunspotdemo-portal, D=profiles/copletprofile.xml, M=cocoon:raw:/sunspotdemoresource- userprofile, R=profiles/admintypes.xml, K=cocoon:raw:/sunspotdemoresource- saveroleprofile, F=profiles/types.xml, H=cocoon:raw:/sunspotdemoresource- saveglobalprofile, U=false, J=cocoon:raw:/sunspotdemoresource-roleprofile, C=profiles/layoutprofile.xml, T=sunspotdemo, N=cocoon:raw:/sunspotdemoresource-saveuserprofile, P=cocoon:raw:/sunspotdemoresource-userstatus, B=sunspotdemo-portal, Q=cocoon:raw:/sunspotdemoresource-saveuserstatus, G=profiles/globalprofile.xml, V=1, E=profiles/copletprofile.xml} Name: org.apache.cocoon.webapps.authentication.Handlers Value: {portalhandler=authentication-Handler portalhandler} Name: org.apache.cocoon.webapps.authentication.SessionContext Value: [EMAIL PROTECTED] Name: org.apache.cocoon.webapps.session.context.TransactionState Value: [EMAIL PROTECTED]@f2625f} Name: org.apache.cocoon.webapps.session.context.SessionContext Value: {org.apache.cocoon.webapps.portal.context.SessionContext:[EMAIL PROTECTED] Hi, I cant get any information from the session-context portal. Following situation: 1. Coplet resource uri: resource uri=cocoon:/sunspotdemo-test/ 2. pipeline in sitemap.xmap: map:match pattern=sunspotdemo-test map:generate src=resources/auth/test.xsp type=serverpages/ map:transform type=session/ map:serialize type=xml/ /map:match 3. xsp - file test.xsp (excerpt): xsp:page xmlns:xsp=http://apache.org/xsp; xmlns:session=http://apache.org/xsp/session/2.0; URI:session:getxml context=portal path=/configuration/uri/br/ color:session:getxml context=portal path=/layout/coplets/content/background/color/ /xsp:page Result: Test.xsp is called and executed (I do some more other things inside it which work fine) but the strings after URI: and color: are emtpy. Thanks Helmut - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Fw: using abstract rules in validation schema
- Original Message - From: Robert Kromkamp [EMAIL PROTECTED] To: Jeroen Cranendonk [EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 10:16 AM Subject: using abstract rules in validation schema Hi All, According to the DTD the beneath schema structure is possible. But when I use this I get the following error, who can help me? - An error occurredorg.apache.avalon.framework.CascadingRuntimeException Failed loading validating schema org.apache.avalon.framework.CascadingRuntimeException: Failed loading validating schema org.apache.commons.jxpath.JXPathException: No value for xpath: /schema/pattern[1]/rule[1]/@contextOriginal exception : org.apache.avalon.framework.CascadingRuntimeException: !!! Failed loading Schematron schema at org.apache.cocoon.components.validation.schematron.SchematronFactory.compile Schema(SchematronFactory.java:123) at org.apache.cocoon.acting.AbstractXMLFormAction.getFormValidator(AbstractXMLF ormAction.java:398) at org.apache.cocoon.acting.AbstractXMLFormAction.getForm(AbstractXMLFormAction .java:218) at org.apache.cocoon.acting.AbstractXMLFormAction.act(AbstractXMLFormAction.jav a:237) at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTyp eNode.java:139) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(AbstractParentProcessingNode.java:84) at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok e(PreparableMatchNode.java:164) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(AbstractParentProcessingNode.java:108) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Pipel ineNode.java:153) at - schema xmlns=http://www.ascc.net/xml/schematron; titleFor Rusty's Inquiring Students/title pThis is an example of creating a datatype using Schematron's abstract rules and using them. /p pattern !-- Define an abstract rule on a data value (i.e. a type) for nt -- rule abstract=true id=int assert test=string-length(string-normalize(./text())) gt; 0 This element must contain a value./assert assert test=number(./text()) This element should contain an int. An int it a number./assert assert test=floor(number(./text())) = ceiling(number(./text())) This element should contain an int. An int is a whole number./assert assert test=number(./text()) lt; 2147483647 This element should contain an int. An int is less than 2^31-1./assert assert test=number(./text()) gt;= -2147483648 This element should contain an int. An int is greater than -(2^31)./assert /rule !-- Make the assertions -- rule context=someElement extends rule=int / /rule rule context=someOtherElement extends rule=int / assert test=number(./text()) gt; 1969 This element should contain a year since 1969/assert /rule pattern /schema Thanks, Robert Kromkamp - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Fw: XMLForm Validation
- Original Message - From: Robert Kromkamp [EMAIL PROTECTED] To: Jeroen Cranendonk [EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 5:12 PM Subject: XMLForm Validation Hi, A Zip code (in the Netherlands) consist of numbers and letters, like 1234AB. In the content XML this zip code is split up in 2 input elements, namely zipcodenumbers and zipcodeletters. These elements are graphical placed behind each other. I know it's possible to do an individual validation of these elements. When the validation of an element will fail, an error text is shown behind the specific input element. Cause the zipcode number and letter can functional be seen as one component, i want to validate them together and show only one error message (Zipcode is required) for both. Who can help me? Beneath I've given the structure of my current schema ... schema ns=http://xml.apache.cocoon/xmlform; xmlns=http://www.ascc.net/xml/schematron; titleSchema for excerpt/title phase id=personaldetails ppersonaldetails information./p active pattern=personaldetailsPattern/ /phase pattern name=Personal Details Pattern id=personaldetailsPattern rule context=/lastname assert test=string-length(.) gt; 0Lastname is required./assert /rule rule context=/zipcodenumbers assert test=/personalDetails/zipcodelettersZipcode numbers is required./assert /rule rule context=/zipcodeletters assert test=string-length(.) gt; 0Zipcode letters is required./assert /rule /pattern /schema Many Thanks, Robert Kromkamp - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
FW: xsp:attribute for xsp-request:get-parameter
Ok, I see. But with xsp-request:get-parameternameparanamexsp:exprmycount/xsp:expr/n ame /xsp-request:get-parameter I still get a java.lang.NullPointerException I tried to simplify the line like this : xsp-request:get-parameternameparaname1/name/xsp-request:get-param eter but it don't work. And if I replace it with xsp-request:get-parameter name=paraname1/ it works -Original Message- From: Marco Rolappe [mailto:[EMAIL PROTECTED] Sent: Friday, March 07, 2003 10:06 AM To: [EMAIL PROTECTED] Subject: AW: xsp:attribute for xsp-request:get-parameter the xsp:attribute on the xsp-request:get-parameter is not possible; it's translated to java code and first executed when generation starts, i.e. when the xsp-request:get-parameter has already been translated. but you should be able to use following: xsp-request:get-parameternameparanamexsp:exprmycount/xsp:expr/n ame /xsp-request:get-parameter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Fw: failure in request parameters
Hello again, Please, any solution? Thanks in advance. Eduardo. - Original Message - From: Eduardo Zurita To: [EMAIL PROTECTED] Sent: Tuesday, January 28, 2003 2:59 PM Subject: failure in request parameters Hello, I have the following pipeline: map:pipeline map:match pattern="qeq.html" map:generate type="jsp" src=""/ map:transform src=""/ map:serialize type="html"/ /map:match /map:pipeline And works fine, but if I modify it to: map:pipeline map:match pattern="qeq.html" map:act type="request" map:parameter name="parameters" value="true"/ map:generate type="jsp" src=""/ /map:act map:transform src=""/ map:serialize type="html"/ /map:match /map:pipeline Note that I do nothing with the request parameters in the JSP file. Well, the second one produces the following exception: JspGenerator: SAXException JspGenerator.generate()org.xml.sax.SAXParseException: Premature end of file. I don't know what is happening. Some help would be appreciated. Thanks in advance. Eduardo.
RE: FW: i18n problem with i18n:attr : ArrayIndexOutOfBoundsException
thx joerg, I tried again to get this work, putting the xalan and xerces jars in jre/lib/endorsed, in tomcats common/endorsed, trying the lates xalan etc. - no way. finally switched to j2sdk 1.4.1_01 and all works ok now. regards, tom -Original Message- From: Joerg Heinicke [mailto:[EMAIL PROTECTED]] Sent: Sonntag, 26. Jänner 2003 03:52 To: [EMAIL PROTECTED] Subject: Re: FW: i18n problem with i18n:attr : ArrayIndexOutOfBoundsException Hello Thomas, once upon the time there was a buggy Xerces version having problem with I18n attributes. We had this problem in the Cocoon 2.0.3 release with (I think) Xerces 2.0. After we upgraded the Xerces version everything works ok again. Lines like org.xml.sax.helpers.AttributesImpl.removeAttribute(Attributes Impl.java:439) in your stacktrace let me assume, that it is the same problem you have. Regards, Joerg - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
FW: i18n problem with i18n:attr : ArrayIndexOutOfBoundsException
another try to get feedback for my problem: -Original Message- From: Thomas Haselberger Sent: Dienstag, 21. Jänner 2003 10:52 To: Cocoon-Users (E-mail) Subject: i18n problem with i18n:attr : ArrayIndexOutOfBoundsException I use cocoon 2.0.4 in tomcat 4.1.18 with j2sdk1.4.0_03. the i18n samples that use i18n:attr work ok, but my i18n transformation throws an ArrayIndexOutOfBoundsException. this is my source xml: = ?xml version=1.0 encoding=UTF-8? wml xmlns:i18n=http://apache.org/cocoon/i18n/2.0; card i18n:attr=title title=ol id=main p mode=nowrap emi18n:textol/i18n:text/em br/a href=new/1/i18n:textnew/i18n:text/a /p /card /wml = this is my sitemap matcher entry: = !-- i18n test -- map:match pattern=**i18ntest** map:generate src=content/wml_for_i18n.xml/ map:transform type=i18n label=rmns/ map:serialize type=xml/ /map:match = and that's the error log entry generated: = ERROR (2003-01-21) 10:50.44:761 [sitemap] (/idc/i18ntest/bla) Thread-15/sitemap_xmap: Sitemap org.apache.cocoon.ProcessingException: Exception during processing of file:/D:/java/jakarta-tomcat-4.1.18/webapps/idc/content/wml_for_i18n.xml: java.lang.ArrayIndexOutOfBoundsException at org.apache.cocoon.components.source.AbstractStreamSource.toSAX(AbstractStreamSource.java:214) at org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:143) at org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEventPipeline.java:250) at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingStreamPipeline.java:395) at org.apache.cocoon.www.sitemap_xmap.matchN400126(D:\java\jakarta-tomcat-4.1.18\work\Standalone\localhost\idc\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:1345) at org.apache.cocoon.www.sitemap_xmap.process(D:\java\jakarta-tomcat-4.1.18\work\Standalone\localhost\idc\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:1185) at org.apache.cocoon.www.sitemap_xmap.process(D:\java\jakarta-tomcat-4.1.18\work\Standalone\localhost\idc\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:1128) at org.apache.cocoon.sitemap.Handler.process(Handler.java:227) at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:173) at org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:152) at org.apache.cocoon.Cocoon.process(Cocoon.java:579) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1043) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at
Re: FW: i18n problem with i18n:attr : ArrayIndexOutOfBoundsException
Hello Thomas, once upon the time there was a buggy Xerces version having problem with I18n attributes. We had this problem in the Cocoon 2.0.3 release with (I think) Xerces 2.0. After we upgraded the Xerces version everything works ok again. Lines like org.xml.sax.helpers.AttributesImpl.removeAttribute(AttributesImpl.java:439) in your stacktrace let me assume, that it is the same problem you have. Regards, Joerg Thomas Haselberger wrote: another try to get feedback for my problem: -Original Message- From: Thomas Haselberger Sent: Dienstag, 21. Jänner 2003 10:52 To: Cocoon-Users (E-mail) Subject: i18n problem with i18n:attr : ArrayIndexOutOfBoundsException I use cocoon 2.0.4 in tomcat 4.1.18 with j2sdk1.4.0_03. the i18n samples that use i18n:attr work ok, but my i18n transformation throws an ArrayIndexOutOfBoundsException. this is my source xml: = ?xml version=1.0 encoding=UTF-8? wml xmlns:i18n=http://apache.org/cocoon/i18n/2.0; card i18n:attr=title title=ol id=main p mode=nowrap emi18n:textol/i18n:text/em br/a href=new/1/i18n:textnew/i18n:text/a /p /card /wml = this is my sitemap matcher entry: = !-- i18n test -- map:match pattern=**i18ntest** map:generate src=content/wml_for_i18n.xml/ map:transform type=i18n label=rmns/ map:serialize type=xml/ /map:match = and that's the error log entry generated: = ERROR (2003-01-21) 10:50.44:761 [sitemap] (/idc/i18ntest/bla) Thread-15/sitemap_xmap: Sitemap org.apache.cocoon.ProcessingException: Exception during processing of file:/D:/java/jakarta-tomcat-4.1.18/webapps/idc/content/wml_for_i18n.xml: java.lang.ArrayIndexOutOfBoundsException at org.apache.cocoon.components.source.AbstractStreamSource.toSAX(AbstractStreamSource.java:214) at org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:143) at org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEventPipeline.java:250) at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingStreamPipeline.java:395) at org.apache.cocoon.www.sitemap_xmap.matchN400126(D:\java\jakarta-tomcat-4.1.18\work\Standalone\localhost\idc\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:1345) at org.apache.cocoon.www.sitemap_xmap.process(D:\java\jakarta-tomcat-4.1.18\work\Standalone\localhost\idc\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:1185) at org.apache.cocoon.www.sitemap_xmap.process(D:\java\jakarta-tomcat-4.1.18\work\Standalone\localhost\idc\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:1128) at org.apache.cocoon.sitemap.Handler.process(Handler.java:227) at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:173) at org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:152) at org.apache.cocoon.Cocoon.process(Cocoon.java:579) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1043) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at
FW: Administrator in need of help on new install
This got bounced, so I am sending it in two bits: First bit has the tomcat files: I have a jk mount set up via my mod_jk.conf file. I have tomcat do the work automagically for me and just use an Inlcude line in apache to make sure it grabs the info. I also checked and can access cocoon from http://granite:80/cocoon. There is a screen shot that I am attaching that might not come through, but it will show you exactly what I see when I connect. And, here are my relevant files: auto config file from tomcat: /usr/local/tomcat/conf/auto/mod_jk.conf: ## Auto generated on Thu Jan 23 17:06:43 MET 2003## IfModule !mod_jk.c LoadModule jk_module /usr/local/apache/libexec/mod_jk.so /IfModule JkWorkersFile /usr/local/tomcat/conf/jk/workers.properties JkLogFile /var/tomcat/logs JkLogLevel info VirtualHost granite ServerName granite granite:/cocoon # Static files Alias /cocoon /usr/local/tomcat/webapps/cocoon Directory /usr/local/tomcat/webapps/cocoon Options Indexes FollowSymLinks DirectoryIndex index.html index.htm index.jsp /Directory # Deny direct access to WEB-INF and META-INF # Location /cocoon/WEB-INF/* AllowOverride None deny from all /Location Location /cocoon/META-INF/* AllowOverride None deny from all /Location JkMount /cocoon/*.html ajp13 JkMount /cocoon/servlet/* ajp13 JkMount /cocoon/*.jsp ajp13 granite:/manager # Static files Alias /manager /usr/local/tomcat/webapps/manager Directory /usr/local/tomcat/webapps/manager Options Indexes FollowSymLinks DirectoryIndex index.html index.htm index.jsp /Directory # Deny direct access to WEB-INF and META-INF # Location /manager/WEB-INF/* AllowOverride None deny from all /Location Location /manager/META-INF/* AllowOverride None deny from all /Location JkMount /manager/* ajp13 JkMount /manager/servlet/* ajp13 JkMount /manager/*.jsp ajp13 /VirtualHost my tomcat server.xml: /usr/local/tomcat/conf/server.xml: !-- Server Configuration File -- Server port=8005 shutdown=SHUTDOWN debug=0 Listener className=org.apache.ajp.tomcat4.config.ApacheConfig jkLog=/var/tomcat/logs/ jkDebug=info modJk=/usr/local/apache/libexec/mod_jk.so / Service name=granite-tomcat Engine name=Standalone defaultHost=localhost debug=0 !-- Global logger unless overridden at lower levels -- Logger className=org.apache.catalina.logger.FileLogger prefix=catalina_log. suffix=.log directory=/var/tomcat/logs timestamp=true/ !-- Because this Realm is here, an instance will be shared globally -- Realm className=org.apache.catalina.realm.MemoryRealm / !-- Define Default Virtual Host - should be localhost's name -- Host name=granite address=10.144.230.58:80 debug=0 appBase=webapps unpackWARs=true Listener className=org.apache.ajp.tomcat4.config.ApacheConfig jkLog=/var/tomcat/logs/ append=true forwardAll=false jkDebug=info / Valve className=org.apache.catalina.valves.AccessLogValve directory=/var/tomcat/logs/granite prefix=granite_access. suffix=.log pattern=common/ Logger className=org.apache.catalina.logger.FileLogger directory=/var/tomcat/logs/granite prefix=granite_catalina. suffix=.log timestamp=true/ /Host /Engine /Service /Server -Original Message- From: Jim McCullough [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 5:54 PM To: [EMAIL PROTECTED] Subject: Re: Administrator in need of help on new install Perhaps I also should have asked it you are able to access Cocoon by specifying the Tomcat port: http://mymachine.com:8080/cocoon or whatever port Tomcat is listening on, usually 8080. If the cocoon welcom page is displaying properly when accessing Tomcat directly - then there is really only one line out of the httpd.conf file that matters: JkMount /cocoon/* ajp13 you can also setup an alias to cocoon Alias /cocoon [path-to-cocoon] These are the only lines in the httpd.conf file that refer to cocoon and should get cocoon showing up when using http://mymachine.com/cocoon Obviously the above lines would need to be included under the specific virtual host in your httpd.conf file if you are using virtual hosts, or under the default host. Jim Jim McCullough Risk Analytics Inc. - Las Vegas Software Engineering [EMAIL PROTECTED] [EMAIL PROTECTED] (702) 407-1814 (voice) (702) 407-1824 (fax) - Original Message - From: SAXESS - Hussayn Dabbous [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 23, 2003 8:41 AM Subject: Re:
FW: Administrator in need of help on new install
And here is the rest of my post: My apache config file: (I trimmed out the bits that I don't think apply to keep the size down: /etc/apache/httpd.conf: gerstelr@granite-$ cat /etc/apache/httpd.conf ## ## httpd.conf -- Apache HTTP server configuration file ## @(#) httpd.conf.default 1.1@(#) 02/08/28 16:51:24 ## # # Based upon the NCSA server configuration files originally by Rob McCool. # # This is the main Apache server configuration file. It contains the # configuration directives that give the server its instructions. # See URL:http://www.apache.org/docs/ for detailed information about # the directives. # # Do NOT simply read the instructions in here without understanding # what they do. They're here only as hints or reminders. If you are unsure # consult the online docs. You have been warned. # # After this file is processed, the server will look for and process # /etc/apache/srm.conf and then /etc/apache/access.conf # unless you have overridden these with ResourceConfig and/or # AccessConfig directives here. # # The configuration directives are grouped into three basic sections: # 1. Directives that control the operation of the Apache server process as a # whole (the 'global environment'). # 2. Directives that define the parameters of the 'main' or 'default' server, # which responds to requests that aren't handled by a virtual host. # These directives also provide default values for the settings # of all virtual hosts. # 3. Settings for virtual hosts, which allow Web requests to be sent to # different IP addresses or hostnames and have them handled by the # same Apache server process. # # Configuration and logfile names: If the filenames you specify for many # of the server's control files begin with / (or drive:/ for Win32), the # server will use that explicit path. If the filenames do *not* begin # with /, the value of ServerRoot is prepended -- so logs/foo.log # with ServerRoot set to /usr/local/apache will be interpreted by the # server as /usr/local/apache/logs/foo.log. # ### Section 1: Global Environment # # The directives in this section affect the overall operation of Apache, # such as the number of concurrent requests it can handle or where it # can find its configuration files. # # # ServerType is either inetd, or standalone. Inetd mode is only supported on # Unix platforms. # ServerType standalone # # ServerRoot: The top of the directory tree under which the server's # configuration, error, and log files are kept. # # NOTE! If you intend to place this on an NFS (or otherwise network) # mounted filesystem then please read the LockFile documentation # (available at URL:http://www.apache.org/docs/mod/core.html#lockfile); # you will save yourself a lot of trouble. # ServerRoot /usr/local # # The LockFile directive sets the path to the lockfile used when Apache # is compiled with either USE_FCNTL_SERIALIZED_ACCEPT or # USE_FLOCK_SERIALIZED_ACCEPT. This directive should normally be left at # its default value. The main reason for changing it is if the logs # directory is NFS mounted, since the lockfile MUST BE STORED ON A LOCAL # DISK. The PID of the main server process is automatically appended to # the filename. # #LockFile /var/run/httpd.lock # # PidFile: The file in which the server should record its process # identification number when it starts. # PidFile /var/run/httpd.pid # # ScoreBoardFile: File used to store internal server process information. # Not all architectures require this. But if yours does (you'll know because # this file will be created when you run Apache) then you *must* ensure that # no two invocations of Apache share the same scoreboard file. # ScoreBoardFile /var/run/httpd.scoreboard # # In the standard configuration, the server will process httpd.conf (this # file, specified by the -f command line option), srm.conf, and access.conf # in that order. The latter two files are now distributed empty, as it is # recommended that all directives be kept in a single file for simplicity. # The commented-out values below are the built-in defaults. You can have the # server ignore these files altogether by using /dev/null (for Unix) or # nul (for Win32) for the arguments to the directives. # #ResourceConfig conf/srm.conf #AccessConfig conf/access.conf # # Timeout: The number of seconds before receives and sends time out. # Timeout 300 # # KeepAlive: Whether or not to allow persistent connections (more than # one request per connection). Set to Off to deactivate. # KeepAlive On # # MaxKeepAliveRequests: The maximum number of requests to allow # during a persistent connection. Set to 0 to allow an unlimited amount. # We recommend you leave this number high, for maximum performance. # MaxKeepAliveRequests 100 # # KeepAliveTimeout: Number of seconds to wait for the next request from the # same client on the same connection. # KeepAliveTimeout 15 # # Server-pool size regulation. Rather than making you guess how many # server
FW: [BUG] : java.util.EmptyStackException on EnvironmentStack
Hi, I'm using cocoon 2.0.4, and after calling a request that causes an exception, sometimes I get an EmptyStackException from the environment stack. I traced this behavior, and found out that, the environment stack is sometimes not initialized, when the request is just starting to process, meaning, on the first call to CocoonComponentManager#enterEnvironment, environmentStack.get() returns an empty EnvironmentStack with offset = 1. I think resetting the thread's EnvironmentStack on entry (CocoonServlet#service) will solve this, but I'm not sure if that is the right solution. (I'm not fluent with the behavior of this part of the system) Please help me solve this. Thanks, Amir Rosen CTI Squared [EMAIL PROTECTED] +972-9-9605200 (258) - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to use id from authentication-fw in xsp
Hi! I need to use the username in my xsps but it seems Im not able to access it. I use the following line to get the username: sunshine:getxml context=sunRise path=/authentication/ID/ This works if for example I want to display the current username somewhere. But when using it in my xsp the tag is not evaluated I guess because the sunshine-transformer works on it after the xsp has run. But how can I get the ID in my xsp? Regards, Nils
Fw: MDB Access
- Original Message - From: marco scotoni [EMAIL PROTECTED] To: Upayavira [EMAIL PROTECTED] Sent: Thursday, December 19, 2002 2:05 PM Subject: Re: MDB Access OK, i'm able to connect with this string in local way: dburljdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=c:\test\test.mdb;/dburl But when the file is located on intranet like \\test\test\test.mdb i'm not able to send the username and password of net to access to file... not able to connect in net way: dburljdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=\\test\test\test.mdb;/dburl thx Marco - Original Message - From: Upayavira [EMAIL PROTECTED] To: marco scotoni [EMAIL PROTECTED] Sent: Thursday, December 19, 2002 1:59 PM Subject: Re: MDB Access There's anyone who could send me string connection to a MDB File please? I can't give you an exact string to do this - I haven't done it myself. However, to connect to databases from Cocoon, you use JDBC. To connect to Access databases, you often use ODBC. Therefore, you could probably get away with using the JDBC-ODBC bridge, which I believe comes with some versions of the JDK. Search on the net for JDBC-ODBC bridge, or maybe someone else on the list can explain how to use it. Regards, Upayavira - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Fw: MDB Access
Check this: http://outerthought.net/wiki/Wiki.jsp?page=SpecificDatabaseConnection Antonio marco scotoni dijo: - Original Message - From: marco scotoni [EMAIL PROTECTED] To: Upayavira [EMAIL PROTECTED] Sent: Thursday, December 19, 2002 2:05 PM Subject: Re: MDB Access OK, i'm able to connect with this string in local way: dburljdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=c:\test\test.mdb;/dburl But when the file is located on intranet like \\test\test\test.mdb i'm not able to send the username and password of net to access to file... not able to connect in net way: dburljdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=\\test\test\test.mdb;/dburl thx Marco - Original Message - From: Upayavira [EMAIL PROTECTED] To: marco scotoni [EMAIL PROTECTED] Sent: Thursday, December 19, 2002 1:59 PM Subject: Re: MDB Access There's anyone who could send me string connection to a MDB File please? I can't give you an exact string to do this - I haven't done it myself. However, to connect to databases from Cocoon, you use JDBC. To connect to Access databases, you often use ODBC. Therefore, you could probably get away with using the JDBC-ODBC bridge, which I believe comes with some versions of the JDK. Search on the net for JDBC-ODBC bridge, or maybe someone else on the list can explain how to use it. Regards, Upayavira - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Fw: automati xmlform
- Original Message - From: Robert Sösemann [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, December 12, 2002 9:25 PM Subject: automati xmlform Hello, I am working on an cms input wizard to fill a database. Is it possible with cocoons xmlform validation to generate its schema rules automatically? I could imagine, an action to query the db's sytem tables to get knowledge about the types and other contraints and generate an xmlform to enforce that contraints. Has anybody solved that succesfully? Maybe you can help me. Rob - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
FW: Add/Remove/Edit Sql entries with buttons (using ESQL)
Excuse me, previous message was not complete : Hello, I want to Add/Remove/Edit Sql entries by clicking on buttons. I tryied with these 3 actions : map:actions map:action name=add-workflow src=org.apache.cocoon.acting.DatabaseAddAction / map:action name=del-workflow src=org.apache.cocoon.acting.DatabaseDeleteAction / map:action name=upd-workflow src=org.apache.cocoon.acting.DatabaseUpdateAction / And these action-sets map:action-sets map:action-set name=workflow map:act type=add-workflow action=Add / map:act type=del-workflow action=Delete / map:act type=upd-workflow action=Update / /map:action-set /map:action-sets . These actions are in my sitemap. Now, if I want them on a button, like : form action=process-workflow method=POST input name=process type=hidden value=Upd/ select name=SELdispatcher esql:connection esql:poolpersonnel/esql:pool esql:execute-query esql:queryselect usrID, usrName from wfUsers order by usrName/esql:query esql:results esql:row-results option xsp:attribute name=valueesql:get-int column=usrID//xsp:attribute esql:get-string column=usrName/ /option /esql:row-results /esql:results /esql:execute-query /esql:connection /select input name=wfName type=text/ input type=submit value=Save/ /form Where input type=submit value=Save/ is the button to update sql database. - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Fw: Portal Coplets - Access
Hi Guys, Any comments... Or the portal is suppose to work like this? Thanks - Original Message - From: Richard Reyes To: cocoon-users Sent: Friday, November 29, 2002 3:10 PM Subject: Portal Coplets - Access Hi Guys,Is there a way to not let a specific Roles ( or Usergroups like guest oradmin ) to access all available coplets?Well, except for declarings it like the admin coplet.. coplet id="administration" resource uri="cocoon:raw:/sunspotdemosunlet-administration.xml"/ configuration mandatoryfalse/mandatory sizabletrue/sizable activefalse/active !-- this is only active for admins -- /configuration titleAdministration/title status visibletrue/visible sizemax/size /status /copletConfigurations:Windows 2000 Advance Serverj2sdk1.4.0_03Apache Tomcat/4.1.12-LE-jdk14ThanksRichard
FW: [donation] user communication system
Hi everybody, we are working with Cocoon as Users for a year, but this is the first time we develop something for it. We would like to donate this couple of classes that serves as 'standard' User Communication System (don't let you deceive by the name, it is a simple stuff). The aim is to simply communicate by means of homogeneous messages to the web-application user from actions or XSPs or generated XMLs. We can describe it as three components: Message Model: collection of information (like type and parameters) that characterizes the message. Generally this is created in an action or xsp. Message View: composition of the message using the model, in the 'language' of the final user. Generally created in a first generated xml or xsp. Message Stylesheet: customization of the user interface for the list of accumulated messages (typically message2html.xsl). For a better understanding of its mechanism we suggest to play with the sample 'trading' and click on readme. It is also compliant with the actual form-validation action status. At last it has been developped and tested on cocoon 2.0.3. We hope that you find it helpful. Since we are not so proud for its code quality, we hope that you can help us working on it for improving and extending it as well. ciao patrick ([EMAIL PROTECTED]) and his right hand [EMAIL PROTECTED] (who's writing) PS: this has been developped and tested on cocoon 2.0.3 trading.zip Description: Zip compressed data classes.zip Description: Zip compressed data - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Authenication FW: Single sign-on to multiple handlers
Hello, I'm figuring out my way through the authentication and portal frameworks and ran into a problem of logging into multiple handlers. It seems that there is no single sign-on to all handlers facility provided by the framework. Here is a scenario. I have three roles of users in the application: guest, user, and admin. The guests are only allowed to view guest pages only, the users are allowed to view guest and user pages and administrators are can view all the pages. If I understand the framework design correctly, I need three handlers: 1. Guest pages handler -- generally I wouldn't need it, as the pages could be unprotected, but the portal framework requires it if I want to be able to change the content and the layout of the homepage based on user/role. 2. User pages handler. 3. Admin pages handler. Now, let's say the administrator comes into the guest pages. He now needs to log into the Guest pages handler. After some browsing around, the administrator now wants to make some changes and clicks on a link to the admin pages. This would now require logging into the Admin pages handler. This is where I'm stuck. Clearly we wouldn't want the administrator to have to log in twice. Has anyone encountered this situation? Is there a facility for doing that provided by the framework? Thanks, -Alex - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
FW: Coccoon 2.1 and XForms
-Original Message- From: Balint Halasz Sent: Thursday, November 14, 2002 3:55 PM To: '[EMAIL PROTECTED]' Subject: Coccoon 2.1 and XForms Hi, I am new in the list and cocoon as well. In my project XForms may be used. I have read that Cocoon 2.1 supports XForms, however this version only exists as pre-release. I have the following questions: Q1: When the final release of the Cocoon 2.1 will be available? Q2: Does anyone have experience processing XForms withing Cocoon? Thanx, Balint
RE: Portal-fw tryout: IllegalStateException
Thanks for reply. In tomcat 4.1.12, however, it gets worse. Requesting http://localhost:8080/cocoon gives the following exception. I have been using a cvs 2.1-dev build of June 15; just wanna check out the new features, especially the portal framework, that may be added in latest cvs. Regards, KC HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw exception at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:952) ... at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533) at java.lang.Thread.run(Thread.java:479) root cause java.lang.VerifyError: Cannot inherit from final class at java.lang.ClassLoader.defineClass0(Native Method) ... at java.lang.Thread.run(Thread.java:479) --- [EMAIL PROTECTED] wrote: I had the same problem. Try tomcat 4.1.12. Sylvain __ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits videos http://launch.yahoo.com/u2 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Portal-fw tryout: IllegalStateException
Just found out in the cvs version of cocoon 2.1-dev. (Date of checkout is Nov 11 18:00 Eastern Time) Jdk1.3.1_06, Win2k, tomcat 406 Anyone else experiencing this problem? __ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits videos http://launch.yahoo.com/u2 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
authentication-fw session-fw
L.S. What is the status of authentication-fw and/or session-fw, - are they stable enough to use in production? - can i use them in cocoon-2.0.3? - if so how do i get my hands on a usable version? they look mighty handy to me, problem is that i am momentarily on a very tight schedule for first release, and i need to make some decisions fast. maybe needless to add, but if before mentioned items are not usable yet, other suggestions on authentication and session methods are very welcome. kind regards, wouter - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Authenication FW: Protecting multiple resources
Hello, I'm still struggling with trying to protect multiple resources using authentication framework. I've modified the sitemap in the authentication-fw sample to use wildcard match (see the examples below), but either I'm not using it correctly, or there is a bug in the framework. !-- -- !-- Protected area -- !-- -- map:match pattern=* map:act type=auth-protect map:parameter name=handler value=demohandler/ map:generate src=docs/{1}.xml/ map:transform src=stylesheets/simple-page2html.xsl/ map:transform type=encodeURL/ map:serialize/ /map:act !-- something was wrong, redirect to login page -- map:redirect-to uri=login/ /map:match !-- = -- !-- Form target which performs auth service -- !-- = -- map:match pattern=do-login !-- try to login -- map:act type=auth-login map:parameter name=handler value=demohandler/ map:parameter name=parameter_name value={request-param:username}/ !-- ? -- !-- This is what I think it should be -- !-- ? -- map:redirect-to uri=context://{request-param:resource}/ /map:act !-- something was wrong, try it again -- map:redirect-to uri=login/ /map:match However, when I click on protected link, rather than being re-directed to http://localhost:8080/cocoon/samples/authentication-fw/protected I get a re-direct to http://localhost:8080/cocoon/samples/authentication-fw/do-login. Is this not how the resource parameter was intended to be used? Thanks, -Alex - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
FW: Cocoon 1.8.2 and Tomcat 4.1.12
Joerg, I don't see any direct references to my D: drive, but thanks for explaining what the error means. Is there someplace specific I should be looking other than Tomcat's server.xml or Cocoon's web.xml or cocoon.properties? Thanks again, Greg -Original Message- From: Joerg Heinicke [mailto:joerg.heinicke;gmx.de] Sent: Monday, November 04, 2002 10:39 AM To: [EMAIL PROTECTED] Subject: Re: Cocoon 1.8.2 and Tomcat 4.1.12 Hello Greg, is there anyway written a reference to a file on drive D:\? There must be written file://D:/... instead. Regards, Joerg Greg Jewell wrote: Hi All, I'm trying to get Cocoon 1.8.2 up and running under Tomcat 4.1.12. I've made significant progress, but am encountering an error that I don't understand. In order to get this far, I've had to configure Cocoon to use the SunXMLParser rather than Xerces. (The versions of Xerces found in Cocoon 1.8.2 and Tomcat 4.1.12 appear to be incompatible with each other.) I can load cocoon/Cocoon.xml without problems. When I try to open cocoon/samples/index.xml, though, I get the following error: java.net.MalformedURLException: unknown protocol: d I've placed all the cocoon jar files in webapps/cocoon/WEB-INF/lib, and copied the cocoon samples directory to webapps/cocoon/samples. I've also updated the version of Utils.java that is distributed with cocoon 1.8.2 to the version found in the current development snapshot. What am I missing? Thanks, Greg Jewell - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
FW: Cocoon 1.8.2 and Tomcat 4.1.12
Marco, Unfortunately, there are no spaces in my path to Tomcat. Thank you for the suggestion though. You're help is appreciated. Greg -Original Message- From: [EMAIL PROTECTED] [mailto:mercuron;gmx.ch] Sent: Monday, November 04, 2002 11:03 AM To: [EMAIL PROTECTED] Subject: Re: Cocoon 1.8.2 and Tomcat 4.1.12 Hi Greg, I had a similar problem under Win2k. I had to reinstall Tomcat in a directory without spaces in its path name. I do not know where the problem comes from, but I never had the problem with Tomcat 4.0. Marco Hi All, I'm trying to get Cocoon 1.8.2 up and running under Tomcat 4.1.12. I've made significant progress, but am encountering an error that I don't understand. In order to get this far, I've had to configure Cocoon to use the SunXMLParser rather than Xerces. (The versions of Xerces found in Cocoon 1.8.2 and Tomcat 4.1.12 appear to be incompatible with each other.) I can load cocoon/Cocoon.xml without problems. When I try to open cocoon/samples/index.xml, though, I get the following error: java.net.MalformedURLException: unknown protocol: d I've placed all the cocoon jar files in webapps/cocoon/WEB-INF/lib, and copied the cocoon samples directory to webapps/cocoon/samples. I've also updated the version of Utils.java that is distributed with cocoon 1.8.2 to the version found in the current development snapshot. What am I missing? Thanks, Greg Jewell - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- +++ GMX - Mail, Messaging more http://www.gmx.net +++ NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen! - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: FW: Cocoon 1.8.2 and Tomcat 4.1.12
Hmm, I don't know. I have no experience with Cocoon 1.x. Have a look in every file involved in the processing. If one page works and another one not, it must be very specific, maybe the index.xml itself. Sorry, that I can't provide you more help. Regards, Joerg Greg Jewell wrote: Joerg, I don't see any direct references to my D: drive, but thanks for explaining what the error means. Is there someplace specific I should be looking other than Tomcat's server.xml or Cocoon's web.xml or cocoon.properties? Thanks again, Greg -Original Message- From: Joerg Heinicke [mailto:joerg.heinicke;gmx.de] Sent: Monday, November 04, 2002 10:39 AM To: [EMAIL PROTECTED] Subject: Re: Cocoon 1.8.2 and Tomcat 4.1.12 Hello Greg, is there anyway written a reference to a file on drive D:\? There must be written file://D:/... instead. Regards, Joerg Greg Jewell wrote: Hi All, I'm trying to get Cocoon 1.8.2 up and running under Tomcat 4.1.12. I've made significant progress, but am encountering an error that I don't understand. In order to get this far, I've had to configure Cocoon to use the SunXMLParser rather than Xerces. (The versions of Xerces found in Cocoon 1.8.2 and Tomcat 4.1.12 appear to be incompatible with each other.) I can load cocoon/Cocoon.xml without problems. When I try to open cocoon/samples/index.xml, though, I get the following error: java.net.MalformedURLException: unknown protocol: d I've placed all the cocoon jar files in webapps/cocoon/WEB-INF/lib, and copied the cocoon samples directory to webapps/cocoon/samples. I've also updated the version of Utils.java that is distributed with cocoon 1.8.2 to the version found in the current development snapshot. What am I missing? Thanks, Greg Jewell - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
portal-fw
hi there! i try to use the portal-fw. there is one thing i descoverd and i am sure anybody else has already a solution for the problem. the usermanagement (like login, create user, roles, ) is stored in xml-files. if a huge amount of people want to use the portal i would prefer using a database for storing instead. there are some other examples in the samples-page which use a database. was the portal-fw created with the intention to work without a database? has anybody involved a database in the framwork? how can i do that without loosing all the possibilites of the portal-fw? bye for now Wolfgang Weigel _ - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Fw: SunRise - Valid User Data
GOT IT CARSTEN!!! sunRise instead of sunrise... THANKS - Original Message - From: Richard Reyes [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 25, 2002 3:44 PM Subject: Re: SunRise - Valid User Data Hi Carsten, ah, changed it to... ?xml version=1.0 ? document xmlns:session=http://cocoon.apache.org/sunshine/1.0; message YOU ARE LOGGED!!! /message session:getxml context=sunrise path=/authentication/ID / /document and i got an error that the context sunrise does not exist.. i still am doing some reading on the url that you gave me. THANKS - Original Message - From: Carsten Ziegeler [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 25, 2002 12:39 AM Subject: RE: SunRise - Valid User Data -Original Message- From: Richard Reyes [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 26, 2002 12:06 AM To: [EMAIL PROTECTED] Subject: Re: SunRise - Valid User Data Hi Carsten, I am getting an error that the context authentication does not exist this is my xml now... === ?xml version=1.0 ? document xmlns:session=http://cocoon.apache.org/sunshine/1.0; message YOU ARE LOGGED!!! /message session:getxml context=response path=/authentication/ID / /document = Ehm, you invoke getxml with context=response. For Cocoon 2.0.x the context name is sunrise! See http://xml.apache.org/cocoon/developing/webapps/sunrise.html HTH Carsten - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Fw: SunRise - Valid User Data
Hi Carsten, Is it this one??? map:transformer name="sunShine" src="org.apache.cocoon.sunshine.transformation.SunShineTransformer"/ Thanks a Lot - Original Message - From: "Richard Reyes" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 24, 2002 5:38 PM Subject: Re: SunRise - Valid User Data Thanks, I'll check it out. FYI, I'm using binary released C2.0.3 for sdk 1.3... - Original Message - From: "Carsten Ziegeler" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 24, 2002 2:38 AM Subject: RE: SunRise - Valid User DataNo, I meant the session transformer: map:transformer name="session" "/ but this transformer only exists in 2.1-dev. I see you use 2.0.x. It's called "sunShine" transformer there. Apart from the name your pipeline is ok. Carsten -Original Message- From: Richard Reyes [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 2:26 AM To: C2 Users Subject: Re: SunRise - Valid User DataHi Carsten, Just to confirm, when you say "and put the session transformer behind your generator.". You mean the map:transformer logger="sitemap.transformer.readDOMsession" name="readDOMsession" src="org.apache.cocoon.transformation.ReadDOMSessionTransformer"/ And it should be coded like this... map:match pattern="foo-protected" map:act type="sunRise-auth" map:parameter name="handler" value="foo-handler"/ map:generate src="foo-resource.xml"/ map:transform type="readDOMsession" / /map:act map:transform src =" "foo-resource.xsl"/
map:serialize / !-- map:serialize type="xml" / -- /map:match Thanks Richard - Original Message - From: "Richard Reyes" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 24, 2002 4:43 PM Subject: Re: SunRise - Valid User Data Thanks. - Original Message - From: "Carsten Ziegeler" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 24, 2002 1:37 AM Subject: RE: SunRise - Valid User Data You will find the namespace for session:getxml in the documentation(I have to look it up, too) You can put the element in yourfoo-resource.xml and put the session transformer behind yourgenerator. Carsten -Original Message- From: Richard Reyes [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 1:01 AM To: [EMAIL PROTECTED] Subject: Re: SunRise - Valid User Data Thanks for the prompt reply!!! But where would I put these codes I only got foo-resource.xml and foo-resource.xsl files. Can I put them in the xsl file? How about the session:getxml namespace? Thanks Again. - Original Message - From: "Carsten Ziegeler" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 24, 2002 12:58 AM Subject: RE: SunRise - Valid User Data Yes, to get the information of your user data, you can use the session transformer and some commands like these: session:getxml context="authentication" path="/authentication/ID"/ With the above you get the ID of the user. Try a session:getxml context="authentication" path="/"/ and you see all the information stored for the user. Carsten -Original Message- From: Richard Reyes [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 12:48 AM To: C2 Users Subject: SunRise - Valid User Data Hi Guys, I am following Matthew Langham's samples on the Sunrise components ( http://radio.weblogs.com/0103021/stories/2002/02/28/usingTheSunriseComponent s.html ). I am quite sure that I have been able to configure it correctly. The question is how can I access the user data ( located at foo-user.xml ) after the user was authenticated? Will I need to use codes like these.. session:getxml context="authentication" path="/authentication/ID"/ Below are some snippets from my sitemaps, I have been able to display the content of foo-resource.xml and along with it Ialso want to display the data in foo-user.xml map:match pattern="foo-protected" map:act type="sunRise-auth" map:parameter name="handler" value="foo-handler"/ map:generate src="foo-resource.xml"/ /map:act map:transform src =" "foo-resource.xsl"/
map:serialize / /map:match map:match pattern="foo-authuser" map:generate src="foo-user.xml" / map:transform src="foo-user.xsl" map:parameter name="use-request-parameters" value="true" / /map:transform map:serialize type = "xml" / /map:match Thanks Richard
Fw: troubles with emailing and cocoon's caching ?
I have the same if I browse some pages in my app then go to the html form again (by typing the url or reaching it but with another request parameter passed along), request parameters values are added to sitemap parameters... !!?? Will update from CVS and try again... I have a form validation and simple form transformer in the snipped part below the map:act, however it doesn't seem logical. Relevant piece of buggy pipeline : map:match pattern=sendlicense map:act type=request map:parameter name=parameters value=true/ !-- authenticate as usual -- map:act type=auth-protect map:parameter name=handler value=baepp-handler/ !-- form has been submitted once so validate it -- map:act type=request-exists map:parameter name=parameters value=submittedOnce/ !-- form validation -- map:act type=form-validator map:parameter name=descriptor value=xml/sendlicense_desc.xml/ map:parameter name=validate-set value=default/ !-- ok so send mail -- map:act type=sendmail map:parameter name=smtpHost value=some smtp IP/ map:parameter name=subject value={../../../subject}/ !-- to be changeable (port) -- map:parameter name=body value=http://localhost:9090/baepp/licensekeys/{../../../licensekey}/htmlbod y.html/ map:parameter name=emailTo value={../../../emailTo}/ map:parameter name=emailCc value={../../../emailCc}/ map:parameter name=emailFrom value={../../../emailFrom}/ map:parameter name=nameFrom value={../../../nameFrom}/ map:parameter name=dataSources value=http://localhost:9090/baepp/images/links.gif;http://localhost:9090/ba epp/images/leer.gif;http://localhost:9090/baepp/images/logo_www.gif/ map:parameter name=dsHeaders value=69zzz@pc01;69zzz@pc00;69zzz@pc02/ map:parameter name=file value=http://localhost:9090/baepp/licensekeys/{../../../licensekey}/{../../ ../filename}.xml;http://localhost:9090/baepp/licensekeys/{../../../licenseke y}/{../../../filename}lt.pdf/ map:parameter name=fileName value={../../../filename}.xml;{../../../filename}lt.pdf/ map:redirect-to uri=menu/ /map:act .; - Original Message - From: Barbara Post [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 11, 2002 2:21 PM Subject: troubles with emailing and cocoon's caching ? Hello, I have a page : html form, which some values are hidden, some other to be filled by user. Then submitting the form sends an email (action) When the browser displays the page from its cache (because I hit back), instead of cocoon's regeneration I get duplicate values in the submitted fields... either hidden or to fill. So duplicate to fields or attachment names... so sitemap parameters are strangely managed ? I use last week's CVS cocoon and IE 5.5. Tomcat 4.0.4. Any idea how I can solve it ? Thanks, have a nice day, Barbara - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Fw: troubles with emailing and cocoon's caching ?
Barbara: I had the same problem too. Just upgrade to the last CVS there was a nasty bug in XSP :) Antonio Gallardo El Miércoles, 11 de Septiembre de 2002 07:05, Barbara Post escribió: I have the same if I browse some pages in my app then go to the html form again (by typing the url or reaching it but with another request parameter passed along), request parameters values are added to sitemap parameters... !!?? Will update from CVS and try again... I have a form validation and simple form transformer in the snipped part below the map:act, however it doesn't seem logical. Relevant piece of buggy pipeline : map:match pattern=sendlicense map:act type=request map:parameter name=parameters value=true/ !-- authenticate as usual -- map:act type=auth-protect map:parameter name=handler value=baepp-handler/ !-- form has been submitted once so validate it -- map:act type=request-exists map:parameter name=parameters value=submittedOnce/ !-- form validation -- map:act type=form-validator map:parameter name=descriptor value=xml/sendlicense_desc.xml/ map:parameter name=validate-set value=default/ !-- ok so send mail -- map:act type=sendmail map:parameter name=smtpHost value=some smtp IP/ map:parameter name=subject value={../../../subject}/ !-- to be changeable (port) -- map:parameter name=body value=http://localhost:9090/baepp/licensekeys/{../../../licensekey}/htmlbo d y.html/ map:parameter name=emailTo value={../../../emailTo}/ map:parameter name=emailCc value={../../../emailCc}/ map:parameter name=emailFrom value={../../../emailFrom}/ map:parameter name=nameFrom value={../../../nameFrom}/ map:parameter name=dataSources value=http://localhost:9090/baepp/images/links.gif;http://localhost:9090/b a epp/images/leer.gif;http://localhost:9090/baepp/images/logo_www.gif/ map:parameter name=dsHeaders value=69zzz@pc01;69zzz@pc00;69zzz@pc02/ map:parameter name=file value=http://localhost:9090/baepp/licensekeys/{../../../licensekey}/{../.. / ../filename}.xml;http://localhost:9090/baepp/licensekeys/{../../../licensek e y}/{../../../filename}lt.pdf/ map:parameter name=fileName value={../../../filename}.xml;{../../../filename}lt.pdf/ map:redirect-to uri=menu/ /map:act .; - Original Message - From: Barbara Post [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 11, 2002 2:21 PM Subject: troubles with emailing and cocoon's caching ? Hello, I have a page : html form, which some values are hidden, some other to be filled by user. Then submitting the form sends an email (action) When the browser displays the page from its cache (because I hit back), instead of cocoon's regeneration I get duplicate values in the submitted fields... either hidden or to fill. So duplicate to fields or attachment names... so sitemap parameters are strangely managed ? I use last week's CVS cocoon and IE 5.5. Tomcat 4.0.4. Any idea how I can solve it ? Thanks, have a nice day, Barbara - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Fw: troubles with emailing and cocoon's caching ?
This is not the same problem like: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9835 Antonio El Miércoles, 11 de Septiembre de 2002 07:05, Barbara Post escribió: I have the same if I browse some pages in my app then go to the html form again (by typing the url or reaching it but with another request parameter passed along), request parameters values are added to sitemap parameters... !!?? Will update from CVS and try again... I have a form validation and simple form transformer in the snipped part below the map:act, however it doesn't seem logical. Relevant piece of buggy pipeline : map:match pattern=sendlicense map:act type=request map:parameter name=parameters value=true/ !-- authenticate as usual -- map:act type=auth-protect map:parameter name=handler value=baepp-handler/ !-- form has been submitted once so validate it -- map:act type=request-exists map:parameter name=parameters value=submittedOnce/ !-- form validation -- map:act type=form-validator map:parameter name=descriptor value=xml/sendlicense_desc.xml/ map:parameter name=validate-set value=default/ !-- ok so send mail -- map:act type=sendmail map:parameter name=smtpHost value=some smtp IP/ map:parameter name=subject value={../../../subject}/ !-- to be changeable (port) -- map:parameter name=body value=http://localhost:9090/baepp/licensekeys/{../../../licensekey}/htmlbo d y.html/ map:parameter name=emailTo value={../../../emailTo}/ map:parameter name=emailCc value={../../../emailCc}/ map:parameter name=emailFrom value={../../../emailFrom}/ map:parameter name=nameFrom value={../../../nameFrom}/ map:parameter name=dataSources value=http://localhost:9090/baepp/images/links.gif;http://localhost:9090/b a epp/images/leer.gif;http://localhost:9090/baepp/images/logo_www.gif/ map:parameter name=dsHeaders value=69zzz@pc01;69zzz@pc00;69zzz@pc02/ map:parameter name=file value=http://localhost:9090/baepp/licensekeys/{../../../licensekey}/{../.. / ../filename}.xml;http://localhost:9090/baepp/licensekeys/{../../../licensek e y}/{../../../filename}lt.pdf/ map:parameter name=fileName value={../../../filename}.xml;{../../../filename}lt.pdf/ map:redirect-to uri=menu/ /map:act .; - Original Message - From: Barbara Post [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 11, 2002 2:21 PM Subject: troubles with emailing and cocoon's caching ? Hello, I have a page : html form, which some values are hidden, some other to be filled by user. Then submitting the form sends an email (action) When the browser displays the page from its cache (because I hit back), instead of cocoon's regeneration I get duplicate values in the submitted fields... either hidden or to fill. So duplicate to fields or attachment names... so sitemap parameters are strangely managed ? I use last week's CVS cocoon and IE 5.5. Tomcat 4.0.4. Any idea how I can solve it ? Thanks, have a nice day, Barbara - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Fw: bug with javascript ?
some snip because this darn antivirus believes that I am seding malicious code !! - Original Message - From: Barbara Post [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 29, 2002 11:01 AM Subject: bug with javascript ? c203. My XSL contains some javascript : Is it normal that when I look at the source of my html output I see the full code (in the body part) written out ? i.e. : script language=(java-script)if (document.all){ document.writeln('object id=factory classid=clsid:(something) codebase=(active x)'/object'); document.writeln('p align=centerinput name=idPrint type=button value=Print onClick=javascript:printSheet();//p'); }/script I see the Print input but this seems strange. In the xsl I used lt; and gt; tags, but otherwise the bit of code is identical. Thanks, and sorry whether this is off-topic... Babs - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Fw: bug with javascript ?
Another thing you can do is put the JavaScript in a another file and call it from the XSL. This is my way to kept the most of JavaScript out of the XSL. Let said you have the JavaScript in a file called: myscript.js. You can include it into the XSL with a sentence like: script language=JavaScript type=text/javascript src=resources/myscript.js/ Where, src is pointing to the file you want to include. ** If you are trying to call a function with a string parameter, do something like this: a href=javascript:void(0); onclick= return myfunction(apos;{@an-atribute}apos;, onmouseout=return anotherfunction(); Here myfunction need and parameter written in this format: 'string' (please see the apos) The apos must be changed by this:apos; Antonio Gallardo - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Fw: Forms Failed
HI Guys, Ithink Ihave foundtheerror. After clickicking on save employee the browser now displays the Confirm-Employee.xml. the problem is it is not saving any records any idea??? thanks! - Original Message - From: Richard To: Hiloliddin Karimov ; [EMAIL PROTECTED] Sent: Friday, August 02, 2002 2:34 PM Subject: Forms Failed Hi Guys, Attached with this email is form and my sitemap. The problem is I am able to load the form into the browser but after clicking on the Submit button it still gives me back the form. Thanks -Please check that your question has not already been answered in theFAQ before posting. http://xml.apache.org/cocoon/faq/index.htmlTo unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED] New-Employee.xsp Description: Binary data sitemap.xmap Description: Binary data - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
FW: Stored Procedure using esql?
Title: FW: Stored Procedure using esql? What specific problems are you having? Here are some examples that I used in a logicsheet called from some xsp pages. Example 1: Stored Procedure returns a resultset (ie it's a fancy SELECT statement). It can return one row of data, many rows of data, or possibly no rows. It takes no input parameters. !-- Retrieve detailed data from the work queue table -- xsl:template match=db_query:work_queue esql:execute-query !-- call sproc -- esql:call needs-query=true {call GetWorkQRows()} /esql:call !-- obtain format results -- esql:results work_queue esql:row-results row esql:get-columns/ /row /esql:row-results /work_queue /esql:results !-- if query returns no results (not an ERROR) -- esql:no-results no_resultsThere is currently no data in the work queue./no_results /esql:no-results !-- error processing -- esql:error-results esql:get-message/br/ esql:get-stacktrace/ /esql:error-results /esql:execute-query /xsl:template The stored procedure does something like this: SELECT pin, status, action from If there is data, this results in xml like: work_queue row pin999/pin statusOK/status actionUpdate/action /row row pin888/pin statusOK/status actionUpdate/action /row ... /work_queue No return code from the stored procedure is processed here. The stored procedure returns one, but I just don't care about it. - EXAMPLE 2: This is the same as example 1, except I explicitly name the xml tags where I want particular data to go. This sproc can only return one or zero rows. xsl:template match=db_query:get_person_data esql:execute-query !-- Call Stored Procedure to retrieve person data-- esql:call needs-query=true {call get_person( esql:parameter direction=in type=Stringxsp:expr/xsp:expr/esql:parameter, esql:parameter direction=in type=Stringxsp:expr/xsp:expr/esql:parameter, NULL, esql:parameter direction=in type=Stringxsp-request:get-parameter name=xlpin//esql:parameter)} /esql:call !-- obtain format results -- esql:results get_person_demo esql:row-results !-- personal info -- person_info lnameesql:get-string column=lname//lname fnameesql:get-string column=fname//fname miesql:get-string column=mi//mi dobesql:get-date column=dob format=MM/dd///dob sexesql:get-string column=sex//sex ssnesql:get-double format=0 column=ssn//ssn ... /person_info ... /esql:row-results /xsl:template This results in, as you can imagine: get_person_demo person_info lnameSmith/lname fnameJohn/fname mi/mi dob10/10/1988/dob sexM/sex ssn345677890/ssn --- Example 3: Stored procedure does not return a result set (ie it is not a select statement) but it does return various return codes (via an output parameter). The stored procedure also needs two input parameters. In my case, these input parameters were set by the user via a form and are available through request parameters. xsl:template match=db_query:launch_search_xlpin esql:execute-query !-- Call sproc; sproc has one output param (return code) -- esql:call {esql:parameter direction=out type=Int/ = call LaunchSearches( esql:parameter direction=in type=Stringxsp-request:get-parameter name=xlpin//esql:parameter, xsp-request:get-parameter name=search_type/)} /esql:call !-- retrieve return code from output parameter -- esql:call-results returnesql:get-int column=1 from-call=yes//return /esql:call-results !-- error processing -- esql:error-results esql:get-message/br/ esql:get-stacktrace/ /esql:error-results /esql:execute-query /xsl:template The esql:call-results section will execute regardless of whether or not a resultset is returned. This is where I capture the output parameter (return code). This results in xml like the following: return1/return or maybe return5/return where 1 and 5 mean specific things for my stored procedure. To use an output parameter, you must register it first. that is what esql:parameter direction=out type=Int/ = ... line does. The line esql:get-int column=1 from-call=yes/ accesses the output parameter (in this case the output parameter is the first parameter (column=1). I don't know what to do if you have more than one output parameter; I'm not too familiar with JDBC. I think that if this stored procedure had also returned a resultset, I could have accessed the data in the resultset with esql:row-results just like in Example 1. I used cocoon 2.0.2, tomcat 4.0.1 and Sybase 12.5 database. Hope that helps Beth -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 24, 2002 12:17 AM To: [EMAIL PROTECTED] Subject: Stored
(now found at: http://www.superlinksoftware.com/gnumeric-xml.pdf)Re: Fw: HSSF-Gnumeric XML file format - Unreachable URL, did anyone downloadpreviously?
Hi All, Thanks to denis, we've recovered the document in question. I've emailed David Gilbert, the author, and hopefully he'll fix the link. Until such time, you can find it at: http://www.superlinksoftware.com/gnumeric-xml.pdf. The doc is GPL so I suppose its safe for me to host on my server (of course I'm hosting it via tomcat...does that make tomcat tainted ? ;-) J/K -- tomcat's already tainted because I run linux on my webserver ;-) ) -Andy Denis wrote: - Original Message - From: Denis [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 10, 2002 11:50 AM Subject: Fw: HSSF-Gnumeric XML file format - Unreachable URL, did anyone download previously? Hi Lorenzo, Here is the file ... I cannot post it to the mailing list as the server does not accept large emails ... Regards, Denis - Original Message - From: Lorenzo De Sio [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 10, 2002 10:17 AM Subject: HSSF-Gnumeric XML file format - Unreachable URL, did anyone download previously? Hi all, I found an old posting with pointers to documentation about the Gnumeric XML file format, which is the one used by the HSSF serializer. One link concerned a PDF file contained detailed notes on the XML file format used by Gnumeric, at the following URL: ftp://www.jrefinery.com/pub/jworkbook/gnumeric-xml.pdf The URL is now completely unreachable. Did anyone successfully download that file before it became unreachable? If so, could he/she either send it to me or make it available to all in some other way? Thanks in advance to all, L. - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
FW: Web Logic 6.1 SP2 Error
Title: Web Logic 6.1 SP2 Error Could some one help me out. ??? -Original Message-From: Mathews, Silvy (HQP) [mailto:[EMAIL PROTECTED]]Sent: Tuesday, June 25, 2002 4:56 PMTo: Cocoon Users Mailing ListSubject: Web Logic 6.1 SP2 Error I had installed cocoon on weblogic 6.1 SP2. It works fine for most of the links in the welcome screen. But when I click on 'Docs', 'Tutorial' or 'List of docs' , it gives me the following error. ** message The current URI doesn't start with given prefix description java.lang.RuntimeException: The current URI doesn't start with given prefix sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet request-uri /cocoon/documents/doclist.html path-info /documents/doclist.html *** My config file looks like this: Application Deployed="true" Name="cocoon" Path=".\config\silvys\applications" WebAppComponent Name="cocoon" Targets="myserver" URI="cocoon"/ /Application Could someone help me out. Thanks and Regards, Silvy Mathews
FW: URL rewriting solution in FAQ does not do the trick
-1. Why keep ugly and less performing solution while others exist? because I don't like altering the behaviour of Tomcat, messing around with its own servlets: I may not be the only one using Tomcat on that machine :( Best regards, - Luca Morandini GIS Consultant [EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html - - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
FW: URL rewriting solution in FAQ does not do the trick
Vadim, just for the sake of a nice discussion about best practices in software development... 1) First thing I do starting a development is to set up a development environment equal to the production one: I don't want nasty suprises down the line 2) I don't like messing up the baae packages I use (Apache/IIS, Tomcat, Cocoon, Oracle/DB2, ...) I may not be the one maintaining them (I'm a consultant, not an employee) Anyway, maybe it's time I rewrite the FAQ on this one, inserting Lajos' method as well. Best regards, - Luca Morandini GIS Consultant [EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html - -Original Message- From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 18, 2002 8:17 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: URL rewriting solution in FAQ does not do the trick From: Luca Morandini [mailto:[EMAIL PROTECTED]] -1. Why keep ugly and less performing solution while others exist? because I don't like altering the behaviour of Tomcat, messing around with its own servlets: I may not be the only one using Tomcat on that machine :( Then, I suppose, that's not a production box but rather some kind of dev environment, where it is not necessary to have Apache at all (up to integration testing). But when you go into production, it's better to remove these docs (do you want your customers to see Yep, Tomcat *is* working on this machine!!! when they go to the root of your server? Yes, you can hide it by giving some CPU time to URL rewriting module :) Vadim Best regards, - Luca Morandini GIS Consultant [EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html - - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Fw: Sitemap Error
Can Anybody please help on this. regards dheeraj ---Original Message--- From: dheeraj Date: Tuesday, June 04, 2002 08:37:37 PM To: [EMAIL PROTECTED] Subject: Sitemap Error Hello All, Just joined your community. Installed Cocoon and could not get through. Following is the error message I get after running cocoon. I have tried alltricks... Help !! regards -- dheeraj -- type fatal message Error compiling sitemap description org.apache.cocoon.ProcessingException: Error compiling sitemap: java.awt.AWTError: Assistive Technology not found: com.sun.java.accessibility.AccessBridge sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet stack-traceorg.apache.cocoon.ProcessingException: Error compiling sitemap: java.awt.AWTError: Assistive Technology not found: com.sun.java.accessibility.AccessBridge at org.apache.cocoon.sitemap.Handler.run(Handler.java:295) at java.lang.Thread.run(Thread.java:484) java.awt.AWTError: Assistive Technology not found: com.sun.java.accessibility.AccessBridge at java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:440) at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:521) at java.awt.SystemColor.updateSystemColors(SystemColor.java:342) at java.awt.SystemColor.(SystemColor.java:335) at org.apache.batik.css.value.DefaultSystemColorResolver.activeBorder(Unknown Source) at org.apache.batik.css.value.ColorFactory.(Unknown Source) at org.apache.batik.css.value.CommonValueFactoryMap.(Unknown Source) at org.apache.batik.css.svg.SVGValueFactoryMap.(Unknown Source) at org.apache.batik.css.svg.SVGValueFactoryMap.(Unknown Source) IncrediMail - Email has finally evolved - Click Here
FW: Real dumb question - how to concatenate XML files
-Oorspronkelijk bericht- Van: Graaf, Edgar de (fin) Verzonden: dinsdag 28 mei 2002 9:28 Aan: '[EMAIL PROTECTED]' Onderwerp: RE: Real dumb question - how to concatenate XML files map:match pattern=document.pdf map:aggregate element=page map:part src=docs/doc.xml/ map:part element=content src=cocoon:/fixedbugs.xsp/ map:part src=docs/doc2.xml/ map:part element=content src=cocoon:/newbugs.xsp/ /map:aggregate map:transform src=stylesheets/general2pdf.xsl/ map:serialize type=fo2pdf/ /map:match It takes 4 xml of 2 are XSP and makes one XML of it. Regards, Edgar -Oorspronkelijk bericht- Van: daniel robinson [mailto:[EMAIL PROTECTED]] Verzonden: dinsdag 28 mei 2002 7:37 Aan: [EMAIL PROTECTED] Onderwerp: Real dumb question - how to concatenate XML files Ok. This is a dumb one, for many reasons - but I've been trying to figure it out for hours and have been all over the mail archives to try and figure it out. Say I have 3 XML files and I want to use them with an XSLT to respond to a request. What is the best way to do this? I checked out the FAQ but had no idea WHAT WAS SUPPOSED TO BE INSIDE THE XML files being concatenated. An example would be VERY USEFUL. I tried using cinclude but that didn't help. Sorry for being such a noob. - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
FW: html2jpg
-Oorspronkelijk bericht- Van: Konstantin Piroumian [mailto:[EMAIL PROTECTED]] Verzonden: dinsdag 28 mei 2002 13:40 Aan: [EMAIL PROTECTED] Onderwerp: Re: html2jpg From: Graaf, Edgar de (fin) [EMAIL PROTECTED] Would it not be handy to get a image of for example www.cnn.com. I think so... But unfortunately not everything is well formed (x)html Making an image from www.cnn.com will be like writing a rendering engine - Thats right, that is probably why it is just too much work... for a browser. Is it worth? ;) And how would you use those images? - The user can view the page in a thumbnail (prob a bit larger then that) without the need to jump to it KP -Oorspronkelijk bericht- Van: Konstantin Piroumian [mailto:[EMAIL PROTECTED]] Verzonden: dinsdag 28 mei 2002 11:44 Aan: [EMAIL PROTECTED] Onderwerp: Re: html2jpg From: Graaf, Edgar de (fin) [EMAIL PROTECTED] Tidy doesn't work when you have br, this wil not be converted to br/. This cause an error saying br misses a closing tag This is either a bug in Tidy or can be configured. See the docs. Otherwise, why to use it if you have already well-formed XHTML? Konstantin -Oorspronkelijk bericht- Van: Konstantin Piroumian [mailto:[EMAIL PROTECTED]] Verzonden: dinsdag 28 mei 2002 10:36 Aan: [EMAIL PROTECTED] Onderwerp: Re: html2jpg From: Graaf, Edgar de (fin) [EMAIL PROTECTED] Hi, I want to make a jpg from a html. Is there someone who at least converts html to svg? Are you sure that want html2jpg and not xml2jpg? There is a sample in cocoon for performing: XML - SVG - JPG generation. For using HTML for this you should use Tidy to generate XHTML from it and then use an XHTML - SVG - JPG pipeline. Konstantin thanks, Edgar - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Fw: XSLTC and Cocoon
Folks, The XSLTC group is at a hold again. Anyone interested to work with Tom to resolve the issues? I am sorry if I sound pushy, especially when I am not helping myself. My focus is currently in another area of Cocoon, as some of you know. Recently there have been a number of people asking to get their hands on a faster XSLT transformer. This is a good chance to contribute to the cause. If this effort is not to be dragging for long, please step up and work with Tom. Cheers, Ivelin - Original Message - From: Tom Amiro [EMAIL PROTECTED] To: Ivelin Ivanov [EMAIL PROTECTED] Sent: Tuesday, May 28, 2002 3:33 PM Subject: Re: XSLTC and Cocoon Ivelin, Ivelin Ivanov wrote: Tom, Were the replies to your request satisfactory? Are you able to continue work on XLTC Cocoon? Ivelin I guess my reply would be, not yet. Here was my last email to which I believe Stefano was going to respond, but I haven't heard anything yet. So I'm just waiting. tom Given Sylvain's reply that an update would solve the NPE problem, I checked out the xml-cocoon2 respository. After making some modifications so it would use XSLTC rather than Xalan, I built cocoon.war and tried deploying it with Tomcat. On starting up Tomcat, there was a problem with Cocoon 2002-05-22 14:04:45 HostConfig[localhost]: Deploying web application archive cocoon.war 2002-05-22 14:04:45 StandardHost[localhost]: Installing web application at context path /cocoon from URL jar:file:/net/bigblock/files18/tamiro/wspack-fcs/webapps/cocoon.war!/ 2002-05-22 14:04:50 WebappLoader[/cocoon]: Deploying class repositories to work directory /net/bigblock/files18/tamiro/wspack-fcs/work/Standard Engine/localhost/cocoon 2002-05-22 14:07:06 WebappLoader[/cocoon]: Deploy class files /WEB-INF/classes to /net/bigblock/files18/tamiro/wspack-fcs/work/Standard Engine/localhost/cocoon/ WEB-INF/classes 2002-05-22 14:07:07 StandardManager[/cocoon]: Seeding random number generator class java.security.SecureRandom 2002-05-22 14:07:07 StandardManager[/cocoon]: Seeding of random number generator has been completed 2002-05-22 14:07:07 StandardWrapper[/cocoon:Cocoon2]: Marking servlet Cocoon2 as unavailable 2002-05-22 14:07:07 StandardContext[/cocoon]: Servlet /cocoon threw load() exception javax.servlet.ServletException: Error instantiating servlet class org.apache.coc oon.servlet.CocoonServlet at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper. java:896) Anyone have an idea what may be wrong? If not, could someone send me another war file configured for XSLTC that has the update to fix the NPE problem. So far I haven't been able to pinpoint any XSLTC specific bugs that are preventing Cocoon from using XSLTC. Tom -- Tom Amiro -- SQA Engineer Sun XML Technology Development voice: 781-442-0589 Fax: 781-442-1437 eMail: tom.amiro@.sun.com - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Fw: XML Schema Components Infoset Model in Java by IBM is available on Partnerworld for Developers
FYI, Very interesting reading for those of you who asked about XML Schema API before. I know a few people wanted to create XML instances from Schema. Validation might be also improved with this. - Original Message - From: Bob Schloss [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, May 24, 2002 4:33 AM Subject: XML Schema Components Infoset Model in Java by IBM is available on Partnerworld for Developers There has been a lot of discussion (on various mailing lists) about the benefits of a standard API which would allow software that creates, examines or modify XML Schemas, written in Java, to do so in a way that represents the semantic XML schema components described in the W3C XML Schema specifications. In February, we shared with the W3C Schema and DOM working groups some thoughts about what such an API should try to do. You can see those 'requirements' described here: http://www.research.ibm.com/XML/schema/WD- XML-Schema-Infoset-API-Req.htm . I have been lucky to work with Ed Merks, part of the IBM Websphere Studio Application Developer (WSAD) development group, to define such an API and to produce a reference implementation. Although we have not yet completed every last function we have in mind to implement, nor have we done any performance tuning, this API has been used successfully in building several real XML and Web Services developer-time tools. We have tried to make a reasonable and straightforward Javadoc, and have been grateful to have Shane Curcuru, who has worked on the Apache Xalan team, give us some guidance on how to do this. We are aiming for an API which is very complete: not simply read-only, and able to handle any XML Schema, no matter how complex. We tried to use the terminology from the W3C's XML Schema specifications in naming our classes/interfaces, methods, and constants. We have now made this work, including source code, UML, example usage code and documentation, available publically for the wider community to examine and use. Donating a future version of this to some open source effort is possible, although I can't make a commitment on behalf of IBM at this time. Reaction and comments from the Apache community would strongly influence whether we do this. We encourage you to download our work. You can do so through IBM's Partnerworld for Developers web pages. https://www.developer.ibm.com/member/register/how2join.html - shows how you can get yourself an ID and password if you've never joined Partnerworld for Developers https://www.developer.ibm.com/websphere/member/workbench_beta_download.html - where you can find the XSD Feature, the name for the Schema Infoset Model (aka com.ibm.etools.xsd) Although I am posting this notice here, I recommend that all discussion about this, at least until the end of June, take place in a single venue. I recommend that questions and comments be posted to [EMAIL PROTECTED] . (The archive is: http://lists.w3.org/Archives/Public/xmlschema-dev/ . Instructions are here: http://www.w3.org/Mail/Request and here: http: //www.w3.org/Mail/Lists.html ). Note: I have posted this notice also to xerces-j-dev, xerces-j-user, and might post it to a few other xml and web services development lists. Bob Schloss XML/XSL Transformational Technologies IBM T.J. Watson Research Center - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
FW: multiple pipelines
What is the reason to have multiple pipelines in the cocoon sitemap ? Can they be collpsed in just one pipeline ? Lev Thentsiper - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Fw: Serving static XML files a la Cocoon-1
Sometimes you need to use unique XSL file for several XML files, but this is also solved by the sitemap in a varios ways, e.g.: map:match pattern=3D*.xml map:generate src=3D{1}.xml/ map:transform src=3D{1}.xsl/ map:serialize / /map:match That 1:1 kind of match is very rare. Much more importantly, there seems to be no provision in sitemap.xmap for binding a stylesheet to a DTD. Let's suppose I have 3,000 DocBook article documents in many many directories, but these directories also contain many other .xml files (related to the articles in many different ways) which require different stylesheets, according to their DTD. I want all *.xml files which use DocBook article to be served into HTML using foo.xsl; all *.xml which use (say) TEI-Lite to be served using another stylesheet, etc etc. Can this be done? ///Peter - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Fw: Serving static XML files a la Cocoon-1
Seems that you didn't get my message. Trying again... From: Cédric Damioli [EMAIL PROTECTED] Peter Flynn wrote: ... Don't get me wrong, I love the idea of Cocoon. It was just an error to distribute it without the previous default (Cocoon 1) already enabled, ie any XML files already on disk should be processed with their XSL[T] files and served up as HTML/PDF by default. You don't understand the Cocoon2 concepts at all. It must be on the 75% the problem of Cocoon docs, but this question is definitely lightened in the rest 25% ;) It is nonsense to serve XML files with their XSL files : the principle is to separe data and presentation, ie XML source and XSL. Sometimes you need to use unique XSL file for several XML files, but this is also solved by the sitemap in a varios ways, e.g.: map:match pattern=*.xml map:generate src={1}.xml/ map:transform src={1}.xsl/ map:serialize / /map:match For a request like '/cocoon/page.xml' the following will be performed: 'page.xml' file will be read, parsed into SAX events 'page.xsl' will be read, then applied to the generated SAX event stream default (HTML) serializer will output the result as HTML This will work if you name your stylesheets as your xml files (my-page.xml - my-page.xsl). There a lot more possibilities for doing this, even generating a stylesheet on the fly or serving it from a database. -- Konstantin So you have to write a pipeline (or to copy/paste one from an existing sitemap) to generate HTML stuff from XML by transforming it through XSL. The sample sitemap bundled with Cocoon offers these 'defaults' already. Please read the docs and reffer to the samples. They will learn you much. Something like map:match pattern=3Drtfm/*.xml map:generate src=3Dsomewhere/{1}.xml/ But I don't want to *generate* any XML. I already have XML documents. Yes, you want In Cocoon2 terminology, generate means you generate SAX events from a source. In your case, the source is an XML document. So you have to use : map:generate src=XXX.xml/ map:transform src=3Dxslt-stuff/transform.xsl/ map:serialize type=3Dxml/ /map:match ///Peter - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
FW: Problem with 'large' STATIC pdf files - appears FIXED
Err.. Vadim, Don't know WHAT I did exactly, but when I tried the CVS version again it WORKED. Both with wget AND the browsers ! So, Thanks ! Sorry to trouble you unnecessarily. Christopher -Original Message- From: Christopher Watson [mailto:[EMAIL PROTECTED]] Sent: 20 April 2002 19:11 To: [EMAIL PROTECTED] Subject: RE: Problem with 'large' STATIC pdf files Vadim, the plot thickens. I've unearthed cygwin's wget. On the 2.0.2 release build it gets all 175958 bytes ! Shame my browsers don't :- BUT On the current CVS (HEAD branch) it only gets 32768 bytes. The opposite of what I would have expected/hoped Christopher -Original Message- From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] Sent: 20 April 2002 16:44 To: [EMAIL PROTECTED]; 'Christopher Watson' Subject: RE: Problem with 'large' STATIC pdf files From: Christopher Watson [mailto:[EMAIL PROTECTED]] Can anyone help - from the archives I think there've been a few people down this road, but I haven't see anything very hopeful. I'm trying to serve up static PDF files using map:match pattern=pdf/*.pdf map:read src=pdf/{1}.pdf mime-type=application/pdf/ /map:match These are simply exposed as download/viewable files by a href=pdf/something.pdf If I right click and download, I only get the first 32768 bytes. The .pdf file file is 115Kb. Bizarrely, I can download all of an 82KB one with no problem I did a sanity check with a large (300kb) image file served by map:match pattern=images/*.jpg map:read src=images/{1}.jpg mime-type=image/jpg/ /map:match which I could right-click and save OK. What am I doing wrong? Why the different behaviour? Should not be. Reader processes all file types similarly. Is there anywhere where a max file size is set for static .pdf's or other file types? I don't think so. PS I can serve the pdf through another tomcat servlet OK Same behaviour in ie6, opera 6.0.1, ns 4.73 Try with wget -S. Tomcat 4.0.1 Cocoon 2.0.1 WinNT4 jdk1.3.1 Try Cocoon CVS version (or today's snapshot). Vadim - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
FW: ANOTHER TEST - DO NOT REPLY
Title: FW: ANOTHER TEST - DO NOT REPLY -Original Message- From: William Bagby [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 4:29 PM To: Cocoon Users Mailing List (E-mail) Subject: ANOTHER TEST - DO NOT REPLY PLAIN TEXT
FW: Trouble with action sets
-Original Message- From: Volker Schneider [mailto:[EMAIL PROTECTED]] Sent: Montag, 8. April 2002 10:27 To: '[EMAIL PROTECTED]' Subject:Trouble with action sets Dear cocoon users group, I tried to use multiple submit-buttons within a pipeline using an action set. This works fine, but I can only call separate actions depending on the submit button: Clicking button1 action1 is called, clicking button2 is called, but it's always the same pipeline I can add behind the action set. What I want to do is to select the pipeline depending on the submit button: Clicking button1 action1 and pipeline1 should be performed, clickking button2 action2 and pipeline2 should be performed. I tried it like this: ... map:generator name=route src=testapp.XYRouteGenerator/map:generator ... map:action name=XYTestAction src=testapp.XYTestAction/ map:action name=XYTestAction2 src=testapp.XYTestAction2/ ... map:action-set name=XY map:act type=XYTestAction action=rlist map:generate type=route/ map:transform src=prototyp/routelist.xsl/ map:serialize/ /map:act map:act type=XYTestAction2 action=rlist2 map:generate type=route/ map:transform src=prototyp/routelist.xsl/ map:serialize/ /map:act /map:action-set /map:action-sets map:match pattern=route/submit_full map:act set=XY /map:act /map:match As a result I got the following error message (Cocoon 2.0.2, WebSphere Studio Application Developer 4.0.2): Error page exception The server cannot use the error page specified for your application to handle the Original Exception printed below. Please see the Error Page Exception below for a description of the problem with the specified error page. Original Exception: Error Message: [Cocoon2] hat einen Fehler gemeldet Error Code: 404 Target Servlet: Cocoon2 Error Stack: com.ibm.servlet.engine.webapp.WebAppErrorReport: [Cocoon2] hat einen Fehler gemeldet at com.ibm.servlet.engine.webapp.WebAppDispatcherResponse.sendError(WebAppDispa tcherResponse.java:85) at com.ibm.servlet.engine.webapp.WebAppDispatcherResponse.sendError(WebAppDispa tcherResponse.java:68) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1024) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager .java:827) at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycl eServlet.java:167) at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServle t.java:297) at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycle Servlet.java:110) at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:47 2) at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletMan ager.java:1012) at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManag er.java:913) at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(W ebAppRequestDispatcher.java:523) at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequest Dispatcher.java:282) at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestD ispatcher.java:112) at com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:91) at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker. java:184) at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedIn vocation.java:67) at com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(Cacheabl eInvocationContext.java:106) at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequ estProcessor.java:125) at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener .java:315) at com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.ja va:60) at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:323) at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:252) at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122) Error Page Exception: Error Message: [Cocoon2] hat einen Fehler gemeldet Error Code: 404 Target Servlet: Cocoon2 Error Stack: com.ibm.servlet.engine.webapp.WebAppErrorReport: [Cocoon2] hat einen Fehler gemeldet at com.ibm.servlet.engine.webapp.WebAppDispatcherResponse.sendError(WebAppDispa tcherResponse.java:85) at com.ibm.servlet.engine.webapp.WebAppDispatcherResponse.sendError(WebAppDispa tcherResponse.java:68) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1024) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager .java:827) at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycl eServlet.java:167) at
Fw: Charting
CC to dev just FYI From: Luca Morandini [EMAIL PROTECTED] Nicola, I don't want to rain on your parade but... since charting is not core Cocoon, I think it'd be better to integrate it with other packages doing the task at hand (SVG chart generation) rather than re-invent the wheel. Are you sure there is nothing open-source which could be integrated into Cocoon ? None Apache license AFAIK. Find it for me, and I'll use it. Anyway, I will not put the Charting classes themselves in Cocoon, just the Transformer, like all other components do. I will put the charting stuff on Sourceforge and the Cocoon Transformer in the scratchpad tonight CET, so you all can make it work again :-) As a matter of principle, I'd like development to focus on core Cocoon components and integration with other packages (XML is pretty good at that, BTW), rather than new features. That's why it's still on my HD waiting since year 2000 ;-) -- Nicola Ken Barozzi [EMAIL PROTECTED] - verba volant, scripta manent - (discussions get forgotten, just code remains) - - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
FW: Issues with sunRise authentication....
My original mail bounced back and hence I am resending it -Original Message- From: Chitharanjan Das [mailto:[EMAIL PROTECTED]] Sent: Friday, March 29, 2002 3:49 PM To: '[EMAIL PROTECTED]' Subject: Issues with sunRise authentication Hello, I am running cocoon 2.0.1 on my machine locally My m/c name is chiths I 've a pipeline entry by name login, which is protected by LoginAction . If I address my m/c with localhost:8080, when it displays the resource , the URL gets changed to chiths:8080. When I access non protected resource, the URL server name remains Localhost. What I think is happening is the sunrise code is creating the URL the using inet address using java. Instead it should be using request,getServerName(). This is a Major Bug, because the internal server name and the Internet address of the production machines will be different and the internal server name will not be resolvable.. I have 1 more question, is Sunrise being supported at All, I have posted 3 - 4 messages and have not received any messages .back.. Has this been scrapped Logout issue: LogoutAction does not work. I am using the same handle foo-handler for logout also.Always get a Null Pointer exception .. ava.lang.NullPointerException at org.apache.cocoon.sunshine.sunrise.SunRise.logout(SunRise.java:1087) at org.apache.cocoon.sunshine.sunrise.acting.LogoutAction.act(LogoutAction. java:112) at org.apache.cocoon.www.sitemap_xmap.matchN10A1D(sitemap_xmap.java:12480) at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:4060) at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:3114) at org.apache.cocoon.sitemap.Handler.process(Handler.java:227) at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:184) at org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:159 ) at org.apache.cocoon.Cocoon.process(Cocoon.java:581) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:959) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica tionFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv e.java:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 72) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv e.java:201) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:566) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.ja va:246) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 72) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:234 4) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java :164) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:566) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa lve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:564) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java :170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:564) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 72) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve. java:163) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 72) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.j ava:1011) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java: 1106) at java.lang.Thread.run(Thread.java:484) Thanks in advance,
FW: Alternate formats for xml.apache.org/cocoon ?
Title: FW: Alternate formats for xml.apache.org/cocoon ? Folks, I'd like to print some of the documentation from the cocoon site, are there any plans to make PDF or PS versions available? Is there a reasonably simple way to convert the installed docs to PDF/PS without doing XML-FO work myself (since I know nothing of it (yet))? TIA, -Tom
FW: Sophos Anti-Virus IDE alert: W32/MyLife-A - And how to get rid of it...
You may have received a virus from this mailbox. Here are the instructions on how to remove them. -Original Message- From: Sheshadri Mantha [mailto:[EMAIL PROTECTED]] Sent: Friday, March 08, 2002 11:04 AM To: Dinkar Ganti Subject: FW: Sophos Anti-Virus IDE alert: W32/MyLife-A - And how to get rid of it... -Original Message- From: Venkatesh Mohanraj [mailto:[EMAIL PROTECTED]] Sent: Friday, March 08, 2002 10:45 AM To: Zhang, John; yogu; vishakar; Vimal; Vijay Ganesh; [EMAIL PROTECTED]; [EMAIL PROTECTED]; Tanusree Pai; sure strikes back; [EMAIL PROTECTED]; srk-co; skkk7 Cc: Sheshadri Mantha; [EMAIL PROTECTED]; Sasikumar; sangeetha selvaraj; [EMAIL PROTECTED]; rupica; raghu pr; RAGHU; Praveen; Prakash Thulasiraman; NAVANEETHA KRISHNAN; navaneetha krishnan; [EMAIL PROTECTED]; Natarajan, R. G.; Nandhitha Madhavan; Mohan Murugesan; Mohan; MADHURA RAJENDRA; Kandampalayam, Shanmugam (GEA, 501477); Kalyan; John Zhang; John McAleely (Symbian); Jing Huang; ganesh gopal; [EMAIL PROTECTED]; Ferrari; Dr.C.Mohanraj; Chris Wiseman; BalaC; Ashok kumar; Arun Sundaramoorthy; Ajay Subject: FW: Sophos Anti-Virus IDE alert: W32/MyLife-A - And how to get rid of it... -Original Message- From: Karthik Sundaram [mailto:[EMAIL PROTECTED]] Sent: Friday, March 08, 2002 10:23 AM To: [EMAIL PROTECTED] Subject: FW: Sophos Anti-Virus IDE alert: W32/MyLife-A - And how to get rid of it... Attached is the information on this virus.. If you are infected : 1. Find this file C:\windows\system\My Life.scr and delete it. For Win2k it will be in C:\windows\system32 folder. 2. Start Registry editor. (Start- Run-regedit). Select My Computer. Go to Edit - Find. typeMy Life/type. Hit Find. Delete the key when the search ends. Just do a SHIFT+TAB after this. Hit Delete key, Say Yes if a dialog box comes up. HKCU\Software\Microsoft\Windows\CurrentVersion\Run\strmgr =C:\windows\system\My Life.scr. -Original Message- From: Sophos Alert System [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 10:38 AM To: Undisclosed recipients: Subject: Sophos Anti-Virus IDE alert: W32/MyLife-A Name: W32/MyLife-A Type: Win32 worm Date: 7 March 2002 A virus identity file (IDE) which provides protection is available now from our website and will be incorporated into the May 2002 (3.57) release of Sophos Anti-Virus. At the time of writing Sophos has received no reports from users affected by this worm. However, we have issued this advisory following enquiries to our support department from customers. Description: W32/MyLife-A arrives in an email with the following characteristics: Subject Line: my life oh Attachment: My Life.scr Body Text: Hi How are yo? look to the digital picture it's my love vvvery vey unny :-) my life = my car my car = my house When run the worm will copy itself to C:\windows\system\My Life.scr and add the registry key HKCU\Software\Microsoft\Windows\CurrentVersion\Run\strmgr = C:\windows\system\My Life.scr. It will then email itself to addresses from the Outlook address book. Finally it will display a painting of a young girl. Download the IDE file from http://www.sophos.com/downloads/ide/mylife.ide Read the analysis at http://www.sophos.com/virusinfo/analyses/w32mylifea.html Download a ZIP file containing all the IDE files available for the current version of Sophos Anti-Virus from http://www.sophos.com/downloads/ide/ides.zip Read about how to use IDE files at http://www.sophos.com/downloads/ide/using.html To unsubscribe from this service please visit http://www.sophos.com/virusinfo/notifications - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Fw: input type=image src=images/submit.gif name=cocoon-actionvalue=Submit
Niket, did you do an update? ...as I said I fixed this already -- Torsten On Wed, 27 Feb 2002, Niket Anand wrote: Hello Vadim, Can you help me out of the following problem? - Original Message - From: Niket Anand [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 27, 2002 9:53 AM Subject: Re: Fw: input type=image src=images/submit.gif name=cocoon-action value=Submit Hello All, Has anybody tried to perform action with following input type input type=image src=images/submit.gif name=cocoon-action-Add Department value=Add Department I have tried on cocoon2.0.2 dev, but it doesnot work and give following error. Please help me out of this problem if anybody has tried under same condition. - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Fw: input type=image src=images/submit.gif name=cocoon-action value=Submit
Hi Torsten, Sorry to trouble you again as I am helpless. Yeah I have updated as per ur instruction. I downloaded latest 2.0.2 dev (26Feb) and again make build of it and tried after made changes in type=image.But it does not work in tutorial example (employee-department) If I am going wrong anywhere pls guide me. or else send me updated class or java file (org.apache.cocoon.environment.http.HttpEnvironment). or pls give guideline where to make changes. Thanks for ur cooperation. Niket - Original Message - From: Torsten Curdt [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 26, 2002 6:04 PM Subject: Re: Fw: input type=image src=images/submit.gif name=cocoon-action value=Submit Hi Torsten, It works fine with type=submit and name =cocoon-action-Add Department. But if I change type=image and src=images/submit.gif, it gives following error. Ok, that is an information I can work with :) Here is the snippet of log line made in sitemap.log Well, I wanted the request parameters... Anyway - the stack trace helped. Found the problem. See it fixed in a few minutes. As soon as you see the commit message on cocoon-dev you might want to update your org.apache.cocoon.environment.http.HttpEnvironment Sorry, for the hassle :) -- Torsten - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Fw: input type=image src=images/submit.gif name=cocoon-actionvalue=Submit
Hi Torsten, Sorry to trouble you again as I am helpless. Yeah I have updated as per ur instruction. I downloaded latest 2.0.2 dev (26Feb) and again make build of it and tried after made changes in type=image.But it does not work in tutorial example (employee-department) If I am going wrong anywhere pls guide me. or else send me updated class or java file (org.apache.cocoon.environment.http.HttpEnvironment). or pls give guideline where to make changes. Thanks for ur cooperation. Ok... let's solve this step by step 1. make sure you have latest revision (1.10) of org.apache.cocoon.environment.http.HttpEnvironment 2. make sure you use the new syntax input type=image name=cocoon-action-[ACTION] value=some text 3. search in you log file(s) for the request parameter section. you should find something similar to this: REQUEST PARAMETERS: PARAM: 'cocoon-action-test.y' VALUES: '[16]' PARAM: 'cocoon-action-test.x' VALUES: '[17]' Well, actually that's all I can say. It's working here. If you still don't get it working... get a clean checkout of cocoon HEAD and try again... -- Torsten - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Fw: input type=image src=images/submit.gif name=cocoon-action value=Submit
Hi Torsten, Have u got something for me as I haven't got solution yet. waiting for ur reply - Original Message - From: Torsten Curdt [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 26, 2002 6:13 PM Subject: Re: Fw: input type=image src=images/submit.gif name=cocoon-action value=Submit Thanks Torsten, I hope this time you can help me out of this problem. ...go for it :) -- Torsten - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
FW: OT: delay in message publishing
Donald, I'm sorry to make you tired... but I wasn't aware this list was moderated. Recently, I've changed my send e-mail account, but I haven't done the same for my subscribe account, which explains the delay I've noticed. Since Vadim explained to me the reason of this delay, I've unified my accounts and I'll no longer bore you again :) Best regards, - Luca Morandini GIS Consultant [EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html - -Original Message- From: Donald Ball [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 26, 2002 6:45 PM To: Cocoon-users; [EMAIL PROTECTED] Subject: Re: OT: delay in message publishing On Mon, 25 Feb 2002, Luca Morandini wrote: is it just me, or there is someone else experiencing a four-hours-delay between sending a message and seeing it published on the list ? it's not just you, it's anyone who happens to send mail to this list from an account which is not subscribed to the list. those posts require moderation, which requires a slack human like me to approve or reject them. you should subscribe to the list if you want to participate. (i get tired of having to repeatedly approve posts from the same people.) - donald - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Fw: input type=image src=images/submit.gif name=cocoon-action value=Submit
Hello All, Has anybody tried to perform action with following input type input type=image src=images/submit.gif name=cocoon-action-Add Department value=Add Department I have tried on cocoon2.0.2 dev, but it doesnot work and give following error. Please help me out of this problem if anybody has tried under same condition. Cocoon 2 - Internal server error -- -- type fatal message String index out of range: -16 description java.lang.StringIndexOutOfBoundsException: String index out of range: -16 sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet stack-trace java.lang.StringIndexOutOfBoundsException: String index out of range: -16 at java.lang.String.substring(String.java:1525) at org.apache.cocoon.environment.http.HttpEnvironment.extractAction(HttpEnviron ment.java:139) at org.apache.cocoon.environment.http.HttpEnvironment.(HttpEnvironment.java:106 ) at org.apache.cocoon.servlet.CocoonServlet.getEnvironment(CocoonServlet.java:10 92) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:954) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:201) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :163) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java: 1011) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106 ) at java.lang.Thread.run(Thread.java:484) request-uri /cocoon2.0.2/tutorial/results-dept.html path-info tutorial/results-dept.html -- -- - Original Message - From: Torsten Curdt [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 26, 2002 6:13 PM Subject: Re: Fw: input type=image src=images/submit.gif name=cocoon-action value=Submit Thanks Torsten, I hope this time you can help me out of this problem. ...go for it :) -- Torsten - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Fw: input type=image src=images/submit.gif name=cocoon-action value=Submit
Hello Vadim, Can you help me out of the following problem? - Original Message - From: Niket Anand [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 27, 2002 9:53 AM Subject: Re: Fw: input type=image src=images/submit.gif name=cocoon-action value=Submit Hello All, Has anybody tried to perform action with following input type input type=image src=images/submit.gif name=cocoon-action-Add Department value=Add Department I have tried on cocoon2.0.2 dev, but it doesnot work and give following error. Please help me out of this problem if anybody has tried under same condition. Cocoon 2 - Internal server error -- -- type fatal message String index out of range: -16 description java.lang.StringIndexOutOfBoundsException: String index out of range: -16 sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet stack-trace java.lang.StringIndexOutOfBoundsException: String index out of range: -16 at java.lang.String.substring(String.java:1525) at org.apache.cocoon.environment.http.HttpEnvironment.extractAction(HttpEnviron ment.java:139) at org.apache.cocoon.environment.http.HttpEnvironment.(HttpEnvironment.java:106 ) at org.apache.cocoon.servlet.CocoonServlet.getEnvironment(CocoonServlet.java:10 92) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:954) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:201) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :163) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java: 1011) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106 ) at java.lang.Thread.run(Thread.java:484) request-uri /cocoon2.0.2/tutorial/results-dept.html path-info tutorial/results-dept.html -- -- - Original Message - From: Torsten Curdt [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 26, 2002 6:13 PM Subject: Re: Fw: input type=image src=images/submit.gif name=cocoon-action value=Submit Thanks Torsten, I hope this time you can help me out of this problem. ...go for it :) -- Torsten - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org
FW:
Hello All, I am planning to provide the user authentication procedure via an Action. How do I access the datasource from JAVA code, to obtain a connection? Please include datasource example for oracle and sample code in JAVA to access the named datasource. Regds, Chiths - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
FW: Oracle configuration with Tomcat 4.0.1
Marcelo and Vadim, I solved the problem... I had made the mistake of mistyping the SID... silly, isn't it ? Unfortunately, I made this error while upgrading to Tomcat 4.0.1, hence, I thought the error to be related to the different handling of JDBC connections between Tomcat 3 and Tomcat 4. Best regards and thanks for your collaboration, - Luca Morandini GIS Consultant [EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html - -Original Message- From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] Sent: Monday, January 28, 2002 2:25 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: Oracle configuration with Tomcat 4.0.1 From: Luca Morandini [mailto:[EMAIL PROTECTED]] Marcelo adn Vadim, I think youy're both wrong, since my Oracle instance is working properly. Most probably that is a JDBC error, stating that Oracle can't be reached. That's what I told you. Check Oracle documentation for reason and suggestions on how to fix this. Vadim Anyhow, could one of you just send me his/her fragments of configuration files about connecting Oracle to Cocoon via Tomcat 4.0.1 ? I've already checked Tomcat documentation, to no avail. Thanks in advance, - Luca Morandini GIS Consultant [EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html - -Original Message- From: Marcelo F. Ochoa [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 27, 2002 9:42 PM To: [EMAIL PROTECTED] Subject: Re: Oracle configuration with Tomcat 4.0.1 Luca Morandini wrote: Nicolas, not quite there... 1) I've put classes12.jar (.zip won't work, since Tomcat 4 doesn't recognize this extension) in $TOMCAT_HOME/common/lib 2) I've modified web.xml, adding the loading of the oracle JDBC driver, hence having the default servlet looks like: servlet servlet-namedefault/servlet-name servlet-classorg.apache.catalina.servlets.DefaultServlet/servl et-class init-param param-namedebug/param-name param-value0/param-value /init-param init-param param-namelistings/param-name param-valuetrue/param-value /init-param !-- Oracle JDBC -- init-param param-nameload-class/param-name param-valueoracle.jdbc.driver.OracleDriver/param-value /init-param load-on-startup1/load-on-startup /servlet 3) Added the following datasource in cocoon.xconf datasources jdbc name=noria pool-controller min=5 max=10 oradb=true/ dburljdbc:oracle:thin:@localhost:1521:ORCL2/dburl usernoria/user passwordnoria/password /jdbc /datasources But cocoon refuses to cooperate, stating: DEBUG (2002-01-27) 21:23.28:977 [cocoon ] (Unknown-URI) Unknown-thread/AbstractPool: org.apache.avalon.excalibur.datasource.JdbcConnection: could not be instantiated. java.sql.SQLException: ORA-01034: ORACLE not available ORA-27101: shared memory realm does not exist Check your Oracle SID, this error means that the instance ORCL2 is not available. Cocoon and the Oracle jdbc driver are working properly here. Best regards, Marcelo. -- Marcelo F. Ochoa - [EMAIL PROTECTED] Do you Know DB Prism? Look @ http://www.plenix.com/dbprism/ More info? Chapter 21 of the book Professional XML Databases (Wrox Press http://www.wrox.com/) Chapter 8 of the book Oracle Open Source (O'Reilly http://www.oreilly.com/catalog/oracleopen/) --- Lab. de Sistemas - Fac. de Cs. Exactas - UNICEN Paraje Arroyo Seco - Campus Universitario (7000) Tandil - Bs. AS. - Argentina Te: +54-2293-30 Fax: +54-2293-31 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Fw: develop content management system
So I tried to install dimmer switches at my place and brought down most of my electrical (including mail server). I want to apologize if anybody recieved bounced mails from me... Here is the info on the cms group at yahoo if you want to sign up. - Original Message - From: Chris Perrin [EMAIL PROTECTED] OK. Here is the link to the site: http://groups.yahoo.com/group/contentmanagementgroup/ Go to www.yahoo.com and click on GROUPS, not CLUBS. Clubs is going away. There is also a list serve to which you can subscribe: [EMAIL PROTECTED] is the email address. I hope all interested parties join up. I am going to put together a list of discussion topics. Also, Michael, I would be interested in looking at your system and will be visiting your site shortly. Chris -Original Message- From: Robert Koberg To: [EMAIL PROTECTED] Sent: 1/16/2002 6:53 PM Subject: Re: develop content management system I was hoping to hold some comments for the yahoo list but this needs addressing: I would be most interested in a projects that abstracted the CMS from the publ. sys (cocoon, axkit). best, -Rob - Original Message - From: Tibi DONDERA [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 16, 2002 4:55 PM Subject: Re: develop content management system Just my 2 cents... There is AxKit too, and www.interakt.ro develops Krysalis, a Cocoon-clone for php. Will this tool contain support for these products too? It's usability would be greatly enhanced... Don't know if I'll have the time (or the knowledge) to be of any help, but I would like to get involved, too... Tibi Dondera - Original Message - From: Scott Ahten [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 17, 2002 1:41 AM Subject: Re: develop content management system I'm quite interested in being involved in one way or another. I've been trying to wrap my brain around an XML schema and other aspects of a Cocoon based CMS for quite some time now. ~Scott Chris Perrin wrote: All, There have been a number of requests for some type of Cocoon based content management system. It also appears that the current solutions are inadequate for one reason or another. Thus, I am wondering if there is interest in creating an open source content management product for Cocooon. I would be more than happy to lend my time to the project and can take direction on the project if no one else would like to or I can take a devleoper role. Thanks, Chris - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Fw: how to shut off database?
Some kinda problem with hsqldb. shutdown, delete cocoondb.backup, restart, and everything will be fine. DR At 07:54 PM 11/12/01 -0500, you wrote: First, I am running Tomcat 4.01, Cocoon 2 0cr1 on a Windows 98 machine. I can get the cocoon default pages OK, and my development web page when I copy it to the Cocoon Webapps directory. Whenever I start it, I get the following message: * Server.run/init: java.sql.SQLException: File input/output error: C:\java\Apache Tomcat 4.0\webapps\cocoon\WEB-INF\db\cocoondb.backup java.sql.SQLException: File input/output error: C:\java\Apache Tomcat 4.0\webapp s\cocoon\WEB-INF\db\cocoondb.backup at org.hsqldb.Trace.getError(Trace.java:180) at org.hsqldb.Trace.getError(Trace.java:144) at org.hsqldb.Trace.error(Trace.java:205) at org.hsqldb.Log.restoreBackup(Log.java:731) at org.hsqldb.Log.open(Log.java:212) at org.hsqldb.Database.init(Database.java:96) at org.hsqldb.Server.run(Server.java:137) at org.hsqldb.Server.main(Server.java:78) at org.apache.cocoon.components.hsqldb.ServerImpl.run(ServerImpl.java:10 2) at java.lang.Thread.run(Thread.java:484) Starting service Tomcat-Apache Apache Tomcat/4.0.1 * I believe that is because Cocoon is trying to load a database driver which I do not have. When I installed Cocoon, I followed the instructions not for the database (ie. .\build.bat -Dinclude.webapp.libs=yes webapp) What do I have to remove? I'm afraid of killing Cocoon if I play around... - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
FW: newbie question: (XML-XSLT) cached - session logic - browser??
Thank you very much, i will try this now (just have to read about XSP and sessions first :-)... Just a final question about C2 as it seems you know about it's inner working. The class that gets created as a cache for my largefile.xml document. does it contain my entire document? (since i could delete the original file...) is it keept in memory? I would have to buy some more ram chips i guess ;-) mvh karl On Thu, 9 Aug 2001, Karl Oie wrote: i think i understand, but won't this put a lot of processing on the server? the toc.xsl takes about 3 minutes to generate. if i apply the logic in the XSP page the page will have to process the entire XML document each time? Well not exactly. The entire document gets processed ONLY when you ask the page for the first time. A class is generated then, consisting of your toc.xsl applied to the original document. If your xsp file was empty, the result would be a java-file which produces your XML document as SAX events. You COULD delete your xml file once the java file is generated, because it is not needed anymore (but you shouldn't because cocoon depends on the file to be there ;) So basically your xml document is replaced by code that fires SAX events to the contenthandler (the first stylesheet in your pipeline). Therefore, everytime your page gets requested the cached class file gets called. Your xml page will not be entirely passed through the pipeline, because not all the code that fires the SAX events get called. I hope you understand.. You might want to try this out with a small xml file, consisting of only 2 tags, and a simple if-then-else statement depending on a query parameter 'section=one' or 'two'. Check the generated source file, it should be in tomcats 'work' dir under $TOMCAT_HOME/work/localhost%F8080/[servlet-zone]/org/apache/www/..._xml.java that should clarify it for you (search for the 'generate' function). There is another way to accomplish this. This is done as follows: let your XSP page add an XML tag in the result, for instance if () { xsp:content some-tag-one /xsp:content } else !-- some other tag -- and let your stylesheet (NOT toc.xsl :)) check for that tag, and then process some part of your input xml file. This way, the document WILL get parsed EVERY time, ENTIRELY. THis is the slow and ugly way. So use XSP and it will be fast ;) (btw: i've coded my own cocoon clone with XSP which is a lot faster than cocoon, simply because it is not as modular as cocoon. That's why I understand cocoon so well :)) Hope this helps, if not, feel free to ask. mvh karl -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 9. august 2001 18:15 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: newbie question: (XML-XSLT) cached - session logic - browser?? Just create an XSP page, with a template matching the root element of your xml page. Then do some if-then-else based on your session. In each 'if' body you do something like this: if (some_session_based_expression) { xsl:call-template name=henk/ } else if () The template 'henk' is inserted in the place of the call. If it just consists of content, it looks like this: xsl:template name=henk xsp:content !-- xsl code that applies templates to the parts you want -- /xsp:content /xsl:template This way you get 1 producer/generator, which can produce all the different pages you want (that is, sections of your XML document) based on some viariables in the session. I use this technique to validate users: The XML document: nsp:auth group=users success !-- data you want to show when the user is logged in and belongs to that group -- /success fail nsp:login-form/ !-- or some other xml code.. -- /f ail /nsp:auth The xsp page: xsl:template match=nsp:auth xsp:logic if (userInGroup(xsl:value-of select=@group/)) { xsp:content xsl:apply-templates select=success/ /xsp:content } else { xsp:content xsl:apply-templates select=fail/ /xsp:content } /xsp:logic /xsl:template The UserInGroup checks the session for a user object, standard code.. Hope this helps, Kenney Westerhof On Thu, 9 Aug 2001, Karl Oie wrote: Hi, im pretty new to cocoon2 so i need some advice about the best aproach for my problem; I got a quite large XML file which i use a XSL stylesheet to extract only parts of, but the XML file might change so i set this up as the generator. map:match pattern=toc.html map:generate src=largefile.xml/ map:transform src=toc.xsl/ ... perform logic on the result based on sessions ... map:serialize type=html/ /map:match Then based on the the user's session state i want to perform logic on the extract, to hide and show elements (this is
FW: database connection
Sorry, the info from tomcat.sh is of course: --- oldCP=$CLASSPATH unset CLASSPATH CLASSPATH=. CLASSPATH=${CLASSPATH}:${TOMCAT_HOME}/lib/sax-bugfix.jar CLASSPATH=${CLASSPATH}:${TOMCAT_HOME}/lib/xerces_1_2.jar CLASSPATH=${CLASSPATH}:${TOMCAT_HOME}/lib/xalan_1_2_D02.jar CLASSPATH=${CLASSPATH}:${TOMCAT_HOME}/lib/fop_0_15_0.jar CLASSPATH=${CLASSPATH}:${TOMCAT_HOME}/lib/cocoon.jar CLASSPATH=${CLASSPATH}:${TOMCAT_HOME}/lib/w3c.jar CLASSPATH=${CLASSPATH}:${TOMCAT_HOME}/lib/turbine-pool.jar CLASSPATH=${CLASSPATH}:${TOMCAT_HOME}/lib/mm.mysql-2.0.4-bin.jar for i in ${TOMCAT_HOME}/lib/* ; do if [ $CLASSPATH != ]; then CLASSPATH=${CLASSPATH}:$i else CLASSPATH=$i fi done --- Sorry about that!! /AM -Original Message- From: Hartvigsen Anne Marie (FoU) Sent: 2. august 2001 10:34 To: '[EMAIL PROTECTED]' Subject: RE: database connection Hi, I downloaded mm.mysql-2.0.4-bin.jar and put it in /var/tomcat/lib/ I have tried to set the path, but I'm not sure it's working. Is there a way I can set the path when booting instead of when starting tomcat? Anyway, here's what I did: - From cocoon.properties: --- # Turbine DB Connection Pool # These are your database settings, look in the # org.apache.turbine.util.db.pool.* package for more information. # Inserted 01-08-2001: processor.xsp.pool.database.annemarie.driver=org.gjt.mm.mysql.Driver processor.xsp.pool.database.annemarie.url=jdbc:mysql://localhost:3306/mysql/ annemarie processor.xsp.pool.database.annemarie.username=root processor.xsp.pool.database.annemarie.password= processor.xsp.pool.database.annemarie.maxConnections=5 processor.xsp.pool.database.annemarie.expiryTime=360 processor.xsp.pool.database.default.driver=oracle.jdbc.driver.OracleDriver processor.xsp.pool.database.default.url=jdbc:oracle:thin:@localhost:1521:ORC L processor.xsp.pool.database.default.username=dbUser processor.xsp.pool.database.default.password=dbPass processor.xsp.pool.database.default.maxConnections=3 processor.xsp.pool.database.default.expiryTime=360 # These are the supported jdbc-drivers and their adaptors. # These properties are used by the DBFactory. #Inserted 01-08-2001: processor.xsp.pool.database.adaptor=DBMM processor.xsp.pool.database.adaptor.DBMM=org.gjt.mm.mysql.Driver processor.xsp.pool.database.adaptor=DBWeblogic,DBOracle,DBInstantDB,DBPostgr es,DBSybase,DBInformix,DBMySQL processor.xsp.pool.database.adaptor.DBWeblogic=weblogic.jdbc.pool.Driver processor.xsp.pool.database.adaptor.DBOracle=oracle.jdbc.driver.OracleDriver processor.xsp.pool.database.adaptor.DBInstantDB=org.enhydra.instantdb.jdbc.i dbDriver processor.xsp.pool.database.adaptor.DBPostgres=postgresql.Driver processor.xsp.pool.database.adaptor.DBInformix=com.informix.jdbc.IfxDriver processor.xsp.pool.database.adaptor.DBSybase=com.sybase.jdbc.SybDriver processor.xsp.pool.database.adaptor.DBMySQL=org.gjt.mm.mysql.Driver -- Thank's for your time! /Anne Marie -Original Message- From: Liam Morley [mailto:[EMAIL PROTECTED]] Sent: 2. august 2001 09:57 To: [EMAIL PROTECTED] Subject: Re: database connection It would be helpful to know if you have downloaded a MySQL database driver, and if so, if it's included in your path. --- Liam Morley light the deep, and bring silence to the world. light the world, and bring depth to the silence. On Thu, 2 Aug 2001 [EMAIL PROTECTED] wrote: Hi all, sorry for posting this again, but I have the feeling my mistake is pretty trivial... I'm trying to connect my websites to a mysqldatabase. I'm using cocoon 1.8.2. I cannot get my own code to work. I cannot get the example codes to work (in cocoon/samples/sql). The error message I get every time is - Error found handling the request. java.lang.ClassNotFoundException: _var._tomcat._webapps._cocoon._vt._first_sql. _first_sql at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:297) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286) at java.lang.ClassLoader.loadClass(ClassLoader.java:253) at org.apache.cocoon.processor.xsp.language.java.XSPClassLoader.loadCla ss(XSPClassLoader.java:87) at java.lang.ClassLoader.loadClass(ClassLoader.java:253) at org.apache.cocoon.processor.xsp.language.java.XSPJavaProcessor.load( XSPJavaProcessor.java:169) at
Fw: RE: C1 to C2
Sorry, I thought the reply was not on the list so I posted in private. And sorry for this mail, I think the charset is not correct but I've just installed Mew (Messaging in Emacs World) and I did not configure it at the time ;) --Arnaud Arnaud, could you, please, post your reply to the cocoon-users' mailing list as well ? I think this matter is of general interest. Best regards, - Luca Morandini - -Original Message- From: Arnaud Vandyck [mailto:[EMAIL PROTECTED]] Sent: venerdì 13 luglio 2001 15.41 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: C1 to C2 On Fri, 13 Jul 2001 15:31:56 +0200, Luca Morandini [EMAIL PROTECTED] wrote: -Original Message- From: Arnaud Vandyck [mailto:[EMAIL PROTECTED]] Sent: venerdì 13 luglio 2001 14.53 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: C1 to C2 If you only pass xml files to C2, you'll loose the ability to construct dynamic pdf with the pdf extension and so on with .txt or .sh or .jpg, and so on... you may pass every URI you want to Cocoon, whathever the extension. Of course, you will have to rely on the Apache rewrite engine to handle this job (I mean: switching URI between Apache or Cocoon). This URI switching task might be pretty tricky and, moreover, is bound to put application logic outside the sitemap... which is unfortunate. I did never work with the Apache rewrite engine, this is my first error ;) In your configuration, what will you do if you got to serve static xml files (example: applet configuration)? I'll tell Apache NOT to pass xml files contained in a subsite to Cocoon. For instance, every URI in www.foobar.com/foo/static won't be passed to Cocoon but served directly by Apache, while every URI in www.foobar.com/foo/dynamic will be passed to Cocoon for further processing. I think MY mistake was to tell apache to relay * to Cocoon. The other mapping did not work anymore! But I did not want to check all the extension type (well, I should because they are not so many)! ;) Thanks for the tips, I'll try --Arnaud - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
FW: RuntimeException: Error creating org.apache.cocoon.processor.xsp.XSPProcessor:
BDY.RTF
Fw: Cocoon with Ldap
- Original Message - From: Janesh Vasudeva Sent: Wednesday, June 13, 2001 4:13 PM Subject: Cocoon with Ldap When i try to acces Ldap Server , it gives me this error Wed Jun 13 15:57:57 GMT+05:30 2001:I ServletContext-General *.xml: initException: javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name 'o=ireason.com,uid=rdesantis,ou=people'using renderer org.apache.fop.render.pdf.PDFRendererusing element mapping org.apache.fop.fo.StandardElementMappingusing element mapping org.apache.fop.svg.SVGElementMappingbuilding formatting object treesetting up fontsformatting FOs into areas[1]rendering areas to PDFwriting out PDF with this code ldap-defsldap-server name="ireason.com"initializercom.sun.jndi.ldap.LdapCtxFactory/initializerldap-serverurlldap://reason2.ireason.com:389//ldap-serverurl/ldap-serverldap-querydefs name="standard" default="yes"//ldap-defsldap-query server="ireason.com" ldap-searchbase="o=ireason.com,uid=rdesantis,ou=people" defs="standard"msisdnlist=* /ldap-query what does this msisdnlist stands for ? whereas this data i get when i run java program to get ldap details uid=rdesantis, ou=people, o=ireason.comfirstname = Robertlastname = DeSantisuid = RDeSantislocation = san jose.california.us.northamericarole = nulllanguage = ptemail = [EMAIL PROTECTED]mobile = 408.393.4341pager = 408.393.4341fax = 408.555.1212