Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想将数据源属性和队列属性存储在单独的属性文件中,因此 WebSphere Application Server 将在 sturtup 期间加载此属性。是否可以为 WAS 6.1 和 7 创建这样的属性文件?
不,最接近的方法是运行 wsadmin 脚本,该脚本将使用属性文件使用AdminTask.applyConfigProperties()命令更新服务器配置,但无法设置服务器以在启动时自动运行这样的脚本。
AdminTask.applyConfigProperties()