aspose file tools
The moose likes Websphere and the fly likes Enable Startup beans service using Script Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Websphere
Reply Bookmark "Enable Startup beans service using Script" Watch "Enable Startup beans service using Script" New topic
Author

Enable Startup beans service using Script

Shankar sanjay
Ranch Hand

Joined: Sep 14, 2009
Posts: 104
Hi,

we enable startup beans service using administrative console.

Servers > Application servers >server_name > Container services > Startup beans service
I am creating data source Jndi using JACL and ServerConfig.properties file.
JDBCDATASOURCE.jndiName.1 =jdbc/myJndiDS , this entry is in ServerConfig.properties file and using JACL script to do server configuration.

Is there any way to enable "Startup beans service" property using script?. I want to set a property in ServerConfig.properties file which has to be enabled startup beans in Server.
Deepak Pant
Ranch Hand

Joined: Feb 13, 2004
Posts: 443
Yes it is possible to turn on the startup beans service using JCAL or Jython script. Let me know if you need the script.
Deepak Pant
Ranch Hand

Joined: Feb 13, 2004
Posts: 443
Sample Jython script that will enable Startup Services for you.
Shankar sanjay
Ranch Hand

Joined: Sep 14, 2009
Posts: 104
Hi Thanks for the script. Do you have JACL script?
Deepak Pant
Ranch Hand

Joined: Feb 13, 2004
Posts: 443
No I don't have the JACL script. IBM has deprecated JACL starting with 6.1. You run this script by changing Lang option.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Enable Startup beans service using Script
 
Similar Threads
Redirecting log messages
Error when Stopping server
How to handle file concurrency in UNIX shellscripting
Spring application using MSSQL 2000 datasource (Mixed mode authentication)
Tomcat 5.5 SEVERE: Error listenerStart