Where to find IBM WebSphere WMQ 6.0 jar files - jar

I am trying to implement code where I can send and receive the SOAP messages to IBM MQ. As of my knowledge jar file are required for my code to work, but could not find any place where either I can download the files or can do whole setup of WebSphere 6.0
Do anyone have any idea how can I get it ?

Please be aware that grabbing the jar files from an MQ Server or other installation is not supported by IBM and never has been. However, because it is one of the most commonly used methods to install the MQ client for Java or JMS and fairly common in Java developer culture, IBM has provided a Java-only install option. Please see the Redistributable Clients page in the Knowledge Center for details.
As the name suggests, this install provides an MQ Client package that can be redistributed with independently developed MQ applications. While that is helpful, the main reason IBM provides it is to provide a lightweight install package that...
Contains the correct and complete set of jar files as packaged by IBM.
Is intact and verifiable against a known specification and inventory.
Can reliably be expected to perform as per the documentation set for that version.
Contains all of IBM's diagnostic utilities both in the compiled binaries and in the Java classes.
Contains additional utilities such as GSKit for managing certificates.
Can be patched using IBM's standard Fix Pack install media so that integrity of the installed classes and libraries is preserved.
When using IBM's install media and procedure, the result is far more stable but int he event something goes wrong, the presence of the diagnostic utilities and conformance to a standard install procedure can dramatically reduce outage durations.
Also, there are occasional instances in which a customer with full support entitlements is told that their non-standard installation is not supported and they need to correct it before continuing the PMR. Though this doesn't happen often, in most cases the problem is resolved when the MQ client is installed according to spec. When that doesn't fix it, at least diagnostics can proceed at a faster pace.
The link above has all the details, including links to the client downloads, and is highly recommended reading. You can also go directly to Fix Central for the downloads. Fix Central offers all supported MQ client versions and the relocatable clients come in v8.0 and up. In the download list, look for the "All Java" package.
As Tim noted, mixing client and server versions is supported, provided both client and server are currently in service. Generally you want to develop against the latest version of MQ client because it has the most recent client-side features and will have the longest service life before a version upgrade is required.

Assuming you're on a Unix platform for your queue manager, the client will be found at:
/opt/mqm/java/lib
However, all MQ clients are compatible with all queue manager versions. I strongly recommend you use a client which is still supported, which means 7.1, 7.5, 8.0, or 9.0 at time of writing. These are freely downloadable from the SupportPac website.
The SupportPacs of interest are those starting 'MQC'. SupportPac MQC8 for example contains the MQ V8.0 client.

Thanks everyone. Just an update to the above answer. In my case I have asked the WebSphere administrator for providing me the lib folders which contains all the required MQ jar files.
I have asked him to provide following files from the C:\Program Files (x86)\IBM\WebSphere MQ\Java\lib\ folders:
* com.ibm.mq.jar
* connector.jar
* com.ibm.mq.jmqi.jar
* com.ibm.mq.headers.jar
* com.ibm.mq.commonservices.jar

Related

No LCDS with CF9? should I still use LCDS with CF8?

I've heard somewhere that LCDS is no longer baked in into CF9, and LCDS Express will be phased out, is that true?
If I were to start a new CF8.01 + LCDS Express 2.6 project, what are the risks? Should I abandon that plan and go for BlazeDS instead?
Thanks.
For the record:
ColdFusion 8 shipped (as part of the installer) LCDS 2.6 Express. LCDS Express (free) is no longer available so it is not shipped with ColdFusion 9. However, ColdFusion 9 still supports the same level of integration w/ LCDS as in ColdFusion. The only difference is the installation process. Of course, without a free edition of LCDS, you would be required to purchase a production license.
ColdFusion 9.01 (codenamed Sully) will have full support for LCDS 3.1. It's scheduled for release in mid-2010.
-Adam
Henry just informed me of this thread and showed me the articles on FB4's "Data Management". Forgive my ignorance at this time as I need to carefully read them not just skim them, but I'll chime in briefly.
It sounds to me that FB4's "client-side data management without having to use a server at all" is semantically clear as mud. How does an individual client manage data as "LCDS Data Management" feature does? (Who's on first?). Sounds like they are being implied to be the same. What about NIO, RTMP, Conflict Resolution, server-to-client Pagination, Lazy Loading, etc?
Given the near complete overlap in jargon, and analogous implementations, I think Adobe should be VERY clear regarding the difference. I suppose its in Adobe's best interest to differentiate LCDS Data Management proper (the money feature) from FB4 Data Management (the freebie) if it wants good selling points for LCDS customers.
AFAIK, LCDS 2.6.1 full installer runs as unlimited version for 120 days, and then reverts to the Express Edition 1-CPU (a.k.a. Single CPU Edition) thereafter. If you are already running LCDS 2.6.1 as Single CPU Edition as a standalone server you can connect ColdFusion 8.0/1 and ColdFusion 9.0 to it via RMI by checking the CF Admin boxes under Enable Remote LCDS Access. However, if you have the LCDS 2.6.1 Components for ColdFusion and a full LCDS 2.6.1 server bits lying around, then you can use it to configure both ColdFusion 8.x and ColdFusion 9.0 for an embedded version of LCDS (where they both run in the same JVM and do not need RMI to talk to eachother). I have LCDS 2.6.1 working in embedded mode with both CF8.01 and CF9.0.
Additionally, regarding "LCDS Express (free) is no longer available", it may be true that you can not download it off Adobe.com anymore, but if you already have it then Adobe won't retroactively change your EULA.
How are you specifically planning to use the Data Management? Flash Builder 4 includes the ability to do client-side data management without having to use a server at all. CF also gives you the ability to do online/offline synchronization and datamanagement with CF and AIR.
LCDS 3.0 has some interesting functionality that goes above and beyond data management but if you're looking at basic data management you might want to give one of the two options above a try.
=Ryan
ryan#adobe.com
To use LiveCycle Data Services ES
2.6.1 with ColdFusion 9, you need to manually install it after completing
your ColdFusion 9 installation.
http://help.adobe.com/en_US/ColdFusion/9.0/Installing/WSB53CBD63-A21C-4f31-8F3E-700AE45A026E.html
Nice, LCDS still supported.

is it possible to use lucene(on linux) and asp.net(on windows) at the same time?

I want to start a new project I need performance as well as a neat and robust GUI
about the performance I have around 2 millions documents which I like to index'em by the help of lucene installed on linux due to its performance and security.
and about GUI I'd like to have flexible and professional look website and since I'm experienced with .net I'd like to retrieve the lucene's result and show it in my own way.
I've heard about some RESTful services available inside the lucene but I don't have any clue according to that and how to connect these two together.
how can I connect asp.net to lucene?
regards.
One option: Install Solr on Linux. Solr is a nice search server built based on Lucene that supports REST-like XML and JSON APIs. ASP can parse JSON and from there you can build your own front end in ASP.net.
Lucene has been ported to .Net. http://incubator.apache.org/lucene.net/
We use it for our website to index various things, and these indexes are in the millions too. If you're wanting to use Linux in the belief that it's more efficient, then it's not a matter of the choice of OS but of accessing a remote Lucene system.
The best option is to install Solr, and use Solr.NET to interface with it. SolrNET is a .NET client for Solr (the most important).
It's possible to install Solr both on Linux or Windows. And easy way to install Solr on windows is using this bitnami, which installs the server, as well as the Solr servlet.
It's also possible to use Elasticsearch, and some of the available .NET clients.
NOTE on Lucene.NET: it's a port of the original Java Lucene to .NET, available at Nuget, but it's dead: the latest ported version is 3.0.3, while as of april 2015 the Lucene (and Solr) is version 5.1. So, if you want to use the newest functionalities, it's much better to install Solr (on Windows or Linux) and use Solr.NET as explained above.

Oracle Coherence License Issue

Are there any restrictions for using coherence.jar without any license?
coherence.jar is open for downloading without any fee.
You can use it for development purposes. Any other purpose means purchasing a license. On the download page is a link to the license agreement that states:
You may not:
use the programs for your own internal data processing or for any
commercial or production purposes, or
use the programs for any purpose
except the development of your
application;
use the application you develop with the programs for any internal data
processing or commercial or production
purposes without securing an
appropriate license from us;
continue to develop your application after you have used it for any
internal data processing, commercial
or production purpose without securing
an appropriate license from us, or an
Oracle reseller;
remove or modify any program markings or any notice of our
proprietary rights;
make the programs available in any manner to any third party;
use the programs to provide third party training;
assign this agreement or give or transfer the programs or an interest
in them to another individual or
entity; - cause or permit reverse
engineering (unless required by law
for interoperability), disassembly or
decompilation of the programs;
disclose results of any program benchmark tests without our prior
consent.
The first two points are the most relevant.
On the Coherence download page it says you need to agree to the Oracle Technology Network (OTN) License Agreement to download the software.
That license contains this text:
We grant you a nonexclusive, nontransferable limited license to use the programs only for the purpose of developing, testing, prototyping and demonstrating your application, and not for any other purpose. If you use the application you develop under this license for any internal data processing or for any commercial or production purposes, or you want to use the programs for any purpose other than as permitted under this agreement, you must obtain a production release version of the program by contacting us or an Oracle reseller to obtain the appropriate license.
So it's a free download only for development purposes. (Most Oracle Products are available free to developers.)
But if you want to use this code in production or in a product you're selling you will need a license.
Have you considered using Infinispan as an open source alternative to Coherence?
Don't forget that the version that you download from the public website is usually just the major release. The minor release, with all the many bug fixes, is only available if you have a support contract.

Text to Speech in ASP.NET

I would like to do some japanese text to speech on my dedicated windows 2003 x64 server with .net framework, using c#
I found something on google, but requires to install a lot of files on the server... i don't like, for stability issues: there is another option, like a linked dll or something?
You can use Microsoft Speech SDK. It's a set of COM APIs containing TTS and SR engines. I'm not sure if it contains Japanese TTS though.
What you most likely want is the Microsoft Speech Server especially if your webite is going to encounter any decent load or volume.
From the site:
"A speech platform, MSS contains all
the server components for deploying
telephony (voice-only) and multimodal
(voice/visual) applications. MSS
combines Web technologies,
speech-processing services, and
telephony capabilities into a single
system. "
There is also a dedicated Microsft Speech community which will likely help you get started in this realm. Also, I'm not sure what the latest version is...2004 R2?
This article has a decent diagram outlining the various components. Looks like a good fit for integration with an ASP Web Application.
using SAPI in an ASP.NET website, is impossible: the sound will be reproduced on the server :S
It seems that there is the need of Microsoft Speech Server
...
Or not? With asp.net is possible to run a commandline exe on the server to save an mp3, then stream that mp3, right? (how to do that? i will try to figure it)
I will go this way, i let you know the result :)
edit: this is how i solved:
How to save text-to-speech as a wav with Microsoft SAPI?
I save the generated voice in a wav file, then i embed it on the page, playing it in a flash player
COOL!!
Use Microsoft Speech Library and see this article Text to Speech with the Microsoft Speech Library and SDK version 5.1 in CodeProject. Also see Giving Computers a Voice in Coding4Fun
The System.Speech.Synthesis namespace has been part of the framework since .NET 3.0. However, it has internal dependencies on the Speech SDK COM libraries (it chooses the correct version depending on the host OS), so I would recommend prototyping the work before you jump in.
The class you should probably look at first is System.Speech.Synthesis.SpeechSynthesizer (whitepaper and example code)
Warning: I have personally experienced issues using the speech APIs in an ASP.NET environment whereby the request that returned the audio data never returned. Despite heavy debugging I was never able to resolve the issue and the feature was dropped. I have had an unresolved support case with Microsoft for 12 months now.

Encrypt on iSeries

What tools are available to encrypt or password-protect a file stored on the IFS?
*integrated file-system, accessible from Windows
You could setup object security so only certain users can view the file.
There are encryption tools available for purchase. There is also some built-in APIs for encrypting.
Here are some resources to look into:
Scenario: Key Management and File Encryption Using the Cryptographic Services APIs
The Next Step in Security
A Simple Encryption/Decryption Algorithm for Numbers
Cryptographic Services APIs
Most of these articles deal with encrypting data in a table, but the concepts should help you encrypt a file on the IFS.
Or you could simply encrypt the file from a Windows box with ccrypt or TrueCrypt (perhaps not what you are looking for). Both are free. As is GnuPG which has a windows port and is probably the best of the bunch.
Don't forget that iSeries with PASE can run many AIX programs as is.
ccrypt for AIX could almost definitely be made to run on the iSeries and be called from QSH. And similarly for GnuPG for AIX; it could be run on the iSeries itself.
There is PkZIP for the iSeries which can provide encryption.
You could also 'roll your own' encryption using Java Cryptography.
We are currently using Arpeggio, which is free. We used to use PKZip, but were able to replace that tool with the free Arpeggio software. Seems to work well
You can set the authority to the file so only users in one group have access to it. I think its option 9 I don't have access to a iseries at this moment.
You can pull a port of GnuPG from Scott Klement's website at : https://www.scottklement.com/gnupg/. We have been using it without issue for years.
A lot has changed since this question was asked! IBM i now has extensive support for open source software in PASE. Several of the other answers here mention packages that IBM now provides for no cost as RPMs, easily installable via yum (or the Access Client Solutions GUI, which includes a graphical front-end for yum). Here is just a sampling of IBM-packaged tools you could use for encryption of IFS files:
GnuPG
p7zip (POSIX version of 7-Zip, compatible with and mostly superior to PKZIP)
Python, Node.js, and other programming languages, with access to various encryption libraries
Note that the RPM-based packaging is only supported on IBM i 7.2 and above. (Some people have been able to get it working on 7.1, but this requires the right combination of PTFs and know-how.)
For those on older (and by now, far out of support) versions of IBM i and its predecessors, you may be able to use Scott Klement's ports of GnuPG and p7zip, or Per Gummedal's iSeriesPython.

Resources