Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Wiki Markup
Hello Michael

Thanks for having answered so promptly. In fact i have installed the Joget module in Drupal, and unfortunately the error persists. I already have the sources for Drupal Joget Module (PHP) and would like to obtain the sources for Drupal Directory Manager Plugin. The following is a copy of catalina log (at least the part i consider relevant):

14/06/2011 17:08:43 org.apache.commons.httpclient.HttpMethodBase getResponseBody
AVISO: Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.
14/06/2011 17:08:43 org.joget.plugin.directory.DrupalDirectoryManagerImpl authenticate
INFO: Authentication response body received <\!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN"
&nbsp; "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" version="XHTML+RDFa 1.0" dir="ltr"
&nbsp; xmlns:content="http://purl.org/rss/1.0/modules/content/"
&nbsp; xmlns:dc="http://purl.org/dc/terms/"
&nbsp; xmlns:foaf="http://xmlns.com/foaf/0.1/"
&nbsp; xmlns:og="http://ogp.me/ns#"
&nbsp; xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
&nbsp; xmlns:sioc="http://rdfs.org/sioc/ns#"
&nbsp; xmlns:sioct="http://rdfs.org/sioc/types#"
&nbsp; xmlns:skos="http://www.w3.org/2004/02/skos/core#"
&nbsp; xmlns:xsd="http://www.w3.org/2001/XMLSchema#">

<head profile="http://www.w3.org/1999/xhtml/vocab">
&nbsp; <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="http://localhost/pqdemo/misc/favicon.ico" type="image/vnd.microsoft.icon" />
<meta name="Generator" content="Drupal 7 (http://drupal.org)" />
&nbsp; <title>Access denied \| Portal da Qualidade</title>
&nbsp; <style type="text/css" media="all">@import url("http://localhost/pqdemo/modules/system/system.base.css?lmsesx");
@import url("http://localhost/pqdemo/modules/system/system.menus.css?lmsesx");
@import url("http://localhost/pqdemo/modules/system/system.messages.css?lmsesx");
@import url("http://localhost/pqdemo/modules/system/system.theme.css?lmsesx");</style>
<style type="text/css" media="all">@import url("http://localhost/pqdemo/modules/comment/comment.css?lmsesx");
@import url("http://localhost/pqdemo/modules/field/theme/field.css?lmsesx");
@import url("http://localhost/pqdemo/modules/node/node.css?lmsesx");
@import url("http://localhost/pqdemo/modules/search/search.css?lmsesx");
@import url("http://localhost/pqdemo/modules/user/user.css?lmsesx");
@import url("http://localhost/pqdemo/sites/all/modules/views/css/views.css?lmsesx");</style>
<style type="text/css" media="all">@import url("http://localhost/pqdemo/sites/all/modules/ctools/css/ctools.css?lmsesx");</style>
<style type="text/css" media="all">@import url("http://localhost/pqdemo/themes/bartik/css/layout.css?lmsesx");
@import url("http://localhost/pqdemo/themes/bartik/css/style.css?lmsesx");
@import url("http://localhost/pqdemo/themes/bartik/css/colors.css?lmsesx");</style>
<style type="text/css" media="print">@import url("http://localhost/pqdemo/themes/bartik/css/print.css?lmsesx");</style>

<\!--\[KB:if lte IE 7\]>
<link type="text/css" rel="stylesheet" href="http://localhost/pqdemo/themes/bartik/css/ie.css?lmsesx" media="all" />
<\!\[KB:endif\]-->

<\!--\[KB:if IE 6\]>
<link type="text/css" rel="stylesheet" href="http://localhost/pqdemo/themes/bartik/css/ie6.css?lmsesx" media="all" />
<\!\[KB:endif\]-->
&nbsp; <script type="text/javascript" src="http://localhost/pqdemo/misc/jquery.js?v=1.4.4"></script>
<script type="text/javascript" src="http://localhost/pqdemo/misc/jquery.once.js?v=1.2"></script>
<script type="text/javascript" src="http://localhost/pqdemo/misc/drupal.js?lmsesx"></script>
<script type="text/javascript" src="http://localhost/pqdemo/sites/all/modules/views/js/jquery.ui.dialog.patch.js?lmsesx"></script>
<script type="text/javascript">
<\!--//--><\!\[CDATA\[//><\!-\-
jQuery.extend(Drupal.settings, {"basePath":"\/pqdemo\/","ajaxPageState":{"theme":"bartik","theme_token":"GdO0Ld4tvQdYdFXijVoS4ieemtBZ4mX1d5qvRlLlqCU","js":{"misc/jquery.js":1,"misc/jquery.once.js":1,"misc/drupal.js":1,"sites/all/modules/views/js/jquery.ui.dialog.patch.js":1},"css":{"modules/system/system.base.css":1,"modules/system/system.menus.css":1,"modules/system/system.messages.css":1,"modules/system/system.theme.css":1,"modules/comment/comment.css":1,"modules/field/theme/field.css":1,"modules/node/node.css":1,"modules/search/search.css":1,"modules/user/user.css":1,"sites/all/modules/views/css/views.css":1,"sites/all/modules/ctools/css/ctools.css":1,"themes/bartik/css/layout.css":1,"themes/bartik/css/style.css":1,"themes/bartik/css/colors.css":1,"themes/bartik/css/print.css":1,"themes/bartik/css/ie.css":1,"themes/bartik/css/ie6.css":1}}});
//--><\!\]\]>
</script>
</head>
<body >
&nbsp; <div id="skip-link">
&nbsp;&nbsp;&nbsp; <a href="#main-content">Skip to main content</a>
&nbsp; </div>
&nbsp;&nbsp;&nbsp; <div id="page-wrapper"><div id="page">

&nbsp; <div id="header"><div>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="/pqdemo/" title="Home" rel="home" id="logo">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <img src="http://localhost/pqdemo/themes/bartik/logo.png" alt="Home" />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </a>
&nbsp;&nbsp; &nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <div id="name-and-slogan">

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <div id="site-name">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="/pqdemo/" title="Home" rel="home"><span>Portal da Qualidade</span></a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </strong>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </div>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </div> <\!-\- /#name-and-slogan \-->
&nbsp;&nbsp; &nbsp;
&nbsp;&nbsp; &nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <div id="main-menu">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <h2>Main menu</h2><ul id="main-menu-links"><li><a href="/pqdemo/">Home</a></li>
</ul>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </div> <\!-\- /#main-menu \-->
&nbsp;&nbsp; &nbsp;
&nbsp;&nbsp; &nbsp;
&nbsp; </div></div> <\!-\- /.section, /#header \-->

&nbsp;
&nbsp;
&nbsp; <div id="main-wrapper"><div id="main">

&nbsp;&nbsp; &nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <div id="sidebar-first"><div>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <div>
&nbsp;&nbsp;&nbsp; <div id="block-system-navigation">

&nbsp;&nbsp;&nbsp; <h2>Navigation</h2>
&nbsp;
&nbsp; <div>
&nbsp;&nbsp;&nbsp; <ul><li><a href="/pqdemo/ctools_ajax_sample">Chaos Tools AJAX Demo</a></li>
</ul>&nbsp; </div>
</div>
<div id="block-user-login">

&nbsp;&nbsp;&nbsp; <h2>User login</h2>
&nbsp;
&nbsp; <div>
&nbsp;&nbsp;&nbsp; <form action="/pqdemo/joget/login?destination=joget/login" method="post" id="user-login-form" accept-charset="UTF-8"><div><div>
&nbsp; <label for="edit-name">Username <span title="This field is required.">*</span></label>
&nbsp;<input type="text" id="edit-name" name="name" value="" size="15" maxlength="60" />
</div>
<div>
&nbsp; <label for="edit-pass">Password <span title="This field is required.">*</span></label>
&nbsp;<input type="password" id="edit-pass" name="pass" value="" size="15" maxlength="60" />
</div>
<div><ul><li><a href="/pqdemo/user/register" title="Create a new user account.">Create new account</a></li>
<li><a href="/pqdemo/user/password" title="Request new password via e-mail.">Request new password</a></li>
</ul></div><input type="hidden" name="form_build_id" value="form-Ap60YOHk2o-EoD71jtpUXhRtRosgKM9vnniC_oEQ_zU" />
<input type="hidden" name="form_id" value="user_login_block" />
<div id="edit-actions"><input type="submit" id="edit-submit" name="op" value="Log in" /></div></div></form>&nbsp; </div>
</div>
&nbsp; </div>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </div></div> <\!-\- /.section, /#sidebar-first \-->
&nbsp;&nbsp; &nbsp;
&nbsp;&nbsp;&nbsp; <div id="content"><div>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a id="main-content"></a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <h1 id="page-title">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Access denied&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </h1>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <div>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </div>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <div>
&nbsp;&nbsp;&nbsp; <div id="block-system-main">

&nbsp;&nbsp; &nbsp;
&nbsp; <div>
&nbsp;&nbsp;&nbsp; You are not authorized to access this page.&nbsp; </div>
</div>
&nbsp; </div>
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;
&nbsp;&nbsp;&nbsp; </div></div> <\!-\- /.section, /#content \-->

&nbsp;&nbsp; &nbsp;
&nbsp; </div></div> <\!-\- /#main, /#main-wrapper \-->

&nbsp;
&nbsp; <div id="footer-wrapper"><div>

&nbsp;&nbsp; &nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <div id="footer">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <div>
&nbsp;&nbsp;&nbsp; <div id="block-system-powered-by">

&nbsp;&nbsp; &nbsp;
&nbsp; <div>
&nbsp;&nbsp;&nbsp; <span>Powered by <a href="http://drupal.org">Drupal</a></span>&nbsp; </div>
</div>
&nbsp; </div>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </div> <\!-\- /#footer \-->
&nbsp;&nbsp; &nbsp;
&nbsp; </div></div> <\!-\- /.section, /#footer-wrapper \-->

</div></div> <\!-\- /#page, /#page-wrapper \-->
&nbsp; </body>
</html>

14/06/2011 17:08:43 org.joget.plugin.directory.DrupalDirectoryManagerImpl authenticate
GRAVE: Unable to parse JSON response from Drupal
org.json.JSONException: A JSONObject text must begin with '{' at character 1
&nbsp;&nbsp; &nbsp;at org.json.JSONTokener.syntaxError(JSONTokener.java:496)
&nbsp;&nbsp; &nbsp;at org.json.JSONObject.<init>(JSONObject.java:180)
&nbsp;&nbsp; &nbsp;at org.json.JSONObject.<init>(JSONObject.java:403)