RE: cocoon on SunOne?
We are running cocoon on SunOne as well, and I had this problem too. It's really quite simple. You just need to add some permission in the server.policy file for cocoon to work. These are the permissions I added: permission java.lang.RuntimePermission createSecurityManager; permission java.lang.RuntimePermission createClassLoader; permission java.util.PropertyPermission *, read,write; permission java.net.SocketPermission*, accept,resolve; As well as a delete permission to the java.io.FilePermission. That's it, and cocoon should work fine after that. Regards, Kyle -Original Message- From: Tsui, Alban [mailto:[EMAIL PROTECTED]] Sent: February 12, 2003 6:11 AM To: [EMAIL PROTECTED] Subject: cocoon on SunOne? hi I have compiled cocoon2.0.3 with jdk1.4 as a war and tried to deploy it to SunOne app server. When I hit the page: http://localhost:81/cocoon I got the following error: Type: Exception Report Message: Internal Server Error Exception javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw exception at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav a:94 9) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:6 58) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv e.ja va:229) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5 05) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv e.ja va:212) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5 05) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java :203 ) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5 05) at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcesso r.ja va:157) at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598) Root Cause java.security.AccessControlException: access denied (java.lang.RuntimePermission createSecurityManager) at java.security.AccessControlContext.checkPermission(AccessControlContext. java :270) at java.security.AccessController.checkPermission(AccessController.java:401 ) at java.lang.SecurityManager.checkPermission(SecurityManager.java:542) at java.lang.SecurityManager.(SecurityManager.java:298) at org.apache.cocoon.util.log.CocoonLogFormatter$CallStack.(CocoonLogFormat ter. java:99) at org.apache.cocoon.util.log.CocoonLogFormatter.(CocoonLogFormatter.java:1 27) at org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:73 0) at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:262) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav a:92 1) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:6 58) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv e.ja va:229) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5 05) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv e.ja va:212) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5 05) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java :203 ) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5 05) at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcesso r.ja va:157) at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598) Is this something to do with my cocoon or with my SunONE settings? Any help would be appreciated. Alban This message may contain privileged and/or confidential information. If you have received this e-mail in error or are not the intended recipient, you may not use, copy, disseminate or distribute it; do not open any attachments, delete it immediately from your system and notify the sender promptly by e-mail that you have done so. Thank you. - 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: Error when cocoon initializing
I did try switching to the plain file system, that gave me initialization errors as well, so that's not the answer. And yes, it is a fresh install. Do you know what files I would have to update for this, would it be just the jisp jar file, or other jars as well? Kyle Koss -Original Message- From: Geoff Howard [mailto:cocoongeoff;yahoo.com] Sent: November 8, 2002 8:24 AM To: [EMAIL PROTECTED] Subject: Re: Error when cocoon initializing I think some of the Jisp stuff may have been worked on recently (not sure about that) so you may try doing a cvs update. As a quick experiment, you could try switching to the plain file system store in cocoon.xconf. Is this a fresh install? Geoff Howard --- Kyle Koss [EMAIL PROTECTED] wrote: I am running cocoon-CVS from Nov.4 on SunOne appserver 7, and I get this error when cocoon starts up: ERROR (2002-11-07) 16:19.03:876 [core.store.persistent] (Unknown-URI) Unknown-thread/JispFilesystemStore: initialize(..) Exception java.io.EOFException at java.io.RandomAccessFile.readByte(RandomAccessFile.java:564) at com.coyotegulch.jisp.ObjectDatabaseFile.readObject(ObjectDatabaseFile.ja va:368) at com.coyotegulch.jisp.BTreePageFile.init(BTreePageFile.java:74) at com.coyotegulch.jisp.BTreeIndex.init(BTreeIndex.java:110) at org.apache.cocoon.components.store.JispFilesystemStore.initialize(JispFi lesystemStore.java:240) at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstanc e(DefaultComponentFactory.java:275) at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initial ize(ThreadSafeComponentHandler.java:98) at org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(E xcaliburComponentManager.java:268) at org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonCompone ntManager.java:236) at org.apache.avalon.excalibur.component.DefaultComponentFactory$ComponentM anagerProxy.lookup(DefaultComponentFactory.java:393) at org.apache.excalibur.store.impl.MRUMemoryStore.compose(MRUMemoryStore.ja va:63) at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstanc e(DefaultComponentFactory.java:239) at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initial ize(ThreadSafeComponentHandler.java:98) at org.apache.avalon.excalibur.component.ExcaliburComponentManager.initiali ze(ExcaliburComponentManager.java:513) at org.apache.cocoon.Cocoon.initialize(Cocoon.java:288) at org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java: 1305) at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:507) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav a:921) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.j ava:3346) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3592 ) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123) at org.apache.catalina.core.StandardHost.start(StandardHost.java:638) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:345) at org.apache.catalina.startup.Embedded.start(Embedded.java:957) at com.iplanet.ias.web.WebContainer.start(WebContainer.java:426) at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:514) at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:170) What do I do to fix this. Thanx, Kyle - 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] __ 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] - 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]
Frustration with SVGSerializer
. Thanx in advance, Kyle Koss - 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]
Error when cocoon initializing
I am running cocoon-CVS from Nov.4 on SunOne appserver 7, and I get this error when cocoon starts up: ERROR (2002-11-07) 16:19.03:876 [core.store.persistent] (Unknown-URI) Unknown-thread/JispFilesystemStore: initialize(..) Exception java.io.EOFException at java.io.RandomAccessFile.readByte(RandomAccessFile.java:564) at com.coyotegulch.jisp.ObjectDatabaseFile.readObject(ObjectDatabaseFile.ja va:368) at com.coyotegulch.jisp.BTreePageFile.init(BTreePageFile.java:74) at com.coyotegulch.jisp.BTreeIndex.init(BTreeIndex.java:110) at org.apache.cocoon.components.store.JispFilesystemStore.initialize(JispFi lesystemStore.java:240) at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstanc e(DefaultComponentFactory.java:275) at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initial ize(ThreadSafeComponentHandler.java:98) at org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(E xcaliburComponentManager.java:268) at org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonCompone ntManager.java:236) at org.apache.avalon.excalibur.component.DefaultComponentFactory$ComponentM anagerProxy.lookup(DefaultComponentFactory.java:393) at org.apache.excalibur.store.impl.MRUMemoryStore.compose(MRUMemoryStore.ja va:63) at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstanc e(DefaultComponentFactory.java:239) at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initial ize(ThreadSafeComponentHandler.java:98) at org.apache.avalon.excalibur.component.ExcaliburComponentManager.initiali ze(ExcaliburComponentManager.java:513) at org.apache.cocoon.Cocoon.initialize(Cocoon.java:288) at org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java: 1305) at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:507) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav a:921) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.j ava:3346) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3592 ) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123) at org.apache.catalina.core.StandardHost.start(StandardHost.java:638) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:345) at org.apache.catalina.startup.Embedded.start(Embedded.java:957) at com.iplanet.ias.web.WebContainer.start(WebContainer.java:426) at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:514) at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:170) What do I do to fix this. Thanx, Kyle - 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]
what does this mean?
) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(P ipelineNode.java:153) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode. invokeNodes(AbstractParentProcessingNode.java:109) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke( PipelinesNode.java:143) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePro cessor.java:326) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePro cessor.java:308) at org.apache.cocoon.Cocoon.process(Cocoon.java:595) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1069) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.StandardWrapperValve.invokeServletService(Stand ardWrapperValve.java:720) at org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapper Valve.java:118) at org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve .java:278) at java.security.AccessController.doPrivileged(Native Method) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv e.java:274) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5 05) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv e.java:212) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5 05) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java :203) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5 05) at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcesso r.java:157) at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598) What do I do now? Please help, Kyle Koss P.S. (server: SunOne app server 7.0, jdk1.4, WinXP) - 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: what does this mean?
Thanks Joerg, that helped, but now I get this: ERROR (2002-11-06) 13:51.26:291 [sitemap] (/cocoon/buisCard_copy.htm) service-j2ee/SVGSerializer: SVGSerializer: Exception writing image java.lang.ArrayIndexOutOfBoundsException at java.lang.System.arraycopy(Native Method) at org.apache.cocoon.util.BufferedOutputStream.write(BufferedOutputStream.j ava:136) at org.apache.cocoon.caching.CachingOutputStream.write(CachingOutputStream. java:105) at java.io.ByteArrayOutputStream.writeTo(ByteArrayOutputStream.java:112) at org.apache.cocoon.serialization.SVGSerializer.notify(SVGSerializer.java: 275) at org.apache.cocoon.xml.dom.SVGBuilder.endDocument(SVGBuilder.java:133) at org.apache.xalan.transformer.ResultTreeHandler.endDocument(ResultTreeHan dler.java:190) at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerIm pl.java:1182) at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:31 35) at java.lang.Thread.run(Thread.java:536) ERROR (2002-11-06) 13:51.26:291 [sitemap] (/cocoon/buisCard_copy.htm) service-j2ee/SVGBuilder: SVGBuilder: endDocument java.lang.ArrayIndexOutOfBoundsException at org.apache.cocoon.serialization.SVGSerializer.notify(SVGSerializer.java: 279) at org.apache.cocoon.xml.dom.SVGBuilder.endDocument(SVGBuilder.java:133) at org.apache.xalan.transformer.ResultTreeHandler.endDocument(ResultTreeHan dler.java:190) at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerIm pl.java:1182) at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:31 35) at java.lang.Thread.run(Thread.java:536) FATAL_E (2002-11-06) 13:51.26:311 [core.xslt-processor] (/cocoon/buisCard_copy.htm) service-j2ee/TraxErrorHandler: Error in TraxTransformer: javax.xml.transform.TransformerException: java.lang.ArrayIndexOutOfBoundsException javax.xml.transform.TransformerException: java.lang.ArrayIndexOutOfBoundsException at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerIm pl.java:1226) at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:31 35) at java.lang.Thread.run(Thread.java:536) Caused by: java.lang.ArrayIndexOutOfBoundsException at org.apache.cocoon.xml.dom.SVGBuilder.endDocument(SVGBuilder.java:137) at org.apache.xalan.transformer.ResultTreeHandler.endDocument(ResultTreeHan dler.java:190) at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerIm pl.java:1182) ... 2 more - java.lang.ArrayIndexOutOfBoundsException at org.apache.cocoon.xml.dom.SVGBuilder.endDocument(SVGBuilder.java:137) at org.apache.xalan.transformer.ResultTreeHandler.endDocument(ResultTreeHan dler.java:190) at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerIm pl.java:1182) at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:31 35) at java.lang.Thread.run(Thread.java:536) - java.lang.ArrayIndexOutOfBoundsException at org.apache.cocoon.serialization.SVGSerializer.notify(SVGSerializer.java: 279) at org.apache.cocoon.xml.dom.SVGBuilder.endDocument(SVGBuilder.java:133) at org.apache.xalan.transformer.ResultTreeHandler.endDocument(ResultTreeHan dler.java:190) at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerIm pl.java:1182) at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:31 35) at java.lang.Thread.run(Thread.java:536) - java.lang.ArrayIndexOutOfBoundsException at java.lang.System.arraycopy(Native Method) at org.apache.cocoon.util.BufferedOutputStream.write(BufferedOutputStream.j ava:136) at org.apache.cocoon.caching.CachingOutputStream.write(CachingOutputStream. java:105) at java.io.ByteArrayOutputStream.writeTo(ByteArrayOutputStream.java:112) at org.apache.cocoon.serialization.SVGSerializer.notify(SVGSerializer.java: 275) at org.apache.cocoon.xml.dom.SVGBuilder.endDocument(SVGBuilder.java:133) at org.apache.xalan.transformer.ResultTreeHandler.endDocument(ResultTreeHan dler.java:190) at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerIm pl.java:1182) at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:31 35) at java.lang.Thread.run(Thread.java:536) What now? Kyle Koss -Original Message- From: Joerg Heinicke [mailto:joerg.heinicke;gmx.de] Sent: November 6, 2002 1:02 PM To: [EMAIL PROTECTED] Subject: Re: what does this mean? Hello Kyle, this has nothing to do with SVG anymore. XSLTC raises a TransformerException. Either you have a bug in a XSLT in your pipeline or a bug in XSLTC. Try to use Xalan instead of XSLTC. Regards, Joerg Kyle Koss wrote: I am using cocoon-CVS from Nov 4, and applied patch
cocoon won't deploy
Greetings all: I have recently installed the sun one app server 7.0 and am in the process of deploying our applications. Most of them have gone smoothly except when it comes to cocoon. I created a war file from our current cocoon, and also tried to deploy the current CVS version, and got this error in both cases: SEVERE ( 252): WebModule[/cocoon]: Servlet /cocoon threw load() exception javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw exception at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav a:949) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.j ava:3346) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3592 ) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123) at org.apache.catalina.core.StandardHost.start(StandardHost.java:638) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:345) at org.apache.catalina.startup.Embedded.start(Embedded.java:957) at com.iplanet.ias.web.WebContainer.start(WebContainer.java:426) at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:514) at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:170) - Root Cause - java.security.AccessControlException: access denied (java.lang.RuntimePermission createSecurityManager) at java.security.AccessControlContext.checkPermission(AccessControlContext. java:270) at java.security.AccessController.checkPermission(AccessController.java:401 ) at java.lang.SecurityManager.checkPermission(SecurityManager.java:542) at java.lang.SecurityManager.init(SecurityManager.java:298) at org.apache.cocoon.util.log.CocoonLogFormatter$CallStack.init(CocoonLog Formatter.java:99) at org.apache.cocoon.util.log.CocoonLogFormatter.init(CocoonLogFormatter. java:127) at org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:80 3) at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:282) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav a:921) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.j ava:3346) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3592 ) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123) at org.apache.catalina.core.StandardHost.start(StandardHost.java:638) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:345) at org.apache.catalina.startup.Embedded.start(Embedded.java:957) at com.iplanet.ias.web.WebContainer.start(WebContainer.java:426) at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:514) at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:170) Cocoon was built with jdk1.4, the app server is running on WinXP. Also, if it helps, app server 7 is based on Tomcat. If anybody can help me with this, it would be much appreciated, as I have no idea in which direction to go. Thanx in advance, Kyle Koss
RE: cocoon won't deploy
Thanks for the help. I found that I had to this permission as well as some others to the server.policy file. This is what I added: permission java.lang.RuntimePermission createSecurityManager; permission java.lang.RuntimePermission createClassLoader; permission java.util.PropertyPermission *, read,write; It seems to be working now, thanks again. :) Kyle Koss -Original Message- From: Karl Øie [mailto:karl;gan.no] Sent: November 5, 2002 9:53 AM To: [EMAIL PROTECTED] Subject: Re: cocoon won't deploy - Root Cause - java.security.AccessControlException: access denied (java.lang.RuntimePermission createSecurityManager) at java.security.AccessControlContext.checkPermission(AccessControlContext. java:270) at java.security.AccessController.checkPermission(AccessController.java:401 ) at java.lang.SecurityManager.checkPermission(SecurityManager.java:542) at java.lang.SecurityManager.init(SecurityManager.java:298) at org.apache.cocoon.util.log.CocoonLogFormatter$CallStack.init(CocoonLog Formatter.java:99) at org.apache.cocoon.util.log.CocoonLogFormatter.init(CocoonLogFormatter. java:127) at org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:80 3) at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:282) i just looked at your stacktrace and it looks like your appserver's runtime permissions is preventing cocoon from initializing cocoons logger, check where cocoon wants to place it's logs, and then assign permissions to your appserver for cocoon. mvh karl øie On Tuesday, Nov 5, 2002, at 16:39 Europe/Oslo, Kyle Koss wrote: - Root Cause - java.security.AccessControlException: access denied (java.lang.RuntimePermission createSecurityManager) at java.security.AccessControlContext.checkPermission(AccessControlContext. java:270) at java.security.AccessController.checkPermission(AccessController.java:401 ) at java.lang.SecurityManager.checkPermission(SecurityManager.java:542) at java.lang.SecurityManager.init(SecurityManager.java:298) at org.apache.cocoon.util.log.CocoonLogFormatter$CallStack.init(CocoonLog Formatter.java:99) at org.apache.cocoon.util.log.CocoonLogFormatter.init(CocoonLogFormatter. java:127) at org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:80 3) at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:282) - 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]
deploy problems on sun one app server 7.0
Greetings all: I have recently installed the sun one app server 7.0 and am in the process of deploying our applications. Most of them have gone smoothly except when it comes to cocoon. I created a war file from our current cocoon, and also tried to deploy the current CVS version, and got this error in both cases: SEVERE ( 252): WebModule[/cocoon]: Servlet /cocoon threw load() exception javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw exception at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav a:949) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.j ava:3346) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3592 ) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123) at org.apache.catalina.core.StandardHost.start(StandardHost.java:638) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:345) at org.apache.catalina.startup.Embedded.start(Embedded.java:957) at com.iplanet.ias.web.WebContainer.start(WebContainer.java:426) at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:514) at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:170) - Root Cause - java.security.AccessControlException: access denied (java.lang.RuntimePermission createSecurityManager) at java.security.AccessControlContext.checkPermission(AccessControlContext. java:270) at java.security.AccessController.checkPermission(AccessController.java:401 ) at java.lang.SecurityManager.checkPermission(SecurityManager.java:542) at java.lang.SecurityManager.init(SecurityManager.java:298) at org.apache.cocoon.util.log.CocoonLogFormatter$CallStack.init(CocoonLog Formatter.java:99) at org.apache.cocoon.util.log.CocoonLogFormatter.init(CocoonLogFormatter. java:127) at org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:80 3) at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:282) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav a:921) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.j ava:3346) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3592 ) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123) at org.apache.catalina.core.StandardHost.start(StandardHost.java:638) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:345) at org.apache.catalina.startup.Embedded.start(Embedded.java:957) at com.iplanet.ias.web.WebContainer.start(WebContainer.java:426) at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:514) at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:170) Cocoon was built with jdk1.4, the app server is running on WinXP. Also, if it helps, app server 7 is based on Tomcat. If anybody can help me with this, it would be much appreciated, as I have no idea in which direction to go. Thanx in advance, Kyle Koss - 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]
Repost: error when using svg2png serializer[Please help!!!!]
Yes, I have noticed this also, but the problem is the XML, the SVG is being made from is dynamic, so the png is being remade quite often. -Original Message- From: Simeon Walker [mailto:[EMAIL PROTECTED]] Sent: October 1, 2002 3:33 AM To: [EMAIL PROTECTED] Subject: Re: error when using svg2png serializer I've seen this too. It seems to happen the first time each of my svg's are accessed. Once they are cached (in Cocoon) further accesses don't cause the error. I'm using Tomcat 4.0.4, Cocoon 2.0.4-dev, JDK 1.3 Simeon kyle koss wrote: I keep getting this error from cocoon, whenever I use the svg2png serializer. I checked the archives for this, and found a few people with similar errors, but it seems none of them had a reply. The error only appears in the logs, and does not seem to cause any problems, but it is a little worrisome, as I would like it to not generate any errors at all. Here is the error: ERROR (2002-09-25) 16:46.34:030 [access] (Unknown-URI) Unknown-thread/CocoonServlet: Cocoon servlet threw an Exception while trying to close stream. java.io.IOException: Cannot flush a closed output stream at org.apache.catalina.connector.ResponseStream.flush(ResponseStream.java:2 41) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1126) 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:190) 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 7) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java :180) 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:468 ) 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:174) 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:1027) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java: 1125) at java.lang.Thread.run(Thread.java:536) My environment: Apache Tomcat 4.0.4 Cocoon 2.0.3 Jdk1.4.0_02 Mandrake Linux 8.2 Please help, thanx, Kyle -- Simeon Walker, email: [EMAIL PROTECTED] School of Biological Sciences, phone: +44 (0)1248 383702 University of Wales, Bangor,fax: +44 (0)1248 382569 Gwynedd, LL57 2UW, UK. www: http://biology.bangor.ac.uk/ - 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
error when using svg2png serializer
I keep getting this error from cocoon, whenever I use the svg2png serializer. I checked the archives for this, and found a few people with similar errors, but it seems none of them had a reply. The error only appears in the logs, and does not seem to cause any problems, but it is a little worrisome, as I would like it to not generate any errors at all. Here is the error: ERROR (2002-09-25) 16:46.34:030 [access] (Unknown-URI) Unknown-thread/CocoonServlet: Cocoon servlet threw an Exception while trying to close stream. java.io.IOException: Cannot flush a closed output stream at org.apache.catalina.connector.ResponseStream.flush(ResponseStream.java:241) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1126) 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:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) 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.java:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) 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:2347) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) 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:174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) 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:1027) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125) at java.lang.Thread.run(Thread.java:536) My environment: Apache Tomcat 4.0.4 Cocoon 2.0.3 Jdk1.4.0_02 Mandrake Linux 8.2 Please help, thanx, Kyle
strange error message
I keep getting this error from cocoon, whenever I use the svg2png serializer. I checked the archives for this, and found a few people with similar errors, but it seems none of them had a reply. The error only appears in the logs, and does not seem to cause any problems, but it is a little worrisome, as I would like it to not generate any errors at all. Here is the error: ERROR (2002-09-25) 16:46.34:030 [access] (Unknown-URI) Unknown-thread/CocoonServlet: Cocoon servlet threw an Exception while trying to close stream. java.io.IOException: Cannot flush a closed output stream at org.apache.catalina.connector.ResponseStream.flush(ResponseStream.java:2 41) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1126) 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:190) 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 7) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java :180) 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:468 ) 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:174) 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:1027) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java: 1125) at java.lang.Thread.run(Thread.java:536) My environment: Apache Tomcat 4.0.4 Cocoon 2.0.3 Jdk1.4.0_02 Mandrake Linux 8.2 Please help, thanx, Kyle - 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]
turning off storeJanitor
I want to know if it's possible to disable the storeJanitor, as I would like the JVM to manage the garbage collection itself. We are using jdk1.4, and I have read that it is actually more efficient to do it this way, and that calls to the gc in a program can actually slow it down. Please advise, Thanx Kyle - 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]
fonts change when using svg2jpeg
Hi all, I have created a simple pipeline to create an svg document which is then serialized using the SVGSerializer. map:match pattern=*.svg map:generate src=buisCard.xml/ map:transform src=card2svg.xsl/ map:serialize type=svg2jpeg/ /map:match The text in the document is Eras, but when it goes through the serializer it is converted to a default font. When I output the document directly to svg, the fonts come out fine, something is happening in the serializer to change the fonts. Is there a parameter or something that has to be set on the serializer like the config file for fonts in fo2pdf, I haven't been able to find any hints in the archives or anywhere, please help. My setup: Tomcat 4.0.4, Cocoon 2.0.3, Jdk 1.4 W2K Thanx, Kyle - 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]
Can cocoon write pdf to a file?
Is it possible for Cocoon to do an XML+XSL - PDF transformation, but instead of serving the PDF into the browser, writing it to a file? What I would like to do is, take information entered into a form on a jsp page, turn it into an XML file, and then apply my XSL to it to produce a PDF which is then stored to disk on the server. Can this be done using Cocoon, or would it be easier to just use FOP embedded in a servlet? If it can be done, what do I have to do? Regards, Kyle Koss
create pdf file
Is it possible for Cocoon to do an XML+XSL - PDF transformation, but instead of serving the PDF into the browser, writing it to a file? What I would like to do is, take information entered into a form on a jsp page, turn it into an XML file, and then apply my XSL to it to produce a PDF which is then stored to disk on the server. Can this be done using Cocoon, or would it be easier to just use FOP embedded in a servlet? If it can be done, what do I have to do? Regards, Kyle Koss - 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: font embedding driving me mad!!!
I thank you all for pointing me to this bug, and the patches for it. I have been trying to apply them, but am still having problems. Here is what I have done: I looked at the source files, and found that the patches for the first attachment have already been applied, but the patches for the second attachment haven't. I made the changes to the source in that were in the second attachment, built cocoon webapp, put the cocoon.war in my Tomcat 4.0.4 servlet engine, and started it. Now when I go to http://localhost:8080/cocoon, I get a java.lang.NullPointerException from cocoon. Maybe I made a mistake in changing the source or something. Or maybe I just misunderstood one of the changes to be made. A little nudge in the right direction would be much appreciated, as I am not sure what I am doing wrong. Many thanks, Kyle Koss -Original Message- From: Litrik De Roy [mailto:[EMAIL PROTECTED]] Sent: August 8, 2002 11:30 PM To: [EMAIL PROTECTED] Subject: Re: font embedding driving me mad!!! I have seen the same problem, and I am also 100% sure that my configuration is correct. There is an open bug report for this at http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6533 It is a little bit strange because there seems to be a patch for it, but it hasn't been integrated in the source code yet. Can one of the developers please take a look at it and if the patch does work commit it to the CVS. I'm geting tired of the Times New Roman in the PDFs ;o) Litrik De Roy www.litrik.com - Original Message - From: kyle koss [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 08, 2002 10:33 PM Subject: font embedding driving me mad!!! I have been trying unsuccessfully for the last couple of days to get font embedding to work under cocoon. I have followed the instructions in the cocoon users guide, but I still have a problem. I have created the metrics files, and the config file, which according to the log files, cocoon is finding. It seems that it is using the fonts, but not embedding them in the pdf, even though I have included the embed-file attribute in config. I tried making the pdf with FOP standalone, which was successful - the fonts were included. But doing the exact same thing in cocoon (using the same fop.jar -- 0.20.3) did not work. When I make the pdf in cocoon, it produces the pdf, but Acrobat gives me a warning saying the font could not be created or found, and the text shows up as a series of dots!! Any help you could provide would be greatly appreciated, as this is starting to drive me crazy. Kyle Koss - 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]
font embedding driving me mad!!!
I have been trying unsuccessfully for the last couple of days to get font embedding to work under cocoon. I have followed the instructions in the cocoon users guide, but I still have a problem. I have created the metrics files, and the config file, which according to the log files, cocoon is finding. It seems that it is using the fonts, but not embedding them in the pdf, even though I have included the embed-file attribute in config. I tried making the pdf with FOP standalone, which was successful - the fonts were included. But doing the exact same thing in cocoon (using the same fop.jar -- 0.20.3) did not work. When I make the pdf in cocoon, it produces the pdf, but Acrobat gives me a warning saying the font could not be created or found, and the text shows up as a series of dots!! Any help you could provide would be greatly appreciated, as this is starting to drive me crazy. Kyle Koss - 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: font embedding driving me mad!!!
Thank you for the patch, it appears to be what I need, but I am not sure how to apply it. Is there somewhere you can point me to help me out with this. Thanx again :) -Original Message- From: Joerg Heinicke [mailto:[EMAIL PROTECTED]] Sent: August 8, 2002 3:43 PM To: [EMAIL PROTECTED] Subject: Re: font embedding driving me mad!!! http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6533 Regards, Joerg kyle koss wrote: I have been trying unsuccessfully for the last couple of days to get font embedding to work under cocoon. I have followed the instructions in the cocoon users guide, but I still have a problem. I have created the metrics files, and the config file, which according to the log files, cocoon is finding. It seems that it is using the fonts, but not embedding them in the pdf, even though I have included the embed-file attribute in config. I tried making the pdf with FOP standalone, which was successful - the fonts were included. But doing the exact same thing in cocoon (using the same fop.jar -- 0.20.3) did not work. When I make the pdf in cocoon, it produces the pdf, but Acrobat gives me a warning saying the font could not be created or found, and the text shows up as a series of dots!! Any help you could provide would be greatly appreciated, as this is starting to drive me crazy. Kyle Koss - 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]
write generated pdf to file
Hello: I am using cocoon to dynamically generate pdfs using XML and an XSL-FO. What I would like to know is, is there any way to tell cocoon to also save the generated pdf to a file as well? Or, if it does already, where does it save them? In my sitemap, I have: map:match pattern=invoices/*.pdf map:generate src=invoices/{1}.xml/ map:transform src=invoices/invoice.xsl/ map:serialize type=fo2pdf/ /map:match Is there something I can add to this to make it save the pdf? Thanx, Kyle
embedded fonts are invisible
Hello all: Okay, heres my problem. After a lot of experimenting, reading the mail archives, and trying different things, I was finally able to embed fonts into my pdf. But, after the initial joy of my success wore off, I discovered a new problem. The text that uses the embedded font is invisible when you cut and paste it into another document. Also, although it displayed in the pdf on my computer, it would only display sometimes on a different computer, even though the other computer used the same version of Adobe Acrobat as mine (although it runs on Windows XP while mine runs on Windows 2000). We are running Cocoon 2 on Apache Tomcat 4.0.1. Cocoon is using fop 0.20.3, and the font I embedded is a true type font Swiss 721 Light BT. I found some information about a patch by Rafal which addresses this but it appears my version of fop already has this applied. Could somebody please help me with this. Thanks a lot, Kyle.