?
Solved

Weblogic Cluster

Posted on 2005-02-24
15
Medium Priority
?
724 Views
Last Modified: 2013-12-10
Hi,
I have a Administration server and 2 managed servers which forms a cluster ,all these on a single machine.

I deployed my application in the cluster and it was successful.
When i tried to access the application using the url of one of the managed servers in cluster,it displays the index page.When i navigate to the next page it throws me the following error,

"javax.naming.NameNotFoundException: Unable to resolve 'AdminSessionFacade' Resol
ved  [Root exception is javax.naming.NameNotFoundException: Unable to resolve 'A
dminSessionFacade' Resolved ]; remaining name 'AdminSessionFacade'"

Can any one help out in this.
-Murali*
0
Comment
Question by:Murali Murugesan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
15 Comments
 
LVL 4

Expert Comment

by:illusionz70
ID: 13391192
hi ,
if you are clearly hitting the url through a managed server address ,  then it must not be a cluster issue .
what is adminsessionfacade ? is it smthn in ur web application?
0
 
LVL 13

Author Comment

by:Murali Murugesan
ID: 13391608

Adminsessionfacade is the session EJB for which i am doing an lookup.During which it gives the above error.

-Murali*




0
 
LVL 4

Expert Comment

by:illusionz70
ID: 13391651
has the ejb been deployed in the cluster as well ..
the exception you have got means that the ejb was not found in the JNDI tree for the cluster .
For the weblogic admin server's config.xml see if the above ejb has been deployed . (attribute deployed=true)
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 13

Author Comment

by:Murali Murugesan
ID: 13391766
Yes the ejb deployed well.And also it gets displayed in the JNDI tree of both the managed  servers.
This is the entry in config.xml

<EJBComponent Name="AdminSessionFacade.jar" Targets="MyCluster" URI="AdminSessionFacade.jar"/>
0
 
LVL 4

Expert Comment

by:illusionz70
ID: 13391820
you imported the ejb classes in your calling jsp?
0
 
LVL 13

Author Comment

by:Murali Murugesan
ID: 13391836
No its called thro the action class.Actually i am using struts framework.
The thing is i have deployed the same application in the administration server and it worked properly without any problem.

Now i am trying to do the same using clusters.
0
 
LVL 4

Expert Comment

by:hamood
ID: 13392131
You can access any managed server through your admin server. Admin server is responsible for forwarding the request to manged server. So access it through admin server. In your case you have deployed the application on the one machine. Have your application properly deployed on the cluster. Check it from Weblogic console.

Hamood
0
 
LVL 8

Expert Comment

by:kiranhk
ID: 13396531
what is the value u  r using for provider URL while creating the Initial Context. Give the URL and port number of your managed server and then try....
0
 
LVL 13

Author Comment

by:Murali Murugesan
ID: 13399780
Hamood,
I have checked from the admin console and the application got deployed successfully without any problems.

Kiran:
Can u just brief me wht is this initial Context, u mean to say the Cluster Address URL?.
0
 
LVL 4

Expert Comment

by:illusionz70
ID: 13400114
i dont think you access managed servers thru admin server . you need the admin server only to bring up the managed servers since admin server has the config file.i still feel the problem is that the ejb is unavailable for the managed server.you may have done the following but i still repeat .... set the targets for ejb for the appropriate cluster . also try deploying the ejb for the managed server(individually setting the target server).
0
 
LVL 13

Author Comment

by:Murali Murugesan
ID: 13400482
Now i am able to lookup the ejb's.
The problem is jndi.properties file was pointing to the administration server alone.
So i changed those to use the managed server URL too.

Still i have some doubts like,
What should be the URL used to access a cluster.

Managed server               URL
------------------------------------------------
server1                            localhost:5001
server2                            localhost:6001

whether i need to use any one of these urls to access my application? If so,
Shutting down the single managed server (say server1) makes me unable to access the application.

The thing is i need to access the application deployed in cluster , on shutting down one of the managed server must still able to continue with accessing the application using the other managed server.

Can some one help out for this?.

0
 
LVL 4

Expert Comment

by:illusionz70
ID: 13400554
you will have to use a proxy for that.....

you can set up another instance of weblogic server ( managed server) as a proxy server . look into weblogic docs for more info. this proxy server will then automatically load balance between both your managed servers.
0
 
LVL 13

Author Comment

by:Murali Murugesan
ID: 13907867
Thanx for all the Help.
I have successfully configured the cluster.The problem was the folder hierarchy.Missed out an intermediate folder and the path became invalid.

Found & resolved it myself..Thanx Once again to all.

Thanx
-Murali*
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 14197974
PAQed with points refunded (125)

modulo
Community Support Moderator
0

Featured Post

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
Your data is at risk. Probably more today that at any other time in history. There are simply more people with more access to the Web with bad intentions.
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question