WL6.1 - WL5.1

I can't communicate with my old application that was written and for WL5.1 and still work, from new application that is writing for WL6.1. I understood that it is JNDI problem between WL5.1 and WL6.1 and old WL can't communicate with the new, but why the new WL6.1 can't connect to WL5.1 ? Is there any way to do it (EJB to EJB) ?

Hi Zoltan!
If you want to use oracle 9i as server, just provide its name as server name.
It should work with any 8i clients.
But if you want to use 9i client, libraries will be provided in next release for
using 9i client.
Thanks.
Mitesh Patel
Zoltan Vereczi <[email protected]> wrote:
Hi,
Is it possible to use a connection pool for an Oracle 9i database from
WL5.1+sp8 or WL6.0 on Solaris? What driver shall I use?
Thanks, Zoltan

Similar Messages

  • How to read weblogic  configurations in WL6.1 (v.s. from WL5.1)

    We used to read weblogic environment parameters like this in
    WL5.1, in particular, we need to find the file path to the
    weblogic system home directory with WL6.1
    Here is the old WL5.1 code:
    T3ServicesDef services = T3Services.getT3Services();
    directory=services.config().getProperty("weblogic.system.home");
    port=services.config().getProperty"weblogic.system.listenPort");
    In WL6.1
    T3ServicesDef.config() is no longer available, what could we use instead ?
    Thanks for any suggestions !
    Yin Liang

    You can use JMX
    Please find a sample here
    List Users and Groups in Weblogic using JMX | Middleware wonders!!

  • Ejb wl5.1 client talking to ejb wl6.1 server?

    I have a session ejb running in wl 5.1 that must act as a client of a wl6.1
    ejb (wl 6.1 running on another host). Since the RMI layer is incompatible
    between 5.1 and 6.1 I must jump through some hoops to get this to work. I've
    considered packaging the wl6.1 classes together with the 6.1 client classes
    in a separate jar, along with a helper class to use a separate classloader
    to load classes from that jar (in the hopes of keeping the common rmi
    classes in a separate namespace). Does this sound like the best approach?
    Has anyone else faced this problem? What other solutions are there?
    Thanks. - Miles

    You can use direct socket communication (custom impl) or URLs to do
    web-service style integration.
    Peace,
    Cameron Purdy
    Tangosol, Inc.
    Clustering Weblogic? You're either using Coherence, or you should be!
    Download a Tangosol Coherence eval today at http://www.tangosol.com/
    "Miles Krivoshia" <[email protected]> wrote in message
    news:[email protected]..
    I have a session ejb running in wl 5.1 that must act as a client of awl6.1
    ejb (wl 6.1 running on another host). Since the RMI layer is incompatible
    between 5.1 and 6.1 I must jump through some hoops to get this to work.I've
    considered packaging the wl6.1 classes together with the 6.1 clientclasses
    in a separate jar, along with a helper class to use a separate classloader
    to load classes from that jar (in the hopes of keeping the common rmi
    classes in a separate namespace). Does this sound like the best approach?
    Has anyone else faced this problem? What other solutions are there?
    Thanks. - Miles

  • Error while migrating from wl 5.1 to wl6.1

    I have an application running on WL5.1. When I convert this application to run on
    WL6.1 sp2, I get the
    following error when I try to access an entity bean from an servlet.
    <Apr 30, 2002 4:47:44 PM PDT> <Error> <HTTP> <[WebAppServletContext(6184715,myapp,/myapp)]
    Error loading servlet: 'process'
    java.lang.NoClassDefFoundError: com/engr/app/approval/ApprovalHome
    a class upon which this class depends wasn't found
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:600)
    at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:368)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:242)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    The code works fine on WL 5.1
    Does anyone know why this happens. The console shows that EJBs are deployed
    Thanks
    Jai

    Just deploy your web component and ejb's in a single ear.
    Jai Vas <[email protected]> wrote:
    I have an application running on WL5.1. When I convert this application to run on
    WL6.1 sp2, I get the
    following error when I try to access an entity bean from an servlet.
    <Apr 30, 2002 4:47:44 PM PDT> <Error> <HTTP> <[WebAppServletContext(6184715,myapp,/myapp)]
    Error loading servlet: 'process'
    java.lang.NoClassDefFoundError: com/engr/app/approval/ApprovalHome
    a class upon which this class depends wasn't found
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:600)
    at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:368)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:242)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    The code works fine on WL 5.1
    Does anyone know why this happens. The console shows that EJBs are deployed
    Thanks
    Jai--
    Dimitri

  • Accessing a file residing on WL6.1 via the web app using URL

    I am trying to retrieve an xml file from within a java controller bean which has been
    instantiated within a session bean. Under wl5.1 I just created a URL with the path
    to the file, but in wl6.1 it doesn't find file. I have created a resource-ref in
    the web.xml and a reference-descriptor in the weblogic.xml. I still can't find the
    file. Can anybody provide an example on the deployment descriptor elements needed
    to accomplish this.
    Thanks

    The program looks into my System32 direcetory for the files.This suggests that you are using a filepath relative to the current working directory, and that you are assuming you know what that directory is. Look into the getRealPath() method of ServletContext.

  • Java.io.NotSerializableException in WL6

    All,
              I have a servlet calling a user/group manager stateless session bean.
              The same code works well in WL5.1.0.
              Recently I migrated to WL6 and found there is a serialization problem.
              Rebuild the EJB jar with WL6 ejb
              compiler did not solve the problem. Here is the detail:
              In the remote interface I have a method called assignGroups().
              public interface InfUserGroupManager extends EJBObject {
              public void assignGroups(InfIIPSession session, InfDBObjectPK userPk,
              Collection groupIds)
              throws RemoteException, InfInsufficientPrivilegeException;
              In a servlet I have code like this:
              InfUserGroupManager mgr = ....; // Gets a reference to InfUserGroupManager
              stateless session bean.
              HashMap groups = .....; // Both keys and values are java.lang.Integer
              objects.
              Collection assignedGroups = groups.values();
              mgr.assignGroups(iipSession, userPk, assignedGroups);
              java.util.HashMap and java.lang.Integer are both serializable. However, when
              trying to invoke the
              assignGroups() method on the InfUserGroupManager object will raise
              exception.
              javax.servlet.ServletException: failed to marshal
              public abstract void
              com.informatica.security.manager.InfUserGroupManager.assignGroups
              (com.informatica.session.InfIIPSession,com.informatica.repository.InfDBObjec
              tPK,java.util.Collection)
              throws
              java.rmi.RemoteException,com.informatica.util.InfInsufficientPrivilegeExcept
              ion;
              nested exception is:
              java.io.NotSerializableException: java.util.HashMap$2
              at
              com.informatica.viewer.portal.servlets.commands.InfUserCmd.assignGroups(InfU
              serCmd.java:168)
              at
              com.informatica.viewer.portal.servlets.commands.InfUserCmd.saveModel(InfUser
              Cmd.java:132)
              at
              com.informatica.servlet.command.InfAbstractMultiFormCommand.execute(InfAbstr
              actMultiFormCommand.java:100)
              at
              com.informatica.servlet.InfCommandServlet.processRequest(InfCommandServlet.j
              ava:89)
              at
              com.informatica.servlet.InfCommandServlet.doPost(InfCommandServlet.java:67)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :208)
              at
              weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
              ntext.java:1127)
              at
              weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
              :1529)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              

    We are getting this same error. Was any resolution found?
    "Steve Rolls" <[email protected]> wrote in message
    news:[email protected]..
    When binding non-serializable objects into the JNDI tree with WL6 + SP1,
    a java.io.NotSerializableException is thrown. This is in a non-cluster
    environment and the context's replicate bindings flag is set to false.
    Here is the WL portion of the exception's stack trace
    at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1148)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
    at java.util.Hashtable.writeObject(Hashtable.java:757)
    at java.lang.reflect.Method.invoke(Native Method)
    atjava.io.ObjectOutputStream.invokeObjectWriter(ObjectOutputStream.java:1878)
    at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1210)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
    atweblogic.rmi.internal.CBVOutputStream.writeObjectInternal(CBVOutputStream.ja
    va:220)
    atweblogic.rmi.internal.CBVOutputStream.writeObject(CBVOutputStream.java:213)
    atweblogic.rmi.internal.CBVOutputStream.writeObject(CBVOutputStream.java:190)
    at weblogic.rmi.internal.ObjectIO.writeObject(ObjectIO.java:19)
    atweblogic.rmi.internal.BasicRemoteRef.marshalArgs(BasicRemoteRef.java:121)
    atweblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
    :246)
    atweblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
    :225)
    atweblogic.jndi.internal.ServerNamingNode_WLStub.bind(ServerNamingNode_WLStub.
    java:436)
    at weblogic.jndi.internal.WLContextImpl.bind(WLContextImpl.java:337)
    at javax.naming.InitialContext.bind(InitialContext.java:358)
    Is there some new setting in WL6 that controls this bevavior or is this abug?
    >
    thanks,
    Steve

  • Exception -- with CustomSecurityRealm on WL6.0

    I started the weblogic server with my caching realm which incorporates the
    clone of RDBMSRealm. everything ran fine and i checked the security node on
    the console and the users node on the same. Shutdown the server from the
    monitoring tag on the Server node.
    The weblogic server threw an exception while shutting down.
    The detailed messages are as below. Wondering if the customSecurityRealm could
    have caused it and why?
    Did anybody else encounter this problem ? and if so, did you find the reason
    and how were you able to correct it ?
    thx,
    veena.
    C:\bea\wlserver6.0sp1\config\mydomain>startWebLogic.cmd
    C:\bea\wlserver6.0sp1>set
    PATH=.\bin;C:\bea\wlserver6.0sp1\bin;C:\bea\jdk130\bin
    ;C:\bea\wlserver6.0sp1\bin;C:\bea\jdk130\bin;D:\oracle\ora81\bin;D:\oracle\o
    ra81
    \Apache\Perl\5.00503\bin\mswin32-x86;C:\Program
    Files\Oracle\jre\1.1.7\bin;C:\WI
    NNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program
    Files\Perforce;c:\vslick
    \win;d:\jdk13\bin;C:\Program Files\Common Files\WebGain
    Shared;d:\j2sdkee1.3\bin
    ;C:\Program
    Files\WinZip;C:\bea\wlserver6.0sp1\lib;c:\bea\wlserver6.0sp1\bin\oci
    816_8;d:\oracle\ora81\bin;
    C:\bea\wlserver6.0sp1>set PMLOGGER=d:\myprojects\pm
    C:\bea\wlserver6.0sp1>set
    LOG4J=d:\myprojects\log4j\log4j.jar;d:\myprojects\log4
    j\log4j-core.jar
    C:\bea\wlserver6.0sp1>set
    CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar;d
    :\myprojects\pm;d:\myprojects\pm;d:\myprojects\log4j\log4j.jar;d:\myprojects
    \log
    4j\log4j-core.jar;.\lib;c:\bea;
    C:\bea\wlserver6.0sp1>"C:\bea\jdk130\bin\java" -hotspot -ms64m -mx64m
    -classpath
    .;.\lib\weblogic_sp.jar;.\lib\weblogic.jar;d:\myprojects\pm;d:\myprojects\pm
    ;d:
    \myprojects\log4j\log4j.jar;d:\myprojects\log4j\log4j-core.jar;.\lib;c:\bea;
    -Dw
    eblogic.Domain=mydomain -Dweblogic.Name=myserver "-Dbea.home=C:\bea"
    "-Djava.sec
    urity.policy==C:\bea\wlserver6.0sp1/lib/weblogic.policy"
    -Dweblogic.management.p
    assword= weblogic.Server
    <Apr 12, 2001 11:04:27 AM PDT> <Info> <Security> <Getting boot password from
    use
    r.>
    Enter password to boot WebLogic server:
    Starting WebLogic Server ....
    <Apr 12, 2001 11:04:33 AM PDT> <Notice> <Management> <Loading configuration
    file
    .\config\mydomain\config.xml ...>
    log file: C:\bea\wlserver6.0sp1\.\config\mydomain\logs\weblogic.log
    <Apr 12, 2001 11:04:35 AM PDT> <Info> <Logging> <Only log messages of
    severity "
    Error" or worse will be displayed in this window. This can be changed at
    Admin C
    onsole> mydomain> Servers> myserver> Logging> General> Stdout severity
    threshold
    >
    Starting Loading jDriver/Oracle .....
    <Apr 12, 2001 11:04:46 AM PDT> <Notice> <WebLogicServer> <ListenThread
    listening
    on port 7001>
    <Apr 12, 2001 11:04:46 AM PDT> <Notice> <WebLogicServer> <SSLListenThread
    listen
    ing on port 7002>
    <Apr 12, 2001 11:04:46 AM PDT> <Notice> <WebLogicServer> <WebLogic Server
    starte
    d>
    <Apr 12, 2001 11:06:10 AM PDT> <Alert> <WebLogicServer> <Server shutdown has
    bee
    n requested by system>
    <Apr 12, 2001 11:06:10 AM PDT> <Alert> <WebLogicServer> <The shutdown
    sequence h
    as been initiated.>
    <Apr 12, 2001 11:06:31 AM PDT> <Critical> <Kernel> <Execute Thread:
    'ExecuteThre
    ad: '14' for queue: 'default'' stopped.>
    <Apr 12, 2001 11:06:31 AM PDT> <Critical> <Kernel> <Execute Thread:
    'ExecuteThre
    ad: '0' for queue: 'default'' stopped.>
    <Apr 12, 2001 11:06:31 AM PDT> <Critical> <Kernel> <Execute Thread:
    'ExecuteThre
    ad: '1' for queue: 'default'' stopped.>
    <Apr 12, 2001 11:06:31 AM PDT> <Critical> <Kernel> <Execute Thread:
    'ExecuteThre
    ad: '2' for queue: 'default'' stopped.>
    <Apr 12, 2001 11:06:31 AM PDT> <Critical> <Kernel> <Execute Thread:
    'ExecuteThre
    ad: '3' for queue: 'default'' stopped.>
    <Apr 12, 2001 11:06:31 AM PDT> <Critical> <Kernel> <Execute Thread:
    'ExecuteThre
    ad: '4' for queue: 'default'' stopped.>
    <Apr 12, 2001 11:06:31 AM PDT> <Critical> <Kernel> <Execute Thread:
    'ExecuteThre
    ad: '5' for queue: 'default'' stopped.>
    <Apr 12, 2001 11:06:31 AM PDT> <Critical> <Kernel> <Execute Thread:
    'ExecuteThre
    ad: '6' for queue: 'default'' stopped.>
    <Apr 12, 2001 11:06:31 AM PDT> <Critical> <Kernel> <Execute Thread:
    'ExecuteThre
    ad: '7' for queue: 'default'' stopped.>
    <Apr 12, 2001 11:06:31 AM PDT> <Critical> <Kernel> <Execute Thread:
    'ExecuteThre
    ad: '8' for queue: 'default'' stopped.>
    <Apr 12, 2001 11:06:31 AM PDT> <Critical> <Kernel> <Execute Thread:
    'ExecuteThre
    ad: '9' for queue: 'default'' stopped.>
    <Apr 12, 2001 11:06:31 AM PDT> <Critical> <Kernel> <Execute Thread:
    'ExecuteThre
    ad: '10' for queue: 'default'' stopped.>
    <Apr 12, 2001 11:06:31 AM PDT> <Critical> <Kernel> <Execute Thread:
    'ExecuteThre
    ad: '11' for queue: 'default'' stopped.>
    <Apr 12, 2001 11:06:31 AM PDT> <Critical> <Kernel> <Execute Thread:
    'ExecuteThre
    ad: '0' for queue: '__weblogic_admin_html_queue'' stopped.>
    <Apr 12, 2001 11:06:31 AM PDT> <Critical> <Kernel> <Execute Thread:
    'ExecuteThre
    ad: '1' for queue: '__weblogic_admin_html_queue'' stopped.>
    # HotSpot Virtual M<Apr 12, 2001 11:06:31 AM PDT> <Critical> <Kernel>
    <Execute T
    hread: 'ExecuteThread: '0' for queue: '__weblogic_admin_rmi_queue''
    stopped.>
    achine Error, EXCEPTION_ACCESS_VIOL<Apr 12, 2001 11:06:31 AM PDT>
    <Emergency> <W
    ebLogicServer> <ListenThread.run() failed: java.lang.ThreadDeath>
    [error occured during error repo<Apr 12, 2001 11:06:31 AM PDT> <Emergency>
    <WebL
    ogicServer> <The WebLogic Server is no longer listening for connections. You
    sho
    uld probably restart it.>
    <Apr 12, 2001 11:06:31 AM PDT> <Alert> <WebLogicServer> <Server shutdown has
    bee
    n requested by system>
    <Apr 12, 2001 11:06:31 AM PDT> <Alert> <WebLogicServer> <The shutdown
    sequence h
    as been initiated.>
    ATION
    # Please report this error atrting]
    # http://java.sun.com/cgi-bin/bugreport.cgi
    # Error ID: 4F533F57494E13120E43505002D4
    abnormal program termination
    C:\bea\wlserver6.0sp1>goto finish
    C:\bea\wlserver6.0sp1>cd config\mydomain
    C:\bea\wlserver6.0sp1\config\mydomain>ENDLOCAL

    Sean,
    The WebLogic Integration 2.0 B2Bi server contains both a RosettaNet 1.0 and
    RosettaNet 2.0 support. It is integrated into the product. There is no
    separate c-enabler per se.
    Michael
    "Sean Koontz" <[email protected]> wrote in message
    news:[email protected]..
    >
    Michael,
    Are you saying that the Weblogic Integration 2.0 evaluation downloadincludes
    an updated RosettaNet c-enabler?
    I have downloaded Weblogic Integration 2.0 and am in the process ofinstalling/configuring
    it. I haven't come across any RosettaNet stuff yet.
    Like the original poster, I'm wanting to evaluate the RosettaNetfunctionality.
    It is my main objective (i.e., my company has already purchased WeblogicServer
    6.0).
    Please advise.
    Regards,
    Sean Koontz
    "Michael Cincinatus" <[email protected]> wrote:
    Khaitan,
    This newsgroup is intended for questions about WebLogic Integration
    (which
    includes a new version of RosettaNet for WLS 6.0). WebLogic Integration
    version 2.0 will be available for download from the BEA website today
    (June
    29, 2001). You might want to try using the latest version of theproduct.
    >>
    If you are still experiencing difficulty, you should contact BEA Support
    for
    help. Details on BEA support can be found on the world wide web at:
    http://www.bea.com/support/index.jsp. If you are evaluating BEA WebLogic
    Integration, you can get support from BEA EvalNet. Details for EvalNet
    can
    be found at http://www.bea.com/evalnet/index.shtml.
    Thanks,
    Michael
    "I Khaitan" <[email protected]> wrote in message
    news:[email protected]..
    Hi,
    Has anybody installed RosettaNet for WL6.0 ?
    I'm trying to make it work but unsuccessful, so far. I'm trying to
    install the full
    version (RosettaNet C-Enabler 1.0 with WLC1.0)
    Also, the relase notes and the installation say that it supports
    WL5.1sp8 and above.
    Thanks and cheers.
    Khaitan

  • WL6.1 inserts columns in wrong order with random nulls

    I'm in the process of migrating a WL5.1 EJB app to WL6.1 and I've come across a
    very frustrating and strange error. While executing my app, one of my session
    beans calls a (callable statement) stored procedure on SQL Server 7.0, but when
    it trys to insert a row in the database it inserts a few of the columns in the
    wrong order and one of the columns, oddly, is all of the sudden NULL.
    I've checked and double checked all SQL code and SPs on SQL Server and everything
    is correct. Plus, the app works perfectly on WL5.1. PLEASE HELP!
    Kindest regards,
    Paul

    Jane:
    I just created a test project with the Portfolio-Color theme. I selected text for the link item instead of the default button. I then created 10 slideshow links, placing them in two columns of 5 each. 1-5 and 6-10. After aligning by eye I was able to navigate down each column in order. However, when I dragged 10 video clips into a similar menu the navigation order went all over the place as you experienced. I've tried using the regular buttons with snap to grid enabled for importing. It appears that that theme wants to import across the top row first and then the bottom next. With only 5 items it puts two on the top and 3 on the bottom.
    You may have to go with three menus: the top menu has two folders, slideshows 1-5 and slideshows 6-10. Then place your slideshows in each folder accordingly and let it do the placement, either text wise or button wise.
    Either that or find a new theme what will work better with 10 items on a page.

  • Keeping track of licenses (WL6)

    Hi!
    Is there any way in WL6 (or WL5.1) to query which IP addresses are currently
    using the Weblogic server? (other than grep-ing the log file?)
    -K

    Hi Simply Dave,
    If you or your Nephew use Safari and the "Private Browsing" option available on Safari, it's almost impossible to track any downloads, any history, or any cache - it's designed that way...
    Rick
    iMac G5 iSight 20" - 30G iPOD in Slimming Black -   Mac OS X (10.4.7)   - HP Pav 15" WS and Toshiba Sat 17" WS LP's - Canon 20D & A620

  • Using Applets and RMI on WL6 - Error marshaling transport header; nested exception is:  - java.io.EOFException

    I have a project that I am porting from WL5.1 to WL6. It was working fine
    in WL5.1
    but cannot get it working in WL6. So, I went back to the HelloWorld
    example to
    see if I could get it working. The problem I am having is basically getting
    applet to
    talk to a server via RMI. The applet works fine alone and RMI works fine
    alone.
    I can't get the applet to talk to the server via RMI.
    I am trying to get the "HelloWorld" applet example in WL6 working with RMI.
    I previously had the same app working in WL5.1 with SP9 but cannot get it
    working in WL6.
    I am running WebLogic Server 6.0 with SP2.
    I have registered a startup class in the WebLogic console
    named "HelloServer". When starting up the server, it states
    that the HelloImpl class has been registered as "HelloServer".
    When starting up the client applet I get the following error:
    java.rmi.MarshalException: Error marshaling transport header; nested
    exception is:
    java.io.EOFException
    These are two different methods of looking up the same object.
    The exception occurs at the "lookup" method call in both cases.
    "myserver" is the name of my machine that WL is running on.
    7001 is the port that WL is using.
    Registry reg = LocateRegistry.getRegistry("myserver", 7001);
    obj = (Hello)reg.lookup("HelloServer");
    or...
    obj = (Hello)weblogic.rmi.Naming.lookup("rmi://" +
    getCodeBase().getHost() + ':' + port + "/HelloServer");
    I previously ran this same program under WL5.1 SP9 and everything works
    fine.
    I defined the startupClass in the weblogic.properties file in WL5.1
    Can anyone tell my what is causing this exception and how to correct the
    problem?
    Thanks
    Terry Antle

    "Terry Antle" <[email protected]> writes:
    These are two different methods of looking up the same object.
    The exception occurs at the "lookup" method call in both cases.
    "myserver" is the name of my machine that WL is running on.
    7001 is the port that WL is using.
    Registry reg = LocateRegistry.getRegistry("myserver", 7001);
    obj = (Hello)reg.lookup("HelloServer");
    or...
    obj = (Hello)weblogic.rmi.Naming.lookup("rmi://" +
    getCodeBase().getHost() + ':' + port + "/HelloServer");
    I previously ran this same program under WL5.1 SP9 and everything works
    fine.
    I defined the startupClass in the weblogic.properties file in WL5.1
    Can anyone tell my what is causing this exception and how to correct the
    problem?I don't know what the problem is but you shouldn't be using either of
    these methods for looking up RMI objects - you should use JNDI instead.
    Thanks
    andy

  • Local client on wl6.1

    Why does local client on wl6.1 needs serialized parameters and does
    marshaling/unmarshaling when servlet calls a stateless session bean's remote
    interface? I thought this was all optmized for local client.
    I think wl5.1 was not behaving this way. Any changes in wl6.1(sp2)?
    Thanks
    -Ravi

    Due to the classloading architecture, ear is the only way to
    have pass-by-reference invocations from the servlet. If servlets and
    ejb's are deployed separately, it is almost the same as separate JVMs.
    Gaurav Khanna <[email protected]> wrote:
    Hi,
    I have read that. Seems as the doc. is a little vague/outdated. I agree that
    ear is the way to get pass-by-reference but the "enable-call-by-ref.."
    seemed to be another way to achieve that if the servlet and ejb are in the
    same VM.
    Thanks
    <[email protected]> wrote in message news:[email protected]..
    http://e-docs.bea.com/wls/docs61/programming/packaging.html#1048725
    Gaurav Khanna <[email protected]> wrote:
    There is this:
    http://e-docs.bea.com/wls/docs61/////ejb/reference.html#1070257
    that tells me that we can get the pass-by-reference behavior even if
    the
    ejb is not packaged within the war. And by default weblogic passesarguments
    by reference in the same server. Have you set this parameter to false?Or
    maybe I am reading the documentation all wrong.
    Thanks
    Gaurav
    "Slava Imeshev" <[email protected]> wrote in message
    news:[email protected]..
    Hi Ravindra,
    To get advantage of weblogic's local calls, application and client
    should reside in one jar or ear. Apparently, ejb cannot live in war. So
    ear is the only choice.
    Regards,
    Slava Imeshev
    "Ravindra Sahasrabudhe" <[email protected]> wrote in message
    news:3caa3fa1$[email protected]..
    Why does local client on wl6.1 needs serialized parameters and does
    marshaling/unmarshaling when servlet calls a stateless session bean'sremote
    interface? I thought this was all optmized for local client.
    I think wl5.1 was not behaving this way. Any changes in wl6.1(sp2)?
    Thanks
    -Ravi
    Dimitri
    Dimitri

  • Tool to write deployment descriptor in WL6.0

    Hi,
    Is any tool available to deploy web applications (generate deployment descriptors,
    create war, ear files etc.) for WL6.0?
    In WL5.1 the we had EJBDeployerW.exe.
    Cheers,
    Laxmi

    WLS does not offer this natively, in the box. But, our partner products do.
    http://commerce.bea.com/downloads/weblogic_server_tools.jsp
    Michael Girdley
    BEA Systems
    Learning WebLogic? http://learnweblogic.com
    Buy the only book covering J2EE & WebLogic 6:
    http://www.amazon.com/exec/obidos/ASIN/0130911119/learnweblogic/103-9227026-
    4636613
    "Laxmi Kamath" <[email protected]> wrote in message
    news:3b786a40$[email protected]..
    >
    Hi,
    The page you have referred only takes you through the steps of creating apackage.
    >
    What I am looking for is a tool in WL6.0 that will generate deploymentdescriptors,
    create war, ear files etc. if I provide the class files.
    Cheers,
    Laxmi
    Anup Vachali <[email protected]> wrote:
    http://e-docs.bea.com/wls/docs60/programming/packaging.html
    Laxmi Kamath wrote:
    Hi,
    Thanks for teh quick response.
    Is there any such tool for weblogic 6.0?
    The tool u have mentioned is for WL 6.1.
    Thanks,
    Laxmi
    Dimitri Rakitine <[email protected]> wrote:
    http://www.beust.com/cedric/ejbgen/
    http://e-docs.bea.com/wls/docs61/programming/packaging.html -
    Automatically Generating Deployment Descriptors
    Laxmi Kamath <[email protected]> wrote:
    Hi,
    Is any tool available to deploy web applications (generate
    deployment
    descriptors,
    create war, ear files etc.) for WL6.0?
    In WL5.1 the we had EJBDeployerW.exe.
    Cheers,
    Laxmi--
    Dimitri

  • Authenticating against both RDBMS and LDAP in WL6.0

    Hi,
    We are designing a webapp that will be accessible to both internal and
    external users. For internal users, we would like to authenticate via LDAP;
    for external users we would like to use RDBMS. In WL5.1, this looked to be
    possible with the DelegatingRealm, however this has been removed in WL6.0.
    Two questions:
    1) Why was it removed?
    2) How can we get this functionality in WL6.0?
    Thanks much for your help,
    -jt

    We are currently deployed on WL5.1 with a similar situation as you and in
    the process of migrating to WL6. We are Authenticating against LDAP and
    Authorizing against RDBMS. But I can't see how you could tell it to go
    one way for certain users and another for other users.
    The delegatingrealm in WL5 was intended to split the responsibility of
    Authenticating to one source and Authorization to another. To make this
    work for your Application of splitting internal and external users
    security, I suppose you can do it if you can somehow pass the information
    to the Security Realm the type of the user that is logging in. Maybe you
    can make this code a part of the userid such as ext_uersID or int_userID.
    Doing this will allow you to filter the where the users are coming from
    and Direct them to the appropriate security realm.
    As far as WL6 goes, the Delegating realm class is no longer available
    since the security model for WL6 is different from WL5. But you can take
    a look at what they did with the RDBMSrealm example and use that. This is
    what we did to make our Security work in WL6. However, you can no longer
    store ACLs in the RDBMS realm in WL6.
    Hopes this helps.
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    You will need to create a Custom Realm which delegates to both your RDBMS
    and LDAP perhaps using the Weblogic supplied RDBMS and LDAP realms
    "Jonathan Thompson" <[email protected]> wrote in message
    news:3accf1a3$[email protected]..
    Hi,
    We are designing a webapp that will be accessible to both internal and
    external users. For internal users, we would like to authenticate viaLDAP;
    for external users we would like to use RDBMS. In WL5.1, this looked tobe
    possible with the DelegatingRealm, however this has been removed in WL6.0.
    >
    Two questions:
    1) Why was it removed?
    2) How can we get this functionality in WL6.0?
    Thanks much for your help,
    -jt
    [att1.html]

  • Differences betx WL5/6 and WL8??

    The old docs don't seem to be online.
    I being intereviewed for a job were they are still using WL5
    My experience is based on seeing WL6 at a previous job and using WL 8 [ workshop and server ] at home.
    What are the important differences??
    Is there some set of reasons for a company not to upgrade over the last several years???

    howarddy
    Moving from WLS5 to WLS8 is a non trivial task, I am currently upgrading WLS8.1sp1 to WLS8.1sp3 and that is a fair amount of work in it's own right.
    I suggest you start by spending some time going through all the release notes with someone who knows your application code well:
    http://e-docs.bea.com/wls/docs61/notes/
    http://e-docs.bea.com/wls/docs70/notes/
    http://e-docs.bea.com/wls/docs81/notes/
    and make a note of the main things you will need to change, then start by creating your WLS8.1sp3 environment. Next start by trying to compile and deploy each type of component, find a simple ejb and webapp and do those first. Once these work apply all the required changes to the rest of your code. Compile, deploy and test each component one at a time and once the new addition has been made test the entire application, resist making changes to all components in one go.
    If you have unit tests make sure you use them to check your upgraded components, if you don't now is a great time to create a suit of unit tests that you can use for this migration and for the future.
    Good luck

  • Must Reparse Cursor Error on WL5.1Sp9

    We are seeing a Must Reparse Cursor error on SQL code that prepares a statement
    executes it once and closes it right away. This problem occurred in WL6.0 as well,
    but Joe fixed it by sending us a patch that turned off caching of prepared statements.
    This problem does not occur in WL5.1sp8. Did the prepared statement caching feature
    get back ported on to the 5.1sp9 release as well, and if so is there a way to
    bypass the caching the way it was done for WL6.0.
    Any help is appreciated - we are close to a shipping deadline so it would help
    if we could get a response quickly..
    krishna

    Hi Krishna,
    Could you apply this patch and let me know if it helps?
    Put it as the first thing in your weblogic.classpath.
    Regards,
    Slava Imeshev
    "Krishna Kumar" <[email protected]> wrote in message
    news:3b65dc31$[email protected]..
    >
    We are seeing a Must Reparse Cursor error on SQL code that prepares astatement
    executes it once and closes it right away. This problem occurred in WL6.0as well,
    but Joe fixed it by sending us a patch that turned off caching of preparedstatements.
    This problem does not occur in WL5.1sp8. Did the prepared statementcaching feature
    get back ported on to the 5.1sp9 release as well, and if so is there a wayto
    bypass the caching the way it was done for WL6.0.
    Any help is appreciated - we are close to a shipping deadline so it wouldhelp
    if we could get a response quickly..
    krishna
    [CR047274_51.jar]

Maybe you are looking for