This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# first run the program. it comes as a single JAR with no dependencies | |
$ java -jar jmxterm-1.0-alpha-4-uber.jar | |
# 'open' starts a connection to a process. use the standard host:port format | |
$>open somehost:8999 | |
# 'help' will display available commands | |
$>help | |
#following commands are available to use: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$>info -b com.imprev:context=StingrayTest,group=queues,name=handleCreatePrintMailJobTrigger,scheduler=OmcUiInstallDeploy,type=schedulers | |
#mbean = com.imprev:context=StingrayTest,group=queues,name=handleCreatePrintMailJobTrigger,scheduler=OmcUiInstallDeploy,type=schedulers | |
#class name = com.imprev.mbeans.quartz.TriggerManagement | |
# attributes | |
%0 - Description (java.lang.String, r) | |
%1 - FullName (java.lang.String, r) | |
%2 - JobClass (java.lang.String, r) | |
%3 - JobGroup (java.lang.String, r) | |
%4 - JobName (java.lang.String, r) | |
%5 - JobState (java.lang.String, r) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$>run -b com.imprev:context=StingrayTest,group=queues,name=handleCreatePrintMailJobTrigger,scheduler=OmcUiInstallDeploy,type=schedulers executeNow | |
#calling operation executeNow of mbean com.imprev:context=StingrayTest,group=queues,name=handleCreatePrintMailJobTrigger,scheduler=OmcUiInstallDeploy,type=schedulers | |
#operation returns: | |
null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# create a new shell account to use to publish maven artifacts | |
useradd maven | |
# set a password for this account | |
passwd maven | |
cd /www/mydocroot | |
mkdir maven | |
chown maven maven |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd $HOME | |
cd .m2 (you may have to mkdir ~/.m2 if it doesn't exist already) | |
vi settings.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<settings> | |
<servers> | |
<server> | |
<id>bitmechanic</id> | |
<username>maven</username> | |
<password>yourpasswordhere</password> | |
<filePermissions>664</filePermissions> | |
<directoryPermissions>775</directoryPermissions> | |
<configuration></configuration> | |
</server> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /tmp | |
wget http://googleappengine.googlecode.com/files/appengine-java-sdk-1.3.0.zip | |
unzip appengine-java-sdk-1.3.0.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# EDIT THESE: | |
# version of app engine: | |
VERSION=1.3.0 | |
# your repository id from settings.xml: | |
REPOSITORY=bitmechanic | |
# url for deployment. here's what an scp one looks like |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chmod 755 app_engine_to_mvn.sh | |
cd appengine-java-sdk-1.3.0 | |
../app_engine_to_mvn.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<dependency> | |
<groupId>com.google</groupId> | |
<artifactId>appengine-tools</artifactId> | |
<version>1.3.0</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>com.google</groupId> | |
<artifactId>appengine-local-runtime-shared</artifactId> |