Log files

From: McConnell, Chris (HAL Contractor)
Sent: Tuesday, February 21, 2012 1:52 PM
To: Guillaume Radde; Thompson, Sonya (HAL); Doan, Thomas (HAL Contractor); Smith, Robert (HAL Contractor); Ruckman, Maurice (HAL); Phatak, Sheetal (HAL); Bojja, Sridhar (HAL Contractor); Fillman, Eric (HAL); Augustine, Anila (HAL)
Cc: Schumacher, Mike (HAL); jlindesm@redhat.com
Subject: RE: Webdev logs (JBoss and Apache logs for new Infrastructure)

Hello All,
The below is the log directory structure for the new JBoss infrastructure.
Note that we will sweep through the existing DEV and TST environments are reconfigure them to write their logs to their new locations.

[root@haldevjbs01 PRD]# mount -v  | grep logs
nasit:/web_nonprod/dev01_logs on /logs type nfs (rw,soft,intr,addr=10.194.45.103)

/logs/DEV
/logs/DEV/haldevweb01
/logs/DEV/haldevjbs01
/logs/DEV/haldevjbs02

/logs/TST
/logs/TST/haltstweb01
/logs/TST/haltstjbs01
/logs/TST/haltstjbs02

/logs/STG
/logs/STG/halstgweb01
/logs/STG/halstgjbs01
/logs/STG/halstgjbs02
/logs/STG/halstgjbs03
/logs/STG/halstgjbs04

Note for PRD ENV (yet to be configured/deployed),
The logs will be on a separate NFS share to be configured with the same structure:
/logs/PRD
/logs/PRD/halprdweb01
/logs/PRD/halprdjbs01
/logs/PRD/halprdjbs02
/logs/PRD/halprdjbs03
/logs/PRD/halprdjbs04

-----Original Message-----
From: Guillaume Radde [mailto:guillaume.radde@redhat.com]
Sent: Tuesday, February 21, 2012 1:15 PM
To: Thompson, Sonya (HAL); Doan, Thomas (HAL Contractor); Smith, Robert (HAL Contractor); Ruckman, Maurice (HAL); Phatak, Sheetal (HAL); Bojja, Sridhar (HAL Contractor); Fillman, Eric (HAL); Augustine, Anila (HAL)
Cc: McConnell, Chris (HAL Contractor); Schumacher, Mike (HAL); jlindesm@redhat.com
Subject: Webdev logs

You now have access to the logs from the 2 JBoss instances in webdev from your developer vm in the folders /mnt/haldevjbs01 and /mnt/haldevjbs02. We are working on standardizing the way that developers can access infrastructure server logs so those path might change in the future. We'll let everybody know if we change it.

Thanks!

-------------------------------------
Guillaume Radde
Senior Consultant, Red Hat Consulting
guillaume.radde@redhat.com
http://www.redhat.com
-------------------------------------

XStart Support Tickets

-----Original Message-----
From: Schumacher, Mike (HAL)
Sent: Thursday, February 16, 2012 9:53 AM
To: 'Guillaume Radde'
Cc: Augustine, Anila (HAL); Thompson, Sonya (HAL); Ruckman, Maurice (HAL)
Subject: RE: Xmanager

Yes, we have support. You can open a ticket at http://www.netsarang.com/support/request_form.html if you need my help let me know. I actually think I had this problem yesterday.

Mike

-----Original Message-----
From: Guillaume Radde [mailto:guillaume.radde@redhat.com]
Sent: Thursday, February 16, 2012 9:37 AM
To: Schumacher, Mike (HAL)
Cc: Augustine, Anila (HAL); Thompson, Sonya (HAL); Ruckman, Maurice (HAL)
Subject: Re: Xmanager

Mike, do we have any kind of support with XManager? Developers are having issues where Xmanager locks up if they don't touch the Window for a few hours.

Guillaume

----- Original Message -----
From: "Maurice Ruckman (HAL)" <MRuckman@HollandAmerica.com>
To: "Sonya Thompson (HAL)" <SThompson@HollandAmerica.com>
Cc: "Guillaume Radde" <guillaume.radde@redhat.com>, "Anila Augustine (HAL)" <AAugustine@HollandAmerica.com>
Sent: Thursday, February 16, 2012 9:57:40 AM
Subject: Xmanager

FYI -- I installed the latest version of Xmanager and kept my VM open overnight and it still stopped working, and effectively locked-up on my machine.

Thanks,

Maurice Ruckman
Voice: (206) 626-7497 x67497
Cellular: (206) 650-7576

Sudo for web_app

From: Schumacher, Mike (HAL)
Sent: Friday, March 02, 2012 10:26 AM
To: Bojja, Sridhar (HAL Contractor)
Cc: Augustine, Anila (HAL); Hofsetz, Therron (HAL); Bobroff, Harold (HAL)
Subject: sudo webapp on haldevjbs01

Sridhar,

I found the issues for using sudo to the webapp account. You need to run the following command in order to become the webapp user.
"sudo -u webapp /bin/bash" then enter your passwd. If you are in your home directory you will get a permissions error like the one below.

[szb@haldevjbs01 ~]$ sudo -u webapp /bin/bash
bash: /home/szb/.bashrc: Permission denied

That is because the user webapp doesn't have write permissions in your home directory but you are now user webapp. Just cd out of your home directory. If you want to make sure your now webapp type "id" on the command line.

Thanks-

Mike Schumacher

Changing Firefox Icon in VM

Use following command to locate firefox installtion:

$locate firefox

To determine location of icon PNG file, just in case

It's currently located here:

/usr/share/icons/hicolor/48x48/apps/firefox.png

Right-click the browser icon in your VM choose properties, and then click the current icon, navigate to the following folder, and then click icon and choose the firefox.png icon.

/usr/share/icons/hicolor/48x48/apps/

Setup of X-Manager

Session: haldevjbs04
Host: haldevjbs04.hq.halw.com
Protocol: SSH
Username: jboss1
Password: holland123 (can save via Setup)
Command >: GNOME

Necessary for Advanced button setup:

Advanced, X-Server, Server Profile, Configure
General, Window Mode to use:, Single Windo Mode
Apply, Ok, Ok

Make sure to always logoff when done:
System, Logout

VM Observations

Things to Consider

  • Developers do not have root access
    • May not be able to override some settings
    • Will not know how admin configurations work, need to rely upon Unix team
    • Should match environments, if in synch
    • Maybe we need a root machine as a sandbox for playing with jBoss configurations, otherwise we rely upon Unix team for all configuration knowledge
  • Who will support the VM's and re-imaging of them when necessary
  • xManager seems to have issues after staying open for several hours on our machines, this appears to be an xManager issue, also once the session is closed everything stops
  • Slight delay when switching screens, and copy/pasting
  • Turning on session replication
    • Session size is important to watch again!
    • Page will crash if session object is NOT serializable
  • Unable to print
  • Remotely connect to Linux VM directly (rather than through work PC)
    • Mike Schumacher said that this might be doable if (1) we use apps.halw.com to instead of vpn.halw.com and (2) he would install XManager client on the Citrix Server. He said that they would need to set up access rights for me so that I could test it.
  • Local development should explode the EAR file to avoid having to do a complete build to change a JSP
  • Quirks in Jboss dev studio that I should be able to fix myself, but haven’t yet
    • Not getting help from the IDE like code complete (where you type an object and all the methods come up)
    • If I have an issue (like missing an import, etc.), the line is not highlighted red, the import statement isn’t automatically added like it is in the Eclipse that I used to use, and I can’t tell until I do a build
    • How do we run in debug mode where we can set breakpoints?
  • Quirk with the VM
    • Cannot reboot the VM
    • Sonya Hint: Hitting XManager’s Close button (x button) kills the gnome session, which kills everything. When you are using XManager, when you are done, you should close all apps and then go to System >> Log off

Missing Files / Folders

  • C:changeManhalwebsitechip
  • C:changeManhalwebsiteHALWShxAdm
  • C:changeManhalwebsitecomhalwappletURLReader.class
  • C:changeManhalwebsiteconfigexcludeexcludeSelling.xml
  • C:changeManhalwebsiteincludes
  • C:changeManhalwebsitejs*
  • C:changeManhalwebsitesbnstylesf* (many)
  • C:changeManhalwebsitesbnstyleufhalSupplement.css
  • C:changeManhalwebsitesbnviewsf*
  • C:changeManhalwebsitestylelocalized*
  • C:changeManhalwebsitestylesf*
  • C:changeManhalwebsitestyleuf*
  • C:changeManhalwebsitestyle*
  • C:changeManhalwebsiteutilities*
  • C:changeManhalwebsiteview*
  • C:changeManhalwebsiteviewsf*
  • C:changeManhalwebsitewebbkgresource* (use?)
  • C:changeManhalwebsitewebbkg* (use?)
  • C:changeManhalwebsiteWEB-INF*

Other Items

C:changeManhalwebsite* (see below)
Error.jsp
pleasewait.modal.inc.xml
ShxAdmScreenDefinitions.jsp
ShxAdmTemplate.jsp
sitemap.xml