Is it possible to run  EJB (  Weblogic server 7.0) on win XP professional

Hi,
i am using win XP Professional platform. Is it possible to run EJB (WEBLOGIC SERVER 7.0) on this platform. IF not what are the other plug in needed to run WEBLOGIC SERVER on WIN XP Prof ?.

Yes, though currently BEA hasn't certified it for XP.

Similar Messages

  • Possible to run *own* Stratus server or *not* use Stratus for RTFMP?

    Possible to run *own* Stratus server or *not* use it for RTFMP?
    In other words, have Flash peers be able to talk RTFMP without needing to ever talk to Stratus server.
    It may not always be possible to stay connected to Adobe's Stratus servers so this would be useful.
    Possible? How?
    cs

    Flash Player 10.1 beta supports nc.connect("rtmfp:").  a NetConnection connected in this manner can only be used for groups communication (NetStream for multicast and NetGroup) between peers on the local LAN, or for a NetStream that is to receive a pure IP multicast (no P2P or C-S at all).  this is covered in the beta ActionScript reference page for NetConnection.connect().
    note that this mode can't be used for 1-1 NetStreams, only group NetStreams and NetGroups.
    in order for peers in the group to find each other on the local LAN, you must enable LAN peer discovery and add an IP multicast address to the groupspec.  when using GroupSpecifier to make the groupspec for joining groups (recommended), that's the "ipMulticastMemberUpdatesEnabled" property and the "addIPMulticastAddress()" method, respectively.  for example:
      var nc:NetConnection = new NetConnection;
      nc.connect("rtmfp:");
      var gs:GroupSpecifier = new GroupSpecifier("com.example.chatapp/mychannel");
      gs.multicastEnabled = true;
      gs.postingEnabled = true;
      gs.ipMulticastMemberUpdatesEnabled = true;
      gs.addIPMulticastAddress("239.254.254.1:30000");
      var ng:NetGroup = new NetGroup(nc, gs.groupspecWithAuthorizations());
      var ns:NetStream = new NetStream(nc, gs.groupspecWithAuthorizations());
      // ... add event handlers, wait for NetGroup.Connect.Success & NetStream.Connect.Success, then post and publish/play streams
    in this example, i specified a group called "com.example.chatapp/mychannel", where P2P multicast and posting are enabled, where peers can discover each other on the local LAN and they use IPv4 multicast address 239.254.254.1 UDP port 30000 to do so.
    things get really interesting when you connect to Stratus and enable the group server channel (to get auto bootstrapping) and *also* use LAN peer discovery so that peers on the LAN will be more tightly meshed than they necessarily would through normal group topology evolution.
    -mike

  • How to run two WebLogic server instances on the same machine

    The setup is to run server instance A with all EJBs and server instance
    B with all servlets.
    I edited the weblogic.properties under myserver to include all EJBs and
    create server2 under \weblogic parallel to myserver and put a new
    weblogic.properties under server2 that has all the servlets aliases.
    Is this the right way?
    two server ran but I cannot hit the servlet.

    The setup is to run server instance A with all EJBs and server instance
    B with all servlets.
    I edited the weblogic.properties under myserver to include all EJBs and
    create server2 under \weblogic parallel to myserver and put a new
    weblogic.properties under server2 that has all the servlets aliases.
    Is this the right way?
    two server ran but I cannot hit the servlet.

  • How to terminate the "process" running in weblogic server by servlet

    hi all !!
    i have executed a external command from servlet but i am not getting the output untill i logoff the weblogic server.
    now i want to kill the process running in my server by servlet code.how could i do this? here is my code ,it is executing the command but not giving output untill i logoff the server.
                     Runtime rt = Runtime.getRuntime();
                     Process proc = rt.exec("var.bat");
                     proc.wait(60);
                     proc.destroy();Thanks and Regards
    Allwyn

    hey !
    anybody is here?????

  • Signed Applet running in weblogic server

    Hi ,
    Im a newbie with applet. Can anyone help me to clarify below question.
    1. I have signed applet compile with jdk 1.4.2. It its running fine with JRE 1.4 and 1.4.2. However i need to upgrade the applet so that it can support JRE 1.6. Can anyone guide me regarding this issue as the applet will close if i running in jre 1.6. I got the below exception
    java.io.FilePermission<<allFiles>> execute.
    2. As i know, If i compiled the applet again, i need to signed the ja againr. I tried once and got below exception
    ClassNotFoundException. can anyone give any idea how resolved this problem. Fyi, im using weblogic server 8.1
    Thanks.
    Regards

    Normally, a 1.4 compiled and signed applet should work just fine under 1.6. No need to recompile and resign.
    This is in theory and in my practice with my applets. Since you do have problems, please post here (copy and paste, don't paraphrase) full stack traces of the errors and relevant code where the error occurs.

  • What's the recommended way to run a WebLogic Server in the background?

    I'm new to WebLogic Server and I've been looking at the documentation. There's instructions for starting and stopping servers on Linux but they all seem to rely on foreground processes. What's the correct way to run these processes in the background in a production environment? Is it just by using nohup somewhere in a script /etc/init.d/ or is there some other way I should be running it?

    Meatwad,
    Of course, running the WLS processes using nohup would place the process in the background. However, the recommended way to run the WLS servers on a production system would be to configure node manager and use this. This places the servers as a background process but also provides some additional functionality, that would be useful - for instance, allowing starting and stopping via the admin console and the ability to auto restart failed or stuck servers.
    For more information, please consult the documentation.
    http://docs.oracle.com/cd/E17904_01/web.1111/e13740/starting_nodemgr.htm

  • How to run Weblogic Server 8.1 in Win 98/Red Hat Linux

    I've receieved the Weblogic Server 8.1 Evaluation version. I've installed it successfully. But while I try to start the Weblogic Server the progress bar shows the completion of the server start but the indicator does not turn green. What might be the reason.Same is the problem with Red hat Linux 8.0 ? Please send in the solution

    Joydeep,
    WebLogic Platform 8.1 is not supported on Win 98 and Red Hat 8.0. Please
    refer to the following url for more information.
    http://e-docs.bea.com/platform/docs81/support/supp_plat.html#1048419
    Regards,
    Raj Alagumalai
    WebLogic Workshop Support
    "Joydeep Paul" <[email protected]> wrote in message
    news:3f4e9723$[email protected]..
    I've receieved the Weblogic Server 8.1 Evaluation version. I've installedit successfully. But while I try to start the Weblogic Server the progress
    bar shows the completion of the server start but the indicator does not turn
    green. What might be the reason.Same is the problem with Red hat Linux 8.0 ?
    Please send in the solution

  • Running on Weblogic Server 9 with XML mappings (JPA)

    We have a project with a number of persistent classes configured through XML mapping files instead of annotations because it should also work under JDK 1.4.
    It works perfect as a standalone client or set up in the server with a connection specified in the persistence.xml.
    However when configuring it through a resource adapter as recommended for WLS9, I'm running into problems as there seems to be no way to specify that MetaData should be taken from an XML file when it comes to the JPA edition.
    Eg. I'm missing the equivalent of:
    <mapping-file>com/xyz/xxx/Service.orm.xml</mapping-file>So naturally I get an Exception like:
    org.apache.openjpa.persistence.ArgumentException: There is no query with the name "findServiceByName" defined for any of the known persistent classes: null.And the server log also shows:
    INFO   [[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] openjpa.MetaData - Found 0 classes with metadata in 20 milliseconds.Any suggestions on how to fix or work around this without introducing annotations?
    Regards
    Brian Jacobsen

    Yes we are using named queries as well.
    WLS 9.2, Kodo 4.1.2.
    There are no entries in config.xml and no persistence.xml when running as recommended under WLS9 installation in the Kodo documentation.
    Everything is configured in the ra.xml for the resource adapter. But the ra.xml specification only supports specification through annotated classes for JPA as far as I can decipher, which is what I tried to describe in the original post.
    Eg. kodo.MetaDataFactory supports only classes through Type. There is no way to specify the equivalent mapping through XML files. See section 6.2 Metadata Factory in the Kodo Manual.
    Kind regards
    Brian Jacobsen

  • Fail running integrated webLogic Server 11g (11.1.1.4)

    hi, i try to follow a tutorial in cue card for work with web services & when i try to test the web services there was incomplete deploying as shown below:
    [01:26:23 AM] #### Deployment incomplete. ####
    [01:26:23 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    #### Cannot run application WSDataControlApp due to error deploying to IntegratedWebLogicServer.
    [Application WSDataControlApp stopped and undeployed from Server Instance IntegratedWebLogicServer]
    <Logger> <error> ServletContainerAdapter manager not initialized correctly.
    anybody can help me fix this problem?
    Edited by: kay on 07-Aug-2011 10:58
    Edited by: kay on 07-Aug-2011 10:58

    Hi,
    Are you getting any error in wls_reports managed server log file, while the servers stops abruptly. Location of log files is $DOMAIN_HOME/servers/wls_reports/logs. Please check the latest .out,.log files. Please paste the same here.
    Thanks,
    Kishore

  • Is it possible to run Mac OS Server as a VM

    Is it possble to buy and install Mac OS Server as a VM on a windows 2008 server running vmware?
    Currently working on integrating macs, ipads and iphones into a windows domain and have a few areas where Windows Config Manager and Windows AD does not solve my issues. My manager has accepted to buy Mac Server, but wants to have it installed as a vm.

    The license for OS X and Server.app does allow running in a VM and this can be VMware but the license only allows this if the VM is hosted on Apple (Mac) hardware.
    In theory you can run Server 2008R2 on Mac hardware and VMware on top off that so technically the answer is yes. In reality the answer is no you cannot do this.
    You will therefore have to consider getting something like a Mac Mini server, running the Apple software on that and binding it to Active Directory. There are special brackets available to 'rackmount' Mac mini computers.
    If you want a sort of failover capability for the Mac server, something which Apple themselves no longer provide in software then an approach is to have two identical Macs, you would setup one and clone it to the second (spare). You would then boot the second one in FireWire Target Disk mode and have it connected via FireWire to the first main Mac server. It will then show up as an external drive. You would then set the first main server to periodically sync to the second one to keep it up to date.
    As always with servers they should be protected by a UPS.
    You then need a managed power strip like this http://www.amazon.com/APC-AP7900-Switched-Surge-Protector/dp/B0000AAAYH/ref=sr_1 _8?s=electronics&ie=UTF8&qid=1355395198&sr=1-8&keywords=managed+power+strip
    With this power strip, you can use a web-browser to remotely turn off or on individual power sockets. If the main server dies you would then turn its socket off and would power cycle the second backup Mac server. This second Mac would then boot as normal and be able to take over server duties.
    Unlike Windows, Apple software will not whine about product activation and serial numbers and will therefore boot and run without any issues even though it is now running on a different device.
    You could extend this approach somewhat by having the Macs connect to a SAN.
    Note: There are Thunderbolt to FDDI adaptors giving you the same performance levels as a traditional PCI-E card.
    These Macs can either use internal software RAID1 for protection, or you can boot from an external Thunderbolt RAID box which can be configured to RAID5, or you can combine the two. You cannot boot the Mac from a SAN.

  • Running two weblogic server versions

    hi all,
    i have a requirement wherein i have to run weblog 9.2 and weblogic 8.1 in the same machine. my application deployed in weblogic 9.2 uses dataservice deployed in weblogic 8.1sp5. i have changed the port number of weblogic 8.1 to "8001" from "7001". but still when i start the 9.2 it fails to start saying it is not able to find transport socket...
    here is the error.
    JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) ["debugInit.c",L497]
    thank you.

    Found the problem. The error occurs because I was running another domain which was using the default debug port for JDWP (8453). This port is set in the setDomainEnv.sh file. When I changed this port to 8454 the startup was fine :-)

  • Ecperf runtime bugs on BEA WebLogic Server

    I have deployed Ecperf on Weblogic server, Oracle DB on Win 2000 and tested it
    with the web client according to the Ecperf/README.html document, all the tests
    worked just fine. And I also did a data load using "loaddb.nt.bat" file, the load
    was successful. But, when I run the driver, I get the following error,
    Note: I have also tried deployed SequenceEnt to use a seperate connection pool
    with an isolation level of serializable to work correctly.
    (Special value for use in Weblogic with Oracle DBMS Only: TRANSACTION_READ_COMMITTED_FOR_UPDATE
    When this Isolation level is set for a method, the following happens: The Isolation
    Level is set to: TRANSACTION_READ_COMMITTED For duration of the Transaction, all
    SQL 'SELECT' statements executed in any method are executed with 'FOR UPDATE'
    appended to them. This causes the SELECTed rows to be locked for update. This
    isolation level can be used to avoid the error: java.sql.SQLException: ORA-08177:
    can't serialize access for this transaction which can happen when using the TRANSACTION_SERIALIZABLE
    isolation with Oracle DBMS )
    com.sun.ecperf.mfg.workorderent.ejb.WorkOrderBmpEJB_gfyuby_Impl at com.sun.ecper
    : SQLException: INSERT into M_workorder : Failed : ORA-00001: unique constraint
    (ECPERF.M_WO_IDX) violated
    java.sql.SQLException: ORA-00001: unique constraint (ECPERF.M_WO_IDX) violated
    at weblogic.db.oci.OciCursor.getCDAException(OciCursor.java:240)
    at weblogic.jdbc.oci.Statement.executeUpdate(Statement.java:990)
    at weblogic.jdbc.pool.Statement.executeUpdate(Statement.java:293)
    at weblogic.jdbc.rmi.internal.PreparedStatementImpl.executeUpdate(PreparedStatementImpl.java:66)
    at weblogic.jdbc.rmi.SerialPreparedStatement.executeUpdate(SerialPreparedStatement.java:57)
    at com.sun.ecperf.mfg.workorderent.ejb.WorkOrderBmpEJB.ejbCreate(WorkOrderBmpEJB.java:179)
    at com.sun.ecperf.mfg.workorderent.ejb.WorkOrderBmpEJB_gfyuby_Impl.ejbCreate(WorkOrderBmpEJB_gfyuby_Impl.java:212)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.ejb20.manager.DBManager.create(DBManager.java:492)
    at weblogic.ejb20.manager.DBManager.remoteCreate(DBManager.java:462)
    at weblogic.ejb20.internal.EntityEJBHome.create(EntityEJBHome.java:190)
    at com.sun.ecperf.mfg.workorderent.ejb.WorkOrderBmpEJB_gfyuby_HomeImpl.create(WorkOrderBmpEJB_gfyuby_HomeImpl.java:103)
    at com.sun.ecperf.mfg.workorderses.ejb.WorkOrderSesEJB.scheduleWorkOrder(WorkOrderSesEJB.java:78)
    at com.sun.ecperf.mfg.workorderses.ejb.WorkOrderSesEJB_gfz4hw_EOImpl.scheduleWorkOrder(WorkOrderSesEJB_gfz4hw_EOImpl.java:247)
    at com.sun.ecperf.mfg.workorderses.ejb.WorkOrderSesEJB_gfz4hw_EOImpl_WLSkel.invoke(Unknown
    Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:298)
    at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:93)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:267)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Thanks,
    Srinath
    At 02:28 PM 1/22/2002 -0800, Shanti Subramanyam wrote:
    Please send email to j2ee-interest for support questions in the future.
    Your problem is probably because SequenceEnt has not been deployed
    correctly - this beans needs to be deployed using a seperate connection
    pool with an isolation level of serializable to work correctly.
    Shanti

    Your weblogic-application.xml is malformed. Just google for the solution.
    http://www.google.com/search?q=The+processing+instruction+target+matching+%22%5BxX%5D%5BmM%5D%5BlL%5D%22+is+not+allowed.
    leandro Fabiani wrote:
    Hi,
    I have deployed an ear application (LifeRay) on weblogic 8.1.
    Now I have some exceptions:
    weblogic.management.DeploymentException: Error while loading descriptors: Error parsing file 'META-INF/weblogic-application.xml' at line: 3 column: 6. weblogic.xml.process.XMLParsingException: Error parsing file 'META-INF/weblogic-application.xml' at line: 3 column: 6. The processing instruction target matching "[xX][mM][lL]" is not allowed. - with nested exception: [org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.] - with nested exception: [org.xml.
    sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.]

  • FTPs adapter setup on Weblogic Server

    Hi,
    I am trying to setup ftps adapter for BPEL PM 10.1.2.0.2. running on Weblogic Server 8.1. BPEL does support Ftps for this version but it seems weblogic doesnot support ftps. Will this mean that I cannot set it up on WLS.
    I have tired to make changes in weblogic-ra.xml file and included all the params required for ftps adapter setup but I always get an error - connot login, please check username and password.
    Please help me on this and suggest if any other alternatives are possible.
    Regards
    Arvind

    Hi,
    Any help on this ??
    Regards
    Arvind Aggarwal

  • Starting WebLogic Server from a common mount area!

    Hi All,
    we have a requirement wherein the weblogic server is installed in machineC in which the admin server is running.
    The weblogic server installation is mounted on a common disk which can be accessed from machineA and machineB.
    Is it possible to start the weblogic server from machineA and machineB?
    Any comments/feedback will be REALLY appreciated!
    Many Thanks in Advance,
    C R Baradwaj

    Hi
    while iam running weblogic7 in eclipse iam getting this problem frequently
    Certificate expired or not yet valid: fingerprint = 56b7dfac29e39c21027973c248d8c1bb, not before = Tue May 30 16:38:01 CDT 2000, not after = Thu May 13 16:38:01 CDT 2004, holder = C=US SP=California L=San Francisco O=BEA WebLogic CN=weblogic.bea.com [email protected] , issuer = C=US SP=California L=San Francisco O=BEA WebLogic OU=Security CN=Demo Certificate Authority [email protected] , key = modulus length=65 exponent length=3
    <Feb 23, 2006 1:58:28 PM CST> <Alert> <WebLogicServer> <000297> <Inconsistent security configuration, java.lang.Exception: Certificate expired or not yet valid: fingerprint = 56b7dfac29e39c21027973c248d8c1bb, not before = Tue May 30 16:38:01 CDT 2000, not after = Thu May 13 16:38:01 CDT 2004, holder = C=US SP=California L=San Francisco O=BEA WebLogic CN=weblogic.bea.com [email protected] , issuer = C=US SP=California L=San Francisco O=BEA WebLogic OU=Security CN=Demo Certificate Authority [email protected] , key = modulus length=65 exponent length=3>
    <Feb 23, 2006 1:58:28 PM CST> <Emergency> <Security> <090034> <Not listening for SSL, java.io.IOException: Inconsistent security configuration, Certificate expired or not yet valid: fingerprint = 56b7dfac29e39c21027973c248d8c1bb, not before = Tue May 30 16:38:01 CDT 2000, not after = Thu May 13 16:38:01 CDT 2004, holder = C=US SP=California L=San Francisco O=BEA WebLogic CN=weblogic.bea.com [email protected] , issuer = C=US SP=California L=San Francisco O=BEA WebLogic OU=Security CN=Demo Certificate Authority [email protected] , key = modulus length=65 exponent length=3.>
         at weblogic.t3.srvr.SSLListenThread.<init>(SSLListenThread.java:220)
         at weblogic.t3.srvr.SSLListenThread.<init>(SSLListenThread.java:122)
         at weblogic.t3.srvr.T3Srvr.initializeListenThreads(T3Srvr.java:1513)
         at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:852)
         at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:295)
         at weblogic.Server.main(Server.java:32)
    <Feb 23, 2006 1:58:28 PM CST> <Error> <socket> <000433> <Unable to load performance pack, using Java I/O instead.
    Please ensure that libmuxer library is in :'C:\Program Files\Java\j2sdk1.4.2_10\bin;C:\bea\weblogic700\bin;C:\bea\weblogic700\server\bin'
    java.lang.UnsatisfiedLinkError: no muxer in java.library.path
    java.lang.UnsatisfiedLinkError: no muxer in java.library.path
         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1517)
         at java.lang.Runtime.loadLibrary0(Runtime.java:788)
         at java.lang.System.loadLibrary(System.java:834)
         at weblogic.socket.PosixSocketMuxer.<init>(PosixSocketMuxer.java:179)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
         at java.lang.Class.newInstance0(Class.java:308)
         at java.lang.Class.newInstance(Class.java:261)
         at weblogic.socket.SocketMuxer.makeTheMuxer(SocketMuxer.java:54)
         at weblogic.socket.SocketMuxer.getMuxer(SocketMuxer.java:37)
         at weblogic.t3.srvr.ListenThread.run(ListenThread.java:199)
    >

  • How write rmi-iiop over ssl with weblogic server 6.1 - No server found

    //New
    Hello,
    I have written an appication like this:
    - An EJB server running on Weblogic server 6.1
    (named: BankServerHome)
    -A java client calling the BankServer.
    Platform: windows 2000 - jdk1.3
    Now I want to secure the communication with SSL protocol.
    I have done this:
    -generate a key peer with weblogic service named certificate.
    -send the CSR to a CA and place the answer into the weblogic
    server certificate directory.
    -update path for ServerCertificateChainFileName,
    ServerCertificateFileName, ServerKeyFileName into config.xml.
    -launch weblogicServer
         -> server certificate is recognized
         -> listening port 7001 and 7002.
    (-stop weblogicServer!)
    At now, all is all right, errors come hereafter:
    Then I follow the guideline "Programming weblogic Security" (version of 30/07/2001).
    "To use RMI over IIOP over SSL with a Java client, do the following:
    2. Extend the java.rmi.server.RMISocketFactory class to handle SSL socket
    connections. Be sure to specify the port on which WebLogic Server listens for
    SSL connections. For an example of a class that extends the
    java.rmi.server.RMISocketFactory class, see Listing 4-22.
    3. Run the ejbc compiler with the -d option.
    4. Add your extension of the java.rmi.server.RMISocketFactory class to the
    CLASSPATH of the Java client.
    5. Use the following command options when starting the Java client:
    -xbootclasspath/a:%CLASSPATH%
    -Dorg.omg.CORBA.ORBSocketFactoryClass=implementation of java.rmi.server.RMISocketFactory
    -Dssl.certs=directory location of digital certificate for Java client
    -Dssl.key=directory location of private key for Java client"
    At step 3. I found into documentation that -d is linked to a directory name.
    When I run ejbc with this option -d I have the message:
    "ERROR: You must specify an output directory or jar with the -d option to weblogic.ejbc."
    % So what option can I use to run ejbc for secure usage?
    At step 5. Whatever I write for -Dorg.omg.CORBA.ORBSocketFactoryClass,
    this pointed class is not instanciated.
    Then I can not create a socket with my client.
    The folowing exception is raised:
    javax.naming.CommunicationException [Root exception is java.net.ConnectException:
    No server found at T3S://localhost:7002]
    So, my questions are:
    % Why -Dorg.omg.CORBA.ORBSocketFactoryClass must be known by the client and not
    the server?
    My java client part, managing connection is:
    -------------------BEGIN OF CONNECTION MANAGER-------------------
    Properties env = new Properties ();
    // Shouldn't have to do this, but for now you must
    if ( factory.equals ("weblogic.jndi.WLInitialContextFactory") ) {
    env.put ("java.naming.provider.url", "t3s://localhost:7002");
    InitialContext context = new InitialContext (env);
    BankSessionServerHome bssh = (BankServerHome) context.lookup("BankServerHome");
    BankServer = bssh.create();
    -------------------END OF CONNECTION MANAGER-------------------
    I have also try
    env.put ("java.naming.provider.url", "corbaloc:iiop://localhost:7002");
    but it throws the following error
    javax.naming.InvalidNameException: url does not conatin !!!
    % What is the code for the java client allowing connection with the ejb?
    % And better, can I have a sample example for rmi-iiop over ssl?
    (...wlserver6.1\samples\examples\iiop\ejb\stateless\rmiclient\client.java do not
    speak ssl!)
    Any help will be appreciate from you...
    Best Regards.
    Oliver

    "oliver" <[email protected]> writes:
    The SSL support is poorly doc'd right now. We have fixed this and
    updated the way you do things in SP2. Please either wait for SP2 or
    contact support.
    andy
    I have written an appication like this:
    - An EJB server running on Weblogic server 6.1
    (named: BankServerHome)
    -A java client calling the BankServer.
    Platform: windows 2000 - jdk1.3
    Now I want to secure the communication with SSL protocol.
    I have done this:
    -generate a key peer with weblogic service named certificate.
    -send the CSR to a CA and place the answer into the weblogic
    server certificate directory.
    -update path for ServerCertificateChainFileName,
    ServerCertificateFileName, ServerKeyFileName into config.xml.
    -launch weblogicServer
         -> server certificate is recognized
         -> listening port 7001 and 7002.
    (-stop weblogicServer!)
    At now, all is all right, errors come hereafter:
    Then I follow the guideline "Programming weblogic Security" (version of 30/07/2001).
    "To use RMI over IIOP over SSL with a Java client, do the following:
    2. Extend the java.rmi.server.RMISocketFactory class to handle SSL socket
    connections. Be sure to specify the port on which WebLogic Server listens for
    SSL connections. For an example of a class that extends the
    java.rmi.server.RMISocketFactory class, see Listing 4-22.
    3. Run the ejbc compiler with the -d option.
    4. Add your extension of the java.rmi.server.RMISocketFactory class to the
    CLASSPATH of the Java client.
    5. Use the following command options when starting the Java client:
    -xbootclasspath/a:%CLASSPATH%
    -Dorg.omg.CORBA.ORBSocketFactoryClass=implementation of java.rmi.server.RMISocketFactory
    -Dssl.certs=directory location of digital certificate for Java client
    -Dssl.key=directory location of private key for Java client"
    At step 3. I found into documentation that -d is linked to a directory name.
    When I run ejbc with this option -d I have the message:
    "ERROR: You must specify an output directory or jar with the -d option to weblogic.ejbc."
    % So what option can I use to run ejbc for secure usage?
    At step 5. Whatever I write for -Dorg.omg.CORBA.ORBSocketFactoryClass,
    this pointed class is not instanciated.
    Then I can not create a socket with my client.
    The folowing exception is raised:
    javax.naming.CommunicationException [Root exception is java.net.ConnectException:
    No server found at T3S://localhost:7002]
    So, my questions are:
    % Why -Dorg.omg.CORBA.ORBSocketFactoryClass must be known by the client and not
    the server?
    My java client part, managing connection is:
    -------------------BEGIN OF CONNECTION MANAGER-------------------
    Properties env = new Properties ();
    // Shouldn't have to do this, but for now you must
    if ( factory.equals ("weblogic.jndi.WLInitialContextFactory") ) {
    env.put ("java.naming.provider.url", "t3s://localhost:7002");
    InitialContext context = new InitialContext (env);
    BankSessionServerHome bssh = (BankServerHome) context.lookup("BankServerHome");
    BankServer = bssh.create();
    -------------------END OF CONNECTION MANAGER-------------------
    I have also try
    env.put ("java.naming.provider.url", "corbaloc:iiop://localhost:7002");
    but it throws the following error
    javax.naming.InvalidNameException: url does not conatin !!!
    % What is the code for the java client allowing connection with the ejb?
    % And better, can I have a sample example for rmi-iiop over ssl?
    (...wlserver6.1\samples\examples\iiop\ejb\stateless\rmiclient\client.java do not
    speak ssl!)
    Any help will be appreciate from you...
    Best Regards.
    Oliver

Maybe you are looking for