"Hippo CMS" in my "Eclipse Luna", Tomcat not starting - tomcat8

I am trying to integrate "Hippo CMS" in my "Eclipse Luna". For that i installed "Tomcat 8". But when i am trying to run the tomcat after adding the module to it. It is throwing error
"java.lang.NoClassDefFoundError: Lorg/slf4j/Logger".
I searched over google, it gives a solution, "That I either did not copy the shared folder correctly, or I did not copy the conf/catalina.properties correctly". But what need to be done, to resolve this issue and start my server?

If you are working locally then you can start your server with the mvn profile 'cargo.run'. This will automatically deploy a tomcat version.
If you need a standalone tomcat then perhaps this page will help you:
http://www.onehippo.org/library/development/create-a-project-distribution.html

Related

I am not able to connect github using bamboo

Installed latest version of bamboo. I am not able to pull the repository from the github. I am getting below error..
Bamboo Server Edition
Version : 6.9.0
I am getting below error
[Git credentials storage exception.])
Look at agent logs. It should contain more details. Usually it means Bamboo was not able to create or access credentials file.
Bamboo documentation advises against installing Bamboo main directory into C:/Program Files
and also you may want to avoid installing "bamboo-home" into users directory.
I faced the same exception. What worked for me was creating a new folder "X" on desktop and redirecting the Bamboo installation to folder "X."
Similarly, I did the same thing for "bamboo-home."
(Sorry, I don't have the link for bamboo documentation on this. You may want to find it yourself.)

Openshift: adf application not runnig on openshift

I've installed glassfish server and some additional libraries to run adf application using following link
http://multikoop.blogspot.co.uk/2012/09/adf-essentials-in-redhat-cloud.html
I've copied .ear file in the /app-root/repo/diy/glassfish3/glassfish/domains/domain1/autodeploy. when I run the app, its throwing below error.
Not Found
`/testApp/faces/test.jsf' not found.
WEBrick/1.3.1 (Ruby/1.8.7/2011-06-30) at <app>-<domain>.rhcloud.com:80
a) I am not sure if the glassfish was installed properly as I just used
wget http://download.java.net/glassfish/3.1.2.2/release/glassfish-3.1.2.2.zip
unzip glassfish-3.1.2.2.zip
is there any way to find that out?
b) how can access the admin console?
c) does it deploy the app just copying the .ear file in the autodeploy directory?
d) how can I resolve above issue?
thanks
While the admin interface doesn't work on this one either, there is a glassfish quickstart located here https://github.com/shekhargulati/glassfish4-openshift-quickstart that should get you up and running. I would recommend starting there and then following the instructions to get the adf components installed.

Drupal custom module failing to install

I have created a module on a development server (xampp) all is fine and working. However when I have move the module to my production server it fails to install properly, WSOD. From db I can see that my fields are not being created.
Drupal version 7.27 on both, both clean installs with the same dependencies installed.
Nothing in apache error log.
Grateful for any tips.
Mathew
ok just incase this helps someone else further down the line - this was an issue with different versions on PHP on the two servers one had 5.3 the other 5.5. One supports short form arrays [] and one does not which was my problem.
Would i have been able to resolve this from PHP logs?

problems deploying openMRS.war to glassfish v.2

I'm trying to deploy openMRS v.1.9.2 to a local VM running CentOS & Glassfish 2 for work. Unfortunately, I could not get it to work. Normally, I just download the standalone found at source forge. I just double-click the jar, and I'm good to go.
I normally just SSH into the the VM, so I first tried doing everything through a terminal. Here are the steps I took:
Using wget, retrieve the .zip
Create a dir (I just called it /openmrs), cd into the new directory, and then expand the .zip.
cd into the directory.
At this point, there are two options to start openMRS.
Run the bash script: ./run-on-linux.sh
Run the .JAR: java -jar [insert_jar_name].jar -commandline
When I run the .JAR, I get a stack trace.
When I try to run the bash script, I get another error.
Anyways, I thought I found a potential solution in an openMRS JIRA ticket, but it seems aimed at Glassfish 3, and not Glassfish 2 (which is what I need to use).
I then tried deploying the .WAR via the Glassfish admin UI. I thought it would work, but after going through the steps of selecting a language, whether or not to use demo data, etc. I received this.
Does anyone have experience deploying openMRS to Glassfish 2.1.1? Unfortunately Glassfish 3 doesn't seem to be a realistic option. I would really appreciate any help here. Thanks.
Although it doesn't solve my problem of not being able to successfully deploy openMRS to an instance of Glassfish v.2, I did manage to get myself further by just installing MySQL on the VM. Our work machines are all set up for postgres, so I think should have guessed earlier that not having a MySQL server installation was the problem.
Here is a tutorial I used to install MySQL

Can't uninstall GlassFish 3

Okay, so here is the deal:
I was trying to install the java jdk so i can work on an android project in eclipse on this computer, but there are just so many different installations of java its impossible, for me atleast, to figure out exactly which one i needed. so i went with "JDK 7u3 with Java EE". But this also installed this GlassFish stuff, which i have no idea what is or what it does, and when i was going through all the eclipse stuff i decided to just keep my other computer for work. so i removed eclipsed and the stuff needed for that, and i removed the java stuff, but then when i try to uninstall the GlassFish, it can't, and gives me the error:
"Could not find the required version of the Java(TM) 2 Runtime Environment in '(null)'."
I have now been trying for several hours, scouring the web to figure out some way of removing this, install all kinds of java stuff, removing it again, reinstalling, but nothing works. I don't really care what GlassFish is or what it does, i just want it, and all the java stuff gone for good.
How can i accomplish this?
under Microsoft Windows 7 (or others), use that command line :
uninstall.exe -j "%JAVA_HOME%"
You installed first jdk1.6 then uninstalled it. In this time, you install glassfish3 and glassfish wrote set AS_JAVA=C:\Program Files (x86)\Java\jdk1.6.0_x in its config file but you use now jdk1.7
Open C:\glassfishv3\glassfish\config\asenv.bat
Search 'set AS_JAVA'
Change its value to your current jdk path ( eg. C:\Progra¨1\Java\jdk1.7.xx )
Try to uninstall again.
You can run the uninstall specifying the jvm to use:
try this following command to uninstall
C:\glassfish3\uninstall.exe -j <java home dir>
as stated in the error message. it worked for me.
GlassFish is a Java EE application server developed in open source, so you can create server-side services that your android apps can consume. Of course, is sounds like you are not really interested in this :-)
The Java EE SDK install/uninstall instructions are here: http://java.sun.com/javaee/sdk/javaee6sdk_install.jsp
What you probably want to download, the Java 7 SDK (JDK 7) is here: http://www.oracle.com/technetwork/java/javase/downloads/index.html
Make sure you download the JDK (Java Developer Kit) and not the JRE (Java Runtime Environment).
Hope this helps.
These didn't work for me running java 1.6.0_24 in Windows 7:
I tried modifying the asenv.bat file that glassfish uses to find the jre to point to my jre.
I tried manually putting it in as in C:\glassfish3\uninstall.exe -j . This was per the official Oracle documentation.
The only thing that worked was to use the original path and move the bin and lib folders from my java installation to the directory that the error dialog
specified. Then the Glassfish uninstall started up and completed with no problems.
I was able to uninstall the glasshfish server by using the below command
uninstall.exe -javahome "%JAVA_HOME%"
Note: We need to set the JAVA_HOME in the environment variable and classpath variable