Does Weblogic Jndi support naming.event

Hi gurus,
our app needs to be notified in case an object (already bound) has changed. or rebound into the jndi tree..
i tried using javax.naming.event.*
and the call to
EventContext = (EventContext)(new InitialContext(env)).lookup("");
gives me a ClassCastException...
java.lang.ClassCastException: weblogic.jndi.toolkit.WLContextStub
Any pointers..
I plan to use NamespaceChangeListener and ObjectChangeListener to get notified. didnt find any material in weblogic docs...
thanks in Advance
Nagesh

As I know, WL does not implement directory events machinery. You should use
another mechanism to notify your app about JNDI changes. For example, you
can use any LDAP directory service to bind your objects to. In this case,
directory events should work.
kesha
"Nagesh" <[email protected]> wrote in message
news:39edfc4d$[email protected]..
>
Hi gurus,
our app needs to be notified in case an object (already bound) haschanged. or rebound into the jndi tree..
i tried using javax.naming.event.*
and the call to
EventContext = (EventContext)(new InitialContext(env)).lookup("");
gives me a ClassCastException...
java.lang.ClassCastException: weblogic.jndi.toolkit.WLContextStub
Any pointers..
I plan to use NamespaceChangeListener and ObjectChangeListener to getnotified. didnt find any material in weblogic docs...
thanks in Advance
Nagesh

Similar Messages

  • Does Weblogic Express support JSPs

    Does Weblogic Express support JSPs?
              

    Yep!!
              Kumar
              Bryan Boyer wrote:
              >
              > Does Weblogic Express support JSPs?
              

  • Does wls jndi support federation

    I am trying to hook in a different jndi into the wls 6.1 jndi. Does anyone
    know if this is possible, if wls jndi supports federation. We are trying to avoid
    the j2ee components from opening an initial context to this jndi server but be
    able to lookup the wls jnid and get the object on the other jndi.
    any information or ideas would be helpful.
    Devaraju,Sushant

    Soren,
    WebLogic 7.0 supports JDK 1.31
    WebLogic 8.1 supports JDK 1.41
    Deepak
    Søren Andersen <san@[NO---SPAM]mondo.dk> wrote:
    Can anybody give me a clear answer (or a reference to it) of what versions
    Java that WLS7 does support?
    We're interested in upgrading Java on our servers to version 1.4.1_06
    - does WLS7 support this?
    And what is the latest version of Java that WLS7 does support?
    Rgds,
    Søren Andersen
    Cph/Denmark

  • Does Weblogic 10 supports HTTP/1.0..?

    Hi,
    My application contains an executable client. This client when invoked calls a servlet in the server. This application is working fine in weblogic 6.1 sp3 now. Iam trying to migrate this application to weblogic 10. However, when I invoke the executable client, its not reaching the servlet. Then I found the following logged in the access logs.
    "152.67.221.214 - - [06/Sep/2007:22:47:09 -0700] "POST /invoke/wm.server/connect HTTP/1.0" 401 1518"
    Note: I dont have the source code of the executable client..
    My doubts:
    Does weblogic supports HTTP/1.0...?
    how to make this work without having the control over the client..?
    Can we do something in server to make this work..?
    Its evident from the access log, that the request is unauthorized...how to avoid with without touching the client..?
    FYI, Its working fine in weblogic 6.1 sp3. Below is the log recorded in weblogic 6.1 sp3 access log.
    152.67.221.214 - - [06/Sep/2007:01:29:50 -0800] "POST http://appstg01:7031/invoke/wm.server/connect HTTP/1.0" 200 22
    How to make this work in weblogic 10. I can modify only the servlet and not the executable client.
    Thanks in advance.
    --vinodh                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    I understand that HTTP version has nothing to do with 401 code. Please let me know is there any way that we can avoid this without touching the client. Because the cleint is a executable to which we dont have access. We still have command over Weblogic server and servlet.
              Thnks.

  • Does weblogic 12c support beehive controls

    Hi ,
    we are migrating our weblogic server from 10.3 to 12C , i just import existing project into eclipse(Oracle enterprise pack for eclipse) came with weblogic 12C , it is showing errors on project for shared libraries like beehive controls , weblogic controls ,
    Please let us know does WLS 12C support beehive controls ? do we have any solution for this
    Regards
    Srikanth

    Apache Beehive is not supported on Weblogic 12c.
    Apache Beehive has been deprecated as of WebLogic Server 10.3.
    Oracle recommends that you migrate your Beehive applications and infrastructure to other frameworks such as Oracle's ADF or Java Server Faces at your earliest convenience.
    Please check the below Doc and Page No. 16.
    http://docs.oracle.com/cd/E12839_01/web.1111/e13852.pdf
    Hope this answers your question!!
    Thanks,
    Vijaya
    Edited by: Vijaya_Gopal on May 1, 2013 8:01 PM

  • Does weblogic server supports JSP tag pooling

              We use lot of Custom Tags in our app, we want improve the performance of JSP pages.
              Does Weblogic JSP engine supports JSP Tag Pooling similar to what JASPER (Tomcat
              JSP Engine) supports.
              If not, is there any way to plug-in my own Tag Pooling classes into JSP Engine.
              Thanks
              Ramesh
              

    This type of questions are appropriate for the Forms discussion forum.
    raghu

  • Does weblogic 704 support solaris on x86?

    This is urgent and thanks in advance!

    Hello, Pratap. Yesterday the location at which the WebLogic Portal engineering team is located (Colorado, USA) was hit by the biggest blizzard of the winter and the entire metropolitan area shut down. Imagine a direct hit from a typhoon but with snow instead of rain. I was stranded iin traffic for 8 hours yesterday. That is probably why nobody from the product team has answered.
    WebLogic Portal is the best framework out there for building a Web 2.0 portal. It is a lot harder (and more valuable, IMO) to build a product that is a framework as opposed to a packaged app. WLP blows everything else out of the water when it comes to enabling you to build anything you want. Nothing else comes close to its flexibility, maturity/stability, and scalability. WebLogic Portal is not an application. I'm sure that there are going to be plenty of widgets available OOTB now that WebLogic Portal is part of a much bigger picture with the Oracle WebCenter Suite, so that will probably help with some of the expectations that you have of a portal product, but I'll let someone else speak to that.

  • Does Weblogic Express support JSP ?

    Hi
    I wanted to know if i can deploy JSPs if i use a WeblogicExpress instead
    of a Weblogic Server .Iam not able to understand the deifference between
    Weblogic Express and Weblogic Server inspite of reading the material on the
    web site .Can someone throw more light on this ? Is there anywhere i can
    compare the features of the different weblogic products at one place ?
    thanks
    Srinivas

    For this type of stuff you should talk to your sales-person.
    We just make it, not sell it, so we dont understand the difference
    either. :)
    Cheers
    Mark G.
    In article <[email protected]>, [email protected] says...
    Hi
    I wanted to know if i can deploy JSPs if i use a WeblogicExpress instead
    of a Weblogic Server .Iam not able to understand the deifference between
    Weblogic Express and Weblogic Server inspite of reading the material on the
    web site .Can someone throw more light on this ? Is there anywhere i can
    compare the features of the different weblogic products at one place ?
    thanks
    Srinivas
    ==================================================
    NewsGroup Rant
    ==================================================
    Rant 1.
    The less info you provide about your problem means
    the less we can help you. Try to look at the
    problem from an external perspective and provide
    all the data necessary to put your problem in
    perspective.

  • Javax.naming.event package supported in weblogic?

    Hi,
    Is JNDI event notification (i.e., javax.naming.event) supported in
    weblogic's JNDI implementation?

    I am 99% sure it isn't.
    WLInitialContext and WLContext need to implement the EventContext interface
    in order for it to work. In my case ( and I'm sure yours also ) I get a
    ClassCastException when trying to cast a WLContext to an EventContext. This
    says to me that no, the event package isn't supported.
    I would appreciate confirmation from Weblogic on this though.
    Grand Poobah wrote in message <[email protected]>...
    Hi,
    Is JNDI event notification (i.e., javax.naming.event) supported in
    weblogic's JNDI implementation?
    Thanks,
    Robert

  • JNDI lookup from OC4J to weblogic throws javax.naming.NameNotFoundException

    Hi All,
    We have the below setup in our production environment.
    EJB application is deployed in the Weblogic 10.3.4.0 Server on Sun Solaris. The EJB version is 3.0
    OC4J 10.2.0 is running on another Sun Solaris machine.
    There are 2 webservice applications WEBSERV1 & TestSoapEJB running on this OC4J container.
    We need to do lookup the EJBs deployed on the Weblogic server. For this we used the below logic in the web service's Stateless session bean:
    String weblogicURL = "";
    Properties props = new Properties();
    try
    props.load(Thread.currentThread().getContextClassLoader().getResourceAsStream("wl.properties"));
    weblogicURL     = props.getProperty("weblogicURL");     
    catch (FileNotFoundException e)
    e.printStackTrace();
    catch (IOException e)
    e.printStackTrace();
    Context ctx = null;
    Hashtable ht = new Hashtable();
    ht.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    ht.put(Context.SECURITY_PRINCIPAL,"weblogic");
    ht.put(Context.SECURITY_CREDENTIALS,"weblogic654");
    ht.put(Context.PROVIDER_URL, weblogicURL);
    ctx = NamingManager.getInitialContext(ht) ;
    // tried using //ctx = new InitialContext(ht); same behavior.
    TestEJB.AdministratorEJB ejb = (TestEJB.AdministratorEJB) ctx.lookup("TestEJB#TestEJB.AdministratorEJB");
    ctx.close();
    When we first test first WEBSER1, the lookup is fine.
    But when we test the second webservice WEBSER2, the webservice name itself not able to lookup: It gives the below error:
    javax.naming.NameNotFoundException: remaining name: env/TestSoapEJB
    Below is the stack throws thrown on browser:
    500 Internal Server Error
    javax.naming.NameNotFoundException: remaining name: env/TestSoapEJB     
    at weblogic.j2eeclient.SimpleContext.resolve(SimpleContext.java:35)     
    at weblogic.j2eeclient.SimpleContext.resolve(SimpleContext.java:39)     
    at weblogic.j2eeclient.SimpleContext.lookup(SimpleContext.java:59)     
    at weblogic.j2eeclient.SimpleContext.lookup(SimpleContext.java:59)     
    at weblogic.j2eeclient.SimpleContext.lookup(SimpleContext.java:64)     
    at weblogic.jndi.factories.java.ReadOnlyContextWrapper.lookup(ReadOnlyContextWrapper.java:45)     
    at weblogic.jndi.internal.AbstractURLContext.lookup(AbstractURLContext.java:130)     
    at javax.naming.InitialContext.lookup(InitialContext.java:392)     
    at oracle.j2ee.ws.SessionBeanRpcWebService.init(SessionBeanRpcWebService.java:65)     
    at javax.servlet.GenericServlet.init(GenericServlet.java:258)     
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.loadServlet(HttpApplication.java:2354)     
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.findServlet(HttpApplication.java:4795)     
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2821)     
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:680)     
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)     
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)     
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)     
    at java.lang.Thread.run(Thread.java:662)
    It seems that, the OC4J is looking in Weblogic context. But it should be looking in its own context. How to resolve this issue.
    The same case happens if i restart the OC4J and first test the TestSoapEJB the lookup is fine . But if i test the WEBSERV1 , it throws the same error as above. In short, if one of the webservices lookup is working fine, the other webservice is not working. At the same time only one webservice's lookup is working.
    Kindly help me to resolve this issue.
    regards,
    Zia
    Edited by: PT Expert on Sep 9, 2012 3:16 AM

    I work now more that two days on this error!!!
    -> I remade my complete jdev project, it did not work!
    -> I deleted the jdev/system/j2ee/oc4j/workspace dir
    -> I search for some .lock files
    -> and many more tries!!! But without success...
    Is there a way to reset the Embedded OC4J?

  • Does Weblogic server 9.2 provide support for CRL checking

    Does Weblogic server 9.2 provide support for CRL checking?

    No, but you can create a custom CertPath provider for your own implementation.
    Mike
    Weblogic/J2EE Security Blog: http://monduke.com

  • Does Weblogic Server 5.1 supports RedHat Linux 6.2?

    Hello All,
    Does Weblogic Server 5.1 supports RedHat Linux 6.2?
    Best Regards,
    Samuel Yung
    [email protected]

    FYI.
    I am running RH 6.2 and Weblogic 5.10 with no problems.
    w/Apache 1.3.12
    Only using WL for EJBs and jdbc pool at this time. So your milage may vary.
    Michael Girdley wrote:
    No, not yet. Version 6.0 will.
    The platform support page for WebLogic Server is located at:
    http://www.weblogic.com/platforms/index.html
    This page has the latest and greatest information on the platforms that
    WebLogic is certified and supported on.
    Thanks,
    Michael
    Michael Girdley
    BEA Systems Inc
    "Samuel Yung" <[email protected]> wrote in message
    news:[email protected]..
    Hello All,
    Does Weblogic Server 5.1 supports RedHat Linux 6.2?
    Best Regards,
    Samuel Yung
    [email protected]
    /\/\i|<e
    Mike Kincer
    Solutions Developer/Engineer
    Atlas Commerce "ebusiness evolved"
    Office phone: +1-607-741-9988
    mailto:[email protected] [http://www.atlascommerce.com]

  • Does Weblogic Server 5.1 supports RedHat Linux 7?

    Does Weblogic Server 5.1 supports RedHat Linux 7?
    Thanx in advance.

    FYI.
    I am running RH 6.2 and Weblogic 5.10 with no problems.
    w/Apache 1.3.12
    Only using WL for EJBs and jdbc pool at this time. So your milage may vary.
    Michael Girdley wrote:
    No, not yet. Version 6.0 will.
    The platform support page for WebLogic Server is located at:
    http://www.weblogic.com/platforms/index.html
    This page has the latest and greatest information on the platforms that
    WebLogic is certified and supported on.
    Thanks,
    Michael
    Michael Girdley
    BEA Systems Inc
    "Samuel Yung" <[email protected]> wrote in message
    news:[email protected]..
    Hello All,
    Does Weblogic Server 5.1 supports RedHat Linux 6.2?
    Best Regards,
    Samuel Yung
    [email protected]
    /\/\i|<e
    Mike Kincer
    Solutions Developer/Engineer
    Atlas Commerce "ebusiness evolved"
    Office phone: +1-607-741-9988
    mailto:[email protected] [http://www.atlascommerce.com]

  • Does OPC UA Shared Variable Server support Alarm&Event and historical access?

    OPC UA Shared Variable Server is a sample code and resides at https://decibel.ni.com/content/docs/DOC-25602
    It seems to support DSC <-> OPC-UA tag synchronization.
    But does it support alarm&event and historical access?
    I tried to open it with LabVIEW 2012, but lots of VIs were missing in the code, and I am not familiar with DSC and OPC-UA.

    Hi iCat,
    From your post on the example itself, a colleague of mine responded with: "This uses the OPC UA server included in DSC 2011 SP1 which does not include direct support for Alarms and Events. However you could use this idea to synchronize to shared variables on a Windows host which could have those abilities enabled."
    So it looks like it doesn't directly do this.
    Matt S.
    Industrial Communications Product Support Engineer
    National Instruments

  • Does WebLogic Server 8.1 supports ejb2.1(timer service)

    1.does WebLogic Server 8.1(SP5) supports ejb2.1 (timer service)?
    2. does ejb 2.0 support timer service?

    Hi,
    1. No, EJB Timer support was added in WLS 9.0.
    2. No, EJB Timers were introduced in EJB 2.1.
    - Matt

Maybe you are looking for