Easy JSP deployment

Hello,
I have a kind of silly problem. I want a bunch of web interfaces for my processes. I have not however found a good way for developing these interfaces.
If I just add a JSP-file to my BPEL-project in "JDeveloper BPEL Designer" I do not think the JSP is published in the webserver. If it is - where? http://localhost:9700/projectname/foo.jsp is not correct...
My other approach was to create a Web Project (still using "JDeveloper BPEL Designer") just for the UI. The JSPs are correctly deployed and published in the webserver but when executing Locator locator = new Locator("default", "bpel" ); (just as the working examples do) I get:
java.lang.Exception: Failed to create "ejb/collaxa/system/DomainManagerBean" bean; exception reported is: "javax.naming.NameNotFoundException: ejb/collaxa/system/DomainManagerBean not found
Ofcource I could use the deployment files for the examples (these obviously works) but I guess the nice development environment should be able to do this for me. So, my question is. How am I supposed to develop JSPs to make them easy to deploy and easy to maintain? I use version 10.1.2B3.
Best regards
/ Rasmus

Hi Maneesh,
Yes I confirm this:
Invoked 2-way operation "initiateTask" on partner "TaskManagerService".
<messages>
<article xmlns="http://xmlns.oracle.com/MyOrderProcess">&#214; is a O with two dots</article>
I belive &#214; is the correct encoding of a O with two dots and this is how the value is encoded when received from the client partner in process initiation:
Received "inputVariable" call from partner "client"
<article>&#214; is a O with two dots</article>
Please let me know if any more details are of interest. I am glad to help.
Best regards
/ Rasmus

Similar Messages

  • CS6 Easy Enterprise Deployment - free 30min webinar today.

    CS6 – Easy Enterprise Deployment" 30 min. webinar with Tommi Luhtanen, Business Development Manager Creative Design & Web Adobe Systems Nordic AB:
    https://my.adobeconnect.com/creativebootcamp
    Today, 1PM CET ( other time zones: http://www.timeanddate.com/worldclock/fixedtime.html?msg=CS6+%E2%80%93+Easy+Enterprise+Dep loyment+webinar&iso=20121005T13&p1=48&am=30 )

    CS6 – Easy Enterprise Deployment" 30 min. webinar with Tommi Luhtanen, Business Development Manager Creative Design & Web Adobe Systems Nordic AB:
    https://my.adobeconnect.com/creativebootcamp
    Today, 1PM CET ( other time zones: http://www.timeanddate.com/worldclock/fixedtime.html?msg=CS6+%E2%80%93+Easy+Enterprise+Dep loyment+webinar&iso=20121005T13&p1=48&am=30 )

  • JSP Deployment Issues

    Guys:
              I saw your names posted in the weblogic jsp news group. I thought you
              might be able to help me with a jsp deployment problem. A number of our
              jsps take a long time to compile. As a result, the first user who
              accesses our jsps after deployment pays a significant latency penalty.
              To get around this problem, we manually "touch" each jsp as part of
              deployment. That way when users access the site, they get reasonalble
              response time.
              The problem we face is that we are now in a clustered environment in
              production and staging. As a result, it can take a long time to
              manually "touch" each jsp. There is also a secondary issue. Our
              staging and production environments are hosted by an extenal service
              provider. We are uncomfortable with deploying source code -- e.g., jsps
              -- in these environments.
              Here is what I have done to date:
              I have written a unix script that invokes the weblogic.jspc compiler for
              each jsp. The intent is to pre-compile the JSPs ahead of time. In our
              testing this script we still notice that Weblogic (e.g., 4.5.1) still
              attempts to recompile the jsps on-demand when they are first accessed
              from the browser by the first user after jsp deployment. (This defeats
              the purpose of pre-compiling the jsps.)
              What are we doing wrong and what can we do so that the jsp-s are
              pre-compiled and not re-compiled on demand. Again, at a minimum we want
              to avoid the latency problems associated with the first user. Best case
              scenario, we would like to ship a jar file that contains the compiled
              jsp servlet classes.
              Your recommendations are most appreciated.
              Mark C. Berman
              Javelin Solutions
              [email protected]
              

    I've never tried this, but I don't see any reason why it wouldn't
              work... Don't even register the JSPServlet. Build the JSPs (servlets)
              and deploy them like any other servlet. You can register them with a
              .jsp extension or you could give them a different alias altogether.
              The WL JSP compiler (weblogic.jspc) may be used to compile the jsps
              into servlets during the normal build process and there are options
              that may be used to modify the package, install dir, etc.
              Hope that helps.
              Jason
              On Tue, 26 Dec 2000 17:09:25 -0600, mark berman
              <[email protected]> wrote:
              >Guys:
              >
              >I saw your names posted in the weblogic jsp news group. I thought you
              >might be able to help me with a jsp deployment problem. A number of our
              >jsps take a long time to compile. As a result, the first user who
              >accesses our jsps after deployment pays a significant latency penalty.
              >To get around this problem, we manually "touch" each jsp as part of
              >deployment. That way when users access the site, they get reasonalble
              >response time.
              >
              >The problem we face is that we are now in a clustered environment in
              >production and staging. As a result, it can take a long time to
              >manually "touch" each jsp. There is also a secondary issue. Our
              >staging and production environments are hosted by an extenal service
              >provider. We are uncomfortable with deploying source code -- e.g., jsps
              >-- in these environments.
              >
              >Here is what I have done to date:
              >
              >I have written a unix script that invokes the weblogic.jspc compiler for
              >each jsp. The intent is to pre-compile the JSPs ahead of time. In our
              >testing this script we still notice that Weblogic (e.g., 4.5.1) still
              >attempts to recompile the jsps on-demand when they are first accessed
              >from the browser by the first user after jsp deployment. (This defeats
              >the purpose of pre-compiling the jsps.)
              >
              >What are we doing wrong and what can we do so that the jsp-s are
              >pre-compiled and not re-compiled on demand. Again, at a minimum we want
              >to avoid the latency problems associated with the first user. Best case
              >scenario, we would like to ship a jar file that contains the compiled
              >jsp servlet classes.
              >
              >Your recommendations are most appreciated.
              >
              >Mark C. Berman
              >Javelin Solutions
              >[email protected]
              >
              

  • Error while accessing JSP deployed on Oracle AS

    Hi,
    I have developed an application and deployed in on the oracle AS 10.1.2
    In my application i have a Jsp on which i have the following code
    <?xml version="1.0" encoding="iso-8859-1"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <%@ page import="javax.servlet.*"%>
    <%@ page import="javax.servlet.http.*"%>
    <%@ page import="java.io.*"%>
    <%@ page import="java.util.*"%>
    <%@ page import="java.net.*"%>
    <% String strFileName = request.getParameter("prmFileName");
    //String strFileName = "d:\\Report.xls";
    response.setContentType( "application/vnd.ms-excel; charset=ISO-8859-1");
    PrintWriter out1 = response.getWriter();
    //System.out.println(strFileName);
    FileReader fread = new FileReader (strFileName);
    BufferedReader bfd = new BufferedReader(fread);
    String inputLine;
    while ((inputLine = bfd.readLine()) != null)
    out1.println (inputLine);
    bfd.close();
    out1.close();
    %>
    When i access this jsp through the application i get this error..
    during developement i had tested this jsp by deploying it on jboss and it worked properly but now i am faced with this error
    500 Internal Server Error
    java.lang.IllegalStateException: OutputStream already retrieved     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.EvermindHttpServletResponse.getWriter(EvermindHttpServletResponse.java:1001)     at ReportXlsOpen.jspService(_ReportXlsOpen.java:57)     [SRC:/ReportXlsOpen.jsp:12]     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.AJPRequestHandler.run(AJPRequestHandler.java:224)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)     at java.lang.Thread.run(Thread.java:534)
    Thanks & Regards,
    Madhur

    You don't need to get the output writer "out1". you can use "out" in your scriplets the same way as "request" and "response".

  • Location of java servlet (not jsp) deployed on Java Stack

    Hello,
    Why this forum? this post is related to the way of calling a java servlet deployed on the java stack, so it's related to the structure of the stack than to real java programming.
    Usually, I develop JSP servlets which are easily called either with a mapping or not. I have deployed now a java servlet and added a mapping to it by modifying the xml source itselft in its descriptor, but after deployement I am not able to reach the resource.
    In the windows explorer of the java stack I find in j2ee>cluster>server>apps my application as follows:
    app_ear>servlet_jsp>app>root>WEB-INF>classes>my class files
    app_ear>servlet_jsp>app>root>app.jsp
    This time it's not a jsp that I want to call: app/app.jsp but my java servlet which lies in the classes subdir.
    Could someone help my to achieve this or is it the wrong way, we can only request jsp applications?
    Kind regards,
    Tanguy Mezzano

    Hi Vladimir,
    here's my web.xml code:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
         <display-name>WEB APP</display-name>
         <description>WEB APP description</description>
         <servlet>
              <servlet-name>SSORedirect3.jsp</servlet-name>
              <jsp-file>/SSORedirect3.jsp</jsp-file>
         </servlet>
         <servlet-mapping>
              <servlet-name>AuthenticatorServlet</servlet-name>
              <url-pattern>/SSOredirect3</url-pattern>
         </servlet-mapping>
         <security-constraint>
              <display-name>SecurityConstraint</display-name>
              <web-resource-collection>
                   <web-resource-name>WebResource</web-resource-name>
                   <url-pattern>/*</url-pattern>
                   <http-method>GET</http-method>
                   <http-method>POST</http-method>
              </web-resource-collection>
              <auth-constraint>
                   <role-name>DefaultSecurityRole</role-name>
              </auth-constraint>
         </security-constraint>
         <security-role>
              <role-name>DefaultSecurityRole</role-name>
         </security-role>
    </web-app>
    And in my jsp file, I have a form with this kind of code:
    <form name="xyz" method="GET" action="http://j2eeserver:50000/SSOredirect3/SSOredirect3">
    I get this error in my logs:
    com.sap.engine.services.servlets_jsp.server.exceptions.ServletNotFoundException: Requested resource [SSOredirect3/servlet/AuthenticatorServlet] not found.
    Exception id: [000C299F469E00650001D8E900000CCC000458E27823275B]#
    Best regards,
    Tanguy Mezzano

  • NEWBIE JSP Deployment Problems

    I know this is will probly bore to some of you but I'm trying to evalutate this software.
    I created a test JSP via the wizard and ran it in Jdev ok. Deployed and Copied the files to the Apache web server provided with 8.1.7. Ran on browser and got this error:
    java.lang.RuntimeException: JSP Registry could not locate runtime property file:....
    I included the business classes but apparently I'm still missing something...
    I have been searching for documentation on this error but not much luck so far...

    I have deployed a JSP with BC4J Application on an Oracle IAS and it works fine, but to do it i had to include a path to the .jar file that contains my classes in Jserv.properties
    When i need to change, add or manipulate something in the jar file or include a new jar file, i have to shut down the service because while active, the files that are being pointed by the conf file become locked... I have read something about "zones" and i have no idea about apache or OracleJSP configuration. I began yesterday to read the JavaServer Pages Developer4s Guide and Reference... But it has 420 pages and i will last a lot till i find what i4m looking for.
    If you can explain me the way you make your jar file accesible by the system in a correct way or the pages in which it is explained, please, make me know.

  • JSP Deployment:Tomcat:Oracle Prepared Statement error

    I'm deploying my BC4J JSP application to Linux/Tomcat 4.0.1.
    The html and basic jsp (Query form display) work but whenever I try to hit the database (i.e. display a browse or execute a query), I get the following in the Browser window:
    Application Error
    Return
    Error Message: oracle.jdbc.driver.OraclePreparedStatement
    There are no other messages. Everything works in the JDeveloper IDE.
    I'm sure I've done something wrong in the configuration.
    Can anyone point me in the right direction?
    TIA
    Thanks, George

    Thanks for the info Sung.
    We solved the problem late yesterday. The Tomcat documentation indicates that .jar files shared by the application and the server must reside in <Tomcat_home>/common/lib/. However, we went by the JDeveloper document which stated that most of the library files belong in <Tomcat_home>/lib/.
    When we moved classes12.jar to /common/lib/ the problem was resolved.
    In order to resolve other problems that arose, we had to move all of the indicated .jar files for JDeveloper into /common/lib/.
    One of the JDeveloper documentation folks should probably evaluate this for a change to the documentation.
    Thanks for your help!
    Thanks, George

  • File Open: Asks twice to open document in IE6.0(Weblogic server with JSPs deployed)

              HI,
              This may not be appropriate question on this discussion forum. But in case if
              somebody has answer for this, please let me know:
              Problem:
              I am trying to open some documents in my JSP(JSPs are deployed on Weblogic5.1)
              where a BLOB will be streamed and written to ServletOutputStream. Some piece of
              code which does this, I have pasted below:
              // start attachmentviewer.jsp
              <% BufferedInputStream is = null;
              BufferedOutputStream os = null;
              response.setContentType(mimeType.trim()); // say application/msword for word document
              response.setHeader("Content-Disposition","attachment; filename=\""+attachmentViewBean.getAttachmentName()+
              "\";"); //bean method gets attachment name
              is = new BufferedInputStream(attachmentViewBean.getAttachment().getBinaryStream());
              // gets blob
              os= new BufferedOutputStream(response.getOutputStream());
              byte[] buff = new byte[6500];
              int bytesRead;
              out.clearBuffer();
              while(-1 != (bytesRead = is.read(buff, 0, buff.length)))
              os.write(buff, 0, buff.length);
              %>
              // end attachmentviewer.jsp
              I am closing handles etc. after this.
              This works fine in Netscape6.0 in which
              a dialog box prompts user to open/save
              document once and does correspondigly
              after user action.
              In IE 6.0 first file open dialog comes
              informing its open/saving
              attachmentviewer.jsp. Upon clicking open it
              again opens another dialog box
              informing to open/save for actual file
              name put in response's setHeader method.
              I observed this to happen in IE6.0, but
              works fine in IE5.5 prompting user once.
              If anyone has any idea/suggestions/tips
              about this, please lemme know.
              Thanks,
              Yogesh
              

    i was able to solve it by clearing the output stream (jsp page - out.clear() ) before using it, even resetting the jsp response does the trick..
    thanks,
    prakash.m
    Edited by message2prakash at 02/08/2008 10:35 AM
    Edited by message2prakash at 02/08/2008 10:36 AM

  • 6.0 jsp deploy

    I can't get a jsp to be served up from a managed server. It works from the
              admin server however.
              I created a new domain (FooDomain) and ran an admin server with
              a jsp copied into the default web app dir:
              C:\bea\wlserver6.0\config\FooDomain\applications\DefaultWebApp_fooAdminServe
              r
              I can bring this jsp up in the browser AND when I update the
              jsp it redeploys just fine.
              Then I do the same the thing with a managed server, putting the
              jsp in:
              C:\bea\wlserver6.0\config\FooDomain\applications\DefaultWebApp_fooManServer1
              This does not work at all. I can't see the jsp and I get the
              following error from the dos screen running the FooManServer:
              <Jan 7, 2001 11:24:38 PM EST> <Error> <HTTP> <HttpServer(4899834,null
              default ct
              x,fooManServer1) found no context for "GET /hello.jsp?name=bike HTTP/1.1".
              This
              should not happen unless the default context failed to deploy.>
              Right after the managed server boots it gives me this error:
              <Jan 7, 2001 11:40:30 PM EST> <Error> <J2EE> <Error deploying application
              Defaul
              tWebApp_fooManServer1: error retrieving component [Caching Stub]Proxy for
              FooDom
              ain:Name=DefaultWebApp_fooManServer1,Location=fooManServer1,Type=WebAppCompo
              nent
              Config,ApplicationConfig=DefaultWebApp_fooManServer1>
              I get a 400 error on the browser! Not a 404!
              Any ideas on what is going on here?
              

    It looks like the default web app is not being loaded on your managed
              server. Two things to check are
              1. that DefaultWebApp_fooManServer1 is targeted to your managed server
              2. that it is deployed.
              I think that this is something we should do automatically for the default
              web app, but currently, we don't so its possible to have the system
              configured such that the default app is not acutally loaded for a particular
              server.
              mark
              Mike Sprague wrote:
              > I can't get a jsp to be served up from a managed server. It works from the
              > admin server however.
              >
              > I created a new domain (FooDomain) and ran an admin server with
              > a jsp copied into the default web app dir:
              >
              > C:\bea\wlserver6.0\config\FooDomain\applications\DefaultWebApp_fooAdminServe
              > r
              >
              > I can bring this jsp up in the browser AND when I update the
              > jsp it redeploys just fine.
              >
              > Then I do the same the thing with a managed server, putting the
              > jsp in:
              >
              > C:\bea\wlserver6.0\config\FooDomain\applications\DefaultWebApp_fooManServer1
              >
              > This does not work at all. I can't see the jsp and I get the
              > following error from the dos screen running the FooManServer:
              >
              > <Jan 7, 2001 11:24:38 PM EST> <Error> <HTTP> <HttpServer(4899834,null
              > default ct
              > x,fooManServer1) found no context for "GET /hello.jsp?name=bike HTTP/1.1".
              > This
              > should not happen unless the default context failed to deploy.>
              >
              > Right after the managed server boots it gives me this error:
              > <Jan 7, 2001 11:40:30 PM EST> <Error> <J2EE> <Error deploying application
              > Defaul
              > tWebApp_fooManServer1: error retrieving component [Caching Stub]Proxy for
              > FooDom
              > ain:Name=DefaultWebApp_fooManServer1,Location=fooManServer1,Type=WebAppCompo
              > nent
              > Config,ApplicationConfig=DefaultWebApp_fooManServer1>
              >
              > I get a 400 error on the browser! Not a 404!
              >
              > Any ideas on what is going on here?
              

  • JDEV 3.1 (JSP) deployment on iPlanet

    Hello JSP developers,
    We receive the following message when deploying JSP app. on Netscape iPlanet webserver
    Error Message: JBO-26002: Error Parsing the XML file "/vanilla_package/ReportView" .
    The JSP app. works as expected in Jdev31 env.
    and I have the deployment jar file with ALL
    the necessary JSP and XML files.
    Cheers
    Kedar
    null

    Hi Juan,
    Thanks. Now Jrun is recognizing Oracle jdeveloper zip-jar files.
    What I did was -
    I moved .property file (unzipped from zipped-deployed file) to a folder other than the app. folder of JRun. And put that folder in the classpath. I started working. I don't know why? But it works.
    One more thing. Why have you moved PoolMgr from ampPool? Your jbohtmlsrc.zip still contains its java file
    IMPORTANT THING:
    I am now getting this error whenever I run JSP page which fetches some data.
    Error Message: JSP Page threw a non-Exception Throwable.
    I have generated a default application using wizards and simply deployed it. But I get the above error. WHY?
    HOW to trouble shoot it? I am using Oracle 8.1.5. (jdeveloper 3.2)
    null

  • Web.xml + jsp deployment problem

    Hi people,
    I have an eclipse project that has 1 servlet and 1 jsp page. I'm having problem in deployment. The servlet works fine but jsp is not accessible. The structure of my web.xml file is as follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
         <display-name>IBNSubscriberServlet</display-name>
         <servlet>
              <description></description>
              <display-name>SubscriberServlet</display-name>
              <servlet-name>SubscriberServlet</servlet-name>
              <servlet-class>com.ibn.servlets.SubscriberServlet</servlet-class>          
         </servlet>
         <servlet-mapping>
              <servlet-name>SubscriberServlet</servlet-name>
              <url-pattern>/SubscriberServlet</url-pattern>
         </servlet-mapping>
         <servlet>
             <servlet-name>MonitoringG7</servlet-name>
             <jsp-file>/com.ibn.view.MonitoringG7.jsp</jsp-file>
         </servlet>     
         <servlet-mapping>
              <servlet-name>MonitoringG7</servlet-name>
              <url-pattern>/*</url-pattern>
         </servlet-mapping>
         <welcome-file-list>
              <welcome-file>index.html</welcome-file>
              <welcome-file>index.htm</welcome-file>
              <welcome-file>index.jsp</welcome-file>
              <welcome-file>default.html</welcome-file>
              <welcome-file>default.htm</welcome-file>
              <welcome-file>default.jsp</welcome-file>
         </welcome-file-list>
    </web-app>On requesting this JSP url, http://localhost:8080/IBNSubscriberServlet/MonitoringG7.jsp the http 404 status message comes which says the resource is not found. Cn someone please check the above jsp mappings in the web.xml file?
    Inside my "src", folder I have "com.ibn.view" which contains jsp file.
    thanks.

    this is how my web.xml looks like now.
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
         <display-name>IBNSubscriberServlet</display-name>
         <servlet>
              <description></description>
              <display-name>SubscriberServlet</display-name>
              <servlet-name>SubscriberServlet</servlet-name>
              <servlet-class>com.ibn.servlets.SubscriberServlet</servlet-class>          
         </servlet>
         <servlet-mapping>
              <servlet-name>SubscriberServlet</servlet-name>
              <url-pattern>/SubscriberServlet</url-pattern>
         </servlet-mapping>
         <welcome-file-list>
              <welcome-file>index.html</welcome-file>
              <welcome-file>index.htm</welcome-file>
              <welcome-file>index.jsp</welcome-file>
              <welcome-file>default.html</welcome-file>
              <welcome-file>default.htm</welcome-file>
              <welcome-file>default.jsp</welcome-file>
         </welcome-file-list>
    </web-app>If there is a mapping problem then the JSP should not work in tomcat as well, but it is. And i have just one servlet in the project and that is mapped my eclipse as above.

  • Simple jsp deployment - does it need weblogic.xml ?

              Hi,
              I am a newbie and trying out a very simple jsp application which connects to Oracle
              for a simple db lookup. This app used to work with Tomcat/ Apache.
              I am trying to deploy it on WLS7.0 . It does not use servlets - only JSPs.
              Could someone tell me what is the minimum level of configuration I need to deploy
              these JSPs to WLS7.0 ?
              Do I need both web.xml and weblogic.xml ?
              Do I need all the parameters in both these files ?
              Thanks a lot !
              

    WLS7.0 Does use servlet you have to register the servlet inside the
              web.xml file for a web application. It looks like this:
              <servlet>
                   <servlet-name>testservlet</servlet-name>
                   <servlet-class>
                        com.mypackage.MyTestServlet
                   </servlet-class>
              <init-param>
              <param-name>EnvironmentFile</param-name>
              <param-value>/WEB-INF/config/webstore.properties</param-value>
              </init-param>
              </servlet>
              <servlet-mapping>
              <servlet-name>testservlet</servlet-name>
              <url-pattern>/mytestservlet</url-pattern> <!-- this is the
              name on the url-->
              </servlet-mapping>
              Abraham wrote:
              > Hi,
              >
              > I am a newbie and trying out a very simple jsp application which connects to Oracle
              > for a simple db lookup. This app used to work with Tomcat/ Apache.
              >
              > I am trying to deploy it on WLS7.0 . It does not use servlets - only JSPs.
              >
              > Could someone tell me what is the minimum level of configuration I need to deploy
              > these JSPs to WLS7.0 ?
              > Do I need both web.xml and weblogic.xml ?
              >
              > Do I need all the parameters in both these files ?
              >
              > Thanks a lot !
              

  • JSP Deployment

    How do i Deploy JSP files?. do i have to use only Tomcat or Can I use Java Web Server?.

    Tomcat is a free JSP/Servlet Engine. To deploy ur applications please refer to the tom-cat docs .
    You can deploy or JSP pages/applications on any of the webserver which support JSP/Servlet.
    Amoung them are Weblogic from BEA Websphere from IBM , and also u can use the servlet /JSP engine provided by SUN . But all of them come with a considerable price tag as they are used to deploy Enterprice level applications.
    So u can choose!!!
    Thanks,
    Gautham

  • .jsp deployment in orabpel

    In 10.1.2 we had a .jsp page as an attachment to the Human task workflow. We deployed it when we run from the BPEL console it says no page found error.
    We are trying to do the deployment in 10.1.3.
    Please could someone give me the steps for attaching the.jsp page for the human workflow and run the page in jdev 10.1.3
    Thanks in advance.
    hima Bidnu

    I think you want to do something very similar to what I did. I needed to alias some .jsps.
    You can do it by using a <servlet> entry to give a .jsp a servlet name, putting the path to your .jsp in <jsp-file>.
    Then in a <servlet-mapping> under <servlet name> you put the name you've just given to your .jsp file and map incoming requests to it or alias it using <url-pattern>
    Like this:
    <servlet>
    <servlet-name>WordFinder</servlet-name>
    <display-name>Word Finder</display-name>
    <description>You can write as long a description as you like here</description>
    <jsp-file>/finderFolder/WordFinder.jsp</jsp-file>
    </servlet>
    <servlet-mapping>
    <servlet-name>WordFinder</servlet-name>
    <url-pattern>/someKindOfPattern/*</url-pattern>
    </servlet-mapping>

  • JSP deployment error

    Hi,
    I am trying to upgrade JDeveloper from 3.1 to 3.2. My JSP application is developed by 3.1. I have no problem compiling and runing my 3.1 JSP application locally under JDeveloper. But when I depolyed it to tomcat 3.1. I got the error:
    java.lang.IllegalStateException: Response has already been committed
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.lang.RuntimeException.<init>(RuntimeException.java:47)
    at java.lang.IllegalStateException.<init>(IllegalStateException.java:45)
    at org.apache.tomcat.core.HttpServletResponseFacade.sendError(HttpServletResponseFacade.java:157)
    at org.apache.jasper.runtime.JspServlet.unknownException(JspServlet.java:299)
    at org.apache.jasper.runtime.JspServlet.service(Compiled Code)
    at javax.servlet.http.HttpServlet.service(Compiled Code)
    at org.apache.tomcat.core.ServletWrapper.handleRequest(Compiled Code)
    at org.apache.tomcat.core.ContextManager.service(Compiled Code)
    at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Compiled Code)
    at org.apache.tomcat.service.TcpConnectionThread.run(Compiled Code)
    at java.lang.Thread.run(Compiled Code)
    Does anyone have idea what's wrong? My JSP are pretty simple except I implementd a custom domain for Date, which is introduced in this discussion group. I deployed all the libraries still can not figure it out. Could anyone helping if you have idea of this.
    Thanks,

    I am not sure about Oracle JSP, But I have faced similar problem in Apache Web server, the problem is JSP compiler is not recognized by the Web. After making the classpath and other required Jar files to the web it works fine.

Maybe you are looking for

  • 'NoClassDefFoundError' please help!!

    hi all, i have an ear application deployed to SOA 10.1.3.1 appluication server, BPEL worklist apis are used in the session bean of this application, when i try to access the web page that interacts with these APIs i got the following error: JBO-29000

  • Old Wiring On Phoneline - Upgrade Cost?

    Hi there, Our phone's wiring in our house is very old and I was wondering what cost it would be to upgrade it and if it would be a big job? I have attached pictures of the wiring, which is very fragile looking.

  • Upgrading to new iPod Touch

    I have a second generation iPod touch that when i get the new ipod touch i will be giving to my brother. So first right now the ipod touch is syncing to a mac, but my brother syncs to a PC (same house, same account) is there a way to transfer new app

  • Default save / download to SD Card

    Apologies i've posted a message twice. Is there a way to delete an old post?

  • My iphone 4 is working in slow motion. any solution

    iphone is working in slow motion. Battery is working ok after updation of software, it become slower and slower