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.K

Hi 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

Similar Messages

  • 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?
    --Muthu                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    i 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?

  • Problem deploying my jsp pages to the BPEL Server

    Hi,
    I want to invoke a bpel process using a java file that is executed by a jsp page, so I deployed the jsp page and the java file to the bpel server where my bpel processes are, but i get the next error when i execute the jsp page. I use struts to define my pages.
    Please help
    here is the error in the browser:
    500 Internal Server Error
    java.lang.NoClassDefFoundError: com/collaxa/common/util/NonSyncStringWriter     at com.oracle.bpel.client.ClientResources.sanitizeArgs(ClientResources.java:123)     at com.oracle.bpel.client.ClientResources.getString(ClientResources.java:93)     at com.oracle.bpel.client.util.BeanRegistry.lookupDomainManagerBean(BeanRegistry.java:232)     at com.oracle.bpel.client.auth.DomainAuthFactory.authenticate(DomainAuthFactory.java:83)     at com.oracle.bpel.client.Locator.<init>(Locator.java:126)     at com.oracle.bpel.client.Locator.<init>(Locator.java:97)     at mypackage2.BpelManager.invokeProcess(BpelManager.java:58)     at mypackage2.ConstanciaTrabajoAction.execute(ConstanciaTrabajoAction.java:45)     at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)     at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)     at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)     at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)     at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:649)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)     at java.lang.Thread.run(Thread.java:534)
    here the strut.config:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
    <struts-config>
    <action-mappings>
    <action path="/constanciaTrabajoAction" type="mypackage2.ConstanciaTrabajoAction" input="/constanciaTrabajo.jsp" scope="request" validate="true">
    <forward name="OK" path="/exito.jsp"/>
    <forward name="FALLO" path="/fracaso.jsp"/>
    </action>
    </action-mappings>
    <message-resources parameter="mypackage2.ApplicationResources"/>
    </struts-config>
    the jsp file:
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
    <%@ page import="java.util.*"%>
    <%@ page contentType="text/html;charset=windows-1252"%>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>untitled</title>
    </head>
    <body>
    <html:link action="/constanciaTrabajoAction">Constancia de Trabajo</html:link></body>
    </html>
    here the java files:
    * ConstanciaTrabajoAction.java
    package mypackage2;
    import java.util.Map;
    import org.apache.struts.action.Action;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionMapping;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import org.apache.struts.action.ActionForward;
    import org.apache.struts.action.ActionError;
    import org.apache.struts.action.ActionErrors;
    import java.io.IOException;
    import javax.servlet.ServletException;
    public class ConstanciaTrabajoAction extends Action
    * This is the main action called from the Struts framework.
    * @param mapping The ActionMapping used to select this instance.
    * @param form The optional ActionForm bean for this request.
    * @param request The HTTP Request we are processing.
    * @param response The HTTP Response we are processing.
    * @throws javax.servlet.ServletException
    * @throws java.io.IOException
    * @return
    public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException
    String xml = "<ConcatRequest xmlns='http://xmlns.oracle.com/Concat'>"
    +"<input><Solicitud><SolicitudData><tipoSolicitud>Constancia Trabajo</tipoSolicitud>"
    +"</SolicitudData><Solicitante><ID>vcuello</ID><Nombre>Veronica</Nombre><Apellido>Cuello"
    +"</Apellido><Email>[email protected]</Email></Solicitante><Supervisor><ID>rperez</ID>"
    +"<Nombre>Roberto</Nombre><Apellido>Perez</Apellido><Email>[email protected]</Email>"
    +"</Supervisor><Gerente><ID>asanchez</ID><Nombre>Alfredo</Nombre> <Apellido>Sanchez</Apellido>"
    +"<Email>[email protected]</Email></Gerente><Datos><Dato><Nombre>dato</Nombre>"
    +"<Valor>valor</Valor></Dato></Datos><exito><notificacionCons>false</notificacionCons>"
    +"<docManager><imprimir>false</imprimir><firmar>false</firmar></docManager></exito></Solicitud>"
    +"</input>"
    + "</ConcatRequest>";
    String oxml = "<ConcatResponse xmlns='http://xmlns.oracle.com/Concat'>"
    + "<result></result>"
    + "</ConcatResponse>";
    BpelManager.invokeProcess("ConstanciaTrabajo","initiate",xml);
    Map res = BpelManager.requestProcess("ConstanciaTrabajo","onResult",oxml);
    return mapping.findForward("OK");
    * [i]BpelManager.java
    package mypackage2;
    import com.oracle.bpel.client.Locator;
    import com.oracle.bpel.client.NormalizedMessage;
    import com.oracle.bpel.client.ServerException;
    import com.oracle.bpel.client.delivery.IDeliveryService;
    import com.oracle.bpel.client.util.WhereCondition;
    import com.oracle.services.bpel.task.ITask;
    import com.oracle.services.bpel.task.IWorklistService;
    import java.util.Map;
    import java.util.Properties;
    public class BpelManager
    static Locator locator = null;
    static String bpelDomain = "default";
    static String bpelDomainPassword = "bpel";
    static String orabpelPlatform = "oc4j_10g";
    static String javaNamingFactoryInitial = "com.evermind.server.rmi.RMIInitialContextFactory";
    static String javaNamingProviderUrl = "ormi://develc15:23791";
    static String javaNamingSecurityPrincipal = "admin";
    static String javaNamingSecurityCredentials = "welcome";
    static String dedicatedRmiContext = "true";
    public static String bpelProcessName = "ConstanciaTrabajo";
    public static void invokeProcess(String processName, String operationName, String sXml)
    try
    Properties props = new java.util.Properties();
    props.setProperty("orabpel.platform",orabpelPlatform);
    props.setProperty("java.naming.factory.initial",javaNamingFactoryInitial);
    props.setProperty("java.naming.provider.url",javaNamingProviderUrl);
    props.setProperty("java.naming.security.principal",javaNamingSecurityPrincipal);
    props.setProperty("java.naming.security.credentials",javaNamingSecurityCredentials);
    props.setProperty("dedicated.rmicontext", dedicatedRmiContext);
    locator = new Locator(bpelDomain,bpelDomainPassword,props);
    /*IDeliveryService deliveryService = (IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME);
    // construct the normalized message and send to Oracle BPEL Process Manager
    NormalizedMessage nm = new NormalizedMessage( );
    nm.addPart("payload", sXml);
    deliveryService.post(processName, operationName, nm);*/
    } catch (Exception r)
    r.printStackTrace();
    public static Map requestProcess(String processName, String operationName, String sXml)
    try
    IDeliveryService deliveryService = (IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME);
    //IDeliveryService deliveryService = (IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME );
    // construct the normalized message and send to Oracle BPEL Process Manager
    NormalizedMessage nm = new NormalizedMessage( );
    nm.addPart("payload", sXml );
    NormalizedMessage res = deliveryService.request(processName, operationName, nm);
    Map payload = res.getPayload();
    return payload;
    } catch (Exception r)
    r.printStackTrace();
    return null;
    public static ITask[] queryWorklistService(String arg)
    // Lookup the worklist service.
    IWorklistService worklist =
    (IWorklistService)locator.lookupService( IWorklistService.SERVICE_NAME );
    try
    ITask[] tasks = worklist.listTasksByAssignee(arg);
    return tasks;
    } catch (ServerException s)
    s.printStackTrace();
    return null;
    public static ITask[] queryWorklistServiceByCondition(WhereCondition cond)
    // Lookup the worklist service.
    IWorklistService worklist =
    (IWorklistService)locator.lookupService( IWorklistService.SERVICE_NAME );
    try
    ITask[] tasks = worklist.listTasks(cond);
    return tasks;
    } catch (ServerException s)
    s.printStackTrace();
    return null;
    public static void updateTask(ITask task)
    // Lookup the worklist service.
    IWorklistService worklist =
    (IWorklistService)locator.lookupService( IWorklistService.SERVICE_NAME );
    try
    worklist.updateTask(task);
    } catch (ServerException s)
    s.printStackTrace();
    public static void completeTask(ITask task)
    // Lookup the worklist service.
    IWorklistService worklist =
    (IWorklistService)locator.lookupService( IWorklistService.SERVICE_NAME );
    try
    worklist.completeTask(task);
    } catch (ServerException s)
    s.printStackTrace();
    public static ITask lookupTask(String taskId)
    // Lookup the worklist service.
    IWorklistService worklist =
    (IWorklistService)locator.lookupService( IWorklistService.SERVICE_NAME );
    System.out.println("Entro a Cargo tarea");
    try
    ITask task = worklist.lookupTask(taskId);
    System.out.println("Cargo tarea");
    return task;
    } catch (ServerException s)
    System.out.println("La boto");
    s.printStackTrace();
    return null;
    public void setLocator(Locator locator)
    this.locator = locator;
    public Locator getLocator()
    return locator;
    public void setBpelDomain(String bpelDomain)
    this.bpelDomain = bpelDomain;
    public String getBpelDomain()
    return bpelDomain;
    public void setBpelDomainPassword(String bpelDomainPassword)
    this.bpelDomainPassword = bpelDomainPassword;
    public String getBpelDomainPassword()
    return bpelDomainPassword;
    public void setOrabpelPlatform(String orabpelPlatform)
    this.orabpelPlatform = orabpelPlatform;
    public String getOrabpelPlatform()
    return orabpelPlatform;
    public void setJavaNamingFactoryInitial(String javaNamingFactoryInitial)
    this.javaNamingFactoryInitial = javaNamingFactoryInitial;
    public String getJavaNamingFactoryInitial()
    return javaNamingFactoryInitial;
    public void setJavaNamingProviderUrl(String javaNamingProviderUrl)
    this.javaNamingProviderUrl = javaNamingProviderUrl;
    public String getJavaNamingProviderUrl()
    return javaNamingProviderUrl;
    public void setJavaNamingSecurityPrincipal(String javaNamingSecurityPrincipal)
    this.javaNamingSecurityPrincipal = javaNamingSecurityPrincipal;
    public String getJavaNamingSecurityPrincipal()
    return javaNamingSecurityPrincipal;
    public void setJavaNamingSecurityCredentials(String javaNamingSecurityCredentials)
    this.javaNamingSecurityCredentials = javaNamingSecurityCredentials;
    public String getJavaNamingSecurityCredentials()
    return javaNamingSecurityCredentials;
    public void setDedicatedRmiContext(String dedicatedRmiContext)
    this.dedicatedRmiContext = dedicatedRmiContext;
    public String getDedicatedRmiContext()
    return dedicatedRmiContext;
    public void setBpelProcessName(String bpelProcessName)
    this.bpelProcessName = bpelProcessName;
    public String getBpelProcessName()
    return bpelProcessName;
    }

    hi,
    I fix it, thanx
    static Locator locator = null;
    // public static IWorklistService worklist = null;
    static String bpelDomain = "default";
    static String bpelDomainPassword = "bpel";
    static String orabpelPlatform = "oc4j_10g";
    static String javaNamingFactoryInitial = "com.evermind.server.rmi.RMIInitialContextFactory";
    static String javaNamingProviderUrl = "ormi://myserver:23791/orabpel"; /*this was wrong
    static String javaNamingSecurityPrincipal = "admin";
    static String javaNamingSecurityCredentials = "welcome";
    static String dedicatedRmiContext = "true";
    static{
    try{
    Properties props = new java.util.Properties();
    props.setProperty("orabpel.platform",orabpelPlatform);
    props.setProperty("java.naming.factory.initial",javaNamingFactoryInitial);
    props.setProperty("java.naming.provider.url",javaNamingProviderUrl);
    props.setProperty("java.naming.security.principal",javaNamingSecurityPrincipal);
    props.setProperty("java.naming.security.credentials",javaNamingSecurityCredentials);
    props.setProperty("dedicated.rmicontext", dedicatedRmiContext);
    locator = new Locator(bpelDomain, bpelDomainPassword, props);
    } catch (ServerException se){se.printStackTrace();}
    }

  • Putting files onto the remote server vs. the testing server

    I have a testing server defined in my site that can only be accessed internally within the company. When I preview my pages, it automatically loads them onto the testing server and when I ask opinions about the changes I have made, my co-workers can go to that web address on our internal FTP site.
    But when I want to take those same files and put them onto our live site, I can't figure out how. I also connect to that site through FTP and have defined it in the remote server location. How do I put these files onto our real, live website?
    I've been reading tons of help topics about this, but still can't seem to figure it out

    Hi There:
    It is an easy step by step do that. Here are some really good help for you on the same:
    http://www.youtube.com/watch?v=kJhL1d9D2R4
    http://www.bgsu.edu/downloads/cio/file17760.pdf
    http://help.adobe.com/en_US/Dreamweaver/10.0_Using/WSBE25912D-A9DE-4ba1-9F85-4C692F5C14ADa .html
    And by the way why can't your colleagues see your site internally? if you have a testing server (is it IIS or WAMP?)  ...all you need to give them is something as following so that they can view it..
    http://yourmachinename/index.html
    or
    http://yourmachineIPAddress/index.html
    I believe you all are on the same network at workplace.
    Regards,
    VInay

  • Save a report 6i PDF file onto the database server

    Hello Experts,
    I have a requirement, whereby I need to generate a PDF report and then send that report via Email. The problem I have is my email procedure is looking for the file which is in the directory on the server where the database is stored, While the PDF is generated on the local machine. Im using reports 6i.
    I know in reports 10g the file is generated on the report server itself but Im afraid same is not the case with reports 6i.
    The other problem is the local machine does not have the access to the directories on the server. I tried to change the directory path in the database to look at the C:\ but it doesn't work, it says invalid directory, I think the PDF report file needs to be on the server where the database is installed. Is there a way I can pick the PDF file from the local machine instead of the server where the database is installed?
    Im not too sure what is the way forward, All I need is to generate a PDF file and mail it.
    The procedure that I'm using to send the email attachment is :-
    CREATE OR REPLACE PROCEDURE email_attachment(
    xfilename VARCHAR2,
    xloc VARCHAR2) IS
    conn utl_smtp.connection;
    BEGIN
    conn := Send_Mail.begin_mail(
    sender => '[email protected]',
    recipients => '[email protected]',
    subject => 'Attachment Test',
    mime_type => Send_Mail.MULTIPART_MIME_TYPE);
    Send_Mail.attach_text(
    conn => conn,
    DATA => '<b>This is a test Email.<b>',
    mime_type => 'text/html');
    send_mail.attach_base64_fromfile(
    conn => conn,
    filename => xfilename,--'test.pdf',
    floc => xloc,--'File directory',
    mime_type => 'application/octet',
    inline => TRUE);
    Send_Mail.end_attachment( conn => conn );
    Send_Mail.end_mail( conn => conn );
    Thanks any help would be appreciated.

    Hi,
    in the forms 6i email with attachment can be sent only through database folder/file. From the client it can not be.
    Here is one alternate solution.
    1. Share the folder from db server which is used for email directory and keep changeable for everyone.
    2. After generate the report like RUN_PRODUCT keep the below command.
    HOST('XCOPY CLIENT_PATH\FILE_NAME SERVER_PATH');
    3. This command will transfer file from client to db server. After this execute your procedure which is sending email.
    Hope it will work.
    -Ammad
    Edited by: Ammad Ahmed on Mar 23, 2010 1:43 PM

  • Deploying a JSP file

    Hello,
    I am currently trying to deploy a jsp file on the application server from NWDS.
    But unfortunatelly I didn't manage to make it work yet.
    If anybody could provide a step by step howto that would be great, I am not very familiar with the deployment descriptor files for java web applications. So I am having trouble to set the right web project up where I can add my jsp and then deploy and find it on the server.
    My situation is: I have a jsp file from the internet that I would like to deploy on the AS. Afterwards I want to call the jsp directly via the browser. I already have my Web AS setup in NWDS, so I can deploy web projects there.
    I am just not sure, which kind of project to chose and how to integrate my jsp. And afterwards which sub URL to use to call my jsp.
    Any help would be really appreciated!
    Best Regards,
    Peter

    Hello Dibya,
    Thank you for your reply!
    I have actually seen this thread but unfortunatelly I could not make my jsp work.
    One problem I have is that in every guide I found, it says to create a "J2EE -> Web module" project in NWDS. But in my NWDS I only have Application Client-, Connector-, Enterprise Application- and Utility Project under "J2EE". 
    Under "Web" I have "Dynamiy web project" and "Static web project" in addition.
    Which one would be the right one?
    I have also tried to create a portal application project like advised in the mentioned thread.
    Basically what I did so far was creating the mentioned projects, then right click the project and choose new -> jsp file.
    Into the jsp file I then inserted the coding of my downloaded jsp file and then I tried to export the projects into an EAR file.
    This also worked. Then I deployed the EAR archive to the application server. But when I am on the application server I am not able to find / open my appliciation.
    For example the last try I did was with the portal application. I have an EAR file created out of my portal application file. Inside the EAR file there is a WAR file. Inside the WAR file I have a folder called "WEB-INF" and inside this folder there is the "jsp" folder and in there is my jsp.
    My question is now, how can I call that jsp after deploying the EAR file?
    Let's say my project is called "test" and I have a "test.ear", inside of that I have the "test.war" and inside there in the "WEB-INF/jsp" folder I have a "abc.jsp".
    When I open my appserver address http://server:port/test I am getting http error 403:
    Error: You are not authorized to view the content of the requested directory.
    Details:     
    Directory listing is not allowed on this server.
    So I tried to open the jsp via:
    http://server:port/test/abc.jsp
    http://server:port/test/test/
    http://server:port/test/test/WEB-INF/jsp/abc.jsp
    But neither worked (every time http error 404 - file not found).
    So if you could give me any further hint on what I am doing wrong that would be really appreciated.
    Best Regards,
    Peter

  • Problem with downloading the internal table onto the presentation server.

    Hey folks,
    I have a problem where in i am downloading one year of sales done by the company. I wrote a program to download the file onto the presentation server . The error occurs in the FM GUI_DOWNLOAD where if the file exceeds 105843504 bytes its giving me a dump saying that
    When the program was running , it was established that more memory was needed than the operating system is able to safely to provide.
    The current program has to be terminted because of the program already requested 105843504 bytes from the operating system with malloc when the operating system reported after further memory request that there was no more memory space available.
    Could somebody provide an alternative soltuion for this.
    Its really urgent as i can download the file with 70,000,000 bytes
    Regards
    Rock

    Hi Rock,
    Please download the files on to Application Server, else as suggested by Ashish download into 2 or 3 files and merge them manually.
    Declare same internal tables may be 5 times.
    When you fill the internal table check for a counter and when you hit a certain number stop appending to it and start appending to the next.
    After you are done so download all the internal tables.
    I guess this would be a good way. I am not sure if there are any ther alternative good methods.
    Hope this helps.
    Shreekant

  • Saving JSP report output as a file on the application server

    I am trying to determine if it is possible to save a web based JSP report to the file system in the same way you can with a report generated via the rwservlet command. I am specifying DESTYPE=HTML and DESNAME=/home/mydirectory/abc.htm on the command line, but it seems to be ignored. The directory has 777 permissions on it.
    1. Is it possible to save the JSP output onto the file system just like paper based reports?
    2. Where, if any, is documentation addressing this issue? The reports deployment guide appendix lists all the URL parameters that are available to the various rw commands, but nowhere is discussed what params are relavent to JSP reports.
    3. If it is not possible to do this via the URL, does anyone know if I can somehow fetch out the inner HTML from the generated page at the bottom pf the JSP and then write it to the file system using JAVA? I know how to do it via JavaScript, but the reports are run on UNIX. Is there someway I can access the DOM inside the JSP?
    4. Why hasn't Oracle explained this better?
    Thanks,
    matt

    Thanks for getting back to me. But the documentation link below takes me to running rwservlet requests. This was not what I needed. The good news is my most excellent DBA, Manoj Gandhi, found an old TAR in Metalink that emphatically states that what I am trying to do is not possible. See Note:272401.1
    Well, sort of not possible...
    As it turns out it is possible, but you must schedule the report for immediate execution using the rwservlet's scheduling facility. Again, this came to me via my DBA. The TAR for this piece is Note:295420.1. Ignore the rwservlet urlparameter= part as best I can tell it's gibberish. Below is what I did. Substitute your info for the stuff in UPPER CASE and put it all on one contiguous line of course:
    http://SERVER:PORT/PATH/rwservlet
    ?server=REPORT_SERVER_NAME
    &destype=file
    &desname=A_PATH_AND_FILE_FILE_NAME_WITH_EXTENSION
    &jobtype=rwurl
    &schedule=
    &urlparameter=http://SERVER:PORT/PATH/JSP_NAME?userid=USERID&OTHER_PARAMETERS...
    I am not sure why cmdkey= fails when passed in the urlparameter= but I am working on a solution!

  • Unable to Deploy Par  File in the Portal

    Hi Experts,
    When i'm trying to deploy the par file to the portal after Configuring the server settings it's giving me an error.
    "Operation Failed: Please make sure the server 'DEV' (hostname:port) is running or check the log (sap-plugin.log) for more detail "
    And please guide me where i can find the log file sap-pluginng to check the logs as i'm new to the NWDS i'm not able to locate the file.
    Regards,
    Nilesh

    Dear Nilesh,
    Check that you have set the followings configurations:
    - Windows -> Preferences -> SAP J2EE Engine:
         Message Server host: Portal Server
         Message Server port: ms of portal 390x (not 50x00) you cand find your message server port in http://server:port/index.html -> System Information (Message server table)
    - Windows -> Preferencies -> Sap Enterprise Portal (there you need to put the 50x00 port).
    Try with this a comment, regards.

  • Ruleset webservice: error during deployment EAR file on the java server

    Hi,
    I want to create a webservices for a ruleset which i have created with the rules composer (NWDS).
    During this proces, the following problem occurs: after creating a ruleset and the EAR file with the Web Service Generation Tool, i wanted to deploy this file on the java server for creating a webservices. During deployment, I get the following warning with no results:
    <h5>
                S U M M A R Y
    ~~~~~~~~~~~~~~~~~~~
    Successfully deployed:           0
    Deployed with warnings:           1
    Failed deployments:                0
    ~~~~~~~~~~~~~~~~~~~
    1. File:C:\Documents and Settings\Martin Gerritsen\Desktop\Webservices\DeclaratieCheckRulesetEAR.ear
         Name:DeclaratieCheckRulesetEAR
         Vendor:sap.com
         Location:localhost
         Version:2008.03.12.12.02.09
         Deploy status:Warning
         Version:NEW
         Description:
              1. Warning occurred on server 1573750 during deploy sap.com/DeclaratieCheckRulesetEAR : Web Class Existence Test: The servlet "GenericWS" must implement "javax.servlet.Servlet"., file: DeclaratieCheckRulesetWEB.war#WEB-INF/web.xml, column 0, line 0, severity: warning
              2. Exception has been returned while the [sap.com/DeclaratieCheckRulesetEAR] was starting. Warning/Exception :[
    ][[ERROR CODE DPL.DS.6193] Error while ; nested exception is:
         com.sap.engine.services.deploy.exceptions.ServerDeploymentException: [ERROR CODE DPL.DS.5030] Clusterwide exception: [server ID 1573750:[ERROR CODE DPL.DS.5035] Application [sap.com/DeclaratieCheckRulesetEAR] cannot be started. Reason: it has hard reference to resource [tcbrmsfacade] with type [application], which is not active on the server.
    Hint: 1) Is referred resource deployed? 2) Is referred resource able to start?
               -> [ERROR CODE DPL.DS.5082] Exception while [validating application sap.com/tcbrmsfacade.
         The sap.com/tcbrmsfacade application was processed from [EJBContainer] containers, but none of them returned information about deployed components.
         The registered containers in this moment were [CTCContainer, MDRContainer, com.sap.security.ume, developmentserver, SCA Composites Container, com.sap.security.login-modules, app_libraries_container, Cache Configuration Upload, servlet_jsp, dbcontentcontainer, connector, Cluster File System, BRMS_Content_Archive, JMSConnector, MigrationContainer, Galaxy_Content_Archive, Monitoring Configurator, dbschemacontainer, appclient, orpersistence, PortalRuntimeContainer, JDBCConnector, EJBContainer, metamodelrepository, webservices_container, scheduler~container, ConfigurationsContainer, Content Container].
         Possible reasons :
         1.Empty or incorrect application, which is not recognized by registered containers.
         2.An AS Java service, which is providing a container, is stopped or not deployed.
         3.The containers, which processed it, are not implemented correctly, because the application was deployed or started initially, but containers didn't return information about deployed components in the application deployment info].
    server ID 1573750:com.sap.engine.services.deploy.exceptions.ServerDeploymentException: [ERROR CODE DPL.DS.5035] Application [sap.com/DeclaratieCheckRulesetEAR] cannot be started. Reason: it has hard reference to resource [tcbrmsfacade] with type [application], which is not active on the server.
    Hint: 1) Is referred resource deployed? 2) Is referred resource able to start?
         at com.sap.engine.services.deploy.server.ReferenceResolver.checkApplicationStatus(ReferenceResolver.java:871)
         at com.sap.engine.services.deploy.server.ReferenceResolver.processReferenceToApplication(ReferenceResolver.java:848)
         at com.sap.engine.services.deploy.server.ReferenceResolver.processMakeReference(ReferenceResolver.java:575)
         at com.sap.engine.services.deploy.server.ReferenceResolver.beforeStartingApplication(ReferenceResolver.java:489)
         at com.sap.engine.services.deploy.server.application.StartTransaction.beginCommon(StartTransaction.java:169)
         at com.sap.engine.services.deploy.server.application.StartTransaction.begin(StartTransaction.java:134)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:493)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:544)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.super_MakeAllPhases(ParallelAdapter.java:286)
         at com.sap.engine.services.deploy.server.application.StartTransaction.makeAllPhasesImpl(StartTransaction.java:555)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:197)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesAndWait(ParallelAdapter.java:358)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3421)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3407)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3297)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3269)
         at com.sap.engine.services.dc.lcm.impl.J2EELCMProcessor.doStart(J2EELCMProcessor.java:105)
         at com.sap.engine.services.dc.lcm.impl.LifeCycleManagerImpl.start(LifeCycleManagerImpl.java:78)
         at com.sap.engine.services.dc.cm.deploy.impl.LifeCycleManagerStartVisitor.visit(LifeCycleManagerStartVisitor.java:34)
         at com.sap.engine.services.dc.cm.deploy.impl.DeploymentItemImpl.accept(DeploymentItemImpl.java:83)
         at com.sap.engine.services.dc.cm.deploy.impl.DefaultDeployPostProcessor.postProcessLCMDeplItem(DefaultDeployPostProcessor.java:91)
         at com.sap.engine.services.dc.cm.deploy.impl.DefaultDeployPostProcessor.postProcess(DefaultDeployPostProcessor.java:61)
         at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.doPostProcessing(DeployerImpl.java:862)
         at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.performDeploy(DeployerImpl.java:810)
         at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.doDeploy(DeployerImpl.java:640)
         at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.deploy(DeployerImpl.java:359)
         at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.deploy(DeployerImpl.java:248)
         at com.sap.engine.services.dc.cm.deploy.impl.DeployerImplp4_Skel.dispatch(DeployerImplp4_Skel.java:897)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:355)
         at com.sap.engine.services.rmi_p4.server.ServerDispatchImpl.run(ServerDispatchImpl.java:69)
         at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:67)
         at com.sap.engine.services.rmi_p4.P4Message.execute(P4Message.java:41)
         at com.sap.engine.services.cross.fca.FCAConnectorImpl.executeRequest(FCAConnectorImpl.java:971)
         at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:57)
         at com.sap.engine.services.cross.fca.MessageReader.run(MessageReader.java:55)
         at com.sap.engine.core.thread.execution.Executable.run(Executable.java:109)
         at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:314)
    Caused by: com.sap.engine.services.deploy.exceptions.ServerDeploymentException: [ERROR CODE DPL.DS.5082] Exception while [validating application sap.com/tcbrmsfacade.
         The sap.com/tcbrmsfacade application was processed from [EJBContainer] containers, but none of them returned information about deployed components.
         The registered containers in this moment were [CTCContainer, MDRContainer, com.sap.security.ume, developmentserver, SCA Composites Container, com.sap.security.login-modules, app_libraries_container, Cache Configuration Upload, servlet_jsp, dbcontentcontainer, connector, Cluster File System, BRMS_Content_Archive, JMSConnector, MigrationContainer, Galaxy_Content_Archive, Monitoring Configurator, dbschemacontainer, appclient, orpersistence, PortalRuntimeContainer, JDBCConnector, EJBContainer, metamodelrepository, webservices_container, scheduler~container, ConfigurationsContainer, Content Container].
         Possible reasons :
         1.Empty or incorrect application, which is not recognized by registered containers.
         2.An AS Java service, which is providing a container, is stopped or not deployed.
         3.The containers, which processed it, are not implemented correctly, because the application was deployed or started initially, but containers didn't return information about deployed components in the application deployment info].
         at com.sap.engine.services.deploy.server.utils.ValidateUtils.missingDCinDIValidator(ValidateUtils.java:80)
         at com.sap.engine.services.deploy.server.application.StartInitiallyTransaction.prepare(StartInitiallyTransaction.java:158)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:502)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:544)
         at com.sap.engine.services.deploy.server.application.StartTransaction.doStartInitiallyLocal(StartTransaction.java:477)
         at com.sap.engine.services.deploy.server.application.StartTransaction.doStartInitially(StartTransaction.java:433)
         at com.sap.engine.services.deploy.server.application.StartTransaction.prepareLocal(StartTransaction.java:193)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesLocal(ApplicationTransaction.java:591)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:202)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesLocalAndWait(ParallelAdapter.java:367)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.regularStartApplicationLocalAndWait(DeployServiceImpl.java:3218)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationLocalAndWait(DeployServiceImpl.java:3210)
         at com.sap.engine.services.deploy.server.ReferenceResolver.checkApplicationStatus(ReferenceResolver.java:863)
         ... 36 more
    Result
    Status:Warning
    </h5>
    Development Infrastructure:
    - development configuration: local development
    - development configuration: saptest (SAP NetWeaver CE 7.1 EHP1)
    Before I created the EAR file with the Web Service Generation Tool, I have carried out the following steps:
    - Created a ruleset (including two rules and one decision table) (development configuration: saptest)
    - Build and deploy the ruleset on the java server...
    - Created a dummy web module (development configuration: local development)
    - Added 3 dependencies (references) to the dummy web module:
    - References 1: enginee.jee5.facade (no selection on design time, deploy time or runtime)
    - References 2: tc/bl/logging/api (selection on design time, deploy time and runtime)
    - References 3: tc/brms/ facade (selection on design time, deploy time and runtime)
    - Dummy web module -> sync used DC's
    - Build dummy web module
    After that I started the Web Service Generation Tool and created the EAR file....
    1) NWDS -> window -> show view -> others -> deploy view -> deploy view
    2) Added the EAR file to External Deployable Archives
    3) deployed the file to the java server... then the warning occurs...
    How can I resolve this error?
    <h5>Application [sap.com/DeclaratieCheckRulesetEAR] cannot be started. Reason: it has hard reference to resource [tcbrmsfacade] with type [application], which is not active on the server.
    Hint: 1) Is referred resource deployed? 2) Is referred resource able to start...</h5>
    And...
    <h5>[ERROR CODE DPL.DS.5082] Exception while [validating application sap.com/tcbrmsfacade.
         The sap.com/tcbrmsfacade application was processed from [EJBContainer] containers, but none of them returned information about deployed components.</h5>
    Can somebody help me with this problem?
    Kind regards,
    Martin Gerritsen

    Hello Martin Gerritsen,
    This is Arti from the PM team.
    It seems to me that the brms facade has not yet started in your application server. You can check whether it has started or not by doing the following -
    You need to access the JavaEE Applications running on your AS. To do this -
    1. Open the nwa portal
    2. Navigate to Operations Management > Systems > Start & Stop > Java EE Applications
    3. Search for the brms related applications available on the server.
    In case the applications have not yet been started, please try to manually start them. If you still have problem in starting the BRMS facade please contact me.
    I will send across to you a fresh set of SCAs which you can deploy into your server to resolve this issue.
    Regards,
    Arti

  • Deploying an existing WAR file into the Portal

    I have downloaded the Enterprise Portal and the SAP Netweaver Developer Studio (NDS) and have succeeded in creating a couple of projects of the ‘Hello World’ variety and deployed them on the Portal!  So far, so good.
    The problem I have is that need to deploy on the Portal an existing JSP/Struts application of ours which is available as a Web Archive (WAR) file.
    The problem is that I cannot find a way of deploying an existing WAR file on the Portal – either via a Project or otherwise.  I have found an entry in the Help files with the NDS which sounds promising, as it is entitled ‘Import a .WAR File into a new project’.  However, the menu entry it says you should use (File &#8209;> Import &#8209;> MDK: Import a web archive (.WAR) into a new project) this last entry does not exist on my installation of NDS.
    Any ideas or suggestions?

    Hi Mustafa (and All) - thanks you very much for your answers, which has enabled me to make good progress.
    I have created a project in the Deploy Tool, imported a simple WAR file into it, loaded to project and depployed it on my instance of the Portal - or at least I have deployed it as far as the Deploy Tool is concerned. 
    However, when I try to find it in the Portal in order to assign it to an iView in the Portal content, I can't find any evidence of its existence!!
    As another 'tack' in the NDS I have created an 'Enterprise Application Project', into which I appear to have imported the WAR file - but I cant package this as a PAR file, which is what I seem to need to do to get it into an iView on the Portal.  To create a PAR package I seem to need to create a 'Portal Application Project' - but I can't find a way of getting the WAR file into that!!
    Any further advice would be greatefully received.
    Thanks for your help to date and thanks in advance for any more you may be able to give.
    Regards,
    Dave

  • How to store a JSP file in the SAP Application server ?

    Hello All,
    My reqt. is as follows :
    1. I need to store a JSP File on the SAP Application server .
    How can I do this ?
    2. I want to call the uploaded jsp file from the server and call this jsp from abap to view the result of it .
    How can I achieve this ?
    First of all is this possible ?
    Regards,
    Deepu.K

    Hello Mike,
    Thanks for ur reply.
    I've imported the JSP as a mime object into the BSP.
    Now I've created the page to show that Mime Object as an image.
    But nothing is coming as an output.
    But then,there is an option for that mime object. i.e when I right click on the mime object there is an option called " convert to BSP".
    I selected that option and it created a view in my BSP .( My BSP is a page with flow logic application )
    Now how should i make this view to be an output ?
    I guess this shud be posted in the BSP Forum ...but still taking a chance here :)-
    Regards,
    Deepu.K

  • Any single file in my local folder of RoboHelp 10 which can be copied onto the application server?

    Pleasant Hello Pals, ( This is Vipin Nambiar from Bangalore)
    I am currently evaluating Adobe Robohelp 10 version for one of my technical architecture writing. Requesting help at the very earliest for the below-said big time hurdles.
    I have completed my technical writing for a in-house application system and have generated and viewing the primary layout (courtesy File -> View -> Primary Layout. ) as Contents, Index, Glossary and would like these to be hosted onto the server so that all the users of this application can access these Contents, Index, Glossary and act as a knowhow notes to use this application.
    Is there any single file in my local folder of Adobe RoboHelp 10 which can be copied onto the application server ?
    (My Adobe RoboHelp 10 local folder contains
    a.)Sub-folders called !Language!, !ScreenLayout!, !SkinSubFolder!, !SSL!
    b.)File Types called *.ALI File, *.APJ File, *.Bitmap image, *.BRS File, *.Cascading Style Sheet Document, *.CPD File, *.FPJ File, *.GIF image, *.GLO File, *.H File, *.HHC File, *.HHK File, *.HHP File, *.HTML Document, *.HTT File, *.JPEG image, *.JScript Script File, *.LDB File, *.PPF File, *.PSS File, *.Robohelp HTML Project File, *.SSL File, *.XML Document)
    Any help here will serve me in plentious

    First, your username cannot be changed and it is not a good idea to have email addresses visible on any forum, unless you enjoy reading spam.
    This question is covered in the online help. When you create an output it is generated to whatever folder you specify in the single source layout. Everything that is in that folder needs to go on the server.
    If the help is in !SSL! > WebHelp, then everything in that folder including sub-folders is what needs to go on the server.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • How to deploy custom JSP file in reporting and analysis workspace extented services?

    Hi All,
    We are using Oracle EPM 11.2.3 Interactive reporting.  We need add on functionality on the existing workspace and developed a JAVA code for that. Now we are facing challenges with deploying JSP file with existing weblogic server. does anybody did it before? we followed oracle doc but not useful.
    The task of JSP file would get the user information from the existing session then list the file which user has access and follow.
    Do we have any doc related to this? Your help is highly appreciated.
    Thanks
    Venkatesh

    Hi,
    After deployed inside the OC4J server. Run the index page by
    Calling like http://hostname:port/earname/index.jsp
    While deploying the ear file you would have given a name for the ear file use that name in the URL.
    If so then you can see the provider displayed on the index page. Then click on the provider name it will take you to the next page where it will display all the portlet inside the provider.
    Please copy the URL and paste it while registering the Provider with the portal server.
    Because the server will try to navigate to the URL mentioned while registering if the server dint find the proper URL then registration fails.
    Try this and let me know.
    Regards,
    Vijay.B

  • Deploying a .jsp file in weblogic

    How can we deploy a .jsp file in obiee or weblogic ? Is there anyway we just put the .jsp in some path and then restart the admin and managed server and then use the URL in browser as http://ipaddress:7001/default.jsp or http://ipaddress:9704/default.jsp
    any inputs as how to deploy the jsp
    Thanks,
    RM

    You need to go for virtual directory or deploy it (you and I need to refer doc to know how) :)
    Since you are using BI and analytics is pointing to web\res folder
    create a new folder under res and place it the jsp file
    you may have to call that jsp file something like
    localhost:port/analytics/FolderName/name.jsp
    you might have to restart services to reflect folder and its contents in analytics (ie. localhost:port/analytics/).
    Let me know updates.
    If helps mark

Maybe you are looking for

  • Network printing Printer Pauses /usr/libexec/cups/backend/lpd failed

    Morning, I wonder if anyone has encountered the following problem? NETWORK SET UP We have a network of 8 macs & a Fuji Xerox c2255 printer all connected to a gigabit switch. The Fuji Xerox has an fixed ip address 192.168.1.122 All devices have fixed

  • Installing Oracle 8.1.5 in Red Hat Linux 6.2

    Hi, I'm trying to install Oracle 8.1.5 in Red Hat Linux 6.2. But when I run the runInstaller command it gives the following error & quit. [oracle@localhost cdrom]$ ./runInstaller Initializing Java Virtual Machine from /usr/local/jre/bin/jre. Please w

  • Doubt while importing idoc (file 2 idoc scenario)

    hi, In IR, Imported objects..>Idocs while importing idoc there are two options to import according to software componet version, Overwrite sever info temporarily which one i have to use ? what circumstances i have to each option?

  • Font Antialiasing/Smoothing

    How can I influence font antialiasing/smoothing? All text appears to be smoothed for tube monitors but I want the method for flat screens. Do java.awt.RenderingHints have any effect? If so, where can I set them since I don't use Graphics2D?

  • IMove sound track won't go away!

    I created a soundtrack in garageband 11, imported it to iMove 11  then went back to lengthen it slightly.  iMovie will NOT recognize the revised soundtrack!  I have deleted the old one and reimported the new one to iTunes and then into iMove but the