HELP - Another simple JMS Problem

I'm getting:
JNDI API lookup failed: javax.naming.NameNotFoundException [Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0]
javax.naming.NameNotFoundException [Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0]
When I try to look up a JMS ConnectionFactory I've defined in Sun App Server. I'm not sure whether the protocol is correct...the documentation says to use "jmsmq" as the protocol, but I get "unsupported protocol" when I try that.
Here is the code:
package com.tpc.jms.simpleProducer;
import javax.jms.*;
import javax.naming.*;
import java.util.Hashtable;
import java.util.Properties;
public class SimpleJMSTest {
public static final String PROVIDER_URL = "iiop://localhost:3700";
public static final String CONTEXT_FAC = "com.sun.jndi.cosnaming.CNCtxFactory";
public static void main (String argv[]) {
     try {
Properties properties = new Properties();
properties.put(Context.PROVIDER_URL, PROVIDER_URL);
properties.put(Context.INITIAL_CONTEXT_FACTORY, CONTEXT_FAC);
properties.put(Context.SECURITY_PRINCIPAL, "guest");
properties.put(Context.SECURITY_CREDENTIALS, "guest");
properties.put("server.jms-service.init-timeout-in-seconds", "60");
properties.put("server.jms-service.type", "EMBEDDED");
properties.put("server.jms-service.start-args", "");
properties.put("server.jms-service.default-jms-host", "default_JMS_host");
properties.put("server.jms-service.reconnect-interval-in-seconds",60);
properties.put("server.jms-service.reconnect-attempts", 3);
properties.put("server.jms-service.reconnect-enabled", true);
properties.put("server.jms-service.addresslist-behavior", "random");
properties.put("server.jms-service.addresslist-iterations", 3);
properties.put("server.jms-service.mq-scheme","mq");
properties.put("server.jms-service.mq-service","jms");
properties.put("server.jms-service.property.instance-name", "imqbroker");
properties.put("server.jms-service.property.instance-name-suffix", "");
properties.put("server.jms-service.property.append-version", false);
properties.put("server.jms-service.property.user-name", "admin");
properties.put("server.jms-service.property.password", "admin");
InitialContext initialCtx = new InitialContext(properties);
ConnectionFactory connectionFactory = null;
Destination dest = null;
try {
connectionFactory = (ConnectionFactory) initialCtx.lookup(
"jms/ConnectionFactory");
} catch (Exception e) {
System.out.println("JNDI API lookup failed: " + e.toString());
e.printStackTrace();
System.exit(1);
catch (Exception e) {
e.printStackTrace ();
}

why iiop?

Similar Messages

  • HELP - Simple JMS Problem

    package com.tpc.jms.simpleProducer;
    import javax.jms.*;
    import javax.naming.*;
    import java.util.Hashtable;
    import java.util.Properties;
    public class SimpleJMSTest {
    public static final String PROVIDER_URL = "jms://localhost:7676";
    public static final String CONTEXT_FAC = "com.sun.jndi.cosnaming.CNCtxFactory";
    public static void main (String argv[]) {
    try {
    Properties properties = new Properties();
    properties.put(Context.PROVIDER_URL, PROVIDER_URL);
    properties.put(Context.INITIAL_CONTEXT_FACTORY, CONTEXT_FAC);
    properties.put(Context.SECURITY_PRINCIPAL, "guest");
    properties.put(Context.SECURITY_CREDENTIALS, "guest");
    InitialContext initialCtx = new InitialContext(properties);
    System.out.println("Good!");
    //TopicConnectionFactory topicConnFactory = (TopicConnectionFactory) initialCtx.lookup (fac);
    //Topic nasdaqTopic = (Topic)initialCtx.lookup(topic);
    /* System.out.println("Creating topic connection");
    TopicConnection topicConnection = topicConnFactory.createTopicConnection();
    topicConnection.start ();
    System.out.println("Creating topic session: not transacted, auto ack");
    TopicSession topicSession = topicConnection.createTopicSession(false, Session.AUTO_ACKNOWLEDGE);
    System.out.println("Creating topic, subscriber");
    TopicSubscriber nasdaqTopicSubscriber = topicSession.createSubscriber (nasdaqTopic);
    System.out.println ("Ready to subscribe for messages :");
    nasdaqTopicSubscriber.setMessageListener(new SubscriberListener());*/
    catch (Exception e) {
    e.printStackTrace ();
    This gives me an exception:
    javax.naming.ConfigurationException: Invalid URL: mq:localhost:7676 [Root exception is java.net.MalformedURLException: unknown protocol: mq]
    What is the protocol? I've tried http, mq, jms, mqtcp (I know its running on a TCP port).
    What is going on here?

    the protocol depends on ur jms vendor..say for weblogic they use t3..try uisng "iiop" btw..whats ur server?

  • Another simple classpath problem question

    Hi All
    Yes I know, there are a lots of questions about this matter, but I couldn't found a solution to my problem.
    I have a simple program:
    public class prueba {
            public static void main(String[] args) {
                    System.out.println("Ahi va...");
    }placed in /tmp/javier/prueba.java
    After compiled, I've tried to run it from / and then problems started:
    cd /
    java /tmp/javier/prueba
    Exception in thread "main" java.lang.NoClassDefFoundError: /tmp/javier/prueba (wrong name: prueba)
    I said, ok...it could be a classpath problem...then:
    java -cp /tmp/javier/ /tmp/javier/prueba
    Exception in thread "main" java.lang.NoClassDefFoundError: /tmp/javier/prueba
    Damn, another try...
    java -cp .:/tmp/javier/ /tmp/javier/prueba
    Exception in thread "main" java.lang.NoClassDefFoundError: /tmp/javier/prueba (wrong name: prueba)
    Jesus Christ....may be the last slash....
    java -cp .:/tmp/javier /tmp/javier/prueba
    Exception in thread "main" java.lang.NoClassDefFoundError: /tmp/javier/prueba (wrong name: prueba)
    Oh...no.... may be classpath to java classes..
    java -cp .:/usr/java/j2sdk1.4.2_01/lib/jre/:/tmp/javier/ /tmp/javier/prueba
    Exception in thread "main" java.lang.NoClassDefFoundError: /tmp/javier/prueba (wrong name: prueba)
    Well, I don't know why this error happens....
    Please, could somebody help me !!!
    Thanks in advance...
    <jl>

    It's not too early to start following the Sun coding
    conventions for Java:
    http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.
    tmlHi
    thanks for your reply.
    Yes, I agree. I use conventions with my programs. But my real problem was with a real application and then I did quickly this simple code to help others to understand the problem and give a fast reply...
    Let me know if that works. (It was fine on my
    machine.) - MODYes it works fine, thanks.... and Damn...Murphys law again, the only option I didn't tried is the solution to my problem... :)
    Thanks again...

  • Need help with simple mask problem

    hi there this is mark from superbooty a band that has played in the bay area for over 10 years...
    i was wondering if someone could help me with a Motion2 problem i'm having regarding masks.
    i'm working on this simple animated scene of a car going by a beach - the photo is from the passenger side and shows the outside mirror.
    i'm moving the background (different from the original that came with the car) and i want to move an image of tokyo inside the mirror housing too.
    i figured out how to do the mask but when i try to animate the image of tokyo the mask layer moves with it. when i lock the mask i can't move the image - ???
    there's got to be a way to lock the mask but be able to move what it is masking..
    here are the links to three images that show what the problem is - the first is
    the shot of the scene unmasked, shot 2 is the scene with the mask enabled, and the third is the shot when i try to animate the tokyo background:
    http://superbooty.com/mirrorbeach1.jpg
    http://superbooty.com/mirrorbeach2.jpg
    http://superbooty.com/mirrorbeach3.jpg
    any help would be most appreciated - thanks!

    Adam's solution is the one I'd use - put the mirror contents in a layer, mask the layer, then manipulate the mirror content image. Did this solve it for you - if so, please click on the or buttons over posts as appropriate...
    Patrick

  • Can you help w/ simple io problem?

    i have this code and am expecting it to do a couple of things. first the code.
    import java.io.*;
    class BasicTests2 {
    public static void main(String[] args) {
    String input="";
    InputStreamReader converter = new InputStreamReader(System.in);
    BufferedReader in = new BufferedReader(converter);
    System.out.println("Please enter your name: ");
    while((System.in.read())!=-1) {
    input=in.readLine();
    System.out.println(input);
    } // end while
    } // main()
    } // BasicTests2
    my problems. one, when i enter a -1 the program does not exit. and secondly why does it cut the first char i enter when it echoes my entry back to me???
    thanks for any help,
    erik

    my problems. one, when i enter a -1 the program does
    not exit. The InputStream.read() method returns a -1 when the end of the stream has been reached. If the user enters a -1, then the end of the stream has not been reached. Entering a CTRL+Z will send the end of file marker indicating that the end of the stream has been reached.
    and secondly why does it cut the first char
    i enter when it echoes my entry back to me???This is because your code is reading in a byte of data (or one character), and then reading in a line of characters to echo back via System.out.println().
    Perhaps you could try something like this:
    import java.io.*;
    class BasicTests2 {
    public static void main(String[] args) {
    String input= new String();
    BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    System.out.println("Please enter your name (-q to quit) : ");
    try {
    input=in.readLine();
    while(input !=null && !input.equalsIgnoreCase("-q")) {
    System.out.println(input);
    input=in.readLine();
    } // end while
    } catch (Exception e) {
    e.printStackTrace();
    } // main()
    } // BasicTests2

  • Help with "simple" JFileChooser problem...

    Hi all,
    how do I set the font in a JFileChooser???
    I have tried everything, but it always uses the Look & Feels default font setting. Can I change the default Look&Feels font setting?
    Greatfully for any suggestions!
    Cheers
    Anders ;-D

    Hello!
    You can use the UIManager, e.g. UIManager.put("FileChooser.font", new Font("Arial",
    Font.BOLD, 14);
    Well, that didn't seem to help with my case either. So I tried something else: I overrided all of the defaults by using UIManager.put(key, value) this way I got all of the Fonts in the JFileChooser to change.
    Correct me if I'm wrong... ;)
    - Cathra -
    Sample Code that performs the requested:
    // Prepare the resources
    FontUIResource font12Arial = new FontUIResource( "Arial", Font.PLAIN, 12 );
    // Put values into UIDefaults (before initializing the JFileChooser)
    UIManager.put( "ToolTip.font", font12Arial );
    UIManager.put( "OptionPane.messageFont", font12Arial );
    // shown for example
    UIManager.put("FileChooser.openButtonText", "OpenUp");
    UIManager.put("Button.font", font12Arial);
    UIManager.put("Label.font", font12Arial);
    UIManager.put("Table.font", font12Arial);
    UIManager.put("TextField.font", font12Arial);
    UIManager.put("ScrollPane.font", font12Arial);
    UIManager.put("ComboBox.font", font12Arial);
    UIManager.put("CheckBox.font", font12Arial);
    UIManager.put("TitledBorder.font", font12Arial);
    UIManager.put("RadioButton.font", font12Arial);
    UIManager.put("ToolTip.font", font12Arial);
    UIManager.put("TextPane.font", font12Arial);
    UIManager.put("TextArea.font", font12Arial);
    UIManager.put("Tree.font", font12Arial);
    UIManager.put("List.font", font12Arial);
    UIManager.put("MenuBar.font", font12Arial);
    UIManager.put("Menu.font", font12Arial);
    UIManager.put("MenuItem.font", font12Arial);
    UIManager.put("TableHeader.font", font12Arial);
    UIManager.put("TabbedPane.font", font12Arial);
    // somewhere in the code:
    JFileChooser c = new JFileChooser();
    c.showOpenDialog(aParentFrame);

  • Help on simple String problem

    Hello All:
    I need to write the following line into a file.
    The line is: <?xml version="1.0" endcoding="UTF-8"?>
    Below is the excerpt of my code:
    BufferWriter bw = new BufferedWriter(new FileWriter("test.xml"));
    String str = "<?xml version="1.0" endcoding="UTF-8"?>";
    bw.write(str+System.getProperty("line.separator");
    When I complie this Java code, I encountered the "; is expected" error because the compiler thought that the string ends at "<?xml version=".
    Can anyone tell me how to solve this problem?
    Thanks!

    Observe this:
    String str = "<?xml version="1.0" endcoding="UTF-8"?>";
    In this statement, the " is recognized as opening of string and closing of string. In this case, the string is ended like "<?xml version=", because its within the code. You might want to try something like:
    String str = "<?xml version=\"1.0\" endcoding=\"UTF-8\"?>";
    The \ character will make the subsequence characters in the string to be as a character in string, rather than a double quote to end the string until a " is met.

  • Help! Simple Servlet Problem

    hi,
    I am new to servlets. I am trying to connect to database and retrive firstname and lastname and display it. When i run it i get a blank page. Can someone tell me what am i doing wrong.
    Here is the code.
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.sql.*;
    import javax.servlet.ServletException;
    public class DisplayAll extends HttpServlet{
    public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException{
    res.setContentType("text/html");
    PrintWriter pw = res.getWriter();
    try{
    Class.forName("sun.jdbc.odbc.Jdbc.OdbcDriver");
    Connection myCon = DriverManager.getConnection
    ("jdbc:odbc:SCANODBC","SYSDBA", "masterkey");
    Statement myStmt = myCon.createStatement();
    myStmt.execute("SELECT * FROM PINFO WHERE POLICYNUMBER=B05007584");
    ResultSet mySet = myStmt.getResultSet();
    while(mySet.next()){
    String fname = mySet.getString("FIRSTNAME");
    String lname = mySet.getString("LASTNAME");
    pw.println("<html>");
    pw.println("<body>");
    pw.println("Firstname: " + fname);
    pw.println("Lastname: " + lname);
    pw.println("</body>");
    pw.println("</html>");
    myStmt.close();
    myCon.close();
    catch(SQLException e){
    catch(ClassNotFoundException e){
    }

    You are putting <HTML><BODY> inside the while loop. Try the following and also close the statement and connection in "finally" block as opposed to in "try" block itself.
    pw.println("<html>");
    pw.println("<body>");
    while(mySet.next()){
    String fname = mySet.getString("FIRSTNAME");
    String lname = mySet.getString("LASTNAME");
    pw.println("Firstname: " + fname);
    pw.println("Lastname: " + lname);
    } //end while()
    pw.println("</body>");
    pw.println("</html>");
    }//end try
    catch(SQLException e){
    finally
    myStmt.close();
    myCon.close();

  • Hi I've a big problem with adobe acrobat reader XI pro and I hope you can help me. The problem is; when I past copied text from some pdf books (not all of them) it past symbols only! wherever I past it! and even if I coped that text from another pdf reade

    Hi
    I've a big problem with adobe acrobat reader XI pro and I hope you can help me.
    The problem is; when I past copied text from some pdf books (not all of them) it past symbols only! wherever I past it! and even if I coped that text from another pdf reader (adobe pdf reader, internet browsers, ...etc.).
    This problem started to happen since yesterday when I installed adobe acrobat reader XI pro to try it before I buy it, and before that when I was using the free adobe pdf reader I was totally able to copy any text from any pdf and past it anywhere with nothing wrong.
    What can I do?
    thank you a lot.

    There is no product called Adobe Acrobat Reader Pro. There is
    - Adobe Acrobat Pro ($$)
    - Adobe Reader (free)
    Which do you have? And are you a programmer?

  • Simple OOP Problem. Help!

    This is just a simple OOP problem that i cant decide on a best
    implementation for.
    im passing an object to an instance of, 'TabbedFrame', which is just
    a frame with a Tabbed Pane in it that is holding custom panels.
    however, these custom panels need access to the object being
    passed to 'TabbedFrame' and to some methods in it.
    i cant make them static however so how do i gain access to them?
    is my only option to pass the 'TabbedFrame' to each panel?
    like - jtabbedpane.add( "Panel 1", new mypanel1(this));
    here is code:
    new TabbedFrame( DataObject );
    public class TabbedFrame{
    public TabbedFrame(DataObject do){
    this.do = do;
    jtabbedpane.add( "Panel 1", new mypanel1() );
    DataObject do;
    public class mypanel1{
    public mypanel1(){
    // need access to DataObject of the 'TabbedFrame' object that instantiated
    // this 'mypanel1' and to some of its methods
    }i would just pass the DataObject to evey panel (there are 12) but
    i also need to be able to call methods in the 'TabbedFrame'.
    Any help would be appreciated!

    Modify mypanel1's constructor:
    public class mypanel1{
    TabbedFrame tf;
    public mypanel1(TabbedFrame tf){
    this.tf = tf;
    // need access to DataObject of the 'TabbedFrame' object that instantiated
    // this 'mypanel1' and to some of its methods
    DataObject theDo = tf.getDataObject();
    tf.someMethod(); // Call method on the TabbedFrame
    }In TabbedFrame:
    public TabbedFrame(DataObject do){
    this.do = do;
    // Modify call to constructor to pass "this" TabbedFrame.
    jtabbedpane.add( "Panel 1", new mypanel1(this) );
    }

  • HelP for understanding simple JMS program

    I am trying to compile and run a simple jms requester/server program. The sample code asks to deffine jndi as follow and run wtih jmsadmin
    def qcf(sampleQCF) qmanager(TEST.QMGR) tempmodel(QUEUE.TEMP)
    def q(qSrv) qu(QUEUE.SERVER)
    def q(qReq) qu(QUEUE.REQUESTER)
    Should not a qcf has to have channel and port as a part of defnition? How can this app connect to a queue managger? BTW, my jms provicer is MQ.
    I understand that I have to have a qmgr called TEST.QMGR created and two queues called QUEUE.REQUESTER and QUEUE,SERVER.
    Thanks
    kiran
    Edited by: xmlcrazy on Jan 2, 2010 3:21 PM
    Edited by: xmlcrazy on Jan 2, 2010 4:57 PM

    I was experiencing the same problem. There is probably a mismatch (not the same release) between the ojdbc14.jar and the orai18n.jar. Using http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/htdocs/jdbc_10201.html I downloaded the latest libraries (10.2.0.3) and moved them to the lib directory of my project. This worked for me.
    Good luck!

  • Yet another error 8 problem, please help!

    I've read a lot of the archives on this topic, but still can't figure it out.
    I got an iMac and my father got one too. He has adelphia with ip phone system, and his machine is hard wired to the network. I have comcast with wireless Belkin N router and ip phone. We both can connect to each other with text chat. We can both connect to [email protected], and we get the video, so it seems to connect and work properly. When we connect to each other, we always get the error 8. When I call him, first is says it's trying, he gets the request and accepts. Then we get the communication error, and I get a message saying that I didn't respond.
    I checked all ports, and even created a special firewall setting under preferences --> sharing for ichat, allowing all the ports, based on what I found on these discussions. We both set the preferences --> Quicktime to 1.5mbps.
    At first I thought the issue was due to his ip phone system, but if that was the problem, would he be able to connect to the apple test server? I don't think so. So, why can we both connect to the tester, but not to each other?
    Please help! I talked him into getting the Mac because of the sweet video chat system, and now it won't work. He's getting really frustrated, and so am I.
    Is anyone willing to try a chat with me to see if we can connect? Or can someone try to help me troubleshoot this problem?
    Thanks!

    Tony,
    I was able to connect with you a week ago. I've tried to connect to my dad once again, and got error 8. He tried calling me, and I got this message:
    Date/Time: 2007-09-04 20:26:35.103 -0500
    OS Version: 10.4.10 (Build 8R2232)
    Report Version: 4
    iChat Connection Log:
    AVChat started with ID 2725045088.
    0xe54c160: State change from AVChatNoState to AVChatStateWaiting.
    [email protected]: State change from AVChatNoState to AVChatStateInvited.
    0xe54c160: State change from AVChatStateWaiting to AVChatStateConnecting.
    [email protected]: State change from AVChatStateInvited to AVChatStateConnecting.
    0xe54c160: State change from AVChatStateConnecting to AVChatStateEnded.
    Chat ended with error -8
    [email protected]: State change from AVChatStateConnecting to AVChatStateEnded.
    Chat ended with error -8
    Video Conference Error Report:
    @:0 type=4 (00000000/22)
    [VCSIP_INVITEERROR]
    [19]
    @SIP/SIP.c:2448 type=4 (900A0015/22)
    [SIPConnectIPPort failed]
    @SIP/SIP.c:2448 type=4 (900A0015/22)
    [SIPConnectIPPort failed]
    Video Conference Support Report:
    @SIP/Transport.c:1218 type=1 (00000000/0)
    [INVITE sip:[email protected] SIP/2.0
    Via: SIP/2.0/UDP 192.168.2.2;branch=z9hG4bK61e144584b4736ae
    Max-Forwards: 70
    To: "u0" <sip:[email protected]>
    From: "[email protected]" <sip:[email protected]>;tag=60733994
    Call-ID: 0561985a-5b4f-11dc-af78-b580b2a413c4@lip
    CSeq: 1 INVITE
    Contact: <sip:[email protected]>;isfocus
    User-Agent: Viceroy 1.2
    Content-Type: application/sdp
    Content-Length: 522
    v=0
    o=stevecrumley 0 0 IN IP4 192.168.2.2
    [email protected]
    c=IN IP4 192.168.2.2
    b=AS:2147483647
    t=0 0
    a=hwi:1056:2:2160
    a=bandwidthDetection:YES
    a=iChatEncryption:NO
    m=audio 16386 RTP/AVP 12 3 0
    a=rtpmap:3 GSM/8000
    a=rtpmap:0 PCMU/8000
    a=rtpID:1391639951
    m=video 16384 RTP/AVP 126 34
    a=rtpmap:126 X-H264/90000
    a=rtpmap:34 H263/90000
    a=fmtp:34 imagesize 1 rules 30:352:288
    a=framerate:20
    a=RTCP:AUDIO 16387 VIDEO 16385
    a=pogo
    a=fmtp:126 imagesize 0 rules 20:640:480:640:480
    a=rtpID:-952210676
    @SIP/Transport.c:1218 type=1 (00000000/0)
    [INVITE sip:[email protected] SIP/2.0
    Via: SIP/2.0/UDP 192.168.2.2;branch=z9hG4bK61e144584b4736ae
    Max-Forwards: 70
    To: "u0" <sip:[email protected]>
    From: "[email protected]" <sip:[email protected]>;tag=60733994
    Call-ID: 0561985a-5b4f-11dc-af78-b580b2a413c4@lip
    CSeq: 1 INVITE
    Contact: <sip:[email protected]>;isfocus
    User-Agent: Viceroy 1.2
    Content-Type: application/sdp
    Content-Length: 522
    v=0
    o=stevecrumley 0 0 IN IP4 192.168.2.2
    [email protected]
    c=IN IP4 192.168.2.2
    b=AS:2147483647
    t=0 0
    a=hwi:1056:2:2160
    a=bandwidthDetection:YES
    a=iChatEncryption:NO
    m=audio 16386 RTP/AVP 12 3 0
    a=rtpmap:3 GSM/8000
    a=rtpmap:0 PCMU/8000
    a=rtpID:1391639951
    m=video 16384 RTP/AVP 126 34
    a=rtpmap:126 X-H264/90000
    a=rtpmap:34 H263/90000
    a=fmtp:34 imagesize 1 rules 30:352:288
    a=framerate:20
    a=RTCP:AUDIO 16387 VIDEO 16385
    a=pogo
    a=fmtp:126 imagesize 0 rules 20:640:480:640:480
    a=rtpID:-952210676
    @SIP/Transport.c:1218 type=1 (00000000/0)
    [INVITE sip:[email protected] SIP/2.0
    Via: SIP/2.0/UDP 192.168.2.2;branch=z9hG4bK61e144584b4736ae
    Max-Forwards: 70
    To: "u0" <sip:[email protected]>
    From: "[email protected]" <sip:[email protected]>;tag=60733994
    Call-ID: 0561985a-5b4f-11dc-af78-b580b2a413c4@lip
    CSeq: 1 INVITE
    Contact: <sip:[email protected]>;isfocus
    User-Agent: Viceroy 1.2
    Content-Type: application/sdp
    Content-Length: 522
    v=0
    o=stevecrumley 0 0 IN IP4 192.168.2.2
    [email protected]
    c=IN IP4 192.168.2.2
    b=AS:2147483647
    t=0 0
    a=hwi:1056:2:2160
    a=bandwidthDetection:YES
    a=iChatEncryption:NO
    m=audio 16386 RTP/AVP 12 3 0
    a=rtpmap:3 GSM/8000
    a=rtpmap:0 PCMU/8000
    a=rtpID:1391639951
    m=video 16384 RTP/AVP 126 34
    a=rtpmap:126 X-H264/90000
    a=rtpmap:34 H263/90000
    a=fmtp:34 imagesize 1 rules 30:352:288
    a=framerate:20
    a=RTCP:AUDIO 16387 VIDEO 16385
    a=pogo
    a=fmtp:126 imagesize 0 rules 20:640:480:640:480
    a=rtpID:-952210676
    @SIP/Transport.c:1218 type=1 (00000000/0)
    [INVITE sip:[email protected] SIP/2.0
    Via: SIP/2.0/UDP m.0:1443;branch=z9hG4bK2b4035ec00449750
    Max-Forwards: 70
    To: "u0" <sip:[email protected]>
    From: "[email protected]" <sip:[email protected]>;tag=1455455830
    Call-ID: 043044e0-5b4f-11dc-af78-a959664813c4@lip
    CSeq: 1 INVITE
    Contact: <sip:[email protected]:1443>;isfocus
    User-Agent: Viceroy 1.2
    Content-Type: application/sdp
    Content-Length: 524
    v=0
    o=stevecrumley 0 0 IN IP4 m.0
    [email protected]
    c=IN IP4 m.0
    b=AS:2147483647
    t=0 0
    a=hwi:1056:2:2160
    a=bandwidthDetection:YES
    a=iChatEncryption:NO
    m=audio 1425 RTP/AVP 12 3 0
    a=rtpmap:3 GSM/8000
    a=rtpmap:0 PCMU/8000
    a=rtpID:1391639951
    m=video 1074 RTP/AVP 126 34
    a=rtpmap:126 X-H264/90000
    a=rtpmap:34 H263/90000
    a=fmtp:34 imagesize 1 rules 30:352:288
    a=framerate:20
    a=RTCP:AUDIO 1616 VIDEO 1495
    a=pogo
    a=fmtp:126 imagesize 0 rules 20:640:480:640:480
    a=rtpID:-952210676
    @SIP/Transport.c:1218 type=1 (00000000/0)
    [INVITE sip:[email protected] SIP/2.0
    Via: SIP/2.0/UDP m.0:1443;branch=z9hG4bK2b4035ec00449750
    Max-Forwards: 70
    To: "u0" <sip:[email protected]>
    From: "[email protected]" <sip:[email protected]>;tag=1455455830
    Call-ID: 043044e0-5b4f-11dc-af78-a959664813c4@lip
    CSeq: 1 INVITE
    Contact: <sip:[email protected]:1443>;isfocus
    User-Agent: Viceroy 1.2
    Content-Type: application/sdp
    Content-Length: 524
    v=0
    o=stevecrumley 0 0 IN IP4 m.0
    [email protected]
    c=IN IP4 m.0
    b=AS:2147483647
    t=0 0
    a=hwi:1056:2:2160
    a=bandwidthDetection:YES
    a=iChatEncryption:NO
    m=audio 1425 RTP/AVP 12 3 0
    a=rtpmap:3 GSM/8000
    a=rtpmap:0 PCMU/8000
    a=rtpID:1391639951
    m=video 1074 RTP/AVP 126 34
    a=rtpmap:126 X-H264/90000
    a=rtpmap:34 H263/90000
    a=fmtp:34 imagesize 1 rules 30:352:288
    a=framerate:20
    a=RTCP:AUDIO 1616 VIDEO 1495
    a=pogo
    a=fmtp:126 imagesize 0 rules 20:640:480:640:480
    a=rtpID:-952210676
    @SIP/Transport.c:1218 type=1 (00000000/0)
    [INVITE sip:[email protected] SIP/2.0
    Via: SIP/2.0/UDP m.0:1443;branch=z9hG4bK2b4035ec00449750
    Max-Forwards: 70
    To: "u0" <sip:[email protected]>
    From: "[email protected]" <sip:[email protected]>;tag=1455455830
    Call-ID: 043044e0-5b4f-11dc-af78-a959664813c4@lip
    CSeq: 1 INVITE
    Contact: <sip:[email protected]:1443>;isfocus
    User-Agent: Viceroy 1.2
    Content-Type: application/sdp
    Content-Length: 524
    v=0
    o=stevecrumley 0 0 IN IP4 m.0
    [email protected]
    c=IN IP4 m.0
    b=AS:2147483647
    t=0 0
    a=hwi:1056:2:2160
    a=bandwidthDetection:YES
    a=iChatEncryption:NO
    m=audio 1425 RTP/AVP 12 3 0
    a=rtpmap:3 GSM/8000
    a=rtpmap:0 PCMU/8000
    a=rtpID:1391639951
    m=video 1074 RTP/AVP 126 34
    a=rtpmap:126 X-H264/90000
    a=rtpmap:34 H263/90000
    a=fmtp:34 imagesize 1 rules 30:352:288
    a=framerate:20
    a=RTCP:AUDIO 1616 VIDEO 1495
    a=pogo
    a=fmtp:126 imagesize 0 rules 20:640:480:640:480
    a=rtpID:-952210676
    @:0 type=2 (00000000/22)
    [VCVIDEO_OUTGOINGATTEMPT]
    [4]

  • Yes another user with problem with Apple Mobile Device Support, I am getting the error message: Service 'Apple Mobile Device'(Apple Mobile Device) failed to start. Vertify that you have sufficient privileges to start system service....

    Yes another user with problem with Apple Mobile Device Support, I am getting the error message: Service 'Apple Mobile Device'(Apple Mobile Device) failed to start. Vertify that you have sufficient privileges to start system service....I hit retry and it came up again. I hit ignore and it prompted me to hit finish so Itunes can open.   I looked thru alot of these posts on here to try and resolve this problem myself but it's not working too well...I downloaded Itunes to my desktop so I can right click it with the program i downloaded called WinRAR. I extracted it and then went into the folder called Itunes64setup. I saw the file called AppleMobileDeviceSupport64 in there so I began to try and download it on it's own. Well that didn't work as I planned and got this error message:
    Apple Mobile Device Support wasn't installed on your computer. The installer encountered errors before Apple Mobile Device Support could be configured. Your system has not been modified. To retry these operations at a later time,please run the installer again.
    Well I tried to run it again and came up with the same message...I see that some people got great support to help them so I am hoping someone can help me as well. I know "b nor" is very qualfied and hopefully can help me! Please advise what I can do. Thank you

    Hi Iss9243,
    Welcome to the Support Communities!
    You've already tried some great troubleshooting steps, but the article below gives you quite a few more for this issue.  Hope it helps ....
    iTunes 11.1.4 for Windows: Unable to install or open
    http://support.apple.com/kb/TS5376
    Cheers,
    - Judy

  • Real simple xslt problem/question

    Hi, i have a real simple xslt problem but i just cant figure out how to do it by looking at various examples on the net. i have a xml document and in it are some elements with a "result" tag name. i want to use xslt to reproduce exactly the same xml document except with an attribute called "id" added to those elements with a "result" tag name. i'm sure that theres a simple solution to it but i just cant figure it out. any helps greatly appreciated, thanks

    Start with the XSLT identity transform (I don't have it handy and it's fairly long, but you should be able to google it up). Add this:<xsl:template match="result">
      <result id="">
        <xsl:apply-templates>
      </result>
    </xsl:template>

  • Please I really need help with this video problem.

    Hi!
    Please I need help with this app I am trying to make for an Android cellphone and I've been struggling with this for a couple of months.
    I have a main flash file (video player.fla) that will load external swf files. This is the main screen.When I click the Sets Anteriores button I want to open another swf file called sets.swf.The app is freezing when I click Sets Anteriores button
    Here is the code for this fla file.
    import flash.events.MouseEvent;
    preloaderBar.visible = false;
    var loader:Loader = new Loader();
    btHome.enabled = false;
    var filme : String = "";
    carregaFilme("home.swf");
    function carregaFilme(filme : String ) :void
      var reqMovie:URLRequest = new URLRequest(filme);
      loader.load(reqMovie);
      loader.contentLoaderInfo.addEventListener(Event.OPEN,comeco);
      loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,progresso);
      loader.contentLoaderInfo.addEventListener(Event.COMPLETE,completo);
      palco.addChild(loader); 
    function comeco(event:Event):void
              preloaderBar.visible = true;
              preloaderBar.barra.scaleX = 0;
    function progresso(e:ProgressEvent):void
              var perc:Number = e.bytesLoaded / e.bytesTotal;
              preloaderBar.percent.text = Math.ceil(perc*100).toString();
              preloaderBar.barra.scaleX =  perc;
    function completo(e:Event):void
              preloaderBar.percent.text = '';
              preloaderBar.visible = false;
    btHome.addEventListener(MouseEvent.MOUSE_DOWN,onHomeDown);
    btHome.addEventListener(MouseEvent.MOUSE_UP,onHomeUp);
    btSets.addEventListener(MouseEvent.MOUSE_DOWN,onSetsDown);
    btSets.addEventListener(MouseEvent.MOUSE_UP,onSetsUp);
    btVivo.addEventListener(MouseEvent.MOUSE_DOWN,onVivoDown);
    btVivo.addEventListener(MouseEvent.MOUSE_UP,onVivoUp);
    btHome.addEventListener(MouseEvent.CLICK,onHomeClick);
    btSets.addEventListener(MouseEvent.CLICK,onSetsClick);
    function onSetsClick(Event : MouseEvent) : void
              if (filme != "sets.swf")
                          filme = "sets.swf";
                          carregaFilme("sets.swf");
    function onHomeClick(Event : MouseEvent) : void
              if (filme != "home.swf")
                          filme = "home.swf";
                          carregaFilme("home.swf");
    function onHomeDown(Event : MouseEvent) : void
              btHome.y += 1;
    function onHomeUp(Event : MouseEvent) : void
              btHome.y -= 1;
    function onSetsDown(Event : MouseEvent) : void
              btSets.y += 1;
    function onSetsUp(Event : MouseEvent) : void
              btSets.y -= 1;
    function onVivoDown(Event : MouseEvent) : void
              btVivo.y += 1;
    function onVivoUp(Event : MouseEvent) : void
              btVivo.y -= 1;
    Now this is the sets.fla file:
    Here is the code for sets.fla
    import flash.utils.Timer;
    import flash.events.TimerEvent;
    var video:Video;
    var nc:NetConnection;
    var ns:NetStream;
    var t : Timer = new Timer(1000,0);
    var meta:Object = new Object();
    this.addEventListener(Event.ADDED_TO_STAGE,init);
    function init(e:Event):void{
    video= new Video(320, 240);
    addChild(video);
    video.x = 80;
    video.y = 100;
    nc= new NetConnection();
    nc.connect(null);
    ns = new NetStream(nc);
    ns.addEventListener(NetStatusEvent.NET_STATUS, onStatusEvent);
    ns.bufferTime = 1;
    ns.client = meta;
    video.attachNetStream(ns);
    ns.play("http://www.djchambinho.com/videos/segundaquinta.flv");
    ns.pause();
    t.addEventListener(TimerEvent.TIMER,timeHandler);
    t.start();
    function onStatusEvent(stat:Object):void
              trace(stat.info.code);
    meta.onMetaData = function(meta:Object)
              trace(meta.duration);
    function timeHandler(event : TimerEvent) : void
      if (ns.bytesLoaded>0&&ns.bytesLoaded == ns.bytesTotal )
                ns.resume();
                t.removeEventListener(TimerEvent.TIMER,timeHandler);
                t.stop();
    The problem is when I test it on my computer it works but when I upload it to my phone it freezes when I click Sets Anteriores button.
    Please help me with this problem I dont know what else to do.
    thank you

    My first guess is you're simply generating an error. You'll always want to load this on your device in quick debugging over USB so you can see any errors you're generating.
    Outside that, if you plan on accessing anything inside the SWF you should be loading the SWF into the correct context. Relevant sample code:
    var context:LoaderContext = new LoaderContext();
    context.securityDomain = SecurityDomain.currentDomain;
    context.applicationDomain = ApplicationDomain.currentDomain;
    var urlReq:URLRequest = new URLRequest("http://www.[your_domain_here].com/library.swf");
    var ldr:Loader = new Loader();
    ldr.load(urlReq, context);
    More information:
    http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS5b3ccc516d4fbf351e63e3d118a9 b90204-7de0.html
    If you're doing this on iOS you'll need to stripped SWFs if you plan on using any coding (ABC) inside the files. You mentioned iOS so I won't get into that here, but just incase, here's info on stripping external SWFs:
    http://blogs.adobe.com/airodynamics/2013/03/08/external-hosting-of-secondary-swfs-for-air- apps-on-ios/

Maybe you are looking for

  • MSI GTX 970 not being detected on first PCI-E 3.0 slot of MSI Gaming 5 motherboa

    Hi guys. So I recently got myself a new build and some of the components include a MSI GTX 970 Gaming 4G GPU and a MSI Gaming 5 mobo. When installing the GPU to the motherboard I found that for some reason nothing was being displayed on the screen. T

  • "Can't open file; skipping it and continuing" Part2

    I am also having a problem with iMovie 3 not being able to import my dv clip. The clip in it's entirety is about 15 minutes long, way past the 9 minute minimum. When I open the move project containing that clip it only imports the first 1.5 minutes,

  • Can I get better time resolution than 1ms in labview?

    Hello, I am trying to generate an external waveform which requires timing to be in the microsecond range, I was trying to use the wait function to define the timing dt but found that I could not get below 1 ms. I tried to specify timing in the micros

  • TIME KF in the query??

    Hi all, I loaded data from ODS to Cube and have Time CHARs in my Cube. But I don't have any values for my TIME CHARS in the query. Can someone tell me how to fix it? Thanks J.

  • Draw and erase boxes

    I have a project that will present screen-shot images to users' one-at-a-time. When presented a screen-shot, the user needs to categorize specific portions of it. There are 7 categories, which are color coded (e.g., main content –red, navigation – bl