Deploying my JSP

My program runs fine locally, as a non JSP application. It uses the CsvReader library javacsv.jar, and one of my files imports "com.csvreader.CsvReader" from this library.
When I try running it as a JSP application, it gives me a NoClassDefFound for "com.csvreader.CsvReader" class. I added the library to my Classpath, and I even put the jar in the WEB-INF/lib directory. Is there something else I need to do for it to execute this library correctly?

putting the jar file in WEB-INF/lib of the web application should be sufficient.
Did you restart the server after that?
Which server are you using?

Similar Messages

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

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

  • 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

  • Error trying to deploy a jsp application in a cluster

              Iam getting the following error when I tried deploy my jsp app. in a cluster with
              two servers(one administrative and one managed). I have no problem with the administrative
              server. But the managed server through this exception. The message saying web.xml
              is not found doesn't make much sense because
              1. The first server could find it.
              2. I could open the temporary war file created by weblogic and examined the web.xml
              file
              Could not find Web application "D:\bea\wlserver6.0\.\config\mydomain\applications\.wl_temp_do_not_delete_myserver2\wl_local_comp31497.war">
              java.io.FileNotFoundException: WEB-INF/web.xml XML file not found in jar file
                   at weblogic.servlet.internal.dd.DescriptorLoader.getInputSource(DescriptorLoader.java:206)
                   at weblogic.servlet.internal.dd.DescriptorLoader.<init>(DescriptorLoader.java:177)
                   at weblogic.servlet.internal.HttpServer.loadWARContext(HttpServer.java:468)
                   at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:421)
                   at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
                   at weblogic.j2ee.Application.addComponent(Application.java:126)
                   at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:115)
                   at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:283)
                   at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:109)
                   at weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:76)
                   at java.lang.reflect.Method.invoke(Native Method)
                   at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
                   at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
                   at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
                   at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
                   at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
                   at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
                   at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
                   at $Proxy22.addWebDeployment(Unknown Source)
                   at weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeployment(WebServerMBean_CachingStub.java:985)
                   at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:269)
                   at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:233)
                   at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:194)
                   at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:158)
                   at java.lang.reflect.Method.invoke(Native Method)
                   at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
                   at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
                   at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
                   at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
                   at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
                   at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
                   at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
                   at $Proxy0.updateDeployments(Unknown Source)
                   at weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub.java:2299)
                   at weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(ApplicationManager.java:240)
                   at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:122)
                   at java.lang.reflect.Method.invoke(Native Method)
                   at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
                   at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
                   at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
                   at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
                   at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
                   at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
                   at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
                   at $Proxy8.start(Unknown Source)
                   at weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start(ApplicationManagerMBean_CachingStub.java:435)
                   at weblogic.management.Admin.startApplicationManager(Admin.java:1030)
                   at weblogic.management.Admin.finish(Admin.java:491)
                   at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:429)
                   at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:170)
                   at weblogic.Server.main(Server.java:35)
              Any ideas ?
              Thanks,
              Ravi
              

              Ravi wrote:
              > Hello Viresh,
              >
              > The application Iam trying to deploy is not in the ear form. It is in the exploded
              > form. It works fine on the administrative server where it is physically located.
              > The problem is only with the second server. I have noticed that the entire directory
              > on the application is being compressed to a .war file and uploaded to the other
              > server in the cluster.
              That's true. Several customers have asked to keep the deployment in it's original form instead of compressing
              it in .war file. Currently there's a known issue with engg.
              > I even examined the WEB-INF/web.xml file it is complaining
              > about. But I couldn't find any error. This doesn't happen with the sample applications
              > that came with weblogic.
              I followed the sequence you described and tried to deploy the webapp on managed servers. I do not get the errors
              that you are seeing below. Could you tell us how are you deploying the webapp on managed server?
              Also would you mind sending your webapp? i will see if i can deploy your webapp in my environment..
              BTW, is this with SP1 or without SP1?
              Kumar
              >
              >
              > Thank you for your post,
              > Ravi.
              >
              > Viresh Garg <[email protected]> wrote:
              > >
              > >Ravi:
              > >A few questions:
              > >1. Are you trying to deploy an archive or an exploaded application.
              > >2. Are you trying to deploy a web application as an enterprise application
              > >of the WAR file part of an enterprise archive(.ear)?
              > >3. Are you deploying the application from applications directory, if
              > >Yes, remove it from applications directory, create a new web application
              > >in any other directory, define the correct application/component Admin
              > >mbeans and then choose targets ( you can do it via console too) and
              > >see
              > >if you run into same problems
              > >
              > >Thanks
              > >Viresh Garg
              > >Principal Developer Relations Engineer
              > >BEA Systems
              > >Ravi wrote:
              > >
              > >> Iam getting the following error when I tried deploy my jsp app. in
              > >a cluster with
              > >> two servers(one administrative and one managed). I have no problem
              > >with the administrative
              > >> server. But the managed server through this exception. The message
              > >saying web.xml
              > >> is not found doesn't make much sense because
              > >> 1. The first server could find it.
              > >> 2. I could open the temporary war file created by weblogic and examined
              > >the web.xml
              > >> file
              > >>
              > >> Could not find Web application "D:\bea\wlserver6.0\.\config\mydomain\applications\.wl_temp_do_not_delete_myserver2\wl_local_comp31497.war">
              > >>
              > >> java.io.FileNotFoundException: WEB-INF/web.xml XML file not found in
              > >jar file
              > >> at weblogic.servlet.internal.dd.DescriptorLoader.getInputSource(DescriptorLoader.java:206)
              > >> at weblogic.servlet.internal.dd.DescriptorLoader.<init>(DescriptorLoader.java:177)
              > >> at weblogic.servlet.internal.HttpServer.loadWARContext(HttpServer.java:468)
              > >> at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:421)
              > >> at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
              > >> at weblogic.j2ee.Application.addComponent(Application.java:126)
              > >> at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:115)
              > >> at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:283)
              > >> at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:109)
              > >> at weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:76)
              > >> at java.lang.reflect.Method.invoke(Native Method)
              > >> at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
              > >> at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
              > >> at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
              > >> at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
              > >> at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
              > >> at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
              > >> at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
              > >> at $Proxy22.addWebDeployment(Unknown Source)
              > >> at weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeployment(WebServerMBean_CachingStub.java:985)
              > >> at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:269)
              > >> at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:233)
              > >> at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:194)
              > >> at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:158)
              > >> at java.lang.reflect.Method.invoke(Native Method)
              > >> at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
              > >> at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
              > >> at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
              > >> at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
              > >> at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
              > >> at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
              > >> at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
              > >> at $Proxy0.updateDeployments(Unknown Source)
              > >> at weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub.java:2299)
              > >> at weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(ApplicationManager.java:240)
              > >> at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:122)
              > >> at java.lang.reflect.Method.invoke(Native Method)
              > >> at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
              > >> at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
              > >> at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
              > >> at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
              > >> at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
              > >> at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
              > >> at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
              > >> at $Proxy8.start(Unknown Source)
              > >> at weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start(ApplicationManagerMBean_CachingStub.java:435)
              > >> at weblogic.management.Admin.startApplicationManager(Admin.java:1030)
              > >> at weblogic.management.Admin.finish(Admin.java:491)
              > >> at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:429)
              > >> at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:170)
              > >> at weblogic.Server.main(Server.java:35)
              > >>
              > >> Any ideas ?
              > >> Thanks,
              > >> Ravi
              > >
              

  • Deploying a jsp application in OC4J

    Hi All,
    In 9iAS Release 2, can i run a jsp without deploying it on OC4J(i.e, without creating a war file, web.xml and deploying it using the Enterprise Manager deployment wizard). I need to know if there is any other way i can run a jsp. I assume that i dont need to "deploy" a JSP if i use jserv but i would want to stick onto OC4J.
    Regards,
    Sreedhar

    In R2, this is simple if your application contains plain JSPs http://<server>:7777/j2ee/simple.jsp will run each JSP and they can be called from each other by filename. If you are deploying an app with a Java archive, you may need to follow specific deployment instructions for the archive type.
    Note: If your configuration is different, replace '7777' with whatever port Apache is at.

  • Deployment Error -- JSP Compilation Error: java.lang.OutOfMemoryError -- nu

    When I deploy WAR files with the precompile jsp option, I receive the following error:
    Deployment Error -- JSP Compilation Error: java.lang.OutOfMemoryError -- null
    Is there a way for me to precompile my jsp's without using this process? Once this blows up, the admin server gets hosed. This is very frustrating. Any suggestions would be appreciated.
    Regards,
    Joshua

    You need little more memory :-), use java param -mx512M.
    You can adjust it in OC Server properties
    AS > OC4J_home(demo) > Server Properties
    section Multiple VM Configuration, Command Line Options
    Java Options: -mx512M
    Zajo

  • Deployment for JSP Application on OAS 4.0.8.2

    Hi,
    I would appreciate, if someone could share its experience of deploying the JSP application which utilizes certain JavaClasses for database access and businesslogic.
    My question is that do we need to add JSP files or .java files created under the myprojects directory. Also where do we place the java classes.
    Also, do I need to get my classpath settings in the environment variables for JSP's to run. Because my WinNT crashed twice on changing the env settings.
    Any help shall be appreciated
    Thanks

    Hi ,
    As u had said in the previous mail... I also have lot of basic doubts. Let us share them..
    What do u mean by a JSP cartridge... Should i download it or something...
    Regards,
    Ganesh R

  • Wat are all needed to be impoted to run ,deploy servlet,jsp in eclipse

    i want to know what are all needed to be impoted
    to run ,deploy servlet,jsp in eclipse
    reply me
    regards
    saravanakumar

    http://www.eclipse.org/webtools/

  • Deployment of JSP application developed using Jdeveloper

    Is it Possible to deploy/implement JSP Application developed using Jdeveloper and its Application Module, View object etc. , without using an Application Server, such has hosting at the ISP servers, but having Oracle as the back end ?

    Either you or your ISP will have to have a java enabled application server.

  • How to deploy Oracle10g jsp report in Apache

    while i am deploying Oracle jsp report in Apache through webapplication it is showing this exception...
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to read TLD "META-INF/taglib.tld" from JAR file "file:/E:/Softwares/rajivudyogasri/build/web/WEB-INF/lib/reports_tld.jar": org.apache.jasper.JasperException: Failed to load or instantiate TagExtraInfo class: oracle.reports.jsp.ReportTagExtraInfo
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
    root cause
    org.apache.jasper.JasperException: Unable to read TLD "META-INF/taglib.tld" from JAR file "file:/E:/Softwares/rajivudyogasri/build/web/WEB-INF/lib/reports_tld.jar": org.apache.jasper.JasperException: Failed to load or instantiate TagExtraInfo class: oracle.reports.jsp.ReportTagExtraInfo
         org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:50)
         org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
         org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:179)
         org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:181)
         org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:423)
         org.apache.jasper.compiler.Parser.parseDirective(Parser.java:492)
         org.apache.jasper.compiler.Parser.parseElements(Parser.java:1552)
         org.apache.jasper.compiler.Parser.parse(Parser.java:126)
         org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
         org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:155)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.27 logs.
    Apache Tomcat/5.5.27
    Thanks inadvance

    Hi,
    you can refer to this link: How to deploy jsp in R12 environment?
    Rgds,

  • Deploying the JSPs, Servlets and Java class files

    Hello All,
    I'm very new to the Oracle 9i AS. We are using Version 1.0.2.2.
    How do we deploy the JSPs, Servlets, and Java class files (simple class files, not EJBs)?
    plese give us the procedure and stpes how to deply or the links for the same.
    Thanks,
    Santhosh.

    Hi
    I guess u r running apache-jserv as servlet engine for your jsp and servlets. If its so, jsp files can be run without any additonal configuration by putting the jsp file under document root or any subdirectory and for running servlets u have to add classpath entries for your servlet in jserv.properties file.
    To make sure that your servlet engine is working, try
    http://servername:port/servlet/IsItWorking, if u get success msg that means servlet engine is working fine.
    Hope this will help
    Regards
    Kumaran

  • Deployment of JSP to Weblogic6.1: Encoding windows-1252" not supported

    When i try to deploy my JSP aaplication deployment 'webapp1.deploy' to Weblogic6.1, the following error raised:
    [weblogic.xml.process.XMLParsingException: The encoding "windows-1252" is not supported. - with nested exception:
    I have tried to change the endoding setting of project but no changes updated.
    Thanks in advance,
    Anupam
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Change the character encoding to UTF-8 in the project settings
    Double-click on the project settings.
    Select Compiler
    Change character encoding.
    Check the following URL for a how-to
    http://www.javaskyline.com/features/ide/jdevwls/jdevwls.html
    raghu
    JDev Team

Maybe you are looking for

  • Broken DVD Drive on my Satellite M35x laptop

    Hi, the CD-DVD Drive on my Satellite Laptop apparently is broken and I was thinking about purchasing an external CD-DVD Drive and would appreciate HELP. In the event that I need to RE-Install Windows, would I be able to do this with an External CD Dr

  • Timemachine

    I have just noticed, that the time machine, which saves to a western digital smart book, has only been backing up three shortcuts on my desktop, no other drives? any ideas? thank you JC

  • CRMD_ORDER_Longer time

    Hi friends, We have upgraded from CRM 2.0 to 3.0 and 3.0 to 4.0 and from 4.0 to 5.0. Two days before we have gone live, two days everthing was working fine but unfortunately system performance went very slow when iam executing CRMD_ORDER, system is t

  • My iphone 4 is unlocked but cannot activate

    how can i overcome tis problem

  • Is there a better version of photoshop that is not blurred in mac retina display???

    hi, i own a macbook pro retina display and i use photoshop frequently.unfortunately photoshop cs 6 is blurred on my mac...initially i thot it was an installation error but the controls and the workspace on cs6 is blurred... is there any other mac com