• Howto run eshop or other buildap web apps

Document Actions
Replies: 2   Views: 6092
Up one level
You need to be a registered member to post to this forum. Register now.
Prev topic | Next topic

 • Howto run eshop or other buildap web apps

Posted by timtlee at 2004-11-08 22:13
What do I need to do to run the eshop app? I don't think that the PowerPoint presentation we saw a couple weeks ago explained this.
Anonymous
Posts: n/a

 • Re: Howto run eshop or other buildap web apps

Posted by admin_jr at 2004-11-15 11:07
rrrr
Anonymous
Posts: n/a

 • Re: Howto run eshop or other buildap web apps

Posted by amehrabyan at 2004-11-15 19:22
Here is simple tutorial how to run Web model in samples folder.

For now it is recommended to run NetBeans from console window to have all Buildap outputs.

steps:
1 - mount directory where eshop web application is located into NetBeans project, in our case it is CVS/VCB/samples/web

2 - navigate to the eshop project file (eshop.vcbp should have Biuildap specific icon assosiated with it) and double click on it. (it could take some minutes to load project)

3 - when loaded run it using 'Run' button in the project window (please wait a minute, track in console that if finished the process of instantiating parts) then press event button to see Buildap events in output window.

4 - select 'Start' in-terminal of the root device and fire it (it will start Jetty Server). In console window you'll see something like
ERROR>10:28:34.722 EVENT Checking Resource aliases
ERROR>10:28:35.363 EVENT Starting Jetty/4.2.10pre0
ERROR>10:28:35.597 EVENT Started WebApplicationContext[/,Jetty VCB Root]
ERROR>10:28:35.972 EVENT Started SocketListener on 0.0.0.0:8080
ERROR>10:28:35.972 EVENT Started org.mortbay.jetty.Server@18a8ce2
it is not errors, just error output stream is used.

5 - open web browser with http://localhost:8080 URL it will automatically redirect to eshop's home page. Then follow liks in browser and see Buildap events in plug-in

NOTE: it is very simple web application, does not expect something complicated,
Manager
Posts: 2