Showing posts with label Z2_RAD_WAS. Show all posts
Showing posts with label Z2_RAD_WAS. Show all posts

Tuesday, July 29, 2014

Websphere URL

Websphere Datasource Tracing

Disable & Enabling tracing using properties file
#  Click => Here  <= for details
# -Ddb2.jcc.propertiesFile=C:/jcc.properties
db2.jcc.traceFile=C:/EMD/jcc.log
db2.jcc.traceOption=1
db2.jcc.traceLevel=3
db2.jcc.traceFileSize=20971520
db2.jcc.traceFileCount=4
db2.jcc.traceFileAppend=true

Using JDBC URL:
jdbc:db2://localhost:50000/sample:traceDirectory=/tmp;traceFile=jcctrace.log;traceFileCount=5;traceFileSize=20971520;traceLevel=-1;

Thursday, April 17, 2014

Enabling Profiling

-Dcom.sun.management.jmxremote=true
-Dcom.sun.management.jmxremote.port=9999
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
-Djava.rmi.server.hostname=syntw.synt.com --------------------------------------------------
set JAVA_OPTS=%JAVA_OPTS%
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.util.logging.config.file="%CATALINA_BASE%\conf\logging.properties"
-Dcom.sun.management.jmxremote=true
-Dcom.sun.management.jmxremote.port=9999
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
--------------------------------------------------
Websphere Profiling Using Visual VM
@ Admin Console
@ Servers->Server types->WebSphere application servers->server1->Process definition->Java Virtual Machine

@ Add the following line into the field of Generic JVM Argument :
-Djavax.management.builder.initial=
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=9999
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
-Djava.rmi.server.hostname=syntw.synt.com
-Dcom.sun.management.jmxremote.local.only=false
@ Test using netstat –a
@ Connect VisualVM !
@ Alternatively you can set the properties in the management.properties file located in the installation directory of the WebSphere application server\AppServer\java\jre\lib\magagement 
 --------------------------------------------------
Analyzing Java Memory

Monday, February 24, 2014

Find and modify HeapSize

Findstr
Ex: - findstr /rin  heap  *.xml
-          Findstr /r /I  /n  verboseModeJNI  *.xml
Server.xml
verboseModeJNI="false" initialHeapSize="512" maximumHeapSize="768" runHProf="false"

Friday, November 23, 2012

WAS Default Configuration

Eclipse Web Services Explorer :
http://127.0.0.1:2087/wse/wsexplorer/wsexplorer.jsp?org.eclipse.wst.ws.explorer=0
WAS Backup and Restore Configuration :
backupConfig.bat  "C:\Backup.zip"
restoreConfig.bat  "C:\Backup.zip
WAS Admin Console URL :
http://localhost:9060/ibm/console
WAS Start and Stop Server :
startServer.bat server1
stopServer.bat server1
WAS Version and Installation History :
versionInfo.bat
historyInfo.bat
WAS Command Line Admin Console :
wsadmin.bat
Click Here for more info.
Profile Management Tool :
pmt.bat
WebSphere Application Server no longer starts :
To fix it by doing the following steps:
1. Open the file, server.xml in
profile_home\config\cells\cell_name\nodes\node_name\server\server1\
2. Locate the following line: genericJvmArgs="".
3. Replace this with an empty string: genericJvmArgs="". Start the application server.

Resolving Operating System Prerequisite Check issue in IBM Products : ClicK Here
In File : /fep.websv.primary.pak/maintenance.xml
Add line : $NIFP{windows7osprereq.flag};
Add Lines : 

FileName & Location For Modifying Ports address :
Location: profile_home\config\cells\cell_namel\nodes\node_name\
Filename: serverindex.xml, Virtualhosts.xml (under JININode01Cell dir)
FileName & Location For Modifying JVM, HeapSize Paramenter :
Location: above_location\server\server1\
Filename: server.xml
Filename & Location for removing profiles name :

Location: base_server\properties\ (base_v7\properties)
Filename: profileRegistry.xml
Hot deployment and dynamic reloading
SSL Certificate expiration issue resolution
Download WAS v6.1 & v7.0 Developer  Edition
Download WAS v8.5 & WASDEV Plugin for Eclipse

Wednesday, April 4, 2012

Disabling WAS security

METHOD 1: Disabling security thru WAS admin console
- Run at command prompt: \bin\wsadmin.bat -conntype NONE
- Type at WAS admin console: securityoff
- Type exit and restart server.
METHOD 2: Disabling security by editing security.xml file.
- profile_home\config\cells\cell_name\security.xml
- Open this file and change the security attribute enabled=true to enabled=false
- Click here for more info.
- URL to decode password: sysman
METHOD 3: Configuring WAS to stop without prompting for password
Edit the following file:
1.) profile_home\properties\soap.client.props
Then, change the values of these properties:
com.ibm.SOAP.securityEnabled=true to false
com.ibm.SOAP.loginUserid=
com.ibm.SOAP.loginPassword=
2.) Restart server., without giving user id and password.
METHOD 4: Encoding and Edcoding WAS Password
1.) Encode using(\bin\PropFilePasswordEncoder.bat )
profile_home\properties\soap.client.props
the com.ibm.SOAP.loginPassword property value using:
2.) Decoding (XORDecoder)
Go to directory profiles/profie_name/config/cells
Open file security.xml
Look for tag userRegistry