submit not working with 3.0.0.200602010415 when run under Unix

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

submit not working with 3.0.0.200602010415 when run under Unix

Doug Young

Hi,

I have an application that works OK on both eclipse and our aoache and tomcat SunOS setup when using OPS labeled 3.0.beta4.200512072017.

However the application does not work with the build named 3.0.0.200602010415.

Ryan has also seen the same problem with his application.

 

I have a page that does has a xforms:submit, the submit looks like

            <xforms:submission ref="instance('UIData')" id="getPEAs-submission"

                method="post" action="/common/getSummaryAndGraphInfo"

                replace="instance" instance="retrievedSummaryInfo">

            </xforms:submission>      

When I run this from inside eclipse and click on the submit it works fine and in the logging events window I get lots of messages including  

/common/getSummaryAndGraphInfo - Received request

 

When I move it to our production setup which involves apache and tomcat running on SunOs boxes the application does not work.

When I click on the submit the application does nothing. Looking at the logs I see that the line

/common/getSummaryAndGraphInfo

is not there

So it looks like the submission is not firing properly.

 

 

So I turned up the logging on both the eclipse version and the SunOs version by changing

      <root>

        <priority value="info"/>

to

    <root>

        <priority value="debug"/>

in log4j.xml

 

then I compared the logging output from the two different machines

 

in the log from the eclipse version about 1000 lines are missing they start

TP-Processor3 INFO  webapp.ProcessorService - /common/getSummaryAndGraphInfo - Received request

TP-Processor3 DEBUG generator.URLGenerator - OXF Protocol: Using ResourceManager for key /page-flow.xml

TP-Processor3 DEBUG resources.ResourceManagerBase - lastModified(/page-flow.xml) : 1134130433456

TP-Processor3 DEBUG generator.URLGenerator - OXF Protocol: Using ResourceManager for key /org/orbeon/oxf/xml/schemas/page-flow-controller-runtime.xsd

TP-Processor3 DEBUG resources.ResourceManagerBase - lastModified(/org/orbeon/oxf/xml/schemas/page-flow-controller-runtime.xsd) : Cannot read from file /org/orbeon/oxf/xml/schemas/page-flow-controller-runtime.xsd

TP-Processor3 DEBUG resources.ResourceManagerBase - lastModified(/org/orbeon/oxf/xml/schemas/page-flow-controller-runtime.xsd) : 1138738550000

etc etc

 

Again making me think the submission is not firing properly.

I realise that since it only appears on our SunOs setup its hard for anyone else to duplicate. Is there any other tests or trials I could carry out to try and narrow the problem down.

 

regards

  Doug

 

 

Doug Young

Software Engineer

 

Teleflex IT

1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP

+44 (0) 1506 407107

 



--
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: submit not working with 3.0.0.200602010415 when run under Unix

Erik Bruchez
Administrator
Doug,

Historically, the only platform differences that have surfaced are:

o Default encoding of the JRE, which is sometimes different.

o Support for graphics, which on Unix machines typically is not there by
default. This tends to appear only when using the charts or image
processors. You can fix this by making sure your VM is started in
headless mode, or has access to an X Window server.

Maybe this can help. You don't see any exception in the logs?

-Erik

Doug Young wrote:

> Hi,
>
> I have an application that works OK on both eclipse and our aoache and
> tomcat SunOS setup when using OPS labeled 3.0.beta4.200512072017.
>
> However the application does not work with the build named
> 3.0.0.200602010415.
>
> Ryan has also seen the same problem with his application.
>
>  
>
> I have a page that does has a xforms:submit, the submit looks like
>
>             <xforms:submission ref="instance('UIData')"
> id="getPEAs-submission"
>
>                 method="post" action="/common/getSummaryAndGraphInfo"
>
>                 replace="instance" instance="retrievedSummaryInfo">
>
>             </xforms:submission>      
>
> When I run this from inside eclipse and click on the submit it works
> fine and in the logging events window I get lots of messages including  
>
> /common/getSummaryAndGraphInfo - Received request
>
>  
>
> When I move it to our production setup which involves apache and tomcat
> running on SunOs boxes the application does not work.
>
> When I click on the submit the application does nothing. Looking at the
> logs I see that the line
>
> /common/getSummaryAndGraphInfo
>
> is not there
>
> So it looks like the submission is not firing properly.
>
>  
>
>  
>
> So I turned up the logging on both the eclipse version and the SunOs
> version by changing
>
>       <root>
>
>         <priority value="info"/>
>
> to
>
>     <root>
>
>         <priority value="debug"/>
>
> in log4j.xml
>
>  
>
> then I compared the logging output from the two different machines
>
>  
>
> in the log from the eclipse version about 1000 lines are missing they start
>
> TP-Processor3 INFO  webapp.ProcessorService -
> /common/getSummaryAndGraphInfo - Received request
>
> TP-Processor3 DEBUG generator.URLGenerator - OXF Protocol: Using
> ResourceManager for key /page-flow.xml
>
> TP-Processor3 DEBUG resources.ResourceManagerBase -
> lastModified(/page-flow.xml) : 1134130433456
>
> TP-Processor3 DEBUG generator.URLGenerator - OXF Protocol: Using
> ResourceManager for key
> /org/orbeon/oxf/xml/schemas/page-flow-controller-runtime.xsd
>
> TP-Processor3 DEBUG resources.ResourceManagerBase -
> lastModified(/org/orbeon/oxf/xml/schemas/page-flow-controller-runtime.xsd)
> : Cannot read from file
> /org/orbeon/oxf/xml/schemas/page-flow-controller-runtime.xsd
>
> TP-Processor3 DEBUG resources.ResourceManagerBase -
> lastModified(/org/orbeon/oxf/xml/schemas/page-flow-controller-runtime.xsd)
> : 1138738550000
>
> etc etc
>
>  
>
> Again making me think the submission is not firing properly.
>
> I realise that since it only appears on our SunOs setup its hard for
> anyone else to duplicate. Is there any other tests or trials I could
> carry out to try and narrow the problem down.
>
>  
>
> regards
>
>   Doug
>
>  
>
>  
>
> Doug Young
>
> Software Engineer
>
>  
>
> Teleflex IT
>
> 1 Michaelson Square
> Livingston
> West Lothian
> Scotland
> EH54 7DP
>
> +44 (0) 1506 407107



--
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: submit not working with 3.0.0.200602010415 when run under Unix

Doug Young
Hi,
  Nope no exceptions in the logs.

It works with the older version of OPS so I am thinking something has
changed. Is there any more debugging or logging I can turn on to try and
find out more or even js files where I can add traces, to try and get some
more information. I was wondering if it was worth looking at the code in the
area of the code that does the "Received request" loging trace and trying to
find out why its not being called.

regards
   Doug

Doug Young
Software Engineer
 
Teleflex IT
1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP
+44 (0) 1506 407107

-----Original Message-----
From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez
Sent: 04 February 2006 16:52
To: [hidden email]
Subject: Re: [ops-users] submit not working with 3.0.0.200602010415 when run
under Unix

Doug,

Historically, the only platform differences that have surfaced are:

o Default encoding of the JRE, which is sometimes different.

o Support for graphics, which on Unix machines typically is not there by
default. This tends to appear only when using the charts or image
processors. You can fix this by making sure your VM is started in
headless mode, or has access to an X Window server.

Maybe this can help. You don't see any exception in the logs?

-Erik

Doug Young wrote:

> Hi,
>
> I have an application that works OK on both eclipse and our aoache and
> tomcat SunOS setup when using OPS labeled 3.0.beta4.200512072017.
>
> However the application does not work with the build named
> 3.0.0.200602010415.
>
> Ryan has also seen the same problem with his application.
>
>  
>
> I have a page that does has a xforms:submit, the submit looks like
>
>             <xforms:submission ref="instance('UIData')"
> id="getPEAs-submission"
>
>                 method="post" action="/common/getSummaryAndGraphInfo"
>
>                 replace="instance" instance="retrievedSummaryInfo">
>
>             </xforms:submission>      
>
> When I run this from inside eclipse and click on the submit it works
> fine and in the logging events window I get lots of messages including  
>
> /common/getSummaryAndGraphInfo - Received request
>
>  
>
> When I move it to our production setup which involves apache and tomcat
> running on SunOs boxes the application does not work.
>
> When I click on the submit the application does nothing. Looking at the
> logs I see that the line
>
> /common/getSummaryAndGraphInfo
>
> is not there
>
> So it looks like the submission is not firing properly.
>
>  
>
>  
>
> So I turned up the logging on both the eclipse version and the SunOs
> version by changing
>
>       <root>
>
>         <priority value="info"/>
>
> to
>
>     <root>
>
>         <priority value="debug"/>
>
> in log4j.xml
>
>  
>
> then I compared the logging output from the two different machines
>
>  
>
> in the log from the eclipse version about 1000 lines are missing they
start

>
> TP-Processor3 INFO  webapp.ProcessorService -
> /common/getSummaryAndGraphInfo - Received request
>
> TP-Processor3 DEBUG generator.URLGenerator - OXF Protocol: Using
> ResourceManager for key /page-flow.xml
>
> TP-Processor3 DEBUG resources.ResourceManagerBase -
> lastModified(/page-flow.xml) : 1134130433456
>
> TP-Processor3 DEBUG generator.URLGenerator - OXF Protocol: Using
> ResourceManager for key
> /org/orbeon/oxf/xml/schemas/page-flow-controller-runtime.xsd
>
> TP-Processor3 DEBUG resources.ResourceManagerBase -
> lastModified(/org/orbeon/oxf/xml/schemas/page-flow-controller-runtime.xsd)

> : Cannot read from file
> /org/orbeon/oxf/xml/schemas/page-flow-controller-runtime.xsd
>
> TP-Processor3 DEBUG resources.ResourceManagerBase -
> lastModified(/org/orbeon/oxf/xml/schemas/page-flow-controller-runtime.xsd)

> : 1138738550000
>
> etc etc
>
>  
>
> Again making me think the submission is not firing properly.
>
> I realise that since it only appears on our SunOs setup its hard for
> anyone else to duplicate. Is there any other tests or trials I could
> carry out to try and narrow the problem down.
>
>  
>
> regards
>
>   Doug
>
>  
>
>  
>
> Doug Young
>
> Software Engineer
>
>  
>
> Teleflex IT
>
> 1 Michaelson Square
> Livingston
> West Lothian
> Scotland
> EH54 7DP
>
> +44 (0) 1506 407107





--
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