[jboss-user] [JBoss Seam] - Re: Remoting periodic exception.

2007-12-06 Thread [EMAIL PROTECTED]
You need to set the log4j threshold to DEBUG for 
org.jboss.seam.remoting.ExecutionHandler.  If you're using JBossAS, it comes 
configured by default to log debug messages.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111048#4111048

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111048
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Remoting periodic exception.

2007-12-06 Thread samdoyle
Hey so I don't see the exception being propagated to the browser now which is 
great. I see the exceptions in the log but I have set the logging in the app. 
server to finest and still do not see the debug messages. What is required to 
enable the log debugging?

S.D.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110984#4110984

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110984
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Remoting periodic exception.

2007-12-05 Thread samdoyle
Cool and thanks, I'll checkout and build again.

S.D.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110713#4110713

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110713
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Remoting periodic exception.

2007-12-05 Thread [EMAIL PROTECTED]
I've modified the code a little further to pre-cache the request data before 
parsing it as XML.  It is also logged as a debug message, so you should be able 
to see the exact XML that is being parsed.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110703#4110703

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110703
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Remoting periodic exception.

2007-12-05 Thread samdoyle
Hello Shane, latest build from CVS still generates this error periodically.


  | 
[#|2007-12-05T13:48:50.106-0500|SEVERE|sun-appserver9.1|org.jboss.seam.remoting.Remoting|_ThreadID=20;_ThreadName=httpSSLWorkerThread-38080-1;_RequestID=b24ed108-c908-43e6-81c5-bbf9ccc60b3b;|Error
  | org.dom4j.DocumentException: Error on line 1 of document  : Premature end 
of file. Nested exception: Premature end of file.
  | at org.dom4j.io.SAXReader.read(SAXReader.java:482)
  | at org.dom4j.io.SAXReader.read(SAXReader.java:365)
  | at 
org.jboss.seam.remoting.ExecutionHandler.handle(ExecutionHandler.java:57)
  | at org.jboss.seam.remoting.Remoting.getResource(Remoting.java:111)
  | at 
org.jboss.seam.servlet.SeamResourceServlet.doGet(SeamResourceServlet.java:75)
  | at 
org.jboss.seam.servlet.SeamResourceServlet.doPost(SeamResourceServlet.java:92)
  | 


"[EMAIL PROTECTED]" wrote : The request packet looks well-formed and complete, 
it's not clear why the exception is being thrown.  Just to try something 
different, I've wrapped the request's InputStream in an InputStreamReader for 
the parsing of the xml.  You can try this in the latest CVS version.
  | 
  | "samdoyle" wrote : 
  |   | Some questions though. 
  |   | 
  |   | 1.) Why are each of the response packets incrementing in conversation 
id?
  |   | 2.) Why do sometimes when I make a request it appears I get pack an 
empty response followed by a valid response?
  |   | 
  | 
  | 1. Unless you explicitly set the conversation ID yourself (see the remoting 
docs) then whatever conversation ID is current at the end of the request will 
be sent back in the remoting response.
  | 2. I've never seen anything like this, could you give me an example?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110675#4110675

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110675
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Remoting periodic exception.

2007-12-04 Thread samdoyle
I lost our demo box again until tomorrow but what happens sometimes is that in 
the debug output window it just says empty response immediately followed by the 
expected response. Seemed odd.

S.D.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110397#4110397

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110397
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Remoting periodic exception.

2007-12-04 Thread [EMAIL PROTECTED]
The request packet looks well-formed and complete, it's not clear why the 
exception is being thrown.  Just to try something different, I've wrapped the 
request's InputStream in an InputStreamReader for the parsing of the xml.  You 
can try this in the latest CVS version.

"samdoyle" wrote : 
  | Some questions though. 
  | 
  | 1.) Why are each of the response packets incrementing in conversation id?
  | 2.) Why do sometimes when I make a request it appears I get pack an empty 
response followed by a valid response?
  | 

1. Unless you explicitly set the conversation ID yourself (see the remoting 
docs) then whatever conversation ID is current at the end of the request will 
be sent back in the remoting response.
2. I've never seen anything like this, could you give me an example?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110392#4110392

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110392
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Remoting periodic exception.

2007-12-04 Thread samdoyle
Anyone?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110351#4110351

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110351
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Remoting periodic exception.

2007-12-04 Thread samdoyle
The following produced the error, doesn't look unusual. It is the same as the 
several succeeding requests before it.


  | 
  | Tue Dec 4 11:01:57 PST 2007: Request packet:
  | 
41
  | 
  | 
  | 

As a result of this it is generating a error 400 poup dialog which as a result 
of the current way remoting works doesn't appear to be trappable.

Some questions though. 

1.) Why are each of the response packets incrementing in conversation id?
2.) Why do sometimes when I make a request it appears I get pack an empty 
response followed by a valid response?

"[EMAIL PROTECTED]" wrote : I haven't seen this before.  Are there any 
Javascript errors when this occurs?  I suggest you turn on debug mode so that 
you can examine the request packets that are being sent to the server to 
confirm that they are complete.  Debug mode is turned on like this:
  | 
  | Seam.Remoting.setDebug(true)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110303#4110303

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110303
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Remoting periodic exception.

2007-12-04 Thread samdoyle
No JavaScript errors. I'll check it out with debugging enabled.

S.D.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110294#4110294

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110294
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Remoting periodic exception.

2007-12-04 Thread [EMAIL PROTECTED]
I haven't seen this before.  Are there any Javascript errors when this occurs?  
I suggest you turn on debug mode so that you can examine the request packets 
that are being sent to the server to confirm that they are complete.  Debug 
mode is turned on like this:

Seam.Remoting.setDebug(true)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110243#4110243

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110243
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Remoting periodic exception.

2007-12-03 Thread samdoyle
Anyone see this before?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110063#4110063

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110063
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user