Ted and Andreas,

  Hello.  Ted, when you ran your demo, I assume you had no trouble
connecting to the embedded swift router.  I want to do that too, very badly!
But my router is hanging, and I have no idea why.

  Unfortunately, my marketing dept. wants me to run swift on top of an NT
Service via JNI, so I am embedding it with another Java app of mine that is
successfully running in this service.  I am merely starting a worker thread
into a runnable like the following:

public void run()
  {     
        try
        {                       
          String[] arguments = new String[1];
          arguments[0]=_configFile;
              com.swiftmq.router.Router.main(arguments);
....

  What I am finding is that my router's info.log indicates that I can
connect to it:

2000-11-22 10:23:30.2/sys$jms/INFORMATION/sys$jms/Listener plainsocket,
port=4001: connection accepted from 127.0.0.1:3140

  The problem is that even when I create to connect with the swift CLI,
info.log logs a successful connect, but the CLI hangs and never prompts for
a user/pass nor does it exit by throwing javax.naming.NamingException.

  I know this is an unsupported mode of running a swift router, but I have
not choice.  I just thought someone would have an idea of how to proceed
anyway.  Thanks in advance.

-any thoughts?,
brian parker
development
ivita corp.
[EMAIL PROTECTED]

 -----Original Message-----
From:   Ted Eiles [mailto:[EMAIL PROTECTED]] 
Sent:   Tuesday, November 07, 2000 12:50 PM
To:     [EMAIL PROTECTED]
Subject:        [developers] Is there a way to run SwiftMQ integrated into
another server?

I did this last night for a demo:

In one VM I've got Jakarta/Tomcat, swiftmq, Apache James, my client
software, and my app server.

Here's the code snippet I used (pretty basic):

String[] arguments = new String[1];
        arguments[0]=configurationFileName;
com.swiftmq.router.Router.main(arguments);



--- Ted
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Andreas Philipp
Sent: Tuesday, November 07, 2000 8:30 AM
To: [EMAIL PROTECTED]
Subject: [developers] Is there a way to run SwiftMQ integrated into another
server?

Hello again,
I wonder if there is a way as to instantiate the main class of SwiftMQ as
component of another server, i.e., executing the main method of another
server. This would be great to integrate the SwiftMQ functionality on the
server side into an application server framework. Any hints anybody?
Thank you very much,

Andreas Philipp
SINVA
Santa Fe de Bogotá
COLOMBIA
[EMAIL PROTECTED]


------------------------------------------------------
SwiftMQ developers mailing list * http://www.swiftmq.com
To unsubscribe from this list, send an eMail to
[EMAIL PROTECTED] and write in the body of your message:
UNSUBSCRIBE developers <your-email-address>
Archive: http://www.mail-archive.com/developers@mail.iit.de/


------------------------------------------------------
SwiftMQ developers mailing list * http://www.swiftmq.com
To unsubscribe from this list, send an eMail to 
[EMAIL PROTECTED] and write in the body of your message:
UNSUBSCRIBE developers <your-email-address>
Archive: http://www.mail-archive.com/developers@mail.iit.de/


------------------------------------------------------
SwiftMQ developers mailing list * http://www.swiftmq.com
To unsubscribe from this list, send an eMail to
[EMAIL PROTECTED] and write in the body of your message:
UNSUBSCRIBE developers <your-email-address>
Archive: http://www.mail-archive.com/developers@mail.iit.de/




Reply via email to