Re: Cant get an exception

2003-03-20 Thread Charles Yates
Lionel Crine wrote:

I tried the log transformer but it write the getLogger.debug() 
statements in a file ? 
Sorry, I was referrring to putting that statement in your generator at 
strategic points like:

public void generate() {
getLogger().debug("generate()");
//. etc
}




At 10:23 18/03/2003 -0800, you wrote:

Lionel Crine wrote:

Hello,

I also have created my own transformer, generator, etc ...
I didn't had time to use "getlogger", so instead of that I use 
System.err.println to get my message into the "console".


1)  I recommend you take the time to add the 'getLogger().debug() 
statements.
2)  System.err might be changed from console to a file by your 
servlet container ( I think in Tomcat it goes to catalina.out)
3)  Test your generator by using it in a pipeline with no 
transformers, just an xml serializer
4)  Use the logging transformer 
http://xml.apache.org/cocoon/userdocs/transformers/log-transformer.html

Charles





At 16:43 17/03/2003 +, you wrote:

Hi,

I have built my own generator, using the tutorials. I can get it to 
work in
a test harness and it produces a well-formed set of SAX events. 
However once
inside cocoon, I get nothing, just an empty HTML page. I have 
recreated the
cocoon libraries environment on the command line and it works. A 
simple
helloworld generator works, so I am deploying OK, nothing in the 
error logs.
Apart from attatching a debugger to the VM, I am at a loss as where 
to go
from here.

If you have a strategy for this, please let me know.

tia,
Lee
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Cant get an exception

2003-03-20 Thread Lionel Crine
I tried the log transformer but it write the getLogger.debug() statements 
in a file ?



At 10:23 18/03/2003 -0800, you wrote:
Lionel Crine wrote:

Hello,

I also have created my own transformer, generator, etc ...
I didn't had time to use "getlogger", so instead of that I use 
System.err.println to get my message into the "console".
1)  I recommend you take the time to add the 'getLogger().debug() statements.
2)  System.err might be changed from console to a file by your servlet 
container ( I think in Tomcat it goes to catalina.out)
3)  Test your generator by using it in a pipeline with no transformers, 
just an xml serializer
4)  Use the logging transformer 
http://xml.apache.org/cocoon/userdocs/transformers/log-transformer.html

Charles





At 16:43 17/03/2003 +, you wrote:

Hi,

I have built my own generator, using the tutorials. I can get it to work in
a test harness and it produces a well-formed set of SAX events. However once
inside cocoon, I get nothing, just an empty HTML page. I have recreated the
cocoon libraries environment on the command line and it works. A simple
helloworld generator works, so I am deploying OK, nothing in the error logs.
Apart from attatching a debugger to the VM, I am at a loss as where to go
from here.
If you have a strategy for this, please let me know.

tia,
Lee
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Cant get an exception

2003-03-18 Thread Charles Yates
Lionel Crine wrote:

Hello,

I also have created my own transformer, generator, etc ...
I didn't had time to use "getlogger", so instead of that I use 
System.err.println to get my message into the "console". 
1)  I recommend you take the time to add the 'getLogger().debug() 
statements.
2)  System.err might be changed from console to a file by your servlet 
container ( I think in Tomcat it goes to catalina.out)
3)  Test your generator by using it in a pipeline with no transformers, 
just an xml serializer
4)  Use the logging transformer 
http://xml.apache.org/cocoon/userdocs/transformers/log-transformer.html

Charles





At 16:43 17/03/2003 +, you wrote:

Hi,

I have built my own generator, using the tutorials. I can get it to 
work in
a test harness and it produces a well-formed set of SAX events. 
However once
inside cocoon, I get nothing, just an empty HTML page. I have 
recreated the
cocoon libraries environment on the command line and it works. A simple
helloworld generator works, so I am deploying OK, nothing in the 
error logs.
Apart from attatching a debugger to the VM, I am at a loss as where 
to go
from here.

If you have a strategy for this, please let me know.

tia,
Lee
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Cant get an exception

2003-03-18 Thread Lionel Crine
Hello,

I also have created my own transformer, generator, etc ...
I didn't had time to use "getlogger", so instead of that I use 
System.err.println to get my message into the "console".



At 16:43 17/03/2003 +, you wrote:
Hi,

I have built my own generator, using the tutorials. I can get it to work in
a test harness and it produces a well-formed set of SAX events. However once
inside cocoon, I get nothing, just an empty HTML page. I have recreated the
cocoon libraries environment on the command line and it works. A simple
helloworld generator works, so I am deploying OK, nothing in the error logs.
Apart from attatching a debugger to the VM, I am at a loss as where to go
from here.
If you have a strategy for this, please let me know.

tia,
Lee
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Cant get an exception

2003-03-17 Thread Lee Pollington
Hi,

I have built my own generator, using the tutorials. I can get it to work in
a test harness and it produces a well-formed set of SAX events. However once
inside cocoon, I get nothing, just an empty HTML page. I have recreated the
cocoon libraries environment on the command line and it works. A simple
helloworld generator works, so I am deploying OK, nothing in the error logs.
Apart from attatching a debugger to the VM, I am at a loss as where to go
from here.

If you have a strategy for this, please let me know.

tia,
Lee


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]