Hi Zoran,
    i am really sorry the installation is causing you such trouble. We are really concerned to help you resolve this.
I think you've pointed out the problematic point yourself:
   to make things easier to install (sometimes) we also modify catalina.bat. And in the case this did not happen correctly this causes the problems between the plugin and the KIM Server.
I will explain why:
    the plugin is using an annotation server running under tomcat to communicate to the KIM Server. This annotation server is dependent on a parameter being passed to it, through a call in catalina.bat. And for this purpose catalina.bat is being modified on install time. And the problem is due to the version of the tomcat.
It is our mistake we did not see earlier what version you are using.
please refer to your system documentation
.../doc/sys-doc/kim-platform-administration/configure-kim-webui.html
or
http://www.ontotext.com/kim/doc/sys-doc/kim-platform-administration/configure-kim-webui.html

where the problem is explained.

i just found out that there are differences between the most up-to-date documentation and what is available in the installation or on the web site. So i am also attaching it.

i hope this resolves this issue !
good luck and thank you for your patience
borislav


Zoran Jeremic wrote:
Hi Danko
 
I'm using KIM Plugin 1.7 which came in the same package with Kim-platform-1.7.12.15.
I have used windows vista before and I have installed Windows XP in order to use KIM platform, so there is no chance  that there was an older version of KIM Plugin before. But I have tried to uninstal and install it again after upgrading from MSIE 6 to MSIE 7.
 
There was one problem during KIM platform installation. It reported problem that catalina.bat could not be found in Tomcat/bin folder.  I check it, and found that file does not exist so I cann't start Tomcat service from KIM Platform start menu, but I can do it from
Tomcat start menu, so I suppose that it could not be the problem.
 
The second thing I am suspicious for is that Windows XP is my second OS (non C: particion). Everything that is used is on D: partition. Maybe KIM Plugin trying to reach some resource on C: particion?
 
I don't have any more ideas about what could cause the problem. Here I'm sending you the content of Tomcat, KIM and Sesame console in attachment, as well as Tomcat log files created when I have trying to start KIM Plugin.
 
I hope it will help you to get some ideas about the problem
 
Zoran

DanKo <[EMAIL PROTECTED]> wrote:
Hi Zoran,
 
I have tried to reproduce your problem but not quite succeeded.
 
One possible cause could be - if you had an older version of the plugin installed
and the installation of the new version couldn't replace the old one. Then
it happens that the old version of the plugin tries to work with the new version
of KIM.
 
--> Check if the Version of the PlugIn is 1.7
 
To help reproducing your problem, it would be of great help if you could
check the Tomcat console and the KIM console after the error message
appears. Please copy their content and send it to me as text files.
 
Also some URLs which cause problems would help me get closer to your situation
 
All the best!
DanKo
-------- Original Message --------
Subject: Re: [KIM-discussion] problems with KIM Plugin
Date: Thu, 23 Aug 2007 10:24:34 +0300
From: borislav popov <[EMAIL PROTECTED]>
To: Zoran Jeremic <[EMAIL PROTECTED]>, "'[KIM-discussion]'" <[email protected]>
References: <[EMAIL PROTECTED]>


Thank you Zoran,
    this will make it easy for us to check and try to reproduce the problem.
will get back to you soon
borislav

Zoran Jeremic wrote:
Hi Borislav,
 
Thank you for your help. Here are the information that you asked:
 
- version of the KIM Server 1.7.12.15. I have downloaded KIM Platform few days ago.
 
- version of MSIE - First I have tried with IE 6, and when I failed to run KIM Plugin I have upgrade it to the IE 7 (7.0.5730.11). When I press Annotate bar, progress bar shows some progress before I get error message.
 
- OS version Windows XP SP2 (5.1.2600 Build 2600)
 
- Apache Tomcat 5.5 and 6.0. I have tried both of them.
 
Regards
Zoran

borislav popov <[EMAIL PROTECTED]> wrote:
Hi Zoran,
    to reproduce your problem it seems like we will need the following:
- version of the KIM Server
- version of MSIE
- OS version
   
    thanks for your patience, we will try to help you asap.
borislav

Zoran Jeremic wrote:
Hello everybody,
 
I'm trying to start the KIM platform to see its posibilities but I'm stucked with Internet Explorer plug-in. I've tried to start the platform and plug-in on two different computers and always get same error messages. I think I have done everything from the manuals. Sesame, KIM, and tomcat have started fine. I have populated a Document Store with KIM predefined corpus. KIM Web UI is available, and I can make some entity pattern search or keyword search or browse ontology. However if I try to Annotate some pages from Internet Explorer plug-in I always get one of the following error messages:
 
Warning:

There are no Annotation marks, generated for this page!
Possible reasons:
1) The page does not contain any text
2) The page contains frames
3) There is a problem with Annotation Server.
 
or
 
Microsoft Visual C++ Runtime Library Runtime Error!
 
Program: D:\Program Files\Internet Explorer\IEXPLORER.EXE
 
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
 
Can somebody tell me what I am doing wrong or what I have miss to do?
 
Zoran

Park yourself in front of a world of choices in alternative vehicles.
Visit the Yahoo! Auto Green Center.

_______________________________________________ NOTE: Please REPLY TO ALL to ensure that your reply reaches all members of this mailing list. KIM-discussion mailing list [email protected] http://ontotext.com/mailman/listinfo/kim-discussion_ontotext.com

No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.1/963 - Release Date: 8/20/2007 5:44 PM


Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's on, when.
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more.

No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.1/965 - Release Date: 8/21/2007 4:02 PM


__________ NOD32 2475 (20070822) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com

_______________________________________________
NOTE: Please REPLY TO ALL to ensure that your reply reaches all members of this mailing list.

KIM-discussion mailing list
[email protected]
http://ontotext.com/mailman/listinfo/kim-discussion_ontotext.com



__________ NOD32 2475 (20070822) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com


No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.484 / Virus Database: 269.12.2/967 - Release Date: 8/22/2007 6:51 PM



__________ NOD32 2475 (20070822) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com



Luggage? GPS? Comic books?
Check out fitting gifts for grads at Yahoo! Search.

No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.2/967 - Release Date: 8/22/2007 6:51 PM


Title: KIM WebUI
Administration :: Configuration :: KIM WebUI

KIM WebUI

This configuration manual of the KIM WebUI is intended to be used in one of the following two cases:
  • the user skipped configuring WebUI when promted during the KIM install, had no Tomcat installed or pointed to an invalid Tomcat folder, and at present wants to configure the WebUI manually on the same machine
  • the user wants the WebUI to run on a separate machine from the KIM Server, i.e. needs to copy and configure it there
  • some error occured during installation and the automatic configuration failed (e.g. Tomcat 5.5.x and 6.0.x for Windows are installed as services only, so they don't have the %TOMCAT_HOME%/bin/*.bat(*.sh) start/stop scripts that KIM WebUI uses)
Down below some steps are given that are valid for both cases. All these steps are usually performed automatically by the install application. But even though it cannot cover the second case, so following this guide and performing them manually should be quite useful.

Requirements :
In order for KIM WebUI to be able to connect to the KIM Server (to the machine where the sever runs) some conditions must be met:
  • If a proxy runs there it must be configured to open the port that KIM Server is available at for connections through RMI (by default 1099).
  • The JVM that KIM Server uses must be configured so that it allows calls on that port too. This is done by editing permissions in:
        (JRE) /$JRE/lib/security/java.policy
        (JDK) /$JDK/jre/lib/security/java.policy
Preparations :
  1. Install Tomcat on the machine you want.
  2. Install KIM Platform on the machine you want the KIM Server to run on, follow the install instructions and when prompted for Tomcat folder just cancel the dialog that appears. However, after the install you will still have the WebUI files available, so you can manually configure it to run wherever you want.
  3. From the install path of the KIM Platform go to the %KIM_HOME%/KIM Clients folder and get from there:
        - KIM.war
  4. In order not to go back to the KIM Server machine in the proccess of the following WebUI configuration just take some notes that will be needed:
        - host name or IP
        - JVM environmental variables from bin/config_kim.bat or ./bin/config_kim.sh e.g. :
    
        REM **********************************************************
        REM * config_kim.bat
        REM **********************************************************
        
        REM *** KIM Server installation folder ***
        set KIM_HOME=< kim home folder here >
        set KIM_CONTEXT=D:/kim/context/kim-platform
    
        REM *** SWAN installation folder ***
        set SWAN_HOME=%KIM_HOME%/kim-cluster
        set SWAN_RMI_HOST=-D"java.rmi.server.hostname=localhost"
    	
    or
    
        ##########################################################
        # config_kim.sh
        ##########################################################
        
        ### KIM Server installation folder ###
        export KIM_HOME='< kim home folder here >'
        export KIM_CONTEXT="$KIM_HOME/context/default"
    
        ### SWAN installation folder ###
        export SWAN_HOME="$KIM_HOME/kim-cluster"
        export SWAN_RMI_HOST=-D'java.rmi.server.hostname=localhost'
    	
  5. Go to the server where WebUI will run, go to the %TOMCAT_HOME%/webapps folder and place there the file you copied on step (3) :
        - KIM.war
Configure :
  1. Edit the kwebui.config file and set the parameters for
        - kim-rmi-host
        - kim-rmi-port
  2. Finally, here is the most unpleasant part. Go to the %TOMCAT_HOME%/bin folder and edit catalina.bat or respectively catalina.sh file:
        - place those JVM variables you took note of earlier in the beggining of the file, just after the comments
        - change the SWAN_RMI_HOST variable only, so that instead localhost there is placed the KIM Server machine name or IP
        - leave the rest of them as they are, paths must be as they are on the KIM Server machine
        - and to finish, place these variables everywhere in the file where java is invoked to make it look like this (the presence of the quotes is essential):
    
       %_EXECJAVA% %JAVA_OPTS% -D"kim.home.dir=%KIM_HOME%" -D"kim.context.dir=%KIM_CONTEXT%" -D"swan.home.dir=%SWAN_HOME%" %SWAN_RMI_HOST% .......    
       
    or
    
       "$_RUNJAVA" $JAVA_OPTS -D"kim.home.dir=$KIM_HOME" -D"kim.context.dir=$KIM_CONTEXT" -D"swan.home.dir=$SWAN_HOME" $SWAN_RMI_HOST .......    
       


Specifics : configuring KIM WebUI when Tomcat runs as a service (Windows only)
  1. Do the entire Preparations section and make the configurations as in step (1) from the Configure section.
  2. Repeat the same actions as in step (2) from from the Configure section but instead of editing catalina.bat or respectively catalina.sh file open Configure Tomcat from your Tomcat program menu group. Add all the above Java options in the Java Options field on the Java tab of the dialog box that will appear using particulal values instead of shell script variables. Your addition should look like this:
    
       -D"kim.home.dir=c:\kim-platform"
       -D"kim.context.dir=c:\kim-platform\context\default"
       -D"swan.home.dir=c:\kim-platform\kim-cluster"
       -D"java.rmi.server.hostname=localhost"
       
  3. You may also optionally need to manually copy %JAVA_HOME%/lib/tools.jar from the JDK to the %TOMCAT_HOME%/common/lib directory in order to be able to compile JSP pages.
  4. Restart of the Tomcat service is required for the changes to take effect.


After finishing all those configuration tasks, run your KIM Server, run your Tomcat (on the separate machine) and try playing with the WebUI on the following address:

    http://host:port/KIM

where host is the name or IP of the machine you run the WebUI on, and port is the port you configured Tomcat to run on.

Administration :: Configuration :: KIM WebUI
_______________________________________________
NOTE: Please REPLY TO ALL to ensure that your reply reaches all members of this 
mailing list.

KIM-discussion mailing list
[email protected]
http://ontotext.com/mailman/listinfo/kim-discussion_ontotext.com

Reply via email to