Deployment of jsp on portal

Thanx a lot Nishanth
Yes my report is a .jsp file.
Can u pls specify the exact steps I should follow coz I have never used portal before. I have tried creating portal page but it didn't prompted me for JSP as a type while choosing source. One more thing - IS IT NECCESSARY TO HAVE 9IDS INSTALL ON THE M/C WHERE Application Server is running. ??????
Pls help. Pls take out some time for me.
Thanx.

the setAttribute() method is only supported by Tomcat 3.0 because it supports JSDK 2.1. We have a jbohtml.zip patch that will not use this function call. Send e-mail to [email protected] and he will send you the jbohtml.zip that contains this patch.

Similar Messages

  • How to deploy report jsp on portal

    Pls tell me how to deploy a report made in 9iDS as JSP on portal.
    Thanx.
    Anant Kulkarni.

    Thanx a lot Nishanth
    Yes my report is a .jsp file.
    Can u pls specify the exact steps I should follow coz I have never used portal before. I have tried creating portal page but it didn't prompted me for JSP as a type while choosing source. One more thing - IS IT NECCESSARY TO HAVE 9IDS INSTALL ON THE M/C WHERE Application Server is running. ??????
    Pls help. Pls take out some time for me.
    Thanx.

  • How to deploy a jsp app as portlet in portal?

    i'm a new bee to this portal & portlet stuff.
    so, pls let me know if my questions doesn't make sense.
    i have a jsp app sitting in jdeveloper 9.0.3
    can i deploy this jsp app as portlet and see it from
    my portal?
    srini

    Hi Benjamin.
    Can u explain more detail about the deployment..
    I also use JDev and want to do like you do (that is deploy to 9iAS using JDev.
    I tried to create new connection via Remote DCM..
    but it gave me error.
    I also read & tried the article that u suggested..
    but still failed..
    So, my questions are:
    1)In step one, where in EM should i install Oc4jDcmServlet.ear? in OC4J_Portal(the same place i deploy jpdk)?
    "Install the DCM Servlet, Oc4jDcmServlet.ear, to a running Oracle Enterprise Manager instance. This servlet is required to run in the same OC4J instance (same JVM) as the Enterprise Manager servlet. The DCM Servlet is located in:
    <jdev_install>/dcm/lib/Oc4jDcmServlet.ear "
    2)I download JDev into my drive C.
    and i did found /dcm/lib/Oc4jDcmServlet.ear
    I not sure what to type..and where should i run the command..
    In the article,it run from c:\winnt\system32\cmd.exe.
    But when i ty to run it, it gave me error
    "Exception in thread "main" java.util.zip.ZipException: The system cannot find th
    e path specified
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(Unknown Source)
    at java.util.jar.JarFile.<init>(Unknown Source)
    at java.util.jar.JarFile.<init>(Unknown Source)"
    should i run the command in the server?Where?
    What command should i type?
    Java -jar ${ORACLE_HOME}/j2ee/home/admin.jar ormi://${EM_OC4J_HOST}:${EM_OC4J_PORT} ${IAS_ADMIN_USER} ${IAS_ADMIN_PASS} -deploy -file Oc4jDcmServlet.ear -deploymentName Oc4jDcmServlet "
    Thanks..

  • 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

  • Deploying a jsp with calls to CS Web Services to OC4J 10.1.2.0.2

    Hi
    My jsp (with CS webservices calls) works fine when deployed in the embedded oc4j that comes with jdev 10.1.2.0.0 but when I deploy the jsp to OC4J 10.1.2.0.2 with a preconfigured jpdk (available for download from otn at http://download.oracle.com/otndocs/tech/ias/portal/files/pdk101202_oc4j_extended.zip) I get the following error
    Any thoughts?
    500 Internal Server Error
    java.lang.IncompatibleClassChangeError     at org.apache.axis.message.MessageElement.addTextNode(MessageElement.java:1387)     at org.apache.axis.message.SOAPHandler.addTextNode(SOAPHandler.java:148)     at org.apache.axis.message.SOAPHandler.endElement(SOAPHandler.java:112)     at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)     at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1257)     at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:314)     at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:281)     at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:196)     at oracle.xml.jaxp.JXSAXParser.parse(JXSAXParser.java:288)     at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)     at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)     at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)     at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)     at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)     at org.apache.axis.client.Call.invokeEngine(Call.java:2765)     at org.apache.axis.client.Call.invoke(Call.java:2748)     at org.apache.axis.client.Call.invoke(Call.java:2424)     at org.apache.axis.client.Call.invoke(Call.java:2347)     at org.apache.axis.client.Call.invoke(Call.java:1804)     at oracle.ifs.fdk.RemoteLoginManagerSoapBindingStub.login(RemoteLoginManagerSoapBindingStub.java:242)     at oracle.ifs.examples.ws.WsConnection.login(WsConnection.java:210)     at oracle.ifs.examples.ws.WsConnection.login(WsConnection.java:132)     at oracle.ifs.examples.ws.SearchOperations.<init>(SearchOperations.java:106)     at htdocs.contentportlet._ContentPortletShowPage._jspService(_ContentPortletShowPage.java:51)     [SRC:/htdocs/contentportlet/ContentPortletShowPage.jsp:8]     at com.orionserver[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)     at java.lang.Thread.run(Thread.java:534)

    I have found the solution:
    The Content Services Libraries include a saaj-api.jar (for soap messages between the cs client java code and the server side webservices api).
    Unfortunately, the preconfigured oc4j container downloaded from otn included an older version of saaj.jar in its j2ee/home/applib directory, which of course was found before the cslib version according to the default order in which class paths are read.
    All I had to do was remove he saaj.jar from the oc4j/j2ee/home/applib directory so that content services could find its own (more upto date) version

  • Create and deploy simple JSP

    Hi,
    I need to create simple JSP pages and deploy it to SAP J2EE engine.. what is the procedure?...I may later add some businness logic but not needed for now.
    Please help
    Thanks,
    Jai

    Hi Jai Paul,
    You would need to have the Netweaver Developer Studio installed. It is the IDE based on eclipse where you can develop applications and deploy onto the server.
    Chk out the following links. It has some tutorials and also explains the entire process of developing & deploying applications onto the portal.
    http://help.sap.com/saphelp_nw70/helpdata/en/83/4baa42cdccda11e10000000a155106/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/0d/1e3d41536ff323e10000000a155106/content.htm
    Regards,
    Abhishek

  • Deploy JDeveloper APP into Portal

    Hi:
    1 - I want to deplay a JClient App to Portal! How to do it ? I heard someone talking about provider.xml in portal, etc... is it needed ?
    2 - That app should only show information related to the portal user that is connected. So i used a 'where clause' that invoke portal.wwctx_api.get_user(). This will work ? Does the Japp will get the current user ? Is this the right way to do it ?
    Thankx in advance
    Ricardo

    I would look at the JPDK (Java Portal Development Kit). That
    will tell you how to deploy the application through portal.
    I've done JSPs as portlets, but not applications, but I do think
    you need to set up the provider.xml file to serve up the
    application properly. Im not sure if the function you refer to
    will work, because your java app may be using a separate
    database connection than portal uses, so it may not recognize a
    portal user. But I havent tried it. I know the JPDK provides
    an api for accessing Portal environemnt (like user), so I would
    check out the documentation on all that.

  • How to deploy a jsp page...???

    Dear Experts,
    May be my question will sound harebrained, but I am new to jsp and portal applications, I am having some experience in WD java, but not in Jsp and all.
    Simply, I just wanted to know that if I had a jsp page which I want to deploy on my portal then how could i do it, I am using NWDS .
    Request you to kindly Suggest.
    Upendra Agarwal

    One way using JSP portal is, creating Portal project with JSP Dynpage applications
    You can use NWDS tool to create JSP Dynpage based Portal components.
    Procedure to create and deploy Portal  components,
    1. Open Enterprise Portal Perspective in NWDS
    2. Create -> new Portal Project -> Give the valid name
    3. Right click on the project -> Choose Portal Object -> JSP Dynpage -> Give all the information including JSP name. -> Finish
    4. Right Click on the project structure -> Properties -> Java Build Path -> All the following jars
            htmlb, com.sap.portal.html_api.jar, servlet
    5. Navigate to your JSP page located under the folder PORTAL-INF, Write logic
    6. Right click on the portal projet-> Refresh -> Re-Build
    7. Right Click on the portal project -> Export -> Give the Valid  Portal serverdetails, Admin user name and password
    8. You can create iView (iView from PAR) in content admin for the developed portal component
    Ram

  • Error in deploying VC iView on Portal

    hi all,
    i have created an applicaton which will fetch data from SAP R/3 and will be shown in an iView which is made in VC.
    when i try to deploy that iView in Portal , i get an compilation error ,
    the error is
    "Error in executing a process for compilation, .\GUIMachine_Business_Packages\testbi_21811\com.autogen.guimachine.testbi.iView_TestBI\src.core\Iview_testbi_ctl.java:62: cannot resolve symbol
    symbol  : constructor BWQueryFunction (java.lang.String,com.sapportals.guimachine.ep5kit.Iview_testbi_ctl,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,int,int,java.lang.String)
    location: class com.sap.portal.guimachine.bikit.runtime.BWQueryFunction
       BWQueryFunction BWQGQR = new BWQueryFunction ("BWQGQR", this, profile.getProperty("System1"), "/sap/bw/xml/soap/queryview", "ZVC_CUBE", "VCQUERY1", "", 2, 500,"KEY");
                                                     ^
    1 error
    how could i solve this problem.
    please help me to solve this error
    Regards
    Naveen Gupta

    Hi,
    If you are using Ep 6.0 Sp 15 then you have to deploy the BIKIT for Sp 13 on the portal using SDM.
    This will solve Your  problem.
    Regards,
    Naveen Gupta

  • 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

  • How to create and deploy a JSP which calls a BPEL process in JDEVELOPER

    Hi Gurus,
    I don't know how to create a JSP in JDEVELOPER which call a BPEL process. I have gone through the tutorials. Since, I am new to JDEVELOPER I need some help.
    1. How to create a JSP (I know creating application and project, also I know JSP coding)
    2. How to deploy this JSP?
    3. For the Synchronos BPEL project, the build.xml is created automatically, in this forum, I see people talking about ear war .deploy etc. How do we get them automatically created. Or do we need to create them manually. If it has to be manual some sample scripts would be of great help.
    Any help in this regard would be really great.
    Thanks in advance,
    Sankar.

    I found the following tutorial which clearly explains how to deploy J2EE apps.
    http://www.oracle.com/technology/obe/obe1013jdev/deployment/deployment.htm
    I created a simple jsp file in a project, followed the steps in the tutorial and it got deployed onto: http://localhost:9700
    For invoking BPEL process through JSP, I have reused the jsp files available in : 102.InvokingProcesses\jsp and changed the processes and input accordingly.
    Please post me a query in this thread, if any of you want any specific details.

  • What is the best way of deploying a jsp and bc4j aplication

    Hi
    I would like to know what is the best way of deploying a jsp and
    bc4j aplication in ias 9i.
    thanks in advanced
    rjc

    In the page I simply referenced the facescontext directly... no need for a custom servlet.
    public void createcookie() {
    FacesContext fc = FacesContext.getCurrentInstance();
    HttpServletResponse resp = (HttpServletResponse)fc.getExternalContext().getResponse();
    Cookie userCookie = new Cookie("cookiename", "cookievalue");
    userCookie.setMaxAge(-1);
    userCookie.setMaxAge(3600);
    resp.addCookie(userCookie);
    return null;
    public String readcookie() {
    FacesContext fc = FacesContext.getCurrentInstance();
    ExternalContext ec = fc.getExternalContext();
    Map cookiemap = ec.getRequestCookieMap();
    if (cookiemap != null) {
    Cookie cookie = (Cookie) cookiemap.get("cookievalue");
    return cookievalue;
    For reference I could not get getCookies() method of HttpServletRequest to work.. it would only return JSESSIONID.

  • Deploy Bex reports in portals

    Hi,
         I need to integrate BI reports in portals.How to deploy Bex reports in portal.Please can u able to help me out in this issue.
    Regards,
    Laxmi.

    Hi Laxmi,
    It can be done by two ways using URL of the query and displaying the query, and using the technical name of the query and assigning to different rooms in the portal. Then schedule the query which automatically generate queries similar to process chain loading timely based.
    Also check these links:
    http://help.sap.com/saphelp_nw04/helpdata/en/33/39fa40ee14f26fe10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/92dceb49fd25e5e10000000a1553f7/frameset.htm
    Hope this helps.
    Rgs,
    I.R.K

  • How to deploy.sca file  in portal?

    Hi
    I am new to portal..can any one explain step by step process to deploy .SCA File  into portal using SDM.
    Thanks
    Rahul

    Rahul,
    Refer to this article.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/e0df0afb-44fb-2b10-46b1-c026264bcbc4
    Hope this helps.
    Cheers!
    Sandeep Tudumu

  • 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();}
    }

Maybe you are looking for

  • Adding data to a tree array

    How to add data from the database to a treenode declared as an array? for example,adding database data to top[0]...like empno values

  • Mail app no longer "speaks" English

    Opened my Mail app today...and it was in Chinese!? My International System Pref listed Chinese second to English. When I made Danish a second choice, the Mail app opened in Danish. The Language list in the Get Info window for the Mail app no longer l

  • How do I convert wmv to mov files for fcp?

    I have tried a couple of different conversion programs to convert a wmv file to mov or mp4, and all seem to result in a viewable mp4, but when I import into final cut and try to put the footage into my sequence, it won't render. The sound renders, bu

  • Doubt in Screen Exit SAPMM06E

    HI All. I added one input field as reasons for Order (referred EKPO- BSGRU) by Screen exit SAPMM06E of the Enhancement MM06E005.Now I have to update this value in table EKPO- BSGRU. Where have to do the code? How? Thanks in Advance Regards. Jay

  • Running Sum on column total minus current month

    Hi all, Is it possible to get the running sum total value of all the months minus the current month value in the column function,as I need to display the same in the narrative view. Like RSUM(YTD(M-1)Value)... Presently this RSUM is not giving me the