Sun Application Server Startup Command: /opt/SUNWappserver/bin/asadmin start-domain --domaindir /opt/SUNWappserver/domains --user admin

Thursday, February 14, 2008

Java Mail

import java.util.*;
import javax.mail.*;
import javax.mail.internet.*;

Properties property = new Properties();
property.put("smtp server", "test.com");
Session s = Session.getInstance(property,null);
MimeMessage message = new MimeMessage(s);
InternetAddress from = new InternetAddress("from@test.com");
message.setFrom(from);
InternetAddress to = new InternetAddress("to@test.com");
message.addRecipient(Message.RecipientType.TO, to);

message.setSubject("Test from JavaMail.");
message.setText("Hello from JavaMail!");
Transport.send(message);

Thursday, February 07, 2008

Event ID Errors: 6398, and 6641 on Event Log

If you find out there is still no use for solution on http://support.microsoft.com/?id=946517 and http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1205873&SiteID=1

Try this:
Central Administration > Application Management > Check Services Enabled in this Farm > Check Services Enabled in this Farm
and see if any service has error on the page.

Then open IIS Manager, Go to Application Pools, check every application pool has wrong access user name and password.

Wednesday, February 06, 2008

Interrupt Upgrade SP service by getting "http://go.microsoft.com/fwlink?LinkID=96177"

Open SQL Server and run SQL comment

USE master;
GO
EXEC sp_configure 'show advanced option', '1';

You can review it by using
EXEC sp_configure;

Then run =>Start/Program/Microsoft Office Server/Configures SharePoint Products and Technologies.

Someone also recommend to run command in command window
psconfig -cmd upgrade -force
Then run =>Start/Program/Microsoft Office Server/Configures SharePoint Products and Technologies.