I have downloaded jPOS 1.4.8 zip file from jPOS.org. can anyone help in the procedure for intallation?

160 views
Skip to first unread message

Pooja

unread,
Aug 31, 2005, 9:45:05 AM8/31/05
to jPOS Users
Hi
I have downloaded jPOS 1.4.8 zip file from jPOS.org. can anyone help in
the procedure for intallation?
I have no idea what to do from here onwards.

Alejandro Revilla

unread,
Aug 31, 2005, 10:18:03 AM8/31/05
to jpos-...@googlegroups.com
>
> I have downloaded jPOS 1.4.8 zip file from jPOS.org. can anyone help in
> the procedure for intallation?
> I have no idea what to do from here onwards.
>
You may want to read a file named INSTALL, then src/examples/README.

You may find jPOS-EE easier to deal with, please have a look at
http://jpos.org/ee/jPOS-EE-SDK.pdf

Pooja

unread,
Aug 31, 2005, 10:40:02 AM8/31/05
to jPOS Users
Thanks , Found that , what do they mean by " 1) cd to jPOS's base
directory
2) call bin/build jar javadoc"

Pooja

unread,
Aug 31, 2005, 10:43:59 AM8/31/05
to jPOS Users
another question,
Its not too clear in the install directory , but do i have to create a
project in jbuilder and load the classes there , and then compile ????
and do I also have to install ant, aspectjrt, and aspectstools in order
for this to run,
please bear with me , as I am new to this.

Mark Salter

unread,
Aug 31, 2005, 2:23:31 PM8/31/05
to jpos-...@googlegroups.com
I think you have a steep learning curve ahead of you, but persistence
will pay off.

Could you let us know your operating system please, that will help as
you progress. I will assume windows (for now).

JPos comes with a build process that does as you suspect use ant, so
download that and add it's "bin" directory to your path.

Now "cd" to the base folder you unzipped JPos to. cd is the "change
directory command, so if you have unzipped JPos into a folder called
jpos on your c drive, then the command :-

cd c:\jpos\

will position you in that directory. As a check, this folder will
contain folders called "bin", "build" and indeed the INSTALL member
mentioned previously.

With ant installed you should be able to type :-

bin\build main examples

which will compile the main code and the examples.

Now to run a pair of examples so you get the idea.

start bin\example isoserver

will start a server to respond to requests from :-

bin\example simplegui

which is a simple gui - heartbeat monitor - which generates an 0800 to
the isoserver which responds with an 0810.

--
Mark

Mark Salter

unread,
Aug 31, 2005, 2:30:36 PM8/31/05
to jpos-...@googlegroups.com
Also, the ant build process constructs a folder off of the root called
"build", this would be the folder to add into jbuilder, but take care it
will be overwritten each time :-

bin\build main
is run.

You will also need the "lib" directory added to jbuilder classpath.

--
Mark

Alejandro Revilla

unread,
Aug 31, 2005, 3:55:02 PM8/31/05
to jpos-...@googlegroups.com
>
> JPos comes with a build process that does as you suspect use ant, so
> download that and add it's "bin" directory to your path.
>
BTW, 1.4.8 includes ant in the lib directory, so a separate download
is not required. That is not the case with jPOS-EE-SDK, you need
add (> 1.6.2) to build it.

Mark Salter

unread,
Aug 31, 2005, 4:39:14 PM8/31/05
to jpos-...@googlegroups.com
Alejandro Revilla wrote:

> BTW, 1.4.8 includes ant in the lib directory, so a separate download
> is not required. That is not the case with jPOS-EE-SDK, you need
> add (> 1.6.2) to build it.

Opps, my mistake, thanks for clarifying that Alejandro.

--
Mark

Pooja

unread,
Sep 1, 2005, 3:43:32 AM9/1/05
to jPOS Users
Thank you, I am using windows XP.

" cd c:\jpos\
will position you in that directory. As a check, this folder will
contain folders called "bin", "build" and indeed the INSTALL member
mentioned previously. "

I went to this folder but unfornately I only see bin,dist,ext,lib,src.
I do not see the build folder, am i missing something?

I am running this from the dos window, is this where it suppose to be
ran.

Do I include anything into Jbuilder at the moment ?

Pooja

unread,
Sep 1, 2005, 3:47:23 AM9/1/05
to jPOS Users
i ran the command "bin\build main examples" and got the following error
message output :

C:\Downloads\CharleneJpos\jpos>bin\build main examples
Buildfile: src\build.xml

prepare:
[mkdir] Created dir: C:\Downloads\CharleneJpos\jpos\build\src
[mkdir] Created dir: C:\Downloads\CharleneJpos\jpos\build\test
[mkdir] Created dir: C:\Downloads\CharleneJpos\jpos\build\classes
[mkdir] Created dir: C:\Downloads\CharleneJpos\jpos\build\examples
[mkdir] Created dir:
C:\Downloads\CharleneJpos\jpos\build\examples\securekey
store
[mkdir] Created dir: C:\Downloads\CharleneJpos\jpos\log
[mkdir] Created dir: C:\Downloads\CharleneJpos\jpos\deploy\lib

ext.check:

ext.check.mail:

ext.check.jsse:

copy-src:
[copy] Copying 349 files to
C:\Downloads\CharleneJpos\jpos\build\src

xdoclet-uptodate:

generate:
[jmxdoclet] (XDocletMain.start 148 ) Running
<mbeaninterface/>

[jmxdoclet] (TemplateSubTask.engineStarted 148 ) Generating
output for 'or
g.jpos.space.TransientSpace' using template file
'jar:file:/C:/Downloads/Charlen
eJpos/jpos/lib/xdoclet-jmx-module-1.2.jar!/xdoclet/modules/jmx/resources/mbean.x
dt'.
[jmxdoclet] INFO: Some classes refer to other classes that were not
found amo
ng the sources or on the classpath.
[jmxdoclet] (Perhaps the referred class doesn't exist? Hasn't
been gene
rated yet?)
[jmxdoclet] The referring classes do not import any fully
qualified cla
sses matching these classes.
[jmxdoclet] However, since no packages are imported, xjavadoc
has assum
ed that the referred classes
[jmxdoclet] belong to the same package as the referring class.
The clas
ses are:
[jmxdoclet]
C:\Downloads\CharleneJpos\jpos\build\src\org\jpos\space\TransientSpa
ce.java --> TransientSpaceMBean qualified to
org.jpos.space.TransientSpaceMBean

main:
[javac] Compiling 349 source files to
C:\Downloads\CharleneJpos\jpos\build\c
lasses
[javac]
C:\Downloads\CharleneJpos\jpos\build\src\org\jpos\util\FSDMsg.java:6
1: cannot resolve symbol
[javac] symbol : class LinkedHashMap
[javac] location: package util
[javac] import java.util.LinkedHashMap;
[javac] ^
[javac]
C:\Downloads\CharleneJpos\jpos\build\src\org\jpos\space\SpaceError.j
ava:70: cannot resolve symbol
[javac] symbol : constructor Error
(java.lang.String,java.lang.Throwable)
[javac] location: class java.lang.Error
[javac] super(message, cause);
[javac] ^
[javac]
C:\Downloads\CharleneJpos\jpos\build\src\org\jpos\space\SpaceError.j
ava:73: cannot resolve symbol
[javac] symbol : constructor Error (java.lang.Throwable)
[javac] location: class java.lang.Error
[javac] super(cause);
[javac] ^
[javac]
C:\Downloads\CharleneJpos\jpos\build\src\org\jpos\ui\UI.java:255: ca
nnot resolve symbol
[javac] symbol : method setUndecorated (boolean)
[javac] location: class javax.swing.JFrame
[javac] frame.setUndecorated (
[javac] ^
[javac]
C:\Downloads\CharleneJpos\jpos\build\src\org\jpos\ui\UI.java:258: ca
nnot resolve symbol
[javac] symbol : method setFullScreenWindow (javax.swing.JFrame)
[javac] location: class java.awt.GraphicsDevice
[javac] device.setFullScreenWindow(frame);
[javac] ^
[javac]
C:\Downloads\CharleneJpos\jpos\build\src\org\jpos\util\FSDMsg.java:9
9: cannot resolve symbol
[javac] symbol : class LinkedHashMap
[javac] location: class org.jpos.util.FSDMsg
[javac] map = new LinkedHashMap();
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -deprecation for details.
[javac] 6 errors

BUILD FAILED
file:C:/Downloads/CharleneJpos/jpos/src/build.xml:204: Compile failed;
see the c
ompiler error output for details.

Total time: 18 seconds

Alejandro Revilla

unread,
Sep 1, 2005, 7:46:34 AM9/1/05
to jpos-...@googlegroups.com
> C:\Downloads\CharleneJpos\jpos\build\src\org\jpos\util\FSDMsg.java:6
> 1: cannot resolve symbol
> [javac] symbol : class LinkedHashMap
> [javac] location: package util
> [javac] import java.util.LinkedHashMap;
> [javac] ^
> [javac]
>
You need Java 1.4.2 or greater.

Pooja

unread,
Sep 1, 2005, 11:48:08 AM9/1/05
to jPOS Users
guys we have liftoff. It complied successfully. Thank you.

Now where do I go from here ?? (How do I test these messages.)

chhil

unread,
Sep 1, 2005, 1:05:46 PM9/1/05
to jpos-...@googlegroups.com
Hi Pooja,

Please see a sample posted on this list by another user as_els <as_...@yahoo.com> on Sep 1, 2005 5:57 AM


-chhil

Mark Salter

unread,
Sep 1, 2005, 1:21:30 PM9/1/05
to jpos-...@googlegroups.com
Pooja wrote:
> guys we have liftoff. It complied successfully. Thank you.
No problem.

> Now where do I go from here ??

There is a folder of examples from your earlier post it will be in :-

C:\Downloads\CharleneJpos\jpos\src\examples\

try typing :-

bin\build examples

to build the examples and then :-

bin\example isoserver

to start a run an example server

and then in another dos box :-

bin\example simplegui

Remember to type these commands after :-

cd C:\Downloads\CharleneJpos\jpos

You will see a dialogue box, and then this gui will exchange messages
with the server.

That would be a fine place to start.

> (How do I test these messages.)

You can test the framework with :-

bin\build test

but did you have something more specific to your goal in mind?

--
Mark

Pooja

unread,
Sep 2, 2005, 3:14:15 AM9/2/05
to jPOS Users
Thank you.
All of these work perfectly,
Yes I did have something more specific in mind?
1. Can I run this code in Jbuilder ?
2. How do I prove that this is a great software to use for financial
transactions, proof of concept idea ??

Pooja

unread,
Sep 2, 2005, 5:31:34 AM9/2/05
to jPOS Users
I tried to insert the code into Jbuilder but when I tried to run(right
click on the class and run it), it gave me the following error :
"java.lang.NoClassDefFoundError: isoserver/Test
Exception in thread "main" "

How do I run these examples in Jbuilder ?

Mark Salter

unread,
Sep 2, 2005, 2:52:14 PM9/2/05
to jpos-...@googlegroups.com
Pooja wrote:
> Thank you.
That is alright.
> All of these work perfectly,
Of course 8)
> Yes I did have something more specific in mind?
> 1. Can I run this code in Jbuilder ?
I don't use Jbuilder myself, and have had little success in running
things under eclipse. I would think you should add the build
directories as your source, and ensure you have the lib directory as
part of your 'jbuilder class path'. Other might guide you further.
> 2. How do I prove that this is a great software to use for financial
> transactions, proof of concept idea ??
Does this need proving, further?
jPOS is used at a number of companies in a producion environment. Have
a look at www.jpos.org. This home page holds links to a "WhoIsUsing
wiki" as well as pointers to articles and of course the mailing lists
and news. This mailing list community speaks volumes (for me). As long
as you have the paitience to prepare a considered question you will
always get a sensible answer, sometimes within minutes of posting!

Best Regards,
Mark Salter

Alwyn

unread,
Sep 10, 2005, 5:48:27 AM9/10/05
to jPOS Users
How do you prove that this software is great to use for financial
transactions?

Depends on how you approach things in life. Are you someone for whom
it is enough to say "Company x, y and z uses it so therefor I believe
it will work for us" or do you say "Although company x, y and z or
NOBODY uses it, I'm going to try it out myself and if I feel
comfortable to sell it to my boss, then I do so because I believe in
it".

The first approach is why everybody uses Windows, most people use it,
it must be the best for me although my needs are maybe different.

The second approach is where you try things out, join the mailing list,
marvel at how Alejandro can run his own company and at the same time
answer every single question on this list. Thats where YOU develop a
proof of concept for your boss and YOU decide whether you are willing
to put YOUR ass on the line instead of blaming Microsoft and 90% of all
users because your server has a blue screen.

Take your company's requirement, knock yourself out having fun building
a POC, step back, say "It is good!" and go sell it to your boss.

sHeRiN

unread,
Sep 19, 2005, 5:01:43 AM9/19/05
to jPOS Users
lols , i back u alwyn :)

bernard

unread,
Sep 21, 2005, 12:30:04 AM9/21/05
to jPOS Users
sHeRiN wrote:
> lols , i back u alwyn :)

Second that! Particularly at " marvel at how Alejandro can run his own


company and at the same time answer every single question on this list

", he is truely an amazing guy :) One of a kind, despite occasionally
being showered with flamming comments.

And this project is packaged with many "Alejandro class" developers :D
.... just like their excellent GenericPackager, all it takes is an
appropriate config file, and it does the magic!

Ask your questions well, and perhaps you will soon discover magical
answers :)

Cheers,
/bernard

Reply all
Reply to author
Forward
0 new messages