Imageserver not working when cached

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Imageserver not working when cached

Hank Ratzesberger
Friends,

I've had a persistent problem since version 3.0 with
the imageserver code. This is code that worked under
2.8, but is broken under all the 3.0 beta's have
run under.  I keep thinking that maybe it was the
way I installed, etc.


When I specify a cache, the processed images don't
show up.  I get logged errors that I don't understand:

2006-01-13 12:56:08,465 ERROR org.orbeon.oxf.pipeline.InitUtils null - Exception at oxf:/page-flow.xml, line 138, column 49,
description reading page model data output
org.orbeon.oxf.resources.ResourceNotFoundException: Cannot read from file /imageserver/2004usgs/model.xpl
org.orbeon.oxf.resources.ResourceNotFoundException: Cannot read from file /imageserver/2004usgs/model.xpl
        at org.orbeon.oxf.resources.FilesystemResourceManagerImpl.getContentAsStream(FilesystemResourceManagerImpl.java:67)
.........


I create thumbnails (scale transform). This page
should be working:

 http://www.nees.ucsb.edu/projects/related/heo/photos

And another that is broken:

http://www.nees.ucsb.edu/projects/2004agu/photos

The pipelines are almost identical, and they both work
when <cache> element is removed from imageserver config.

Not sure what to do next.  Thanks for any tips,

Hank Ratzesberger
UCSB



<p:config xmlns:p="http://www.orbeon.com/oxf/pipeline">

 <!-- Get image parameters -->
 <p:processor uri="oxf/processor/request" xmlns:p="http://www.orbeon.com/oxf/pipeline">
  <p:input name="config">
   <config>
    <include>/request/parameters</include>
    <include>/request/query-string</include>
   </config>
  </p:input>
  <p:output name="data" id="parameters"/>
 </p:processor>

 <p:processor uri="oxf/processor/xslt">
  <p:input name="data" href="#parameters"/>
  <p:input name="config">
   <xsl:stylesheet version="1.0"
       xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
    <xsl:template match="/">
     <config>
      <image-directory>oxf:/imageserver</image-directory>
      <default-quality>0.7</default-quality>
      <use-sandbox>false</use-sandbox>
      <cache>
       <directory>/usr/local/nees/opt/tomcat/webapps/ROOT/WEB-INF/resources/image-cache</directory>
      </cache>
     </config>
    </xsl:template>
   </xsl:stylesheet>
  </p:input>
  <p:output name="data" id="config"/>
 </p:processor>

 <p:processor uri="oxf/processor/xslt">
  <p:input name="data" href="#parameters"/>
  <p:input name="config">
   <xsl:stylesheet version="1.0"
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
    <xsl:template match="/">
     <xsl:variable name="set" select="request/parameters/parameter[name='set']/value"/>
     <xsl:variable name="path" select="request/parameters/parameter[name='image']/value"/>
      <image>
       <path><xsl:value-of select="concat($set,'/',$path)"/></path>
       <use-cache>true</use-cache>
       <transform type="scale">
        <width><xsl:value-of select="request/parameters/parameter[name='width']/value"/></width>
        <height><xsl:value-of select="request/parameters/parameter[name='height']/value"/></height>
       </transform>
      </image>
    </xsl:template>
   </xsl:stylesheet>
  </p:input>
  <p:output name="data" id="image"/>
 </p:processor>

 <p:processor uri="oxf/processor/image-server">
  <p:input name="config" href="#config"/>
  <p:input name="image" href="#image"/>
 </p:processor>

</p:config>




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Imageserver not working when cached

Erik Bruchez
Administrator
Hank,

Who tries to read "/imageserver/2004usgs/model.xpl"? And is it actually
present under your resources root directory?

-Erik

Hank Ratzesberger wrote:

> Friends,
>
> I've had a persistent problem since version 3.0 with
> the imageserver code. This is code that worked under
> 2.8, but is broken under all the 3.0 beta's have
> run under.  I keep thinking that maybe it was the
> way I installed, etc.
>
>
> When I specify a cache, the processed images don't
> show up.  I get logged errors that I don't understand:
>
> 2006-01-13 12:56:08,465 ERROR org.orbeon.oxf.pipeline.InitUtils null -
> Exception at oxf:/page-flow.xml, line 138, column 49, description
> reading page model data output
> org.orbeon.oxf.resources.ResourceNotFoundException: Cannot read from
> file /imageserver/2004usgs/model.xpl
> org.orbeon.oxf.resources.ResourceNotFoundException: Cannot read from
> file /imageserver/2004usgs/model.xpl
>        at
> org.orbeon.oxf.resources.FilesystemResourceManagerImpl.getContentAsStream(FilesystemResourceManagerImpl.java:67)
>
> .........
>
>
> I create thumbnails (scale transform). This page
> should be working:
>
> http://www.nees.ucsb.edu/projects/related/heo/photos
>
> And another that is broken:
>
> http://www.nees.ucsb.edu/projects/2004agu/photos
>
> The pipelines are almost identical, and they both work
> when <cache> element is removed from imageserver config.
>
> Not sure what to do next.  Thanks for any tips,
>
> Hank Ratzesberger
> UCSB
>
>
>
> <p:config xmlns:p="http://www.orbeon.com/oxf/pipeline">
>
> <!-- Get image parameters -->
> <p:processor uri="oxf/processor/request"
> xmlns:p="http://www.orbeon.com/oxf/pipeline">
>  <p:input name="config">
>   <config>
>    <include>/request/parameters</include>
>    <include>/request/query-string</include>
>   </config>
>  </p:input>
>  <p:output name="data" id="parameters"/>
> </p:processor>
>
> <p:processor uri="oxf/processor/xslt">
>  <p:input name="data" href="#parameters"/>
>  <p:input name="config">
>   <xsl:stylesheet version="1.0"
>       xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
>    <xsl:template match="/">
>     <config>
>      <image-directory>oxf:/imageserver</image-directory>
>      <default-quality>0.7</default-quality>
>      <use-sandbox>false</use-sandbox>
>      <cache>
>      
> <directory>/usr/local/nees/opt/tomcat/webapps/ROOT/WEB-INF/resources/image-cache</directory>
>
>      </cache>
>     </config>
>    </xsl:template>
>   </xsl:stylesheet>
>  </p:input>
>  <p:output name="data" id="config"/>
> </p:processor>
>
> <p:processor uri="oxf/processor/xslt">
>  <p:input name="data" href="#parameters"/>
>  <p:input name="config">
>   <xsl:stylesheet version="1.0"
>      xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
>    <xsl:template match="/">
>     <xsl:variable name="set"
> select="request/parameters/parameter[name='set']/value"/>
>     <xsl:variable name="path"
> select="request/parameters/parameter[name='image']/value"/>
>      <image>
>       <path><xsl:value-of select="concat($set,'/',$path)"/></path>
>       <use-cache>true</use-cache>
>       <transform type="scale">
>        <width><xsl:value-of
> select="request/parameters/parameter[name='width']/value"/></width>
>        <height><xsl:value-of
> select="request/parameters/parameter[name='height']/value"/></height>
>       </transform>
>      </image>
>    </xsl:template>
>   </xsl:stylesheet>
>  </p:input>
>  <p:output name="data" id="image"/>
> </p:processor>
>
> <p:processor uri="oxf/processor/image-server">
>  <p:input name="config" href="#config"/>
>  <p:input name="image" href="#image"/>
> </p:processor>
>
> </p:config>
>
>
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Imageserver not working when cached

Hank Ratzesberger
Hi Erik,

As fate would have it, of all the examples I had,
I sent you one with a second error. That being remedied, I
continue to have the same problem, under 3.0 final.

When I specify any <cache> I get this error:

org.orbeon.oxf.processor.ImageServer computeCacheFileName ImageServer.java 478

I have tried /tmp and others.

There must be some subtle typo.... I'll keep looking.

Congrats also!,
Hank

[Exception page, rendered hardly readable as text only]

Orbeon PresentationServer (OPS) - Error Page
Error Message
The following error has occurred:
Error Message
[No error message provided.]
OPS Call Stack
The OPS Call Stack helps you determine what sequence of OPS operations have caused the error.
Resource URLLineColumnDescriptionXML Element
oxf:/imageserver/2004agu/model.xpl6042executing processor (name='{http://www.orbeon.com/oxf/processors}image-server')  <p:processor
name="oxf:image-server">...</p:processor>
oxf:/page-flow.xml 1394 8reading page model data output (page id='imageserver-2004agu', model='oxf:/imageserver/2004agu/model.xpl')
<page id="imageserver-2004agu" path-info="/imageserver/2004agu" model="oxf:/imageserver/2004agu/model.xpl"/>

Java Exceptions (5 total)
Java Exceptions are the native mechanism by which OPS reports errors. More than one exception may be provided below but usually the
first exception along with the OPS Stack Trace above provide enough information to track down an issue.
 java.lang.NullPointerException
Exception Class java.lang.NullPointerException
Message
Servlet Stack Trace
(74 method calls) Class NameMethod NameFile NameLine Number
org.orbeon.oxf.processor.ImageServer computeCacheFileName ImageServer.java 478
org.orbeon.oxf.processor.ImageServer processImage ImageServer.java207
org.orbeon.oxf.processor.ImageServer start ImageServer.java328
org.orbeon.oxf.processor.pipeline.PipelineProcessor$11 runPipelineProcessor.java652
org.orbeon.oxf.processor.ProcessorImplexecuteChildrenProcessorImpl.java515
org.orbeon.oxf.processor.pipeline.PipelineProcessorstartPipelineProcessor.java649
org.orbeon.oxf.processor.pipeline.PipelineProcessor$11runPipelineProcessor.java652
org.orbeon.oxf.processor.ProcessorImplexecuteChildrenProcessorImpl.java515
org.orbeon.oxf.processor.pipeline.PipelineProcessorstartPipelineProcessor.java649
org.orbeon.oxf.processor.pipeline.PipelineProcessor$1getInputPipelineProcessor.java140
 More...




----- Original Message -----
From: "Erik Bruchez" <[hidden email]>
To: <[hidden email]>
Sent: Monday, January 16, 2006 8:16 AM
Subject: Re: [ops-users] Imageserver not working when cached


> Hank,
>
> Who tries to read "/imageserver/2004usgs/model.xpl"? And is it actually
> present under your resources root directory?
>
> -Erik
>
> Hank Ratzesberger wrote:
>> Friends,
>>
>> I've had a persistent problem since version 3.0 with
>> the imageserver code. This is code that worked under
>> 2.8, but is broken under all the 3.0 beta's have
>> run under.  I keep thinking that maybe it was the
>> way I installed, etc.
>>
>>
>> When I specify a cache, the processed images don't
>> show up.  I get logged errors that I don't understand:
>>
>> 2006-01-13 12:56:08,465 ERROR org.orbeon.oxf.pipeline.InitUtils null -
>> Exception at oxf:/page-flow.xml, line 138, column 49, description
>> reading page model data output
>> org.orbeon.oxf.resources.ResourceNotFoundException: Cannot read from
>> file /imageserver/2004usgs/model.xpl
>> org.orbeon.oxf.resources.ResourceNotFoundException: Cannot read from
>> file /imageserver/2004usgs/model.xpl
>>        at
>> org.orbeon.oxf.resources.FilesystemResourceManagerImpl.getContentAsStream(FilesystemResourceManagerImpl.java:67)
>>
>> .........
>>
>>
>> I create thumbnails (scale transform). This page
>> should be working:
>>
>> http://www.nees.ucsb.edu/projects/related/heo/photos
>>
>> And another that is broken:
>>
>> http://www.nees.ucsb.edu/projects/2004agu/photos
>>
>> The pipelines are almost identical, and they both work
>> when <cache> element is removed from imageserver config.
>>
>> Not sure what to do next.  Thanks for any tips,
>>
>> Hank Ratzesberger
>> UCSB
>>
>>
>>
>> <p:config xmlns:p="http://www.orbeon.com/oxf/pipeline">
>>
>> <!-- Get image parameters -->
>> <p:processor uri="oxf/processor/request"
>> xmlns:p="http://www.orbeon.com/oxf/pipeline">
>>  <p:input name="config">
>>   <config>
>>    <include>/request/parameters</include>
>>    <include>/request/query-string</include>
>>   </config>
>>  </p:input>
>>  <p:output name="data" id="parameters"/>
>> </p:processor>
>>
>> <p:processor uri="oxf/processor/xslt">
>>  <p:input name="data" href="#parameters"/>
>>  <p:input name="config">
>>   <xsl:stylesheet version="1.0"
>>       xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
>>    <xsl:template match="/">
>>     <config>
>>      <image-directory>oxf:/imageserver</image-directory>
>>      <default-quality>0.7</default-quality>
>>      <use-sandbox>false</use-sandbox>
>>      <cache>
>>
>> <directory>/usr/local/nees/opt/tomcat/webapps/ROOT/WEB-INF/resources/image-cache</directory>
>>
>>      </cache>
>>     </config>
>>    </xsl:template>
>>   </xsl:stylesheet>
>>  </p:input>
>>  <p:output name="data" id="config"/>
>> </p:processor>
>>
>> <p:processor uri="oxf/processor/xslt">
>>  <p:input name="data" href="#parameters"/>
>>  <p:input name="config">
>>   <xsl:stylesheet version="1.0"
>>      xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
>>    <xsl:template match="/">
>>     <xsl:variable name="set"
>> select="request/parameters/parameter[name='set']/value"/>
>>     <xsl:variable name="path"
>> select="request/parameters/parameter[name='image']/value"/>
>>      <image>
>>       <path><xsl:value-of select="concat($set,'/',$path)"/></path>
>>       <use-cache>true</use-cache>
>>       <transform type="scale">
>>        <width><xsl:value-of
>> select="request/parameters/parameter[name='width']/value"/></width>
>>        <height><xsl:value-of
>> select="request/parameters/parameter[name='height']/value"/></height>
>>       </transform>
>>      </image>
>>    </xsl:template>
>>   </xsl:stylesheet>
>>  </p:input>
>>  <p:output name="data" id="image"/>
>> </p:processor>
>>
>> <p:processor uri="oxf/processor/image-server">
>>  <p:input name="config" href="#config"/>
>>  <p:input name="image" href="#image"/>
>> </p:processor>
>>
>> </p:config>
>>
>>
>> ------------------------------------------------------------------------
>>
>>
>> --
>> You receive this message as a subscriber of the [hidden email] mailing list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
>


>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Imageserver not working when cached

Erik Bruchez
Administrator
Hank,

I think you hit the same bug as Colin:

https://forge.objectweb.org/tracker/index.php?func=detail&aid=304492&group_id=168&atid=350207

-Erik

Hank Ratzesberger wrote:

> Hi Erik,
>
> As fate would have it, of all the examples I had,
> I sent you one with a second error. That being remedied, I
> continue to have the same problem, under 3.0 final.
>
> When I specify any <cache> I get this error:
>
> org.orbeon.oxf.processor.ImageServer computeCacheFileName
> ImageServer.java 478
>
> I have tried /tmp and others.
>
> There must be some subtle typo.... I'll keep looking.
>
> Congrats also!,
> Hank
>
> [Exception page, rendered hardly readable as text only]
>
> Orbeon PresentationServer (OPS) - Error Page
> Error Message
> The following error has occurred:
> Error Message
> [No error message provided.]
> OPS Call Stack
> The OPS Call Stack helps you determine what sequence of OPS operations
> have caused the error.
> Resource URLLineColumnDescriptionXML Element
> oxf:/imageserver/2004agu/model.xpl6042executing processor
> (name='{http://www.orbeon.com/oxf/processors}image-server')  
> <p:processor name="oxf:image-server">...</p:processor>
> oxf:/page-flow.xml 1394 8reading page model data output (page
> id='imageserver-2004agu', model='oxf:/imageserver/2004agu/model.xpl')
> <page id="imageserver-2004agu" path-info="/imageserver/2004agu"
> model="oxf:/imageserver/2004agu/model.xpl"/>
>
> Java Exceptions (5 total)
> Java Exceptions are the native mechanism by which OPS reports errors.
> More than one exception may be provided below but usually the first
> exception along with the OPS Stack Trace above provide enough
> information to track down an issue.
> java.lang.NullPointerException
> Exception Class java.lang.NullPointerException
> Message
> Servlet Stack Trace
> (74 method calls) Class NameMethod NameFile NameLine Number
> org.orbeon.oxf.processor.ImageServer computeCacheFileName
> ImageServer.java 478
> org.orbeon.oxf.processor.ImageServer processImage ImageServer.java207
> org.orbeon.oxf.processor.ImageServer start ImageServer.java328
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$11
> runPipelineProcessor.java652
> org.orbeon.oxf.processor.ProcessorImplexecuteChildrenProcessorImpl.java515
> org.orbeon.oxf.processor.pipeline.PipelineProcessorstartPipelineProcessor.java649
>
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$11runPipelineProcessor.java652
>
> org.orbeon.oxf.processor.ProcessorImplexecuteChildrenProcessorImpl.java515
> org.orbeon.oxf.processor.pipeline.PipelineProcessorstartPipelineProcessor.java649
>
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$1getInputPipelineProcessor.java140
>
> More...
>
>
>
>
> ----- Original Message ----- From: "Erik Bruchez" <[hidden email]>
> To: <[hidden email]>
> Sent: Monday, January 16, 2006 8:16 AM
> Subject: Re: [ops-users] Imageserver not working when cached
>
>
>> Hank,
>>
>> Who tries to read "/imageserver/2004usgs/model.xpl"? And is it actually
>> present under your resources root directory?
>>
>> -Erik
>>
>> Hank Ratzesberger wrote:
>>> Friends,
>>>
>>> I've had a persistent problem since version 3.0 with
>>> the imageserver code. This is code that worked under
>>> 2.8, but is broken under all the 3.0 beta's have
>>> run under.  I keep thinking that maybe it was the
>>> way I installed, etc.
>>>
>>>
>>> When I specify a cache, the processed images don't
>>> show up.  I get logged errors that I don't understand:
>>>
>>> 2006-01-13 12:56:08,465 ERROR org.orbeon.oxf.pipeline.InitUtils null -
>>> Exception at oxf:/page-flow.xml, line 138, column 49, description
>>> reading page model data output
>>> org.orbeon.oxf.resources.ResourceNotFoundException: Cannot read from
>>> file /imageserver/2004usgs/model.xpl
>>> org.orbeon.oxf.resources.ResourceNotFoundException: Cannot read from
>>> file /imageserver/2004usgs/model.xpl
>>>        at
>>> org.orbeon.oxf.resources.FilesystemResourceManagerImpl.getContentAsStream(FilesystemResourceManagerImpl.java:67)
>>>
>>>
>>> .........
>>>
>>>
>>> I create thumbnails (scale transform). This page
>>> should be working:
>>>
>>> http://www.nees.ucsb.edu/projects/related/heo/photos
>>>
>>> And another that is broken:
>>>
>>> http://www.nees.ucsb.edu/projects/2004agu/photos
>>>
>>> The pipelines are almost identical, and they both work
>>> when <cache> element is removed from imageserver config.
>>>
>>> Not sure what to do next.  Thanks for any tips,
>>>
>>> Hank Ratzesberger
>>> UCSB
>>>
>>>
>>>
>>> <p:config xmlns:p="http://www.orbeon.com/oxf/pipeline">
>>>
>>> <!-- Get image parameters -->
>>> <p:processor uri="oxf/processor/request"
>>> xmlns:p="http://www.orbeon.com/oxf/pipeline">
>>>  <p:input name="config">
>>>   <config>
>>>    <include>/request/parameters</include>
>>>    <include>/request/query-string</include>
>>>   </config>
>>>  </p:input>
>>>  <p:output name="data" id="parameters"/>
>>> </p:processor>
>>>
>>> <p:processor uri="oxf/processor/xslt">
>>>  <p:input name="data" href="#parameters"/>
>>>  <p:input name="config">
>>>   <xsl:stylesheet version="1.0"
>>>       xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
>>>    <xsl:template match="/">
>>>     <config>
>>>      <image-directory>oxf:/imageserver</image-directory>
>>>      <default-quality>0.7</default-quality>
>>>      <use-sandbox>false</use-sandbox>
>>>      <cache>
>>>
>>> <directory>/usr/local/nees/opt/tomcat/webapps/ROOT/WEB-INF/resources/image-cache</directory>
>>>
>>>
>>>      </cache>
>>>     </config>
>>>    </xsl:template>
>>>   </xsl:stylesheet>
>>>  </p:input>
>>>  <p:output name="data" id="config"/>
>>> </p:processor>
>>>
>>> <p:processor uri="oxf/processor/xslt">
>>>  <p:input name="data" href="#parameters"/>
>>>  <p:input name="config">
>>>   <xsl:stylesheet version="1.0"
>>>      xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
>>>    <xsl:template match="/">
>>>     <xsl:variable name="set"
>>> select="request/parameters/parameter[name='set']/value"/>
>>>     <xsl:variable name="path"
>>> select="request/parameters/parameter[name='image']/value"/>
>>>      <image>
>>>       <path><xsl:value-of select="concat($set,'/',$path)"/></path>
>>>       <use-cache>true</use-cache>
>>>       <transform type="scale">
>>>        <width><xsl:value-of
>>> select="request/parameters/parameter[name='width']/value"/></width>
>>>        <height><xsl:value-of
>>> select="request/parameters/parameter[name='height']/value"/></height>
>>>       </transform>
>>>      </image>
>>>    </xsl:template>
>>>   </xsl:stylesheet>
>>>  </p:input>
>>>  <p:output name="data" id="image"/>
>>> </p:processor>
>>>
>>> <p:processor uri="oxf/processor/image-server">
>>>  <p:input name="config" href="#config"/>
>>>  <p:input name="image" href="#image"/>
>>> </p:processor>
>>>
>>> </p:config>
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>>
>>> --
>>> You receive this message as a subscriber of the
>>> [hidden email] mailing list.
>>> To unsubscribe: mailto:[hidden email]
>>> For general help: mailto:[hidden email]?subject=help
>>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>>
>>
>>
>
>
>
>>
>> --
>> You receive this message as a subscriber of the
>> [hidden email] mailing list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>>
>
>
>
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Imageserver not working when cached #304492

Hank Ratzesberger

It is a one-line fix.  Compare ImageServer.java line 162:

if (transforms != null && transforms instanceof Node)
  transforms = Collections.singletonList(transforms);
result.transforms = transforms;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Not setting the value of result.transforms.

[Object web still won't accept a comment,
"no group_id" but it's in the action= ...]

Cheers,
Hank


----- Original Message -----
From: "Erik Bruchez" <[hidden email]>
To: <[hidden email]>
Sent: Thursday, January 19, 2006 12:31 PM
Subject: Re: [ops-users] Imageserver not working when cached


> Hank,
>
> I think you hit the same bug as Colin:
>
> https://forge.objectweb.org/tracker/index.php?func=detail&aid=304492&group_id=168&atid=350207
>
> -Erik
>




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Imageserver not working when cached #304492

Alessandro  Vernet
Administrator
On 2/6/06, Hank Ratzesberger <[hidden email]> wrote:
> It is a one-line fix.  Compare ImageServer.java line 162:
>
> if (transforms != null && transforms instanceof Node)
>   transforms = Collections.singletonList(transforms);
> result.transforms = transforms;
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Hi Hank,

Could you attach your modified ImageServer.java to the bug. And if
that doesn't work, you attach the file to your reply here.

https://forge.objectweb.org/tracker/index.php?func=detail&aid=304492&group_id=168&atid=350207

> [Object web still won't accept a comment,
> "no group_id" but it's in the action= ...]

And this happens even when you are logged in?

Alex
--
Blog (XML, Web apps, Open Source):
http://www.orbeon.com/blog/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Imageserver not working when cached #304492

Hank Ratzesberger
Alex,

I've not been able to post any changes to this bug on the
Forge, so allow me to attach the update.

Cheers,
Hank

(If I have the problem updating the forge next time,
I'll provide specific details, but basically, I get a
"group_id not set" which is strange, because I see it
as a hidden element in the form....)

----- Original Message -----
From: "Alessandro Vernet" <[hidden email]>
To: <[hidden email]>
Sent: Thursday, February 09, 2006 4:47 PM
Subject: Re: [ops-users] Imageserver not working when cached #304492


On 2/6/06, Hank Ratzesberger <[hidden email]> wrote:
> It is a one-line fix.  Compare ImageServer.java line 162:
>
> if (transforms != null && transforms instanceof Node)
>   transforms = Collections.singletonList(transforms);
> result.transforms = transforms;
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Hi Hank,

Could you attach your modified ImageServer.java to the bug. And if
that doesn't work, you attach the file to your reply here.

https://forge.objectweb.org/tracker/index.php?func=detail&aid=304492&group_id=168&atid=350207

> [Object web still won't accept a comment,
> "no group_id" but it's in the action= ...]

And this happens even when you are logged in?

Alex
--
Blog (XML, Web apps, Open Source):
http://www.orbeon.com/blog/




--------------------------------------------------------------------------------


>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>

--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

ImageServer.java (38K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Imageserver not working when cached #304492

Alessandro  Vernet
Administrator
On 2/10/06, Hank Ratzesberger <[hidden email]> wrote:
> I've not been able to post any changes to this bug on the
> Forge, so allow me to attach the update.

Hi Hank,

Thank you for the fix. It is now checked in and the bug is fixed!

> (If I have the problem updating the forge next time,
> I'll provide specific details, but basically, I get a
> "group_id not set" which is strange, because I see it
> as a hidden element in the form....)

I wouldn't worry about the forge access. Submitting bugs and fixes
through the mailing list is better for us than modifying the tracker
as we are not always notified when the tracker is modified, and this
means that we might miss a bug report or a fix. Thanks again,

Alex
--
Blog (XML, Web apps, Open Source):
http://www.orbeon.com/blog/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet