OK, got the build to work, I was using double quotes. I'll have to set it up and try with my transformer.
Jeff -----Original Message----- From: Schmitz, Jeffrey A Sent: Thursday, March 01, 2007 1:17 PM To: [email protected] Subject: RE: Custom Transformer Here's what I did to try and run my transformer: I built and installed my transformer jar into ...\tomcat\common\lib, updated my sitemaps and invoked the transformer using my web browser. When I invoke it, I get the undefined class error returned from Tomcat as follows (i.e. this shows up in my web browser): Exception report description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Servlet execution threw an exception root cause java.lang.NoClassDefFoundError: org/apache/cocoon/caching/CacheableProcessingComponent java.lang.ClassLoader.defineClass1(Native Method) ... I did try using quotation marks to set JAVA_HOME, but the build script still doesn't like it. I still get the following error back from the "build" command: Files\Java\jdk1.5.0_07"" was unexpected Thanks, Jeff -----Original Message----- From: Grzegorz Kossakowski [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 1:07 PM To: [email protected] Subject: Re: Custom Transformer Schmitz, Jeffrey A napisaĆ(a): > I think it's pretty close (see below), but I'm getting the following > exception when running from Tomcat: > > java.lang.NoClassDefFoundError: > org/apache/cocoon/caching/CacheableProcessingComponent > > I was going to build and install the latest from Cocoon but I can't because > the build script doesn't work since my JAVA_HOME variable includes a space > (C:\Program files...). > > So... How can I get the latest Cocoon stuff built and/or where can I get the > missing class/jar from? > From description above I do not understand completely what you have done leading to this error. What can I advice to you is enclosing JAVA_HOME path in quotation marks, so it should be like this: JAVA_HOME="C:\Program files\..." doing this always solve my problems related to spaces in paths -- Grzegorz Kossakowski --------------------------------------------------------------------- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
