the following lines produced error. can anyone help?
var profile;
profile = cocoon.getComponent(Packages.org.apache.cocoon.portal.profile.impl.AbstractUserProfileManager.ROLE);
profile.logout();
ERROR:
WARN (2004-04-23) 11:51.46:702 [portal] (/cocoon/test/portal) http8180-Processor21/AbstractCopletAdapter: Unable to get content of coplet: appDelUserDataInstance
org.apache.cocoon.ProcessingException: Could not read resource cocoon://test/applications/deleteuser-woody/7650206d5b6c254667443f7340460a3c658a3766.continue?copletid=appDelUserDataInstance: org.apache.avalon.framework.CascadingRuntimeException: uncaught JavaScript exception:
at deleteUser (file:/usr/local/jakarta-tomcat5.0/webapps/cocoon/test/applications/deleteuser-woody/flow/deleteuser.js, Line 7):
org.apache.avalon.framework.service.ServiceException: Could not find component (key [org.apache.cocoon.portal.profile.ProfileManager]) (Key='org.apache.cocoon.portal.profile.ProfileManager')
at org.apache.cocoon.portal.coplet.adapter.impl.URICopletAdapter.streamContent(URICopletAdapter.java:133)
at org.apache.cocoon.portal.coplet.adapter.impl.URICopletAdapter.streamContent(URICopletAdapter.java:89)
at org.apache.cocoon.portal.coplet.adapter.impl.AbstractCopletAdapter.toSAX(AbstractCopletAdapter.java:105)
at org.apache.cocoon.portal.source.CopletSource.toSAX(CopletSource.java:155)
at org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:132)
at org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:112)
at org.apache.cocoon.transformation.CIncludeTransformer.processCIncludeElement(CIncludeTransformer.java:533)
at org.apache.cocoon.transformation.CIncludeTransformer.startTransformingElement(CIncludeTransformer.java:244)
at org.apache.cocoon.transformation.AbstractSAXTransformer.startElement(AbstractSAXTransformer.java:299)
at org.apache.xalan.transformer.ResultTreeHandler.flushElem(ResultTreeHandler.java:860)
at org.apache.xalan.transformer.ResultTreeHandler.flushPending(ResultTreeHandler.java:954)
at org.apache.xalan.transformer.ResultTreeHandler.endElement(ResultTreeHandler.java:308)
at org.apache.xalan.templates.ElemCopy.execute(ElemCopy.java:166)
at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:425)
at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:216)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2339)
at org.apache.xalan.templates.ElemCopy.execute(ElemCopy.java:162)
at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:425)
at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:216)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2339)
at org.apache.xalan.templates.ElemCopy.execute(ElemCopy.java:162)
at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:425)
at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:216)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2339)
at org.apache.xalan.templates.ElemCopy.execute(ElemCopy.java:162)
at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:425)
at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:216)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2339)
at org.apache.xalan.templates.ElemCopy.execute(ElemCopy.java:162)
at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:425)
at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:216)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2339)
at org.apache.xalan.templates.ElemCopy.execute(ElemCopy.java:162)
at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:425)
at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:216)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2339)
at org.apache.xalan.templates.ElemCopy.execute(ElemCopy.java:162)
at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:425)
at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:216)
); ....
Thanks for help -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
