|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Print with mapFishHello
We have installed Apache2, apache-tomcat-6.0.20, mapfish The 'Print' button of the page http://myServer.com:8080/print-servlet-1.2-SNAPSHOT/ does not work. Can you help me please? This is my error message : Error while generating PDF: java.lang.NoClassDefFoundError: org.ho.yaml.CustomYamlConfig at java.lang.Class.initializeClass(libgcj.so.90) at org.mapfish.print.config.Config.fromYaml(Config.java:102) at org.mapfish.print.MapPrinter.<init>(MapPrinter.java:59) at org.mapfish.print.servlet.BaseMapServlet.getMapPrinter(BaseMapServlet.java:71) at org.mapfish.print.servlet.MapPrinterServlet.doCreatePDFFile(MapPrinterServlet.java:253) at org.mapfish.print.servlet.MapPrinterServlet.createAndGetPDF(MapPrinterServlet.java:126) at org.mapfish.print.servlet.MapPrinterServlet.doGet(MapPrinterServlet.java:64) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) at java.lang.Thread.run(libgcj.so.90) Thanks No virus found in this outgoing message. Checked by AVG - www.avg.com Version: 8.5.423 / Virus Database: 270.14.44/2475 - Release Date: 11/01/09 19:39:00 _______________________________________________ Users mailing list Users@... http://www.mapfish.org/cgi-bin/mailman/listinfo/users |
|
|
Re: Print with mapFishOn Mon, Nov 2, 2009 at 12:05 PM, michel riem
<michel.riem@...> wrote: > Hello Hi > > We have installed Apache2, apache-tomcat-6.0.20, mapfish > > The 'Print' button of the page > http://myServer.com:8080/print-servlet-1.2-SNAPSHOT/ does not work. > Can you help me please? > > This is my error message : > > Error while generating PDF: > java.lang.NoClassDefFoundError: org.ho.yaml.CustomYamlConfig > at java.lang.Class.initializeClass(libgcj.so.90) Run the Tomcat using the Sun Java Runtime Environment instead of GCJ. On Debian-based systems, after installing Sun JRE, use "sudo update-alternatives --config java" to configure the system so it always uses the Sun JRE. Cheers, -- Eric Lemoine Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel : 00 33 4 79 44 44 96 Mail : eric.lemoine@... http://www.camptocamp.com _______________________________________________ Users mailing list Users@... http://www.mapfish.org/cgi-bin/mailman/listinfo/users |
|
|
Re: Print with mapFishThanks for your help and excuse me for my english
I have execute sudo update-alternatives --config java but the problem persists : I have 3 instance in my system : /usr/lib/jvm/java-gcj/jre/bin/java /usr/lib/jvm/java-1.5.0-sun/jre/bin/java /usr/lib/jvm/java-6-sun/jre/bin/java I tested the 3 options but none have solved the problem I have a button that displays "Unable to print" and Firebug return a 500 error Unexpected Error When I copy the URL http://myServer.com/cgi-bin/proxy.cgi?url=http%3A%2F%2FmyServer.com%3A8080%2Fprint-servlet-1.2-SNAPSHOT%2Fpdf%2Fcreate.json%3Furl%3Dhttp%253A%252F%252FmyServer.com%253A8080%252Fprint-servlet-1.2-SNAPSHOT%252Fpdf%252Fcreate.json in error in a new tab, I get the following message Some unexpected error occurred. Error text was: HTTP Error 404: Introuvable I do not know where is the problem Thank you for your answer Eric Lemoine a écrit : > On Mon, Nov 2, 2009 at 12:05 PM, michel riem > <michel.riem@...> wrote: > >> Hello >> > > Hi > > >> We have installed Apache2, apache-tomcat-6.0.20, mapfish >> >> The 'Print' button of the page >> http://myServer.com:8080/print-servlet-1.2-SNAPSHOT/ does not work. >> Can you help me please? >> >> This is my error message : >> >> Error while generating PDF: >> java.lang.NoClassDefFoundError: org.ho.yaml.CustomYamlConfig >> at java.lang.Class.initializeClass(libgcj.so.90) >> > > > Run the Tomcat using the Sun Java Runtime Environment instead of GCJ. > On Debian-based systems, after installing Sun JRE, use "sudo > update-alternatives --config java" to configure the system so it > always uses the Sun JRE. > > Cheers, > > > ------------------------------------------------------------------------ > > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 8.5.423 / Virus Database: 270.14.44/2475 - Release Date: 11/01/09 19:39:00 > > No virus found in this outgoing message. Checked by AVG - www.avg.com Version: 8.5.423 / Virus Database: 270.14.45/2476 - Release Date: 11/02/09 07:51:00 _______________________________________________ Users mailing list Users@... http://www.mapfish.org/cgi-bin/mailman/listinfo/users |
| Free embeddable forum powered by Nabble | Forum Help |