Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Zimlets

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-21-2007, 12:16 PM
Member
 
Posts: 13
Default AjxRpc/Proxy Servlet: multiple requests?

Is there something between AjxRpc and the Proxy Servlet that prohibits multiple concurrent requests to the same server?

I have 2 AjxRpc.invoke calls that work if done in series, but if they overlap--call 2 started before call 1 has completed--I get a 500 back from Tomcat.

Thanks,

- John
Reply With Quote
  #2 (permalink)  
Old 08-24-2007, 01:27 PM
Member
 
Posts: 13
Default Thump thump thump

...is this thing on?
Reply With Quote
  #3 (permalink)  
Old 08-24-2007, 06:21 PM
Zimlet Guru & Moderator
 
Posts: 467
Default

Quote:
Originally Posted by jtroxel View Post
Is there something between AjxRpc and the Proxy Servlet that prohibits multiple concurrent requests to the same server?

I have 2 AjxRpc.invoke calls that work if done in series, but if they overlap--call 2 started before call 1 has completed--I get a 500 back from Tomcat.

Thanks,

- John
Not that I have seen. (in fact, I have gotten bitten by the somewhat variable ordering of responses anyways). What is in the text of the 500 error?
Reply With Quote
  #4 (permalink)  
Old 08-27-2007, 08:24 AM
Member
 
Posts: 13
Default Response from Tomcat/proxy

Printing out the results.text in the callback:

<html><head>...CHOP...</head><body><h1>HTTP Status 500 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Exception report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The server encountered an internal error () that prevented it from fulfilling this request.</u></p><p><b>exception</b> <pre>java.lang.NullPointerException

Is there a log file that might provide more details?

- John
Reply With Quote
  #5 (permalink)  
Old 08-27-2007, 08:49 AM
Zimlet Guru & Moderator
 
Posts: 467
Default

Quote:
Originally Posted by jtroxel View Post
Printing out the results.text in the callback:

<html><head>...CHOP...</head><body><h1>HTTP Status 500 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Exception report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The server encountered an internal error () that prevented it from fulfilling this request.</u></p><p><b>exception</b> <pre>java.lang.NullPointerException

Is there a log file that might provide more details?

- John
Yeah. Check the mailbox.log in /opt/zimbra/log
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.