You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Al <mr...@lighttechnology.net> on 2008/09/08 20:45:53 UTC

cocoon 2.1.11, fc9, build.sh error

Hi,
I'm using a new Federa Core 9 install and when I run ./build.sh I get 11 
warning and 2 errors.
The 2 errors differ only in line number.

The error is:
/var/local/import/cocoon/cocoon-2.1.11/src/java/org/apache/cocoon/reading/ImageReader.java:336: 
cannot find symbol
symbol  : method 
setJPEGEncodeParam(com.sun.image.codec.jpeg.JPEGEncodeParam)
location: class com.sun.image.codec.jpeg.JPEGImageEncoder
                    encoder.setJPEGEncodeParam(p);

I'm guessing this has something to do with the java toolset.
I'm using the default openJDK 1.6.0

Is this a deficiency in openJDK with Fedora Core 9?
Is there a good work around?

Al

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: cocoon 2.1.11, fc9, build.sh error

Posted by Joerg Heinicke <jo...@gmx.de>.
On 09.09.2008 01:21, Al wrote:

>>> I'm having trouble getting the sun java
>>> installed properly. alternatives never see the install and jpackage 
>>> seems to also have problem with version 1.6
>>>
>>> I uncommented :
>>>
>>> include.block.imageop=false
>>>
>>> in local.blocks.properties. Is that the best way to do option 2.
>>> It seems to compile now. Did I loose anything besides the ability to 
>>> server images files from cocoon?
>>> I server static files from apache.
>>
>> Yes, that's the best option since you don't need the imageop block. 
>> You can even still serve images from Cocoon. The ImageReader is only 
>> for applying transformations to images on the fly, a rarely used 
>> feature I'd say.
>>
> so that should have worked. I will have to look at it again. Maybe I 
> dont have "local" file name correct.

local.blocks.properties is correct as it is written in the 
blocks.properties. You have to have it in Cocoon's root dir where 
block.properties is as well. You also might need a "build clean" after 
removing a block. Imageop block has no dependencies so there should not 
be any new compile errors resulting from the deactivation.

Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: cocoon 2.1.11, fc9, build.sh error

Posted by Al <mr...@lighttechnology.net>.
Joerg Heinicke wrote:
> On 09.09.2008 00:36, Al wrote:
>
>> I'm having trouble getting the sun java
>> installed properly. alternatives never see the install and jpackage 
>> seems to also have problem with version 1.6
>>
>> I uncommented :
>>
>> include.block.imageop=false
>>
>> in local.blocks.properties. Is that the best way to do option 2.
>> It seems to compile now. Did I loose anything besides the ability to 
>> server images files from cocoon?
>> I server static files from apache.
>
> Yes, that's the best option since you don't need the imageop block. 
> You can even still serve images from Cocoon. The ImageReader is only 
> for applying transformations to images on the fly, a rarely used 
> feature I'd say.
>
> Joerg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
> -- 
>
> This message has been verified by LastSpam eMail security service
>
> Ce courriel a été vérifié par le service de sécurité pour courriels 
> LastSpam
> http://www.lastspam.com
>
>
so that should have worked. I will have to look at it again. Maybe I 
dont have "local" file name correct.

Al

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: cocoon 2.1.11, fc9, build.sh error

Posted by Joerg Heinicke <jo...@gmx.de>.
On 09.09.2008 00:36, Al wrote:

> I'm having trouble getting the sun java
> installed properly. alternatives never see the install and jpackage 
> seems to also have problem with version 1.6
> 
> I uncommented :
> 
> include.block.imageop=false
> 
> in local.blocks.properties. Is that the best way to do option 2.
> It seems to compile now. Did I loose anything besides the ability to 
> server images files from cocoon?
> I server static files from apache.

Yes, that's the best option since you don't need the imageop block. You 
can even still serve images from Cocoon. The ImageReader is only for 
applying transformations to images on the fly, a rarely used feature I'd 
say.

Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: cocoon 2.1.11, fc9, build.sh error

Posted by Al <mr...@lighttechnology.net>.
Al wrote:
> Antonio Gallardo wrote:
>> Hi,
>>
>> Al escribió:
>>  
>>> Hi,
>>> I'm using a new Federa Core 9 install and when I run ./build.sh I get
>>> 11 warning and 2 errors.
>>> The 2 errors differ only in line number.
>>>
>>> The error is:
>>> /var/local/import/cocoon/cocoon-2.1.11/src/java/org/apache/cocoon/reading/ImageReader.java:336: 
>>>
>>> cannot find symbol
>>> symbol  : method
>>> setJPEGEncodeParam(com.sun.image.codec.jpeg.JPEGEncodeParam)
>>> location: class com.sun.image.codec.jpeg.JPEGImageEncoder
>>>                    encoder.setJPEGEncodeParam(p);
>>>
>>> I'm guessing this has something to do with the java toolset.
>>> I'm using the default openJDK 1.6.0
>>>
>>> Is this a deficiency in openJDK with Fedora Core 9?
>>>     
>> Nope, the issue is due a class on a sun package: com.sun.image.codec I
>> think there is already an issue report for this.
>>
>>  
>>> Is there a good work around?
>>>     
>> Simple one: Use Java from Sun.
>>
>> Another option: Or If you don't need the image reader, don't include it
>> on the building.
>>
>> Best Regards,
>>
>> Antonio Gallardo.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>> For additional commands, e-mail: users-help@cocoon.apache.org
>>
>>
>> -- 
>>
>> This message has been verified by LastSpam eMail security service
>>
>> Ce courriel a été vérifié par le service de sécurité pour courriels 
>> LastSpam
>> http://www.lastspam.com
>>
>>
>>   
> Thanks you.
> I'm having trouble getting the sun java
> installed properly. alternatives never see the install and jpackage 
> seems to also have problem with version 1.6
>
> I uncommented :
>
> include.block.imageop=false
>
> in local.blocks.properties. Is that the best way to do option 2.
> It seems to compile now. Did I loose anything besides the ability to 
> server images files from cocoon?
> I server static files from apache.
> Al
>
oops I spoke too soon. I compiled the wrong thing. removing that block 
didnt solve my problem.
Al

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: cocoon 2.1.11, fc9, build.sh error

Posted by Al <mr...@lighttechnology.net>.
Antonio Gallardo wrote:
> Hi,
>
> Al escribió:
>   
>> Hi,
>> I'm using a new Federa Core 9 install and when I run ./build.sh I get
>> 11 warning and 2 errors.
>> The 2 errors differ only in line number.
>>
>> The error is:
>> /var/local/import/cocoon/cocoon-2.1.11/src/java/org/apache/cocoon/reading/ImageReader.java:336:
>> cannot find symbol
>> symbol  : method
>> setJPEGEncodeParam(com.sun.image.codec.jpeg.JPEGEncodeParam)
>> location: class com.sun.image.codec.jpeg.JPEGImageEncoder
>>                    encoder.setJPEGEncodeParam(p);
>>
>> I'm guessing this has something to do with the java toolset.
>> I'm using the default openJDK 1.6.0
>>
>> Is this a deficiency in openJDK with Fedora Core 9?
>>     
> Nope, the issue is due a class on a sun package: com.sun.image.codec I
> think there is already an issue report for this.
>
>   
>> Is there a good work around?
>>     
> Simple one: Use Java from Sun.
>
> Another option: Or If you don't need the image reader, don't include it
> on the building.
>
> Best Regards,
>
> Antonio Gallardo.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
> --
>
> This message has been verified by LastSpam eMail security service
>
> Ce courriel a été vérifié par le service de sécurité pour courriels LastSpam
> http://www.lastspam.com
>
>
>   
Thanks you.
I'm having trouble getting the sun java
installed properly. alternatives never see the install and jpackage 
seems to also have problem with version 1.6

I uncommented :

include.block.imageop=false

in local.blocks.properties. Is that the best way to do option 2.
It seems to compile now. Did I loose anything besides the ability to 
server images files from cocoon?
I server static files from apache.
Al

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: cocoon 2.1.11, fc9, build.sh error

Posted by Antonio Gallardo <ag...@agssa.net>.
Hi,

Al escribió:
> Hi,
> I'm using a new Federa Core 9 install and when I run ./build.sh I get
> 11 warning and 2 errors.
> The 2 errors differ only in line number.
>
> The error is:
> /var/local/import/cocoon/cocoon-2.1.11/src/java/org/apache/cocoon/reading/ImageReader.java:336:
> cannot find symbol
> symbol  : method
> setJPEGEncodeParam(com.sun.image.codec.jpeg.JPEGEncodeParam)
> location: class com.sun.image.codec.jpeg.JPEGImageEncoder
>                    encoder.setJPEGEncodeParam(p);
>
> I'm guessing this has something to do with the java toolset.
> I'm using the default openJDK 1.6.0
>
> Is this a deficiency in openJDK with Fedora Core 9?
Nope, the issue is due a class on a sun package: com.sun.image.codec I
think there is already an issue report for this.

> Is there a good work around?
Simple one: Use Java from Sun.

Another option: Or If you don't need the image reader, don't include it
on the building.

Best Regards,

Antonio Gallardo.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org