We need to customize Mule management console. Kindly let us know process/link related to documentation. Example customization - JMX bean display - value part text box is small - for large string values it needs to wrap, create new tab for query purpose based on mbean data or any other information.
Thanks
Unlikely that its supported because its deployed as a war within Tomcat. You might be able to force tomcat (via modifing unpacked war files) to load your own css, but you'll have to do it afresh each time a new version of MMC comes out.
The only customization I'm aware of can be found here:
http://www.mulesoft.org/documentation/display/current/Customizing+the+Dashboard
Related
Can someone please answer, how to configure WebSphere Liberty under Intellij Idea to reload JSPs files by Ctrl + F10?
Currently classes are reloaded, but JSPs and resources not.
As far as I know, under Tomcat all is reloaded without extra configurations..
Now in my Idea Liberty server configuration are choosen following:
1. Under Deployment Tab: WAR exploaded (or EAR - no matter)
2. Under Server Tab: On frame deactivation and Update action: Update Classes And Resources
In server.xml are selected following features
<feature>webProfile-6.0</feature>
<feature>localConnector-1.0</feature>
<feature>jaxws-2.2</feature>
<feature>jaxb-2.2</feature>
<feature>jaxrs-1.1</feature>
<feature>ejbLite-3.1</feature>
<feature>cdi-1.0</feature>
<feature>appSecurity-2.0</feature>
<feature>jsp-2.2</feature>
<feature>servlet-3.0</feature>
As server is used WebSphere Liberty Profile 7-8.5.5.7 version
Thank you in advance.
In WebSphere Liberty, updating a JSP in an application does not trigger a server/application to refresh / reload similar to what servlet or class file does. The reload of the JSP occurs internally in the JSP Engine only when that particular JSP file is requested. It is then, it will check the timestamp of the JSP against the previously compiled .class file to see if they do not match and trigger a re-translate and re-compile. That is part of the JSP request lifecycle, therefore there is no sense doing anything on the server until that JSP is requested.
Thanks Jay for pointing me into correct direction.
It turns out that IntelliJ Idea correctly updates resources both with JSPs in corresponding modules by Ctrl+F10.
Liberty Server actually caches JSPs in its own folder, and does not even goes back to check if JSP has changed. On my machine on Windows this folder was under following path:
%YOUR_LIBERTY_SERVER_PATH%\workarea\org.eclipse.osgi\138\data\temp\default_node\SMF_WebContainer\%YOUR_EAR(WAR)_NAME%\jsp
My example Liberty Server path:
..\IBM\wlp-javaee7-8.5.5.7\wlp\usr\servers\defaultServer
It looks like the path may differ. So just look for some JSP name which was already accessed, under following folder:
%YOUR_LIBERTY_SERVER_PATH%\workarea
When found, remove 'jsp' folder, and enjoy =) Liberty goes back for fresh JSP.
If somebody knows, how to configure Liberty to always check for JSPs in corresponding module, please let me/us know.
Thank you.
I need a little help from you.
I have to migrate several applications from WAS 7 to WAS 8.5 with a script in Jython using wsadmin. The thing is that on WAS 7 there are a lot of Datasources and i only need to import the Datasources that are used by the applications that i have to migrate.
Long story short: i have to get the datasource properties for a specific application.
Thanks for your help!
UPDATE: After this I have to install the applications using the exported properties of datasources.
If your application developers were smart enough to use resource references, you can find JNDI names of the Datasources used by the application in the web admin console Applications > applicationName > Resource References. If not, you will have to somehow learn what the datasources are (application documentation, developers, sources). There is no other way than references to know datasources used by given app.
Then I'd suggest you to use Property files wsadmin commands to extract relevant information from one environment and apply to the other. (Or just give you datasources configuration for use in jython scripts).
If don't want to use Property files commands you can use command assistance in the console to help you create jython files, or use some already provide Jython script library
For details see:
Using properties files to manage system configuration
Accessing command assistance from the administrative console
JDBC configuration scripts (library)
We have jboss logging enabled in our application. Currently we are using the 'Rotating-file-handler' to log everything to files. This is defined in the jboss 'standalone.xml' file. We are looking into logging some of the information into a logging database as well; for the sake of building indicators etc.
Can someone offer some options that we can utilize here. Our end goal is that as things are being written to the file; we would intercept and write it to DB. We dont want to do that in-line since that would be a blocking call.
This link shows EXACTLY how to set up what i wanted. JBoss AS 7.0.1 has a feature to support custom log handlers.
http://community.jboss.org/wiki/CustomLogHandlersOn701
i am writing an eclipse plugin that will connect to a server (no database!).
for each platform and each release of said server there will be a different jar to use for connecting and a different set of .dll/.so files used by said driver jar.
i'd like to create a mechanism like the one for jdbc drivers allowing the user to create a profile for a specific configuration of platform/release and select an existing profile to create a connection to a specific server.
thus, it is pretty much similar to what most databse plugins do where one can configure different jdbc drivers for different databases and use such a profile to create a databse connection.
maybe i haven't found the right search terms, but so far i failed to get an example how to write this kind of mechanism.
can someone please point me to a working example for eg jdbc?
to summarize:
- store location of jar
- store location of native shared libraries (dll/so)
- when connection export the location of the shared libs (at least in linux i currently need to export LD_LIBRARY_PATH) and use/load the configured jar
I cannot point you to a working example, but I would suggest to define an extension point in your core application. For each configuration create a "driver plug-in" which implements an extension to this extension point. In those driver plug-ins you could bundle the platform specific dlls and so on. Concerning platforms (operating system level) additionally consider to user fragments. For more details on how to implement your own extension point look Eclipse FAQ How do I declare my own extension point?
In the core application you can programatically query all extensions (driver plug-ins) which are available and for example let the user choose which configuration he would like to use via a dropdown box .
I am currently working on Axis2 deployed on Resin 3.1.3. However, I got the below error during deployment:
org.apache.axis2.deployment.DeploymentException: The "Dispatch" phase is not found on the global "InFlow" phase of the axis2.xml file. Make sure the phase is within the axis2.xml file.
Any idea how to resolve this? Thanks in advance for your valuable help.
-Angel
Have a look at this page, underneath the "Phase Order" heading. That should let you know how you need to define the Dispatch phase in your axis2.xml.
It's also possible that the axis2.xml file can't be found or is missing. You haven't provided many details so it's hard to be more specific than that.
Edit:
Remember that Axis2 is a standalone web application that is deployed into a servlet container.
You indicated in your comments that you modified your web application's web.xml. You should not need to do that to get Axis2 to work properly, so you can remove those mappings and redeploy your applications.
Try this guide. Make sure that you can see the "Axis2 Happiness" page described in step 6.
Once you have that working, you can go back to your other web applications and start modifying them to call your web services.