1:启动server的控制台。
2:在左侧的frame里面,点击JMS->Connection Factory,然后再右侧的页面点击Configure a new JMS Connection Factory...,在出现的叶面输入相关信息。主要是:name(这个factory的名字),jndi name(标示),如果你设定了client ID, 每次只能有一个连接使用这个factory。在targets 页面,将你的server 选过去,点几apply.3:点击JMS->Servers->Configure a new JMSServer...(如果已经有了就是用存在的)和step2的操作像似。
4:然后你会看到在这格servers下面有一项destanations 点击他,在右侧的叶面,你就看到能够常见你需要的queue或者是topic了

解决方案 »

  1.   

    2.    打开IE,在地址栏中输入:<http://localhost:7001/console>3.    输入用户名和密码4.    在左边的目录树中选中Services->JMS->Connection Factories,单击右侧的Configure a new JMS Connection Factory ,输入以下信息:Configuration->General页:Name = MDBDemo Connection FactoryJNDIName= MDBDemoCF其它不变,单击Create建立Connection Factory。Targets->Server页:将myserver(服务器名称)移至右侧的列表中,但击单击Apply5.    在左边的目录树中选中Services->JMS->Stores,单击右侧的Configure a new JMSFileStore,输入以下信息:Configuration->General页:Name = MDBDemo StoreDirectory: = F:\bea\user_projects\mydomain\JMSStores (任意存在的目录即可)单击Create建立JMSFileStore。6.       Services->JMS->Servers,单击右侧的Configure a new JMS Connection Factory ,输入以下信息:Configuration->General页:Name = MDBDemo JMSServerStore = MDBDemo Store其它不变,单击Create建立JMS Server。Targets->Servers页:Target = myserver(你的weblogic server的名字)单击Configuration->General页中的Configure DestinationsName = MDBDemo TopicJNDIName= MDBDemo Topic其它不变,单击Create建立Destination。配置完毕。
      

  2.   

    我完全是按照上法来进行的,可是当我运行该WebLogic Server时,出现以下错误:<2003-7-1 下午16时18分38秒 CST> <Warning> <EJB> <BEA-010061> <The Message-Driven EJB: TestJMS is unable to connect to the JMS destination: DemoJMSQueue. The Error was:
    [EJB:010112]The Message Driven Bean 'TestJMS' is transacted, but the provider defined in the EJB is not transacted. Provider should be transacted if onMessage method in MDB is transacted.> 望知情者能够给予解决,将不胜感激。
      

  3.   

    我完全是按照上法来进行的,可是当我运行该WebLogic Server时,出现以下错误:<2003-7-1 下午16时18分38秒 CST> <Warning> <EJB> <BEA-010061> <The Message-Driven EJB: TestJMS is unable to connect to the JMS destination: DemoJMSQueue. The Error was:
    [EJB:010112]The Message Driven Bean 'TestJMS' is transacted, but the provider defined in the EJB is not transacted. Provider should be transacted if onMessage method in MDB is transacted.> 望知情者能够给予解决,将不胜感激。
      

  4.   

    建议先看看
    http://www-900.ibm.com/developerWorks/cn/education/java/j-jms/tutorial/