This will do it: cat /etc/redhat-release
Imorting a Maven Project Into Eclipse
Fairly straight forward process
- Position yourself into the new workspace
- File, Import, Existing Maven Projects
- Go to the root directory of your project to import and keep answering prompts to import
Show Spring SQL Code for Debugging
You can show the SQL being generated in the log file by setting the showSql parameter to true in hal-web/src/main/webapp/WEB-INF/config/spring/spring/webapp-jpa.xml, line 31. You’ll need to rebuild the application and restart it after changing this parameter.
Piping multiple search strings to eGrep
Example:
bash prep.sh | egrep -i "(success|failure)"
Log Rotate
You can use a Linux logrotate command for log file maintenance [pdf].
Refer: http://linuxers.org/howto/howto-use-logrotate-manage-log-files
Adding admin to Hudson
The person needs to use the same account they use to logon to Hudson.
- Manage Hudson
- "Authorization" section, use the same UserID used to logon to Hudson
Manually Deploy an EAR File
How to manually deploy an EAR that is already been pushed to a jBoss server:
As root:
service jboss stop
cd /home/hudson/deployer-tmp/
rm -Rf /var/lib/jbossas/server/$(uname -n)/deploy/hal_webapp.ear
cp hal_webapp.ear /var/lib/jbossas/server/$(uname -n)/deploy/
chown jboss.jboss /var/lib/jbossas/server/$(uname -n)/deploy/hal_webapp.ear
chmod 644 /var/lib/jbossas/server/$(uname -n)/deploy/hal_webapp.ear
service jboss start
And the new dist list for web:
haldistlistwebbuildnotify@hollandamerica.com, haldistlistisunix@hollandamerica.com, haldistlistitwebsiteteam@hollandamerica.com
- Donald Tripp dtripp@hollandamerica.com
SQL Script Recommendations
Also, as a matter of practice the DBA’s have asked us to add the following items to our SQL scripts:
Set echo on
- Alter system set current_schema=<schema>
- The / for execution on triggers, procedures, etc
- Remember: DDL statements do an implicit commit
There is an example script right now for the 12.50 deploy too:
http://halpjira01:8080/secure/attachment/17446/promo_sql.txt
Example Section:
set echo on;
alter session set current_schema=WEB_OWNER;
<body of trigger would be here, etc.>
/
commit;
Teamsite Support
From: Centioli, Mike [mailto:mike.centioli@hp.com]
Sent: Thursday, December 20, 2012 10:30 AM
To: Hofsetz, Therron (HAL)
Cc: Ruckman, Maurice (HAL); Augustine, Anila (HAL); Tripp, Donald (HAL); Sutton, Craig (HAL); Schumacher, Mike (HAL)
Subject: RE: Team Site Support Information
You and Mike Schumacher are listed as the support contacts. I don't have login details, you'll need to get that from support. Have you emailed support regarding the issue below (support@interwoven.com). You can also get your login info from them.
HP is changing our end of life policy, which will be 3 years within the current release. Since the version you are running is 7-8 years old, it will be end of life in 2013.
Mike
HP Software
253.536.5740
From: Hofsetz, Therron (HAL) [mailto:THofsetz@HollandAmerica.com]
Sent: Thursday, December 20, 2012 9:37 AM
To: Centioli, Mike
Cc: Ruckman, Maurice (HAL); Augustine, Anila (HAL); Tripp, Donald (HAL); Sutton, Craig (HAL); Schumacher, Mike (HAL)
Subject: Team Site Support Information
Importance: High
Mike,
Can you please share our support identifier and login information with everyone on this email distribution. We are now restarting Team Site 3 times a day because it thinks we are out of space. Even though we have removed files and there is actually space available, the application does not recognize it.
We have also reached out to David Ressler, but he is telling us we need to work with support first and then they will ask him to help.
We need high level support on this issue ASAP.
Therron
From: Centioli, Mike [mailto:mike.centioli@hp.com]
Sent: Thursday, December 20, 2012 10:30 AM
To: Hofsetz, Therron (HAL)
Cc: Ruckman, Maurice (HAL); Augustine, Anila (HAL); Tripp, Donald (HAL); Sutton, Craig (HAL); Schumacher, Mike (HAL)
Subject: RE: Team Site Support Information
You and Mike Schumacher are listed as the support contacts. I don’t have login details, you’ll need to get that from support. Have you emailed support regarding the issue below (support@interwoven.com). You can also get your login info from them.
HP is changing our end of life policy, which will be 3 years within the current release. Since the version you are running is 7-8 years old, it will be end of life in 2013.
Mike
HP Software
253.536.5740
From: Hofsetz, Therron (HAL) [mailto:THofsetz@HollandAmerica.com]
Sent: Thursday, December 20, 2012 9:37 AM
To: Centioli, Mike
Cc: Ruckman, Maurice (HAL); Augustine, Anila (HAL); Tripp, Donald (HAL); Sutton, Craig (HAL); Schumacher, Mike (HAL)
Subject: Team Site Support Information
Importance: High
Mike,
Can you please share our support identifier and login information with everyone on this email distribution. We are now restarting Team Site 3 times a day because it thinks we are out of space. Even though we have removed files and there is actually space available, the application does not recognize it.
We have also reached out to David Ressler, but he is telling us we need to work with support first and then they will ask him to help.
We need high level support on this issue ASAP.
Therron
From: Centioli, Mike [mailto:mike.centioli@hp.com]
Sent: Thursday, December 20, 2012 10:30 AM
To: Hofsetz, Therron (HAL)
Cc: Ruckman, Maurice (HAL); Augustine, Anila (HAL); Tripp, Donald (HAL); Sutton, Craig (HAL); Schumacher, Mike (HAL)
Subject: RE: Team Site Support Information
You and Mike Schumacher are listed as the support contacts. I don’t have login details, you’ll need to get that from support. Have you emailed support regarding the issue below (support@interwoven.com). You can also get your login info from them.
HP is changing our end of life policy, which will be 3 years within the current release. Since the version you are running is 7-8 years old, it will be end of life in 2013.
Mike
HP Software
253.536.5740
From: Hofsetz, Therron (HAL) [mailto:THofsetz@HollandAmerica.com]
Sent: Thursday, December 20, 2012 9:37 AM
To: Centioli, Mike
Cc: Ruckman, Maurice (HAL); Augustine, Anila (HAL); Tripp, Donald (HAL); Sutton, Craig (HAL); Schumacher, Mike (HAL)
Subject: Team Site Support Information
Importance: High
Mike,
Can you please share our support identifier and login information with everyone on this email distribution. We are now restarting Team Site 3 times a day because it thinks we are out of space. Even though we have removed files and there is actually space available, the application does not recognize it.
We have also reached out to David Ressler, but he is telling us we need to work with support first and then they will ask him to help.
We need high level support on this issue ASAP.
Therron
Finding memory leaks with Chrome
Please see attachment: Finding memory leaks with chrome.pdf
