If one can connect to internet, it is easy to install Eclipse Plug Ins.
Go to "Help" --> "Install New Software" --> enter url in "Work With"
But what to do when it is not possible to connect to Internet from Eclipse?
two ways:
(1) find the plug in Zip, download it to local, then use
"Help" --> "Install New Software" --> click on "Add" beside "Work With",
click on "Archive" , select the zip file from your local disk, then Open it.
(2) find the internet proxy which can be used to access internet.
Or use Fiddler (IE browser web debugging tool) to find the proxy Fiddler is using and configure in Eclipse to use it to access the plug in web sites.
Monday, September 23, 2013
Eclipse View Installation Detail
To view installation detail for Eclipse, go to "Help"-->"About Eclipse Platform" --> Click on button "Installation Details". --> click on "Configuration"
Wednesday, September 18, 2013
Oracle Portal 11g: Import/export TransportSet
Recommended way:
follow this:
http://docs.oracle.com/cd/E23943_01/portal.1111/e10239/cg_imex.htm#CCJJIBDC
Note when importing Transport Set from portal builder, if pre-check has errors, then you can still click
"Import Now" to start the importing process, but click on "Clean" to clear and recover from the errors
follow this:
http://docs.oracle.com/cd/E23943_01/portal.1111/e10239/cg_imex.htm#CCJJIBDC
Note when importing Transport Set from portal builder, if pre-check has errors, then you can still click
"Import Now" to start the importing process, but click on "Clean" to clear and recover from the errors
Tuesday, September 17, 2013
Use SVN with Eclipse
Subversion (SVN) is a popular replacement for CVS, offering improved performance (courtesy of intelligent local caching and a database back end), easy and fast branching, and an answer to every one of the shortcomings that people often run into while using CVS.
great reference here:
http://www.ibm.com/developerworks/library/os-ecl-subversion/
Eclipse: no output to the console when run ant build
Solution:
to get the output in console. you should change the JRE option in the "Edit
configuration and launch" for Ant run as to Run in same JRE as the workspace.
Refer to:
http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Freference%2Fviews%2Fdebug%2Fref-editlaunchconfig.htm for instructions on how to open the "Edit Configuration and Launch".
Refer to:
http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Freference%2Fviews%2Fdebug%2Fref-editlaunchconfig.htm for instructions on how to open the "Edit Configuration and Launch".
Monday, September 9, 2013
Weblogic wldeploy:Exclusive access to the edit lock
I have encountered this issue lately.
When deploying an application in weblogic, I received error: The following solution resolved the issue.
Original post from:
http://adfhowto.blogspot.ca/2011/07/troubleshooting-domain-edit-lock-is.html
In other not to fail but exist gracefully leaving you deployment to be applied when the Lock is released, then use nonexclusivelock option.
Using this option you ll get the following message, if another user has avquire the lock and the script will not fail:
[wldeploy] Operation is pending and will be activated or cancelled when the ongoing edit session is activated or cancelled.
In case if you use a wldeploy ant task, here is an example script
When deploying an application in weblogic, I received error: The following solution resolved the issue.
Original post from:
http://adfhowto.blogspot.ca/2011/07/troubleshooting-domain-edit-lock-is.html
Error
[Deployer:149163]The domain edit lock is owned by another session in non-exclusive mode - this deployment operation requires exclusive access to the edit lock and hence cannot proceed. If you are using "Automatically Aquire Lock and Activate Changes" in the console, then the lock will expire shortly so retry this operation.
Solution
Actually what Deployer is trying to tell you is that it tried to deployed but another user has Lock and Edit the domain . More regarding Lock and Edit in this related post.In other not to fail but exist gracefully leaving you deployment to be applied when the Lock is released, then use nonexclusivelock option.
Using this option you ll get the following message, if another user has avquire the lock and the script will not fail:
[wldeploy] Operation is pending and will be activated or cancelled when the ongoing edit session is activated or cancelled.
In case if you use a wldeploy ant task, here is an example script
<project name="deploy" default="deploy"> <property file="deploy.properties" /> <!-- Setting TaskDefinition --> <taskdef name="wldeploy" classname="weblogic.ant.taskdefs.management.WLDeploy"> <classpath> <pathelement location="${wldeploy.home}/weblogic.jar"/> </classpath> </taskdef> <!-- Deploying Applications --> <target name="deploy"> <wldeploy action="deploy" name="${deploy.name}" source="${deploy.source.path}/${deploy.source.ear}" verbose="true" adminurl="${connection.protocol}://${wls.hostname}:${wls.port}" targets="${deploy.target}" upload="true" user="${wls.username}" password="${wls.password}" usenonexclusivelock="true" /> </target> </project>
Wednesday, September 4, 2013
view the content of a keystore
The following commands allows you to see how many entries are in a keystore:
For more detailed info on keystore and import keys, refer to:
http://docs.oracle.com/javase/6/docs/technotes/tools/windows/keytool.html
http://www.sslshopper.com/article-most-common-java-keytool-keystore-commands.html
E:\>keytool -list -keystore
E:\SSL_Cert\TempKeyStore.jks
Enter keystore password:
Keystore type: JKS
Keystore provider: SUN
Your keystore contains 3 entries
alias3, 3-Sep-2013, PrivateKeyEntry,
Certificate fingerprint (SHA1):
C2:E9:8D:F3:6D:BC:02:F0:66:7B:FD:6C:69:6A:40:F1:E0:53:BA:0
8
2, 4-Sep-2013, PrivateKeyEntry,
Certificate fingerprint (SHA1):
B0:DF:C4:0B:91:92:74:B1:34:85:4E:2F:27:8C:71:41:BA:07:31:4
B
1, 3-Sep-2013, trustedCertEntry,
Certificate fingerprint (SHA1):
24:00:EF:77:DA:59:6A:89:E0:93:68:E9:84:66:EE:22:A4:A5:A0:C
C
Find the alias of a key in a p12 keystore:
keytool -list -keystore E:\SSL_Cert\xxx.p12 -storetype PKCS12
keytool -list -keystore E:\SSL_Cert\xxx.p12 -storetype PKCS12
Java Keytool Commands for Checking
If you need to check the information within a certificate, or Java keystore, use these commands.- Check a stand-alone certificate
keytool -printcert -v -file mydomain.crt
- Check which certificates are in a Java keystore
keytool -list -v -keystore keystore.jks
- Check a particular keystore entry using an alias
keytool -list -v -keystore keystore.jks -alias mydomain
For more detailed info on keystore and import keys, refer to:
http://docs.oracle.com/javase/6/docs/technotes/tools/windows/keytool.html
http://www.sslshopper.com/article-most-common-java-keytool-keystore-commands.html
Kill a process in windows with PID
taskkill /im myprocess.exe /f
The "/f" is for "force".
If you know the PID, then you can specify that, as in:taskkill /pid 1234 /f
Lots of other options are possible, just type taskkill /? for all of
them. The "/t" option kills a process and any child processes; that may
be useful to you.
Subscribe to:
Posts (Atom)