Whenever I try to compile a Java Service, I get an exception “unable to locate and start compiler”. I have downloaded jdk1.3.1 and placed it in C directory where the Integration Server is loaded. Then I have edited the server.bat file by commenting the path originally given and set the path as C:\jdk1.3.1_08. Now I am able to compile my Java Services. But the MAIN PROBLEM is after changing the batch file settings to the new settings, I am unable to bring the server up as an NT service (from the control panel). I HAVE to start the server from the command line. So please help me as to how to start the server as an NT service. I am using Integration Server 6.0.1 and Developer 6.0.1
Any help will be greatly appreciated.
Thanks,
Lavanya
Can you tell me where is that server.cnf file? I guess it is in IntegrationServer/config. But that shows a Speed dial property. How can I edit that? Is it with ws ftp? I have downloaded ws_ftp. But I am not understanding how to use it. Can you pls…let me know?
Thanks,
Lavanya
Hi Srini,
But when I right click on that Speed Dial I get an option Send to and when i click on that i have only Floppy,Desktop,mail recipient and My docs. I cannot see any textpad or notepad…
Please help me…!
Thanks,
Lavanya
You can get by without making any changes. Just add the JVM’s bin directory (where the javac.exe file is located) to you PATH (not classpath). Make sure you add it to the global environment variables. Then restrat your server and you will be able to compile your java programs.
PL download textPad trial version .It automatically visible to you.
Otherwise open Admin browser click on extended tab in Settings button
click on EditForSettings tab change watt.server.compile field as
Rajesh mentioned above.DownLoad textpad from downloads.com
Pl setup SET JAVA_DIR=C:\jdk1.3.1_04.Here I setup my JDK1.3.1_04 in
C drive.I downloaded JDK1.3.1_04 from sun site.I specified that path.This Rupinder mentioned earlier.Make sure that path setting
in controlPanel---->system---->open---->click on Environment—>
path value is C:\jdk1.3.1_04\bin;(This is my case).check your Jdk.
If I set the path in the environment variables then it is not working. I changed the extended key settings in the Admin page and this worked. So I need not download Jdk anymore. With webMethods JVM itself it worked.
Thanks,
Lavanya
I am sorry for not providing the details. A server restart will not do the trick. You have to shut it down and bring it up again.
And if you are running the server from the commandline then make sure that you close the commadn window that you ran it from and then bring up another one and then start the server from that. Environment variable changes do not reflect in open Command windows.
I am assuming that you are using windows as you mentioned C drive in one of your emails.
Editing the server.cnf file, setting the watt.server.compile property to point to my javac.exe (with a server restart)
Editing the server.bat file’s JAVA_DIR to my jvm’s top level directory (with a restart)
Editing my desktop’s “Path” env variable and restarting my IS.
This is what worked for me:
Adding the above mentioned watt.server.compile property using the admin console’s “Extended Settings” page.
Based on the above behavior, it appears that the watt.. properties defined in the server.cnf are different from what show up under the “Extended Settings” on the admin console. Also, none of the watt.. properties listed in the server.cnf show up on the admin console.
in ISAdmin page,follow these steps to add watt.server.compile settings
goto ‘extended’ link under ‘settings’ section
if property is visible the edit it otherwise goto ‘show and hide’ key links
select the property to make it visible and then edit it