WSADMIN: Invalid command "print"

165 views Asked by At

I'm trying to run a print commant using websphere wsadmin and it gives me the error " error while eval'ing Jacl expression: invalid command name "print"", although the command is totally correct. As in the screenshot.

enter image description here

How to solve this problem?

1

There are 1 answers

1
jsmin On BEST ANSWER

This error can be fixed by changing the default scripting language on the properties file

..\IBM\WebSphere\AppServer\profiles\AppSrv01\properties\wsadmin.properties

to be jython instead of jacl

com.ibm.ws.scripting.defaultLang=jython