Pages

Friday, November 04, 2011

Weblogic Managed Server multicast packets issue: Critical Subsystem Cluster has failed.

If you see below error on starting a managed server:



<Error> <Cluster> <BEA-000170> <Server managedServer1 did not receive the multicast packets that were sent by itself>
<Critical> <Health> <BEA-310006> <Critical Subsystem Cluster has failed. Setting server state to FAILED.


Its most likely an issue of IP of servers. I don't know if there would be other causes to it but this is what happened in my case:


I had configured a domain for a specific IP originally, however when I changed the IP the above error logged on console.


Solution: Connected laptop to a network and provided a static IP(which was originally assigned) to it.


(Note : I tried to update the IP of servers to a new IP of assigned by new network however it didn't work.)

Starting WebLogic Servers without providing Username and Password manually

During development, if one has to stop and start the servers 'n' number of times a day, to provide a username and password on every startup becomes annoying? 


I was tired of doing it, found out very simple solution to it:


Create a boot.properties file under a domain directory: (D:\bea\user_projects\domains\{$Domain_Name}\) with below properties in it.

username=sachin
password=more


After you create above and  start the server, it will encrypt both the values automatically.


Note - 
1. Both Admin and Managed servers will read the login properties from boot.properties file.
2. No need of any explicit setting to point to boot.properties in environment.

Wednesday, January 19, 2011

Weblogic hangs after IIOP configuration

Weblogic server hangs after IIOP configuration completed (last line in the log file: " ".)

Below are last few lines of stack trace:

<1295417798725> <BEA-002609> <Channel Service initialized.>  
<1295417798772> <BEA-000406> <NTSocketMuxer was built on Jan 24 2006 20:40:35>
<1295417798850> <BEA-000436> <Allocating 5 reader threads.><br/>
<1295417798850> <BEA-000446> <Native IO Enabled.>
<1295417799037> <BEA-002014> <IIOP subsystem enabled.>

There was NO activity after the last statement.

Solution:
Weblogic does a "security" initialization after IIOP configuration.
While doing security initialization, weblogic initialize the LDAP, that's where the problem seemed to be. LDAP files("\server\\data\ldap" folder) might have been corrupted.

So deleted (actually just renamed it to .bak) the server folder under "\server\ folder (made it to folder). 

On restart of weblogic this folder will get recreated from scratch and the problem was resolved!!!

Friday, September 10, 2010

Download multiple files from FTP

To download multiple files from FTP server with some pattern use "mget" command.

(e.g. To get all zip files from ftp server, user following command)

ftp> mget *.zip



The server will keep asking for confirmation before starting the download for each file. If you want to disable the confirmation prompt, use "prompt" command.


ftp> prompt



Friday, March 19, 2010

Weblogic Cannot open paging store

I was surprised NOT to see any search results on this issue!

Error Message:
#### <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> Cannot open paging store

What is JMS Paging Store :
Each JMS server implicitly creates a file based paging store. When the WebLogic Server JVM runs low on memory, this store is used to page non-persistent messages as well as JDBC store persistent messages.

The paged out message bodies are
written by default under:
C:\bea921\user_projects\domains\$DomainName\servers\$ServerName\tmp

By looking at the error message WL seem to have encountered an error while opening the paging store(assuming some file under tmp folder).

Action Step:
1. Shut down the servers.
2. Take a backup of "tmp" directory.
C:\bea921\user_projects\domains\$DomainName\servers\$ServerName\tmp
3. Delete the tmp directory under
C:\bea921\user_projects\domains\$DomainName\servers\$ServerName\
4. Restart the servers. (Server start will create the tmp directory on startup).

Monday, March 15, 2010

Oracle XE could not start in Ubuntu

I could not start Oracle XE in ubuntu by using /etc/init.d oracle-xe start. It did not throw any error but did not start too.

Solution: Try /etc/init.d oracle-xe force-reload
This command will shut down the server and start it all over again.

Weblogic- BEA-001129, Received exception while creating connection for pool

There could be various reasons for the following warning message:


Reason: One of reason would be your database connection itself is down.
Solution: Get the database up and running and restart the server.

Wednesday, August 19, 2009

Adobe Flash not working with Firefox-3.5 in Ubunutu 9.04

I was trying to use Balsamiq through latest Firefox installed in Ubuntu 9.04, but it didn't work. I was getting the following blank page:



While searching for solution, I found the following commands here, which fixed the problem with flash player and Balsamiq worked successfully then.
From terminal, execute the following commands:
wget http://queleimporta.com/downloads/flash10_en.sh
sudo sh ./flash10_en.sh





After running the above commands successfully, I can see Balsamiq mockup pop-up window...

Friday, July 10, 2009

BlogCamp2 Pune

When I reached BlogCamp @ 09:45 AM, I was expecting lots of geeks to be present there. But to my disappointment, there were not many present :-( . Other disappointment was, no T-shirts offered at registration counter :-( . One new thing(at least for me) at the counter was, instead of the email id, they asked for my Twitter id - @moresach (I had one, but never used!).

Tarun, one of the organizers of Blogcamp2, started with an introduction to BlogCamp @ 10:10 AM, with a nice PPT having picture on almost every slide (I think, A picture speaks a thousand words). As it was an unconferencing conference he asked us to introduce ourselves. Luckily, I was introducing myself, someone clicked my picture and to my surprise, the same picture was published in next day's TimesOfIndia. After quite a bit of effort, today I could finally find the photographer and got this picture!

I really liked the enthusiasm of the attendees, especially the Mumbai bloggers were really energetic.

Sessions at Blogcamp:

@MeetuKabra

The first session at BlogCamp was really interactive. Meetu blogs on movie reviews & her topic was “Marketing your Blog”. She wasn’t new to blogging, but certainly did n0t have much expertise in marketing her blog that effectively. Other bloggers from the audience gave many useful inputs. Meetu appreciated all of those inputs & accepted quite a few of them. I really liked this session, as it was more of discussion than typical presentation.

@Farrad

He was the youngest blogger of the blogcamp, he is just 15. And most of us were surprised that his blog gets around 38,000 hits a month!

@Scientist

This was one of the most knowledge rich, however monotonous session. No one asked a single question during or after the session. Maybe everyone was feeling sleepy with there stomach full.

@Abhishek Thakkar,

He became the center of attraction at the end of BlogCamp! Whoever was sleeping in earlier session(at least I was) was shaken & woke up with Abhiskek’s standup act in lobby.

Have you read "Five Point Someone" by Chetan Bhagat? I was feeling like Chetan is standing in front of me & narrating his story. Yes, Abhishek is also an ex IITan. In the lobby, when he was sharing his experiences on various kinds of blogging, no one wanted to step away. He reiterated, "All of my blogs are in Cryo state now. And there is no point in visiting them at this moment. But they can revive anytime." I couldn't stop myself from checking out his extraordinary blogs & I could find them immediately through my iPhone. After some time, all of us moved to the conference room and enjoyed Abhishek's stories for almost an hour (I can't recollect from where I grabbed these pictures now)


Others:
Besides the above sessions, there were few more good sessions as well. Ankesh talked about "How to make money from blogging". Navin gave us many useful tips on blogging and also explained how bloggers can learn from the Newspapers.

Annkur had a lot of debate in his session on beginners mistakes. He also discussed, How he is moving from quantity to quality of blog.

I missed one parallel session which was going on at the time of Annkur's session: "How to migrate to WordPress", so you can see, I am still on Blogger!

It wasn't a great finish, I left the place as soon as Thakkar finished his entertainment! However it was worth visiting the camp. I am following most of them on twitter now along with few more ppl I found I would love to follow. That's one of the important take away for me from this Camp.

Looking forward to attend the upcoming BarCamp(waiting for the date to be announced)!!!