This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Websphere and the fly likes Enable Startup beans service using Script Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Websphere
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: 117
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: 117
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
Tomcat 5.5 SEVERE: Error listenerStart
Spring application using MSSQL 2000 datasource (Mixed mode authentication)
Error when Stopping server
How to handle file concurrency in UNIX shellscripting
Redirecting log messages