A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Elasticsearch in Action
this week in the
In weblogic there is a weblogic.xml, where do i so the same stuff in websphere ?
Joined: May 17, 2002
May 20, 2009 01:10:30
I have to migrate a projekt from weblogic to websphere, there is a weblogic.xml, where there is defined a work-manager.
This weblogic.xml is packed within the war file, and works fine on weblogic, but where do i do the same stuff in websphere, is there a websphere.xml ....
I need it to define a work-manager, but i dont want to use the websphere admin console, but want to do it the same way, that i can in weblogic....
Any hints for me out there
In the weblogic.xml: <work-manager> <name>wm-logappender</name> <fair-share-request-class> <name>some-priority</name> <fair-share>50</fair-share> </fair-share-request-class> <ignore-stuck-threads>true</ignore-stuck-threads> </work-manager> In the web.xml: <listener> <listener-class>com.trygvesta.jee.prof.logging.lifecycle.Log4jWmServletContextListener</listener-class> </listener> <!-- ref til din workmanager --> <resource-ref> <res-ref-name>wm-logappender</res-ref-name> <res-type>commonj.work.WorkManager</res-type> <res-auth>Container</res-auth> </resource-ref>
Cameron Wallace McKenzie
author and cow tipper
Joined: Aug 26, 2006
May 22, 2009 00:41:15
IBM has a xxx-ext.xmi file in the WEB-INF folder that holds IBM extensions. I believe there is a binding file in there as well.
Unfortunately, IBM doesn't have an equivalent of these settings from what I can see. Does your web app depend on these extensions? Hopefully you can live without them.
author & internet detective
Joined: May 26, 2003
May 22, 2009 18:48:06
I don't think you can specify the work manager in XML. You can use the admin console or you can write a script (jacl or jython) to create it.
OCA 8 book
How To Ask Questions The Smart Way
Blogging on Certs:
SCEA Part 1
Part 2 & 3
Core Spring 3
TOGAF part 1
I agree. Here's the link:
subject: In weblogic there is a weblogic.xml, where do i so the same stuff in websphere ?
JNDI DataSource lookup problem
Weblogic Integration with MQ issue
JNDI datasource lookup problem
How to deploy URLs like default URL provider in websphere
URGENT: How use resource-ref and resource-env-ref?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015