Name and location of profile management tool in Websphere Application Server 7? - websphere-7

IIRC whenever I use to install WAS on my Windows PC it used to create short cuts to desktop of profile management tool. This time it wasn't created, please tell me the name and location of that batch file (in WAS) from where I can create the similar short cut again by myself.

The Profile Management Tool (pmt) is available here:
C:\PATH_to_WebSphere_AppServer\bin\ProfileManagement\pmt.bat
be aware that in WebSphere v7, there is no pmt tool in 64-bit WebSphere version. So, if you installed 64-bit WebSphere you will not have that short cut.
For 64-bit you will need to use manageprofiles.bat command line tool.

Not sure about the UI part but in case you want to create it from commands you can do this -
manageprofiles.bat -create -profileName AnyAppSrv -profilePath %WAS_HOME%\profiles\AnyAppSrv -templatePath %WAS_HOME%\profileTemplates\default -serverName server1 -cellName AnyAppSrvNode1Cell -nodeName AnyAppSrvNode1 -hostName localhost -enableAdminSecurity false
Note: Path may differ which you have to set on your own.

Related

Azure Powershell Linux

Are there any more cmdlets for Linux Azure Powershell apart from these?
Is there an official repository for Azure Powershell for Linux?
Is there a way for terminal to launch powershell on startup, not bash?
My google-fu is weak today :(
Your question is old but I'll still answer it. In hopes that you will receive my response via email, others seeking help in the future will see this, and to establish reputation on this damn site so I can actually start using it effectively.
Are there any more cmdlets for Linux Azure Powershell apart from these?
I assume you're specifically looking for Azure because of your title. AzureRM.Netcore has been released as of ~1 month ago. This supports 90% of the functionality you need to deploy to Azure.
https://www.powershellgallery.com/packages/AzureRM.Netcore/0.9.1
Unfortunately, I am finding that some older cmdlets are not supported yet though, since they are in an older module called Azure, which does not yet have a .NET Core implementation. See my recent post for more information on that.
Is there an official repository for Azure Powershell for Linux?
You can find all of that discussion on the official Powershell repository. It is cross-platform. Additionally Microsoft intends to build Powershell 6 on top of .NET Core 2.0 which was released yesterday. So it's likely that future development will heavily support Linux. This will be your best resource: https://github.com/Azure/azure-powershell
Is there a way for terminal to launch powershell on startup, not bash?
There is. But I wouldn't recommend doing that. That just sounds wrong. But I'm a pretentious Linux user with a bias towards Microsoft so take my opinion with a grain of salt. There are two methods you can use to accomplish that.
1) Most Linux distros come with a command called chsh just for that. Try chsh -s /usr/bin/powershell provide that is the location of your installed Powershell binary. If you are not sure where it is, you can use which to determine the installation location. which powershell. Do not execute this command with sudo as that will attempt to change the shell for your root user rather than your current user.
2) Alternatively you can manually edit the file /etc/passwd on Linux. Locate the line that contains your user account, go to the very end of it, and replace /bin/bash or whatever shell you use with /usr/bin/powershell, or the proper location of your Powershell Binary.

Set a new property "org.bonitasoft.i18n.folder"?

I am trying to change the default language of Bonita Portal. I have been following the bonita guide ( for 7.3 version) but no use and I can't understand some things.
First of all, when it says: set a new property "org.bonitasoft.i18n.folder" in Windows file setEnv.bat, how can I define this property? It is the same with the Subscription version?
So the property must be
CATALINA_OPTS=-Dorg.bonitasoft.i18n.folder=${CATALINA_HOME}/my_custom_i18n
etc... or there is something else?
No matter how I google it. My research has no results. That's why i am asking for your help.
I am waiting for your answers
If you are running the zip distribution of Tomcat (for example if you are using the Bonita BPM + Tomcat bundle) on Windows you should have:
set CATALINA_OPTS=%CATALINA_OPTS% %PLATFORM_SETUP% %H2_DATABASE_DIR% %DB_OPTS% %BDM_DB_OPTS% %BTM_OPTS% %INCIDENT_LOG_DIR% -Dfile.encoding=UTF-8 -Xshare:auto -Xms1024m -Xmx1024m -XX:MaxPermSize=256m -XX:+HeapDumpOnOutOfMemoryError -Dorg.bonitasoft.i18n.folder=%CATALINA_HOME%\my_custom_i18n
It's the same for the Subscription version.
If you are running the Tomcat embedded in Bonita BPM Studio the way to define org.bonitasoft.i18n.folder JVM system property is a little bit different. You need to:
Edit the appropriate ini file (e.g. BonitaBPMCommunity64.ini if you are running BonitaBPMCommunity64.exe)
At the end of the file add -Dtomcat.extra.params="-Dorg.bonitasoft.i18n.folder=<full_path_to_i18n_folder>" (replace <full_path_to_i18n_folder> with the appropriate path).
Restart Bonita BPM Studio
Note that their is some work in progress about translation to make sure that it's possible to fully translate the latest version of Bonita BPM Portal (Crowdin project should be updated soon).

manageprofiles.sh can't create DEPLOYMENT MANAGER

My goal is to create a Deployment Manager profile in my Websphere on Linux.
Reading tons of documentation pages gives just two methods:
1) using X GUI application WAS_root/bin/ProfileManagement/pmt.sh
In this case, according to manuals, i should choose Management option, click "Next" and choose Deployment Manager server type.
Actually when i run pmt.sh in my WAS installation there is no option to choose Deployment Manager in Management section and only one profile type that i'm able to create is AdminAgent.
2) using manageprofiles.sh script under WAS_root/bin directory.
The manuals say that i can use -serverType DEPLOYMENT_MANAGER option in order to create deployment manager profile.
Actually when i run the script:
./manageprofiles.sh -create -templatePath ../profileTemplates/management/ -ServerType DEPLOYMENT_MANAGER -isDefault -profileName dmgr -adminUserName websphere -adminPassword websphere1
I get the following message:
The following validation errors were present with the command line
arguments:
serverType: The value for this parameter must be within this set of values [ADMIN_AGENT]
That means that i don't have the ability to create Deployment Manager at all.
Please advise what steps i can perform to be able to install Deploy Manager except erase my WAS installation and install it from scratch once again.
Thanks a lot.
You have standalone aka base edition of WebSphere Application Server. To create Deployment Manager you need Network Deployment edition.
Unfortunately you will have to install it from scratch from different installation files (from ND, not base or developers edition).

Websphere Application Server : Clustering

So I cannot wrap my head around clustering in Websphere. The first issue I'm having is starting the deployment manager. To start it I need a profile. To create the profile I found this command within IBM documentation:
manageprofiles.sh -create -templatePath profileTemplates/dmgr/ -isDefault
-profileName dmgr
But profileTemplates/dmgr/ does not exist, does it exist in a different place, or have i missed something while installing Websphere?
If you see only "default" and "management" directories under WAS_HOME/profileTemplates then most likely this is BASE edition. You can run versionInfo command from WAS_HOME/bin and for Network Deployment it should show some thing like
Name IBM WebSphere Application Server Network Deployment
Version 8.5.5.1
ID ND
The ID is showing ND. If your ID shows BASE /Express then there would be no option to create Deployment Manager profile. You would need to install ND code.
To download Trial version of WebSphere Application Server Network Deployment
http://www.ibm.com/developerworks/downloads/ws/wasnetwork/
To download Licensed version from Passport Advantage
http://www-01.ibm.com/support/docview.wss?uid=swg27038624
VS, opinions are my own and not those of my employer

Give webservice access to windows service

I am running a webservice on server 2008 that needs access to a windows service and I need to give access to [the user that the web service is running as] via the command line.
(sorry if my wording is terrible, hopefully the brackets helped?).
I know there is a utility available with the windows 2000 resource kit (SUBINACL.exe), but is there one available in server 08 that doesn't require downloading a resource kit?
Thanks.
For everyone else wondering how to do this...
Microsoft offers a utility available for download called Subinacl.exe that allows you to do just this.
subinacl.exe /service <serviceName> /grant=Domain\AccountName=<AccessType>
For info on the different access types and on the utility in general...
subinacl.exe /help /full

Resources