How to extend the portal server certificate
Hi,
Can anybody guide me how to extend the certificate of Portal server.
Thanks a lot.
Asta
Check profile parameters,
you usually do this as below
1) use transaction RZ10
2) choose instance profile, 'extended maintenance', then 'Change'
3) make sure that "login/create_sso2_ticket" is set to "2" and "login/accepte_sso2_ticket" set to "1"
Hope it Helps
Chetan
@CP..
Similar Messages
-
How to Integrate the portal server with Third party system
Hi Experts,
I got a requirement to create a integration between portal server and thrid party system.
If anybody have specific document for this kindly circulate the same to [email protected]
For every inputs higher points will be rewarded.....
Thanks in Advance,
JasmineJasmine,
You don't mention which third-party?
There are many complient/supported third-party apps/ and APIs available.
Check https://www.sdn.sap.com/irj/sdn/developerareas/was?rid=/webcontent/uuid/e081a4b6-0801-0010-7fa4-c3c7a0454815
further.
James -
How to add the SSO Server Administration portlet to portal
hi
I want to use SSO Server Administration portlet ,but when i Navigator to the administer tab .in the portal suntab there is not SSO Server Administration .I want to know why? and how to add the SSO Server Administration portlet to portal.(note:the portal system havn't SSO Server Administration portlet ) .how could i can do it. help !~help!thank you IPeters .this problem was solved. the way is: login the portal with orcladmin and the password is the Infru password. In the administrator sub i see the SSO Server Administration portlet .
thank you very much. -
How to extend the time of jar certificate
i have created the the keystore using keytool
then signed the jar using jarsigner
but its giving my jar is certified for six months only.
my question is how can i extend the certificate period???Since you don't say how you generated the key and certificate that you placed in the keystore I shall assume that you generated the key and self-signed certificate using 'keytool'(1). When you looked at the documentation for 'keytool' did the option not jump out at you?
(1) The only thing that hints that this is not the case is that the default validity period for 'keytool' is documented as 90 days and not 6 months. -
Deploying a war file to the portal server
Hi,
I have downloaded a portlet (portletsamples.war) from the following URL,
http://developers.sun.com/prodtech/portalserver/reference/techart/jsr168/
Could I know how to deploy this war file to SUN ONE Portal server 6.0?
--Muthui used the following command
/opt/SUNWps/bin/pdeploy deploy -u "amadmin" -w password -d "dc=cmarks,dc=com" -p password /opt/madiha/me.war
It gives the error
errorStoreDP (User does not have sufficient access.)
1)does it matter if the portal server is started or not when we deploy?
2)i am logged in to the machine as the super user "root" but yet it is throwing this error
the error that i get in the pdeply.debug file is
ERROR: Exception:
com.sun.portal.desktop.context.ContextError: DSAMEConnection.setTemplateAttribute(): , dn=dc=cmarks,dc=com, serviceName= SunPortalDesktopService, sunPortalDesktopDpDocument=
com.iplanet.am.sdk.AMException: User does not have sufficient access.
at com.sun.portal.desktop.context.DSAMEConnection.setTemplateAttribute(DSAMEConnection.java:1050)
at com.sun.portal.desktop.context.DSAMEConnection.setAttributeByDN(DSAMEConnection.java:518)
at com.sun.portal.desktop.context.DSAMEAdminDPContext.storeDPDocumentByDN(DSAMEAdminDPContext.java:210)
at com.sun.portal.portlet.cli.PDDPUpdater.storeDPDocument(PDDPUpdater.java:232)
at com.sun.portal.portlet.cli.PDDPUpdater.addProviders(PDDPUpdater.java:98)
at com.sun.portal.portlet.cli.PDDeploy.process(PDDeploy.java:229)
at com.sun.portal.portlet.cli.PortletDeployerCommand.runCommand(PortletDeployerCommand.java:208)
at com.sun.portal.portlet.cli.PortletDeployerMain.main(PortletDeployerMain.java:54)
com.iplanet.am.sdk.AMException: User does not have sufficient access.
at com.iplanet.am.sdk.AMDirectoryManager.setAttributes(AMDirectoryManager.java:2136)
at com.iplanet.am.sdk.AMCacheManager.setAttributes(AMCacheManager.java:867)
at com.iplanet.am.sdk.AMObjectImpl.store(AMObjectImpl.java:1573)
at com.iplanet.am.sdk.AMObjectImpl.store(AMObjectImpl.java:1514)
at com.sun.portal.desktop.context.DSAMEConnection.setTemplateAttribute(DSAMEConnection.java:992)
at com.sun.portal.desktop.context.DSAMEConnection.setAttributeByDN(DSAMEConnection.java:518)
at com.sun.portal.desktop.context.DSAMEAdminDPContext.storeDPDocumentByDN(DSAMEAdminDPContext.java:210)
at com.sun.portal.portlet.cli.PDDPUpdater.storeDPDocument(PDDPUpdater.java:232)
at com.sun.portal.portlet.cli.PDDPUpdater.addProviders(PDDPUpdater.java:98)
at com.sun.portal.portlet.cli.PDDeploy.process(PDDeploy.java:229)
at com.sun.portal.portlet.cli.PortletDeployerCommand.runCommand(PortletDeployerCommand.java:208)
at com.sun.portal.portlet.cli.PortletDeployerMain.main(PortletDeployerMain.java:54)
can somebody plz help? -
Step by Step : How to Create an SSL Server Certificate (Part 3)
How to Create an SSL Server Certificate (Part 3)
In the previous part you have completed step 10, now you are almost there.
Step 11:
This is another very important step.
Leave the settings as is or tick more options if you know what you do.
Step 12:
Again leave as it is.
Step 13:
Another important step !
In the DNS Name field enter the host name(s) separated by spaces (or commas), e.g.
myserver.name.private myserver.dyndns.org
You can enter your local IP if you wish.
Step 14:
Certificate Assistant now procedes to create your certificate. Within a few seconds you should see the new certificate in your Keychain.
Switch to Server App (if at this stage Server App has crashed, don't worry , re-open Server App and proceed.
Repeat step 2 described in Part 1 and select the new certificate from the drop-down menu of available certificates.
You may want to use this certificate for all services (iChat, iCal, Mail, Web) or create different ones.
If you use the same certificate for all services the name of the certificate is diplayed next to "SSL Certificate", if you don't you will see "Custom" instead.
Addendum:
1. Do not forget to open port 443 in your router to enable https connections.
2. Enable SSL in your iCal account settings if you wish.
Enjoy your server !Hi,
Are you talking about the Mercedes leaderboard ad? Because that look a lot more complicated than "fade in - fade out" images?
Anyway... I am looking at the easiest way to create a banner ad with fade in - fade out images that I have created in illustrator.
This tutorial helped me alot.
http://www.youtube.com/watch?v=gFw-1D8yaMs&NR=1
cheers -
Deploy a JSP file onto the Portal Server ?
Hello All,
I have a jsp file with me.
Now I just want to deploy it on to the Portal server.
Should I create a JSP Dynpage ?
I've the complete jsp file . Shud i need to do anything to convert it into a jsp dynpage ?
Can anyone tell me the procedure of how to achieve this ?
Regards,
Deepu.KHi Deepu,
check SAP Library section <a href="http://help.sap.com/saphelp_nw70/helpdata/en/de/7f5d7b186e4430ae40e5e4382c280e/frameset.htm">Portal Development Manual</a> for more information about portal development.
For example in section <a href="http://help.sap.com/saphelp_nw70/helpdata/en/44/46bb8670e20597e10000000a155369/frameset.htm">Deploying the Portal Application</a> SAP describes how to deploy portal applications (including JSP Dynpages).
Best regards,
Martin -
How to configure the smtp server..
i had an error when running the java mail program..
this is my program
import javax.mail.*;
import javax.mail.internet.*;
import javax.activation.*;
import java.io.*;
import java.util.Properties;
public class MailClient
public void sendMail(String mailServer, String from, String to,
String subject, String messageBody,
String[] attachments) throws
MessagingException, AddressException
// Setup mail server
Properties props = System.getProperties();
props.put("mail.smtp.host", mailServer);
// Get a mail session
Session session = Session.getDefaultInstance(props, null);
// Define a new mail message
Message message = new MimeMessage(session);
message.setFrom(new InternetAddress(from));
message.addRecipient(Message.RecipientType.TO, new InternetAddress(to));
message.setSubject(subject);
// Create a message part to represent the body text
BodyPart messageBodyPart = new MimeBodyPart();
messageBodyPart.setText(messageBody);
//use a MimeMultipart as we need to handle the file attachments
Multipart multipart = new MimeMultipart();
//add the message body to the mime message
multipart.addBodyPart(messageBodyPart);
// add any file attachments to the message
// addAtachments(attachments, multipart);
// Put all message parts in the message
message.setContent(multipart);
// Send the message
Transport.send(message);
protected void addAtachments(String[] attachments, Multipart multipart)
throws MessagingException, AddressException
for(int i = 0; i<= attachments.length -1; i++)
String filename = attachments;
MimeBodyPart attachmentBodyPart = new MimeBodyPart();
//use a JAF FileDataSource as it does MIME type detection
DataSource source = new FileDataSource(filename);
attachmentBodyPart.setDataHandler(new DataHandler(source));
//assume that the filename you want to send is the same as the
//actual file name - could alter this to remove the file path
attachmentBodyPart.setFileName(filename);
//add the attachment
multipart.addBodyPart(attachmentBodyPart);
public static void main(String[] args)
try
MailClient client = new MailClient();
String server="smtp.canvasindia.com";
String from="[email protected]";
String to = "[email protected]";
String subject="Test";
String message="Testing";
String[] filenames ={"c:/A.java"};
client.sendMail(server,from,to,subject,message,filenames);
catch(Exception e)
e.printStackTrace(System.out);
the error is .................
javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
com.sun.mail.smtp.SMTPAddressFailedException: 553 Attack detected from p
ool 59.144.8.116. <http://unblock.secureserver.net/?ip=59.144.8.*>
at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1196)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:584)
at javax.mail.Transport.send0(Transport.java:169)
at javax.mail.Transport.send(Transport.java:98)
at MailClient.sendMail(MailClient.java:47)
at MailClient.main(MailClient.java:84)
Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 553 Attack detected fro
m pool 59.144.8.116. <http://unblock.secureserver.net/?ip=59.144.8.*>
at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1047)
... 5 more
how to configure the smtp server in my machine..
please guide me...This uses gmail account, and gmail smtp
* MailSender.java
* Created on 14 November 2006, 17:07
* This class is used to send mails to other users
package jmailer;
* @author Abubakar Gurnah
import javax.mail.*;
import javax.mail.internet.*;
import java.util.*;
public class MailSender{
private String d_email,d_password;
* This example is for gmail, you can use any smtp server
* @param d_email --> your gmail account e.g. [email protected]
* @param d_password --> your gmail password
* @param d_host --> smtp.gmail.com
* @param d_port --> 465
* @param m_to --> [email protected]
* @param m_subject --> Subject of the message
* @param m_text --> The main message body
public String send(String d_email,String d_password,String d_host,String d_port,
String m_from,String m_to,String m_subject,String m_text ) {
this.d_email=d_email;
this.d_password=d_password;
Properties props = new Properties();
props.put("mail.smtp.user", d_email);
props.put("mail.smtp.host", d_host);
props.put("mail.smtp.port", d_port);
props.put("mail.smtp.starttls.enable","true");
props.put("mail.smtp.auth", "true");
//props.put("mail.smtp.debug", "true");
props.put("mail.smtp.socketFactory.port", d_port);
props.put("mail.smtp.socketFactory.class", "javax.net.ssl.SSLSocketFactory");
props.put("mail.smtp.socketFactory.fallback", "false");
SecurityManager security = System.getSecurityManager();
try {
Authenticator auth = new SMTPAuthenticator();
Session session = Session.getInstance(props, auth);
//session.setDebug(true);
MimeMessage msg = new MimeMessage(session);
msg.setText(m_text);
msg.setSubject(m_subject);
msg.setFrom(new InternetAddress(m_from));
msg.addRecipient(Message.RecipientType.TO, new InternetAddress(m_to));
Transport.send(msg);
return "Successful";
} catch (Exception mex) {
mex.printStackTrace();
return "Fail";
//public static void main(String[] args) {
// MailSender blah = new MailSender();
private class SMTPAuthenticator extends javax.mail.Authenticator {
public PasswordAuthentication getPasswordAuthentication() {
return new PasswordAuthentication(d_email, d_password);
} -
Could not start the portal server after installing Portal Source Code
Hi all, I try to install the portal source code and compile portal source code on the development computer. It does not work. I use Visual Studio 2002. Now I can not start the portal server. I got the error. I delete source code from webapp\portal folder. I still get the following error.
948 03-14 11:16:20 Error UI Infrastructure 3328 3340 com.plumtree.uiinfrastructure.activityspace.Interpreter.HandleRequest() Unable to load request data._System.NullReferenceException_ at com.plumtree.uiinfrastructure.application.RequestData.LoadQSSettings() at com.plumtree.uiinfrastructure.activityspace.Interpreter.HandleRequest(IXPRequest request, IXPResponse response, ISessionManager session, IApplication application)949 03-14 11:16:20 Error UI Infrastructure 3328 3340 com.plumtree.uiinfrastructure.activityspace.Interpreter.HandleError() Server error._System.NullReferenceException_ at com.plumtree.uiinfrastructure.application.RequestData.LoadQSSettings() at com.plumtree.uiinfrastructure.activityspace.Interpreter.HandleRequest(IXPRequest request, IXPResponse response, ISessionManager session, IApplication application)950 03-14 11:16:20 Info UI Infrastructure 3328 3340 com.plumtree.uiinfrastructure.activityspace.Interpreter.DisplayServerErrorPage() Server error, redirecting to error page.951 03-14 11:16:20 Error UI Infrastructure 3328 3340 com.plumtree.uiinfrastructure.activityspace.Interpreter.HandleError() Error displaying error page._com.plumtree.openfoundation.util.XPException_ at System.Environment.GetStackTrace(Exception e) at System.Environment.GetStackTrace(Exception e) at System.Environment.get_StackTrace() at com.plumtree.openfoundation.util.XPException..ctor(String message) at com.plumtree.portaluiinfrastructure.login.PTPersonalSettingsHelper.GetPersonalSettingValue(String sSettingName, ISessionManager sessionManager, IApplication application, IPTSession ptSession) at com.plumtree.portaluiinfrastructure.login.PTPersonalSettingsHelper.GetPersonalSettingValue(String sSettingName, AActivitySpace asSpace) at com.plumtree.portalpages.common.uiparts.NavigationModel.Init(AActivitySpace parent) at com.plumtree.uiinfrastructure.activityspace.AActivitySpace.RegisterModel(String modelName, String storageName) at com.plumtree.uiinfrastructure.activityspace.AActivitySpace.RegisterModel(String modelName) at com.plumtree.portalpages.common.uiparts.PlumtreeAS.Init() at com.plumtree.portalpages.common.error.ErrorAS.Init() at com.plumtree.uiinfrastructure.activityspace.Interpreter.CreateSpace(RequestData tempData) at com.plumtree.uiinfrastructure.activityspace.Interpreter.DisplayServerErrorPage(RequestData tempData) at com.plumtree.uiinfrastructure.activityspace.Interpreter.HandleError(Exception e, Boolean bDisplayErrorInComments, RequestData tempData) at com.plumtree.uiinfrastructure.activityspace.Interpreter.HandleRequest(IXPRequest request, IXPResponse response, ISessionManager session, IApplication application) at com.plumtree.uiinfrastructure.activityspace.Interpreter.DoService(IXPRequest request, IXPResponse response, ISessionManager session, IApplication application) at com.plumtree.uiinfrastructure.web.XPPage.Service(HttpRequest httpRequest, HttpResponse httpResponse, HttpSessionState httpSession, HttpApplicationState httpApplication) at com.plumtree.portaluiinfrastructure.activityspace.PlumHandler.ProcessRequest(HttpContext context) at System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) at System.Web.HttpApplication.ResumeSteps(Exception error) at System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) at System.Web.HttpRuntime.ProcessRequest(HttpWorkerRequest wr) at System.Web.Hosting.ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
I don't know how to fix this problem. Should I reinstall portal server? Thank you for your help! JanHi all, I try to install the portal source code and compile portal source code on the development computer. It does not work. I use Visual Studio 2002. Now I can not start the portal server. I got the error. I delete source code from webapp\portal folder. I still get the following error.
948 03-14 11:16:20 Error UI Infrastructure 3328 3340 com.plumtree.uiinfrastructure.activityspace.Interpreter.HandleRequest() Unable to load request data._System.NullReferenceException_ at com.plumtree.uiinfrastructure.application.RequestData.LoadQSSettings() at com.plumtree.uiinfrastructure.activityspace.Interpreter.HandleRequest(IXPRequest request, IXPResponse response, ISessionManager session, IApplication application)949 03-14 11:16:20 Error UI Infrastructure 3328 3340 com.plumtree.uiinfrastructure.activityspace.Interpreter.HandleError() Server error._System.NullReferenceException_ at com.plumtree.uiinfrastructure.application.RequestData.LoadQSSettings() at com.plumtree.uiinfrastructure.activityspace.Interpreter.HandleRequest(IXPRequest request, IXPResponse response, ISessionManager session, IApplication application)950 03-14 11:16:20 Info UI Infrastructure 3328 3340 com.plumtree.uiinfrastructure.activityspace.Interpreter.DisplayServerErrorPage() Server error, redirecting to error page.951 03-14 11:16:20 Error UI Infrastructure 3328 3340 com.plumtree.uiinfrastructure.activityspace.Interpreter.HandleError() Error displaying error page._com.plumtree.openfoundation.util.XPException_ at System.Environment.GetStackTrace(Exception e) at System.Environment.GetStackTrace(Exception e) at System.Environment.get_StackTrace() at com.plumtree.openfoundation.util.XPException..ctor(String message) at com.plumtree.portaluiinfrastructure.login.PTPersonalSettingsHelper.GetPersonalSettingValue(String sSettingName, ISessionManager sessionManager, IApplication application, IPTSession ptSession) at com.plumtree.portaluiinfrastructure.login.PTPersonalSettingsHelper.GetPersonalSettingValue(String sSettingName, AActivitySpace asSpace) at com.plumtree.portalpages.common.uiparts.NavigationModel.Init(AActivitySpace parent) at com.plumtree.uiinfrastructure.activityspace.AActivitySpace.RegisterModel(String modelName, String storageName) at com.plumtree.uiinfrastructure.activityspace.AActivitySpace.RegisterModel(String modelName) at com.plumtree.portalpages.common.uiparts.PlumtreeAS.Init() at com.plumtree.portalpages.common.error.ErrorAS.Init() at com.plumtree.uiinfrastructure.activityspace.Interpreter.CreateSpace(RequestData tempData) at com.plumtree.uiinfrastructure.activityspace.Interpreter.DisplayServerErrorPage(RequestData tempData) at com.plumtree.uiinfrastructure.activityspace.Interpreter.HandleError(Exception e, Boolean bDisplayErrorInComments, RequestData tempData) at com.plumtree.uiinfrastructure.activityspace.Interpreter.HandleRequest(IXPRequest request, IXPResponse response, ISessionManager session, IApplication application) at com.plumtree.uiinfrastructure.activityspace.Interpreter.DoService(IXPRequest request, IXPResponse response, ISessionManager session, IApplication application) at com.plumtree.uiinfrastructure.web.XPPage.Service(HttpRequest httpRequest, HttpResponse httpResponse, HttpSessionState httpSession, HttpApplicationState httpApplication) at com.plumtree.portaluiinfrastructure.activityspace.PlumHandler.ProcessRequest(HttpContext context) at System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) at System.Web.HttpApplication.ResumeSteps(Exception error) at System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) at System.Web.HttpRuntime.ProcessRequest(HttpWorkerRequest wr) at System.Web.Hosting.ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
I don't know how to fix this problem. Should I reinstall portal server? Thank you for your help! Jan -
How to access the portal database ?
Hi ,
1. How to access the portal database from an abstract portal component program ?
2. How to insert data to the Table from the abstract portal component program ?
Please provide me some direction to proceed .
plz send me the steps how to access the Database using SQL.
Thanks
Smita
Edited by: Smita Mohanty on Nov 14, 2008 9:21 AMHi Smita,
In case your portal has MS SQL server as its databse, then I am giving the step by step directions to achieve 90% of what you wish to do. Rest 10% you can try on your own.
Go through my article given below:
[How to Create a Web Service using Enterprise JavaBeans|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/b00917dc-ead4-2910-3ebb-b0a63e49ef10]
First go through pages 1-12 which will help you to create user/table in MS SQL database as well as create a data source in Visual Admin. Page 19 will give you the code which you can use in your Portal component to access the tables you have created in your SQL database.
I hope your problem gets solved.
Bye
Ankur -
How to compare two portal server settings
Hi,
How to compare two portal server configuration settings? For example I want to compare sandbox with development portal server their entire configuration set up and settings details comparision. Is there any option/solution for this.There is no standard or OOTB solution for comparing the configuration of 2 portal .. atleast to my knowledge. If you can specify which configuration you want to focus .. may be I can provide some tips n tricks.
Regards,
Mahesh -
How can debugge the portal application
hi sdn,
how can we debugge the portal application.what are steps are needed for this
any documents please forward me.Hi Kiran,
Following is the steps for debugging the portal application.
<b>Steps for Debugging</b>
<i><b>1. Stop the Portal Server if Running.</b></i>
<i>
<b>2. Launch the Config tool of J2EE Engine & Set Up the debugging of the current instance.</b></i>
 The Config tool is located in the directory ,
<J2EE-Install-Dir>\JC00\j2ee\configtool\configtool.bat
 Switch to the current instance & go to the debug tab.
 Set Enable Debug Mode checked, start the VM of J2EE in debug mode.
 Set a valid debug port, default port is 50021.
 Save the settings and restart the J2EE Engine.
<i><b>3. Restart the Portal Server.</b></i>
<i><b>4. Open SAP Netweaver Developer Studio.</b></i> Go to Window --- > Open Perspective --- > Enterprise Portal & also open the Debug perspective.
 This enables you to develop & deploy EP Components to your development Portal.
<i><b>5. Configure Development Environment for Debugging.</b></i>
 Create new Remote Java Application debug settings.
 Pressing the debug button attaches the SAP Netweaver Developer Studio to the Specified portal installation.
 Go to Debug --- > Remote Java Application & create a new setting for your current Portal Application Project.
 Insert the portals DNS or IP Address and the debug port specified in the Config tool, default port is 50021.
 If the portal runs on the local machine you can enter localhost instead of IP address or DNS name.
 Make sure that your Portal Application is already deployed in the portal.
<i><b>6. If the connection is attached to the J2EE engines VM session, the SAP Netweaver Studio is ready to debug.</b></i>
<u><b>BREAKPOINTS</b></u>
<i>A Breakpoint causes the execution of a program thread to suspend at the location here the breakpoint is set.</i>
<i><b>7. Set a breakpoint in your custom coding. The debugger will stop if the VM reaches this marked code line.</b></i>
To enable the breakpoint,
 Locate the breakpoint in the marker bar of an editor.
 Open the breakpoints context menu & select Enable Breakpoint.
 The breakpoint image will change back to a blue circle.
<b>VARIABLE VIEW</b>
<i>The variables view contains information about the variables in the currently-selected stack frame.</i>
<i><b>8. To Launch the Variables View :,</b></i>
Choose Window -- > Show View -- > Other -- > Select Debug -- > Variables View.
<i><b>9. Force the Portal to execute your deployed coding.</b></i> The VM stops at the specified break point.
10. The current values of the member variables can be tracked in the Variables window of SAP Netweaver Developer Studio.
<i><b>** Reward points if you find this Post Useful & Helpful.</b></i>
<i>Regards,
Eben.</i> -
How to extend the functionality of Smtp through servlets
hi
will some one tell me how to extend the functionality of SMTP server through servelts
bye[samreenkazi],
Here's some code that might help you get a servlet to send e-mails out by using the sun.net.smtp.SmtpClient class:
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
import sun.net.smtp.SmtpClient;
public class SendMailMessageServlet extends HttpServlet {
static final String to = "[email protected]";
public void doGet(HttpServletRequest req, HttpServletResponse res)
throws ServletException, IOException {
res.setContentType("text/html");
PrintWriter out = res.getWriter();
//grab the values of each field
String name = req.getParameter("name");
String feedback = req.getParameter("feedback");
String mailfrom = req.getParameter("mailfrom");
//Notify the sender of his/her feedback
out.println("<HTML>");
out.println("<HEAD><TITLE>Mail sent successfully</TITLE></HEAD>");
out.println("<BODY>");
out.println("Your e-mail has been sent successfully");
out.println("</BODY></HTML>");
//Send an e-mail
SmtpClient smtp = new SmtpClient(); //assume localhost
smtp.from(mailfrom);
smtp.to(to);
PrintStream msg = smtp.startMessage();
msg.println("To: " + to); // mailers will display the To: address
msg.println("From: " + mailfrom); //mailers will display the From: address
msg.println("Subject: Hello World !");
msg.println();
msg.println("Hello World");
smtp.closeServer();
}Note that the sun.net.smtp.SmtpClient class has limited capabilities. A better alternative is to use the JavaMail API and when you download the JavaMail packages, there are some sample example code that may help you.
HTH.
Allen Lai
Developer Technical Support
SUN Microsystems
http://www.sun.com/developers/support/ -
How to extend the windows 2003 C drive
How to extend the windows 2003 C drive ..? one of my DC is running out of space.
Please advice
KrishnaIf you make a BartPE bootable ISO or CD, you can add a 'DiskPart' folder in your Plugins folder. Then put the following contents inside that 'DiskPart' folder. The file name should be "DiskPart.inf"
This will allow you to boot from the BartPE CD, open a command prompt, and use Diskpart like you would from within Windows normally. We extended C drives of old systems (VMs) many times this way. I'm reasonably sure our BartPE CD is based
of Server 2003 Standard SP2.
[Version]
Signature= "$Windows NT$"
[PEBuilder]
Name="Diskpart functionality in Win2k3 - SP1 only"
; Assisted with this understanding was:
; http://support.microsoft.com/?kbid=910380
; http://technet2.microsoft.com/WindowsServer/en/Library/89c3a36a-d3e2-4462-8893-7a384b118c6b1033.mspx
; http://windowssdk.msdn.microsoft.com/library/default.asp?url=/library/en-us/vds/base/vds_interfaces.asp
Enable=1
[SourceDisksFiles]
Ftdisk.sys=4
Partmgr.sys=4
Volsnap.sys=4
Swprv.dll=2
Eventcls.dll=2
Vssadmin.exe=2
Vssapi.dll=2
Vssui.dll=2
Vssvc.exe=2
Vss_ps.dll=2
Diskpart.exe=2
[Default.AddReg]
; Runs dependent DLL registration for Application usage
; 0x1= REG_SZ
; 0x2= REG_EXPAND_SZ
; 0x1, "Software\Microsoft\Windows\CurrentVersion\Run", "DiskPartSupport", "%systemroot%\system32\regsvr32.exe /s %systemroot%\system32\vss_ps.dll"
; removed because the reg key is not read unless you use explorer as a shell.
[SetupReg.AddReg.3790]
; Win2k3 SP1 Only: RpcSS needs to lanuch DComLaunch Service first.
0x7, "ControlSet001\Services\RpcSs","DependOnService","DcomLaunch"
; New DComLaunch Service in Win2k3 SP1
0x1,"ControlSet001\Services\DcomLaunch","Description","DCOM Services"
0x1,"ControlSet001\Services\DcomLaunch","DisplayName","DCOM Services"
0x4,"ControlSet001\Services\DcomLaunch","ErrorControl",0x1
0x1,"ControlSet001\Services\DcomLaunch","Group","Event Log"
0x2,"ControlSet001\Services\DcomLaunch","ImagePath","svchost -k DcomLaunch"
0x1,"ControlSet001\Services\DcomLaunch","ObjectName","LocalSystem"
0x4,"ControlSet001\Services\DcomLaunch","Start",0x2
0x4,"ControlSet001\Services\DcomLaunch","Type",0x20
0x3,"ControlSet001\Services\DcomLaunch","FailureActions",\
00,00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,00,00,00,00,02,00,00,00,60,\
ea,00,00
0x1,"ControlSet001\Services\DcomLaunch\Enum","0","Root\LEGACY_DCOMLAUNCH\0000"
0x4,"ControlSet001\Services\DcomLaunch\Enum","Count",0x1
0x4,"ControlSet001\Services\DcomLaunch\Enum","NextInstance",0x1
0x2,"ControlSet001\Services\DcomLaunch\Parameters","ServiceDll","rpcss.dll"
0x3,"ControlSet001\Services\DcomLaunch\Security","Security",\
01,00,14,80,b4,00,00,00,c0,00,00,00,14,00,00,00,34,00,00,00,02,00,20,00,01,\
00,00,00,02,80,18,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,00,00,20,02,\
00,00,02,00,80,00,05,00,00,00,00,03,18,00,8d,00,02,00,01,01,00,00,00,00,00,\
01,00,00,00,00,00,00,00,00,00,03,18,00,ff,01,0f,00,01,02,00,00,00,00,00,05,\
20,00,00,00,20,02,00,00,00,03,18,00,8f,00,02,00,01,02,00,00,00,00,00,05,20,\
00,00,00,23,02,00,00,00,03,18,00,9d,00,00,00,01,01,00,00,00,00,00,05,04,00,\
00,00,23,02,00,00,00,03,18,00,9d,00,00,00,01,02,00,00,00,00,00,05,20,00,00,\
00,21,02,00,00,01,01,00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,\
12,00,00,00
0x1,"ControlSet001\Enum\Root\LEGACY_DCOMLAUNCH\0000","Service","DcomLaunch"
0x4,"ControlSet001\Enum\Root\LEGACY_DCOMLAUNCH\0000","Legacy",0x1
0x4,"ControlSet001\Enum\Root\LEGACY_DCOMLAUNCH\0000","ConfigFlags",0x0
0x1,"ControlSet001\Enum\Root\LEGACY_DCOMLAUNCH\0000","Class","LegacyDriver"
0x1,"ControlSet001\Enum\Root\LEGACY_DCOMLAUNCH\0000","ClassGUID","{8ECC055D-047F-11D1-A537-0000F8753ED1}"
0x1,"ControlSet001\Enum\Root\LEGACY_DCOMLAUNCH\0000","DeviceDesc","DCOM Services."
0x1,"ControlSet001\Enum\Root\LEGACY_DCOMLAUNCH\0000\Control","ActiveService","DcomLaunch"
0x4,"ControlSet001\Enum\Root\LEGACY_DCOMLAUNCH","NextInstance",0x1
[Software.AddReg]
0x1,"Classes\CLSID\{E0393303-90D4-4A97-AB71-E9B671EE2729}",,"VDS ProxyStub"
0x2,"Classes\CLSID\{E0393303-90D4-4A97-AB71-E9B671EE2729}\InprocServer32",,"%SystemRoot%\System32\vds_ps.dll"
0x1,"Classes\CLSID\{E0393303-90D4-4A97-AB71-E9B671EE2729}\InprocServer32","ThreadingModel","Both"
0x1,"Classes\CLSID\{F2C2787D-95AB-40D4-942D-298F5F757874}",,"PSFactoryBuffer"
0x2,"Classes\CLSID\{F2C2787D-95AB-40D4-942D-298F5F757874}\InprocServer32",,"%SystemRoot%\System32\vds_ps.dll"
0x1,"Classes\CLSID\{F2C2787D-95AB-40D4-942D-298F5F757874}\InprocServer32","ThreadingModel","Both"
0x1,"Classes\Interface\{88306BB2-E71F-478C-86A2-79DA200A0F11}",,"IVdsVolume"
0x1,"Classes\Interface\{88306BB2-E71F-478C-86A2-79DA200A0F11}\ProxyStubClsid32",,"{E0393303-90D4-4A97-AB71-E9B671EE2729}"
0x1,"Classes\Interface\{9882F547-CFC3-420B-9750-00DFBEC50662}",,"IVdsCreatePartitionEx"
0x1,"Classes\Interface\{9882F547-CFC3-420B-9750-00DFBEC50662}\ProxyStubClsid32",,"{E0393303-90D4-4A97-AB71-E9B671EE2729}"
0x1,"Classes\Interface\{98F17BF3-9F33-4F12-8714-8B4075092C2E}",,"IVdsHwProviderPrivate"
0x1,"Classes\Interface\{98F17BF3-9F33-4F12-8714-8B4075092C2E}\ProxyStubClsid32",,"{E0393303-90D4-4A97-AB71-E9B671EE2729}"
0x1,"Classes\Interface\{9AA58360-CE33-4F92-B658-ED24B14425B8}",,"IVdsSwProvider"
0x1,"Classes\Interface\{9AA58360-CE33-4F92-B658-ED24B14425B8}\ProxyStubClsid32",,"{E0393303-90D4-4A97-AB71-E9B671EE2729}"
0x1,"Classes\Interface\{CB53D96E-DFFB-474A-A078-790D1E2BC082}\ProxyStubClsid32",,"{E0393303-90D4-4A97-AB71-E9B671EE2729}"
0x1,"Classes\Interface\{D188E97D-85AA-4D33-ABC6-26299A10FFC1}",,"IVdsAdmin"
0x1,"Classes\Interface\{D188E97D-85AA-4D33-ABC6-26299A10FFC1}\ProxyStubClsid32",,"{E0393303-90D4-4A97-AB71-E9B671EE2729}"
0x1,"Classes\Interface\{D5D23B6D-5A55-4492-9889-397A3C2D2DBC}",,"IVdsAsync"
0x1,"Classes\Interface\{D5D23B6D-5A55-4492-9889-397A3C2D2DBC}\ProxyStubClsid32",,"{E0393303-90D4-4A97-AB71-E9B671EE2729}"
0x1,"Classes\Interface\{D99BDAAE-B13A-4178-9FDB-E27F16B4603E}",,"IVdsHwProvider"
0x1,"Classes\Interface\{D99BDAAE-B13A-4178-9FDB-E27F16B4603E}\ProxyStubClsid32",,"{E0393303-90D4-4A97-AB71-E9B671EE2729}"
0x1,"Classes\Interface\{DAEBEEF3-8523-47ED-A2B9-05CECCE2A1AE}",,"IVdsMaintenance"
0x1,"Classes\Interface\{DAEBEEF3-8523-47ED-A2B9-05CECCE2A1AE}\ProxyStubClsid32",,"{E0393303-90D4-4A97-AB71-E9B671EE2729}"
0x1,"Classes\Interface\{E0393303-90D4-4A97-AB71-E9B671EE2729}",,"IVdsServiceLoader"
0x1,"Classes\Interface\{E0393303-90D4-4A97-AB71-E9B671EE2729}\ProxyStubClsid32",,"{E0393303-90D4-4A97-AB71-E9B671EE2729}"
0x1,"Classes\Interface\{9882F547-CFC3-420B-9750-00DFBEC50662}",,"IVdsCreatePartitionEx"
0x1,"Classes\Interface\{9882F547-CFC3-420B-9750-00DFBEC50662}\ProxyStubClsid32",,"{E0393303-90D4-4A97-AB71-E9B671EE2729}"
0x1,"Classes\Interface\{E0393303-90D4-4A97-AB71-E9B671EE2729}",,"IVdsServiceLoader"
0x1,"Classes\Interface\{E0393303-90D4-4A97-AB71-E9B671EE2729}\ProxyStubClsid32",,"{E0393303-90D4-4A97-AB71-E9B671EE2729}"
0x1,"Classes\Interface\{0EE1A790-5D2E-4ABB-8C99-C481E8BE2138}",,"IVdsLunPlex"
0x1,"Classes\Interface\{0EE1A790-5D2E-4ABB-8C99-C481E8BE2138}\ProxyStubClsid32",,"{E0393303-90D4-4A97-AB71-E9B671EE2729}"
0x1,"Classes\Interface\{0EE1A790-5D2E-4ABB-8C99-C481E8BE2138}",,"IVdsLunPlex"
0x1,"Classes\Interface\{0EE1A790-5D2E-4ABB-8C99-C481E8BE2138}\ProxyStubClsid32",,"{E0393303-90D4-4A97-AB71-E9B671EE2729}"
0x1,"Classes\Interface\{0818A8EF-9BA9-40D8-A6F9-E22833CC771E}",,"IVdsService"
0x1,"Classes\Interface\{0818A8EF-9BA9-40D8-A6F9-E22833CC771E}\ProxyStubClsid32",,"{E0393303-90D4-4A97-AB71-E9B671EE2729}"
0x1,"Classes\Interface\{07E5C822-F00C-47A1-8FCE-B244DA56FD06}",,"IVdsDisk"
0x1,"Classes\Interface\{07E5C822-F00C-47A1-8FCE-B244DA56FD06}\ProxyStubClsid32",,"{E0393303-90D4-4A97-AB71-E9B671EE2729}"
0x1,"Classes\Interface\{0316560B-5DB4-4ED9-BBB5-213436DDC0D9}",,"IVdsRemovable"
0x1,"Classes\Interface\{0316560B-5DB4-4ED9-BBB5-213436DDC0D9}\ProxyStubClsid32",,"{E0393303-90D4-4A97-AB71-E9B671EE2729}"
0x1,"Classes\Interface\{3540A9C7-E60F-4111-A840-8BBA6C2C83D8}",,"IVdsLun"
0x1,"Classes\Interface\{3540A9C7-E60F-4111-A840-8BBA6C2C83D8}\ProxyStubClsid32",,"{E0393303-90D4-4A97-AB71-E9B671EE2729}"
0x1,"Classes\Interface\{33B87426-5C06-49F4-84BD-F486B1B4A21D}",,"IVdsMigrateDisks"
0x1,"Classes\Interface\{33B87426-5C06-49F4-84BD-F486B1B4A21D}\ProxyStubClsid32",,"{E0393303-90D4-4A97-AB71-E9B671EE2729}"
0x1,"Classes\Interface\{11F3CD41-B7E8-48FF-9472-9DFF018AA292}",,"IVdsProviderPrivate"
0x1,"Classes\Interface\{11F3CD41-B7E8-48FF-9472-9DFF018AA292}\ProxyStubClsid32",,"{E0393303-90D4-4A97-AB71-E9B671EE2729}"
0x1,"Classes\Interface\{118610B7-8D94-4030-B5B8-500889788E4E}",,"IEnumVdsObject"
0x1,"Classes\Interface\{118610B7-8D94-4030-B5B8-500889788E4E}\ProxyStubClsid32",,"{E0393303-90D4-4A97-AB71-E9B671EE2729}"
0x1,"Classes\Interface\{10C5E575-7984-4E81-A56B-431F5F92AE42}",,"IVdsProvider"
0x1,"Classes\Interface\{10C5E575-7984-4E81-A56B-431F5F92AE42}\ProxyStubClsid32",,"{E0393303-90D4-4A97-AB71-E9B671EE2729}"
0x1,"Classes\Interface\{E882C452-CF37-482A-BBFF-E6EE614E8023}",,"IVdsSwProviderPrivate"
0x1,"Classes\Interface\{E882C452-CF37-482A-BBFF-E6EE614E8023}\ProxyStubClsid32",,"{E0393303-90D4-4A97-AB71-E9B671EE2729}"
0x1,"Classes\Interface\{EE2D5DED-6236-4169-931D-B9778CE03DC6}",,"IVdsVolumeMF"
0x1,"Classes\Interface\{EE2D5DED-6236-4169-931D-B9778CE03DC6}\ProxyStubClsid32",,"{E0393303-90D4-4A97-AB71-E9B671EE2729}"
0x1,"Classes\Interface\{FF24EFA4-AADE-4B6B-898B-EAA6A20887C7}",,"IVdsDrive"
0x1,"Classes\Interface\{FF24EFA4-AADE-4B6B-898B-EAA6A20887C7}\ProxyStubClsid32",,"{E0393303-90D4-4A97-AB71-E9B671EE2729}"
0x1,"Classes\Interface\{3B69D7F5-9D94-4648-91CA-79939BA263BF}",,"IVdsPack"
0x1,"Classes\Interface\{3B69D7F5-9D94-4648-91CA-79939BA263BF}\ProxyStubClsid32",,"{E0393303-90D4-4A97-AB71-E9B671EE2729}"
0x1,"Classes\Interface\{4AFC3636-DB01-4052-80C3-03BBCB8D3C69}",,"IVdsServiceInitialization"
0x1,"Classes\Interface\{4AFC3636-DB01-4052-80C3-03BBCB8D3C69}\ProxyStubClsid32",,"{E0393303-90D4-4A97-AB71-E9B671EE2729}"
0x1,"Classes\Interface\{4DAA0135-E1D1-40F1-AAA5-3CC1E53221C3}",,"IVdsVolumePlex"
0x1,"Classes\Interface\{4DAA0135-E1D1-40F1-AAA5-3CC1E53221C3}\ProxyStubClsid32",,"{E0393303-90D4-4A97-AB71-E9B671EE2729}"
0x1,"Classes\Interface\{54D1F9E3-7FD3-421A-AF9C-53C2D8EE5BCF}",,"IVdsOwnershipChangeQuery"
0x1,"Classes\Interface\{54D1F9E3-7FD3-421A-AF9C-53C2D8EE5BCF}\ProxyStubClsid32",,"{E0393303-90D4-4A97-AB71-E9B671EE2729}"
0x1,"Classes\Interface\{6E6F6B40-977C-4069-BDDD-AC710059F8C0}\ProxyStubClsid32",,"{E0393303-90D4-4A97-AB71-E9B671EE2729}"
0x1,"Classes\Interface\{6FCEE2D3-6D90-4F91-80E2-A5C7CAACA9D8}",,"IVdsSubSystem"
0x1,"Classes\Interface\{6FCEE2D3-6D90-4F91-80E2-A5C7CAACA9D8}\ProxyStubClsid32",,"{E0393303-90D4-4A97-AB71-E9B671EE2729}"
0x1,"Classes\Interface\{8326CD1D-CF59-4936-B786-5EFC08798E25}",,"IVdsAdviseSink"
0x1,"Classes\Interface\{8326CD1D-CF59-4936-B786-5EFC08798E25}\ProxyStubClsid32",,"{E0393303-90D4-4A97-AB71-E9B671EE2729}"
Brian / ChevyNovaLN -
Cgi & the portal server?
Hi -
I created some html documents which I used to replace some of the templates associated with the "look" of the desktop.
I can get these to display, and as internal documents, I have managed to keep the "lock" in the lower left hand corner.
Great .. now .. within these documents I have forms which point to .cgi scripts .. my question is .. how would I get cgi to execute from within this environment?
Where would I have to create a cgi-bin directory within the portal server so that it not only allows me to execute these scripts, but does so in a way which is treated as secure?
How would I point to it?
I am running the portal off a sun solaris machine with solaris 8 OS installed.
Any ideas as to where within the whole portal server setup it would be "most" advisable for me to create html pages which when pointed to from the desktop (not via channels) are treated as internal and thus secure?
I desperately need your help and advice .. please respond asap ..
Thanks in advance for your assistance ..
Sincerely .. jesus ..Issue resolved:
Within the web server component of the portal setup .. create files and a cgi bin directory within public_html directory .. enter web based netscape enterprise web server admin console as administrator .. enable cgi within created directories ..
if you need further assistance with this .. please email me at:
[email protected]
Maybe you are looking for
-
I have a 3GS phone that can no longer be upgraded on my Powerbook because it is ancient and the os will only run 10.4.11, consequently iTunes will only upgrade to 9.2.1(4). Please don't answer that i need to upgrade the computer os because that has b
-
Seeing so many complaints on the Adobe Muse bugs forum, wondering if there is fixes coming soon to all these, ESPECIALLY compatibility issues with Windows 8-8.1 64bit PC's. These are the PC's being sold nowadays, I cannot buy a new laptop with Window
-
Hi all, I have a date say ,2-22-2007.I am following fiscal calendar.I want to add 21 periods to this date ....how to add 21 periods to the date .......can anyone tell your help will be appreciated...
-
How to show signature definition delta
Is there a way to show just the modifications / tuning changes made to a default downloaded signature set? Background - I've downloaded a signature set, tuned a specific signature-id to a deny event-action, and from what I understand changes are reco
-
Copy not supported on client computer-how to fix
I am remotely supporting my mother's iMac over the internet. I have no problems connecting and controlling, but when I try to copy and install files I get an error message that copy is not supported. There must be an easy fix, but I have missed it in