jacl

How to read the data from standard output in jatcl by running tcl script in java

爷,独闯天下 提交于 2020-01-03 02:51:14
问题 I have two questions basically. I am using JACL interpreter to run TCL script in JAVA. My questions are: How to get the data from standard output after running tcl file? How to pass arguments for tcl script when executing using jatcl? E.G: sample.tcl: `puts "Hi this is from tcl" ` When ran using java as follows: `Interp i = new Interp(); i.eval("source sample.tcl");` then the output will be written to stdout console of JAVA. I want to read that output to some variable like x[] = i.eval(

Jacl script war deploymet

允我心安 提交于 2019-12-24 10:25:36
问题 I'm trying to deploy war in websphere using jacl script , below is the command i'm using set opts [list -cluster $clusterName -appname $earFileName -contextroot $appContextRoot -installed.ear.destination $destination -MapWebModToVH $virtualHost] $AdminApp install $earFileLocation $opts After adding -MapWebModToVH $virtualHost parameter i'm getting WASX7017E: java.lang.ClassCastException: java.lang.String incompatible with java.util.List i checked the link http://www-01.ibm.com/support/docview

Is there a simpler way to deploy to WebSphere?

泄露秘密 提交于 2019-12-03 17:15:39
问题 I have seen this question about deploying to WebSphere using the WAS ant tasks. Is there a simpler way to do this? In the past I have deployed to Tomcat by dropping a war file into a directory. I was hoping there would be a similar mechanism for WebSphere that doesn't involve calling the IBM libraries or rely on RAD to be installed on your workstation. 回答1: There is the concept of WebSphere Rapid Deployment. It's supposed to be the same experience as what you describe for Tomcat. 回答2: Just a

Is there a simpler way to deploy to WebSphere?

懵懂的女人 提交于 2019-12-03 06:18:05
I have seen this question about deploying to WebSphere using the WAS ant tasks. Is there a simpler way to do this? In the past I have deployed to Tomcat by dropping a war file into a directory. I was hoping there would be a similar mechanism for WebSphere that doesn't involve calling the IBM libraries or rely on RAD to be installed on your workstation. There is the concept of WebSphere Rapid Deployment . It's supposed to be the same experience as what you describe for Tomcat. Just a hint: if you activate "Log command assistance commands" in System Administration / Console preferences, you will

how to hook into system level expect with Java?

一曲冷凌霜 提交于 2019-12-02 18:04:39
问题 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@mordor:~/NetBeansProjects/expect$ expect example rainmaker.wunderground.com 3000 spawn telnet rainmaker.wunderground.com 3000 Trying 38.102.137.140... Connected to rainmaker.wunderground.com. Escape character is '^]'. ---------------------------------------------------------