Giter Club home page Giter Club logo

Comments (9)

zyclonite avatar zyclonite commented on September 21, 2024

the last changes were made nearly 5 years ago... so i guess it was around version 5.x
i will take a look what has changed

from php-tibems.

zyclonite avatar zyclonite commented on September 21, 2024

tested it after my update with tibco 7.0.1 and php 5.4.17 (should work with 5.5 too) and it works
maybe it was a permission problem

the changes i made only affected the compilation...

from php-tibems.

brunnels avatar brunnels commented on September 21, 2024

Wish there were some easy way to debug what is going on. The code looks like it should be returning the status that tibemsSession_CreateProducer is returning as part of the error message but all I get is:

Fatal error: tibco_sendmsg(): Error creating tibemsMsgProducer

from php-tibems.

zyclonite avatar zyclonite commented on September 21, 2024

can you get me a code snippet of your sending script and what is configured (of relevance) on the tibco side, so i can try to reproduce it

from php-tibems.

brunnels avatar brunnels commented on September 21, 2024

Okay, I found the issue.

tibco_sendmsg(string destination, string message [, topic bool false]);

Docs showed topic as optional default to false. If I call without I get the error. If I set false it works.

ERROR: tibco_sendmsg('.alarmpoint_150095.Change', $this->createChangeMessage());
WORKS: tibco_sendmsg('.alarmpoint_150095.Change', $this->createChangeMessage(), false);

from php-tibems.

zyclonite avatar zyclonite commented on September 21, 2024

great 👍

from php-tibems.

brunnels avatar brunnels commented on September 21, 2024

Can you explain the connection options for setting up the connection via SSL? I'm connecting to a development system now and it doesn't require username or password. The UAT and Production systems will require SSL certificates to connect but no username or password.

from php-tibems.

zyclonite avatar zyclonite commented on September 21, 2024

ssl was never implemented ...
if you like you can do so and send me a pull request

from php-tibems.

brunnels avatar brunnels commented on September 21, 2024

Okay, this had me thinking it had. Probably have the make the $ssl string parameter an array instead with the ssl parameters the tibco client requires.

tibco_connect(string server, string user, string pass [, string ssl]);
Connects to Tibco EMS Server (ssl)

from php-tibems.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.