Port used by JMS Client

HI All,
We have one JMS Client which sends the TextMessage to Weblogic server.
How can I get the port number used by this code to send JMS Message?
Is there any ways to fix the port in the below code?
The partial Code is given below:
<CODE>
System.out.println("Enter ConnectionFactory name:");
String factoryName = reader.readLine();
System.out.println("Enter Destination name:");
String destinationName = reader.readLine();
//Look up administered objects
Properties prop = new Properties();
               prop.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");
          prop.put(Context.PROVIDER_URL, "t3://localhost:7001");
InitialContext initContext = new InitialContext(prop);
ConnectionFactory factory =
(ConnectionFactory) initContext.lookup(factoryName);
Destination destination = (Destination) initContext.lookup(destinationName);
initContext.close();
//Create JMS objects
Connection connection = factory.createConnection();
Session session =connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
MessageProducer sender = session.createProducer(destination);
String messageText = reader.readLine();
               TextMessage message = session.createTextMessage(messageText);
sender.send(message);
</CODE>
Please help me to resolve this issue.
Thanks in Advance.
Manoj

Hi,
Thanks for reply.
The actual problem we have is that we have Weblogic installed on some different machine.
prop.put(Context.PROVIDER_URL, "t3://localhost:7001");
This is not localhost in our scenario.
We know that machine on which Web logic is installed is using 7001.
When we are establishing the connection to this Weblogic server, our client code use certain port for establishing the connection.
We need to activate this port on our client machine, for connectivity to the web logic server.
If it uses any of the available port for establishing connection, then we need to fix this port, so client can connect to weblogic server from specified port only.
I hope I have cleared actual problem.
Thanks in advance.
Manoj

Similar Messages

  • Port used by HFM Client

    Hey All,
    Can you please tell me What is the default port used by HFM "WINDOWS" client to connect to Server ?

    HFM uses DCOM. The connection is initially made from the HFM client to the HFM Application server on the RPC mapper port 135. After initial connection a dynamically allocated range of ports are used, it is not a fixed range by default. If you need to fix the range you will need to do this on each HFM application server using the DCOMCNFG tool.
    Have a look here from the msdn docs.
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndcom/html/msdn_dcomfirewall.asp
    If you need to deal with firewalls you will need to allow traffic from the client to the server on port 135, and you will need to fix the DCOM port range.

  • Ports used in windows client

    Hi
    I know that this questions have been raised many times. But again
    is there a way to limit skype to use all sorts of ports. All other application
    are not so hungry. I mean it is a security issue.
    I would appreciate an answer.
    Thank you very much
    Heinrixx

    Hi,
    Check this out: http://www.cisco.com/en/US/docs/net_mgmt/ciscoworks_lan_management_solution/3.2/install/guide1/prereq.html

  • How to set JMS clients to use JVM Invocation layer

    Hi,
    I'm not sure if this JBoss specific (but I'm assuming it's not) so I'll be asking it here. How can I set my JMS clients and Message-Driven Beans to use JVM Invocation layer since the clients and queues will reside in the same JVM.
    Thanks in advance.

    May be that explains why I couldn't successfully integrate ActiveMQ with JBoss. I was using the 3.0 version. I'll try again once I find the time.
    Anyway, do you know how to set JBoss JMS clients and MDBs to use JVM invocation or transport layer instead of UIL2?
    I'm not sure if what I've done is correct But here's what I've done.
    For jvm-il-service.xml, I changed the JNDI reference from "ConnectionFactory" to "JVMILConnectionFactory" since the default service uses "ConnectionFactory". Then I used that reference as my JNDI look up in my JMS client. I'm just not sure how to do this with MDBs. I think I should add an entry in the ejb descriptor file but I need someone to confirm.
    Thanks.

  • Which ports does Webi Rich CLient use to connect to Universe etc..

    Hello together,
    we have the problem that we cannot run Rich Client from computers outside our network - so which ports does webi Rich Client use to connect to BO Serverl?.
    It will always say universe not found. Login to rich client and everything else is possible.
    It's not an authorisations problem, inside the network people can run the programs fine.
    Thank you

    Hi,
    i assume you have enable CMS port on the firewall, apart from this you need to enable IFRS and Connection Server port also.
    Regards,
    Ramu.
    Edited by: Gowda Timma Ramu on Oct 14, 2010 4:06 PM

  • C/C++ using SOAP as JMS Client ?

    Did any body tried C/C++ using SOAP as JMS Client?

    You can register any compliant JMS provider as a foreign jms provider in weblogic and then can access the JMS administered objects (destination and connection factory) from the local weblogic JNDI tree.
    This blog shows how to configure AQJMS as a foreign JMS provider and then configure JMS adapter to access the jms objects.
    http://biemond.blogspot.com/2009/07/using-aq-jms-text-message-in-wls-1031.html
    You can use the above link as a reference on how to setup. You will have to modify the Initial Context Factory, Provider URL, JNDI Properties, foregin connection factories and foreign detsinations section to suit activeMQ.
    Note: Weblogic does not come inbuild with the required jars to connect to ActiveMQ unlike AQJMS, so you need to ensure that the active mq jms client jars are available in the weblogic's classpath.

  • Running JMS client on multiple systems (using J2EE 1.4)

    Hello all,
    Can anyone tell me if it is possible to run a JMS client on a system that is not running a J2EE server on localhost? Is there any way to reference the server on another machine (using J2EE 1.4 server)??
    I found information in the J2EE 1.3.1 tutorial that tells of ways to
    - run the client program with both systems running the server
    - run the client program with only one system running the server (which isn't localhost)
    However, the corresponding portion of J2EE 1.4 tutorial only specifies running the client with App server running on both systems...... does this mean that we cannot run a standalone client program with no server on localhost in case of the 1.4 server?
    Also, most of the tutorials on JMS I have seen so far only explain the scenario with both the client and the server on a single machine. Is this how average JMS applications work?? What I mean to ask is, in a typical scenario where does a JMS client run....?? at the server, or at the client (which may or may not be running a server at localhost).
    Thanks for your time.

    The functionality has not changed in J2EE 1.4 outside of reving to JMS 1.1

  • Ports used by SAP BO Client tools

    Hi Team ,
    We  are planning to put our BO Landscape( BO 4.0 SP7 patch 2 ) to be accessible by SAP to trouble shoot. We needs a list of ports we may need to open the from out network to SAP. Could you please tell which all ports are used by BO Client tools to connect to the BO platform , in case SAP may need to connect via client tools.
    Regards ,
    Abhinav

    Hello,
    as per default the following Ports need to be open bi- directional on your Firewall as TCP:
    6400
    8080
    8443 (in case you use HTTPS)
    But this is not sufficient enough. You also need to narrow down the IFRS and OFRS and open these ports aswell.
    I recommend you check the Chapter 7.15 from the BI 4.0 Admin Guide - there is everything explained. And when you start configuring your Firewall, never forget the local Windows Firewall (when your BI deployment is on Windows).
    Regards
    -Seb.

  • Unable to connect jms client to stcms in JCAPS62 using admin\adminadmin

    I'm trying a simple java jms client to STCMS in jcaps62 but getting exception
    javax.jms.JMSSecurityException: Access denied by server. Check userid and password.
    at com.stc.jms.sockets.ProxyStcms.newSession(ProxyStcms.java:271)
    The following is my code snippet:
    Properties p = new Properties();
                   p.put(InitialContext.INITIAL_CONTEXT_FACTORY,
                             "com.stc.jms.jndispi.InitialContextFactory");
                   p.put(InitialContext.PROVIDER_URL, "stcms://localhost:18007");
                   p.put(InitialContext.SECURITY_PRINCIPAL, "admin");
                   p.put(InitialContext.SECURITY_CREDENTIALS, "adminadmin");               
                   p.put("com.stc.jms.jndispi.disconnected", "true");
                   InitialContext ctx = new InitialContext(p);
                   QueueConnectionFactory fact = (STCQueueConnectionFactory) ctx.lookup("connectionfactories/queueconnectionfactory");
                   Connection conn = fact.createConnection();
                   Session session = (Session) conn.createSession(false, Session.AUTO_ACKNOWLEDGE);
    Could any one throw some light on this
    Note: I have tried encrypting "adminadmin" and pass it, but no luck.

    yes it is working with in collaboration etc., with in GF and working when removed security for stcms. But here is it, I could able to connect to it through JMSJCA rar.

  • Using MQ in client mode vs bindings

    Is there any documentation available on how to configure WLS 8.1 sp3 to use MQ in client mode instead of bindings mode?
              Our infrastructure folks do not like having queue managers local to our Weblogic layer, and are insisting that we use client mode. The "Using Foreign JMS Providers with WebLogic Server" whitepaper explains how to use MQ in bindings mode. Is there a similar HOWTO on using client mode?
              Thanks,
              Vickram

    Hi,
              In order to use client mode with XA, you must install the Extended Transactional Client. This installation will give you and additional jar file "com.ibm.mqetclient.jar" that needs to be in the server classpath. You can still use the .bindings file with file:/ protocol in your configuration. When you create the bindings for the XA connection factory, you just need to specify the host, port, and transport mode, e.g. in JMSAdmin utility:
              def xaqcf(mqTestQCFXA) host(192.168.1.100) port(1414) transport(client)
              Hope this helps.
              Jane

  • JMS Client disconnects often randomly in Weblogic10.3 cluster setup

    Hi,
    It would be very helpful for us if someone can suggest the way to overcome the below jms issue.
    Our application recently migrated to Weblogic 10.3 from Weblogic8.1, It is a clustered set up with two managed servers each on different solaris machine.
    Client connects to jms using wljmsclient.jar and wlclient.jar with t3 protocol.
    When client starts jms connection, it is getting connected to server with no errors, however we often see that client jms connection disconnects in between,
    It sometimes calls onException() and some times we do not even see any error message in console log when it disconnects,
    When onException() is called, we can see below exception stack trace:
    ==========================
    JMS exception class = weblogic.messaging.dispatcher.DispatcherException: java.rmi.MarshalException: CORBA COMM_FAILURE 1398079697 No; nested exception is:      
         org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 209 completed: No
    weblogic.jms.common.JMSException: weblogic.messaging.dispatcher.DispatcherException: java.rmi.MarshalException: CORBA COMM_FAILURE 1398079697 No; nested exception is:      
         org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 209 completed: No
         at weblogic.jms.dispatcher.DispatcherAdapter.convertToJMSExceptionAndThrow(DispatcherAdapter.java:116)
         at weblogic.jms.dispatcher.DispatcherAdapter.dispatchSyncNoTran(DispatcherAdapter.java:61)
         at weblogic.jms.client.JMSSession.acknowledge(JMSSession.java:2191)
         at weblogic.jms.client.JMSSession.acknowledge(JMSSession.java:2120)
         at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4588)
         at weblogic.jms.client.JMSSession.execute(JMSSession.java:4233)
         at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3709)
    JMS exception class = java.rmi.MarshalException: CORBA COMM_FAILURE 1398079697 No; nested exception is:      
         org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 209 completed: No
    weblogic.jms.common.LostServerException: java.rmi.MarshalException: CORBA COMM_FAILURE 1398079697 No; nested exception is:      
         org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 209 completed: No
         at weblogic.jms.client.JMSConnection.dispatcherPeerGone(JMSConnection.java:1436)
         at weblogic.messaging.dispatcher.DispatcherWrapperState.run(DispatcherWrapperState.java:692)
         at weblogic.messaging.dispatcher.DispatcherWrapperState.timerExpired(DispatcherWrapperState.java:617)
         at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
    =======================
    When onException() is triggered, TopicConnection and TopicSession gets recreated in program, however jms is not getting reconnected once onException() is called. Some times jms session is lost in between with out any errors in log. We did not see this issue when our app used Weblogic8.1.
    We greatly appreciate if someone can help to resolve this issue.

    Hi,
    This is a common issue if you use wljmsclient.jar and wlclient.jar at client side. Many times we get "org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 209 completed: No" Please try using weblogic.jar at client end or even there is a better option to create the "*wlfullclient.jar*" using the jarBuilder utility provided as part of WebLogic.
    To create the "wlfullclient.jar" please refer to the following link:
    [http://download-llnw.oracle.com/docs/cd/E11035_01/wls100/client/jarbuilder.html#wp1077742|http://download-llnw.oracle.com/docs/cd/E11035_01/wls100/client/jarbuilder.html#wp1077742]
    Thanks
    Jay SenSharma
    http://jaysensharma.woardpress.com

  • How to read a data from USB port using JAVA

    hi all,
    i need to know how to read a data from USB port using java. any API are available for java ?.........please give your valuable ideas !!!!!!!!!
    Advance Thanks!!

    You can do this. Please use this link
    [http://www.google.co.in/search?hl=en&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&hs=uHu&q=java+read+data+from+usb+port&btnG=Search&meta=&aq=f&oq=]
    What research did you do of your own? Have you done some testing application and tried yourself??

  • One or more ports used by the Compute Emulator are currently used by other processes

    Environment:
    VS 2012 Professional
    Azure SDK October 2012
    Windows 8
    I lost the last few days of my life struggling with a weird issue in the emulator. I just ran out of options and I would really appreciate if someone could help me figure out what's wrong.
    I am trying to debug a service package from Visual Studio 2012. It's really just about any package -- even the ones generated from a Windows Azure Cloud Service VS template. Any. The VS debugger starts, and in parallel there's "Starting the Windows Azure Debugging
    Environment" dialog which shows "Deploying service package to the Windows Azure compute emulator..." message.
    The progress bar shown in the dialog gets stuck for a long time (possibly even for an hour or longer!) at some 60% and then the following error message is shown:
    "One or more ports used by the Compute Emulator are currently used by other processes. To resolve this, please see MSDN documentation at http://msdn.microsoft.com/en-us/library/hh472164.aspx"
    There doesn't seem to be anything else listening on the ports mentioned on the above MSDN page. I did nevertheless try to re-map devfabric and agent ports by specifying different values in the .config files mentioned on the page, but that did not help.
    What I also tried and did not help:
    - reinstalled SDK, IIS Express, Local DB
    - reinstalled VS 2012 (yes, I got that desperate)
    - tried using IIS instead
    - used SysInternals TcpView to check if there are any conflicts
    - rebooted the machine: the deployment works initially (*once*), and the subsequent deployments fail (!)
    - tried to kill all Azure-related processes in memory and restart debugging
    - tried looking into log files under the user directory (dftmp\...); no errors in *any* log
    - tried looking into Event Viewer logs (Azure-related and in general); no errors either
    Since the conflict seems to be related to my current network settings, below is my IP
    configuration. I am behind a router and I have DHCP activated, but again that should not matter since none of that has changed in the last few years (and the emulator did work until few days ago).
    C:\WINDOWS\system32>ipconfig /all
    Windows IP Configuration
       Host Name . . . . . . . . . . . . : MYCOMPUTER
       Primary Dns Suffix  . . . . . . . :
       Node Type . . . . . . . . . . . . : Hybrid
       IP Routing Enabled. . . . . . . . : No
       WINS Proxy Enabled. . . . . . . . : No
    Ethernet adapter Ethernet:
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Marvell Yukon 88E8056 PCI-E Gigabit Ethernet Controller
       Physical Address. . . . . . . . . : 32-AB-30-66-BC-56
       DHCP Enabled. . . . . . . . . . . : Yes
       Autoconfiguration Enabled . . . . : Yes
       IPv6 Address. . . . . . . . . . . : 2a01:e35:8a3a:9970:edd9:b989:b67a:5a8a(Preferred)
       Temporary IPv6 Address. . . . . . : 2a01:e35:8a3a:9970:dc7a:4fe6:62a5:e54a(Preferred)
       Link-local IPv6 Address . . . . . : fe80::edd9:b989:b67a:5a8a%12(Preferred)
       IPv4 Address. . . . . . . . . . . : 192.168.0.1(Preferred)
       Subnet Mask . . . . . . . . . . . : 255.255.255.0
       Lease Obtained. . . . . . . . . . : Sunday, December 16, 2012 21:26:30 PM
       Lease Expires . . . . . . . . . . : Tuesday, December 18, 2012 09:26:14 AM
       Default Gateway . . . . . . . . . : fe80::224:d4ff:fea2:9722%12
                                           192.168.0.254
       DHCP Server . . . . . . . . . . . : 192.168.0.254
       DHCPv6 IAID . . . . . . . . . . . : 253808432
       DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-18-1B-EE-4D-20-CF-30-66-BC-46
       DNS Servers . . . . . . . . . . . : 192.168.0.254
       NetBIOS over Tcpip. . . . . . . . : Enabled
    Tunnel adapter isatap.{7A96B710-3107-48B9-A7B2-2F261DDD91AD}:
       Media State . . . . . . . . . . . : Media disconnected
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Microsoft ISATAP Adapter
       Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
       DHCP Enabled. . . . . . . . . . . : No
       Autoconfiguration Enabled . . . . : Yes
    Tunnel adapter Local Area Connection* 11:
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
       Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
       DHCP Enabled. . . . . . . . . . . : No
       Autoconfiguration Enabled . . . . : Yes
       IPv6 Address. . . . . . . . . . . : 2001:0:5ef5:79fb:1caf:12ff:a75c:5668(Preferred)
       Link-local IPv6 Address . . . . . : fe80::1caf:12ff:a75c:5668%14(Preferred)
       Default Gateway . . . . . . . . . :
       NetBIOS over Tcpip. . . . . . . . : Disabled
    Below are the Azure SDK emulator configuration files, unmodified (as created by the SDK installation).
    DevFC.exe.config
    <configuration>
        <configSections>
            <section name="DevFCSettings"        type="System.Configuration.NameValueSectionHandler" />
        </configSections>
        <!-- The following are options related to the SimulatorSetup -->
        <DevFCSettings>
            <add key="StartMACAddress" value="00155D201928" />
            <add key="EndMACAddress" value="155D20193C" />
            <add key="StartIPAddress" value="192.168.0.20" />
            <add key="EndIPAddress" value="192.168.0.40" />
            <add key="DipPoolStartIPAddress" value="127.255.0.0" />
            <add key="DipPoolEndIPAddress" value="127.255.255.255" />
            <add key="VipPoolStartIPAddress" value="127.0.0.1" />
            <add key="VipPoolEndIPAddress" value="127.0.0.255" />
            <add key="DefaultGateway" value="192.168.0.1" />
            <add key="SubnetMask" value="255.255.255.0" />
            <add key="InternalSwitchName" value="{F3C577E3-8256-4bb9-8F54-256F84E227DE}-DevFabricSwitch" />
            <add key="InternalSwitchPortName" value="{F3C577E3-8256-4bb9-8F54-256F84E227DE}-DevFabricHostSwitchPort" />
            <add key="InternalEthernetNICName" value="{F3C577E3-8256-4bb9-8F54-256F84E227DE}-DevFabricEthernetNIC" />
            <add key="InternalEthernetPortMACAddress" value="00155D201927" />
            <add key="InternalEthernetPortIPAddress" value="192.168.0.2" />
            <add key="InternalEthernetPortSubnetMask" value="255.255.255.0" />
            <add key="StorageRoot" value="DFTemp" />
            <add key="LogsDirName" value="DevFCLogs" />
            <add key="DynamicPortAllocStart" value="20000" />
            <add key="ManagementServicePort" value="15095" />
            <add key="RepositoryServicePort" value="15096" />
            <add key="AgentCallbackPort" value="15097" />
            <add key="AgentPort" value="15098" />
            <add key="PxeResponderPort" value="15100" />
        </DevFCSettings>
        <startup>
            <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
        </startup>
    </configuration>
    DFAgent.exe.config
    <configuration>
      <startup>
        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
      </startup>
      <appSettings>
        <add key="AgentMAC" value="00155D201927"/>
        <add key="AgentIP" value="192.168.0.2"/>
        <add key="EnableActiveNotification" value="false"/>
        <add key="StorageRoot" value="C:\DFTemp"/>
        <add key="CopyFilesInStartRole" value="false"/>
        <add key="LogsDirName" value="DFAgentLogs" />
        <add key="EnableFileLog" value="true" />
        <add key="AgentPort" value="15098" />
        <add key="RuntimePort" value="15099" />
        <add key="AgentCallbackPort" value="15097" />
      </appSettings>
    </configuration>
    DFService.exe.config
    <configuration>
      <configSections>
        <section
          name="dfservice"
          allowExeDefinition="MachineToLocalUser"
          type="Microsoft.ServiceHosting.Tools.DevelopmentFabric.DfServiceConfigurationSection, DfService, Version=1.8.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
        />
      </configSections>
      <dfservice
        ManagementServicePort="15095"
        RepositoryServicePort="15096"
       />
      <startup>
        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
      </startup>
    </configuration>
    Finally, here's what TcpView shows while the emulator is stuck:
    devenv.exe    3736    TCP      MYCOMPUTER    7240    localhost    15095    SYN_SENT
    devenv.exe    3736    TCP      MYCOMPUTER    7245    localhost    15095    SYN_SENT
    svchost.exe   4332    TCP      MYCOMPUTER    7438    MYCOMPUTER    0    LISTENING
    System        4        TCP      MYCOMPUTER    10000    MYCOMPUTER    0    LISTENING       
    System        4        TCP      MYCOMPUTER    10001    MYCOMPUTER    0    LISTENING       
    System        4        TCP      MYCOMPUTER    10002    MYCOMPUTER    0    LISTENING       
    DevFC.exe      4380    TCP      MYCOMPUTER    15095    MYCOMPUTER    0    LISTENING              
    DevFC.exe      4380    TCP      MYCOMPUTER    15096    MYCOMPUTER    0    LISTENING              
    DevFC.exe      4380    TCP      MYCOMPUTER    15097    MYCOMPUTER    0    LISTENING              
    DFAgent.exe    14472    TCP      MYCOMPUTER    15098    MYCOMPUTER    0    LISTENING
    DFAgent.exe    14472    TCPV6    mycomputer    15098    mycomputer    0    LISTENING              
    DFAgent.exe    14472    TCPV6    mycomputer    15098    mycomputer    6399    ESTABLISHED         
    System        4        TCP      MYCOMPUTER    15099    MYCOMPUTER    0    LISTENING       
    System        4        TCPV6    mycomputer    15099    mycomputer    0    LISTENING            
    DevFC.exe      4380    TCP      MYCOMPUTER    15100    MYCOMPUTER    0    LISTENING
    Thanks in advance for help!



    Hi,
    Unfortunately I already tried all kinds of re-installs (the full list is in my original message). The only one remaining is the reinstall of Windows 8 itself, which I would really like to avoid.
    What I find really strange is the time it takes for the above error message to appear. It's like one hour or even more (never measured exactly, I left the computer running).
    What kind of a timeout is that? I would expect that, if ports are really used by some other application, I get the message in less than a minute (seconds, actually). To me this looks like the emulator itself for some reason believes there's a problem with
    some port while in reality there isn't.
    I'll eventually contact Microsoft Support, thanks for the suggestion.

  • Path and filename containt the list of port used by OAS R3

    Could someone tell me the path and the file name that contains the port used by OAS R3.
    Thanks

    Previous versions used to have $OH/install/portlist.ini, this one doesn't but you can check ports used in....
    httpd.conf
    Check for directives
    Port
    Listen
    opmnctl status -l
    this will tell you the ports used by the OC4J, for rmi, ajp and jms for each one.
    And I think with this will do the trick, or if you need more, tell me.
    Regards.

  • How to configure for remote JMS client?

    I have my own Java JMS test program for performance measurements.
              I am using the JNDI and JMS provider functionality of the WebLogic 9.1 app-server but my test program is just pure JMS 1.02 sender/receiver clients - ie it is NOT part of, or deployed as a J2EE application.
              SINGLE MACHINE TEST
              ===================
              In a single machine environment I was able to
              - configure a JMSServer
              - configure a JMSSystemModule
              - configure resources for ConnectionFactories and Queue and Topics
              I then made what I believe to be a 'standalone' application module copied from some mysystemmodule-jms.xml and with that I somehow worked out how to deploy it using the weblogic.Deployer tool.
              The deployment apparently set up the JNDI and my JMS client could gain access to the administered objects and do what it does.
              Everything works.
              TWO MACHINE TEST
              ================
              I now have a second machine.
              I want to put my JMS sender client on this new machine and I want the JMS server and JMS receiver client to be unchanged from the SINGLE MACHINE TEST.
              But I really don't know quite how to proceed from here...
              Do I need to install the WebLogic app-server on the sender machine or is the weblogic.jar all I need?
              What is necessary configuration for JNDI access on the sender machine?
              Can I in fact use my original SINGLE MACHINE server unchanged as I am hoping?
              I don't think I want a "thin" client because I read that performance is impacted (and these are performance tests)
              Remember this is NOT a J2EE application. There is no MDB; no client-container; no descriptors etc. Maybe that makes it more complicated - I don't know.
              Sorry for such basic questions but if somebody can just point me to an appropriate example or tutorial it could save me days...
              Thankyou.

    Hi,
              My problem is on similar lines. I have an applet based UI working on RMI/t3 protocol.
              I am using weblogic 9.2 as my app server.
              When my applet is executed on JRE 1.5x it works fine.
              But when I use JRE1.4x it gives the following exception
              java.lang.NoClassDefFoundError: javax/management/InvalidAttributeValueException
              at weblogic.rmi.internal.Stub.<clinit>(Stub.java:21)
              at java.lang.Class.forName0(Native Method)
              at java.lang.Class.forName(Class.java:141)
              at weblogic.rmi.internal.StubInfo.class$(StubInfo.java:34)
              at weblogic.rmi.internal.StubInfo.<clinit>(StubInfo.java:34)
              at java.lang.Class.forName0(Native Method)
              I have analyzed the reason for this.
              the class javax/management/InvalidAttributeValueException was included in java 1.5 and above. So JRE 1.4 does not have it.
              In previous versions of weblogic this class was a part of their 'weblogic.jar' file and in weblogic 9.2 it is not a part of weblogic.jar file so when I am using JRE1.4 and weblogic 9.2 then it obviously does not find this class hence the above exception.
              I tried to put this all together and made custom made client jar file incliding the necessary classes. I was able to get throght this exception only land up in following exception.
              java.lang.VerifyError: class weblogic.utils.classloaders.GenericClassLoader overrides final method .
                   at java.lang.ClassLoader.defineClass0(Native Method)
                   at java.lang.ClassLoader.defineClass(Unknown Source)
                   at java.security.SecureClassLoader.defineClass(Unknown Source)
                   at sun.applet.AppletClassLoader.findClass(Unknown Source)
                   at java.lang.ClassLoader.loadClass(Unknown Source)
                   at sun.applet.AppletClassLoader.loadClass(Unknown Source)
                   at java.lang.ClassLoader.loadClass(Unknown Source)
                   at java.lang.ClassLoader.loadClassInternal(Unknown Source)
                   at weblogic.jndi.WLInitialContextFactoryDelegate.<clinit>(WLInitialContextFactoryDelegate.java:204)
                   at weblogic.jndi.spi.EnvironmentManager$DefaultFactoryMaker.<clinit>(EnvironmentManager.java:26)
                   at weblogic.jndi.spi.EnvironmentManager.getInstance(EnvironmentManager.java:48)
                   at weblogic.jndi.Environment.getContext(Environment.java:307)
                   at weblogic.jndi.Environment.getContext(Environment.java:277)
                   at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
                   at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
                   at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
                   at javax.naming.InitialContext.init(Unknown Source)
                   at javax.naming.InitialContext.<init>(Unknown Source)
              I really need to support clients using Jre 1.4 and Jre 1.5
              I will really appreciate any help on this one.
              Please advise.
              Thank you all.

Maybe you are looking for

  • New Mac User: iTunes Auth with multiple user accounts

    With a Mac with multiple user accounts, does EACH user account need to have iTunes authorized, or is iTunes authorized for an entire mac machine?

  • Hp officejet pro 8500 a909g document feeder

    document feeder works 1 out of 30 times

  • How to set format for a column in repository

    Hi all, i have some columns for which i would like to set a default format of the data directly into the repository. For example, a numeric code is shown as 1.234,00, i want the BM to show by default 1234. Or a date shown as 03/03/2013 04:00:00 AM i

  • Unable to restart the messages in SXI_MONITOR?

    Hi,    Message is in scheduled status and I checked the queue and it is throwing error text as "object is currently locked by the user xyz" then I deleted the entry in the queue. Using SXI_Monitor when I am restarting the particular messages I am una

  • More than likely an easy answer to this!

    Hi guys, Just got my iMac back from repair , new logic board , LED backlight board , display cable! and only 5 months old...  :-( anyway, my question is that since its came back they have installed lion for me and i have now found that if i install s