I couldn’t locate the data folder in the admin server. I am using the weblogic 8.1.3 version which doesn’t have the servers folder. The admin server is just present in the domain folder and when i go into that admin server folder, i cannot see the data folder.

This is rakesh again. I have one more issue. In the same architecture described before, there are two security reams configured. One is the default and the other is one specific to an application. I changed the realm configuration in “domain-wide configuration” in the console menu to the default one from the specific one. Now, when i try to open the console using the command prompt, there was an error regarding the admin console username and password and the command prompt disappeared abruptly. Now i deleted the boot.properties file and created a new one with clear text username and password. But i get this following error.

Apart from Deleting the “boot.properties” file …additionally u need to delete the “data” directory as well from the following location “<DOMAIN_HOME>serversAdminServer”. Because inside the “data” directory you will find the “ldap” data files …which is old…So u must delete the “data” directory…then try to start the Server.

i deleted the directory already, but whenever i start the admin server from startweblogic.cmd, i get the same error and the ldap folder gets newly created.

Also, the boot.properties file i created is not getting encrypted. And, when ever i use startweblogic.cmd its asking me for a username and password. But i have already defined the boot.properties file.

Dont put any addtional Character or Additional Space in this File. Just Put the following two Lines inside this “boot.properties” file:

username=YourNewAdminUsername
password=YourNewAdminPassword

Now try to start your Server. Note Dont Put any heading or Trailing Space apart from above two lines in this file. Use “dir” (Windows) or “ls” (Unix) commands to make sure that the file name is “boot.properties” and NOT anything else like “boot.properties.txt”
.
.
Keep Posting 🙂
Thanks
Jay SenSharma

Hello Jay
We have a Production Server, which has one domain and this domain has one application. Its using weblogic 9.1.0.0.

I have seen that there is one Admin Server and 1 Managed Server and the application has been deployed onto the Managed Server and the application is working fine.

I see that the admin console is not accessible. When i saw config.xml i can see that the Admin Server port is not configured.

So my Question is if, i change the config.xml file to configure an admin port for the console to run, do i need to restart the Server. If so, since it is a production Server and there are few other applications running on it. So i have to inform everybody.

SO if i configure the admin port in config.xml do i need to restart the admin server or not ???

By default the AdminServer will run on 7001 Listen Port and on “localhost” Listen Address…until we don’t change it. If you want to change the Listen Port of the Server then Dynamically (Without restart) you can do it from AdminConsole.
You can even do it using JMX or WLST code. Like:

we have a production server, which has 1 admin server and 1 managed server. There is an application deployed onto the managed server. The admin server is not running, but the Managed Server is running in MSI Mode. and the application is also working fine. But we need to update the application, so, we need to stop the application. SO how do we stop the application, i am unable to use the admin console, so i cannot do it from the console. So is there a way to stop it. Also, can we start the application without restarting the amanaged server, because if we restart the managed server, since the admin server is not running, i guess it will not start(The managed Server). Can you please help.

MSI mode of Managed Server only gurantees that Managed Servers can be started without AdminServer Running…because In this case Managed Server uses the “msi-config.xml” file which is basically the “config.xml” file of the time when the AdminServer was last running.

AdminServer only has a right to make any configuration changes or to deploy / undeploy /redeploy Application/resources on any Server/Clusters…so it is not possible to make any modifications on the Applications which are running on ManagedServers. You will have to start the AdminServer in order to make any changes in the application.…there is no other way.

Once the admin Server is running you can deploy/redeploy/undeploy the applications either using weblogic.Deployer utility or through the AdminConsole.

Hi Rakesh,
Java2Demo.jar is an Executable Jar file…so as soon as you double click on it in WINDOWS …it will automatically start working… Because it requires only JRE to run.
But when we talk about the EAR or WAR file …it requires a Container (WebContainer/Enteropise Container) where it can be run. So if you want to analyze EAR / WAR then you must analyze your Server where the Applications are deployed. Please refer to the JConsole documentation for more details.
.
.
Keep Posting 🙂
Thanks
Jay SenSharma

Hi Mgaldames,
Can u please try to remove the below line in your “index.jsp”HttpSession sesion = request.getSession(); because by default the HttpSession will be available in the JSP page. Make sure that you use the Inbuilt “session” variable and Not your own defined “sesion”.

Hi Mgaldames,
Yes, if you want to use a different version of Mail API JAR inside your application then you have only 2 Options…
1). If you have an EAR Application then use on “weblogic-applicacion.xml” and put the jar in APP-INF/lib
2). If you have a Simple WAR Application them inside “WEB-INFlib” directory and then write the “weblogic.xml” file with the following Part of entry inside it.
<container-descriptor>
<prefer-web-inf-classes&gtltrue</prefer-web-inf-classes&gt
</container-descriptor>

NOTE: above Tags will not be able to override the Classes which are loaded as part of the Boot Strap ClassLoader of the JVM. Means the Basic classes which are loaded as part of “endorsed” directory of JVM or from the rt.jat or tools.jar.
.
.
Keep Posting 🙂
Thanks
Jay SenSharma

Our setup has 1 admin server with 2 managed servers that form a cluster and an application that has been deployed on to the cluster.

But recently we found that the cluster license or the license.bea file was invalid or corrupted.

So, i created a new managed server and trying to change the target for the application to the newly created managed server, which is not present in the cluster.

I am getting an error.

#### &lt;&gt; &lt;Failure occured in the execution of deployment request with ID &#039;1290202178146&#039; for task &#039;weblogic.deploy.configChangeTask.3&#039;. Error is: &#039;weblogic.application.CannotRedeployException: Module &#039;SAAEJB.jar&#039; has the same ClassLoader as the Application &#039;SAA&#039;. Consider redeploying the entire application.&#039;
weblogic.application.CannotRedeployException: Module &#039;SAAEJB.jar&#039; has the same ClassLoader as the Application &#039;SAA&#039;. Consider redeploying the entire application.
at weblogic.application.internal.AppClassLoaderManagerImpl.updatePartialDeploySet(AppClassLoaderManagerImpl.java:288)
at weblogic.application.internal.flow.TailModuleRedeployFlow.validateClassLoaderStructure(TailModuleRedeployFlow.java:135)
at weblogic.application.internal.flow.TailModuleRedeployFlow.validateRedeploy(TailModuleRedeployFlow.java:97)
at weblogic.application.internal.BaseDeployment$ValidateRedeployStateChange.next(BaseDeployment.java:801)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.BaseDeployment.validateRedeploy(BaseDeployment.java:301)
at weblogic.application.internal.BaseDeployment.stop(BaseDeployment.java:394)
at weblogic.application.internal.DeploymentStateChecker.stop(DeploymentStateChecker.java:264)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.stop(AppContainerInvoker.java:252)
at weblogic.deploy.internal.targetserver.operations.ModuleRedeployOperation.moduleLevelRedeploy(ModuleRedeployOperation.java:133)
at weblogic.deploy.internal.targetserver.operations.ModuleRedeployOperation.doPrepare(ModuleRedeployOperation.java:79)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:718)
at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1185)
at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:247)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:157)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.prepare(DeploymentReceiverCallbackDeliverer.java:40)
at weblogic.deploy.service.internal.statemachines.targetserver.AwaitingContextUpdateCompletion.callDeploymentReceivers(AwaitingContextUpdateCompletion.java:156)
at weblogic.deploy.service.internal.statemachines.targetserver.AwaitingContextUpdateCompletion.handleContextUpdateSuccess(AwaitingContextUpdateCompletion.java:66)
at weblogic.deploy.service.internal.statemachines.targetserver.AwaitingContextUpdateCompletion.contextUpdated(AwaitingContextUpdateCompletion.java:32)
at weblogic.deploy.service.internal.targetserver.TargetDeploymentService.notifyContextUpdated(TargetDeploymentService.java:225)
at weblogic.deploy.service.internal.DeploymentService$1.run(DeploymentService.java:189)
at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)

Also, i have noticed that what ever changes i make and click on activate changes, this is the error thats coming.

Hi Rakesh,
It looks like a Class Loader is not able to find the required classes in it’s owm repository when you are trying to redeploy the application. So you can try the following things…
1). Take a backup of the “config.xml” file in AdminServer.
2). Now edit the original “config.xml” file on AdminServer and remove the <app-deployment> Tag which points to your Application which is causing the redeployment issue. Like following kind of entry u need to remove for your application
Example:

Round-robin : –
It will cycles through a list of managed servers in order. Like MS-1 then MS-2 and then MS-3, again now the request would go to MS-1 then MS-2 and MS-3 that way.

Weight-based:
We can assign that MS-1 should have 60% of load and others should have 20 % each load. This way 60 % of request load is given to MS-1. This algorithm is used when you know that your MS-1 can handle that much load and other 2 servers cannot handle that much load.

Random:
As the name speaks for itself the lad balancing of the requests are routed to servers at randomly to any servers.

Now it is totally dependent of the environment which algorithm is good for your architecture. However default value is Round-robin.

Hi Rakesh,
From WebLogic Configuration wise you need not to make any additional change rather than creating simple Horizontal Clustering as described in the following Post: http://middlewaremagic.com/weblogic/?p=971
You need to just make sure that there is no Network Communication issue or No Multicast issue between PRODSERVER1, PRODSERVER2
.
.
Keep Posting 🙂
Thanks
Jay SenSharma

Also, when i restart the weblogic server services from the “services” in the “administrative tools” in the control panel, the app runs fine for 3 or 4 days and then the same error occurs and then after restarting the app, it runs fine for another 3 or 4 days and the same thing happens.

Hi Rakesh,
The javax.transaction.HeuristicMixedException: (weblogic.jdbc.wrapper.JTSXAResourceImpl, HeuristicHazard. Exception indicates there is a SEVERE Fatal Failure occured during Transaction. And in your case the cause of this looks like “Software caused connection abort: socket write error”.
Please check for any kind of Network Bleach during the Tmestamp in which you saw this error, The Above transaction failure can also happen due to access read write operation at Operating System level.
But if you are facing this kind of issue very frequently (as u mentioned after every 3-4 days), I will recommend you to open a Oracle WebLogic Support ticket in this regards. Because Transaction Failure once or twice is OK but if it happens that means there immediate and in deapth analysis is required.
.
.
Keep Posting 🙂
Thanks
Jay SenSharma

Its not a Weblogic bug is totally a browser behaviour. I believe this issue you might be facing this issue when opening the console with two tabs on FireFox / Chrome browser.

These browsers keeps that session open for the same site or application which can been also seen if you open a Gmail account and when just type orkut.com in the new tab of the same browser then it would automatic get into your profile page (i.e. if both site uses the same username and password) which is called SSO Single Sign On this is done because you have already given the credentials in the first tab.

However in the case of WLS it makes the previous session closed so that a new session can be opened, this is a default behaviour and does not looks like a bug.

In your Chrome browser try to open a new browser window from the following path and do the same test again.

Wrench(tools) menu / open new window without history or New incognito window

This time I think you would get your answer. 🙂

With the above new window it would work fine when you open two admin consoles using different port number, because now this new window would not be attached to any session to the previous windows or tabs hence it starts a new session for itself only. The same case was for IE6 also when opened in 2 different windows.

Hope these test would explains that its a browsers feature and not WLS bug.

When a native muxer is used, the server creates a fixed number of threads dedicated to reading incoming requests.

BEA recommends using the default setting of selected for the Enable Native IO parameter which allows the server automatically selects the appropriate muxer for the server to use.

Most application servers use thread pools to manage execution tasks of a certain type. A thread pool is merely a collection of threads set aside for a specific task. In the example thread above, I’ve shown you a thread from the WebLogic thread pool (or queue) named “weblogic.socket.Muxer”. A pool of these “Muxer threads” is set aside by WebLogic to manage reading and writing data for network connections coming into WebLogic.

Thread dump log:-

“ExecuteThread: ’1′ for queue: ‘weblogic.socket.Muxer’” id=28 idx=0×68 tid=24640 prio=5 alive, in native, blocked, daemon — Blocked trying to get lock: java/lang/String@0x15a00898[fat lock] at jrockit/vm/Threads.waitForUnblockSignal()V(Native Method) at jrockit/vm/Locks.fatLockBlockOrSpin(Locks.java:1679)[optimized] at jrockit/vm/Locks.lockFat(Locks.java:1780)[optimized] at jrockit/vm/Locks.monitorEnterSecondStageHard(Locks.java:1312)[optimized] at jrockit/vm/Locks.monitorEnterSecondStage(Locks.java:1259)[optimized] at jrockit/vm/Locks.monitorEnter(Locks.java:2466)[optimized] at weblogic/socket/EPollSocketMuxer.processSockets(EPollSocketMuxer.java:153) at weblogic/socket/SocketReaderRequest.run(SocketReaderRequest.java:29) at weblogic/socket/SocketReaderRequest.execute(SocketReaderRequest.java:42) at weblogic/kernel/ExecuteThread.execute(ExecuteThread.java:145) at weblogic/kernel/ExecuteThread.run(ExecuteThread.java:117) at jrockit/vm/RNI.c2java(IIIII)V(Native Method

In Production Environment We must enable Native I/O. The default value is 33.I am also using the Same value but frequently i get “”ExecuteThread: ’1′ for queue: ‘weblogic.socket.Muxer’” id=28 idx=0×68 tid=24640 prio=5 alive, in native, blocked, daemon — Blocked trying to get lock: ” .

In oracle document the default value is based on your enviroment. What calculation we have to change the Socket Readers Default value.

Hi Vinoth,
There is no standard formula to calculate this thing. The value comes out after a load test on that particular environment.
If it was possible through a standard Formulas to calculate the same then Oracle would have already provided it. 😉
.
.
Keep Posting 🙂
Thanks
Jay SenSharma

Hi gurus,
I have deployed an war file application containing media files (pic.jpg and sound.avi)in weblogic 10.3.4.0
Although it works successfully, the problem is it takes a lot of time of open up as far as media goes. However the same war file being deployed in Tomcat does not take time at all. It opens up in less than 3 seconds. but in weblogic it opens up after 10 seconds which is very slow.

The database connection string is not inside weblogic, it is contained inside the war file. Moreover the database that holds these media files is MYSQL. I had coordinated with the MySql DBA and asked for every possiblity like index building or re-building, plus schema analysing. They did it all from their end. However the same result persists for weblogic. This is a project about to go live. And we want to perfect it. Please help.

It seem that 10 seconds is fare enough speed, however if you have already tune-up from your DB side and still want to improve the response time then we would suggest you to have a case opened with the Oracle Support team and check with them as they would have a better idea on it, also do not forget to share it with us so that others can get benefits out of it.

Hi ,
i am having a problem coming up with a solution …
My design is like as this ..
1. I am calling a backend webservice,that is providing me an id value with time window of 14 minutes of activeness to call other backend services.
2. what i wanted is the pooling of these id’s so as to make a session pool, where i can store and consume these id’s by checking there timestamp not to be greater than 14 minutes .
3. Suppose id is being in use for 2 minutes for one flow to work, then again id is being pushed to session pool as the id is still active to be used for other callouts /flows
4. so what type of pooling technique should i used , is there any weblogic session pooling capablity is there , eiter should i go for DB Pooling or queues .
Please provide the needfull !!!

Hi Abhinav,
Making a Hashtable at application level and putting the ID and it’s timestamp in that should work i think in this case.
If you have a Clustered setup then You can bind this Hashtable object to the Cluster wide JNDI tree. Database also can be a good option but database interaction is little causly compared to Direct JNDI lookup…so performace wise Database usages will not be best in this case.
Please refer to the following article to bind any object inside the JNDI tree of a Server/ClusterNodes:http://middlewaremagic.com/weblogic/?p=1809
.
.
Keep Posting 🙂
Thanks
Jay SenSharma

HI Vinoth,
Based on a single thread Trace it is not possible to tell what exactly could be the problem. For thread dump analysis at lease 4-5 thread dumps are required each should be taken in the interval of 10 seconds each.
Based on the Above stackTrace …If you will see the same stackTrace for other Threads as well which are STUCK then you will need to contact your Application developer team and should ask them to recheck the code of following API:in.sis.ps.jms.ddc.JavaProcess.executebatchfile(JavaProcess.java:10)

Here it looks like application is trying to process some batch activities or batch files which is taking more time …so please look at the code or look at the Operating System if for Batch processing enough resources like memory and CPUs are available or not.
.
.
Keep Posting 🙂
Thanks
Jay SenSharma

Hi Ravibopara,
Stage mode deployment is a good option for production environment.
To maintain different versions of application you can refer to the following article: http://middlewaremagic.com/weblogic/?p=394

To Dynamically change some part of the application module or few JSPs without redeploying the whole app you can refer to the partial deployment feature of WebLogic as explained in the following link: http://middlewaremagic.com/weblogic/?p=578
.
.
Keep Posting 🙂
Thanks
Jay SenSharma

I am coming up with a problem related to coherence handling and usage .
My design is that i want to make a cache that would be having a key but would map to multiple values,
such that with a single key i would be able to get multiple different records

Real use case is as follows :
1.
A backend service is providing me an different session_id for a similar request every time i make a call to that session web service.
2.
To fully utilize the session_id time usage window, i want that, every time a backend call is made, session_id’s generated would be stored up in the cache,
with a same key “ACTIVE” in a cache and after the workflow gets over, i again wanted that session_id’s to be updated in the cache but with a different key “IDLE”
3.
Would it be possible to have ‘1’ to ‘Many’ mapping possible in cache, here 1 refers to cache key (“ACTIVE/IDLE”) and many refers to cache values(session_id’s)

We are planning to upgrade from weblogic 10.3.3 to 10.3.4 version.
There are 45 applications running in pre-production.
Could you please share some good practices for upgrading from 10.3.3 to 10.3.4?
Is it possible to upgrade without disturbing existing domains as there are lot of data sources, JMX Modules, users, arguments…

NOTE: WebLogic Server applications do not need to be undeployed. In most cases, WebLogic Server applications can be run without modifications in the new WebLogic Server 10.3.3 or WLS10.3.4 application environment.
.
.
Keep Posting 🙂
Thanks
Jay SenSharma

System admin team upgraded the RAM from 8GB to 16GB on VMware. Before they did their task I had to shutdown the application. So I shutdown the 3 managed servers and admin server from the console.

After they bought the servers back up online after RAM upgrade, I tried to bring up admin console by using the script ./nmstartAdmin.sh but admin server did not start and here is what I saw in console logs:

Can you please let me know what the issue could be? I am totally stuck! How should I bring up the admin now??
I did not get any pointers to solve this issue from oracle forums as well. One of the solution I found said to remove the file adminserver.lok and restart! I tried this solution but it didnt work!

There is No way or Tool available to migrate the users from weblogic embedded ldap to another third party ldap server and vice-versa. The WebLogic’s Embeded LDAPs Data can be imported and exported to another WebLogic Domain only (Not to external ldaps).

In order to export WebLogic’s Ldap infrmations liek Username/passwords you cna do the following:
1). Login to WebLogic AdminConsole of (Suppose Domain_A)
SecurityRealms–>myrealm–>Migration (Tab)–> Export (Subtab)–>Export Directory onServer (Enter path of some existing dorectory here) then click on Export button. This is create some files (which contains user informations which can e imported to any pther WebLogic Domain)

2). To Import the above User Data into the embedded LDAP of another weblogic Domain you can do the following:
SecurityRealms–>myrealm–>Migration (Tab)–> Export (Subtab)–>Import

But there is no such tool available to migrate the External LDAP user database to the WebLogic’s Embedded LDAP, so this you will have to do manually. Or you can refer to the following WLST Script to do the same thing in less manual way.http://middlewaremagic.com/weblogic/?p=4981

in the medrec sample application it is showing the target as MedRecJMSServer, but when we are trying to give the target as qacls it is only showing MedRecJMSServer in the qa envinronment. please suggest us how to overcome that problem.
Tags

Hi Ravish/Jay/Ray,
In general sense, can you guess give some idea on what to consider while setting up throttling numbers for http (number of sessions, http connection), JMS (message flow, bytes) etc with explanation and some example? I know this is probably a vague question but if you can give explanation would be great.

Hi vikramjeet,
403 Error is an HTTP Response code which indicates that You dont have required credentials or permission to access the application. It has nothing to do with “weblogic.Deployer” or “Exploded Deployment”.
Just open the “envAudit.war/WEB-INF/web.xml” file and then check if there is any <security-constraint> or <role-name> is defined or not ?
.
.
Keep Posting 🙂
Thanks
Jay SenSharma

at weblogic.jdbc.common.internal.MultiPool.searchHighAvail(MultiPool.java:505)
at weblogic.jdbc.common.internal.MultiPool.findPool(MultiPool.java:178)
at weblogic.jdbc.common.internal.ConnectionPoolManager.reserve(ConnectionPoolManager.java:89)
at weblogic.jdbc.jta.DataSource.getXAConnectionFromPool(DataSource.java:1677)
at weblogic.jdbc.jta.DataSource.getConnection(DataSource.java:446)
at weblogic.jdbc.jta.DataSource.connect(DataSource.java:403)

But all my applications are working up & running.
Please help me in resolving this issue ASAP.

I have to configure SSO using SAML 2.0 in WLS 10.3.
I have 2 domains and 2 apps deployed on each domain.
In one domain LDAP authenticator is configured with external LDAP. Any user present in external LDAP can have access to both the apps. My SSO configuration works well for development environment.
Now for production environment, I read in oracle documentation that RDBMS security store is required for SAML 2.0. I didn’t configure it for development environment. My query is if I configure RDBMS security store for production environment, what will happen to my external LDAP? How authentication will take place in that case and can RDBMS security store and external LDAP coexist?

I do not why you should have an JDBC store, do they give a specific reason for this in the documentation? Your users are probably located in your external LDAP and not in the database. I think you can go for the configuration you have performed in the development environment. Also when you look for another tutorial (an old one, but still very good), you can find it here: http://www.oracle.com/technetwork/articles/entarch/sso-with-saml-099684.html

Thanks for your response. I am using SSO with SAML 2.0. With SAML 1.1, RDBMS security store is not required. As per oracle documentation, to configure SSO with SAML 2.0, the RDBMS security store is required by the SAML 2.0 security providers in production environments so that the data they manage can be synchronized across all the WebLogic Server instances that share that data.
Here is the documentation url :http://docs.oracle.com/cd/E23943_01/web.1111/e13707/saml.htm#i1107165

First of all, thanks for this wonderful website, I’m constantly checking this site and is giving me so much knowledge!

I’m wondering if you have any experience with weblogic server 10.3.2 + terracotta. We are experiencing some performance problems with weblogic portal 10.3.0 + wls 10.3.0 and we are migrating to wlp and wls 10.3.2 64 bits to overcome that. But I have the CTO pushing me to use terracotta before tuning wls 😛

We have to define that yet. Probably, the first approach will be second-level cache, but I think that for some portals that just expose content from a content manager, we could use a caching for html generated pages. We have other portal that has authentication so I don’t know if we can to leverage ehcache or big memory.

Am very new to Weblogic. Now I have to setup an environment, where Admin server and 2 managed servers will be in three different physical machines. Obviously they will be having 3 different IP.

Node manager will be there to make all the 3 servers up and running.

Now, I want to know that for this setup, I need to install 3 weblogic instances in those 3 different machines?
If so, then how managed server 1 and managed server 2 has to be defined. Will they be managed servers or the admin servers there can act as managed servers for me?

Hi magic Team,
This is related to IBM Websphere,it’s a general issue i think.
Issue:- In a DEV JVM we have 15 applications. when we try to start a application from console it is taking 6 minutes to start. When i restart the JVM it is taking 5 minutes. The same applications in testing environment it is taking secs to start. Configuarations are same in both DEV & QA. when iam starting application from console ,i tried to monitor cpu usage(linux) using TOP command DMGR pid using 150% and JVM pid using 130% of CPU. I tried to generate thread dumps ,i could not find anything form dumps. One more thing when i tailed SystemOut.logs i dont see any errors. no cpu starvation,no hungs,no outof memory.

I am having some issues with LDAP connectivity to OID from a weblogic 10.3.4 installation. Basically what seems to happen is that after a certain amount of time the connection seems to drop and not re-connect. I would like to monitor active LDAP connections via a WLST script. However I cannot find a suitable mbean to give me this info. Anybody know where I can look?

Here is the issue that we are facing in our production environment. Need your help to resolve.

We have ten managed servers grouped in a cluster. For the zip download requests (download servlet), the requests were taking more time than the WLIOtimeoutsec and then getting replicated to other online nodes in cluster. This behavior making the application slow.

we are restarting all managed nodes one by one ( rolling restarts) to bring back the application stable. We contacted oracle support but no help.

Below are the entries in apache web httpd.conf file. We don’t have session replication enabled in weblogic.

I need urgent help.
I lately I have been plague with errors in my Weblogic Server w.r.t to DB connection.
JDBC version = Oracle Driver Thin for Service Connections version 9.0.1 and later.
Weblogic version = 10.3.4.0
DB version = 9.2.0.8
JDK version = java version “1.6.0_21”

java.sql.SQLRecoverableException: IO Error: Socket read timed out
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:419)
at oracle.jdbc.driver.PhysicalConnection.(PhysicalConnection.java:538)
at oracle.jdbc.driver.T4CConnection.(T4CConnection.java:228)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(ConnectionEnvFactory.java:350)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:236)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1249)
at weblogic.common.resourcepool.ResourcePoolImpl$ResourcePoolMaintanenceTask.timerExpired(ResourcePoolImpl.java:2718)
at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
Caused By: oracle.net.ns.NetException: Socket read timed out
at oracle.net.ns.Packet.receive(Packet.java:331)
at oracle.net.ns.DataPacket.receive(DataPacket.java:104)
at oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:315)
at oracle.net.ns.NetInputStream.read(NetInputStream.java:260)
at oracle.net.ns.NetInputStream.read(NetInputStream.java:185)
at oracle.net.ns.NetInputStream.read(NetInputStream.java:102)
at oracle.jdbc.driver.T4CSocketInputStreamWrapper.readNextPacket(T4CSocketInputStreamWrapper.java:124)
at oracle.jdbc.driver.T4CSocketInputStreamWrapper.read(T4CSocketInputStreamWrapper.java:80)
at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1136)
at oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1113)
at oracle.jdbc.driver.T4C8TTIpro.receive(T4C8TTIpro.java:128)
at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1078)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:308)
at oracle.jdbc.driver.PhysicalConnection.(PhysicalConnection.java:538)
at oracle.jdbc.driver.T4CConnection.(T4CConnection.java:228)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(ConnectionEnvFactory.java:350)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:236)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1249)
at weblogic.common.resourcepool.ResourcePoolImpl$ResourcePoolMaintanenceTask.timerExpired(ResourcePoolImpl.java:2718)
at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)

java.sql.SQLRecoverableException: IO Error: The Network Adapter could not establish the connection
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:419)
at oracle.jdbc.driver.PhysicalConnection.(PhysicalConnection.java:538)
at oracle.jdbc.driver.T4CConnection.(T4CConnection.java:228)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(ConnectionEnvFactory.java:350)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:236)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1249)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1166)
at weblogic.common.resourcepool.ResourcePoolImpl.reclaimReservedResources(ResourcePoolImpl.java:1477)
at weblogic.common.resourcepool.ResourcePoolImpl.disablePool(ResourcePoolImpl.java:1447)
at weblogic.common.resourcepool.ResourcePoolImpl.forceSuspend(ResourcePoolImpl.java:288)
at weblogic.jdbc.common.internal.ConnectionPool.forceSuspend(ConnectionPool.java:194)
at weblogic.common.resourcepool.ResourcePoolImpl.processFailCountExceededDisableThreshold(ResourcePoolImpl.java:1747)
at weblogic.common.resourcepool.ResourcePoolImpl$Group.incrementTestFailCount(ResourcePoolImpl.java:2347)
at weblogic.common.resourcepool.ResourcePoolImpl$Group.access$200(ResourcePoolImpl.java:2210)
at weblogic.common.resourcepool.ResourcePoolImpl.checkResource(ResourcePoolImpl.java:1681)
at weblogic.common.resourcepool.ResourcePoolImpl.checkAndReturnResource(ResourcePoolImpl.java:1588)
at weblogic.common.resourcepool.ResourcePoolImpl.checkAndReturnResource(ResourcePoolImpl.java:1577)
at weblogic.common.resourcepool.ResourcePoolImpl.testUnusedResources(ResourcePoolImpl.java:2021)
at weblogic.common.resourcepool.ResourcePoolImpl.access$1800(ResourcePoolImpl.java:41)
at weblogic.common.resourcepool.ResourcePoolImpl$ResourcePoolMaintanenceTask.timerExpired(ResourcePoolImpl.java:2697)
at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
Caused By: oracle.net.ns.NetException: The Network Adapter could not establish the connection
at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:375)
at oracle.net.resolver.AddrResolution.resolveAndExecute(AddrResolution.java:422)
at oracle.net.ns.NSProtocol.establishConnection(NSProtocol.java:686)
at oracle.net.ns.NSProtocol.connect(NSProtocol.java:246)
at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1056)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:308)
at oracle.jdbc.driver.PhysicalConnection.(PhysicalConnection.java:538)
at oracle.jdbc.driver.T4CConnection.(T4CConnection.java:228)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(ConnectionEnvFactory.java:350)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:236)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1249)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1166)
at weblogic.common.resourcepool.ResourcePoolImpl.reclaimReservedResources(ResourcePoolImpl.java:1477)
at weblogic.common.resourcepool.ResourcePoolImpl.disablePool(ResourcePoolImpl.java:1447)
at weblogic.common.resourcepool.ResourcePoolImpl.forceSuspend(ResourcePoolImpl.java:288)
at weblogic.jdbc.common.internal.ConnectionPool.forceSuspend(ConnectionPool.java:194)
at weblogic.common.resourcepool.ResourcePoolImpl.processFailCountExceededDisableThreshold(ResourcePoolImpl.java:1747)
at weblogic.common.resourcepool.ResourcePoolImpl$Group.incrementTestFailCount(ResourcePoolImpl.java:2347)
at weblogic.common.resourcepool.ResourcePoolImpl$Group.access$200(ResourcePoolImpl.java:2210)
at weblogic.common.resourcepool.ResourcePoolImpl.checkResource(ResourcePoolImpl.java:1681)
at weblogic.common.resourcepool.ResourcePoolImpl.checkAndReturnResource(ResourcePoolImpl.java:1588)
at weblogic.common.resourcepool.ResourcePoolImpl.checkAndReturnResource(ResourcePoolImpl.java:1577)
at weblogic.common.resourcepool.ResourcePoolImpl.testUnusedResources(ResourcePoolImpl.java:2021)
at weblogic.common.resourcepool.ResourcePoolImpl.access$1800(ResourcePoolImpl.java:41)
at weblogic.common.resourcepool.ResourcePoolImpl$ResourcePoolMaintanenceTask.timerExpired(ResourcePoolImpl.java:2697)
at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
Caused By: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at oracle.net.nt.TcpNTAdapter.connect(TcpNTAdapter.java:150)
at oracle.net.nt.ConnOption.connect(ConnOption.java:130)
at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:353)
at oracle.net.resolver.AddrResolution.resolveAndExecute(AddrResolution.java:422)
at oracle.net.ns.NSProtocol.establishConnection(NSProtocol.java:686)
at oracle.net.ns.NSProtocol.connect(NSProtocol.java:246)
at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1056)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:308)
at oracle.jdbc.driver.PhysicalConnection.(PhysicalConnection.java:538)
at oracle.jdbc.driver.T4CConnection.(T4CConnection.java:228)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(ConnectionEnvFactory.java:350)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:236)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1249)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1166)
at weblogic.common.resourcepool.ResourcePoolImpl.reclaimReservedResources(ResourcePoolImpl.java:1477)
at weblogic.common.resourcepool.ResourcePoolImpl.disablePool(ResourcePoolImpl.java:1447)
at weblogic.common.resourcepool.ResourcePoolImpl.forceSuspend(ResourcePoolImpl.java:288)
at weblogic.jdbc.common.internal.ConnectionPool.forceSuspend(ConnectionPool.java:194)
at weblogic.common.resourcepool.ResourcePoolImpl.processFailCountExceededDisableThreshold(ResourcePoolImpl.java:1747)
at weblogic.common.resourcepool.ResourcePoolImpl$Group.incrementTestFailCount(ResourcePoolImpl.java:2347)
at weblogic.common.resourcepool.ResourcePoolImpl$Group.access$200(ResourcePoolImpl.java:2210)
at weblogic.common.resourcepool.ResourcePoolImpl.checkResource(ResourcePoolImpl.java:1681)
at weblogic.common.resourcepool.ResourcePoolImpl.checkAndReturnResource(ResourcePoolImpl.java:1588)
at weblogic.common.resourcepool.ResourcePoolImpl.checkAndReturnResource(ResourcePoolImpl.java:1577)
at weblogic.common.resourcepool.ResourcePoolImpl.testUnusedResources(ResourcePoolImpl.java:2021)
at weblogic.common.resourcepool.ResourcePoolImpl.access$1800(ResourcePoolImpl.java:41)
at weblogic.common.resourcepool.ResourcePoolImpl$ResourcePoolMaintanenceTask.timerExpired(ResourcePoolImpl.java:2697)
at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)

Hello All, I really appreciate the kind of work your are doing through this blog. It is really helpful.

I have some questions regarding WebLogic redeployment. We are using WebLogic 10.3.5. We have two data centers, so when there is a new release we take one out of traffic and deploy. Our deployments are in nostage mode which are deployed on a cluster (spread horizontal and cluster). We place deployments in same location on all machines of cluster.
Process we follow to deploy new wars and ears:
Stop cluster
Replace the Wars and Ears with new files
Start cluster.
So my question is whether we are following correct process, are new Wars and Ears deployed when cluster is started or do we need to delete ‘tmp’ and ‘cache’ folders inside /servers//. Sometimes we find issues with this process so we delete ‘tmp’ and ‘cache’ and restart to resolve the issue.

– http://psoug.org/oraerror/ORA-01017.htm
“The core issue with an ORA-01017 error is an invalid user ID and passwords combination, but other than an incorrect password, there are user ID issues that may contribute to the ORA-01017 error:

It may be that the user ID is invalid for the target system – The user ID exists as the username column in the dba_users view.

select username from dba_users;

Check your $ORACLE_SID environmental parameter. If your $ORACLE_SID is set to the wrong system ID then you may get a ORA-01017 error because you are connecting to the wrong database.
If using external OS user authentication (ops$ or remote_os_authent) you need to verify that the user ID is valid. You can tell if you are using external authentication because you connect without providing a user/password combination, and only provide a forward slash to the connect string, (e.g. connect / as sysdba;).

Check your tnsnames.ora to ensure that the TNS service name points to the correct server and instance name. If you specify an incorrect tnsnames.ora service name, then the user ID and password may not exist in that database.”

As per our client security standard we must disable the http port for weblogic admin server. We must access the weblogic admin console through https by using third party SSL certificate. If we start the managed server we saw the “<Emergency <Management <BEA-141151 <The admin server could not be reached at https://localhost:7002. ".

<Info <Configuration Management <BEA-150018 <This server is being started in managed server independence mode in the absence of the admin server.

We already updated the Admin server url in startManagedWebLogic.sh script ( ADMIN_URL="https://localhost:7002&quot; ) and also include the third party ssl certificate details in the startManagedWebLogic.sh script.

I want to installed Application server (weblogic, Jboss) and configure domain in the server. But i don’t have any server for installing these middlware software.

Can anyone please give idea and steps how can i make my laptop as localhost(server) and installed in it.
I am naive in this subject matter so, if anyone can explain in steps i would really appreciate it.

I have setup admin port and able to login to the console with the admin port.

However when i try to start the managed server i am unable to do so.

#### <> <An error occurred while establishing a connection back to the admin
stration server t3s://X.X.X.X:9002 during startup. Since bootstrap succeeded check that t3s://X.X.X.X:9002 uniquely identifies the administrati
on server.
javax.naming.ServiceUnavailableException [Root exception is java.rmi.NoSuchObjectException: The object identified by: '31' could not be found. Either it was
has not been exported or it has been collected by the distributed garbage collector.]

Need some knowledge on Statemenmt timeout of datasource in weblogic 11g. we set the statement timeout as 120 secs. we are using oracle 11g DB. we are calling a stored procedure from the java application which is deployed on weblogic 11g. when the stored proc is running abnormally in some scenarios and takes more then 120 secs the execution is not timing out but it is marked as stuck thread.

is the statement timeout is not working?? we are using callable statement. is there any way to set timeout in 11g ??

I need to record the activity log going on in the weblogic environemnt servers like who logged when and who did what for both my WLS (12c) application server and OHS (11) web server also. Can someone please help me.. Thanks in Advance.

Thanks for the reply. Yes you are right the session timeout can be set in many places. And web.xml value will override all other timeout values.

But the issue is,as i have mentioned already in the above description yesterday, the web.xml in the war has session timeout defined for 240 minutes(4 hours). And it will still getting timed-out only for few users within 30 mins.

Hi, I am planning for a Secondary Site(DR) for the Weblogic Portal 10.3.2. At present we are having a Primary Site having an Admin Server and 5 Managed Servers. The Database is Oracle RAC with Standby Database available at the Secondary Site replicated using Data Guard.

Now how do i configure and create a Secondary Admin Server . We are using a RDBMS Security Realm at the primary site.
I tried copying the complete installation of Primary Site to the Secondary site servers . Changed the JDBC where ever required . Also changed the IP’s in the config.xml. Howerever upon trying the start the Admin Server the following error appears :
<The realm "myreal
m" failed to be loaded: weblogic.security.service.SecurityServiceException: java
.lang.AssertionError: java.lang.reflect.InvocationTargetException.
weblogic.security.service.SecurityServiceException: java.lang.AssertionError: ja
va.lang.reflect.InvocationTargetException
at weblogic.security.service.CSSWLSDelegateImpl.initializeServiceEngine(
CSSWLSDelegateImpl.java:342)
at weblogic.security.service.CSSWLSDelegateImpl.initialize(CSSWLSDelegat
eImpl.java:221)

I am facing an issue in OSB ,where backend response is coming as null if testing end to end and if testing only PS we are getting proper response.
enabled tracing on services only getting soap envelope in response.
However if backend responds with valid error message it is working fine.
problem is coming only when it is a success from backend “$body” is coming as blank.

Our oracle DB was upgraded to 12c but weblogic is still running on version 8.1 and we are facing a ora exception as below in the connection pool.
” ora-28040 no matching authentication protocol”.
How can we get rid of this error from weblogic end.

As you mentioned that your DB was recently upgraded to 12c hence i am suspecting that it might be due to a known issue of Oracle.Bug 14575666
>>> In 12.1, the default value for the SQLNET.ALLOWED_LOGON_VERSION parameter has been updated to 11. This means that database clients using pre-11g JDBC thin drivers cannot authenticate to 12.1 database servers unless theSQLNET.ALLOWED_LOGON_VERSION parameter is set to the old default of 8.
This will cause a 10.2.0.5 Oracle RAC database creation using DBCA to fail with the ORA-28040: No matching authentication protocol error in 12.1 Oracle ASM and Oracle Grid Infrastructure environments.Workaround: Set SQLNET.ALLOWED_LOGON_VERSION=8 in the oracle/network/admin/sqlnet.ora file.OR
Try using the latest oracle JDBC driver on the WLS side.