Picon
Favicon

Field data!

Hello everyone! I'm new in JPOS and there's a thing I can't find, but 
I think it should exist: I have my msg loaded, everything is working, 
how can I get a field name if I know the id or the number of the 
field? Cause with getValue() i have the value, but I wanna show the 
field name

 
Alejandro Revilla | 4 Feb 2008 14:07
Favicon
Gravatar

Re: Field data!

>
> Hello everyone! I'm new in JPOS and there's a thing I can't find, but 
> I think it should exist: I have my msg loaded, everything is working, 
> how can I get a field name if I know the id or the number of the 
> field? Cause with getValue() i have the value, but I wanna show the 
> field name
> 
The field name is related to the current packager, you can use
ISOMsg.getPackager() in order to get a reference to your packager,
and then ISOPackager.getFieldDescription(ISOMsg m, int fieldNUmber)

 
rexsamsamrex | 13 Feb 2008 14:53
Picon
Favicon

jPOS-EE setup HOWTO


Good day,

i am new to jpos and testing the sample application of how to setup
jPOS-EE ?

when i call ant i get this error in 

BUILD FAILED
/home/USERNAME/jposee/build.xml:154: No supported regular expression
matcher found

 
Alejandro Revilla | 13 Feb 2008 18:47
Favicon
Gravatar

Re: jPOS-EE setup HOWTO

> 
> when i call ant i get this error in 
> 
> BUILD FAILED
> /home/USERNAME/jposee/build.xml:154: No supported regular expression
> matcher found
> 
Can you tell us your ant version ? (ant -version)

 
rexsamsamrex | 13 Feb 2008 21:05
Picon
Favicon

Re: jPOS-EE setup HOWTO

--- In jpos-dev@..., Alejandro Revilla <apr <at> ...> wrote:
>
> > 
> > when i call ant i get this error in 
> > 
> > BUILD FAILED
> > /home/USERNAME/jposee/build.xml:154: No supported regular expression
> > matcher found
> > 
> Can you tell us your ant version ? (ant -version)
>

Apache Ant version 1.6.5

 
David Bergert | 13 Feb 2008 22:07
Picon

RE: Re: jPOS-EE setup HOWTO

How was ant installed?  binary from apache? rpm ? deb ? etc ?

from: http://ant.apache.org/manual/install.html :

It looks like you might be missing a dependency  :

http://jakarta.apache.org/regexp/ or http://jakarta.apache.org/oro/

or your ant classpath isn't proper/

bTW, what version of java are your running ?  are you running ant from the
commmand line or from an IDE ?

Regards,

DB

http://www.paymentsystemsblog.com

From: jpos-dev@...
[mailto:jpos-dev@...] On Behalf
Of rexsamsamrex
Sent: Wednesday, February 13, 2008 2:05 PM
To: jpos-dev@...
Subject: [jpos-dev] Re: jPOS-EE setup HOWTO

--- In jpos-dev@... <mailto:jpos-dev%40yahoogroups.com> ,
Alejandro Revilla <apr <at> ...> wrote:
>
> > 
(Continue reading)

rexsamsamrex | 14 Feb 2008 18:33
Picon
Favicon

Re: jPOS-EE setup HOWTO

--- In jpos-dev@..., "David Bergert" <dbergert.ng <at> ...> 
wrote:
>
> How was ant installed?  binary from apache? rpm ? deb ? etc ?
> 
>  
> 
> from: http://ant.apache.org/manual/install.html :
> 
>  
> 
> It looks like you might be missing a dependency  :
> 
> http://jakarta.apache.org/regexp/ or http://jakarta.apache.org/oro/
> 
>  
> 
> or your ant classpath isn't proper/
> 
>  
> 
> bTW, what version of java are your running ?  are you running ant 
from the
> commmand line or from an IDE ?
> 
>  
> 
> Regards,
> 
> DB
(Continue reading)

David Bergert | 14 Feb 2008 18:57
Picon

RE: Re: jPOS-EE setup HOWTO

Hi:

if you are use apt-get you will also need to do:

$sudo apt-get install ant-optional

I would try the apt-optional first, and then try a JDK 1.5 ...

From: jpos-dev@...
[mailto:jpos-dev@...] On Behalf
Of rexsamsamrex
Sent: Thursday, February 14, 2008 11:34 AM
To: jpos-dev@...
Subject: [jpos-dev] Re: jPOS-EE setup HOWTO

--- In jpos-dev@... <mailto:jpos-dev%40yahoogroups.com> , "David
Bergert" <dbergert.ng <at> ...> 
wrote:
>
> How was ant installed? binary from apache? rpm ? deb ? etc ?
> 
> 
> 
> from: http://ant.apache.org/manual/install.html :
> 
> 
> 
> It looks like you might be missing a dependency :
> 
> http://jakarta.apache.org/regexp/ or http://jakarta.apache.org/oro/
(Continue reading)

tasbihmr | 16 Feb 2008 19:01
Picon
Favicon

reading from Serial Port (com port 1 to 10)

Dear All,

After thanking all those who are the contributors to this very 
informative and useful Java tool, I would like to ask that if there a 
sample code that can read and write the transaction to the serial port, 
i.e, simply read from a given port and write back to the same port. Has 
this tool been already developed ? I think it would be very useful 
because there are so many things out there (hardware as well), which 
are very able to communicate in serial.

Regards and thanks,
tasbihmr 

 
Victor Salaman | 17 Feb 2008 10:00
Picon

Re: reading from Serial Port (com port 1 to 10)

Hi:

Some of us have written jPos serial handlers for our specific needs
and I don't know about everyone else's experience, but I finally gave
up trying to use serial ports in servers and PCs, as there are good
serial boards and bad serial boards and their reliability is not
consistent. Besides, for reliability, dependability and other obvious
reasons you want to decouple yourself from the PC.

* If you're serving incoming POS, use something like a Hypercom NAC
device. You won't have to worry about modems, serial ports or any of
the sort.
* If you're connecting serial devices directly, use an external device
server like Moxa device server series or Digi PortServer.

In both cases your software will just talk straight TCP/IP and the
device does all the serial management. It also works good for
redundancy since it's networked, if you have standy boxes, getting the
serial devices to see your other cluster box(es) is a snap!

IMHO these days it'd actually be a crime to plug a serial device
directly on the server(s), but I could be wrong. haha

-V

On Feb 16, 2008 2:01 PM, tasbihmr <tasbihmr@...> wrote:
>
>
>
>
(Continue reading)


Gmane