You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Bhavya Sharma <bh...@gmail.com> on 2007/06/01 09:07:07 UTC
ImageReader not working on fedora 6
Hi evrybody
I just have one query, i am using cocoon 2.1.7 and lenya 1.2.4
I have created one program to resize the image though cocoon Image Reader,
it is working fine on every OS except fedora 6(Linux) ,on fedora 6 it is not
showing the image it just returns the image path as it is ,
can anybody tell me whether its is a bug or is there any config problem on
my system.
--
Thanks
Bhavya Sharma
Re: ImageReader not working on fedora 6
Posted by Thorsten Scherler <th...@juntadeandalucia.es>.
On Mon, 2007-06-04 at 10:55 +0530, Bhavya Sharma wrote:
> i am sorry but i dont know how to do that ? hiow can i make lenya to
> use sun JRE ?
Open a terminal.
type:
java -version
Post the output to this list.
Now if it is pointing to the gnu version, you need to download and
install a jdk (1.5.0_11-b03).
Then edit your ~/.bashrc (or profile file) and add something like this
set JAVA_HOME=/path/of/the/jdk
set PATH=$JAVA_HOME/bin:$PATH
HTH
salu2
>
> On 6/2/07, solprovider@apache.org <so...@apache.org> wrote:
> Hi Bhavya,
>
> Fedora 6 comes with GNU Java. Have you installed Sun's JDK and
> made
> certain Lenya is using the Sun JRE?
>
> solprovider
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>
>
>
> --
> Thanks
>
> Bhavya Sharma
--
Thorsten Scherler thorsten.at.apache.org
Open Source Java consulting, training and solutions
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: ImageReader not working on fedora 6
Posted by Bhavya Sharma <bh...@gmail.com>.
i am sorry but i dont know how to do that ? hiow can i make lenya to use sun
JRE ?
On 6/2/07, solprovider@apache.org <so...@apache.org> wrote:
>
> Hi Bhavya,
>
> Fedora 6 comes with GNU Java. Have you installed Sun's JDK and made
> certain Lenya is using the Sun JRE?
>
> solprovider
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>
--
Thanks
Bhavya Sharma
Re: ImageReader not working on fedora 6
Posted by so...@apache.org.
Hi Bhavya,
Fedora 6 comes with GNU Java. Have you installed Sun's JDK and made
certain Lenya is using the Sun JRE?
solprovider
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: ImageReader not working on fedora 6
Posted by Bhavya Sharma <bh...@gmail.com>.
now i getting thid error in tomcat log.
java.lang.Noclassdeffounderror sun.awt.image.codec.JpegImageDecoderIMPl
On 6/1/07, Bhavya Sharma <bh...@gmail.com> wrote:
>
> still it is not showing any error , actually it is not working on any pc
> wherever we have fedora 6 , is there any problem with fc6 that ImageReader
> does not support it ?
>
> On 6/1/07, Thorsten Scherler <th...@juntadeandalucia.es>
> wrote:
> >
> > On Fri, 2007-06-01 at 17:26 +0530, Bhavya Sharma wrote:
> > > how can i set the log level to debug ?
> >
> > http://svn.apache.org/viewvc/lenya/tags/RELEASE_1_2_4/src/webapp/WEB-INF/log4j.xconf?view=markup
> >
> >
> > I do not have 1.2.x ATM install on my desk but you need to find a file
> > like the above in your build dir and change it there.
> >
> > salu2
> >
> > >
> > > On 6/1/07, Thorsten Scherler
> > > < thorsten.scherler.ext@juntadeandalucia.es> wrote:
> > > On Fri, 2007-06-01 at 15:05 +0530, Bhavya Sharma wrote:
> > > > i checked the tomcat logs , where i am running this , it
> > > does not
> > > > show anything
> > >
> > > As well tomcat/webapps/lenya/WEB-INF/logs/log4j.log
> > >
> > > Try setting the log level to debug and then do a grep for the
> > > reader.
> > >
> > > salu2
> > >
> > > >
> > > > On 6/1/07, Thorsten Scherler
> > > > <thorsten.scherler.ext@juntadeandalucia.es > wrote:
> > > > On Fri, 2007-06-01 at 13:45 +0530, Bhavya Sharma
> > > wrote:
> > > > > Thanks for replying however
> > > > > still it is not working , any other idea
> > > >
> > > > What are the logs saying?
> > > >
> > > > Did you found
> > > >
> > > http://cocoon.apache.org/2.1/userdocs/core/image-reader.html
> > > >
> > > http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/reading/ImageReader.html
> >
> > > >
> > > > There may help.
> > > >
> > > > salu2
> > > >
> > > > >
> > > > > On 6/1/07, Thorsten Scherler
> > > > > <th...@juntadeandalucia.es> wrote:
> > > > > On Fri, 2007-06-01 at 12:37 +0530, Bhavya
> > > Sharma
> > > > wrote:
> > > > > > Hi evrybody
> > > > > >
> > > > > >
> > > > > > I just have one query, i am using cocoon
> >
> > > 2.1.7 and
> > > > lenya
> > > > > 1.2.4
> > > > > > I have created one program to resize the
> > > image
> > > > though cocoon
> > > > > Image
> > > > > > Reader, it is working fine on every OS
> > > except
> > > > fedora
> > > > > 6(Linux) ,on
> > > > > > fedora 6 it is not showing the image it
> > > just
> > > > returns the
> > > > > image path as
> > > > > > it is ,
> > > > > > can anybody tell me whether its is a bug
> > > or is
> > > > there any
> > > > > config
> > > > > > problem on my system.
> > > > > >
> > > > >
> > > > > Is it a headless server?
> > > > >
> > > > > Try with
> > > > > JAVA_OPTIONS='-Djava.awt.headless=true'
> > > > >
> > > > > salu2
> > > > > --
> > > > > Thorsten Scherler
> > > > > thorsten.at.apache.org
> > > > > Open Source
> > > Java consulting,
> > > > training and
> > > > > solutions
> > > > >
> > > > >
> > > > >
> > > >
> > >
> > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail:
> > > > user-unsubscribe@lenya.apache.org
> > > > > For additional commands, e-mail:
> > > > user-help@lenya.apache.org
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Thanks
> > > > >
> > > > > Bhavya Sharma
> > > > --
> > > > Thorsten Scherler
> > > > thorsten.at.apache.org
> > > > Open Source Java consulting,
> > > training and
> > > > solutions
> > > >
> > > >
> > > >
> > >
> > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail:
> > > user-unsubscribe@lenya.apache.org
> > > > For additional commands, e-mail:
> > > user-help@lenya.apache.org
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Thanks
> > > >
> > > > Bhavya Sharma
> > > --
> > > Thorsten Scherler
> > > thorsten.at.apache.org
> > > Open Source Java consulting, training and
> >
> > > solutions
> > >
> > >
> > >
> > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> > > For additional commands, e-mail: user-help@lenya.apache.org
> > >
> > >
> > >
> > >
> > > --
> > > Thanks
> > >
> > > Bhavya Sharma
> > --
> > Thorsten Scherler thorsten.at.apache.org
> > Open Source Java consulting, training and solutions
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> > For additional commands, e-mail: user-help@lenya.apache.org
> >
> >
>
>
> --
> Thanks
>
> Bhavya Sharma
--
Thanks
Bhavya Sharma
Re: ImageReader not working on fedora 6
Posted by Bhavya Sharma <bh...@gmail.com>.
still it is not showing any error , actually it is not working on any pc
wherever we have fedora 6 , is there any problem with fc6 that ImageReader
does not support it ?
On 6/1/07, Thorsten Scherler <th...@juntadeandalucia.es>
wrote:
>
> On Fri, 2007-06-01 at 17:26 +0530, Bhavya Sharma wrote:
> > how can i set the log level to debug ?
>
>
> http://svn.apache.org/viewvc/lenya/tags/RELEASE_1_2_4/src/webapp/WEB-INF/log4j.xconf?view=markup
>
> I do not have 1.2.x ATM install on my desk but you need to find a file
> like the above in your build dir and change it there.
>
> salu2
>
> >
> > On 6/1/07, Thorsten Scherler
> > <th...@juntadeandalucia.es> wrote:
> > On Fri, 2007-06-01 at 15:05 +0530, Bhavya Sharma wrote:
> > > i checked the tomcat logs , where i am running this , it
> > does not
> > > show anything
> >
> > As well tomcat/webapps/lenya/WEB-INF/logs/log4j.log
> >
> > Try setting the log level to debug and then do a grep for the
> > reader.
> >
> > salu2
> >
> > >
> > > On 6/1/07, Thorsten Scherler
> > > <th...@juntadeandalucia.es> wrote:
> > > On Fri, 2007-06-01 at 13:45 +0530, Bhavya Sharma
> > wrote:
> > > > Thanks for replying however
> > > > still it is not working , any other idea
> > >
> > > What are the logs saying?
> > >
> > > Did you found
> > >
> > http://cocoon.apache.org/2.1/userdocs/core/image-reader.html
> > >
> >
> http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/reading/ImageReader.html
> > >
> > > There may help.
> > >
> > > salu2
> > >
> > > >
> > > > On 6/1/07, Thorsten Scherler
> > > > <th...@juntadeandalucia.es> wrote:
> > > > On Fri, 2007-06-01 at 12:37 +0530, Bhavya
> > Sharma
> > > wrote:
> > > > > Hi evrybody
> > > > >
> > > > >
> > > > > I just have one query, i am using cocoon
> > 2.1.7 and
> > > lenya
> > > > 1.2.4
> > > > > I have created one program to resize the
> > image
> > > though cocoon
> > > > Image
> > > > > Reader, it is working fine on every OS
> > except
> > > fedora
> > > > 6(Linux) ,on
> > > > > fedora 6 it is not showing the image it
> > just
> > > returns the
> > > > image path as
> > > > > it is ,
> > > > > can anybody tell me whether its is a bug
> > or is
> > > there any
> > > > config
> > > > > problem on my system.
> > > > >
> > > >
> > > > Is it a headless server?
> > > >
> > > > Try with
> > > > JAVA_OPTIONS='-Djava.awt.headless=true'
> > > >
> > > > salu2
> > > > --
> > > > Thorsten Scherler
> > > > thorsten.at.apache.org
> > > > Open Source
> > Java consulting,
> > > training and
> > > > solutions
> > > >
> > > >
> > > >
> > >
> >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail:
> > > user-unsubscribe@lenya.apache.org
> > > > For additional commands, e-mail:
> > > user-help@lenya.apache.org
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Thanks
> > > >
> > > > Bhavya Sharma
> > > --
> > > Thorsten Scherler
> > > thorsten.at.apache.org
> > > Open Source Java consulting,
> > training and
> > > solutions
> > >
> > >
> > >
> >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > user-unsubscribe@lenya.apache.org
> > > For additional commands, e-mail:
> > user-help@lenya.apache.org
> > >
> > >
> > >
> > >
> > > --
> > > Thanks
> > >
> > > Bhavya Sharma
> > --
> > Thorsten Scherler
> > thorsten.at.apache.org
> > Open Source Java consulting, training and
> > solutions
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> > For additional commands, e-mail: user-help@lenya.apache.org
> >
> >
> >
> >
> > --
> > Thanks
> >
> > Bhavya Sharma
> --
> Thorsten Scherler thorsten.at.apache.org
> Open Source Java consulting, training and solutions
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>
--
Thanks
Bhavya Sharma
Re: ImageReader not working on fedora 6
Posted by Thorsten Scherler <th...@juntadeandalucia.es>.
On Fri, 2007-06-01 at 17:26 +0530, Bhavya Sharma wrote:
> how can i set the log level to debug ?
http://svn.apache.org/viewvc/lenya/tags/RELEASE_1_2_4/src/webapp/WEB-INF/log4j.xconf?view=markup
I do not have 1.2.x ATM install on my desk but you need to find a file
like the above in your build dir and change it there.
salu2
>
> On 6/1/07, Thorsten Scherler
> <th...@juntadeandalucia.es> wrote:
> On Fri, 2007-06-01 at 15:05 +0530, Bhavya Sharma wrote:
> > i checked the tomcat logs , where i am running this , it
> does not
> > show anything
>
> As well tomcat/webapps/lenya/WEB-INF/logs/log4j.log
>
> Try setting the log level to debug and then do a grep for the
> reader.
>
> salu2
>
> >
> > On 6/1/07, Thorsten Scherler
> > <th...@juntadeandalucia.es> wrote:
> > On Fri, 2007-06-01 at 13:45 +0530, Bhavya Sharma
> wrote:
> > > Thanks for replying however
> > > still it is not working , any other idea
> >
> > What are the logs saying?
> >
> > Did you found
> >
> http://cocoon.apache.org/2.1/userdocs/core/image-reader.html
> >
> http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/reading/ImageReader.html
> >
> > There may help.
> >
> > salu2
> >
> > >
> > > On 6/1/07, Thorsten Scherler
> > > <th...@juntadeandalucia.es> wrote:
> > > On Fri, 2007-06-01 at 12:37 +0530, Bhavya
> Sharma
> > wrote:
> > > > Hi evrybody
> > > >
> > > >
> > > > I just have one query, i am using cocoon
> 2.1.7 and
> > lenya
> > > 1.2.4
> > > > I have created one program to resize the
> image
> > though cocoon
> > > Image
> > > > Reader, it is working fine on every OS
> except
> > fedora
> > > 6(Linux) ,on
> > > > fedora 6 it is not showing the image it
> just
> > returns the
> > > image path as
> > > > it is ,
> > > > can anybody tell me whether its is a bug
> or is
> > there any
> > > config
> > > > problem on my system.
> > > >
> > >
> > > Is it a headless server?
> > >
> > > Try with
> > > JAVA_OPTIONS='-Djava.awt.headless=true'
> > >
> > > salu2
> > > --
> > > Thorsten Scherler
> > > thorsten.at.apache.org
> > > Open Source
> Java consulting,
> > training and
> > > solutions
> > >
> > >
> > >
> >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > user-unsubscribe@lenya.apache.org
> > > For additional commands, e-mail:
> > user-help@lenya.apache.org
> > >
> > >
> > >
> > >
> > > --
> > > Thanks
> > >
> > > Bhavya Sharma
> > --
> > Thorsten Scherler
> > thorsten.at.apache.org
> > Open Source Java consulting,
> training and
> > solutions
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> user-unsubscribe@lenya.apache.org
> > For additional commands, e-mail:
> user-help@lenya.apache.org
> >
> >
> >
> >
> > --
> > Thanks
> >
> > Bhavya Sharma
> --
> Thorsten Scherler
> thorsten.at.apache.org
> Open Source Java consulting, training and
> solutions
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>
>
>
> --
> Thanks
>
> Bhavya Sharma
--
Thorsten Scherler thorsten.at.apache.org
Open Source Java consulting, training and solutions
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: ImageReader not working on fedora 6
Posted by Bhavya Sharma <bh...@gmail.com>.
how can i set the log level to debug ?
On 6/1/07, Thorsten Scherler <th...@juntadeandalucia.es>
wrote:
>
> On Fri, 2007-06-01 at 15:05 +0530, Bhavya Sharma wrote:
> > i checked the tomcat logs , where i am running this , it does not
> > show anything
>
> As well tomcat/webapps/lenya/WEB-INF/logs/log4j.log
>
> Try setting the log level to debug and then do a grep for the reader.
>
> salu2
>
> >
> > On 6/1/07, Thorsten Scherler
> > <th...@juntadeandalucia.es> wrote:
> > On Fri, 2007-06-01 at 13:45 +0530, Bhavya Sharma wrote:
> > > Thanks for replying however
> > > still it is not working , any other idea
> >
> > What are the logs saying?
> >
> > Did you found
> > http://cocoon.apache.org/2.1/userdocs/core/image-reader.html
> >
> http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/reading/ImageReader.html
> >
> > There may help.
> >
> > salu2
> >
> > >
> > > On 6/1/07, Thorsten Scherler
> > > <th...@juntadeandalucia.es> wrote:
> > > On Fri, 2007-06-01 at 12:37 +0530, Bhavya Sharma
> > wrote:
> > > > Hi evrybody
> > > >
> > > >
> > > > I just have one query, i am using cocoon 2.1.7 and
> > lenya
> > > 1.2.4
> > > > I have created one program to resize the image
> > though cocoon
> > > Image
> > > > Reader, it is working fine on every OS except
> > fedora
> > > 6(Linux) ,on
> > > > fedora 6 it is not showing the image it just
> > returns the
> > > image path as
> > > > it is ,
> > > > can anybody tell me whether its is a bug or is
> > there any
> > > config
> > > > problem on my system.
> > > >
> > >
> > > Is it a headless server?
> > >
> > > Try with
> > > JAVA_OPTIONS='-Djava.awt.headless=true'
> > >
> > > salu2
> > > --
> > > Thorsten Scherler
> > > thorsten.at.apache.org
> > > Open Source Java consulting,
> > training and
> > > solutions
> > >
> > >
> > >
> >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > user-unsubscribe@lenya.apache.org
> > > For additional commands, e-mail:
> > user-help@lenya.apache.org
> > >
> > >
> > >
> > >
> > > --
> > > Thanks
> > >
> > > Bhavya Sharma
> > --
> > Thorsten Scherler
> > thorsten.at.apache.org
> > Open Source Java consulting, training and
> > solutions
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> > For additional commands, e-mail: user-help@lenya.apache.org
> >
> >
> >
> >
> > --
> > Thanks
> >
> > Bhavya Sharma
> --
> Thorsten Scherler thorsten.at.apache.org
> Open Source Java consulting, training and solutions
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>
--
Thanks
Bhavya Sharma
Re: ImageReader not working on fedora 6
Posted by Thorsten Scherler <th...@juntadeandalucia.es>.
On Fri, 2007-06-01 at 15:05 +0530, Bhavya Sharma wrote:
> i checked the tomcat logs , where i am running this , it does not
> show anything
As well tomcat/webapps/lenya/WEB-INF/logs/log4j.log
Try setting the log level to debug and then do a grep for the reader.
salu2
>
> On 6/1/07, Thorsten Scherler
> <th...@juntadeandalucia.es> wrote:
> On Fri, 2007-06-01 at 13:45 +0530, Bhavya Sharma wrote:
> > Thanks for replying however
> > still it is not working , any other idea
>
> What are the logs saying?
>
> Did you found
> http://cocoon.apache.org/2.1/userdocs/core/image-reader.html
> http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/reading/ImageReader.html
>
> There may help.
>
> salu2
>
> >
> > On 6/1/07, Thorsten Scherler
> > <th...@juntadeandalucia.es> wrote:
> > On Fri, 2007-06-01 at 12:37 +0530, Bhavya Sharma
> wrote:
> > > Hi evrybody
> > >
> > >
> > > I just have one query, i am using cocoon 2.1.7 and
> lenya
> > 1.2.4
> > > I have created one program to resize the image
> though cocoon
> > Image
> > > Reader, it is working fine on every OS except
> fedora
> > 6(Linux) ,on
> > > fedora 6 it is not showing the image it just
> returns the
> > image path as
> > > it is ,
> > > can anybody tell me whether its is a bug or is
> there any
> > config
> > > problem on my system.
> > >
> >
> > Is it a headless server?
> >
> > Try with
> > JAVA_OPTIONS='-Djava.awt.headless=true'
> >
> > salu2
> > --
> > Thorsten Scherler
> > thorsten.at.apache.org
> > Open Source Java consulting,
> training and
> > solutions
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> user-unsubscribe@lenya.apache.org
> > For additional commands, e-mail:
> user-help@lenya.apache.org
> >
> >
> >
> >
> > --
> > Thanks
> >
> > Bhavya Sharma
> --
> Thorsten Scherler
> thorsten.at.apache.org
> Open Source Java consulting, training and
> solutions
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>
>
>
> --
> Thanks
>
> Bhavya Sharma
--
Thorsten Scherler thorsten.at.apache.org
Open Source Java consulting, training and solutions
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: ImageReader not working on fedora 6
Posted by Bhavya Sharma <bh...@gmail.com>.
i checked the tomcat logs , where i am running this , it does not show
anything
On 6/1/07, Thorsten Scherler <th...@juntadeandalucia.es>
wrote:
>
> On Fri, 2007-06-01 at 13:45 +0530, Bhavya Sharma wrote:
> > Thanks for replying however
> > still it is not working , any other idea
>
> What are the logs saying?
>
> Did you found
> http://cocoon.apache.org/2.1/userdocs/core/image-reader.html
>
> http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/reading/ImageReader.html
>
> There may help.
>
> salu2
>
> >
> > On 6/1/07, Thorsten Scherler
> > <th...@juntadeandalucia.es> wrote:
> > On Fri, 2007-06-01 at 12:37 +0530, Bhavya Sharma wrote:
> > > Hi evrybody
> > >
> > >
> > > I just have one query, i am using cocoon 2.1.7 and lenya
> > 1.2.4
> > > I have created one program to resize the image though cocoon
> > Image
> > > Reader, it is working fine on every OS except fedora
> > 6(Linux) ,on
> > > fedora 6 it is not showing the image it just returns the
> > image path as
> > > it is ,
> > > can anybody tell me whether its is a bug or is there any
> > config
> > > problem on my system.
> > >
> >
> > Is it a headless server?
> >
> > Try with
> > JAVA_OPTIONS='-Djava.awt.headless=true'
> >
> > salu2
> > --
> > Thorsten Scherler
> > thorsten.at.apache.org
> > Open Source Java consulting, training and
> > solutions
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> > For additional commands, e-mail: user-help@lenya.apache.org
> >
> >
> >
> >
> > --
> > Thanks
> >
> > Bhavya Sharma
> --
> Thorsten Scherler thorsten.at.apache.org
> Open Source Java consulting, training and solutions
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>
--
Thanks
Bhavya Sharma
Re: ImageReader not working on fedora 6
Posted by Thorsten Scherler <th...@juntadeandalucia.es>.
On Fri, 2007-06-01 at 13:45 +0530, Bhavya Sharma wrote:
> Thanks for replying however
> still it is not working , any other idea
What are the logs saying?
Did you found
http://cocoon.apache.org/2.1/userdocs/core/image-reader.html
http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/reading/ImageReader.html
There may help.
salu2
>
> On 6/1/07, Thorsten Scherler
> <th...@juntadeandalucia.es> wrote:
> On Fri, 2007-06-01 at 12:37 +0530, Bhavya Sharma wrote:
> > Hi evrybody
> >
> >
> > I just have one query, i am using cocoon 2.1.7 and lenya
> 1.2.4
> > I have created one program to resize the image though cocoon
> Image
> > Reader, it is working fine on every OS except fedora
> 6(Linux) ,on
> > fedora 6 it is not showing the image it just returns the
> image path as
> > it is ,
> > can anybody tell me whether its is a bug or is there any
> config
> > problem on my system.
> >
>
> Is it a headless server?
>
> Try with
> JAVA_OPTIONS='-Djava.awt.headless=true'
>
> salu2
> --
> Thorsten Scherler
> thorsten.at.apache.org
> Open Source Java consulting, training and
> solutions
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>
>
>
> --
> Thanks
>
> Bhavya Sharma
--
Thorsten Scherler thorsten.at.apache.org
Open Source Java consulting, training and solutions
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: ImageReader not working on fedora 6
Posted by Bhavya Sharma <bh...@gmail.com>.
Thanks for replying however
still it is not working , any other idea
On 6/1/07, Thorsten Scherler <th...@juntadeandalucia.es>
wrote:
>
> On Fri, 2007-06-01 at 12:37 +0530, Bhavya Sharma wrote:
> > Hi evrybody
> >
> >
> > I just have one query, i am using cocoon 2.1.7 and lenya 1.2.4
> > I have created one program to resize the image though cocoon Image
> > Reader, it is working fine on every OS except fedora 6(Linux) ,on
> > fedora 6 it is not showing the image it just returns the image path as
> > it is ,
> > can anybody tell me whether its is a bug or is there any config
> > problem on my system.
> >
>
> Is it a headless server?
>
> Try with
> JAVA_OPTIONS='-Djava.awt.headless=true'
>
> salu2
> --
> Thorsten Scherler thorsten.at.apache.org
> Open Source Java consulting, training and solutions
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>
--
Thanks
Bhavya Sharma
Re: ImageReader not working on fedora 6
Posted by Thorsten Scherler <th...@juntadeandalucia.es>.
On Fri, 2007-06-01 at 12:37 +0530, Bhavya Sharma wrote:
> Hi evrybody
>
>
> I just have one query, i am using cocoon 2.1.7 and lenya 1.2.4
> I have created one program to resize the image though cocoon Image
> Reader, it is working fine on every OS except fedora 6(Linux) ,on
> fedora 6 it is not showing the image it just returns the image path as
> it is ,
> can anybody tell me whether its is a bug or is there any config
> problem on my system.
>
Is it a headless server?
Try with
JAVA_OPTIONS='-Djava.awt.headless=true'
salu2
--
Thorsten Scherler thorsten.at.apache.org
Open Source Java consulting, training and solutions
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: ImageReader not working on fedora 6
Posted by Jeroen Reijn <j....@hippo.nl>.
Bhavya,
I'm afraid I am not able to guide you, since I have little knowledge of
the Fedora distribution, but I guess there will be a lot of tutorials
available on the internet that you could use. Perhaps you can find some
information on the sun website.
Kind regards,
Jeroen Reijn
Bhavya Sharma wrote:
> so could u guide me where i can set the sun jvm on fedora ?
>
> On 6/6/07, *Jeroen Reijn* <j.reijn@hippo.nl <ma...@hippo.nl>>
> wrote:
>
> Hi Bhavya,
>
> it seems you are missing a class file from the SUN JDK. I guess your
> application is not running on the SUN JVM? What kind of JVM are you
> using? I guess Fedora ships with it's own java version.
>
> Kind regards,
>
> Jeroen Reijn
>
> Bhavya Sharma wrote:
> > actually i got following error in tomcat log whenevr i access image
> > through ImageReader
> >
> > java.lang.NoClassDefFoundError
> > at
> > sun.awt.image.codec.JPEGImageD
> > ecoderImpl.getDecodedColorModel (JPEGImageDecoderImpl.java:293)
> > at
> sun.awt.image.codec.JPEGImageDecoderImpl.readJPEGStream(Native
> > Method)
> > at
> >
> sun.awt.image.codec.JPEGImageDecoderImpl.decodeAsBufferedImage(JPEGImageDecoderImpl.java
> > :210)
> > at
> >
> org.apache.cocoon.reading.ImageReader.processStream(ImageReader.java:251)
> > at
> >
> org.apache.cocoon.reading.ResourceReader.generate(ResourceReader.java:332)
> > at
> >
> org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processReader
>
> > (AbstractCachingProcessingPipeline.java:791)
> > at
> >
> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:475)
> > at
> > org.apache.cocoon.components.treeprocessor.sitemap.ReadNode.invoke
> > (ReadNode.java:84)
> > at
> >
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
> > at
> >
> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke
>
> > (PreparableMatchNode.java:130)
> > at
> >
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
> > at
> >
> org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke
> > (PipelineNode.java:138)
> > at
> >
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
> > at
> >
> org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke
> > (PipelinesNode.java:92)
> > at
> >
> org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:234)
> > at
> >
> org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
>
> > (ConcreteTreeProcessor.java:176)
> > at
> >
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:243)
> > at
> > org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke
> > (MountNode.java:117)
> > at
> >
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
> > at
> >
> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke
>
> > (PreparableMatchNode.java:130)
> > at
> >
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
> > at
> >
> org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke
> > (PipelineNode.java:138)
> > at
> >
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
> > at
> >
> org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke
> > (PipelinesNode.java:92)
> > at
> >
> org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:234)
> > at
> > org.apache.cocoon.components.treeprocessor.ConcreteTreePro
> > cessor.process(ConcreteTreeProcessor.java:176)
> > at
> >
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:243)
> > at
> > org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke
> > (MountNode.java:117)
> > at
> >
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
> > at
> >
> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke
>
> > (PreparableMatchNode.java:130)
> > at
> >
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
> > at
> >
> org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke
> > (PipelineNode.java:138)
> > at
> >
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
> > at
> >
> org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke
> > (PipelinesNode.java:92)
> > at
> >
> org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:234)
> > at
> >
> org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
>
> > (ConcreteTreeProcessor.java:176)
> > at
> >
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:243)
> > at org.apache.cocoon.Cocoon.process(Cocoon.java:608)
> > at
> > org.apache.cocoon.servlet.CocoonServlet.service
> (CocoonServlet.java:1123)
> > at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> > at
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> (ApplicationFilterChain.java:252)
> > at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> > at
> > org.apache.catalina.core.StandardWrapperValve.invoke
> (StandardWrapperValve.java:213)
> > at
> > org.apache.catalina.core.StandardContextValve.invoke
> > (StandardContextValve.java:178)
> > at
> > org.apache.catalina.core.StandardHostValve.invoke
> (StandardHostValve.java:126)
> > at
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> >
> > at
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
> :107)
> > at
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> > at
> > org.apache.coyote.http11.Http11Processor.process
> (Http11Processor.java:869)
> > at
> >
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> > at
> > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket
> > (PoolTcpEndpoint.java :527)
> > at
> >
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> > at
> >
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java
>
> > :684)
> > at java.lang.Thread.run(Thread.java:534)
> >
> >
> >
> >
> >
> >
> > On 6/4/07, *Jeroen Reijn* < j.reijn@hippo.nl
> <ma...@hippo.nl> <mailto: j.reijn@hippo.nl
> <ma...@hippo.nl>>>
> > wrote:
> >
> > Hi Bhavya,
> >
> > did you check your log files? It might tell you the reason.
> The other
> > thing I can think of is that you do not have window manager
> on you
> > fedora box, so you will have to run your java application in
> > headless mode.
> >
> > "java -Djava.awt.headless=true"
> >
> > This happens sometimes when you switch from a development
> 'windows'
> > environment to a linux dedicated server environment.
> >
> >
> http://javatechniques.com/blog/linux-x11-libraries-for-headless-mode/
> <http://javatechniques.com/blog/linux-x11-libraries-for-headless-mode/>
> >
> <http://javatechniques.com/blog/linux-x11-libraries-for-headless-mode/>
> >
> > Kind regards,
> >
> > Jeroen Reijn
> >
> > ps. Please try to send you question to one mailinglist instead of
> > cross-posting it to 4.
> >
> >
> >
> >
> > Bhavya Sharma wrote:
> > > Hi evrybody
> > >
> > >
> > > I just have one query, i am using cocoon 2.1.7 and lenya 1.2.4
> > > I have created one program to resize the image though
> cocoon Image
> > > Reader, it is working fine on every OS except fedora
> 6(Linux) ,on
> > fedora
> > > 6 it is not showing the image it just returns the image
> path as
> > it is ,
> > > can anybody tell me whether its is a bug or is there any
> config
> > problem
> > > on my system.
> > >
> > >
> > >
> > >
> > > --
> > > Thanks
> > >
> > > Bhavya Sharma
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> <ma...@cocoon.apache.org>
> > <mailto:users-unsubscribe@cocoon.apache.org
> <ma...@cocoon.apache.org>>
> > For additional commands, e-mail: users-help@cocoon.apache.org
> <ma...@cocoon.apache.org>
> > <mailto:users-help@cocoon.apache.org
> <ma...@cocoon.apache.org>>
> >
> >
> >
> >
> > --
> > Thanks
> >
> > Bhavya Sharma
>
> --
> Met vriendelijke groet,
> Kind regards,
>
> Jeroen Reijn
>
> Hippo
>
> Oosteinde 11
> 1017WT Amsterdam
> The Netherlands
> Tel +31 (0)20 5224466
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> <ma...@cocoon.apache.org>
> For additional commands, e-mail: users-help@cocoon.apache.org
> <ma...@cocoon.apache.org>
>
>
>
>
> --
> Thanks
>
> Bhavya Sharma
--
Met vriendelijke groet,
Kind regards,
Jeroen Reijn
Hippo
Oosteinde 11
1017WT Amsterdam
The Netherlands
Tel +31 (0)20 5224466
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: ImageReader not working on fedora 6
Posted by Bhavya Sharma <bh...@gmail.com>.
so could u guide me where i can set the sun jvm on fedora ?
On 6/6/07, Jeroen Reijn <j....@hippo.nl> wrote:
>
> Hi Bhavya,
>
> it seems you are missing a class file from the SUN JDK. I guess your
> application is not running on the SUN JVM? What kind of JVM are you
> using? I guess Fedora ships with it's own java version.
>
> Kind regards,
>
> Jeroen Reijn
>
> Bhavya Sharma wrote:
> > actually i got following error in tomcat log whenevr i access image
> > through ImageReader
> >
> > java.lang.NoClassDefFoundError
> > at
> > sun.awt.image.codec.JPEGImageD
> > ecoderImpl.getDecodedColorModel (JPEGImageDecoderImpl.java:293)
> > at sun.awt.image.codec.JPEGImageDecoderImpl.readJPEGStream(Native
> > Method)
> > at
> > sun.awt.image.codec.JPEGImageDecoderImpl.decodeAsBufferedImage(
> JPEGImageDecoderImpl.java
> > :210)
> > at
> > org.apache.cocoon.reading.ImageReader.processStream(ImageReader.java
> :251)
> > at
> > org.apache.cocoon.reading.ResourceReader.generate(ResourceReader.java
> :332)
> > at
> >
> org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processReader
> > (AbstractCachingProcessingPipeline.java:791)
> > at
> > org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process
> (AbstractProcessingPipeline.java:475)
> > at
> > org.apache.cocoon.components.treeprocessor.sitemap.ReadNode.invoke
> > (ReadNode.java:84)
> > at
> >
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes
> (AbstractParentProcessingNode.java:46)
> > at
> >
> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke
> > (PreparableMatchNode.java:130)
> > at
> >
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes
> (AbstractParentProcessingNode.java:68)
> > at
> > org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke
> > (PipelineNode.java:138)
> > at
> >
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes
> (AbstractParentProcessingNode.java:68)
> > at
> > org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke
> > (PipelinesNode.java:92)
> > at
> > org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
> (ConcreteTreeProcessor.java:234)
> > at
> > org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
> > (ConcreteTreeProcessor.java:176)
> > at
> > org.apache.cocoon.components.treeprocessor.TreeProcessor.process(
> TreeProcessor.java:243)
> > at
> > org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke
> > (MountNode.java:117)
> > at
> >
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes
> (AbstractParentProcessingNode.java:46)
> > at
> >
> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke
> > (PreparableMatchNode.java:130)
> > at
> >
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes
> (AbstractParentProcessingNode.java:68)
> > at
> > org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke
> > (PipelineNode.java:138)
> > at
> >
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes
> (AbstractParentProcessingNode.java:68)
> > at
> > org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke
> > (PipelinesNode.java:92)
> > at
> > org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
> (ConcreteTreeProcessor.java:234)
> > at
> > org.apache.cocoon.components.treeprocessor.ConcreteTreePro
> > cessor.process(ConcreteTreeProcessor.java:176)
> > at
> > org.apache.cocoon.components.treeprocessor.TreeProcessor.process(
> TreeProcessor.java:243)
> > at
> > org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke
> > (MountNode.java:117)
> > at
> >
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes
> (AbstractParentProcessingNode.java:46)
> > at
> >
> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke
> > (PreparableMatchNode.java:130)
> > at
> >
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes
> (AbstractParentProcessingNode.java:68)
> > at
> > org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke
> > (PipelineNode.java:138)
> > at
> >
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes
> (AbstractParentProcessingNode.java:68)
> > at
> > org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke
> > (PipelinesNode.java:92)
> > at
> > org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
> (ConcreteTreeProcessor.java:234)
> > at
> > org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
> > (ConcreteTreeProcessor.java:176)
> > at
> > org.apache.cocoon.components.treeprocessor.TreeProcessor.process(
> TreeProcessor.java:243)
> > at org.apache.cocoon.Cocoon.process(Cocoon.java:608)
> > at
> > org.apache.cocoon.servlet.CocoonServlet.service (CocoonServlet.java
> :1123)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> > at
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:252)
> > at
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:173)
> > at
> > org.apache.catalina.core.StandardWrapperValve.invoke(
> StandardWrapperValve.java:213)
> > at
> > org.apache.catalina.core.StandardContextValve.invoke
> > (StandardContextValve.java:178)
> > at
> > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
> :126)
> > at
> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
> :105)
> >
> > at
> > org.apache.catalina.core.StandardEngineValve.invoke(
> StandardEngineValve.java:107)
> > at
> > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java
> :148)
> > at
> > org.apache.coyote.http11.Http11Processor.process (Http11Processor.java
> :869)
> > at
> >
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection
> (Http11BaseProtocol.java:664)
> > at
> > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket
> > (PoolTcpEndpoint.java:527)
> > at
> > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(
> LeaderFollowerWorkerThread.java:80)
> > at
> > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> ThreadPool.java
> > :684)
> > at java.lang.Thread.run(Thread.java:534)
> >
> >
> >
> >
> >
> >
> > On 6/4/07, *Jeroen Reijn* < j.reijn@hippo.nl <ma...@hippo.nl>>
> > wrote:
> >
> > Hi Bhavya,
> >
> > did you check your log files? It might tell you the reason. The
> other
> > thing I can think of is that you do not have window manager on you
> > fedora box, so you will have to run your java application in
> > headless mode.
> >
> > "java -Djava.awt.headless=true"
> >
> > This happens sometimes when you switch from a development 'windows'
> > environment to a linux dedicated server environment.
> >
> >
> http://javatechniques.com/blog/linux-x11-libraries-for-headless-mode/
> > <
> http://javatechniques.com/blog/linux-x11-libraries-for-headless-mode/>
> >
> > Kind regards,
> >
> > Jeroen Reijn
> >
> > ps. Please try to send you question to one mailinglist instead of
> > cross-posting it to 4.
> >
> >
> >
> >
> > Bhavya Sharma wrote:
> > > Hi evrybody
> > >
> > >
> > > I just have one query, i am using cocoon 2.1.7 and lenya 1.2.4
> > > I have created one program to resize the image though cocoon
> Image
> > > Reader, it is working fine on every OS except fedora 6(Linux) ,on
> > fedora
> > > 6 it is not showing the image it just returns the image path as
> > it is ,
> > > can anybody tell me whether its is a bug or is there any config
> > problem
> > > on my system.
> > >
> > >
> > >
> > >
> > > --
> > > Thanks
> > >
> > > Bhavya Sharma
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > <ma...@cocoon.apache.org>
> > For additional commands, e-mail: users-help@cocoon.apache.org
> > <ma...@cocoon.apache.org>
> >
> >
> >
> >
> > --
> > Thanks
> >
> > Bhavya Sharma
>
> --
> Met vriendelijke groet,
> Kind regards,
>
> Jeroen Reijn
>
> Hippo
>
> Oosteinde 11
> 1017WT Amsterdam
> The Netherlands
> Tel +31 (0)20 5224466
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
--
Thanks
Bhavya Sharma
Re: ImageReader not working on fedora 6
Posted by Jeroen Reijn <j....@hippo.nl>.
Hi Bhavya,
it seems you are missing a class file from the SUN JDK. I guess your
application is not running on the SUN JVM? What kind of JVM are you
using? I guess Fedora ships with it's own java version.
Kind regards,
Jeroen Reijn
Bhavya Sharma wrote:
> actually i got following error in tomcat log whenevr i access image
> through ImageReader
>
> java.lang.NoClassDefFoundError
> at
> sun.awt.image.codec.JPEGImageD
> ecoderImpl.getDecodedColorModel (JPEGImageDecoderImpl.java:293)
> at sun.awt.image.codec.JPEGImageDecoderImpl.readJPEGStream(Native
> Method)
> at
> sun.awt.image.codec.JPEGImageDecoderImpl.decodeAsBufferedImage(JPEGImageDecoderImpl.java
> :210)
> at
> org.apache.cocoon.reading.ImageReader.processStream(ImageReader.java:251)
> at
> org.apache.cocoon.reading.ResourceReader.generate(ResourceReader.java:332)
> at
> org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processReader
> (AbstractCachingProcessingPipeline.java:791)
> at
> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:475)
> at
> org.apache.cocoon.components.treeprocessor.sitemap.ReadNode.invoke
> (ReadNode.java:84)
> at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
> at
> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke
> (PreparableMatchNode.java:130)
> at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
> at
> org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke
> (PipelineNode.java:138)
> at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
> at
> org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke
> (PipelinesNode.java:92)
> at
> org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:234)
> at
> org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
> (ConcreteTreeProcessor.java:176)
> at
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:243)
> at
> org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke
> (MountNode.java:117)
> at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
> at
> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke
> (PreparableMatchNode.java:130)
> at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
> at
> org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke
> (PipelineNode.java:138)
> at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
> at
> org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke
> (PipelinesNode.java:92)
> at
> org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:234)
> at
> org.apache.cocoon.components.treeprocessor.ConcreteTreePro
> cessor.process(ConcreteTreeProcessor.java:176)
> at
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:243)
> at
> org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke
> (MountNode.java:117)
> at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
> at
> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke
> (PreparableMatchNode.java:130)
> at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
> at
> org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke
> (PipelineNode.java:138)
> at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
> at
> org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke
> (PipelinesNode.java:92)
> at
> org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:234)
> at
> org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
> (ConcreteTreeProcessor.java:176)
> at
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:243)
> at org.apache.cocoon.Cocoon.process(Cocoon.java:608)
> at
> org.apache.cocoon.servlet.CocoonServlet.service (CocoonServlet.java:1123)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> at
> org.apache.catalina.core.StandardContextValve.invoke
> (StandardContextValve.java:178)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> at
> org.apache.coyote.http11.Http11Processor.process (Http11Processor.java:869)
> at
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket
> (PoolTcpEndpoint.java:527)
> at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java
> :684)
> at java.lang.Thread.run(Thread.java:534)
>
>
>
>
>
>
> On 6/4/07, *Jeroen Reijn* < j.reijn@hippo.nl <ma...@hippo.nl>>
> wrote:
>
> Hi Bhavya,
>
> did you check your log files? It might tell you the reason. The other
> thing I can think of is that you do not have window manager on you
> fedora box, so you will have to run your java application in
> headless mode.
>
> "java -Djava.awt.headless=true"
>
> This happens sometimes when you switch from a development 'windows'
> environment to a linux dedicated server environment.
>
> http://javatechniques.com/blog/linux-x11-libraries-for-headless-mode/
> <http://javatechniques.com/blog/linux-x11-libraries-for-headless-mode/>
>
> Kind regards,
>
> Jeroen Reijn
>
> ps. Please try to send you question to one mailinglist instead of
> cross-posting it to 4.
>
>
>
>
> Bhavya Sharma wrote:
> > Hi evrybody
> >
> >
> > I just have one query, i am using cocoon 2.1.7 and lenya 1.2.4
> > I have created one program to resize the image though cocoon Image
> > Reader, it is working fine on every OS except fedora 6(Linux) ,on
> fedora
> > 6 it is not showing the image it just returns the image path as
> it is ,
> > can anybody tell me whether its is a bug or is there any config
> problem
> > on my system.
> >
> >
> >
> >
> > --
> > Thanks
> >
> > Bhavya Sharma
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> <ma...@cocoon.apache.org>
> For additional commands, e-mail: users-help@cocoon.apache.org
> <ma...@cocoon.apache.org>
>
>
>
>
> --
> Thanks
>
> Bhavya Sharma
--
Met vriendelijke groet,
Kind regards,
Jeroen Reijn
Hippo
Oosteinde 11
1017WT Amsterdam
The Netherlands
Tel +31 (0)20 5224466
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: ImageReader not working on fedora 6
Posted by Bhavya Sharma <bh...@gmail.com>.
actually i got following error in tomcat log whenevr i access image through
ImageReader
java.lang.NoClassDefFoundError
at
sun.awt.image.codec.JPEGImageDecoderImpl.getDecodedColorModel(
JPEGImageDecoderImpl.java:293)
at sun.awt.image.codec.JPEGImageDecoderImpl.readJPEGStream(Native
Method)
at
sun.awt.image.codec.JPEGImageDecoderImpl.decodeAsBufferedImage(
JPEGImageDecoderImpl.java:210)
at
org.apache.cocoon.reading.ImageReader.processStream(ImageReader.java:251)
at
org.apache.cocoon.reading.ResourceReader.generate(ResourceReader.java:332)
at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processReader
(AbstractCachingProcessingPipeline.java:791)
at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(
AbstractProcessingPipeline.java:475)
at
org.apache.cocoon.components.treeprocessor.sitemap.ReadNode.invoke(
ReadNode.java:84)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes
(AbstractParentProcessingNode.java:46)
at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke
(PreparableMatchNode.java:130)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes
(AbstractParentProcessingNode.java:68)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(
PipelineNode.java:138)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes
(AbstractParentProcessingNode.java:68)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(
PipelinesNode.java:92)
at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(
ConcreteTreeProcessor.java:234)
at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(
ConcreteTreeProcessor.java:176)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(
TreeProcessor.java:243)
at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(
MountNode.java:117)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes
(AbstractParentProcessingNode.java:46)
at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke
(PreparableMatchNode.java:130)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes
(AbstractParentProcessingNode.java:68)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(
PipelineNode.java:138)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes
(AbstractParentProcessingNode.java:68)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(
PipelinesNode.java:92)
at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(
ConcreteTreeProcessor.java:234)
at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(
ConcreteTreeProcessor.java:176)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(
TreeProcessor.java:243)
at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(
MountNode.java:117)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes
(AbstractParentProcessingNode.java:46)
at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke
(PreparableMatchNode.java:130)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes
(AbstractParentProcessingNode.java:68)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(
PipelineNode.java:138)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes
(AbstractParentProcessingNode.java:68)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(
PipelinesNode.java:92)
at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(
ConcreteTreeProcessor.java:234)
at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(
ConcreteTreeProcessor.java:176)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(
TreeProcessor.java:243)
at org.apache.cocoon.Cocoon.process(Cocoon.java:608)
at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1123)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(
StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection
(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(
PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(
LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:534)
On 6/4/07, Jeroen Reijn < j.reijn@hippo.nl> wrote:
>
> Hi Bhavya,
>
> did you check your log files? It might tell you the reason. The other
> thing I can think of is that you do not have window manager on you
> fedora box, so you will have to run your java application in headless
> mode.
>
> "java -Djava.awt.headless=true"
>
> This happens sometimes when you switch from a development 'windows'
> environment to a linux dedicated server environment.
>
> http://javatechniques.com/blog/linux-x11-libraries-for-headless-mode/
>
> Kind regards,
>
> Jeroen Reijn
>
> ps. Please try to send you question to one mailinglist instead of
> cross-posting it to 4.
>
>
>
>
> Bhavya Sharma wrote:
> > Hi evrybody
> >
> >
> > I just have one query, i am using cocoon 2.1.7 and lenya 1.2.4
> > I have created one program to resize the image though cocoon Image
> > Reader, it is working fine on every OS except fedora 6(Linux) ,on fedora
> > 6 it is not showing the image it just returns the image path as it is ,
> > can anybody tell me whether its is a bug or is there any config problem
> > on my system.
> >
> >
> >
> >
> > --
> > Thanks
> >
> > Bhavya Sharma
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
--
Thanks
Bhavya Sharma
Re: ImageReader not working on fedora 6
Posted by Jeroen Reijn <j....@hippo.nl>.
Hi Bhavya,
did you check your log files? It might tell you the reason. The other
thing I can think of is that you do not have window manager on you
fedora box, so you will have to run your java application in headless mode.
"java -Djava.awt.headless=true"
This happens sometimes when you switch from a development 'windows'
environment to a linux dedicated server environment.
http://javatechniques.com/blog/linux-x11-libraries-for-headless-mode/
Kind regards,
Jeroen Reijn
ps. Please try to send you question to one mailinglist instead of
cross-posting it to 4.
Bhavya Sharma wrote:
> Hi evrybody
>
>
> I just have one query, i am using cocoon 2.1.7 and lenya 1.2.4
> I have created one program to resize the image though cocoon Image
> Reader, it is working fine on every OS except fedora 6(Linux) ,on fedora
> 6 it is not showing the image it just returns the image path as it is ,
> can anybody tell me whether its is a bug or is there any config problem
> on my system.
>
>
>
>
> --
> Thanks
>
> Bhavya Sharma
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org