How to deploy Railo 3.2.3 on Resin 4.0.15? - railo

I've just discovered that all the install guides for railo+resin assume you're installing the obsolete 3.1.2 bundle (railo-3.1.0.012-resin-3.1.2-without-jre.zip). I have Resin 4 installed now, what is the process for deploying the Railo WAR / JAR's (under linux)?

Should be nearly identical to setting up Railo on Resin 3.1. Have you tried it?
http://www.getrailo.org/index.cfm/documentation/installation/railo-resin-apache/

Related

ASP.NET Core error CS1022 in new clear web project Ubuntu 18.04

I have started new test project .net core web from Ubuntu Linux console, and when I am trying to run it, I am getting an error:
/tmp/.NETCoreApp,Version=v2.1.AssemblyAttributes.cs(5,1):
error CS1022: Type or namespace definition, or end-of-file expected [/home/alex/projects/test/test/test.csproj]
The build failed. Please fix the build errors and run again.
Ubuntu Linux 18.04
ASP.NET Core 2.1
I have reinstalled SDK full reinstall with apt-autoremove, and install again, nothing changed
Strange thing but i have reinstalled SDK again, reboot the machine and after that all is ok.

Nexus Repo Migration and updating.

Trying to upgrade Nexus 2.1.4 Repo to 3.X. This is what i have done till now and what what went wrong!
-- installed the 3.0.2 version on the same machine in a different port (8090) Then opened the UI and tried doing the upgrade agent and there was no upgrade agent in 3.0.2.
-- so i installed 3.1 on the different port and came across a java exception error in nexus Repo UI while migrating stuff from 2.1.4 (installed on port 80). I found out that one need to be at-least on 3.2.4 V to migrate.
-- now i installed 3.6 on a different port (8082)in the same machine. couldn't start nexus service now. which i was able to for other nexus version in other ports.

old plone 2.5 dump on mavericks or ubuntu 12.04

i have a folder with an old plone version 2.5 and i would restore it on mac os mavericks or ubuntu 12.04. I know, that this really old plone version need python 2.4. I get it form python.org for mac os x but i don't found anything for ubuntu 12.04. I tried to restore this dump but it's not easy without a good documentation for version 2.5.
How can i restore this dump?
Start with an installer from https://launchpad.net/plone/2.5/2.5.5 . That will take care of not only Python, but also handle other binary components.
Install Plone on the target server, then transfer any custom add-on Plone products from the source server. Test it.
When that's running, copy the Data.fs file from the source to overwrite the Data.fs on the target.

unable to find mpd.conf file

I have installed MPICH2 1.4 version on RHEL.
Whenever I'm trying to run a program then it is throwing following error
unable to find mpd.conf file
How to resolve this problem.?
This error comes from running an old version of MPICH that requires some setup. You might try upgrading to a much newer version (the latest is 3.0.4) available at http://www.mpich.org and you don't have to worry about setting up MPD because it will use the newer process manager (Hydra) by default.

How to set jar application to use Java 6 instead of 7

How can I set my java jar application to use jre 6 instead of jre 7?
I'm doing this because there are some compatibility issue with the libraries I'm using if the application use jre 7.
Edit:
The application will come with its own installers (using advanced installer) that have a jre6 installer. But I don't know how to trace the installation folder of the jre6.
How can I trace it and make the jar file use the jre6?
You can do this from Advanced Installer much simpler. You have two options:
Force the package to use the JRE 1.6 found on the machine by going to "Virtual Machine" tab from Java Products page and setting the minimum and maximum JRE versions to 1.6
Add as bundle in the project from the same page the JRE for version 1.6. This means that Advanced Installer will automatically import in your package the JRE resources required for your application, thus increases the package size, and will install them in the application's install folder. This JRE bundle will be used only by your application and removed along with it.
When running your application using java.exe, you could provide the absolute path to a Java 1.6 installation. Something like:
absolute_path_to_java6_dir/bin/java -jar yourRunnableJar.jar
or
absolute_path_to_java6_dir/bin/java -cp .;yourJar.jar;otherJarFiles className
You could check the running JVM version when starting your application.
System.getProperty("java.version");
This way you could provide a meaningful explanation to end-user.

Resources