How to disable WLDF debug in weblogic 12.1.3? - weblogic12c

I want to disable the WLDF debug through weblogic console?
I found something to disable diagnostic extension and it is already false for my weblogic.
Through backend I found that the below tag needs to be added in config.xml of the weblogic:
<server-diagnostic-config>
<diagnostic-store-dir>data/store/diagnostics</diagnostic-store-dir>
<diagnostic-store-file-locking-enabled>false</diagnostic-store-file-locking-enabled>
<diagnostic-data-archive-type>FileStoreArchive</diagnostic-data-archive-type>
<data-retirement-enabled>false</data-retirement-enabled>
<preferred-store-size-limit>100</preferred-store-size-limit>
<store-size-check-period>1</store-size-check-period>
<wldf-builtin-system-resource-type>None</wldf-builtin-system-resource-type>
</server-diagnostic-config>
Still want to know how to do it from console.

Related

Eclipse doesnt show -Djavax.net.debug=ssl,handshake debug logs

I have configured eclipse runconfigurations as follows;
at Run configurations-->Arguments
-Djavax.net.debug=ssl,handshake
eclipse runtime.
But still at console im not getting any debug logs.(SSL handshake logs)
Why is that?
I get only my system.print statements in console.
Make sure, to configure it as VM argument, not as Program argument.

how to redeploy application using management console in jboss EAP 6.3.0 GA?

I am using JBOSS EAP 6.3.0, I want to redeploy my application using management console. I don't see redeploy or enable/disable or refresh option under below section
Runtime>>Manage Deployments
EDIT:
The question was related to domain mode. See comments.
ORIGINAL:
The section you mention is correct. You can try different browser as I see no issues as you can check in
If you want an alternative you can use jboss-cli.sh (.bat) for this purpose:
$JBOSS_HOME/bin/jboss-cli.sh -c --command="/deployment=DEPLOYMENT_NAME:redeploy"
or interactive mode
$JBOSS_HOME/bin/jboss-cli.sh -c
> /deployment= [you can use tab to get deployment-name hints]
> /deployment=DEPLOYMENT_NAME:redeploy

WildFly 8.2, after every change in html file I need to perform full publish to see the changes, why?

After every change in HTML(XHTML) page of a web project, either it is JSF or a simple WAR I need to perform a Full Publish to see the changes. After some googling I found the solution to change in Management Console - Publishing settings to Automatically publishing when resources change and set publishing interval to 0, but it doesns't help. What can I do more to resolve this issue?
I'm using WildFly 8.2 on Mac Maverick.
Thank you in advance.
you can deploy exploded war file instead of war archive. Only make sure that folder name has .war in its name e.g myApp.war.
After that you can configure wildfly deployment-scanner to auto deploy exploded content. This can be done in your config file e.g. standalone.xml.
See https://docs.jboss.org/author/display/WFLY8/Deployment+Scanner+configuration
Config example:
<deployment-scanner scan-interval="5000" relative-to="jboss.server.base.dir" path="deployments" auto-deploy-zipped="true" auto-deploy-exploded="true"/>
Had the same problem. In standalone.xml i added the attribute
auto-deploy-exploded="true"
and the problem started. After removing the attribute it returned to the same behaviour as before.
There was a bug in JBoss 7 which was about processing this attribute not properly (or at all) but its status is resolved and it should work now. Obviously it doesn't or i am doing something wrong.
After setting auto-deploy-exploded="true" I was't able to deploy application. Deployment copies stuff in "deployment" and then scanner triggers and starts another deployment of the same app witch results in error

tomcat 6: cannot stop autodeploy

I want to stop tomcat's auto-deployment for which I have checked the Never publish automatically in Eclipse Galileo's Servers view. But I am not able it keeps auto-publishing every 10 seconds. I also changed the autoDeploy property in server.xml from true to false but somehow its still auto-deploying.
Could someone help me turn the auto-deployment off? I already have the Build Automatically unchecked in the Project tab of Eclipse.
I am getting an additional ContainerBackgroundProcessor[StandardEngine[Catalina]].. on the console that did not use to be there with the DEBUG level logging. What I used to see on the console was DEBUG[main].. but now what I see is DEBUG[ContainerBackgroundProcessor[StandardEngine[Catalina]]]... I've made no changes in my application except that I was using a 32 bit OS (Windows XP) earlier and now I am using 64 bit (Windows 7).
EDIT: I think its not the auto-deployment but auto context reloading by ContainerBackgroundProcessor thread as I still need to publish to make the changes in my application.
Thanks.

Tomcat within Eclipse - starting with JPDA enabled

I'm trying to get a webapp up and running - for debugging - within a Tomcat instance configured in Eclipse (to keep my work flow as automatic as possible). I'm trying to get remote debugging enabled within the Tomcat JVM, and I've read about two sets of VM arguments:
-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n
or..
-Xdebug
-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
But whenever I attempt to use either of these, I get an error message in my console:
Error occurred during initialization of VM
agent library failed to init: jdwp
ERROR: Cannot load this JVM TI agent twice, check your java command line for duplicate jdwp options.
I don't know where I should be looking for these other - supposedly duplicate - jdwp options. Where are these configured? How can I get this working?
If you've correctly setup Tomcat to be started and stopped inside an Eclipse instance, then you should not have to manually setup the debug options for the server to debug your application from inside of Eclipse. When you start Tomcat in debug mode from within Eclipse, the debug options are automatically added to the startup process. By manually configuring them in the launch configuration you are causing a duplication of the settings, thus the error response.
To verify that you have setup the server correctly, here are some steps to setup Tomcat in the Helios release:
If your Servers view is not open, go to Window->Show View->Servers
Right-click the servers window and select New->Server
In the 'Select the server type' window select the Tomcat version you are setting up
Select next (if already configured the server runtime environment, then 'Finish' button will be available)
Enter server name and installation directory for your environment
select 'Finish'
At this point, you should be able to see your newly setup Tomcat instance in your Servers window. At this point you can deploy your application to the newly setup server. To start the server in debug mode, you can select the debug botton available from the Servers window. Once the server starts the IDE will be automatically connected to allow for debugging your deployed application.