LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-23-2012, 04:34 PM   #1
threezerous
Member
 
Registered: Jul 2009
Posts: 94

Rep: Reputation: 15
javax.naming.NameNotFoundException: Name bbbb is not bound in this Context


This would typically be a Tomcat issue and I would be posting in a different forum. However, there seems to be environmental issue for reasons described below...hence looking for any insights from the OS Gurus.

We have two identical servers with same configuration. We ran a middleware audit application (Opsware) to confirm that the applications and configurations on both the boxes are same. These are active/passive failover servers.

The tomcat application runs fine on one of the servers, but as soon as we start the tomcat on the other, we get the error below in tomcat logs.

javax.naming.NameNotFoundException: Name bbbb is not bound in this Context

We have confirmed that DB connectivity, context.xml , web.xml and server.xml are consistent across both the servers. We did stop the services on active server when we brought the second one.

Could there be some OS library/configuration missing which could be causing this? Our audit runs only at application level.

Any ideas/suggestions are highly appreciated.

Thanks in advance.
 
Old 02-24-2012, 02:57 PM   #2
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,699
Blog Entries: 23

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
The word that poked my eyes (not really of course) is context. What are you guys running? RedHat/Fedora/CentOS? Maybe it could be a selinux problem.

If so, try to read up on the chcon command, made for selinux, and aimed to help change the context of stuff within selinux.

Good luck

Thor
 
Old 02-28-2012, 07:27 AM   #3
threezerous
Member
 
Registered: Jul 2009
Posts: 94

Original Poster
Rep: Reputation: 15
We are running RHEL 5.4. Though I could not find the root cause, the issue resolved by itself, after we copied the tomcat folder and configration files from the working server. Maybe our audit run did not catch some discrepancies or there was some file corrupt, not identifiable through standard audit check.

Thanks much for sharing your thoughts.
 
Old 02-29-2012, 02:59 AM   #4
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,699
Blog Entries: 23

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
No problem! Glad it worked out for you.

In case this happens again, try to be prepared with some knowledge about Selinux...just a hint!

Thor
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
awk - remove lines between AAAA and BBBB mangoo Programming 13 07-07-2011 01:55 AM
Is there a way to have grub translate its own naming to naming scheme under Linux zhjim Linux - Software 6 05-28-2006 08:09 AM
getting javax.swing.* to appear student04 Programming 8 10-05-2004 10:06 AM
mail server the naming naming convention problem kashan Linux - Newbie 0 07-16-2004 02:08 PM


All times are GMT -5. The time now is 06:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration