Weblogic server 8.1 sp5 connection to MQ V 7.1

Hi,
We are using Weblogic 8.1 sp5 to connect to Websphere MQ v 5.3 using the "Foreign JMS Server" connectivity of Weblogic. Websphere MQ Qmgr is being accessed in ".bindings" mode.
we have configured an XA Queue connection factories and queues in the file based jndi tree (.bindings) to connect to MQ. Weblogic is configured to use this bindings file to look up the file base JNDI tree for Weblogic MQ and also all binaries such as "com.ibm.mq.mqjms.jar" etc are available in its classpath.
An MDB is deployed on weblogic to listen to an MQ queue. The connectivity works fine and messages are delivered to the MDB (XA mode) and processed fine.
Now the MQ is getting upgraded to V 7.1.
From the below link i think we can only use weblogic server 9.1 to connect MQ v 7.1
http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/index.jsp?topic=/com.ibm.mq.csqzaw.doc/jm41140_.htm
If i am wrong can you clarify the below doubts
1) What changes should be done at weblogic server side ... like
a) getting the new .bindings file for MQ V 7.1 and it's related jars.
2) Will the above set-up works as java version is 1.4.2.10
3) Is there any known issues.
for ex: http://www-01.ibm.com/support/docview.wss?uid=swg1IZ71306
Thanks in advance

If MQ V5 clients cannot interoperate with MQ V7 servers, then perhaps MQ V6 clients support the 1.4 JVM? If so, I suppose you can use an MQ V6 client to communicate with V7.
Alternatively, perhaps MQ's "extended transactional client" provides more flexibility in interoperability than the client you're using.
Tom

Similar Messages

  • CPU Usage is high - WebLogic Server 8.1 SP5

    Hi,
    We upgraded the WebLogic Server 6.1 to WebLogic Server 8.1 SP5 for one of our application.
    The load test with WLS6.1 results,
    CPU Usage was peak up to 18% with sessions 10 -15 simultaneously.
    The load test with WLS8.1 results,
    CPU Usage was peak up to 60% for 12 users simultaneously.
    Why this higher CPU Usage in WebLogic 8.1 SP5 than WebLogic 6.1 for the similar environment (hardware)?
    Please give us the solution or the suggestions asap.

    If MQ V5 clients cannot interoperate with MQ V7 servers, then perhaps MQ V6 clients support the 1.4 JVM? If so, I suppose you can use an MQ V6 client to communicate with V7.
    Alternatively, perhaps MQ's "extended transactional client" provides more flexibility in interoperability than the client you're using.
    Tom

  • JNDIMapper Problem (Foreign JMS Providers with WebLogic Server does not close connection )

              Hello All,
              We tried to use wlsmqseries.zip classes (specially JNDI Mapper) for integrating
              WebLogic Server with MQ so that we can incorporate XA transactions. We use LDAP
              context factory to bind MQ.
              We found a number of LDAP connections are getting opened by JNDIMapper, but it's
              not getting closed.
              Can some one give some clue to this ?
              Also any suggestion to serve the current purpose is welcome.
              Thanks, Sudarson
              

              Hello All,
              We tried to use wlsmqseries.zip classes (specially JNDI Mapper) for integrating
              WebLogic Server with MQ so that we can incorporate XA transactions. We use LDAP
              context factory to bind MQ.
              We found a number of LDAP connections are getting opened by JNDIMapper, but it's
              not getting closed.
              Can some one give some clue to this ?
              Also any suggestion to serve the current purpose is welcome.
              Thanks, Sudarson
              

  • Foreign JMS Providers with WebLogic Server does not close connection

              Hello All,
              We tried to use wlsmqseries.zip classes (specially JNDI Mapper) for integrating
              WebLogic Server with MQ so that we can incorporate XA transactions. We use LDAP
              context factory to bind MQ.
              We found a number of LDAP connections are getting opened by JNDIMapper, but it's
              not getting closed.
              Can some one give some clue to this ?
              Also any suggestion to serve the current purpose is welcome.
              Thanks,
              Sudarson
              

    What version are you using? "wlsmqseries.zip" does enlisting of MQ JMS
              sessions in XA transactions, but WLS 8.1 does that for you out of the box.
              If you're using 8.1, it would be better to use the new 8.1 features for
              foreign JMS providers.
              A place to start is the "Using WebLogic JMS with EJBs and Servlets" section
              of the JMS programming documentation for 8.1, and there have been many other
              posts on this newsgroup with details. (There also appear to be quite a few
              customers using this feature in their own systems, judging from the number
              of posts.)
              greg
              "sudarson" <[email protected]> wrote in message
              news:40bf05ea$1@mktnews1...
              >
              > Reposting the message. Awaiting response from newsgroup or BEA
              > Thanks,
              > Sudarson
              > "sudarson" <[email protected]> wrote:
              > >
              > >Hello All,
              > >
              > >We tried to use wlsmqseries.zip classes (specially JNDI Mapper) for
              integrating
              > >WebLogic Server with MQ so that we can incorporate XA transactions. We
              > >use LDAP
              > >context factory to bind MQ.
              > >
              > >We found a number of LDAP connections are getting opened by JNDIMapper,
              > >but it's
              > >not getting closed.
              > >
              > >Can some one give some clue to this ?
              > >
              > >Also any suggestion to serve the current purpose is welcome.
              > >
              > >Thanks,
              > >Sudarson
              >
              

  • Requesting links for Weblogic Server 8.1 (sp5) binaries for all platforms.

    This might seem like a brazen request, but could someone provide me a link for Weblogic 8.1 (sp5) binaries. . .It seems unreasonable to spend $2,000 just to download a product version no longer supported by Oracle. The fact of the matter is that my client and my client's third-party staging server deploys their application in Weblogic 8.1 (sp5); believe me, if I had the authority and range of control to update my client's staging server and production server I would.
    Regards,
    Chuck
    Edited by: user11226438 on Jun 3, 2009 7:33 AM
    Ok, I found a majority of Weblogic's 8.1 (sp6) links. . .do you think developing on sp6 and deploying to sp5 will cause some issues? I'm supposing it won't and while the client has yet to deliver the application, the app server, documentation, or any other required materials, I'd at least like to get an environment that is compliant with their staging server's environment before-hand.
    Edited by: user11226438 on Jun 3, 2009 9:38 AM
    If anyone thinks that I will need to acquire a license for running (a sanboxed) version of Weblogic please let me know so I can inform my employer accordingly.

    If MQ V5 clients cannot interoperate with MQ V7 servers, then perhaps MQ V6 clients support the 1.4 JVM? If so, I suppose you can use an MQ V6 client to communicate with V7.
    Alternatively, perhaps MQ's "extended transactional client" provides more flexibility in interoperability than the client you're using.
    Tom

  • Weblogic server 8.1 sp5 startup problem

    Hello all,
    I have been having a problem with Weblogic 8.1 sp5.
    Twice in a week, I would start an admin and managed server and what would happen is that the managed server will not startup. I would click the it's startup .cmd file and it would pop up and then dissapear. This was my primary problem.
    In one case the admin server terminal would show up but I would go to the admin console and it would not appear, hence the admin server could not start up.
    What I would like to know is why when we click a startup .cmd file, the terminal would pop up and disappear and why servers don't start up in general? What areas should we look into?
    Any input is welcome.

    start ur admin first as ./startweblogic.sh or double click on startweblogic.cmd if in windows OS
    Then modify ur startmanagedweblogic file with admin url and port and also server name as ur managed servers name
    Save that file as (save as option) startManagedWeblogic_M1.cmd and startManagedWeblogic_M2.cmd to start them
    the admin url and port would be the same form M1 and M2
    only the server_name will be different, M1 for M1 and M2 for M2
    Next start ur managed servers and let me know

  • Writing MBeans on Weblogic Server 8.1 sp5

    Hi,
    I am trying to write a standard mbean for managing my application. As of now its a simple MBean which just needs to print hello world on the server when a MBean Client invokes it. Let me discuss the apporach i have taken. Classes that have been devloped are.
    Interface HelloMBean.java which doesnt extend any interface (as this is not a dynamic mbean). This contains a method hello()
    Class Hello.java implementing the HelloMBean. This contains the method hello() which does the printing on the server when invoked.
    HelloStartup which registers the mbean with the MBeanServer after doing a JNDI lookup for "weblogic.management.server"
    MBeanClient.java which does a look up for the mbean the code of which is :-
    url = "t3://localhost:7001" ;
    username = "weblogic";
    password = "weblogic";
    MBeanHome home = null;
    Environment env = new Environment();
    env.setProviderUrl(url);
    env.setSecurityPrincipal(username);
    env.setSecurityCredentials(password);
    Context ctx = env.getInitialContext();
    //Retrieving the Administration MBeanHome interface
    Object obj = ctx.lookup(MBeanHome.ADMIN_JNDI_NAME);
    home = (MBeanHome) PortableRemoteObject.narrow(obj, MBeanHome.class);
    WebLogicObjectName mbeanName = new WebLogicObjectName("MBeanDomain:Name=Hello,Type=ServerConfig");
    WebLogicMBean mbean = (WebLogicMBean)home.getMBean(mbeanName);
    Now At the server startup i see that the mbean has got successfully registered by using the isRegistered() method. But when i try to retreive the object from client i am getting a exception javax.management.InstanceNotFoundException.
    I would appreciate if anyone could help me out in this issue. Also if anyone has written any sample code to register and invoke the mbeans written using other interfaces like DynamicMBean, WeblogicMBean etc and could share them or perhaps give pointers in how to go about writing and invoking them in weblogic would be really helpfull.
    I read somewhere that till 7.0 weblogic didnt support writing of custom MBeans can anyone confirm that we can write custom MBeans on 8.1 ??
    My purpose of writing this MBean is to invoke it from across the JVM. I know its possible using rmi but do think MBean would be the rite choice for it.
    Thanks in advance

    Change this code
    <i>WebLogicObjectName mbeanName = new WebLogicObjectName("MBeanDomain:Name=Hello,Type=ServerConfig");
    WebLogicMBean mbean = (WebLogicMBean)home.getMBean(mbeanName);</i>
    to
    MBeanServer mbs = home.getMBeanServer()
    ObjectName oname = new ObjectName("MBeanDomain:Name=Hello,Type=ServerConfig");
    // to invoke your mbean's hello method
    mbs.invoke(oname, "hello", null, null);
    You should remember that for CustomMBean's you cannot use MBeanHome.
    HTH,
    -satya
    BEA Blog:
    http://dev2dev.bea.com/blog/sghattu/
    Get Involved in CodeShare:
    https://wls-console-extensions.projects.dev2dev.bea.com/
    https://wlnav.projects.dev2dev.bea.com/
    https://eclipse-wlst.projects.dev2dev.bea.com/
    https://wlst.projects.dev2dev.bea.com/

  • WLST : Error connecting to a remote Weblogic server instance from OEPE 3.7

    Attempting a to run a weblogic script connecting to a remote weblogic server instance (10.3.5), which is generating the following exception in OEPE 3.7.2 -
    username = 'weblogic'
    password = 'weblogic6'
    url='t3://xxx.xxx.com:7001'
    connect(username,password,url)
    Connecting to t3://xxx.xxx.com:7001 with userid weblogic ...
    This Exception occurred at Fri Feb 01 13:20:54 MST 2013.
    Error occured while performing connect : Error connecting to the server : Failed to generate class for weblogic.management.mbeanservers.compatibility.internal.MBeanHomeImpl_1035_WLStub
    Use dumpStack() to view the full stacktrace :
    java.lang.AssertionError: Failed to generate class for weblogic.management.mbeanservers.compatibility.internal.MBeanHomeImpl_1035_WLStubconnect
    Problem invoking WLST - Traceback (innermost last):
    File "C:\Users\hughese\workspace\12c_wlst\wlst\heapsize.py", line 13, in ?
    File "<iostream>", line 22, in connect
    File "<iostream>", line 648, in raiseWLSTException
    WLSTException: Error occured while performing connect : Error connecting to the server : Failed to generate class for weblogic.management.mbeanservers.compatibility.internal.MBeanHomeImpl_1035_WLStub
    Use dumpStack() to view the full stacktrace
    Connecting to the local weblogic server instance (t3://localhost:7001) works okay.
    From the command prompt (wlst.cmd) I'm able to connect to the remote weblogic server instance -
    wls:/offline> connect('weblogic','xxxxx','t3:xxx.xxx.com:7001') ;
    Connecting to t3://xxx.xxx.com:7001 with userid weblogic ...
    Successfully connected to Admin Server 'AdminServer' that belongs to domain 'IDMDomain'.
    I've compared the CLASSPATHs between OEPE and the command prompt.
    Any assistance would be greatly appreciated.
    Edited by: 950635 on Feb 1, 2013 7:47 PM

    Hi,
    1)To get mysql JDBC driver to work on my Linux system, i had to add the classpath for the driver to the .bashrc:
    CLASSPATH=./:home/<user>/java/mm.mysql-2.0.6/:home/<user>/java
    Note that I execute the java program as the user <user> (and .bashrc is the config. file of this <user>...). Perhaps you must do this as well for the Oracle driver on your client machine. I don't know if your client machine is UNIX/LINUX or WINDOWS. It should only be clear that the CLASSPATH is set in the config. file of the user under which the java program runs and that this user has the permission to access the files.
    There are no differences between accessing the database locally than accessing it by a network connection. The only thing that matters are that the connection parameters are right and that the network works properly.
    2) are you sure that the table tname (case sensitivity?) exits?
    Marc

  • Weblogic Server HeuristicMixedException

    Hi
    I've been encountering the following exception occassionally. I'm using Weblogic server 8.1 SP5 and connecting to 9i Oracle DB. Appreciate any help to solve this.
    <Error> <JTA> <BEA-110412> <Name=[EJB com.liferay.portal.ejb.UserManagerEJB.getAllLayouts(java.lang.String)],Xid=BEA1-79D34965B736AAD3495F(17057455),Status=Committed,HeuristicErrorCode=XA_HEURHAZ,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=81,seconds left=38,activeThread=Thread[ExecuteThread: '20' for queue: 'weblogic.kernel.Default',5,Thread Group for Queue: 'weblogic.kernel.Default'],XAServerResourceInfo[TX1]=(ServerResourceInfo[TX1]=(state=committed,assigned=mainServer),xar=TX1,re-Registered = false),SCInfo[AAPPS+mainServer]=(state=committed),properties=({weblogic.transaction.name=[EJB com.liferay.portal.ejb.UserManagerEJB.getAllLayouts(java.lang.String)]}),local properties=({weblogic.jdbc.jta.TX1=weblogic.jdbc.wrapper.TxInfo@1bc97fd}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=mainAdmin:8401+APPS+t3+, XAResources={TX1, weblogic.jdbc.wrapper.JTSXAResourceImpl, JMS_jms1_81_NotDurable, JMS_NBSDummyJMSServer_NotDurable},NonXAResources={})],CoordinatorURL=mainAdmin:8401+APPS+t3+) completed heuristically: (TX1, HeuristicHazard, ()) >
    <Error> <EJB> <BEA-010026> <Exception occurred during commit of transaction Name=[EJB com.liferay.portal.ejb.UserManagerEJB.getAllLayouts(java.lang.String)],Xid=BEA1-79D34965B736AAD3495F(17057455),Status=Committed,HeuristicErrorCode=XA_HEURHAZ,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=81,seconds left=38,XAServerResourceInfo[TX1]=(ServerResourceInfo[TX1]=(state=committed,assigned=mainServer),xar=TX1,re-Registered = false),SCInfo[AAPPS+mainServer]=(state=committed),properties=({weblogic.transaction.name=[EJB com.liferay.portal.ejb.UserManagerEJB.getAllLayouts(java.lang.String)]}),local properties=({weblogic.jdbc.jta.TX1=weblogic.jdbc.wrapper.TxInfo@1bc97fd}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=mainAdmin:8401+APPS+t3+, XAResources={TX1, weblogic.jdbc.wrapper.JTSXAResourceImpl, JMS_jms1_81_NotDurable, JMS_NBSDummyJMSServer_NotDurable},NonXAResources={})],CoordinatorURL=mainAdmin:8401+APPS+t3+): javax.transaction.HeuristicMixedException: (TX1, HeuristicHazard, ())
    at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:278)
    at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:228)
    at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:320)
    at weblogic.ejb20.internal.StatelessEJBObject.postInvoke(StatelessEJBObject.java:168)
    Cheers,
    bayisuper

    no, it support partially.
    I just want to encrypt my data (due to client requirement)
    and i found in documentation that it supports
    Encryption & Integrity
    http://download-west.oracle.com/docs/cd/A87860_01/doc/java.817/a83724/advanc2.htm#1022022
    Strange is, my whole J2EE-application works fine, but having problem only one EJB which reads/writes BLOB in Database ...
    Sanjay

  • Trouble starting managed weblogic server on another machine in  acluster

    Hi,
              I was having trouble starting managed weblogic server on another machine in a cluster from the command prompt
              I have following setup:
              1) BEA weblogic is installed on 2 machines - local machine A with ip address 172.17.2.219 and another machine B with ip address 172.17.2.201
              2)node manager is running on both machines
              3)An admin server myserver on the local machine at port 7001
              4)In the admin tree under Machines a new machine is created 'Machine1' with Node manager Listen Address: 172.17.2.201
              5) The managed server 'BEAServerMan1 ' instance is created with listen Address 172.17.2.201 and port 7705. This Server is assigened to Machine1. The server also belongs to a cluster 'Cluster1' where the 172.17.2.201:7705 is part of the Cluster Address.
              I can start 'BEAServerMan1 from http://172.17.2.16:7001/console/
              But I am unable to start BEAServerMan1 from the console using the command :
              startManagedWebLogic BEAServerMan1 http://172.17.2.219:7001
              startManagedWebLogic.sh BEAServerMan1 http://172.17.2.219:7001
              CLASSPATH=/opt/BEA/j2sdk1.4.1_03/lib/tools.jar:/opt/BEA/weblogic81/server/lib/weblogic_sp.jar:/opt/BEA/weblogic81/server/lib/weblogic.jar:/opt/BEA/weblogic81/server/lib/ojdbc14.jar::/opt/BEA/weblogic81/common/eval/pointbase/lib/pbserver44.jar:/opt/BEA/weblogic81/common/eval/pointbase/lib/pbclient44.jar:/opt/BEA/j2sdk1.4.1_03/jre/lib/rt.jar:/opt/BEA/weblogic81/server/lib/webservices.jar:/opt/BEA/j2sdk1.4.1_03/bin:/opt/BEA/j2sdk1.4.1_03:/opt/BEA/j2re1.4.1_03/bin:/opt/BEA/j2re1.4.1_03:/opt/BEA/j2sdk1.4.1_03/lib/tools.jar:/opt/oracle/OraHome1/jdbc/lib/classes111.jar:/opt/oracle/OraHome1/jdbc/lib/nls_charset11.jarx:/opt/BEA/user_projects/domains/mydomain/myserver/stage/_appsdir_dyn_ear/dyn.war:/opt/BEA/user_projects/domains/mydomain/./myserver/.wlnotdelete/extract/myserver__appsdir_dyn_ear_dyn/jarfiles/WEB-INF/lib/dspjspTaglib1_036773.jar:/usr/bin/j2re1_3_1_11/bin:/usr/bin/j2sdk1_3_1_11/bin:/usr/bin/j2sdk1_3_1_11:/usr/bin/j2sdk1_3_1_11/lib/tools.jar
              PATH=/opt/BEA/weblogic81/server/bin:/opt/BEA/j2sdk1.4.1_03/jre/bin:/opt/BEA/j2sdk1.4.1_03/bin:/opt/BEA/j2sdk1.4.1_03/bin:/opt/BEA/j2sdk1.4.1_03:/opt/BEA/j2re1.4.1_03/bin:/opt/BEA/j2re1.4.1_03:/opt/BEA/ATG6.2.0/home/bin:/usr/xpg4/bin:/opt/bmc/Patrol3/Solaris28-sun4/bin:/usr/bin::/usr/openwin/bin:/bin:/usr/ucb:/usr/local/sbin:/usr/dt/bin:/opt/RICHPse/bin:/usr/bin/j2re1_3_1_11/bin:/usr/bin/j2sdk1_3_1_11/bin
              * To start WebLogic Server, use a username and *
              * password assigned to an admin-level user. For *
              * server administration, use the WebLogic Server *
              * console at http://<hostname>:<port>/console *
              <13-Jan-2005 3:22:20 o'clock PM EST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 1.4.1_03-b02 from Sun Microsystems Inc.>
              <13-Jan-2005 3:22:21 o'clock PM EST> <Info> <Management> <BEA-141140> <The managed server is going to contact the admin server at http://172.17.2.219:7001 to check if there exists a running admin server at this URL.>
              <13-Jan-2005 3:22:22 o'clock PM EST> <Info> <Configuration Management> <BEA-150017> <This server is being started as a dependent managed server.>
              <13-Jan-2005 3:22:22 o'clock PM EST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 8.1 SP1 Fri Jun 20 23:06:40 PDT 2003 271009
              WebLogic XMLX Module 8.1 SP1 Fri Jun 20 23:06:40 PDT 2003 271009>
              <13-Jan-2005 3:22:22 o'clock PM EST> <Info> <Configuration Management> <BEA-150015> <Connecting to the administration server http://172.17.2.219:7001 to retrieve the initial configuration.>
              <13-Jan-2005 3:22:27 o'clock PM EST> <Notice> <Log Management> <BEA-170019> <The server log file /opt/BEA/user_projects/domains/mydomain/BEAServerMan1 /BEAServerMan1 .log is opened. All server side log events will be written to this file.>
              <13-Jan-2005 3:22:37 o'clock PM EST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
              <13-Jan-2005 3:22:38 o'clock PM EST> <Notice> <WebLogicServer> <BEA-000328> <Starting WebLogic Managed Server "BEAServerMan1 " for domain "mydomain">
              <13-Jan-2005 3:22:50 o'clock PM EST> <Notice> <Cluster> <BEA-000138> <Listening for announcements from cluster Cluster1 on 237.0.0.1:7001.>
              <13-Jan-2005 3:22:50 o'clock PM EST> <Notice> <Cluster> <BEA-000133> <Waiting to synchronize with other running members of Cluster1.>
              <13-Jan-2005 3:23:24 o'clock PM EST> <Emergency> <WebLogicServer> <BEA-000350> <Unable to create a server socket on Channel Default for: 172.17.2.201, port: 7705. java.net.BindException: Cannot assign requested address Perhaps the address 172.17.2.201 is incorrect or another process is using port 7705.>
              <13-Jan-2005 3:23:24 o'clock PM EST> <Emergency> <Security> <BEA-090085> <Server failed to bind to the configured port. The port may already be used by another process.>
              <13-Jan-2005 3:23:24 o'clock PM EST> <Emergency> <WebLogicServer> <BEA-000342> <Unable to initialize the server: Server failed to bind to the requested port. See preceeding log message for details.>
              The WebLogic Server did not start up properly.
              Exception raised: 'weblogic.server.ServerLifecycleException: Server failed to bind to the requested port. See preceeding log message for details.'
              Reason: Server failed to bind to the requested port. See preceeding log message for details.
              ***************************************************************************

    Hi
              i am also facing the same problem.kindly reply for th solution if you got.
              D:\bea1\user_projects_cluster\mydomain>startManagedWebLogic server2 10.16.96.21:
              7001
              D:\bea1\user_projects_cluster\mydomain>echo off
              CLASSPATH=d:\bea1\jdk131_03\lib\tools.jar;d:\bea1\weblogic700\server\lib\weblogi
              c_sp.jar;d:\bea1\weblogic700\server\lib\weblogic.jar;F:\bea\weblogic81\server\li
              b;D:\;c:\
              PATH=.;d:\bea1\weblogic700\server\bin;d:\bea1\jdk131_03\bin;E:\oracle\product\10
              .2.0\client_1\bin;C:\Program Files\Common Files\NetSarang;C:\WINDOWS\system32;C:
              \WINDOWS;C:\WINDOWS\System32\Wbem;F:\bea\jdk142_05\bin;C:\PROGRA~1\IBM\CLIENT~1;
              C:\PROGRA~1\IBM\CLIENT~1\Shared;C:\PROGRA~1\IBM\CLIENT~1\Emulator;
              * To start WebLogic Server, use a username and *
              * password assigned to an admin-level user. For *
              * server administration, use the WebLogic Server *
              * console at http://[hostname]:[port]/console *
              D:\bea1\user_projects_cluster\mydomain>"d:\bea1\jdk131_03\bin\java" -hotspot -Xm
              s32m -Xmx200m -Dweblogic.security.SSL.trustedCAKeyStore=d:\bea1\weblogic700\serv
              er\lib\cacerts -Dweblogic.Name="server2" -Dbea.home="d:\bea1" -Dweblogic.managem
              ent.username= -Dweblogic.management.password= -Dweblogic.management.server="10.1
              6.96.21:7001" -Dweblogic.ProductionModeEnabled= -Djava.security.policy="d:\bea1\
              weblogic700\server\lib\weblogic.policy" weblogic.Server
              <Sep 20, 2007 1:47:13 PM IST> <Info> <Security> <090065> <Getting boot identity
              from user.>
              Enter username to boot WebLogic server:weblogic
              Enter password to boot WebLogic server:
              Starting WebLogic Server...
              Connecting to http://10.16.96.21:7001...
              <Sep 20, 2007 1:47:25 PM IST> <Notice> <Security> <090082> <Security initializin
              g using realm myrealm.>
              <Sep 20, 2007 1:47:25 PM IST> <Notice> <WebLogicServer> <000328> <Starting WebLo
              gic Managed Server "server2" for domain "mydomain">
              Starting Cluster Service...
              <Sep 20, 2007 1:47:46 PM IST> <Notice> <Cluster> <000138> <Listening for announc
              ements from cluster mycluster on 237.0.0.1:7777>
              <Sep 20, 2007 1:47:46 PM IST> <Notice> <Cluster> <000133> <Waiting to synchroniz
              e with other running members of mycluster>
              <Sep 20, 2007 1:48:16 PM IST> <Notice> <Cluster> <000134> <Discovered and synchr
              onized with 1 other running members of mycluster>
              <Sep 20, 2007 1:48:17 PM IST> <Emergency> <WebLogicServer> <000350> <Unable to c
              reate a server socket on Channel Default for: 10.16.96.24/10.16.96.24, port: 900
              1. java.net.BindException: Cannot assign requested address: JVM_Bind Perhaps the
              address 10.16.96.24/10.16.96.24 is incorrect or another process is using port 9
              001.>
              <Sep 20, 2007 1:48:18 PM IST> <Emergency> <Security> <090085> <Server failed to
              bind to any port such that it is not reachable from the console.>
              <Sep 20, 2007 1:48:18 PM IST> <Emergency> <WebLogicServer> <000342> <Unable to i
              nitialize the server: Fatal initialization exception>
              The WebLogic Server did not start up properly.
              Reason: Fatal initialization exception
              D:\bea1\user_projects_cluster\mydomain>goto finish
              D:\bea1\user_projects_cluster\mydomain>ENDLOCAL
              D:\bea1\user_projects_cluster\mydomain>ENDLOCAL
              D:\bea1\user_projects_cluster\mydomain>

  • NullPointerException while starting Weblogic server instance

              Hi,
              I am running Weblogic 7.0 SP1 on Windows 2000 SP3. I had configured a cluster
              with a single server in it. With that set up the admin server & Weblogic server
              instance started up fine. Both(admin & server instance) were run on the same machine.
              Then I added another server(on a different to the cluster & tried to start the
              local server instance after running the admin server. I get the following exception,
              C:\bea7>C:\bea7\jdk131_03\bin\java -Djava.compiler=NONE -ms64m -mx64m -classpath
              ""C:\SBM742\conf;C:\SBM742\ebmsapps;C:\SBM\jar\inetmssql.jar;.;C:\bea7\weblogic
              700\server\lib\weblogic_sp.jar;C:\bea7\weblogic700\server\lib\weblogic.jar;C:\SB
              M742\jar\tools.jar;C:\SBM742\jar\log4j.jar;C:\SBM742\BizPulse\JMSFileStore;C:\SB
              M742\BizPulse\jmsmaps;C:\SBM742\jar\castor-0.9.3-xml.jar;C:\SBM742\jar\jdbc-se2.
              0.jar;C:\SBM742\jar\jta1.0.1.jar;C:\SBM742\jar\jakarta-regexp-1.2.jar;C:\SBM742\
              jar\xerces-J_1.4.0.jar"" -Dweblogic.Name="MILPITAS" "-Dbea.home=C:\bea7" -Dweblo
              gic.management.server="milpitas.savvion.com:18793" "-Djava.security.policy==C:\b
              ea7\projects\sbm4.0\sbm.policy" -Dweblogic.ProductionModeEnabled=true -Dweblogic
              .management.username="system" -Dweblogic.management.password="wlsysadmin" weblog
              ic.Server
              Starting WebLogic Server...
              Connecting to http://milpitas.savvion.com:18793...
              <Apr 30, 2003 12:10:33 PM PDT> <Notice> <Security> <090093> <No configuration
              da
              ta was found on server MILPITAS for realm CompatibilityRealm.>
              <Apr 30, 2003 12:10:33 PM PDT> <Notice> <Security> <090082> <Security initializi
              ng using realm CompatibilityRealm.>
              <Apr 30, 2003 12:10:33 PM PDT> <Notice> <WebLogicServer> <000328> <Starting WebL
              ogic Managed Server "MILPITAS" for domain "sbm4.0">
              Starting Cluster Service...
              <Apr 30, 2003 12:11:08 PM PDT> <Notice> <Cluster> <000138> <Listening for announ
              cements from cluster sbm_cluster on 237.0.0.1:7001>
              <Apr 30, 2003 12:11:08 PM PDT> <Notice> <Cluster> <000133> <Waiting to synchroni
              ze with other running members of sbm_cluster>
              <Apr 30, 2003 12:11:38 PM PDT> <Notice> <Cluster> <000134> <Discovered and synch
              ronized with 1 other running members of sbm_cluster>
              <Apr 30, 2003 12:11:39 PM PDT> <Emergency> <WebLogicServer> <000342> <Unable to
              initialize the server: Fatal initialization exception
              Throwable: java.lang.NullPointerException
              java.lang.NullPointerException
              at weblogic.transaction.internal.TransactionRecoveryService.getOrCreate(
              TransactionRecoveryService.java:345)
              at weblogic.transaction.internal.TransactionRecoveryService.deployAllTra
              nsactionRecoveryServices(TransactionRecoveryService.java:390)
              at weblogic.transaction.internal.TransactionRecoveryService.resume(Trans
              actionRecoveryService.java:160)
              at weblogic.transaction.internal.TransactionService.resume(TransactionSe
              rvice.java:138)
              at weblogic.t3.srvr.ServerLifeCycleList.resume(ServerLifeCycleList.java:
              61)
              at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:806)
              at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:295)
              at weblogic.Server.main(Server.java:32)
              >
              The WebLogic Server did not start up properly.
              Exception raised:
              java.lang.NullPointerException
              at weblogic.transaction.internal.TransactionRecoveryService.getOrCreate(
              TransactionRecoveryService.java:345)
              at weblogic.transaction.internal.TransactionRecoveryService.deployAllTra
              nsactionRecoveryServices(TransactionRecoveryService.java:390)
              at weblogic.transaction.internal.TransactionRecoveryService.resume(Trans
              actionRecoveryService.java:160)
              at weblogic.transaction.internal.TransactionService.resume(TransactionSe
              rvice.java:138)
              at weblogic.t3.srvr.ServerLifeCycleList.resume(ServerLifeCycleList.java:
              61)
              at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:806)
              at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:295)
              at weblogic.Server.main(Server.java:32)
              Reason: Fatal initialization exception
              Throwable: java.lang.NullPointerException
              java.lang.NullPointerException
              at weblogic.transaction.internal.TransactionRecoveryService.getOrCreate(
              TransactionRecoveryService.java:345)
              at weblogic.transaction.internal.TransactionRecoveryService.deployAllTra
              nsactionRecoveryServices(TransactionRecoveryService.java:390)
              at weblogic.transaction.internal.TransactionRecoveryService.resume(Trans
              actionRecoveryService.java:160)
              at weblogic.transaction.internal.TransactionService.resume(TransactionSe
              rvice.java:138)
              at weblogic.t3.srvr.ServerLifeCycleList.resume(ServerLifeCycleList.java:
              61)
              at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:806)
              at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:295)
              at weblogic.Server.main(Server.java:32)
              The local server instance doesn't start because of this. The other server added
              to the cluster was to run on a different machine & was not started yet. If I remove
              the other server the server instance starts up fine. I am attaching the config.xml(the
              working version, without the second server).
              This used to work in Weblogic 6.1.
              Thanks,
              Aejaz
              [config.xml]
              

    This is fixed in SP2.
              Sree Bodapati wrote:
              > This is probably fixed already please contact support@bea<DOT>com.
              >
              > /
              > sree
              >
              > "Aejaz" <[email protected]> wrote in message
              > news:[email protected]...
              > >
              > > Hi,
              > >
              > > I am running Weblogic 7.0 SP1 on Windows 2000 SP3. I had configured a
              > cluster
              > > with a single server in it. With that set up the admin server & Weblogic
              > server
              > > instance started up fine. Both(admin & server instance) were run on the
              > same machine.
              > > Then I added another server(on a different to the cluster & tried to start
              > the
              > > local server instance after running the admin server. I get the following
              > exception,
              > >
              > >
              > C:\bea7>C:\bea7\jdk131_03\bin\java -Djava.compiler=NONE -ms64m -mx64m -class
              > path
              > >
              > ""C:\SBM742\conf;C:\SBM742\ebmsapps;C:\SBM\jar\inetmssql.jar;.;C:\bea7\weblo
              > gic
              > >
              > 700\server\lib\weblogic_sp.jar;C:\bea7\weblogic700\server\lib\weblogic.jar;C
              > :\SB
              > >
              > M742\jar\tools.jar;C:\SBM742\jar\log4j.jar;C:\SBM742\BizPulse\JMSFileStore;C
              > :\SB
              > >
              > M742\BizPulse\jmsmaps;C:\SBM742\jar\castor-0.9.3-xml.jar;C:\SBM742\jar\jdbc-
              > se2.
              > >
              > 0.jar;C:\SBM742\jar\jta1.0.1.jar;C:\SBM742\jar\jakarta-regexp-1.2.jar;C:\SBM
              > 742\
              > > jar\xerces-J_1.4.0.jar"" -Dweblogic.Name="MILPITAS"
              > "-Dbea.home=C:\bea7" -Dweblo
              > > gic.management.server="milpitas.savvion.com:18793"
              > "-Djava.security.policy==C:\b
              > >
              > ea7\projects\sbm4.0\sbm.policy" -Dweblogic.ProductionModeEnabled=true -Dwebl
              > ogic
              > > management.username="system" -Dweblogic.management.password="wlsysadmin"
              > weblog
              > > ic.Server
              > > Starting WebLogic Server...
              > > Connecting to http://milpitas.savvion.com:18793...
              > > <Apr 30, 2003 12:10:33 PM PDT> <Notice> <Security> <090093> <No
              > configuration
              > > da
              > > ta was found on server MILPITAS for realm CompatibilityRealm.>
              > > <Apr 30, 2003 12:10:33 PM PDT> <Notice> <Security> <090082> <Security
              > initializi
              > > ng using realm CompatibilityRealm.>
              > > <Apr 30, 2003 12:10:33 PM PDT> <Notice> <WebLogicServer> <000328>
              > <Starting WebL
              > > ogic Managed Server "MILPITAS" for domain "sbm4.0">
              > > Starting Cluster Service...
              > > <Apr 30, 2003 12:11:08 PM PDT> <Notice> <Cluster> <000138> <Listening for
              > announ
              > > cements from cluster sbm_cluster on 237.0.0.1:7001>
              > > <Apr 30, 2003 12:11:08 PM PDT> <Notice> <Cluster> <000133> <Waiting to
              > synchroni
              > > ze with other running members of sbm_cluster>
              > > <Apr 30, 2003 12:11:38 PM PDT> <Notice> <Cluster> <000134> <Discovered and
              > synch
              > > ronized with 1 other running members of sbm_cluster>
              > > <Apr 30, 2003 12:11:39 PM PDT> <Emergency> <WebLogicServer> <000342>
              > <Unable to
              > > initialize the server: Fatal initialization exception
              > > Throwable: java.lang.NullPointerException
              > > java.lang.NullPointerException
              > > at
              > weblogic.transaction.internal.TransactionRecoveryService.getOrCreate(
              > > TransactionRecoveryService.java:345)
              > > at
              > weblogic.transaction.internal.TransactionRecoveryService.deployAllTra
              > > nsactionRecoveryServices(TransactionRecoveryService.java:390)
              > > at
              > weblogic.transaction.internal.TransactionRecoveryService.resume(Trans
              > > actionRecoveryService.java:160)
              > > at
              > weblogic.transaction.internal.TransactionService.resume(TransactionSe
              > > rvice.java:138)
              > > at
              > weblogic.t3.srvr.ServerLifeCycleList.resume(ServerLifeCycleList.java:
              > > 61)
              > > at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:806)
              > > at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:295)
              > > at weblogic.Server.main(Server.java:32)
              > > >
              > >
              > ***************************************************************************
              > > The WebLogic Server did not start up properly.
              > > Exception raised:
              > > java.lang.NullPointerException
              > > at
              > weblogic.transaction.internal.TransactionRecoveryService.getOrCreate(
              > > TransactionRecoveryService.java:345)
              > > at
              > weblogic.transaction.internal.TransactionRecoveryService.deployAllTra
              > > nsactionRecoveryServices(TransactionRecoveryService.java:390)
              > > at
              > weblogic.transaction.internal.TransactionRecoveryService.resume(Trans
              > > actionRecoveryService.java:160)
              > > at
              > weblogic.transaction.internal.TransactionService.resume(TransactionSe
              > > rvice.java:138)
              > > at
              > weblogic.t3.srvr.ServerLifeCycleList.resume(ServerLifeCycleList.java:
              > > 61)
              > > at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:806)
              > > at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:295)
              > > at weblogic.Server.main(Server.java:32)
              > > Reason: Fatal initialization exception
              > > Throwable: java.lang.NullPointerException
              > > java.lang.NullPointerException
              > > at
              > weblogic.transaction.internal.TransactionRecoveryService.getOrCreate(
              > > TransactionRecoveryService.java:345)
              > > at
              > weblogic.transaction.internal.TransactionRecoveryService.deployAllTra
              > > nsactionRecoveryServices(TransactionRecoveryService.java:390)
              > > at
              > weblogic.transaction.internal.TransactionRecoveryService.resume(Trans
              > > actionRecoveryService.java:160)
              > > at
              > weblogic.transaction.internal.TransactionService.resume(TransactionSe
              > > rvice.java:138)
              > > at
              > weblogic.t3.srvr.ServerLifeCycleList.resume(ServerLifeCycleList.java:
              > > 61)
              > > at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:806)
              > > at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:295)
              > > at weblogic.Server.main(Server.java:32)
              > >
              > >
              > ***************************************************************************
              > >
              > > The local server instance doesn't start because of this. The other server
              > added
              > > to the cluster was to run on a different machine & was not started yet. If
              > I remove
              > > the other server the server instance starts up fine. I am attaching the
              > config.xml(the
              > > working version, without the second server).
              > >
              > > This used to work in Weblogic 6.1.
              > >
              > > Thanks,
              > > Aejaz
              Rajesh Mirchandani
              Developer Relations Engineer
              BEA Support
              

  • Weblogic server not properly started in myeclipse

    Click to email this message
    Feb 7, 2009 6:05:06 PM EST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 1.5.0_11-b03 from Sun Microsystems Inc.>
    <Feb 7, 2009 6:05:08 PM EST> <Info> <Configuration Management> <BEA-150016> <This server is being started as the administration server.>
    <Feb 7, 2009 6:05:08 PM EST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 8.1 SP5 Mon Sep 19 23:06:54 PDT 2005 641358
    WebLogic XMLX Module 8.1 SP5 Mon Sep 19 23:06:54 PDT 2005 641358 >
    The WebLogic Server did not start up properly.
    java.io.InvalidClassException: javax.management.MBeanAttributeInfo; local class incompatible: stream classdesc serialVersionUID = 7043855487133450673, local class serialVersionUID = 8644704819898565848
    at java.io.ObjectStreamClass.initNonProxy(Unknown Source)
    at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
    at java.io.ObjectInputStream.readClassDesc(Unknown Source)
    at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
    at java.io.ObjectInputStream.readClassDesc(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readArray(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
    at java.io.ObjectInputStream.readSerialData(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at weblogic.management.internal.TypesHelper.getMBeanInfo(TypesHelper.java:274)
    at weblogic.management.internal.TypesHelper.getAdminOrConfigMBeanInfo(TypesHelper.java:384)
    at weblogic.management.internal.ConfigurationMBeanImpl.<init>(ConfigurationMBeanImpl.java:137)
    at weblogic.management.AdminServer.<init>(AdminServer.java:59)
    at weblogic.management.AdminServerAdmin.initialize(AdminServerAdmin.java:245)
    at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:770)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:669)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:343)
    at weblogic.Server.main(Server.java:32)
    nested within: weblogic.management.configuration.ConfigurationException: - with nested exception:
    [java.io.InvalidClassException: javax.management.MBeanAttributeInfo; local class incompatible: stream classdesc serialVersionUID = 7043855487133450673, local class serialVersionUID = 8644704819898565848]
    at weblogic.management.internal.TypesHelper.getMBeanInfo(TypesHelper.java:279)
    at weblogic.management.internal.TypesHelper.getAdminOrConfigMBeanInfo(TypesHelper.java:384)
    at weblogic.management.internal.ConfigurationMBeanImpl.<init>(ConfigurationMBeanImpl.java:137)
    at weblogic.management.AdminServer.<init>(AdminServer.java:59)
    at weblogic.management.AdminServerAdmin.initialize(AdminServerAdmin.java:245)
    at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:770)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:669)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:343)
    at weblogic.Server.main(Server.java:32)
    nested within: weblogic.management.configuration.ConfigurationError - with nested exception:
    [weblogic.management.configuration.ConfigurationException: - with nested exception:
    [java.io.InvalidClassException: javax.management.MBeanAttributeInfo; local class incompatible: stream classdesc serialVersionUID = 7043855487133450673, local class serialVersionUID = 8644704819898565848]]
    at weblogic.management.internal.TypesHelper.getAdminOrConfigMBeanInfo(TypesHelper.java:395)
    at weblogic.management.internal.ConfigurationMBeanImpl.<init>(ConfigurationMBeanImpl.java:137)
    at weblogic.management.AdminServer.<init>(AdminServer.java:59)
    at weblogic.management.AdminServerAdmin.initialize(AdminServerAdmin.java:245)
    at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:770)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:669)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:343)
    at weblogic.Server.main(Server.java:32)
    ***************************************************************************

    pravalika wrote:
    java.io.InvalidClassException: javax.management.MBeanAttributeInfo; local class incompatible: stream classdesc serialVersionUID = 7043855487133450673, local class serialVersionUID = 8644704819898565848]][http://www.google.com/search?q=%22java.io.InvalidClassException%3A+javax.management.MBeanAttributeInfo%3B+local+class+incompatible%22]
    Look like you're not the only one who encountered this specific problem. There are several solutions mentioned, under each downgrading to Java SE 1.4 or upgrading to Weblogic 9.

  • 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

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

    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.4
    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");
    } else {
    env.put ("java.naming.provider.url", "rmi://localhost:7002");
    InitialContext context = new InitialContext (env);
    BankSessionServerHome bssh = (BankServerHome) context.lookup("BankServerHome");
    BankServer = bssh.create();
    -------------------END OF CONNECTION MANAGER-------------------
    % 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:
    First off 1.4 isn't supported as yet. That is probably part of the problem.
    You also must use a corba URL from the client in order for this to work for instance:
    If you are using WLInitialContextFactory:
    corbaloc:iiop:localhost:7001/NameService
    If you are using CNCtxFactory:
    iiop://localhost:7001
    Using rmi: is the wrong thing to do - that will use jrmp or t3.
    However, I suggest that you raise a call with support since there is
    some other trickiness with getting SSL working. We hope to have this
    much improved in SP2.
    andy
    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.4
    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");
    } else {
    env.put ("java.naming.provider.url", "rmi://localhost:7002");
    InitialContext context = new InitialContext (env);
    BankSessionServerHome bssh = (BankServerHome) context.lookup("BankServerHome");
    BankServer = bssh.create();
    -------------------END OF CONNECTION MANAGER-------------------
    % 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

  • 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

  • Audio Tracks can be Heard but not Seen

    I am using Logic Studio 9 and in Logic Pro all the sudden I have had a problem with my audio tracks. When I record the tracks I can see the track audio waves being cut but once I hit stop the track visual go to a straight line with no feature. If I b

  • BT INTERNET EMAIL / WINDOWS LIVE MAIL ISSUE

    Good Evening BTCare Community, thanks for taking the time to read this. I am posting here in the hope that someone out there has come across this problem before when using a BT Internet Email account with Windows Live Mail. My friend has a BT Interne

  • Keeping plot colors with the right data

    I have a vi written in 7.1 that has three traces in one plot.  I have selector radio buttons so the user can turn on or off any channel.  The problem is the color of the trace is automatically grabbed by the vi and chooses the colors based on which t

  • Multiple AIM account per contact

    other people are asking about how you can use multiple aim accounts at once. This is not my question. I have a contact in addressbook with more than one aim account. When I try to start a chat with her, it always goes to account "b" and not account "

  • 3 Key doesn't work

    Hello, I'm new round these parts and thought this would be the best place to ask. I've got a new(ish) iMac and all is great in fact i love it. However recently my 3 keys above the alpha keys no longer works. The weird thing is though that the # key w