How to hide Weblogic WLDF Console Extension Tab from Weblogic adinn console? - weblogic

I use Weblogic 12.1.3, when logged to admin server I see a tab with label "WLDF Console Extension" when choosing it, I get this message
"The WLDF Console Extension, which provided visual tools to display diagnostic information in this domain, has been replaced in this release by new integrated Monitoring Dashboard and Request Performance tools. For more information on these updates, please consult the online help and release notes for this release..."
How to hide this uselss tab, I have another installtion at work with the same version does not have this tab.

In general the WLDF extension is not installed by default so someone must have put it there and/or turned it on. To remove it there are 2 options:
Navigate to <domain dir>/console-ext and remove the diagnostics-console-extension.jar file. Restart your admin server.
Click the perferences link at the top of the admin console, click the Extensions tab, find the diagnostics-console-extension and disable it
If you ever need it back you can re-enable it or copy it back into your domain directory from the WL_HOME\server\lib\console-ext folder

Related

Log profile tab in worklight console

In worklight console, i have this log profiles tab. Why and how to use the Log profile tab in worklight console. I went throught the document couldnt find any link regarding that. Please provide me some links regarding that.
The Log Profiles tab that you are referring to is explained in the following Getting Started tutorial: Remote controlled client-side log collection.
In the Log Profiles tab you will be able to review and act upon the various data that you can collect from devices running your application.

Analytics tab empty in Worklight Console

I've added an analytics server (Linux, accessible from the http:///iwap/worklight/v1/index.html) to use with my Worklight 6 server, but, the "Analytics" tab is now displaying, but, is empty.
The changed the wl.analytics.url under the war configuration for "Environment entries for web modules" and restarted the app.
The Worklight V6 Information Center (under "Installing and configuring the IBM Websphere Analytics PLatform"|"Configuring Worklight Server for analytics") says to use the format "http://<>iwap/v1/events/_bulk, but, the description column in the "Environment entries for web modules" settings says to use "http:///iwap/v1/events/app_activities". I've tried both, both with same result, empty screen under the Analytics tab.
Not sure where to go at this point, any one set this up successfully?
The correct syntax is:
http://${iwap.server.path}/iwap/v1/events/_bulk
If the analytics tab is blank, its possible that your IWAP server is not currently running or is unreachable from your worklight server.
In truth, the analytics tab just acts as an iFrame. You can visit the analytics console using the URL:
http://${iwap.server.path}/iwap/worklight/v1/index.html
If you are unable to visit that link, then the issue is with your IWAP server. Make sure that the server is started using the command "service analytics start" on the IWAP machine.
The IP address you enter is the IP address of the analytics server you installed independently of the Worklight server. Have you done this?
Installing and Configuring the analytics platform
The analytics tab in the Worklight console simply shows an iframe, using a slightly modified URL from the one you entered in the configuration. If you entered
http://<>/iwap/v1/events/_bulk (this the correct URL)
The URL you can visit is
http://<>/iwap/worklight/v1/index.html
You said you can visit it directly. Can you view the network tab or console in Firebug or Chrome developer tools to see if the URL it is attempting to visit from the Worklight console is correct?

Security notification bar

I need to add a web reference in Visual Studio 2012 (because service reference generates a blank reference CS and I have given up after hours of googling).
When I go to add the web reference (add service reference → advanced → add web reference) and enter the WSDL URL I get the IE Notification Bar in the dialog with the message:
To help protect your security, your web browser has blocked this site from downloading files to your computer. The option to "Download file" does not work.
I've changed IE security settings to minimum and added the domain to the list of trusted sites but did not have any effect. I also uninstalled IE10 completely and still get the notification bar. I am using Windows 8.
Anyone shed any light on this or had any success adding a web reference in VS 2012?
If you can download the WSDL with your browser, download it and save it to a file. You can then reference it from Visual Studio by pointing it to that file. Or you can use svcutil.exe or wsdl.exe to generate a proxy from the commandline.

Does IntelliJ have an internal web server to serve static content of a web application?

Right now, the directory of my module is defined as an IIS virtual directory and IIS serves the files.
I was wondering whether IntelliJ has an internal web server, which can serve the files, without the need for any third party. Eclipse does.
UPDATE: built-in web server is available in the recent IntelliJ IDEA versions (starting from 13). You can find more details in the blog (yes, this feature first appeared in WebStorm).
IntelliJ IDEA has no this feature, you need to install and use any third-party web server that can serve the content from the project folders.
A built-in HTTP preview server will be part of Intellij IDEA 13 and is already available in the EAP: http://youtrack.jetbrains.com/issue/WEB-7148
"All existing actions — preview in browser (pop-up over html file or menu action or
shortcut), open in browser and create/debug html file action now open file on built-in web
server
http://localhost:63342/<project name>/<file path relative to source or content root>"
In other words, right-click on an HTML page and select "Debug" or "Open in browser", and IDEA 13+ will serve up that page via port 63342.
Here's another super simple option, install Python: http://www.python.org/getit/
Then open a shell prompt, navigate to your root web folder (e.g. public) and run python -m SimpleHTTPServer - This starts an HTTP Service on port 8000.
Further reading should you need it: http://www.linuxjournal.com/content/tech-tip-really-simple-http-server-python
I've got mine running on Windows 7 but the above article still applies.
Another option is is create a PHP project that, starting with v 5.4.0 of PHP includes a built in web server. This page explains it all ...
http://www.jetbrains.com/idea/webhelp/php-built-in-web-server.html
IntelliJ IDEA has a built-in web server that can be used to preview and debug your application. Just watch this YouTube video or follow the steps below.
Option 1
You need to add new 'JavaScript Debug' configuration:
Click Add Configuration... or Edit Configurations... in the Navigation bar
Click button in the toolbar or press Alt + Insert to create a new configuration
Select JavaScript Debug under the Templates node in the tree view of run configurations
Fill in Name, URL, Browser and click [OK] to save the configuration
Use http://localhost:63342/YOUR-PROJECT-NAME/index.html for URL
Now you can run the configuration:
Click run or debug button in the Navigation bar (or use Shift + F10 / Shift + F9 hotkeys).
Option 2
Running web page in browser without creating a configuration. Refer to the related IntelliJ IDEA Help article.
In the editor, open the HTML file. This HTML file does not necessarily have to be the one that implements the starting page of the application.
Do one of the following:
Choose View | Open in Browser on the main menu or press Alt+F2. Then select the desired browser from the pop-up menu.
Hover your mouse pointer over the code to show the browser icons bar: . Click the icon that indicates the desired browser.
Result
Google Chrome browser with a demo web page served by the Intelij IDEA's built-in webserver:
One simple way is to create a NodeJS / Express project in IntelliJ that is your web server. You can then use it to serve your static web pages and any other web content. The NodeJS web server is very small and runs fast - noticeably faster than IIS and Apache. Best of all you can just hit the Run button in IntelliJ or WebStorm to start it up.
By default, a NodeJS / Express project includes a public/ directory that you can use to contain your static pages that you can then view from http://localhost:3000/
This explains the steps required to enable NodeJS in IntelliJ and includes links to other Node resources:
http://www.jetbrains.com/idea/webhelp/node-js.html
If you feel the need, you can reconfigure your NodeJS server using server side Javscript code. You can add SSL support or almost any other server side features you care to dream up. Just add NodeJS modules using the npm (Node Package Manager) command line tool included with the install. NPM Registry https://npmjs.org/ indexes all the available modules.
You can configure IntelliJ to use a lot of different application containers, but each of them must be downloaded and installed separately. I currently have mine configured to serve via jetty, like eclipse, and also tomcat, tc-server, jboss, and node.js. It's pretty easy to set up.

How do I resolve the config error which states a machine to application error

I imported a website made in visual studio express 2008 to visual studio express 2010. When I run the home page I get the following error:
"It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS."
When I looked up the meaning of this on Google I read their needed to be a change to the configuration of the virtual directory. Another suggestion was to change the web config files . T
Were these suggestions correct? If so how do I emplement them so that I can view these website pages on my local machine.
To try the first suggestion:
Right-Click MY_COMPUTER, choose MANAGE.
Expand the SERVICES (then IIS) section(s) in the left-hand pane until you can see the directory containing the "home page"
Right-Click that folder and Choose PROPERTIES.
Click the "Create Application" button.
================================ EDIT ADDED after I realized I could edit an answer
No, you can't create an app using the WINDOWS EXPLORER...
So... here's a more descriptive instruction:
Once you've expanded "Services and Apps" the left hand pane should contain (at least) "Services", Indexing Service, and "Internet Information Services."
Click the "+" to the left of "Internet Information Services" and that action should expose (at least) "Web Sites", Again click the "+" to expose (at least) "Default Web Site."
Once more click the "+" to the left of Default, to expose the Virtual Directories.
Hopefully you will find the FOLDER in question (containing your 'Home Page'). Right-click it, choose PROPERTIES, and see the "Create Application" on the "Directory" tab of the window that pops up.
////////////////////////////////\
If You Do Not See your folder in that final list, it is because there is no virtual directory pointing to the My Documents folder that contains your web site (and home page.)
To create a virtual directory, right-click on that DEFAULT WEB SITE (now visible in the left hand pane) Click "New.." and choose "Virtual Directory." Follow the directions offered in the popup window ... i.e. Browse to your folder, etc.
Too bad StackOverflow does not offer the ability for me to add pictures.
If you still have trouble, I can create a set of screen shots for you and put a link to it in another response.
Did the directory tree get jacked up on import? I've gotten this when for whatever reason, I end up with two web.configs in the directories of the project.