First build HelloWorld application not working - opendaylight

I'm newbie in Opendaylight. I'm trying the very first example of ODL controller application by following this tutorial:
Controller Core Functionality Tutorials
Of course it was not updated so I had to modify something for the newest version (Carbon SR3, on Ubuntu 16.04 LTS). However, when I executed the program, I couldn't find the message
HelloProvider Session Initiated
by typing
log:display | grep Hello
It means my application was not started. On the other hand, I verified features but there was only odl-hello-api by default (no restconf, dlux, etc.). I had to modified karaf/pom.xml (karaf4-parent version 3.0.2-SNAPSHOT, adding dependencies for dlux-core and dluxapps) to install these features but of course I coudln't find my application in ODL graphic application.
Anyone has the same issues? Thanks in advance.

The core tutorials project is no longer maintained. I would suggest looking at the toaster sample documented at https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Toaster_Step-By-Step. To try your own project, use the startup archetype documented at https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Startup_Project_Archetype.

Related

Running Pdfclown on the web

Does anyone know the command or the way to run pdfclown on java servlet? There's pdfclown.samples.web folder included in the library but the readme says nothing about how to run the server.
You have to setup a local Tomcat server and plug it to pdfclown.samples.web within eclipse (please, see among the countless trillions of tutorials available on the Web ;-) ).
BTW, you are right that the README doesn't mention the webserver setup: I'll remedy in the next release.

Netbeans javafx mac bundle without JRE

I am having a hard time trying to build my javafx app into .app (for mac).
I found a legit way to do that, here is resource for that:
http://docs.oracle.com/javafx/2/deployment/deploy_quick_start.htm
However, it is far from what I'm looking for. By following that tutorial, I managed to build an app from my javafx project, however the size of file was just ridiculous and it is because the whole JRE is being bundled inside. I am now looking for a way to deploy .app file with dependencies (it's important) ONLY and without JRE. (JRE should be pre-installed by user). Is there a way to do that? I really tried to find one, but faild. Hope you, guys, help me.
Instructions for packaging a JavaFX application as a native installable app without including a JRE:
JavaFX packaging tools update - Self-Contained Applications: Create Package without Java Runtime.
The tools used are the same as from the deployment quick start you mention in your question. You just set the fx:platform basedir="".
I'll just quote the article here:
This may sound a bit puzzling at first glance. Package without embedded Java Runtime is not really self-contained and obviously will not help with:
Deployment on fresh systems. JRE need to be installed separately (and this step will require admin permissions).
Possible compatibility issues due to updates of system runtime.
However, these packages are much much smaller in size. If download size matters and you are confident that user have recommended system JRE installed then this may be good option to consider if you want to improve user experience for install and launch.
Technically, this is implemented as an extension of previous feature. Pass empty string as value for 'basedir' attribute and this will be treated as request to not bundle Java runtime, e.g.
<fx:platform basedir=""/>

Need help with CodeIgniter v2.0.2

I'm new to CI. Anyone could help to the latest version of CI. most of the Tutorial is for last version and it didn't work for the latest version. please help.
You can still get started using what's availabe for 1.7, if you pay attention to how file structure changed between the two versions (ie the System and Application directories are now separate). To that, many of the tuts you'll find are applicable - bearing in mind that the paths may differ, and you'll want to verify that the functions are still supported in 2.0 by use of the User's Guide).
If you walked through the tut in your link, using the Models, Views, Controllers directories inside Application, you'd get a "Hello World" page.
The User's Guide is a great tool, as are the Community Forums.
Best of luck to you.
I recently migrated a site using CodeIgniter from 1.7 to 2.0. - I found the following link to be very useful:
http://philsturgeon.co.uk/news/2010/05/upgrading-to-codeigniter-2.0

Problem in plug-in development: Eclipse 3.4 can't find a bundle that is definitively there!

Today I had a problem with my old Eclipse 3.4 installation and I had to re-download the entire package. However, I don't think that I got the exact package as before, and I'm having some problems.
The problem can be summarized as follows: when developing a plug-in, I cannot resolve dependencies towards 'org.eclipse.jdt.ui'. When trying to add the missing plugin, in the dialog the closest match is 'org.eclipse.jdt.ui**.source**'. A similar thing happens with other core plugins.
In order to test, I created a new plug-in using the wizard and I obtained a non-compiling plugin: one of the classes uses the class org.eclipse.jdt.ui.JavaUI and it cannot be resolved. Similarly, the MANIFEST.MF includes a dependency towards 'org.eclipse.jdt.ui', but the 'Bundle 'org.eclipse.jdt.ui' cannot be resolved'.
Now a summary of my platform:
I'm running Mac OS X 10.4 Tiger and Java 1.5.0_19-138
I'm running Eclipse Version: 3.4.1 Build id: M20080911-1700
I downloaded the modeling package, which comes in a file called 'eclipse-modeling-ganymede-SR1-incubation-macosx-carbon.tar.gz'
I've performed a fresh installation, in a new folder and using a new workspace.
If I look at the Plug-in Registry view, I can find the 'org.eclipse.jdt.ui' plugin in there, and it appears to be running. By the way, if it is disabled, then the workbench breaks and stops working.
I cannot understand what is happening. Is my installation broken? I wonder if the Eclipse package that I downloaded has an error and they included the sources instead of the compiled files. But in that case, the plug-in shouldn't be working in the workbench, isn't it?
In any case, why I cannot find the plug-in when I'm adding the dependencies, even if I see it in the Plug-in Registry?
Thanks for your help!
Problem solved: just restart the computer.
I don't restart my computer very frequently, so it took me a lot of time to find out that this was the solution. After I restarted it, everything started to work perfectly again. It seems that either Eclipse leaves something in the memory after running, or that some of my initial failures had left something nasty behind. In any case, I had checked and there were no Eclipse related processes running .... weird, but at least now it's fixed!

What is the simplest way to set up a BIRT report viewer for a xulrunner application?

I recently began using BIRT and have developed a report to use with my xulrunner application. What I haven't yet figured out is how I should deploy the viewer. It seems like BIRT mostly targets Java applications, so there are instructions for deploying on J2EE, JBoss, and other technologies -- with which I am not familiar (but I'm not developing in Java anyway).
Reviewing this article on deploying BIRT and reviewing the deployment details on BIRT's web site, I'm not sure where to go. I wasn't expecting to have to add some large Java dependency for the xulrunner application --is there no way I can drop an executable in with my xulrunner app, call it from my app, and pass it a report document? (Or something else that would be simpler than learning and using J2EE, JBoss, tomcat?)
It appears that there is a genReport.bat file in the run-time somewhere that can generate reports from the command line. This appears to be what I need, and this article describes it.
(11/2014) I'm going to add:
download Birt runtime from: http://www.eclipse.org/downloads/download.php?file=/birt/downloads/drops/R-R1-4_3_0-201306131152/birt-runtime-4_3_0.zip
extract somewhere and set a new Environment variable BIRT_HOME=path_to_where_you_extracted
remember to add your database library into \ReportEngine\lib , (ex: jtds.jar)
Open a console inside ReportEngine dir and run:
genReport.bat -f PDF -o PATH/GENERATED_REPORTS/REPORT.pdf -F "PATH/TO/REPORT.rptdesign"
And that's all what I needed to do

Resources