Skip to main content

Posts

Webcenter install : java.lang.ClassNotFoundException: oracle.jrf.wls.JRFStartup

I did a fresh install of Web Center and was starting up my managed server through the console: [Windows] I got a bunch of errors in my log file and the deployment failed. java.lang.ClassNotFoundException: oracle.jrf.wls.JRFStartup Fix:  Find your nodemanager.properties -should be [Weblogic Dir]\wlserver_10.3\common\nodemanager  Change the line StartScriptEnabled=false to StartScriptEnabled=true.   Everything should work If not check that you have the JFR stuff installed.

Redhat: Heirloom mail config

I wanted to add an account in mailx for my Nagios setup. Could not find any docs on it (maybe I didnt search enough) but here we go: The config file: /etc/mail.rc Just added an new account to the end of the file like such account newsmtp { set record=+Sent set from="Administrator " set smtp=smtp://smtp-relay.blah.com:25 } Viola I can now in my commands.cfg config of nagios: (/usr/local/nagios/etc/objects) just add the -A projsmtp to use this account in the mail setup # 'notify-host-by-email' command definition define command{ command_name notify-host-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -A newsmtp -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$ } # 'notify-se...

Oracle WebCenter licenses

After a long time trawling the internet for details on how web center licenses work (what products you can use with each license) I spotted my mistake. DONT search for WebCenter licenses search for Fusion Middleware licenses. Makes all the difference. And for the lazy (11.1.1.6) http://docs.oracle.com/cd/E23943_01/doc.1111/e14860/toc.htm

Hudson vs Jenkins: Phase 2

Ok so in a earlier post I made a choice to go with Hudson over Jenkins for various reasons: http://javaosdev.blogspot.com/2011/10/hudson-or-jenkins-for-me.html But now the decision is back and I have decided to install Jenkins this time and so far so good.

JIRA: Exception caught in 500 page null : java.lang.NullPointerException

I imported my buzilla database into JIRA and could not search on external id field after the import. I was getting the following error in the logs: java.lang.NullPointerException         at com.atlassian.jira.issue.customfields.searchers.transformer.FreeTextCustomFieldSearchInputTransformer.validateParams(FreeTextCustomFieldSearchInputTransformer.java:60) Step 1 was to remove the Freetext search from the External ID custom field. I then added the freetext search back to the custom field. I then reindexed and like magic my error went away.

Change of jira context : Confluence sharing database

Ok so I changed my context on my jira server to /jira (I had to authenticate a number of time and it was annoying me). NOTE: My jira and confluence are installed on the same machine and use the JIRA authentication database. When restarting confluence I could not log in.. bummer I updated the JIRA reference in the admin console and still no joy so I looked in the logs: /var/atlassian/application-data/confluence/logs for me. I was getting this error: com.atlassian.crowd.exception.InvalidCrowdServiceException: The following URL does not specify a valid Crowd User Management REST service: http://server:8080/rest/usermanagement/1/event       So I logged into the db and changed in the ATTRIBUTE_VALUE column to the correct new server context  http://server:8080/jira in CWD_DIRECTORY_ATTRIBUTE table where the ATTRIBUTE_NAME was crowd.server.url. Fixed my problem right up.