Personal tools
You are here: Home Community Forum Software How to setup client-server PillarOne.RiskAnalytics?

How to setup client-server PillarOne.RiskAnalytics?

Up to Software

How to setup client-server PillarOne.RiskAnalytics?

Posted by Johnny Vanhentenryk at May 26. 2009

Hello,

I just checked out the PillarOne.RiskAnalytics code and have my project configured in IDEA. I can perfectly launch the standalone version of PillarOne.RiskAnalytics and play with the available models.

If I launch the dev version of PillarOne.RiskAnalytics, I see all models being imported and the Gui opens. How do I access the index-page through my browser?

I tried http://localhost:8080/RiskAnalytics, but this does not work. I see no logging with the Url of my application.

Is the jnlp-file somewhere available with the correct substitution of $$context? 


Thanks for your help,

John

Re: How to setup client-server RiskAnalytics?

Posted by Stefan Kunz at May 27. 2009

Hi John,

 

I am happy to hear that you successfully checked-out the code and could setup the IDEA project.

To answer your question I wrote a new how-to document

. Please give me any feedback, if it is not precise enough.

 

Regards,

Stefan

Re: How to setup client-server RiskAnalytics?

Posted by Johnny Vanhentenryk at June 15. 2009

Hi Stefan,

 

This is a great start as my server now starts and I get a webpage with a jnlp and an applet-link.

When I try the jnlp-link, I get an exception when webstart tries to download RiskAnalytics-jnlp-client.jar, as it cannot be found.


This is the exception:

com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://localhost:8080/RiskAnalytics/lib/RiskAnalytics-jnlp-client.jar
at com.sun.deploy.net.DownloadEngine.actionDownload(DownloadEngine.java:973)
at com.sun.deploy.net.DownloadEngine.getCacheEntry(DownloadEngine.java:1071)
at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(DownloadEngine.java:1146)
at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(DownloadEngine.java:1080)
at com.sun.deploy.net.DownloadEngine.getResource(DownloadEngine.java:146)
at com.sun.javaws.LaunchDownload.downloadJarFiles(LaunchDownload.java:844)
at com.sun.javaws.LaunchDownload.downloadEagerorAll(LaunchDownload.java:760)
at com.sun.javaws.Launcher.downloadResources(Launcher.java:1216)
at com.sun.javaws.Launcher.prepareLaunchFile(Launcher.java:558)
at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:175)
at com.sun.javaws.Launcher.launch(Launcher.java:95)
at com.sun.javaws.Main.launchApp(Main.java:305)
at com.sun.javaws.Main.continueInSecureThread(Main.java:213)
at com.sun.javaws.Main$1.run(Main.java:108)
at java.lang.Thread.run(Thread.java:637)


I also attached the jnlp-file.

Thanks in advance,
John

Attachments

Re: How to setup client-server RiskAnalytics?

Posted by Stefan Kunz at June 17. 2009

Unfortunately my recipe was missing one step:
Execute the jar-client ant target available in the Ant Build panel (right side of IDEA).

Re: How to setup client-server RiskAnalytics?

Posted by Ralf Klotzbuecher at November 23. 2009

Hi Stefan,

I just checked out the latest trunk with IJ following your good how-to.

After opening the project, I get this message:

"Configure path variables: Undefined variable: TEMPLATE."

Any idea, how to solve this?

Screenshot attached.

 

Thanks

Ralf

 

Attachments

Re: How to setup client-server RiskAnalytics?

Posted by Stefan Kunz at November 24. 2009

Hi Ralf,

Click on the Edit button and select any directory. This should resolve the problem. Nevertheless I will try to modify the project files in the repository in order to avoid this dialog.

Stefan

 

Re: How to setup client-server RiskAnalytics?

Posted by Ralf Klotzbuecher at November 24. 2009
Thanks Stefan, this helped me out. As IntelliJ is so powerful, I don't find the settings for JDK that are needed for ant. (screenshot attached) Where do I look for it? Ralf
Attachments

Re: How to setup client-server RiskAnalytics?

Posted by Stefan Kunz at November 24. 2009

Select Project Structure in the File menu. Click on Project in the first column of the dialog. Select an available JDK in the Project SDK combobox or add a new one by clicking on the new button.

Attachments

Re: How to setup client-server RiskAnalytics?

Posted by Ralf Klotzbuecher at November 24. 2009
That's it. Now it works. Building a WAR-file show Code-Signing Error: Warning: The signer certificate has expired. Should this be fixed? Ralf

Re: How to setup client-server RiskAnalytics?

Posted by Stefan Kunz at November 24. 2009

Most users have no problem with the expired certificate. We plan to fix it for version 0.5 (PMO-279).

Quick reply
URLs will be automatically hyperlinked. Basic HTML tags are OK.
Powered by Ploneboard
Document Actions
History
Action Performed by Date and Time Comment
Activate Johnny Vanhentenryk 26.05.2009 21:36 No comments.