how to deploy the Northwind example

Questions about using and running the Rifidi Edge Server

Moderators: Matt, kyle

runfreely
Posts: 9
Joined: Sat Aug 07, 2010 12:34 am
Organization: Thua

how to deploy the Northwind example

Post by runfreely » Mon Sep 20, 2010 10:33 am

hello rifidi team;


Now i am studying the rifidi project , i have read something about the edge server, First i want to finish the Northwind example ,could you give me some instructions..
I have downloaded the source of the edge server and the Northwind example , but I don't know how to deploy the example..

your help will be greatly appreciated .


runfreely.

kyle
Posts: 220
Joined: Tue Apr 22, 2008 10:12 pm
Name: Kyle
Organization: Pramari
Location: Hartford, CT
Contact:

Re: how to deploy the Northwind example

Post by kyle » Mon Sep 20, 2010 11:10 am

First, please use the Rifidi SDK version 1.2. The northwind example is more clear in that example. Next, there is a section on how to deploy applications in the Rifidi Developer's manual (the PDF included in the docs folder of the SDK). Please let me know if you are still getting stuck.

-Kyle

runfreely
Posts: 9
Joined: Sat Aug 07, 2010 12:34 am
Organization: Thua

Re: how to deploy the Northwind example

Post by runfreely » Fri Sep 24, 2010 5:18 am

hello rifidi team:

I follow your instrctions on Northwind Application Tutorial,

Outline
Step 1: Create the Application
Step 2: Using Emulator
Step 3: Esper: Track Packages
Step 4: Esper: Alerts
Step 5: Send Notifications Over JMS
Step 6: Create the Web Application
Step 7: Write a Hello World Servlet
Step 8: Write a Tag Location Service and JMS Listener
Northwind Display Events using JSP: Step 9: Display events in a JSP



when i finished all the steps, I run the Application, as you told me in the following instructions.--
Now you can run the whole application. You can point your browser to the web application, start emulator and place tags on the readers. As you move tags around, you can hit the refresh button on your browser to see the tags

I can see the output of the console like this.
Weigh Station Arrival: 2f59659d58e761bedfd1c644
Weigh Station Arrival: 2f4f26a6ab2d348e8106929d
Weigh Station Arrival: 2f1fae54be9f004eeb066015

Package skipped the dock door: 2f59659d58e761bedfd1c644
Package skipped the dock door: 2f4f26a6ab2d348e8106929d
Package skipped the dock door: 2f1fae54be9f004eeb066015
Package skipped the dock door: 2ffc7d6ebe854b065b731bea
Package skipped the dock door: 2fcf3f6a9343f32ff7b7ae20


But i can not see any difference in the page (that is http://127.0.0.1:8080/NORTHWIND-DEMO/taglocation.htm);

thanks you help


runfreely

Matt
Posts: 362
Joined: Fri May 02, 2008 11:56 am
Organization: Pramari

Re: how to deploy the Northwind example

Post by Matt » Fri Sep 24, 2010 1:53 pm

Hi runfreely,

Have you tried the new Northwind example in the developer documentation PDF of the 1.2 release? We simplified it quite a bit to make it easier to pick up. Try it out!

-Matt

umangsamani
Posts: 12
Joined: Fri Oct 01, 2010 6:24 am
Organization: Argusoft

Re: how to deploy the Northwind example

Post by umangsamani » Mon Oct 18, 2010 8:58 am

Hi Runfreely,

I was going through the forum as I am a new bie for RIFIDI, and saw that you were successfully able to deploy Northwind Example of SDK 1.2.
Can I know which doc had you used ? I am using the normal doc which comes inside the Docs folder of SDK, but I am stuck up.

It would be great, if you can guide me through.

Thanks

runfreely
Posts: 9
Joined: Sat Aug 07, 2010 12:34 am
Organization: Thua

Re: how to deploy the Northwind example

Post by runfreely » Fri Oct 22, 2010 3:15 am

http://wiki.rifidi.org/index.php/Northwind_Tutorial,,

there are all the steps implementing the example. Wish you success.

Matt
Posts: 362
Joined: Fri May 02, 2008 11:56 am
Organization: Pramari

Re: how to deploy the Northwind example

Post by Matt » Fri Oct 22, 2010 5:37 pm

Hi runfreely,

Actually, those instructions are only meant for version 1.1 of the edge server, they probably won't work for version 1.2. The new steps are in the PDF file (I put a warning and linked to the correct documentation to clear up any confusion.

@umangsamani

I've read the problems you've been having, and I think there is something corrupted with your SDK. Delete and re-download the SDK, and follow the steps for the PDF again.

umangsamani
Posts: 12
Joined: Fri Oct 01, 2010 6:24 am
Organization: Argusoft

Re: how to deploy the Northwind example

Post by umangsamani » Wed Oct 27, 2010 2:47 am

Matt,

Thanks for that suggestion, I downloaded the new SDK again and now when I run, its showing that NorthWind is running[I use the command "apps"].
Now how can I see the movement of the tags ?

Once I deploy the Northwind Application and start the Edge Server, I can see the Northwind Application running. What next has to be done, to integrate the readers and the tags so that I can see the tags moving ?

Small description of yours will help me a lot.

Thanks

umangsamani
Posts: 12
Joined: Fri Oct 01, 2010 6:24 am
Organization: Argusoft

Re: how to deploy the Northwind example

Post by umangsamani » Wed Oct 27, 2010 9:28 am

Matt,

I have moved ahead with some try and errors but couldnt see the movement of the tags. The Edge server gives me this very weired and typical error. Please see the snapshot and put some bright ideas to get rid of it.

Thanks
Attachments
EdgeServerError.GIF
EdgeServer Error
EdgeServerError.GIF (143.82 KiB) Viewed 8029 times

runfreely
Posts: 9
Joined: Sat Aug 07, 2010 12:34 am
Organization: Thua

Re: how to deploy the Northwind example

Post by runfreely » Thu Oct 28, 2010 1:40 am

have you create the logical reader?

please input the orders in the console of the eclipse or in the console of rifidiserver.exe.

the orders creating readers and sessions as follow:
createreader Alien

createsession Alien_1 //(by default the port of the reader is 20000)

createcommand Alien-Poll

executecommand Alien_1 1 Alien_Poll_1 1000

startsession Alien_1 1


please have a look athttp://wiki.rifidi.org/index.php/Northw ... g_Emulator

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests