You are on page 1of 3

8/8/15

Weblogic Administration: Weblogic Issues Troubleshooting


0

More

Next Blog

Create Blog

Sign In

Weblogic Administration
Basics knowledge on Weblogic Server & Administration

PAGES
Home
Weblogic Administaration Interview
Questions

SATURDAY, APRIL 9

Weblogic Issues Troubleshooting

Weblogic Commands used

1. Port Conflict Issue:

Exception Names in WLS

While configuring a new WebLogic instance and starting it, that might be get an issue like : "Port already in use".

Weblogic Topics
Architecture
weblogic Introduction

There could be many reasons for this one.


1. on the same machine multiple standalone instances might be running one of the instance already used that port
which you have given for new configuration.
2. apache might be running with the same port.

WLS Installation Steps

3. middleware might be running on the same machine with same port

WLS Silent Mode Installation

On Solaris Operating environment we have 2 options:

WlS Domain Creation 2

1. using pfiles command

WLS ~ Apache Configration

netstat na|grep --> identify port in use

Creating JDBC Connection Pool/JDBC


Data Source
Java DataBase Connectivity
Weblogic Server SSL Configuration
WLS SSL Configration
Differnce between WLS 8, 9 ,10
Difference between Webserver and
Application server
Diff B/W Devlopment - Production

pfiles |grep -i sockname |grep port --> look for every java process is initialized by startWebLogic.sh or
startManagedWebLogic.sh
2. Another way costly one (Third party package) to find the process that is using particular port is :
lsof -i tcp:
3. Best way is perl script using a method it will check only standard ports which are used by the system.
getservbyport(int port_number, const char *protocol_name)
#!/usr/bin/perl
($name, $aliases, $port_number, $protocol_name) = getservbyport(7001, "tcp");
print "Name = $name\n";
print "Aliases = $aliases\n";

Difference B/W .out and .log

print "Port Number = $port_number\n";

PATH - CLASSPATH

print "Protocol Name = $protocol_name\n";

Differnce between Queue and Topic


Unicast - Multicast

2. Config.xml Repository Issue

Reset WLS username and password

When I copy pasted few of the JMS Queue related configurations from existing WLS config.xml to newly created

Deployment Staging Modes


Console Deployment
Command line deployment
JVM

WLS Domain's config.xml. I got stuck the control at following line in the WebLogic Server logs.
<="" at="" configuration="" domain="" from="" path="" repository="" span="">
Sol: Verify all the lines in the config.xml file there might be missing any xml tags missing. I have missed out one line
need to correct it now it is working fine.
3. Multicast Failure

MyError Codes

while running the managed server on a remote server getting the following exception:

Session Replication

java.net.SocketException: Socket is closed


at java.net.DatagramSocket.send(DatagramSocket.java:577)

Load Balancing in Weblogic Server


Thread Dump

Sol:

Node Manager

a). check for the ping happening between the cluster involved machines.

BMC Remedy
Oracle WebLogic Server Startup/Shutdown
Weblogic Monitiring CMD

b). Verify the Multicast IP with the MulticastTest with multiple ips and with ports then use which is communicating
the message between two participants.
AppMachine 1: java utils.MulticastTest -n app1 -a 237.0.0.5 -p 9999
WebMachine 2:java utils.MulticastTest -n app2 -a 237.0.0.5 -p 9999
Multicast Issues
The messages must exchange between them... otherwise check with Network team.

WEBLOGIC ADMINSTRATION

c). Multcast heart beat can be visible by the following command line:

2011 (72)

java weblogic.cluster.MulticastMonitor mydomain mycluster

March (1)
April (39)
Introduction
OVERVIEW OF WEBLOGIC
ADMINISTRATION

4. Application not accessible


While accessing the application url after Web App deployment.
<[ServletContext(id=29754737,name=webapp1,context-path=/contextpath)] Root cause of ServletException.
java.lang.StackOverflowError
Sol: Check the classpath it is the communication gap between Servlet and an EJB

Weblogic

5. Editing the WLS password

Application is facing issue while


fetching data fr...

New password is given in boot.properties when server is in offline.


The Admin server started but while starting the managed instances got the following error:

Roles of a weblogic administrator


Domain Creation in 10.3

********************************************************
The WebLogic Server did not start up properly.

narayanasetti.blogspot.in/2011/04/weblogic-issues-troubleshooting.html

1/3

8/8/15

Weblogic Administration: Weblogic Issues Troubleshooting


Introduction to WebLogic

Reason: weblogic.security.SecurityInitializationException: Authentication denied: Boot identity not valid; The user

WebLogic Server 8.1


Administration

name and/or password from the boot identity file (boot.properties) is not valid. The boot identity may have been

OVERVIEW OF WEBLOGIC
ADMINISTRATION

values of username and password. The first time the updated boot identity file is used to start the server, these

RESET ADMIN USERNAME AND


PASSW0RD

************************************************************

weblogic Introduction

pattern and rename ldap folder in the Managedserver instance folder present in the domain folder.

Weblogic Issues Troubleshooting

changed since the boot identity file was created. Please edit and update the boot identity file with the proper
new values are encrypted.
Sol: Resolved by editing in boot.properties, startManagedWebLogic.sh files for the new password in 'CLEARTEXT'
While starting up the server instance boot.properties will be encrypted and re-written back. after this ldap folder will
be generated in the domain directory for the Managed instance where new file will be created with instance name

Thread Dump will be printed to the


servers standar...

with extention as .ldif

Creating JDBC Connection


Pool/JDBC Data Source

While configuring the Apache using the instructions given in the following link :

SSL Configuration on WebLogic


Server 9.2 on solari...
How do I increase WebLogic
Server memory?
Introduction to WebLogic:

Apache Plug-in configuration


6. Deployment Error
Module Name: apollo, Error: [HTTP:101179][HTTP] Error occurred while parsing descriptor in Web application
"/domainpath/application.war" [Path="/source_code_path", URI="applicaiton.war"
org.xml.sax.SAXParseException: Element type "local-path" must be followed by either attribute specifications, ">" or
"/>".
Sol:

Silent mode installation :

Check the Deployment Descriptors (here weblogic.xml) edit as per the given Line.

Create a new user if existing


credentials got corr...

7. JNDI Issue

Basic Unix Commands

data couldn't be saved. The exception is : Error while doSenderQueueLookUp for :QUEUEJNDIUnable to resolve

HTTP Error codes


linux-weblogic-10-3-3-installation

While deploying application which is having multiple JMS Queues getting as:
'QUEUEJNDI' Resolved
Sol:
Please verify the Persistance Store is connected to Connection Pool.

linux-weblogic-10-3-3-domainconfiguration

8. NEW MANAGED SERVER CONFIGURATION ISSUE

Weblogic Boot Properties

Here I am with set of errors when newly configuring WebLogic 9.2 MP3 managed server and adding to a webcluster.

weblogic-cluster-configuration
Application Server Configuration

The managed server when started first time shown the following :
1. BEA-000362
2. BEA-000386

Weblogic Machine Configuration

On Solaris box:

Weblogic JDBC

<="" span="">

Apache
install-apache-on-linux
install-apache-on-windows
Weblogic 10 - what to know
Oracle WebLogic Installation Steps
Domain , Administration &
Managed Server, Cluster ...
Create Domain in Oracle
WebLogic
Oracle WebLogic Server Startup/Shutdown
Deploy Application on Oracle
WebLogic Server
Console deployment
JDBC (Java DataBase Connectivity
) in Oracle WebLo...
May (5)
June (11)
July (4)

There are 1 nested errors:


java.net.UnknownHostException: mywebhostname.com: myhostname.com
at java.net.InetAddress.getAllByName0(InetAddress.java:1128)
at java.net.InetAddress.getAllByName0(InetAddress.java:1098)
at java.net.InetAddress.getAllByName(InetAddress.java:1061)On
On Linux box:
<="">
weblogic.ldap.EmbeddedLDAPException: Unable to open initial replica url:
http://myadminhost.com:7001/bea_wls_management_internal2/wl_management
at weblogic.ldap.EmbeddedLDAP.getInitialReplicaFromAdminServer(EmbeddedLDAP.java:1319)
at weblogic.ldap.EmbeddedLDAP.start(EmbeddedLDAP.java:221)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
java.io.FileNotFoundException: Response: '500: Internal Server Error' for url:
'http://myadminhost.com:7001/bea_wls_management_internal2/wl_management'
at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:472)
at weblogic.ldap.EmbeddedLDAP.getInitialReplicaFromAdminServer(EmbeddedLDAP.java:1296)
at weblogic.ldap.EmbeddedLDAP.start(EmbeddedLDAP.java:221)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
Truncated. see log file for complete stacktrace

August (5)

Solution/Work around:

October (3)

BEA-000362

November (4)

Here we need to investigate for the network communication happening or not with the hostnames given in the
config.xml. ping from managed server box to admin server hosting dns. And also check the /etc/hosts updated with

2012 (8)

the new host dns. Some times DNS table entries not updated in WAN domains may cause this issue.

2014 (286)

BEA-000386

2015 (4)

Check for the hostname of the managed server listen-address given one and hosting dns/ip is matching or not
using the WebLogic console(this could be a time taking process).
Unix aware guy always prefer grep on config.xml :)

narayanasetti.blogspot.in/2011/04/weblogic-issues-troubleshooting.html

2/3

8/8/15

Weblogic Administration: Weblogic Issues Troubleshooting

No comments:
Post a Comment

Enter your comment...

Comment as:

Publish

Google Account

Preview

Newer Post

Home

Older Post

Subscribe to: Post Comments (Atom)

Krishna Narayanasetti. Picture Window template. Template images by sandsun. Powered by Blogger.

narayanasetti.blogspot.in/2011/04/weblogic-issues-troubleshooting.html

3/3

You might also like