Vaibhav Ghodake - 2010-04-29

Hi Suresh,

I changed the startup.bat contents as

@echo off
rem Ensure that java command points to appropriate JDK
@echo on
java -Xms256M -Xmx1024M -cp .;"%JENSOR_HOME%\lib\jensorjdk14-v112-win32.jar";"%JENSOR_HOME%\lib\jcommon-1.0.13.jar";"%JENSOR_HOME%\lib\jfreechart-1.0.10.jar";"%JENSOR_HOME%\lib\glazedlists-1.7.0_java14.jar" com.tcs.perc.jensor.UI.JensorProjectUI

Also followed the followed steps
Create System account in machine A for machine B
a. Launch JAW on server A
b. Go to Administration -> System Admin
c. Enter IP address or hostname of machine B
2) Create User account in machine A
a. Launch JAW on server A
b. Go to Administration -> User Admin -> Add User
c. Create a user and share the username / password with the developer
3) Create same User account in machine B i.e the developer machine
a. Launch JAW on server A
b. Go to Administration -> User Admin -> Add User
c. Create a user and share the username / password with the developer

After that i am trying to start the jensor by double clicking on startup.bat , it is showing the login dialog box, i am trying to login by admin user, at that time i am getting follwoing error.

C:\Program Files\Jensor\bin>java -Xms256M -Xmx1024M -cp .;"C:\Program Files\Jens
or\\lib\jensorjdk14-v112-win32.jar";"C:\Program Files\Jensor\\lib\jcommon-1.0.13
.jar";"C:\Program Files\Jensor\\lib\jfreechart-1.0.10.jar";"C:\Program Files\Jen
sor\\lib\glazedlists-1.7.0_java14.jar" com.tcs.perc.jensor.UI.JensorProjectUI
Finding Platform info …
Current platform is Windows XP
JC-006: JENSOR_HOME : C:\Program Files\Jensor\
Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException:
2
        at com.tcs.perc.jensor.UI.LoginActionListener.createHashtable(LoginActio
nListener.java:74)
        at com.tcs.perc.jensor.UI.LoginActionListener.actionPerformed(LoginActio
nListener.java:90)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.AbstractButton.doClick(Unknown Source)
        at javax.swing.AbstractButton.doClick(Unknown Source)
        at com.tcs.perc.jensor.UI.JensorProjectUI$1.keyPressed(JensorProjectUI.j
ava:552)
        at java.awt.Component.processKeyEvent(Unknown Source)
        at javax.swing.JComponent.processKeyEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
        at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)

        at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Sour
ce)
        at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Sour
ce)
        at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)

Thanks,
Vaibhav