Questions tagged [jacl]

Implementation of the Tcl interpreter written in Java (Default scripting language expected by WAS administration)

Jacl

Jacl is an alternate implementation of TCL, and is written entirely in Java code.

The wsadmin tool uses Jacl V1.3.1.

Basic syntax: The basic syntax for a Jacl command is the following:

Command arg1 arg2 arg3 ...

The command is either the name of a built-in command or a Jacl procedure. For example:

puts stdout {Hello, world!} 
=> Hello, world!

In this example, the command is puts which takes two arguments, an I/O stream identifier and a string. The puts command writes the string to the I/O stream along with a trailing new line character. The arguments are interpreted by the command. In the example, stdout is used to identify the standard output stream. The use of stdout as a name is a convention employed by the puts command and the other I/O commands. stderr identifies the standard error output, and stdin identifies the standard input.

IBM Syntax Documentation

38 questions
1
vote
3 answers

Java GUI for Tcl

I'm having some trouble writing a GUI in Java that can interact with Tcl scripts. When a Tcl script is run, I want information passed to this GUI and displayed. Further inputted information on the GUI should be able to be returned back to the…
Kevin
  • 43
  • 2
  • 8
0
votes
2 answers

wsadmin: jacl: AdminApp list WebSphere 5.x

I am trying to list applications installed on particular server below command works fine on WAS 6.x and 7 however I cannot make the same on WAS 5.x wsadmin> $AdminApp list /WebSphere:cell=cell01,node=node01,server=server1/ Also, $AdminApp help…
m1k3y3
  • 2,762
  • 8
  • 39
  • 68
0
votes
1 answer

How can I provide a Jacl package from the classpath?

I need to distribute some TCL code as part of an enterprise application, and this code must be available to all nodes in the cluster. Due to security policy, the Tcl interpreter cannot access the TCL code from the filesystem, so I must make it…
Chris R
  • 17,546
  • 23
  • 105
  • 172
0
votes
0 answers

JACL : Is there a way to delete all files on a certain directory folder?

I am trying to find a way to delete all files on a certain folder using JACL Script. I have tried to use $AdminConfig deleteDocument *directory* but it doesn't work. It only deletes a specific file given the file name. Is there a way to delete all…
Zaveid
  • 21
  • 5
0
votes
0 answers

Issue Multiple Commands on a Batch File

I would want my batch file to execute 3 commands. This is my code: CALL wsadmin.bat sadmin -conntype %conType% -host %hostName% -port %soapPort% wsadmin set jvmProcessDef [$AdminConfig getid…
Zaveid
  • 21
  • 5
0
votes
1 answer

Run a Bat File on Java with a command line for the bat file

I'm trying to run wsadmin as administrator on Java and I would like to input the jacl script with it as well. How do I do that? This is my current code. Runtime rt = Runtime.getRuntime(); rt.exec("cmd /c start…
Zaveid
  • 21
  • 5
0
votes
1 answer

Sorry, Component JACLPlus has been installed UNSUCCESSFULLY?

I am using joomla 1.0.13 and i am trying to access JACLplus but this error is occuring and i dont know why? it was running fine and all of a sudden now it is saying this? Sorry, Component JACLPlus has been installed UNSUCCESSFULLY i have never used…
Beginner
  • 28,539
  • 63
  • 155
  • 235
0
votes
1 answer

how to get value of variable in jacl scripting language for IBM WebSphere Plugin Custom Properities?

I used the below code to get input from the user using jacl scripting language set pname [gets stdin] $AdminConfig create Property $pluginname {{validationExpression ""} {name $pname} {description ""} {value "30000"} {required "false"}} I can't…
Suganthan Raj
  • 2,330
  • 6
  • 31
  • 42
0
votes
1 answer

TCL String Manipulation with curly braces

I'm modifying an application backout script in JACL. This script is designed to search for a JVM argument string that we want to remove within the JVM arguments of the server. New to the application this release cycle is a jvm argument…
Chris M
  • 83
  • 1
  • 1
  • 8
0
votes
1 answer

How to limit LTPA cookies to SSL only using jacl/jython

When I am using the websphere console, and navigate to the Secure Administration -> SSO I have a checkbox called: 'Require SSL'. How do I enable/disable this using jacl/jython ? I have even used the command assistance from the console. But when I…
meso_2600
  • 1,940
  • 5
  • 25
  • 50
0
votes
1 answer

JACL Script for Topic Connection Factory getting errors

For the below lines i am getting error- My lines for creating topic connection factory: set aMQJMSProvider [$AdminConfig getid "/JMSProvider:Default messaging provider/"] set aMQTopicCF [$AdminConfig getid…
0
votes
0 answers

Jacl script behaves wrongly in case of special characters \ ! ; $

Hi I have written one jacl script which is not working properly in case of ; $ ! \ test.jacl set password [ lindex $argv 1 ] puts "Hello your entered password is $password" Script OUTPUT When I run ../test.jacl testUser Foo\b4r* it returns…
Aryan
  • 69
  • 8
0
votes
3 answers

how to hook into system level expect with Java?

See also a better question, more specific, on this topic. I've just discovered expect, a tcl based scripting language for automating, among other things, telnet connections: thufir@mordor:~/NetBeansProjects/expect$…
Thufir
  • 8,216
  • 28
  • 125
  • 273
0
votes
1 answer

using variables in jacl and wsadmin

I am trying to use variables in install script in wsadmin on jacl. First I am specifying set nodeName [$AdminControl getNode] set cellName [$AdminControl getCell] Then in my script I want to use these 2 variables but for some reason it done want to…
rholdberh
  • 475
  • 1
  • 5
  • 19
0
votes
2 answers

Unable to access WebSphere Integrated Solutions Console after deleting self-signed certs

I am new to WebSphere (as you can tell by my dated username) and I have made a mistake. While trying to address security concerns in my organization I deleted the self-signed certificates in WebSphere. This seems to have caused the Integrated…