Debug issue

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

Debug issue

Marc.Benimeli
Hi All,

I try to debug a .xpl file. So I put a debug attribute to the output of
my processor.
I can find this new debug element in the 'Debug Statements' window but
there's no output in 'Logging Events' window when I 'run' the xpl file.

Am I missing something ?

Marc



--
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: Debug issue

Ryan Puddephatt
Marc,
        Have you put a name in? I normally use all caps such as DEBUGOUTPUT
so I can see it! Also try put one on the input to make sure your application
is calling the XPL as it might not make it that far through the XPL!

Ryan Puddephatt
Web Developer
TFX Group
1 Michaelson Square
Livingston
West Lothian
Scotand
EH54 7DP
 
* [hidden email]
( 01506 407 110
7  01506 407 108
 

-----Original Message-----
From: [hidden email] [mailto:[hidden email]]
Sent: 12 December 2005 14:21
To: [hidden email]
Subject: [ops-users] Debug issue

Hi All,

I try to debug a .xpl file. So I put a debug attribute to the output of
my processor.
I can find this new debug element in the 'Debug Statements' window but
there's no output in 'Logging Events' window when I 'run' the xpl file.

Am I missing something ?

Marc





--
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: Debug issue

Marc.Benimeli
In reply to this post by Marc.Benimeli
Ryan,

Yes, I put a name on each debug statement.
I'm sure my application is calling the XPL because I put a debug attribute on the input of a file-serializer processor. And the file is created.

Marc

-----Message d'origine-----
De : Ryan Puddephatt [mailto:[hidden email]]
Envoyé : lundi 12 décembre 2005 15:34
À : [hidden email]
Objet : RE: [ops-users] Debug issue

Marc,
        Have you put a name in? I normally use all caps such as DEBUGOUTPUT so I can see it! Also try put one on the input to make sure your application is calling the XPL as it might not make it that far through the XPL!

Ryan Puddephatt
Web Developer
TFX Group
1 Michaelson Square
Livingston
West Lothian
Scotand
EH54 7DP
 
* [hidden email]
( 01506 407 110
7  01506 407 108
 

-----Original Message-----
From: [hidden email] [mailto:[hidden email]]
Sent: 12 December 2005 14:21
To: [hidden email]
Subject: [ops-users] Debug issue

Hi All,

I try to debug a .xpl file. So I put a debug attribute to the output of my processor.
I can find this new debug element in the 'Debug Statements' window but there's no output in 'Logging Events' window when I 'run' the xpl file.

Am I missing something ?

Marc






--
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: Debug issue

Ryan Puddephatt
Marc,
        What processors do you run in the XPL?

Ryan

Ryan Puddephatt
Web Developer
TFX Group
1 Michaelson Square
Livingston
West Lothian
Scotand
EH54 7DP
 
* [hidden email]
( 01506 407 110
7  01506 407 108
 

-----Original Message-----
From: [hidden email] [mailto:[hidden email]]
Sent: 12 December 2005 14:53
To: [hidden email]
Subject: RE: [ops-users] Debug issue

Ryan,

Yes, I put a name on each debug statement.
I'm sure my application is calling the XPL because I put a debug attribute
on the input of a file-serializer processor. And the file is created.

Marc

-----Message d'origine-----
De : Ryan Puddephatt [mailto:[hidden email]]
Envoyé : lundi 12 décembre 2005 15:34
À : [hidden email]
Objet : RE: [ops-users] Debug issue

Marc,
        Have you put a name in? I normally use all caps such as DEBUGOUTPUT
so I can see it! Also try put one on the input to make sure your application
is calling the XPL as it might not make it that far through the XPL!

Ryan Puddephatt
Web Developer
TFX Group
1 Michaelson Square
Livingston
West Lothian
Scotand
EH54 7DP
 
* [hidden email]
( 01506 407 110
7  01506 407 108
 

-----Original Message-----
From: [hidden email] [mailto:[hidden email]]
Sent: 12 December 2005 14:21
To: [hidden email]
Subject: [ops-users] Debug issue

Hi All,

I try to debug a .xpl file. So I put a debug attribute to the output of my
processor.
I can find this new debug element in the 'Debug Statements' window but
there's no output in 'Logging Events' window when I 'run' the xpl file.

Am I missing something ?

Marc








--
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: Debug issue

Erik Bruchez
Administrator
In reply to this post by Marc.Benimeli
Then it probably means that that particular output your put your debug
attribute on is not read.

-Erik

[hidden email] wrote:

> Ryan,
>
> Yes, I put a name on each debug statement.
> I'm sure my application is calling the XPL because I put a debug attribute on the input of a file-serializer processor. And the file is created.
>
> Marc
>
> -----Message d'origine-----
> De : Ryan Puddephatt [mailto:[hidden email]]
> Envoyé : lundi 12 décembre 2005 15:34
> À : [hidden email]
> Objet : RE: [ops-users] Debug issue
>
> Marc,
> Have you put a name in? I normally use all caps such as DEBUGOUTPUT so I can see it! Also try put one on the input to make sure your application is calling the XPL as it might not make it that far through the XPL!
>
> Ryan Puddephatt
> Web Developer
> TFX Group
> 1 Michaelson Square
> Livingston
> West Lothian
> Scotand
> EH54 7DP
>  
> * [hidden email]
> ( 01506 407 110
> 7  01506 407 108
>  
>
> -----Original Message-----
> From: [hidden email] [mailto:[hidden email]]
> Sent: 12 December 2005 14:21
> To: [hidden email]
> Subject: [ops-users] Debug issue
>
> Hi All,
>
> I try to debug a .xpl file. So I put a debug attribute to the output of my processor.
> I can find this new debug element in the 'Debug Statements' window but there's no output in 'Logging Events' window when I 'run' the xpl file.
>
> Am I missing something ?
>
> Marc
>
>
>
>
>
>
> ------------------------------------------------------------------------
>
>
> --
> 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: Debug issue

Marc.Benimeli
In reply to this post by Marc.Benimeli
Ryan,

"oxf:delegation" for WebServices
"oxf:xml-converter"
"oxf:file-serializer" to serialize the WebService output
"oxf:identity" to output data to the instance.

Marc

-----Message d'origine-----
De : Ryan Puddephatt [mailto:[hidden email]]
Envoyé : lundi 12 décembre 2005 15:57
À : [hidden email]
Objet : RE: [ops-users] Debug issue

Marc,
        What processors do you run in the XPL?

Ryan

Ryan Puddephatt
Web Developer
TFX Group
1 Michaelson Square
Livingston
West Lothian
Scotand
EH54 7DP
 
* [hidden email]
( 01506 407 110
7  01506 407 108
 

-----Original Message-----
From: [hidden email] [mailto:[hidden email]]
Sent: 12 December 2005 14:53
To: [hidden email]
Subject: RE: [ops-users] Debug issue

Ryan,

Yes, I put a name on each debug statement.
I'm sure my application is calling the XPL because I put a debug attribute on the input of a file-serializer processor. And the file is created.

Marc

-----Message d'origine-----
De : Ryan Puddephatt [mailto:[hidden email]] Envoyé : lundi 12 décembre 2005 15:34 À : [hidden email] Objet : RE: [ops-users] Debug issue

Marc,
        Have you put a name in? I normally use all caps such as DEBUGOUTPUT so I can see it! Also try put one on the input to make sure your application is calling the XPL as it might not make it that far through the XPL!

Ryan Puddephatt
Web Developer
TFX Group
1 Michaelson Square
Livingston
West Lothian
Scotand
EH54 7DP
 
* [hidden email]
( 01506 407 110
7  01506 407 108
 

-----Original Message-----
From: [hidden email] [mailto:[hidden email]]
Sent: 12 December 2005 14:21
To: [hidden email]
Subject: [ops-users] Debug issue

Hi All,

I try to debug a .xpl file. So I put a debug attribute to the output of my processor.
I can find this new debug element in the 'Debug Statements' window but there's no output in 'Logging Events' window when I 'run' the xpl file.

Am I missing something ?

Marc









--
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: Debug issue

Ryan Puddephatt
So the input to 'oxf:file-serializer' and 'oxf:identity' are the same I
assume, but the output of the 'oxf:identity' is not showing! I would try
putting a debug on the input to the identity or the output to xml-converter!

I can't see any reason why it wouldn't show! I take it the debug for the
file-serailizer showed up and your getting other things in there! I know
with multiple projects open you have to change the port of the log4j as they
conflict!

Ryan Puddephatt
Web Developer
TFX Group
1 Michaelson Square
Livingston
West Lothian
Scotand
EH54 7DP
 
* [hidden email]
( 01506 407 110
7  01506 407 108
 

-----Original Message-----
From: [hidden email] [mailto:[hidden email]]
Sent: 12 December 2005 15:27
To: [hidden email]
Subject: RE: [ops-users] Debug issue

Ryan,

"oxf:delegation" for WebServices
"oxf:xml-converter"
"oxf:file-serializer" to serialize the WebService output
"oxf:identity" to output data to the instance.

Marc

-----Message d'origine-----
De : Ryan Puddephatt [mailto:[hidden email]]
Envoyé : lundi 12 décembre 2005 15:57
À : [hidden email]
Objet : RE: [ops-users] Debug issue

Marc,
        What processors do you run in the XPL?

Ryan

Ryan Puddephatt
Web Developer
TFX Group
1 Michaelson Square
Livingston
West Lothian
Scotand
EH54 7DP
 
* [hidden email]
( 01506 407 110
7  01506 407 108
 

-----Original Message-----
From: [hidden email] [mailto:[hidden email]]
Sent: 12 December 2005 14:53
To: [hidden email]
Subject: RE: [ops-users] Debug issue

Ryan,

Yes, I put a name on each debug statement.
I'm sure my application is calling the XPL because I put a debug attribute
on the input of a file-serializer processor. And the file is created.

Marc

-----Message d'origine-----
De : Ryan Puddephatt [mailto:[hidden email]] Envoyé : lundi 12
décembre 2005 15:34 À : [hidden email] Objet : RE: [ops-users]
Debug issue

Marc,
        Have you put a name in? I normally use all caps such as DEBUGOUTPUT
so I can see it! Also try put one on the input to make sure your application
is calling the XPL as it might not make it that far through the XPL!

Ryan Puddephatt
Web Developer
TFX Group
1 Michaelson Square
Livingston
West Lothian
Scotand
EH54 7DP
 
* [hidden email]
( 01506 407 110
7  01506 407 108
 

-----Original Message-----
From: [hidden email] [mailto:[hidden email]]
Sent: 12 December 2005 14:21
To: [hidden email]
Subject: [ops-users] Debug issue

Hi All,

I try to debug a .xpl file. So I put a debug attribute to the output of my
processor.
I can find this new debug element in the 'Debug Statements' window but
there's no output in 'Logging Events' window when I 'run' the xpl file.

Am I missing something ?

Marc











--
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: Debug issue

Marc.Benimeli
In reply to this post by Marc.Benimeli
Hi,

After further investigation, I have found some port conflict with log4j.
In the log4j.xml file I change the port for my app. Nothing changed in
the 'logging events' window.
After that I add at the root tag the ConsoleAppender ref. Now I can see
my output debug in the console window.

Here is my log4j.xml file :

<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"
xmlns="http://jakarta.apache.org/log4j/">

    <!-- This is the standard log appender to the console (System.out)
-->
    <appender name="ConsoleAppender"
class="org.apache.log4j.ConsoleAppender">
        <param name="Target" value="System.out"/>
        <layout class="org.apache.log4j.PatternLayout">
            <param name="ConversionPattern" value="%d{ISO8601} %-5p %c
%x - %m%n"/>
        </layout>
        <filter class="org.apache.log4j.varia.LevelRangeFilter">
            <param name="LevelMin" value="INFO" />
        </filter>
    </appender>

    <!-- This is the OPS Studio monitor -->
    <appender name="OPSMonitor"
class="org.apache.log4j.net.SocketHubAppender">
      <param name="Port" value="4455"/>
      <param name="LocationInfo" value="true"/>
    </appender>

    <!-- Logging to file, typically used in production -->
    <appender name="FileAppender" class="org.apache.log4j.FileAppender">
        <param name="File" value="l:/OXF/oxf.log"/>
        <param name="Append" value="false" />
        <layout class="org.apache.log4j.PatternLayout">
            <param name="ConversionPattern" value="%t %-5p %c{2} -
%m%n"/>
        </layout>
    </appender>

    <!-- This is the root logger -->
    <root>
        <priority value="info"/>
        <appender-ref ref="ConsoleAppender"/>
        <appender-ref ref="OPSMonitor"/>
    </root>

</log4j:configuration>


>So the input to 'oxf:file-serializer' and 'oxf:identity' are the same I
assume, but the output of the 'oxf:identity'
>is not showing! I would try putting a debug on the input to the
identity or the output to xml-converter!

>I can't see any reason why it wouldn't show! I take it the debug for
the file-serailizer showed up and your getting other >things in there! I
know with multiple projects open you have to change the port of the
log4j as they conflict!



--
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: Debug issue

Ryan Puddephatt
Marc,
        Looks very similar to mine, but I have it running on port 4448, try
this, you might be to far out of the port range

Ryan

Ryan Puddephatt
Web Developer
TFX Group
1 Michaelson Square
Livingston
West Lothian
Scotand
EH54 7DP
 
* [hidden email]
( 01506 407 110
7  01506 407 108
 

-----Original Message-----
From: [hidden email] [mailto:[hidden email]]
Sent: 13 December 2005 16:54
To: [hidden email]
Subject: RE: [ops-users] Debug issue

Hi,

After further investigation, I have found some port conflict with log4j.
In the log4j.xml file I change the port for my app. Nothing changed in
the 'logging events' window.
After that I add at the root tag the ConsoleAppender ref. Now I can see
my output debug in the console window.

Here is my log4j.xml file :

<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"
xmlns="http://jakarta.apache.org/log4j/">

    <!-- This is the standard log appender to the console (System.out)
-->
    <appender name="ConsoleAppender"
class="org.apache.log4j.ConsoleAppender">
        <param name="Target" value="System.out"/>
        <layout class="org.apache.log4j.PatternLayout">
            <param name="ConversionPattern" value="%d{ISO8601} %-5p %c
%x - %m%n"/>
        </layout>
        <filter class="org.apache.log4j.varia.LevelRangeFilter">
            <param name="LevelMin" value="INFO" />
        </filter>
    </appender>

    <!-- This is the OPS Studio monitor -->
    <appender name="OPSMonitor"
class="org.apache.log4j.net.SocketHubAppender">
      <param name="Port" value="4455"/>
      <param name="LocationInfo" value="true"/>
    </appender>

    <!-- Logging to file, typically used in production -->
    <appender name="FileAppender" class="org.apache.log4j.FileAppender">
        <param name="File" value="l:/OXF/oxf.log"/>
        <param name="Append" value="false" />
        <layout class="org.apache.log4j.PatternLayout">
            <param name="ConversionPattern" value="%t %-5p %c{2} -
%m%n"/>
        </layout>
    </appender>

    <!-- This is the root logger -->
    <root>
        <priority value="info"/>
        <appender-ref ref="ConsoleAppender"/>
        <appender-ref ref="OPSMonitor"/>
    </root>

</log4j:configuration>


>So the input to 'oxf:file-serializer' and 'oxf:identity' are the same I
assume, but the output of the 'oxf:identity'
>is not showing! I would try putting a debug on the input to the
identity or the output to xml-converter!

>I can't see any reason why it wouldn't show! I take it the debug for
the file-serailizer showed up and your getting other >things in there! I
know with multiple projects open you have to change the port of the
log4j as they conflict!





--
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: Debug issue

Alessandro  Vernet
Administrator
In reply to this post by Marc.Benimeli
Hi Marc,

Getting the logging event of PresentationServer to show in the Logging
Events view can be tricky sometimes. When you start Tomcat, check if
you have any message in the standard output (e.g. if it can't bind to
the port you have specified). If you are starting Tomcat from Eclipse,
this will appear in the Console view. For Studio to connect to the
port you specified in log4j.xml, that file needs to be in a project
visible to Studio. If you have changed that file with an external
program, you will have to right click on the project in the Navigator
view and choose Refresh. I hope that will help.

Alex

On 12/13/05, [hidden email] <[hidden email]> wrote:

> Hi,
>
> After further investigation, I have found some port conflict with log4j.
> In the log4j.xml file I change the port for my app. Nothing changed in
> the 'logging events' window.
> After that I add at the root tag the ConsoleAppender ref. Now I can see
> my output debug in the console window.
>
> Here is my log4j.xml file :
>
> <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"
> xmlns="http://jakarta.apache.org/log4j/">
>
>     <!-- This is the standard log appender to the console (System.out)
> -->
>     <appender name="ConsoleAppender"
> class="org.apache.log4j.ConsoleAppender">
>         <param name="Target" value="System.out"/>
>         <layout class="org.apache.log4j.PatternLayout">
>             <param name="ConversionPattern" value="%d{ISO8601} %-5p %c
> %x - %m%n"/>
>         </layout>
>         <filter class="org.apache.log4j.varia.LevelRangeFilter">
>             <param name="LevelMin" value="INFO" />
>         </filter>
>     </appender>
>
>     <!-- This is the OPS Studio monitor -->
>     <appender name="OPSMonitor"
> class="org.apache.log4j.net.SocketHubAppender">
>       <param name="Port" value="4455"/>
>       <param name="LocationInfo" value="true"/>
>     </appender>
>
>     <!-- Logging to file, typically used in production -->
>     <appender name="FileAppender" class="org.apache.log4j.FileAppender">
>         <param name="File" value="l:/OXF/oxf.log"/>
>         <param name="Append" value="false" />
>         <layout class="org.apache.log4j.PatternLayout">
>             <param name="ConversionPattern" value="%t %-5p %c{2} -
> %m%n"/>
>         </layout>
>     </appender>
>
>     <!-- This is the root logger -->
>     <root>
>         <priority value="info"/>
>         <appender-ref ref="ConsoleAppender"/>
>         <appender-ref ref="OPSMonitor"/>
>     </root>
>
> </log4j:configuration>
>
>
> >So the input to 'oxf:file-serializer' and 'oxf:identity' are the same I
> assume, but the output of the 'oxf:identity'
> >is not showing! I would try putting a debug on the input to the
> identity or the output to xml-converter!
>
> >I can't see any reason why it wouldn't show! I take it the debug for
> the file-serailizer showed up and your getting other >things in there! I
> know with multiple projects open you have to change the port of the
> log4j as they conflict!
>
>
>
>
> --
> 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
>
>
>

--
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: Debug issue

Alessandro  Vernet
Administrator
Marc, Ryan,

I have updated the corresponding question in the FAQ with more
information about this issue. Let me know if you think anything should
be added or modified. (See the last question at the URL below.)

http://www.orbeon.com/ops/doc/home-faq#studio-empty-events

Alex

On 12/14/05, Alessandro Vernet <[hidden email]> wrote:

> Hi Marc,
>
> Getting the logging event of PresentationServer to show in the Logging
> Events view can be tricky sometimes. When you start Tomcat, check if
> you have any message in the standard output (e.g. if it can't bind to
> the port you have specified). If you are starting Tomcat from Eclipse,
> this will appear in the Console view. For Studio to connect to the
> port you specified in log4j.xml, that file needs to be in a project
> visible to Studio. If you have changed that file with an external
> program, you will have to right click on the project in the Navigator
> view and choose Refresh. I hope that will help.
>
> Alex
>
> On 12/13/05, [hidden email] <[hidden email]> wrote:
> > Hi,
> >
> > After further investigation, I have found some port conflict with log4j.
> > In the log4j.xml file I change the port for my app. Nothing changed in
> > the 'logging events' window.
> > After that I add at the root tag the ConsoleAppender ref. Now I can see
> > my output debug in the console window.
> >
> > Here is my log4j.xml file :
> >
> > <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"
> > xmlns="http://jakarta.apache.org/log4j/">
> >
> >     <!-- This is the standard log appender to the console (System.out)
> > -->
> >     <appender name="ConsoleAppender"
> > class="org.apache.log4j.ConsoleAppender">
> >         <param name="Target" value="System.out"/>
> >         <layout class="org.apache.log4j.PatternLayout">
> >             <param name="ConversionPattern" value="%d{ISO8601} %-5p %c
> > %x - %m%n"/>
> >         </layout>
> >         <filter class="org.apache.log4j.varia.LevelRangeFilter">
> >             <param name="LevelMin" value="INFO" />
> >         </filter>
> >     </appender>
> >
> >     <!-- This is the OPS Studio monitor -->
> >     <appender name="OPSMonitor"
> > class="org.apache.log4j.net.SocketHubAppender">
> >       <param name="Port" value="4455"/>
> >       <param name="LocationInfo" value="true"/>
> >     </appender>
> >
> >     <!-- Logging to file, typically used in production -->
> >     <appender name="FileAppender" class="org.apache.log4j.FileAppender">
> >         <param name="File" value="l:/OXF/oxf.log"/>
> >         <param name="Append" value="false" />
> >         <layout class="org.apache.log4j.PatternLayout">
> >             <param name="ConversionPattern" value="%t %-5p %c{2} -
> > %m%n"/>
> >         </layout>
> >     </appender>
> >
> >     <!-- This is the root logger -->
> >     <root>
> >         <priority value="info"/>
> >         <appender-ref ref="ConsoleAppender"/>
> >         <appender-ref ref="OPSMonitor"/>
> >     </root>
> >
> > </log4j:configuration>
> >
> >
> > >So the input to 'oxf:file-serializer' and 'oxf:identity' are the same I
> > assume, but the output of the 'oxf:identity'
> > >is not showing! I would try putting a debug on the input to the
> > identity or the output to xml-converter!
> >
> > >I can't see any reason why it wouldn't show! I take it the debug for
> > the file-serailizer showed up and your getting other >things in there! I
> > know with multiple projects open you have to change the port of the
> > log4j as they conflict!
> >
> >
> >
> >
> > --
> > 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
> >
> >
> >
>
>
> --
> Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/
>

--
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: Debug issue

Ryan Puddephatt
Alex,
        I looked at it, just a small amendment, to make it more readable,
but other than that it seems understandable!

"There is nothing *in* the Studio preferences to tell Studio *which* port it
should connect."

Thanks

Ryan Puddephatt
Web Developer
TFX Group
1 Michaelson Square
Livingston
West Lothian
Scotand
EH54 7DP
 
* [hidden email]
( 01506 407 110
7  01506 407 108
 

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Alessandro
Vernet
Sent: 15 December 2005 23:27
To: [hidden email]
Subject: Re: [ops-users] Debug issue

Marc, Ryan,

I have updated the corresponding question in the FAQ with more
information about this issue. Let me know if you think anything should
be added or modified. (See the last question at the URL below.)

http://www.orbeon.com/ops/doc/home-faq#studio-empty-events

Alex

On 12/14/05, Alessandro Vernet <[hidden email]> wrote:

> Hi Marc,
>
> Getting the logging event of PresentationServer to show in the Logging
> Events view can be tricky sometimes. When you start Tomcat, check if
> you have any message in the standard output (e.g. if it can't bind to
> the port you have specified). If you are starting Tomcat from Eclipse,
> this will appear in the Console view. For Studio to connect to the
> port you specified in log4j.xml, that file needs to be in a project
> visible to Studio. If you have changed that file with an external
> program, you will have to right click on the project in the Navigator
> view and choose Refresh. I hope that will help.
>
> Alex
>
> On 12/13/05, [hidden email] <[hidden email]> wrote:
> > Hi,
> >
> > After further investigation, I have found some port conflict with log4j.
> > In the log4j.xml file I change the port for my app. Nothing changed in
> > the 'logging events' window.
> > After that I add at the root tag the ConsoleAppender ref. Now I can see
> > my output debug in the console window.
> >
> > Here is my log4j.xml file :
> >
> > <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"
> > xmlns="http://jakarta.apache.org/log4j/">
> >
> >     <!-- This is the standard log appender to the console (System.out)
> > -->
> >     <appender name="ConsoleAppender"
> > class="org.apache.log4j.ConsoleAppender">
> >         <param name="Target" value="System.out"/>
> >         <layout class="org.apache.log4j.PatternLayout">
> >             <param name="ConversionPattern" value="%d{ISO8601} %-5p %c
> > %x - %m%n"/>
> >         </layout>
> >         <filter class="org.apache.log4j.varia.LevelRangeFilter">
> >             <param name="LevelMin" value="INFO" />
> >         </filter>
> >     </appender>
> >
> >     <!-- This is the OPS Studio monitor -->
> >     <appender name="OPSMonitor"
> > class="org.apache.log4j.net.SocketHubAppender">
> >       <param name="Port" value="4455"/>
> >       <param name="LocationInfo" value="true"/>
> >     </appender>
> >
> >     <!-- Logging to file, typically used in production -->
> >     <appender name="FileAppender" class="org.apache.log4j.FileAppender">
> >         <param name="File" value="l:/OXF/oxf.log"/>
> >         <param name="Append" value="false" />
> >         <layout class="org.apache.log4j.PatternLayout">
> >             <param name="ConversionPattern" value="%t %-5p %c{2} -
> > %m%n"/>
> >         </layout>
> >     </appender>
> >
> >     <!-- This is the root logger -->
> >     <root>
> >         <priority value="info"/>
> >         <appender-ref ref="ConsoleAppender"/>
> >         <appender-ref ref="OPSMonitor"/>
> >     </root>
> >
> > </log4j:configuration>
> >
> >
> > >So the input to 'oxf:file-serializer' and 'oxf:identity' are the same I
> > assume, but the output of the 'oxf:identity'
> > >is not showing! I would try putting a debug on the input to the
> > identity or the output to xml-converter!
> >
> > >I can't see any reason why it wouldn't show! I take it the debug for
> > the file-serailizer showed up and your getting other >things in there! I
> > know with multiple projects open you have to change the port of the
> > log4j as they conflict!
> >
> >
> >
> >
> > --
> > 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
> >
> >
> >
>
>
> --
> Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/
>

--
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
Reply | Threaded
Open this post in threaded view
|

Re: Debug issue

Erik Bruchez
Administrator
Thanks, I have fixed these typos in the CVS. This is what happens when
Alex writes text at 3 AM ;-)

-Erik

Ryan Puddephatt wrote:

> Alex,
> I looked at it, just a small amendment, to make it more readable,
> but other than that it seems understandable!
>
> "There is nothing *in* the Studio preferences to tell Studio *which* port it
> should connect."
>
> Thanks
>
> Ryan Puddephatt
> Web Developer
> TFX Group
> 1 Michaelson Square
> Livingston
> West Lothian
> Scotand
> EH54 7DP
>  
> * [hidden email]
> ( 01506 407 110
> 7  01506 407 108
>  
>
> -----Original Message-----
> From: [hidden email] [mailto:[hidden email]] On Behalf Of Alessandro
> Vernet
> Sent: 15 December 2005 23:27
> To: [hidden email]
> Subject: Re: [ops-users] Debug issue
>
> Marc, Ryan,
>
> I have updated the corresponding question in the FAQ with more
> information about this issue. Let me know if you think anything should
> be added or modified. (See the last question at the URL below.)
>
> http://www.orbeon.com/ops/doc/home-faq#studio-empty-events
>
> Alex
>
> On 12/14/05, Alessandro Vernet <[hidden email]> wrote:
>
>>Hi Marc,
>>
>>Getting the logging event of PresentationServer to show in the Logging
>>Events view can be tricky sometimes. When you start Tomcat, check if
>>you have any message in the standard output (e.g. if it can't bind to
>>the port you have specified). If you are starting Tomcat from Eclipse,
>>this will appear in the Console view. For Studio to connect to the
>>port you specified in log4j.xml, that file needs to be in a project
>>visible to Studio. If you have changed that file with an external
>>program, you will have to right click on the project in the Navigator
>>view and choose Refresh. I hope that will help.
>>
>>Alex
>>
>>On 12/13/05, [hidden email] <[hidden email]> wrote:
>>
>>>Hi,
>>>
>>>After further investigation, I have found some port conflict with log4j.
>>>In the log4j.xml file I change the port for my app. Nothing changed in
>>>the 'logging events' window.
>>>After that I add at the root tag the ConsoleAppender ref. Now I can see
>>>my output debug in the console window.
>>>
>>>Here is my log4j.xml file :
>>>
>>><log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"
>>>xmlns="http://jakarta.apache.org/log4j/">
>>>
>>>    <!-- This is the standard log appender to the console (System.out)
>>>-->
>>>    <appender name="ConsoleAppender"
>>>class="org.apache.log4j.ConsoleAppender">
>>>        <param name="Target" value="System.out"/>
>>>        <layout class="org.apache.log4j.PatternLayout">
>>>            <param name="ConversionPattern" value="%d{ISO8601} %-5p %c
>>>%x - %m%n"/>
>>>        </layout>
>>>        <filter class="org.apache.log4j.varia.LevelRangeFilter">
>>>            <param name="LevelMin" value="INFO" />
>>>        </filter>
>>>    </appender>
>>>
>>>    <!-- This is the OPS Studio monitor -->
>>>    <appender name="OPSMonitor"
>>>class="org.apache.log4j.net.SocketHubAppender">
>>>      <param name="Port" value="4455"/>
>>>      <param name="LocationInfo" value="true"/>
>>>    </appender>
>>>
>>>    <!-- Logging to file, typically used in production -->
>>>    <appender name="FileAppender" class="org.apache.log4j.FileAppender">
>>>        <param name="File" value="l:/OXF/oxf.log"/>
>>>        <param name="Append" value="false" />
>>>        <layout class="org.apache.log4j.PatternLayout">
>>>            <param name="ConversionPattern" value="%t %-5p %c{2} -
>>>%m%n"/>
>>>        </layout>
>>>    </appender>
>>>
>>>    <!-- This is the root logger -->
>>>    <root>
>>>        <priority value="info"/>
>>>        <appender-ref ref="ConsoleAppender"/>
>>>        <appender-ref ref="OPSMonitor"/>
>>>    </root>
>>>
>>></log4j:configuration>
>>>
>>>
>>>>So the input to 'oxf:file-serializer' and 'oxf:identity' are the same I
>>>
>>>assume, but the output of the 'oxf:identity'
>>>
>>>>is not showing! I would try putting a debug on the input to the
>>>
>>>identity or the output to xml-converter!
>>>
>>>
>>>>I can't see any reason why it wouldn't show! I take it the debug for
>>>
>>>the file-serailizer showed up and your getting other >things in there! I
>>>know with multiple projects open you have to change the port of the
>>>log4j as they conflict!


--
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: Debug issue

Marc.Benimeli
In reply to this post by Marc.Benimeli
Alex, Ryan,

Sorry to answear so late, I had some necessary vacation...
Thank you for this help. Everything works fine now. The problem I had was a port conflict and that I had changed the log4j.xml outside of Eclipse.
So I think your documentation resume quite well all the trouble I had. ;-)

Marc

-----Message d'origine-----
De : [hidden email] [mailto:[hidden email]] De la part de Alessandro Vernet
Envoyé : vendredi 16 décembre 2005 00:27
À : [hidden email]
Objet : Re: [ops-users] Debug issue

Marc, Ryan,

I have updated the corresponding question in the FAQ with more information about this issue. Let me know if you think anything should be added or modified. (See the last question at the URL below.)

http://www.orbeon.com/ops/doc/home-faq#studio-empty-events

Alex

On 12/14/05, Alessandro Vernet <[hidden email]> wrote:

> Hi Marc,
>
> Getting the logging event of PresentationServer to show in the Logging
> Events view can be tricky sometimes. When you start Tomcat, check if
> you have any message in the standard output (e.g. if it can't bind to
> the port you have specified). If you are starting Tomcat from Eclipse,
> this will appear in the Console view. For Studio to connect to the
> port you specified in log4j.xml, that file needs to be in a project
> visible to Studio. If you have changed that file with an external
> program, you will have to right click on the project in the Navigator
> view and choose Refresh. I hope that will help.
>


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