hipergate home page
  Search:     Printer Friendly Castellano English 
Registered Users
  
  
  
» New User
» Forgot Password?

About
» What is hipergate
» Functional Modules
» Benefits
» Architecture

Demo
» Screenshots
» Demo

Documentation
» Install
» Manuals
» API Reference
» Case Studies

Support
» Forums
» Development Weblog
» SourceForge Tracker
» Commercial Support

Downloads
» License
» Downloads

Partners
» Become a Partner
» Find a Partner
 Private Area
» Authors

SourceForge.net

Development Weblog

RSS 2.0 Syndication
Batch uploading of contact attachments

In version 3.0 there is a new class for performing batch uploads of files for contacts.

Class com.knowgate.crm.AttachmentUploader can take a directory structure and attach the files placed there to the corresponding contact.

You must first create a directory anywhere.

Then place the files that you want to upload for each contact under a subdirectory whichh name is the contact guid, id. or passport number, for example:

/tmp/youruploadroot
    /id_of_contact_1
        file1.jpg
        file2.jpg
        file3.jpg
    /id_of_contact_2
        file1.jpg
        file2.jpg


When files are in place, call AttachmentUploader class from the command line:

java -cp hipergate.jar com.knowgate.crm.AttachmentUploader hipergate /tmp/youruploadroot guid_of_user_writting_files true

The first parameter "hipergate" is the name without extension of the .cnf properties file that contains the database connection information
The second parameter is the base path for files to be uploaded
The third is the GUID of the user that will we the writer of the file (a GUID from k_users database table)
The last parameter "true" or "false" tells whether or not the uploaded files must be deleted from the temporary directory after being attached to the contact

Any file not attached due to any given error will nor be deleted

21 Feb 2007 22:47:58 GMT  |  Comments 0  |  Write a Comment



Support for SQL Server 2000 in hipergate 3

hipergate 3 has no default support for Microsoft SQL Server 2000. However, hipergate 3 can run on SQL Server 2000. This is what to do: 1st) Copy the SQL 2000 JDBC driver JARs into /WEB-INF/lib directory of hipergate 3. 2nd) Open /admin/setup2.jsp page and uncomment the HTMl code 3rd) Re-start Tomcat 4th) Open Setup Assistant. If you have version 2.1 installed it will recognize it and perform the necessary data model updates. Remember that the JDBC driver class has changed. It is com.microsoft.jdbc.sqlserver.SQLServerDriver fro SQL 2000 but com.microsoft.sqlserver.jdbc.SQLServerDriver for 2005

21 Feb 2007 20:20:37 GMT  |  Comments 0  |  Write a Comment



Corp. Library & Windows XP SP2

There is a problem with the default security configuration of Windows XP Pro SP2 that causes the following error at the Java console of the web browser:
Line: 69
Car: 9
netscape.javascript.JSException: Failure to evaluate dipuClick();
at sun.plugin.javascript.ocx.JSObject.eval(Unknown Source)
at diputree.x(Unknown Source)

Just relax security constraint and the problem will disappear.

14 Jan 2005 19:15:04 GMT  |  Comments 3  |  Write a Comment



Converting PostgreSQL columns to HTML entities

One small need that we have found when building international versions is being able to encode some database columns as HTML entities.
Internally PostgreSQL stores columns in the selected encoding for the database (in our case UTF-8).
These two functions may be used to update a database column containing UTF-8 characters and convert them to HTML Unicode-16 numeric entities.

/* Convert a single character encoded as UTF-8 to an HTML entity */
CREATE FUNCTION k_utf8_to_ent (bytea) RETURNS VARCHAR AS '
DECLARE
  mbs  INTEGER;
  ret  VARCHAR(8);
BEGIN
  mbs := octet_length($1);

  IF mbs=1 THEN
    ret:=''&#x''||to_hex(get_byte($1,0))||'';'';
  ELSIF mbs=2 THEN
    ret:=''&#x''|| to_hex(((get_byte($1,0)&31)*64)
    +(get_byte($1,1)&63))||'';'';
  ELSIF mbs=3 THEN
    ret:=''&#x''|| to_hex(((get_byte($1,0)&15)*64*64)
    +((get_byte($1,1)&63)*64)+(get_byte($1,2)&63))||'';'';
  END IF;

  RETURN ret;
END;
' LANGUAGE 'plpgsql';

/* Convert a string encoded as UTF-8 to an HTML entity */
CREATE FUNCTION k_utf8_to_html (VARCHAR) RETURNS VARCHAR AS '
DECLARE
  len  INTEGER;
  ret  VARCHAR(1024);
  utf  VARCHAR(8);
BEGIN
  CREATE CAST (text as bytea) WITHOUT FUNCTION;
  len := char_length($1);
  ret := '''';
  FOR i IN 1 .. len LOOP
    SELECT k_utf8_to_ent(CAST(substring($1 from i for 1) AS bytea))
    INTO utf;
    ret:=ret||utf;
  END LOOP;
  DROP CAST (text as bytea);
  RETURN ret;
END;
' LANGUAGE 'plpgsql';


24 Dec 2004 19:21:11 GMT  |  Comments 0  |  Write a Comment



v2.0.17 Value too long for type CHARACTER(32)

A serious time-bomb bug has been identified at method com.knowgate.misc.Gadgets.generateUUID() which makes it generate unique identifier of 33 characters length if the system date is greater than November 4th 2004 (see bug 1061011).
Users of any previous version of hipergate 2.0 or 1.x must upgrade to 2.0.17.
A patch can be downloaded from http://www.hipergate.org/dist/hipergate/patches/hipergate-2.0.17-patch.zip

5 Nov 2004 19:23:41 GMT  |  Comments 0  |  Write a Comment



Oracle 9.2 and TIMESTAMPS

Versions of hipergate prior to 2.0.17 are not compatible with Oracle 9.2 or later.
This is due to the introduction of the TIMESTAMP type at the database.
(see http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq.htm#08_01).
Since 9.2 it is no longer possible to bind directly a java.util.Date into a DATE column of the database, but the Java object must be first casted to an oracle.sql.DATE.
This is done by private method com.knowgate.dataobjs.DBTable.bindParameter()

5 Nov 2004 19:18:22 GMT  |  Comments 0  |  Write a Comment



Java rated most popular

Java has been rated the most popular programming language by TIOBE Programming Community Index for August, 2004.
This index is determined by using the Google and Yahoo! search engines to calculate the ratings.
More information: http://www.developer.com/java/other/article.php/3390001

9 Aug 2004 16:37:57 GMT  |  Comments 0  |  Write a Comment



Strange Characters at the beginning of every JSP page

Several people have reported that the get some strange characters like "ο»Ώ" at the begining of every JSP page when using Tomcat 5.0.
These strange characters are the Unicode header for UTF-8 encoded files.
For an unknown reason, some (not all) Tomcat versions do not recognize properly UTF-8 files and send the strange characters to the client browser.
We have been unable to fix this problem, being the only solution changing all the JSP to ISO-8859-1 encoding.
This problem only affects 2.0.x versions since 1.x pages are already encoded as ISO-8859-1.

One solution is replacing UTF-8 included files from /methods directory by ASCII versions. The ASCII files are available at Patch 2.0.13

There is also another ISO-8859-1 full JSP replacement patch for v2.0.12 that can be downloaded from http://www.hipergate.org/dist/hipergate/patches/ just unzip the patch and overwrite the original 2.0.12 files with the ones from the patch.

For converting another JSP pages from UTF-8 to ISO-8859-1 you must:

1st) Replace contentType="text/html;charset=UTF-8" with contentType="text/html;charset=ISO-8859-1" at the beginning of each page.

2nd) Run this re-encoding routine:

  String [] files = new String[] {"addrbook/adrbkhome.jsp", "addrbook/editfellowtitle.jsp",...};


  com.knowgate.dfs.FileSystem oFS = new com.knowgate.dfs.FileSystem();

     String sBase = "/opt/knowgate/web-iso/";
  String sFile;

     int iFiles = files.length;

     for (int f=0; f<iFiles; f++) {
    sFile = oFS.readfilestr(sBase+files[f], "UTF-8");
    oFS.writefilestr(sBase+files[f], sFile, "ISO-8859-1");
  }
Finally, you can also remove UTF-8 prolog characters from all JSP files with this script courtesy of Lorenzo López
#!/bin/bash
for i in `grep "ο»Ώ" * -R | cut -f1 -d:` ; do 
cat $i | tr "ο»Ώ" ' ' > $i.new 
mv $i.new $i 
done
The script must be executed from the same directory where hipergate is installed (for example tomcat/webapps/hipergate).

29 Jun 2004 16:15:22 GMT  |  Comments 0  |  Write a Comment



v2.0.12 patch: Cumulative bug fix

v2.0.12 is a bug fixing small update.
It solves the following issues :
962864 QUERY COMPANIES WITCH NAME STARTS WITH ... RETURNS ALL ROWS
961102 UNABLE TO FIND SOME CONTACTS FOR COMPANY IN ORACLE
958676 STATEMENT CLOSED ASSIGNING USER TO MULTIPLE GROUPS
958203 DUTIES ASSIGNED TO LOOKUP NOT SHOWN


1 Jun 2004 23:57:35 GMT  |  Comments 0  |  Write a Comment



v2.0.9 patch: Compilation errors editing addresses and users

In version 2.0.8, when trying to add an Address for a Company or Contact or trying to edit a User, the following exception is raised:
HTTP Status 500 - type Exception report
message

description The server encountered an internal error () that prevented it from fulfilling this request.
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 8 in the jsp file: /common/addr_edit_store.jsp
An error occurred at line: 8 in the jsp file: /vdisk/usredit_modify.jsp

These errors can be fixed by applying patch 2.0.9


11 May 2004 15:25:34 GMT  |  Comments 0  |  Write a Comment



v2.0.8 release notes

This is the final stable 2.0 build.
It replaces previous 2.0.1-beta4 and v2.0.3-beta5.
Testing has only be done for english and spanish.
German and Italian versions are code freezed but have not been revised after translation.
German and Italian versions should be technically as stable as the english build, except for the Corporate Library and the Queries By Form witch are the most sensitive parts to translations.

Upgrading from previous 2.0 beta builds
If you have any build from 2.0.0 to 2.0.4 you may upgrade your datamodel to 2.0.8 using ModelManager Java class.
Go to the command line and type:
com.knowgate.hipergate.datamodel.ModelManager /etc/hipergate.cnf upgrade [200|201|202|203|204] 208
or
com.knowgate.hipergate.datamodel.ModelManager C:\WINNT upgrade [200|201|202|203|204] 208 if using Windows.

Usability enhacements:
947700 CREATE USER FROM EMPLOYEE
948017 VIEW CALLS FROM CONTACT RECORD
943417 WHOLE DAY MEETINGS


Fixed Bugs:
947336 ARRAYINDEXOUTOFBOUNDS ON APPLICATION STARTUP
943349 CANNOT CREATE PHONE CALL FROM LISTING
938920 CANNOT RESOLVE SYMBOL : METHOD GETLOCALE() SAVING PRODUCT
937311 K_SP_PRJ_COST INVALID IDENTIFIER VIEWING PROJECT DETAILS (Oracle only)
936008 CONFIGURATION TAB NOT SHOWN IN MOZILLA


Special Note for Oracle version
Best load directly the database from HG2ORCL9.DMP binary dump, as ModelManager sometimes leave invalied stored procedures and triggers after initial database creation.
If you stil use ModelManager, open a SQL query tool after loading the database and execute SELECT * FROM USER_OBJECTS WHERE STATUS='INVALID' . Then recompile any invalid objects.

4 May 2004 23:13:40 GMT  |  Comments 0  |  Write a Comment



v2.0.3 beta5 notes

We have published a bug fixing new 2.0.3 beta 5 build.
It addresses the following issues present at 2.0.2 beta 4 :
938149 MEETINGS DO NOT SHOW UP IN OTHER PERSONS CALENDAR
938125 FUNCTION NVL(CHARACTER VARYING, "UNKNOWN") (only PostgreSQL)
937992 SPANISH LOOKUP VALUES FOR TO DO TASKS SHOWN IN ENGLISH
937987 CONSTRAINT C1_TO_DO VIOLATED WHEN FINISHING TO DO TASK
937978 OFF BY ONE LISTING ERROR
937839 MONTH MISMATCH ON SAVING DATES
937832 UNABLE TO CREATE MEETINGS THAT END AT 9:00AM
937385 NULLPOINTEREXCEPTION WHEN CREATING NEW WORKAREA (Oracle only)
936550 CONTACTS WITHOUT TITLE REPEATED (Oracle only)
936537 NULLPOINTEREXCEPTION WHEN INSERTING A CONTACT
936351 LOGOUT DOES NOT DELETE COOKIES
934393 JAVASCRIPT ERROR ON APPLICATION LOGOUT

19 Apr 2004 23:49:17 GMT  |  Comments 0  |  Write a Comment



v2.0 release notes

Unicode support
Version 2.0 works internally with Unicode character set. The JSP page encoding has been changed from ISO-88-59-1 to UTF-8. The database must be also created with Unicode encoding, except for Microsoft SQL Server 2000 where hipergate automatically created NVARCHAR columns on ASCII databases.

Mozilla Support

To-Do list and phone calls registration
New features at collaborative tools.

Customer's Bank Accounts Management
It is now possible to associate a bank account set to each customer

Customer's order history
From each contact form there is a link for displaying his order history

Product Families per Customer
Customers can be associated with product categories from the shop marking what they usually buy.

Recent Contacts and Companies quick access
This is a usability enhacement:
the most recently accessed Contacts and Companies are displayed at Contact Manager home page.

Geographic Thesauri
Companies and Contacts may be classified into an arbitrary hierarchy.

Sales Forecasting and Oportunity Win/Loss reports
A couple of special queries produce Excel dumps showing Sales Forecasts and Commercial Leads pos-mortem tracking.

Delete Project Incidences
Incidences can now be deleted at the Project Manager and not just Closed.

List Members Query Optimization
The view v_member_address (the most costly to execute of the whole application) has been replaced by the materialized view k_member_address (physical table) witch holds the same information as v_member_address but is mantained up to date with triggers. This trades of space and a little insert overhead for better speed when querying list members. The effect is most noticeable in PostgreSQL.

Technical Changes
  • new versions of JDBC drivers for Oracle 9.2, MSSQL 2000 SP1 and PostgreSQL 7.4 are redistributed instead of the old Oracle 8.0, MSSQL 2000 and PostgreSQL 7.3.
  • savarese.oromatcher-1.1.0a.jar has been replaced with jakarta-oro-2.0.8.jar.
  • enterprisedt.ftp-1.2.2.jar is now included inside hipergate.jar.
  • new package org.webengruven.javaOTP for WebMail support

TO DO for v2.1
  • WebMail (top priority).
  • Newsgroups e-mail subscriptions management.
  • Job Scheduler Java Thick client controller.


14 Apr 2004 17:28:15 GMT  |  Comments 0  |  Write a Comment



WebDav, SyncML and LDAP

These are some interesting questions posted by an hipergate community member that may be of general interest.

Does hipergate 2.0 support WebDav?
This feature is on the roadmap for v3.0 scheduled for october 2004. The WebDav interface will be used by a thick client capable of doing online backups of your hardrive on the background.

Does hipergate 2.0 support SyncML and PDA synchronization?
SyncML and PDA synchronization is another feature currently on the drawing board for v3.0. We have been talking about PDAs since we start the product development in 2002. But there is few critical mass for the development to pay-off. It is nice but there is no return of investment so we have been delaying its implementation in favor of other things less cool but more profitable.

Is it possible to integrate hipergate with LDAP?
It is fairly simple to integrate hipergate with LDAP.
All application security logic (witch is not very much) is concentrated in com.knowgate.acl package. Just changing com.knowgate.acl.ACL.autenticate() method would allow to change the authentification procedure for JSP pages.
The user password is stored at k_users table. It is easy to write a subroutine that mantains LDAP and hipergate DBMS synchronized.
The only module that you can not easily migrate to LDAP is the Corporate Library because the need to give permissions to groups and users for each category and be able to propagate that permissions throught the categories hierarchy when they are changed. For performance reasons, this logic is mostly implemented in database stored procedures that are not easy to port to LDAP.

14 Apr 2004 17:02:53 GMT  |  Comments 0  |  Write a Comment



Corporate Library Search Capabilities

Full Text Search
One of the features that was intentionally left out for version 1.x and 2.x was full text search for Corporate Library documents.
Althought hipergate distros include a copy of Jakarta Lucene text search engine, we belive that searching is something that must be implemented on a per project basis.
There are two reasons for this decision:
1st) Good searching usually implies a kind of tunning that is very difficult to accoplish in a standard distro and
2nd) We don not know of any easy way of feeding the indexer with different kinds of documents (Word, PDF, Impress, etc).

Some limited indexing facilities are included in the product.
The package com.knowgate.lucene contains an example of how to index news messages and bugs. Messages and Bugs are easy to index because they are plain text or, at most, HTML.
For each text query, the indexer just looks for the specified words and return a list of the GUIDs of messages or bugs that contain that searched words.
Since each Document at the corporate library is stored as a product at k_products table and there is a GUID for each Product, it is possible to use some class similar to com.knowgate.lucene.Indexer for indexing document as long as this class has an actual way of extracting plain text from uploaded documents.

OLE Properties Indexing
When a Microsoft Format File is uploaded the corporate library uses Jakarta POI for reading its OLE properties and storing some of them at k_prod_attr table. This is a very limited form of indexing and it does not work for OpenOffice files since they do not contain OLE properties.

Document keywords List
Finally there is a special table for storing a keyword list associated with each document k_prod_keywords. This table is not used in the standard build but only in custom product implementations.

13 Apr 2004 19:46:26 GMT  |  Comments 0  |  Write a Comment



Snail mail management

Several people have requested a module for printing envelopes and stikers. It is unlikely that we never implement this feature since it is fairly easy to do by exporting a query in Excel or CSV format and then using your favourite text processor for the task.

13 Apr 2004 19:07:45 GMT  |  Comments 0  |  Write a Comment



The translation "Wiki"

Under the Private Partners Area we have opened the new full web based translation "Wiki".

This is a solution to the problem of having the Access table with over 3800 hipergate literals ruling all over the internet whilst it is filled by several translators.

Now people willing to localize hipergate can just register as partners, login into the web based translation environment and cooperate with other in the production on localized version.
The same rules of localization of v1.x apply to the v2.0 Wiki: the main job is translating the literals database, but there also some other minor tasks such as translating the lookup tables and the Queries By Form XML files placed at /storage/qbf directory.

Several important rules must be observed when using the Wiki

1st) Notify us what your are doing. Since you may be doing the same job as someone else if you just start it on your sole behalf.
2nd) Edit only the columns of english and your language. Do not keep several language columns active, since they are all updated when you click Save.
3rd) When you click Save all literals visible on screen are updated. This means that is your are displaying 100 literals then that 100 literals are all updated.
4th) Once you are done, you must request us a new build that you can view online or download.

Sample Screenshot

7 Apr 2004 22:11:11 GMT  |  Comments 0  |  Write a Comment



Tomcat and Character Encodings

We have found that the combination of doing:

<%@ page contentType= "text/html;charset=UTF-8" language= "java" pageEncoding= "UTF-8" %>
<FORM METHOD="post" ENCTYPE= "text/plain;charset=UTF-8 "></FORM>

and

<% request.setCharacterEncoding( "UTF-8 "); %>

at server side.

Does not work on versions of Tomcat prior to 4.1.29. It is necessary to write some code like:

String str = request.getParameter("...");
if request.getCharacterEncoding()==null) {
  try { str = new String(str.getBytes("8859_1"),"UTF8"); }
  catch (java.io.UnsupportedEncodingException neverthrown) {}
}


Additionally we have also found what it seems to be a serious bug in Tomcat 5. The <%@ include file="..." %> directive always include files as if they were ISO-8859-1. So if the included file is Unicode then strange characters appear at JSP output.
This bug does not seem to affect to Tomcat 4.x.

5 Apr 2004 22:22:44 GMT  |  Comments 0  |  Write a Comment



Detecting Unicode Files

We are having dificulties in finding a good algorithm for detecting UTF-16 and UTF-8 files.
As far as we have found, this works fairly well :

String sEncoding = "US-ASCII";
byte byBuffer[] = new byte[3];
FileInputStream oInStrm = new FileInputStream("/tmp/textfile.txt");
int iReaded = oInStrm.read(byBuffer, 0,3);

if (byBuffer[0]==-1 && byBuffer[1]==-2 ) // FF FE
  sEncoding = "UTF-16LE";
else if (byBuffer[0]==-2 && byBuffer[1]==-1 ) // FE FF
  sEncoding = "UTF-16BE";
else if (byBuffer[0]==-17 && byBuffer[1]==-69 && byBuffer[2]==-65) // EF BB BF
  sEncoding = "UTF-8";

oInStrm.close();

Once the encoding is recognized the following code may be used for reading the file into a String:

File oFile = new File("/tmp/textfile.txt");
char aBuffer[] = new char[(int) oFile.length()];

FileInputStream oInStrm = new FileInputStream(oFile);

InputStreamReader oReader = new InputStreamReader(oInStrm, sEncoding);

int iReaded = oReader.read(aBuffer, 0, (int) oFile.length());

// Skip FF FE character mark for Unidode files
int iSkip = ((int)aBuffer[0]==65279 || (int)aBuffer[0]==65534 ? 1 : 0);

String sFileText = new String(aBuffer, iSkip, iReaded-iSkip);

oReader.close();
oInStrm.close();

We use UltraEdit 10.10a for editing files. When Auto detect UTF-8 files is enabled -at Advanced Configuration- all Unicode files (UTF-8 and UTF-16) are edited starting with FF FE but saved as UTF-8 starting with EF BB BF. It is not posible to open UTF-8 files in hexadecimal mode with UltraEdit unless Auto detect UTF-8 is disabled.

1 Apr 2004 21:19:36 GMT  |  Comments 0  |  Write a Comment



Windows Address Book Import for v1.x

When we started the development of hipergate back in year 2002, we early included as a key feature the hability to import contacts from e-mail clients, particularly, Outlook Express based on WarJo's Windows Address Book Component (wjwab), an ActiveX library written for VC++ 6.0. Later interest on Outlook Express decreased and WJWAB was discontinued so we froze the development line about WAB imports.
There is no direct link to WAB import code anywhere in hipergate 1.x, but the import page can be openened directly at /wab/wabframe.html
This is an alpha version implementation, it was on working order in the past, but has been a long time since we last test it. It is not able of detecting duplicated entries, so if you import your WAB twice your contacts will be duplicated.
WJWAB Source Code
WJWAB Release version (DLL)

17 Mar 2004 13:21:57 GMT  |  Comments 2  |  Write a Comment



JSP container migrated to UTF-8

We have uploaded to CVS the beta version of hipergate 2.0 with UTF-8 encoding.
A slight but important change has been made to all JSP from v1.1 changing
<%@ contentType="text/xml;charset=ISO-8859-1" %>
for
<%@ contentType="text/xml;charset=UTF-8" %>
and adding <% request.setCharacterEncoding("UTF-8"); %> to file /methods/dbbind.jsp.

It is unclear right now whether or not all servlet containers will recognize request.setCharacterEncoding("UTF-8") properly (at least Tomcat 4.1 does). Many JSP containers assume that parameters/post data arrive to the server in server's charset. Some simply assume it is always Latin-1. Ideally, you wouldn't have to worry about this and you would just say:

String nm_company = request.getParameter("nm_company");

However, you will most likely have to do something like this:

public String recode (String badDecoded) throws java.io.UnsupportedEncodingException {
    byte[] goodOriginal = badDecoded.getBytes("ISO-8859-1"); // or whatever is assumed on the server
    return new String(goodOriginal, "UTF-8"); // if UTF-8 is used as the charset of the form
}
String nm_company = recode (request.getParameter("nm_company"));


The best place to deal with re-encoding if is at loadRequest() method of /methods/reqload.jspf and /methods/multipartreqload.jspf files. Just changing the statement s = s.trim() by s = recode(s.trim())

Two points are important.
A. Regardless of the actual encoding of the form or URL data, many JSP containers simply take those bytes and assume Latin-1 when creating String objects. However, you may need to discover the actual behavior of your server.
B. Once you get a byte[] in the original encoding as it arrived from the browser, you probably want to recreate a String. The encoding used to get the byte[] and the encoding used to create a new String are *not* necessarily the same. Note that IE defaults to UTF-8 for submitting form/URL parameters regardless of the contentType of the form.
Partial message explanation by John O'Conner

7 Mar 2004 22:42:19 GMT  |  Comments 0  |  Write a Comment



Oracle and Unicode

After carefully reading Oracle documentation we have decided to drop partial Unicode support for Oracle and require that the whole database is created with Unicode encoding instead of handling VARCHAR2 as ASCII and NVARCHAR2 as Unicode.
According to the SQL NCHAR Datatypes Documentation from Oracle9i JDBC Developer's Guide and Reference method oracle.jdbc.OraclePreparedStatement.setFormOfUse() must be called before binding any PreparedStatement parameter. There is no easy way to do this in hipergate back-end and JSP pages without a lot of re-coding.
For a guide about how to create multilingual Oracle databases read Creating an Oracle Database and Enabling Multilingual Support with Unicode Databases and Deploying Unicode with NCHAR SQL Data Types.

7 Mar 2004 14:37:15 GMT  |  Comments 0  |  Write a Comment



Support for Oracle 9i

We have been testing hipergate 1.1 with Oracle 9i Enterprise Edition release 9.2.0.1.0 for Windows and everything seems to work fine. The JDBC driver must be changed, the one for Oracle 8 that is distributed with 1.1 builds is not valid. By the way, testing Oracle we have found a serious bug in the webbuilder that affects builds 1.1.0 to 1.1.5 for Oracle making impossible to add or edit HTML blocks.

7 Mar 2004 14:09:40 GMT  |  Comments 1  |  Write a Comment



Working with Tomcat 5

Several days ago we found some posts on our support forums talking about Tomct 5. As we are working realy hard on the 2.0 version of hipergate, we missed the new releases of Tomcat, thinking that our "keep-it-realy-simple" configuration would work.

A security issue discussed several months ago talked about disabling the default "invoker" servlet in any web.xml file, although this servlet was enabled and the servlet-mapping was removed. Now with Tomcat 5 the servlet itself is also disabled by default, so loading hipergate will end in an error trying to load the web.xml file inside WEB-INF.

Now that Tomcat is a realy serious servlet container, we don't need that "hacks" anymore. In the next release we will remove the bogus lines that call to the default "invoker" servlet. By the way, you can remove the conflicting lines in WEB-INF/web.xml to try Tomcat 5.0.19 :)
<!--
  <servlet-mapping>
    <servlet-name>invoker</servlet-name>
    <url-pattern>/servlet/*</url-pattern>
  </servlet-mapping>
-->


6 Mar 2004 22:10:34 GMT  |  Comments 0  |  Write a Comment



Shared Categories patch for v1.1

Due to a bug report from Alfredo Giordano, we have released patch for shared corporate library categories in v1.x. Altought sharing web folders among users was included in the design from the begining, we did never provided an easy way of setting up shared categories in v1.1. Moreover, there is a serious bug in all 1.x versions for PostgreSQL that generates a permissions denial problem for sahred categories. The patch is available from SourceForge

5 Mar 2004 00:43:48 GMT  |  Comments 0  |  Write a Comment



RSS content syndication for hipergate Forums

We have been working on a little code pieces for generating RDF Site Summary (RSS) content syndication from hipergate forums. At the begining it seems like a complete mess because we where confused about the big syntactic differences among RSS 0.91, 1.0 and 2.0 but finally we catched the concept and we shall be distributing with v2.0 a couple of very simple JSP pages that will automatically generate RSS 1.0 and RSS 2.0 files for hipergate forums.

5 Mar 2004 00:27:12 GMT  |  Comments 0  |  Write a Comment



Topics

• Batch uploading of contact att...
• Support for SQL Server 2000 in...
• Corp. Library & Windows XP SP2
• Converting PostgreSQL columns ...
• v2.0.17 Value too long for typ...
• Oracle 9.2 and TIMESTAMPS
• Java rated most popular
• Strange Characters at the begi...
• v2.0.12 patch: Cumulative bug ...
• v2.0.9 patch: Compilation erro...
• v2.0.8 release notes
• v2.0.3 beta5 notes
• v2.0 release notes
• WebDav, SyncML and LDAP
• Corporate Library Search Capab...
• Snail mail management
• The translation "Wiki"
• Tomcat and Character Encodings
• Detecting Unicode Files
• Windows Address Book Import fo...
• JSP container migrated to UTF-...
• Oracle and Unicode
• Support for Oracle 9i
• Working with Tomcat 5
• Shared Categories patch for v1...
• RSS content syndication for hi...
  
  Problems with this page?, email webmaster@hipergate.org
index.cgihipergate © 2003-2006 KnowGate. All rights reserved [Legal] [Contact] [Valid HTML 4.01] [Valid CSS!]index.cgi