JNDI Tree Going away!
I've been experimenting with JMS clustering and foreign providers under WebLogic
8.1. But I keep running into this problem: The JNDI tree goes away! When I right
click the server and select JNDI tree, the new screen only shows the name of
my
server at the top. Rebooting the server does not fix the problem. Has anybody
else run into this??
Thanks
Dave
This bug was acknowledged by BEA support, but I was able to fix it by putting the
proper Sonic classes in my startWebLogic.sh script.
FYI
Dave
"David Mrozek" <[email protected]> wrote:
>
I've been experimenting with JMS clustering and foreign providers under
WebLogic
8.1. But I keep running into this problem: The JNDI tree goes away!
When I right
click the server and select JNDI tree, the new screen only shows the
name of
my
server at the top. Rebooting the server does not fix the problem. Has
anybody
else run into this??
Thanks
Dave
Similar Messages
-
Unable to Find EJB in JNDI Tree
Good Morning to All!
I have been scratching my head all day yesterday trying to understand this error:
[2005-06-15 09:44:38,203][Servlet.Engine.Transports : 1][FATAL][{ServiceLocator}{getHome}{CONFIG0001}{Failed to find EJB Reference from JNDI tree}{External Message:Name comp/env/ejb not found in context "java:".}]
{ServiceLocator}{getHome}{CONFIG0001}{Failed to find EJB Reference from JNDI tree}{External Message:Name comp/env/ejb not found in context "java:".}
What is going on is the user is logging into the web application. The process is the user comes in from the web container and enters the EJB container through the AdminEJB. The AdminEJB has a reference to a singleton POJO entitled ServiceLocator. This POJO follows the locator pattern. One of the things the Locator is attempting to accomplish is retrieving the CacheEJBLocalHome. This Cache ejb has a JNDI name of
ejb/CacheEJBHome
I have promoted the Cache ejb to the Local and the Remote interfaces using WSAD.
I realize the lookup method can not find the EJB, but I do not know what is causing this behavior. I originally thought the AdminEJB needed a bean reference to the CacheEJB, but this did not work.
Any insight or debugging techniques into this issue would be greatly appreciated.
Thank you for reading my post.
RussHi Ten,
FYI, just by placing the ejb jar inside EAR project it will not be picked up for deployment. The EJB module has to be defined on EAR Module Assembly, and the steps are:
> EAR Project | Properties, Deployment Assembly - Add EJB module
NOTE: To verify the dependency you could try to export the EAR project to an .ear file. If the exported .ear file bundles ejb jar then deployment should work fine.
As far as the deployment mode, OEPE supports WebLogic Split-source (default) and Exploded archive. In the default split-source mode, the .beabuild.txt contains the mapping to the actual files whereas in exploded archive the files are copied over to deployment staging location.
Steps to modify deployment mode:
> In the server view, right click on server configuration | Properties, select WebLogic | Publishing
Please make sure the ejb module is defined appropriately and let me know if this resolves the issue.
Thanks,
Ram -
EJB not published in the JNDI tree
I am trying to deploy a simple ear file containing one ejb on to WL 9.2. The app is deploying without any problems, but the EJB is not published in the JNDI tree. When I look at the EJB's configuration through the admin console, it does indicated that the JNDI name is set to "ejb/HelloWorld". However, when I look at the JNDI tree there is no HelloWorld node under ejb. Below is my weblogic-ejb-jar.xml file that defines the JNDI name:
<?xml version="1.0" encoding="UTF-8"?>
<weblogic-ejb-jar
xmlns="http://www.bea.com/ns/weblogic/90"
xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.bea.com/ns/weblogic/90
http://www.bea.com/ns/weblogic/90/weblogic-ejb-jar.xsd">
<weblogic-enterprise-bean>
<ejb-name>HelloWorld</ejb-name>
<stateless-session-descriptor>
<pool>
<max-beans-in-free-pool>1000</max-beans-in-free-pool>
<initial-beans-in-free-pool>0</initial-beans-in-free-pool>
</pool>
</stateless-session-descriptor>
<transaction-descriptor>
<trans-timeout-seconds>0</trans-timeout-seconds>
</transaction-descriptor>
<enable-call-by-reference>false</enable-call-by-reference>
<jndi-name>ejb/HelloWorld</jndi-name>
</weblogic-enterprise-bean>
</weblogic-ejb-jar>Can anyone help me understand why the JNDI name is not being published?
Thanks.Hi all,
It seems that I have the same problem with WL 10. Has any of you solved this yet?
I'm trying to switch my application from perfectly working JBoss 4.2 environment to WL 10 and no luck so far, because of this weird problem.
What I have noticed so far is:
- Some of my sessions beans are deployed ok
- "Big" session beans are silently ignored in deployment. This is unbelievable because these beans are SILENTLY ignored. And, my session beans are not that big. Under 700 LOC all of them.
- These EJBs don't appear in admin console's JNDI-browser
- These EJBs don't appear in ear-content details in "Deployments" section.
- These EJBs don't get their stubs generated in server/cache/EJBCompilerCache
- One big is ignored, but when splitting it in e.g. three smaller ones, all of these three session beans are deployed successfully
I'm using EJB3 session beans with no XML-descriptors.
So what is going on here??!
Looking forward to hear some answers. At least from BEA developers or other insiders.
Thanks.
Edited by villeingman at 06/13/2007 12:42 AM -
JNDI tree config in 6.1 sp2
Hi All
Is there any way I can set up some name/value pairs in config.xml OR any other
place so that Weblogic 6.1 can pick it up and add it to the JNDI tree - IN other
words id there a way to setup up some name/value pairs at the config time - also
can the console be used to edit those name/values later at the runtime.
TIA
AnamitraFollowing up to myself for the record --
Looks like the killCookie(request) method does
get the logout done. It appears that the
logout() and invalidateAll() methods might have a problem
in 6.1 sp 2.
Mike
"Mike Flester" <[email protected]> wrote:
>
Hi --
I have a webapp with form based authentication and an
rdbms realm in 6.1 sp2.
When the user logs out, a jsp performs this:
session.invalidate();
weblogic.servlet.security.ServletAuthentication.invalidateAll(request);
weblogic.servlet.security.ServletAuthentication.logout(request);
But following that, going to a protected URL does not
fail. It appears that the user is still logged in somehow.
Does anyone have any additional method to logout?
Thanks,
Mike -
WebLogic missing data on JNDI Tree Structure
I need to work with Tuxedo through WebLogic, but I am having a bad time trying to figure what is going wrong in here. I have installed WebLogic 10.3 twice and still can't make it right.
In the JNDI Tree Structure many data is missing (among them tuxedo) and can't find a way to fix it.
Please, if anyone can give me a light I'll appreciate it.
Regards.
Pablo Bustos.
EDIT: I am running WebLogic 10.3 on Windows XP 32bits.Hi,
Check this debug in ur environment.
-Dweblogic.jndi.retainenvironment=true
this should show you the path.
Regards,
Kal. -
HttpClusterServlet and cluster JNDI tree
Hello,
Our ear is being deployed in a clustered environment. The ear contains a jar
(multiple ejbs), a web app war, and a webservice war. The httpClusterServlet
proxy is being run in a server outside the cluster, on port 80. When our servlets
try to do a JNDI lookup for any of the ejbs, a Naming Exception is thrown. The
URL for the InitialContext provider is using port 80. So I assume that the lookup
request is going to the proxy server, which isn't aware of the cluster JNDI tree.
Aside from moving the proxy inside the cluster (the server configuration is being
controlled by another developer), is there anyway to resolve this? Changing the
URL of the provider for the lookups would require knowing the ports of the cluster
servers.
Thanks,
Bob
Hello,
Our ear is being deployed in a clustered environment. The ear contains a jar
(multiple ejbs), a web app war, and a webservice war. The httpClusterServlet
proxy is being run in a server outside the cluster, on port 80. When our servlets
try to do a JNDI lookup for any of the ejbs, a Naming Exception is thrown. The
URL for the InitialContext provider is using port 80. So I assume that the lookup
request is going to the proxy server, which isn't aware of the cluster JNDI tree.
Aside from moving the proxy inside the cluster (the server configuration is being
controlled by another developer), is there anyway to resolve this? Changing the
URL of the provider for the lookups would require knowing the ports of the cluster
servers.
Thanks,
Bob
-
Some JMS objects do not show up in JNDI tree
Hello friends. I have a situation where some of my JMS Queues do not show up in
the JNDI tree. Other Queues / Topics show up fine. I cannot find any difference
in the interface that tells me what my cause this to happen. Any insight would
be appreciated.
brianare you using a cluster? if so check the multicast to see if its working
right.
Where are you looking up the JNDI tree? in the console or are you checking
the JNDI tree via weblogic.Admin LIST command? the LIST command may be a
better way to see it for sure.
sree
"Brian" <[email protected]> wrote in message
news:40b74519$1@mktnews1...
>
Hello friends. I have a situation where some of my JMS Queues do not showup in
the JNDI tree. Other Queues / Topics show up fine. I cannot find anydifference
in the interface that tells me what my cause this to happen. Any insightwould
be appreciated.
brian -
Help my iPod won't let me download apps... I'll put my password in then it takes me to the app but then is just goes away then I do it again an it won't load or it will just go away again plz help I want to get apps
You said you updated yur 1G iPod to 4.2.1. A 1G can only go to 3.1.3 and thus you must have jailbroken it to get to 4.2.1 and that can cause problems.
ArealDJ wrote:
I have the same problem.. apps won't download and won't open. I have a 1st Gen ipod touch and recently upgraded my MacBook Pro (2012) and as soon as I upgraded the iPod Touch to 4.2.1, this happened. I restored to factory defaults and still cannot dl and open apps. Any way to diagnose this problem? Apple tech charges $29.99 for out of warranty products and if I am reluctant to pay with them telling me its simply a hardware problem. -
Can some body give me an advice, my cursor can not be controlled (using pad) after I shut it down, and open again. But this problem goes away after I close and open the lid.
Boot from your OS installer disk and run Repair Disk from Disk Utility.
-
the cursor includes a text box from a previous image or link when the cursor is positioned on the side of the page. it will mainly happen when i hit "back" from the page i was on. i click and it goes away but only to return again on the next launched page. i also keep several tabs open and it will carry over to any one of them i go to. how do i get rid of this?
== This happened ==
Every time Firefox opened
== when i upgraded to most recent version 3.6.8A number of extensions can cause that problem, you'll need to do a little troubleshooting to find out which extension is causing that to happen for you.
[http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes] -
I get "an error has occurred in the script on this page" it comes up for no reason on Firefox and I can't remove the message, it then goes away on it's own after 3 minutes? how do I prevent this message coming up? I have Windows 7.
I can work the screen behind the message which stays in the centre of my screen.Windows version is...?
What pages are giving you problems? [post links to same]
Are you getting the script errors only when attempting to print or...?
Has your printer's manufacturer confirmed that your currently installed printer software is IE11-compatible (yet)?
~Robear Dyer (PA Bear) MS MVP-Windows Client since 2002 Disclaimer: MS MVPs neither represent nor work for Microsoft -
I have a MobileMe account and have shared many MobileMe Galleries. MobileMe Galleries are going away in June. How can I share a photo album with others using iCloud?
The new ios version of iPhoto allows sharing. Here's a blurb from Apple's web site:
There’s the old way of creating photo galleries, then there’s the iPhoto way. Select a group of photos and iPhoto automatically flows them into a beautiful journal that’s fun to personalize and share online. Touch a photo to make it bigger or smaller. Or drag it to a different spot on the screen. iPhoto adjusts the page around whatever you’re doing, so your journal always looks great. You can even add captions, maps, dates, and weather — giving family and friends the big picture at a glance.
More things you can do:
With iPhoto, there’s more than one way to share a photo. Post pictures directly to Facebook, Flickr, or Twitter. Play an impromptu slideshow on your iPad or iPhone. Or stream photos to your HDTV to give your big moments room to shine.
I have not used ios version of iPhoto to share "journals" and I'm not sure this is part of iCloud or not. You'll have to do a google search on "ios iphoto" and read up of this journal thing. As far as I know, this is the only way of sharing photos. I'm not sure whether other friends use a browser to view these journals or whether they need something special. Any way - search around to find answers. -
How to delete conext entries in JNDI tree after undeployment?
Hi,
When I deploy an EAR or JAR file with EJBs, they bind in the JNDI server.
When I undeploy the application the beans are no longer bound to the JNDI
tree, but the contexts they created remain.
For example, I deploy a bean that binds its home object to the following
entry in the JNDI:
myapp/mymodule/MyBean
When I undeploy MyBean, the context myapp/mymodule remain.
Is there an utility to remove these entries or do I have to develop my own
utility? I did not find anything in the administration console to do this.
This has been a source of some trouble, because sometimes I get error
messages when I want to redeploy the beans.
Thanks in advance,
VegetaPlease don't cross post. see my reply in the ejb newsgroup.
Thanks,
Michael
Vegeta wrote:
Hi,
When I deploy an EAR or JAR file with EJBs, they bind in the JNDI server.
When I undeploy the application the beans are no longer bound to the JNDI
tree, but the contexts they created remain.
For example, I deploy a bean that binds its home object to the following
entry in the JNDI:
myapp/mymodule/MyBean
When I undeploy MyBean, the context myapp/mymodule remain.
Is there an utility to remove these entries or do I have to develop my own
utility? I did not find anything in the administration console to do this.
This has been a source of some trouble, because sometimes I get error
messages when I want to redeploy the beans.
Thanks in advance,
Vegeta--
Michael Young
Developer Relations Engineer
BEA Support -
How can i reset my app store setting?
I have signed in and out with my own apple id but i used a different one at first a few years ago and that one is not going away how do i change it to my own apple id?Content and Apple IDs -
Content is forever tied to the Apple ID that bought it. Apple does not transfer content from one Apple ID to another. Apple does not merge Apple IDs. You will never be able to access your content bought with one Apple ID with a new Apple ID. Your only option is to delete the content and buy it again with the new Apple ID. -
I keep getting a pop up message asking for a voicemail password. I can simply touch cancel and it goes away. Put it pops up quite frequently during texting, chatting or email. Is there a way to stop this? I don't even have a voicemail password.
Contact your carrier; they are the only ones who can resolve this for you. Use the Carrier Luke,
"Fun with the Sun, MEta"
Maybe you are looking for
-
I can't cut and paste text in any app, between apps, drag drop...
OSX 10.7.2: iMAC 24" FLAT-PANEL/ 2.8 GHz Intel Core 2 Duo/ 4 GB 800 MHz DDR2 SDRAM I have owned and used my iMac since late in 2008 (although mine is an early 2008 model). Starting this evening (10 December 2011) I can't copy/paste text from the cl
-
Is there a way to separate home movies from the movies category?
I want to put home movies on my Apple TV but don't want them to show up along with movies. Is there a way to separate them? I haven't tried it yet so maybe they are separated but I foresee not being possible right now. For the moment, I've been strea
-
How to retrieve the Field Name of a Table
Hi guys, I'm trying to retrieve the field name of a table in java, but i don't know how to do it. Could somebody help me?Let say i have a table name Itemmaster, then i want to retrieve its field and display to dos prompt. Example : Item No. Descripti
-
How can I find out the name of the table by knowing the type_id #
Is that possible though? I know the type_id from viewResults.jsp page, but, it doesn't say which table it belongs to though! I have to know the table name to copy over updated data.
-
Exception in dataSource lookup
HI, I get Exception in dataSource lookup everytime in my code. How to solve this problem. I use java,tomcat and sql server ERROR [ajp-apr-8009-exec-9] 08:37:18,898 com.general.EditBean - Exception in dataSource lookup. java.sql.SQLException: Exceptio