cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bhavya Sharma" <bhavyasha...@gmail.com>
Subject Re: ImageReader not working on fedora 6
Date Thu, 07 Jun 2007 10:01:29 GMT
Hi This issue has been resolved , it was missing libawt and libXp file si
i downloaded  following rpm from net  and after installing it, it started
showing the image

libXp-1.0.0-8.i386.rpm

Thanks a lot for your cooperation and suggestions



On 6/7/07, Bhavya Sharma <bhavyasharma@gmail.com> wrote:
>
> ya JAVA_HOME already pointing my sun JDK  , but could not help it
>
> On 6/6/07, Johannes Textor <jc.textor@gmx.de> wrote:
> >
> > This question is actually covered in the Fedora FAQ:
> >
> > http://www.fedorafaq.org/
> >
> > For running cocoon, additonally set JAVA_HOME to the root of the sun JDK
> > installation instead of gcj.
> >
> > (jeroen, my mail provider is trying a new fancy "web 2.0" interface
> > which first decided to send this mail to you instead to the list ... sorry
> > for that.)
> >
> > > ----- Urspr√ľngliche Nachricht -----
> > > Von: Jeroen Reijn
> > > Gesendet: 10:40 Uhr
> > > An: users@cocoon.apache.org
> > > Betreff: Re: ImageReader not working on fedora 6
> > >
> > > 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 <mailto:j.reijn@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
> > > >     <mailto:j.reijn@hippo.nl > <mailto: j.reijn@hippo.nl
> > > >     <mailto: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/
> > > >
> > > <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
> > > >     <mailto:users-unsubscribe@cocoon.apache.org>
> > > >      >     <mailto:users-unsubscribe@cocoon.apache.org
> > > >     <mailto:users-unsubscribe@cocoon.apache.org >>
> > > >      >     For additional commands, e-mail:
> > > users-help@cocoon.apache.org
> > > >     <mailto: users-help@cocoon.apache.org>
> > > >      >     <mailto:users-help@cocoon.apache.org
> > > >     <mailto: users-help@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
> > > >     <mailto:users-unsubscribe@cocoon.apache.org >
> > > >     For additional commands, e-mail: users-help@cocoon.apache.org
> > > >     <mailto:users-help@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
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > For additional commands, e-mail: users-help@cocoon.apache.org
> >
> >
>
>
> --
> Thanks
>
> Bhavya Sharma




-- 
Thanks

Bhavya Sharma

Mime
View raw message