SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
External exception on JalScript.Execute

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
External exception on JalScript.Execute
Author Message
Mark



Joined: 09 Jan 2002
Posts: 32

Post External exception on JalScript.Execute Reply with quote

I am running the same VBScript Job on two different
boxes(1. Windows 2000 sp2 2. NT4 sp6). I have narrowed
the problem to the JalScript.Execute command.
The Windows 2000 box works just fine but the NT4 box
gives the following errors in the trace.

VBS Starting script execution
JALSS JALScript Service loaded
JALSS Request Event 480, Stop Event 508, Read Pipe 512, Write Pipe 516
JALSS JALScript Service Listener started
VBS Invoking sub Main...
VBS VBScript error detected
VBS External exception caught in script object!
JALSS JALScript Service Listener stopped
VBS Script finished
VBS Processing Error #21
External exception caught in script object!

JALSS JALScript Service unloaded

My 24x7 Scheduler version is 3.3.1 on both.

Any ideas?

Thanks,
Mark

Fri Dec 20, 2002 12:55 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7966

Post Re: External exception on JalScript.Execute Reply with quote

Please post your VBScript.
Please also let us know version of 24x7 you are using (see Help/About) and version of jalscript.dll (in the Windows Explorer right-click on the dll then switch to the Version tab)

: I am running the same VBScript Job on two different
: boxes(1. Windows 2000 sp2 2. NT4 sp6). I have narrowed
: the problem to the JalScript.Execute command.
: The Windows 2000 box works just fine but the NT4 box
: gives the following errors in the trace.

: VBS Starting script execution
: JALSS JALScript Service loaded
: JALSS Request Event 480, Stop Event 508, Read Pipe 512, Write Pipe 516
: JALSS JALScript Service Listener started
: VBS Invoking sub Main...
: VBS VBScript error detected
: VBS External exception caught in script object!
: JALSS JALScript Service Listener stopped
: VBS Script finished
: VBS Processing Error #21
: External exception caught in script object!

: JALSS JALScript Service unloaded

: My 24x7 Scheduler version is 3.3.1 on both.

: Any ideas?

: Thanks,
: Mark

Fri Dec 20, 2002 1:06 pm View user's profile Send private message
Mark



Joined: 09 Jan 2002
Posts: 32

Post Re: External exception on JalScript.Execute Reply with quote

: Please post your VBScript.
: Please also let us know version of 24x7 you are using (see Help/About) and
: version of jalscript.dll (in the Windows Explorer right-click on the dll
: then switch to the Version tab)

The 24x7 version on both is 3.3.1
The jalscript.dll version is 1.0.0.1

This is a simple example that fails on NT4 but works on
Windows 2000.

Sub Main( )

msgbox "start"

JALScript.Execute "Messagebox ""start JAL"""

msgbox "End"

End Sub

Fri Dec 20, 2002 1:27 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7966

Post Re: External exception on JalScript.Execute Reply with quote

If you have an older version of Microsoft Scripting Host you may need to upgrade it.

Here is the link to Microsoft download page
http://msdn.microsoft.com/downloads/default.asp?URL=/downloads/sample.asp?url=/msdn-files/027/001/733/msdncompositedoc.xml

Please let me know if this helps

: The 24x7 version on both is 3.3.1
: The jalscript.dll version is 1.0.0.1

: This is a simple example that fails on NT4 but works on
: Windows 2000.

: Sub Main( )

: msgbox "start"

: JALScript.Execute "Messagebox ""start JAL"""

: msgbox "End"

: End Sub

Fri Dec 20, 2002 2:17 pm View user's profile Send private message
Mark



Joined: 09 Jan 2002
Posts: 32

Post Re: External exception on JalScript.Execute Reply with quote

: If you have an older version of Microsoft Scripting Host you may need to
: upgrade it.

: Here is the link to Microsoft download page
:
: http://msdn.microsoft.com/downloads/default.asp?URL=/downloads/sample.asp?url=/msdn-files/027/001/733/msdncompositedoc.xml

: Please let me know if this helps

The vbscript.dll's are the latest version 5.6.0.6914 on
both boxes.

Fri Dec 20, 2002 3:57 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7966

Post Re: External exception on JalScript.Execute Reply with quote

Is 24x7 home directory in the system PATH (Can you run 24x7 command from anywhere)?

Couple other questions:
Have you instaled 24x7 directly on the NT machine or you used Windows terminal services or similar environment?
Have you tried to reinstall 24x7?

: The vbscript.dll's are the latest version 5.6.0.6914 on
: both boxes.

Fri Dec 20, 2002 4:17 pm View user's profile Send private message
Mark



Joined: 09 Jan 2002
Posts: 32

Post Re: External exception on JalScript.Execute Reply with quote

: Is 24x7 home directory in the system PATH (Can you run 24x7 command from
: anywhere)?

: Couple other questions: Have you instaled 24x7 directly on the NT machine or
: you used Windows terminal services or similar environment?
: Have you tried to reinstall 24x7?

Yes 24x7 is in the system path on both.
I am not sure how it was installed on the NT box.
How will it effect my current jobs that have been created with a reinstall? Do I
need to back them up?

Fri Dec 20, 2002 5:05 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7966

Post Re: External exception on JalScript.Execute Reply with quote

If it was not installed directly, most likely as a result of that many registry settings are missing, including one that control JALScript COM object registration.

The re-install will not affect your current jobs, but just in case backup your schedule job database file (C:\Program Files\24x7 Automation 3\[your file name here].dat)

: Yes 24x7 is in the system path on both.
: I am not sure how it was installed on the NT box.
: How will it effect my current jobs that have been created with a reinstall?
: Do I
: need to back them up?

Fri Dec 20, 2002 5:10 pm View user's profile Send private message
Mark



Joined: 09 Jan 2002
Posts: 32

Post Re: External exception on JalScript.Execute Reply with quote

: If it was not installed directly, most likely as a result of that many
: registry settings are missing, including one that control JALScript COM
: object registration.

: The re-install will not affect your current jobs, but just in case backup
: your schedule job database file (C:\Program Files\24x7 Automation 3\[your
: file name here].dat)

I have re-installed directly from the server and the error still occurs.

Any other ideas or items to verify?

Mon Dec 23, 2002 1:56 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7966

Post Re: External exception on JalScript.Execute Reply with quote

Try upgrading to the most recent version 3.4.

If that does not help please email as mush relevant information as possible to support@softtreetech.com
Please include your Windows version, Latest Service Pack #, IE version and service packs, msscript.ocx version (see in c:\WinNT\System32), Windows script host version.

Thanks.

: I have re-installed directly from the server and the error still occurs.

: Any other ideas or items to verify?

Mon Dec 23, 2002 3:05 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.