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 01-22-2008, 12:18 PM
New Member
 
Posts: 4
Default uncaught exception: AjxException

Hi, I have firefox with firebug instaled, in my first zimlet i have an error and i dont know how i can fix it. The error uncaught exception: AjxException appears in the firebug window and the zimlet dont work, i check the opt/zimbra/log/httpd_access.log but nothing. The zimlet call a perl script in my server in the port 7780, the script work fine in the server.

the error appear when the OK button is pressed.

The zimlet is attached.

Any idea?
Attached Files
File Type: zip com_zimbra_jentek.zip (2.8 KB, 3 views)
Reply With Quote
  #2 (permalink)  
Old 01-22-2008, 12:46 PM
Zimlet Guru & Moderator
 
Posts: 467
Default

Quote:
Originally Posted by jmardones View Post
Hi, I have firefox with firebug instaled, in my first zimlet i have an error and i dont know how i can fix it. The error uncaught exception: AjxException appears in the firebug window and the zimlet dont work, i check the opt/zimbra/log/httpd_access.log but nothing. The zimlet call a perl script in my server in the port 7780, the script work fine in the server.

the error appear when the OK button is pressed.

The zimlet is attached.

Any idea?
Take a look at the stack when the exception is thrown, or set a breakpoint in Firefox on where AjxException is instantiated, and see if you can figure out what the exception is over.
Reply With Quote
  #3 (permalink)  
Old 01-22-2008, 01:39 PM
New Member
 
Posts: 4
Default

i found the problem, when the code:
AjxRpc.invoke(reqParam, url, reqHeader, new AjxCallback(this,
this._resultCallback))

is executed the AjxException is launched, i dont found where is the documentation about the AjxRpc.invoke function.

the parameters are:
var myserver = location.host;
var url = 'http://' + myserver + ':7780/cgi-bin/jentek.pl';
var run = AjxStringUtil.urlEncode(rut);
var numero = AjxStringUtil.urlEncode(number);
var pass = AjxStringUtil.urlEncode(password);
var reqParam = 'rut=' + run + '&numero=' + numero + '&password=' + pass;
var reqHeader = {"Content-Type":"application/x-www-form-urlencoded"};


any links to documentation or ideas for fix the problem.
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.