RequestDispatcher error

          hi
          while using the the forward method in RequestDispatcher, i encounter the error below. it is complaining that it cant find the method "RequestDispatcherImpl.forward".
          as my machine has a few different JDKs, is there the possiblity of it using the wrong one? i have set my JAVA_HOME to JDK1.2.2 though.
          i have checked that my classpaths are set correctly as well.
          any help is much appreciated.
          thanx
          yunyee
          ********* Error Log **********
          Mon Nov 27 17:41:28 GMT+08:00 2000:<E> <ServletContext-General> Servlet failed with Exception
          java.lang.NoSuchMethodError
          at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:95)
          

Hello,
          I suppose u should first download the j2eesdk1.2.2 , or simply download the jsdk (Java Servlet Development Kit) from developer connection in java.sun.com.
          In fact, your library for servlet may just support Servlets spec. 2.1, which does not contain the imple. of RequestDispatcher.
          Anthony
          yunyee wrote:
          > hi
          >
          > while using the the forward method in RequestDispatcher, i encounter the error below. it is complaining that it cant find the method "RequestDispatcherImpl.forward".
          >
          > as my machine has a few different JDKs, is there the possiblity of it using the wrong one? i have set my JAVA_HOME to JDK1.2.2 though.
          > i have checked that my classpaths are set correctly as well.
          >
          > any help is much appreciated.
          > thanx
          >
          > yunyee
          >
          > ********* Error Log **********
          > Mon Nov 27 17:41:28 GMT+08:00 2000:<E> <ServletContext-General> Servlet failed with Exception
          > java.lang.NoSuchMethodError
          > at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:95)
          Click here for Free Video!!
          http://www.gohip.com/free_video/
          [ctlai.vcf]
          

Similar Messages

  • RequestDispatcher Error in JSF-Portal application

    hi,
    i have the following problem and need some help, ideas, etc....
    I have a portal-application (jsr 168) with jsf frontend and wan't to do the following.
    I get via portlet-portlet communication some parameter (in processAction) and wan't to navigate in some special case to a diffrent jsf-jsp.
    I tried to do this with the request dispatcher in the doView method.
    PortletRequestDispatcher rd = getPortletContext().getRequestDispatcher("/demoJsfPage.jsp");
                rd.include(request,response);This will only work, if I have a "normal" jsp page. If I put the first jsf-item on the page, i will get a javax.portlet.PortletException at org.apache.pluto.core.impl.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:133)
    Caused by: javax.servlet.jsp.JspException: com.ibm.faces.taglib.html_extended.ScriptCollectorTag
    Nested Exception is javax.servlet.jsp.JspException: com.ibm.faces.taglib.html_extended.ScriptCollectorTag
         at com.sun.faces.taglib.jsf_core.ViewTag.doStartTag(ViewTag.java:118)
         at org.apache.jsp._PcmTreeView._jspService(_PcmTreeView.java:139)
    Any ideas, or workarounds?
    best regards
    Thanks

    Hello,
    You can download these components from Service Market Place (service.sap.com/swdc) and:
    Download -> Support Packages and Patches -> Entry by Application Group -> "Support Packages and Patches" -> "SAP NetWeaver" -> "SAP NETWEAVER" -> "SAP NETWEAVER 2004S" -> "Entry by Component" -> "BI Java":
    BI BASE SERVICES 7.00
    BI WEB APPLICATIONS 7.00
    You have to download the SP that equals your APAP SP.
    Normally, these SCAs will be installed with installation of "BI Usage Type" of the J2EE engine.
    Regards, Karol Kalisz
    SAP BI Development

  • Error While using RequestDispatcher.forward

    Hi All,
    I am getting an error while i am forwarding a request from a controller servlet to a JSP in WAS 3.5.
    i am using the following code:
    String url = "../gede/globalservices/SCSLogin.jsp";
    RequestDispatcher rd = getServletConfig().getServletContext().getRequestDispatcher(url);
    rd.forward(request, response);
    The error i get is :
    Error 404
    An error has occured while processing request:http://teamsite-cwc-review.indsys.ge.com/cwc/servlet/com.geindsys.gede.globalservices.SCSControllerServlet
    Message: [JSP 1.0 Processor] reported an error
    i was able to get the same while using response.SendRedirect(url);
    Please help..
    Thanks in Advance..
    Regards,
    Ravi.

    Looks like your JSP is throwing an exception. Check the logs in your server to find the details about it. (Was there an XML question here? I couldn't see one.)

  • Error While using RequestDispatcher.forward --URGENT!!!

    Hi All,
    I am getting an error while i am forwarding a request from a controller servlet to a JSP in WAS 3.5.
    i am using the following code:
    String url = "../gede/globalservices/SCSLogin.jsp";
    RequestDispatcher rd = getServletConfig().getServletContext().getRequestDispatcher(url);
    rd.forward(request, response);
    The error i get is :
    Error 404
    An error has occured while processing request:http://teamsite-cwc-review.indsys.ge.com/cwc/servlet/com.geindsys.gede.globalservices.SCSControllerServlet
    Message: [JSP 1.0 Processor] reported an error
    i was able to get the same while using response.SendRedirect(url);
    Please help..
    Thanks in Advance..
    Regards,
    Ravi.

    I think the problem is in the ".." part of your url.
    If you have a webapp named cwc in the webapps/cwc directory and in this webapp in there is a file SCSLogin.jsp under webapps/cwc/gede/globalservices you should use a URL:
    String url = "/gede/globalservices/SCSLogin.jsp";

  • Errors on RequestDispatcher

              I use Weblogic6.1 SP2
              I implemented new ServletRequest below coded as NewRequest class.
              This class is used in AServlet.
              if AServlet doesn't use newrequest, then no dispatch problem.
              But with NewRequest like i coded below, i see this message "javax.servlet.ServletException:
              Original request not available".
              New implementation of ServletRequest has any problem??
              public class NewRequest implements ServletRequest, HttpServletRequest {
              public class AServlet extends HttpServlet {
              public void doGet(javax.servlet.http.HttpServletRequest request,
              javax.servlet.http.HttpServletResponse response)
              throws javax.servlet.ServletException, java.io.IOException
              NewRequest newrequest = new NewRequest(request);
              RequestDispatcher rd = getServletContext().getRequestDispatcher("/test/a.jsp");
              try{
              rd.forward(newrequest,response);
              }catch(Exception e){
              System.out.println("error : "+e);
              throw new ServletException();
              

    request.getRequestDispatcher (String url) can take url begining with / and not with http://.......

  • Error using RequestDispatcher ....

    Hi. I have a directory structure like this
    tomcat
    |--webapps
    |-------openjms
    |------------WEB-INF
    |-----------------classes
    |----------------------CreateConsumer.java
    |-------project
    |------------WEB-INF
    |------------------classes
    |-----------------------project
    |----------------------------DBServlet.java
    Hope you guys understand this "tree" ;-o
    If DBServlet.java is running, how do I use the RequestDispatcher to send the request to CreateConsumer.java??
    is it
    RequestDispatcher dispatcher = getServletContext().getRequestDispatcher(../../../..????);
    thanks.

    I've never tried this, but the API docs refer to javax.servlet.ServletContext.getContext().
    The call should be:
    RequestDispatcher rd = getServletContext().getContext("/openjms").getRequestDispatcher(...);
    If you do try this, could you post the results?

  • Error in implementation of RequestDispatcher for use of filters ?

              Hi,
              I am using the new features of the servlet API 2.3 to do dynamic filtering. I
              use the RequestDispatcher object to include content that I pass via HttpServletRequestWrapper
              and HttpServletResponseWrapper, doing the following :
              RequestDispatcher dispatcher =getRequestDispatcher( servletPath ); dispatcher.include(requestWrapper,
              responseWrapper);
              The requestWrapper and responseWrapper are implementation of the wrapper object
              that redefine some calls. This works fine with Orion Server as well as Tomcat
              4.0 beta, but somehow I can't get this to work under WebLogic 6.1 beta. It works
              for some calls, but somehow the getWriter and getOutputStream calls out of the
              responseWrapper objects are never called. Please note I am also dispatching to
              JSP pages in some cases and would like the generated code to call my wrapper object
              instead of those furnished by the server.
              Thank you, Serge Huber. CTO MyComponents Inc.
              

              Serge, I am using Weblogic 6.1 SP2, and the problem you mention still exists.
              What release was BEA referring to when they said "next" relase in the previous
              post?
              Scott
              "Serge Huber" <[email protected]> wrote:
              >
              >
              >Hi,
              >
              >Glad I could be of help :) I am very happy to hear that this issue is
              >already
              >corrected. Do you have any information as to when the next release will
              >be ?
              >
              >Thank you,
              > Serge Huber
              > CTO MyComponents Inc.
              >
              >Srinagesh Susarla <[email protected]> wrote:
              >><!doctype html public "-//w3c//dtd html 4.0 transitional//en">
              >><html>
              >>Serge,
              >><br>Thanks for pointing this out. Indeed there was a bug in the implementation
              >>of wrappers.  The issue was filed and has been resolved.
              >><br>You'll see these changes in the upcoming release.
              >><br>thanks again.
              >><br>Nagesh
              >><p>Serge Huber wrote:
              >><blockquote TYPE=CITE>Sure,
              >><p>I have included in attachement a WAR file containing both compiled
              >>and
              >>source
              >><br>code of a sample use of what I call dynamic filtering (filtering
              >>done
              >>with RequestDispatcher
              >><br>instead of filter configuration files). Under Tomcat 4.0, this returns
              >>HTML that
              >><br>is valid, such as :
              >><p><html>
              >><br><head><title>HelloWorldServlet</title></head>
              >><br><body>
              >><br><p>
              >><br><table>
              >><br>    <tr>
              >><br>        <td>
              >><br>           
              >>Hello World from a JSP file
              >><br>        </td>
              >><br>    </tr>
              >><br></table></p></body></html>
              >><p>while under BEA WebLogic 6.1 beta I get the following result :
              >><p><table>
              >><br>    <tr>
              >><br>        <td>
              >><br>           
              >>Hello World from a JSP file
              >><br>        </td>
              >><br>    </tr>
              >><br></table><html>
              >><br><head><title>HelloWorldServlet</title></head>
              >><br><body>
              >><br><p></p></body></html>
              >><p>This behaviour typically happens (in my experience with servlet 2.3
              >>implementations)
              >><br>when the wrapper objects are not called in the case of a include
              >>or
              >>a forward
              >><br>call. Typically here either the getWriter or the getOutputStream
              >>objects
              >>should
              >><br>be called to output the JSP. I haven't tested the behaviour with
              >>servlets
              >>but
              >><br>I suppose it is quite similar.
              >><p>Please let me know if you need more details about the attached sample...
              >><p>Best greetings,
              >><br>   Serge Huber.
              >><br>   CTO MyComponents Inc.
              >><p>Srinagesh Susarla <[email protected]> wrote:
              >><br>><!doctype html public "-//w3c//dtd html 4.0 transitional//en">
              >><br>><html>
              >><br>>can u provide us with a sample! (responsewrapper! /requestwrapper)
              >><br>><br>thanks
              >><br>><br>-nagesh
              >><br>><p>Serge Huber wrote:
              >><br>><blockquote TYPE=CITE>Hi,
              >><br>><p>I posted the original message quite a while ago and have yet
              >>to know
              >><br>>if anybody
              >><br>><br>accept, rejects, or even has an answer for this problem.
              >>Also,
              >>if
              >><br>>additional
              >><br>>information
              >><br>><br>is required I'd be glad to furnish it, but no news at all
              >>is
              >>a bit
              >><br>>surprising.
              >><br>><p>Thanks,
              >><br>><br>  Serge Huber
              >><br>><br>  CTO MyComponents Inc.
              >><br>><p>"Serge Huber" <[email protected]> wrote:
              >><br>><br>>
              >><br>><br>>
              >><br>><br>>Hi,
              >><br>><br>>
              >><br>><br>>I am using the new features of the servlet API 2.3 to do
              >>dynamic
              >><br>>filtering.
              >><br>><br>>I
              >><br>><br>>use the RequestDispatcher object to include content that
              >>I
              >>pass
              >><br>>via
              >><br>>HttpServletRequestWrapper
              >><br>><br>>and HttpServletResponseWrapper, doing the following :
              >><br>><br>>
              >><br>><br>>RequestDispatcher dispatcher =getRequestDispatcher( servletPath
              >><br>>);
              >><br>>dispatcher.include(requestWrapper,
              >><br>><br>>responseWrapper);
              >><br>><br>>
              >><br>><br>>The requestWrapper and responseWrapper are implementation
              >>of the
              >><br>>wrapper
              >><br>><br>>object
              >><br>><br>>that redefine some calls. This works fine with Orion Server
              >>as well
              >><br>>as
              >><br>><br>>Tomcat
              >><br>><br>>4.0 beta, but somehow I can't get this to work under WebLogic
              >>6.1
              >><br>>beta.
              >><br>><br>>It works
              >><br>><br>>for some calls, but somehow the getWriter and getOutputStream
              >>calls
              >><br>>out
              >><br>><br>>of the
              >><br>><br>>responseWrapper objects are never called. Please note I
              >>am
              >>also
              >><br>>dispatching
              >><br>><br>>to
              >><br>><br>>JSP pages in some cases and would like the generated code
              >>to call
              >><br>>my
              >><br>><br>>wrapper object
              >><br>><br>>instead of those furnished by the server.
              >><br>><br>>
              >><br>><br>>Thank you, Serge Huber. CTO MyComponents Inc.
              >><br>><br>></blockquote>
              >><br>></html>
              >><br>>
              >><p>  ------------------------------------------------------------------------
              >><br>                           
              >>Name: helloworldjavaone.war
              >><br>   helloworldjavaone.war    Type: Hypertext
              >>Markup Language (text/html)
              >><br>                       
              >>Encoding: base64</blockquote>
              >></html>
              >>
              >
              

  • Error with requestDispatcher

    import javax.servlet.http.*;
    import javax.mail.*;
    import javax.mail.internet.*;
    import javax.activation.*;
    import java.util.*;
    import java.io.*;
    import javax.servlet.*;
    public class SendMail extends HttpServlet
         public void doPost(HttpServletRequest request, HttpServletResponse response) {
              MailInfo mailInfo = new MailInfo();
              String from = request.getParameter("from");
              String to = request.getParameter("to");
              String host = request.getParameter("host");
              String message = request.getParameter("message");
              String file = request.getParameter("file");
              String subject = request.getParameter("subject");
              mailInfo.setFrom(from);
              mailInfo.setTo(to);
              mailInfo.setHost(host);
              mailInfo.setMessage(message);
              mailInfo.setSubject(subject);
              //response.reset();
              request.setAttribute("mailInfo",mailInfo);
              try{
                   Session mailSession = Session.getDefaultInstance(new Properties(),null);
                   Address fromAddress = new InternetAddress(from);
                   Address toAddress = new InternetAddress(to);
                   MimeMultipart multipart = new MimeMultipart();
                   MimeBodyPart bodyPart = new MimeBodyPart();
                   bodyPart.setContent(message,"text/plain");
                   multipart.addBodyPart(bodyPart);
                   bodyPart = new MimeBodyPart();
                   DataSource source = new FileDataSource(file);
                   bodyPart.setDataHandler(new DataHandler(source));
                   multipart.addBodyPart(bodyPart);
                   MimeMessage mess = new MimeMessage(mailSession);
                   mess.setContent(multipart);
                   mess.setFrom(fromAddress);
                   mess.addRecipient(Message.RecipientType.TO,fromAddress);
                   Transport transport = mailSession.getTransport("smtp");
                   transport.connect(host,"","");
                   transport.sendMessage(mess, mess.getAllRecipients());
                   transport.close();
                   RequestDispatcher rd = getServletContext().getRequestDispatcher("/success.jsp");
                   rd.forward(request, response);          }catch(Exception e){
    When i run this servlet it throws an excpetion is:java.lang.IllegalStateException. This exception is thrown by the rd.forward command. I can not process it. Who can process this problem please help me. This is my email :[email protected]. Thanks a lot

    What is the stack trace of the exception?
    - Saish

  • Error Occured while Invoking a BPEL Process from JAVA

    Hi.....
    When initiating a BPEL process from JAVA the code is working fine and the Process is getting initiated.But while using that code in J2EE project as a java code and while calling that method Error is occuring.....
    Here by i am attaching my JAVA Code which runs as an applicateion and package which runs in Server....
    JSP and Java Method Used:
    JSP Code:
    ===============
    <%@ page import=" bo.callbpel" %>
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>FEATT - I30</title>
    </head>
    <body>
    <%
    String input=request.getParameter("dnvalue");
    callbpel p=new callbpel();
    String Output=p.Initiate(input);
    out.print("The Input Given to the BPEL Process is : "+input);
    %>
    <BR><BR><BR><BR><BR><BR>
    <%
    out.print("The Reply from BPEL Process is : "+Output);
    %>
    </body>
    </html>
    Java Code:
    package bo;
    import com.oracle.bpel.client.Locator;
    import com.oracle.bpel.client.NormalizedMessage;
    import com.oracle.bpel.client.delivery.IDeliveryService;
    import java.util.Map;
    import java.util.Properties;
    import oracle.xml.parser.v2.XMLElement;
    /*import javax.servlet.RequestDispatcher;
    import javax.servlet.ServletConfig;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest ;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpSession; */
    //import java.util.*;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    public class callbpel {
         public String Initiate(String value){
              String replyText=null;
              String input = value;
              System.out.println(input);
              String xmlInput= "<ns1:AccessDBBPELProcessRequest xmlns:ns1=\"http://xmlns.oracle.com/AccessDBBPEL\"><ns1:input>"+input+"</ns1:input></ns1:AccessDBBPELProcessRequest>";
              String xml="<ns1:BPELProcess1ProcessRequest xmlns:ns1=\"http://xmlns.oracle.com/BPELProcess1\">";
              xml=xml+"<ns1:input>"+input+"</ns1:input>";
              xml=xml+"</ns1:BPELProcess1ProcessRequest>";
              try{
              Properties props=new Properties();
              props.setProperty("orabpel.platform","ias_10g");
              props.setProperty("java.naming.factory.initial","com.evermind.server.rmi.RMIInitialContextFactory");
              props.setProperty("java.naming.provider.url","opmn:ormi://157.227.132.226:6003:home/orabpel");
              props.setProperty("java.naming.security.principal","oc4jadmin");
              props.setProperty("java.naming.security.credentials","oc4jadmin");
              props.setProperty("dedicated.rmicontext", "true");
              Locator locator = new Locator("default", "bpel", props);
              String uniqueBpelId = com.collaxa.cube.util.GUIDGenerator.generateGUID();
              //System.out.println(uniqueBpelId);
              //java.util.Map msgProps = new HashMap();
              System.out.println("After creating the locator object......");
              IDeliveryService deliveryService =(IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME);
              System.out.println("Before creating the NormalizedMessage object......");
              NormalizedMessage nm = new NormalizedMessage();
              System.out.println("After creating the NormalizedMessage object.*.*.*...");
              //msgProps.put("conversationId",uniqueBpelId);
              //nm.setProperty("conversationId",uniqueBpelId);
              nm.addPart("payload", xml);
              System.out.println("Before creating response object......");
              NormalizedMessage res = deliveryService.request("BPELProcess1", "process", nm);
              System.out.println("After calling the BPELProcess1 .*.*.*...");
              Map payload = res.getPayload();
              System.out.println("BPEL called");
              XMLElement xmlEl=(oracle.xml.parser.v2.XMLElement)payload.get("payload");
              replyText=xmlEl.getText();
              System.out.println("Reply from BPEL Process>>>>>>>>>>>>> "+replyText);
              catch (Exception e) {
              System.out.println("Exception : "+e);
              e.printStackTrace();
              return replyText;
    While Creating and Object for the Class callbpel and Whilw Calling that Method
    callbpel p=new callbpel();
    String Output=p.Initiate(input);
    Its throwing an Error:
    Error Occured is:
    After creating the locator object......
    Before creating the NormalizedMessage object......
    After creating the NormalizedMessage object.*.*.*...
    Before creating response object......
    Apr 24, 2008 9:12:00 AM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    java.lang.NoClassDefFoundError: javax/ejb/EJBException
         at com.oracle.bpel.client.util.ExceptionUtils.handleServerException(ExceptionUtils.java:76)
         at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:254)
         at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:83)
         at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:53)
         at bo.callbpel.Initiate(callbpel.java:55)
         at org.apache.jsp.output_jsp._jspService(output_jsp.java:55)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
         at java.lang.Thread.run(Unknown Source)
    For Running JSP i am Using Eclipse 3.2.0 and apache-tomcat-5.5.25
    Please Provide me a Solution......
    Thanks in Advance.....
    Regards,
    Suresh K

    Have got the same problem. Scenario at my end is little different though.
    I am trying to invoke a BPEL process from an ESB Service.
    I am trying to look into it..
    However, would be grateful, if someone can give some insight into this since many are running into this issue without being able to fix.
    Ashish.

  • Unable to get RequestDispatcher for Context

    Eclipse 3.3.0
    Tomcat 6.0.16
    Java 1.5.0_13
    Mac OS X 10.5.6
    Greetings:
    I'm attempting to retrieve information cross context in my web application. I've attempted to enable cross context access by three means.
    - I've added "crossContext=true" to the <Context> element in the server.xml of the Tomcat configuration under the Servers project of my workspace.
    - I've added "crossContext=true" to the <Context> element in a META-INF/context.xml in the WebContent folder of my project.
    - I've added "crossContext=true" to the <Context> element of the context.xml file in the conf directory of the Tomcat installation directory.
    Yet despite these changes I'm still seeing "Unable to get RequestDispatcher for Context....Verify values and/or enable cross context access" in the console. What do I need to do to enable cross context access using Eclipse? Thanks for any help.
    ETA - I've had this working before. I believe that I upgraded to Tomcat 6 from Tomcat 5.5 and that's when the jstl cross context actions broke.
    ETA - I've got it working in Tomcat 6. The problem arises when I change the name of my webapplication from "foo" to ROOT inside eclipse. I want a jsp page in the ROOT web application to be able to access a servlet in the "bar" web application.
    Edited by: nantucket on May 17, 2009 2:17 PM
    Edited by: nantucket on May 17, 2009 2:26 PM

    Thanks for your reply evnafets.
    How many times do you declare your context???I know, I know... I got frustrated. :o)
    But seriously, since my post I've discovered that it is "working" but not in the manner I had expected within the IDE. That is, if I access the page at
    http://localhost:8080/ROOT/myPage.jspThen I can see the contents retrieved from the context bar. But if I use.
    http://localhost:8080/myPage.jspI can see that the page somehow has been deployed to the root context, but the error code 500 appears in place of where the content from the bar context should be.
    However, if I export war files for these two web applications and run them in Tomcat 6 outside of Eclipse, everything works as it should. So this is an eclipse issue with respect to deploying a web application to the root context. Maybe there is some configuration about that I must make somewhere.
    I hope that makes sense.
    Anyhow, the server.xml file contains the following..
    <Context crossContext="true" docBase="bar" path="/bar" reloadable="true" source="org.eclipse.jst.j2ee.server:bar"/>
       <Context crossContext="true" docBase="ROOT" path="/ROOT" reloadable="true" source="org.eclipse.jst.j2ee.server:ROOT"/>The jstl code in the jsp page accessing the context bar is the following.
    <c:import url='/helloworld?action=view' context='/bar' />

  • JSP form values lost upon servlet request (RequestDispatcher)

    Hello,
    I have a query screen (jsp) that calls a servlet and gets results. However, although the results or errors display just fine (I do a setAttribute for them), I lose the initial values in the query form (values that the user input - which are stored in the request object). Shouldn't those values be maintained and displayed, since I'm using the RequestDispatcher and thus, I should have the same request object? Thank you, C Turner
    *****My JSP (the related code)*****
    <jsp:useBean id="form" class="com.foo.ActivityBean" scope="session">
    <jsp:setProperty name="form" property="*"
    </jsp:useBean>
    <HTML>
    <BODY>
    <FORM ACTION="ActivityFormHandler" METHOD="POST">
    <P><B>From Date</B>
    <INPUT TYPE="TEXT" NAME="fromDate" SIZE="9" VALUE="<jsp:getProperty name="form" property="fromDate"/>">
    <P><B>To Date</B>
    <INPUT TYPE="TEXT" NAME="fromDate" SIZE="9" VALUE="<jsp:getProperty name="form" property="toDate"/>">
    *****Java from my HttpServlet, ActivityFormHandler (acting as a formhandler)*****
    if (errors.size() == 0) {
    ActivityBean myActivityBean = new ActivityBean();
    myActivityBean.setBeanQueryValues(acctNumber, department, fromDate, toDate);
    Vector resultsVector = null;
    try {
    resultsVector = myActivityBean.executeQuery();
    } catch (CreateException ce) {
    errors.add("There was a problem retrieving the requested data from the database.");
    request.setAttribute("results", resultsVector);
    } else {
    //Data is not okay.
    String[] errorArray = (String[])errors.toArray(new String[errors.size()]);
    request.setAttribute("errors", errorArray);
    RequestDispatcher rd;
    rd = getServletContext().getRequestDispatcher("/public_html/ActivityQuery.jsp");
    //rd.forward(request, response);
    rd.include(request, response);

    For those interested in my question, here's what I figured out.
    Instead of:
    <INPUT TYPE="TEXT" NAME="fromDate" SIZE="9" VALUE="<jsp:getProperty name="form" property="fromDate"/>">
    Use:
    <INPUT TYPE="TEXT" NAME="fromDate" SIZE="9" VALUE="<%out.print(request.getParameter("fromDate"));%>">
    This allows the input field to persist the query value instead of blanking it out when the results are displayed. -ct

  • Getting error when placing jsp file in tomcat root folder

    hello experts,
    i have developed an application on netbeans 6.1 for mail.
    It is working perfect when i run it from netbeans, but when we copy those jsp files to ROOT folder of tomcat5.5 server, it is showing me following error.
    rg.apache.jasper.JasperException: Unable to compile class for JSP:
    An error occurred at line: 14 in the jsp file: /Mailer1.jsp
    Session cannot be resolved to a type
    11: <%!
    12: String nam = null, email = null, suggestion = null;
    13: RequestDispatcher disp = null;
    14: public static Session sess = null;
    15:
    16: %>
    17: <%
    An error occurred at line: 38 in the jsp file: /Mailer1.jsp
    sess cannot be resolved
    35:
    36: //SecurityManager security = System.getSecurityManager();
    37:
    38: sess= Session.getInstance(props,new javax.mail.Authenticator() //if u uses getDefaultInstance it will raise Security Exception
    39: {
    40: protected PasswordAuthentication getPasswordAuthentication()
    41: {
    An error occurred at line: 38 in the jsp file: /Mailer1.jsp
    Session cannot be resolved
    35:
    36: //SecurityManager security = System.getSecurityManager();
    37:
    38: sess= Session.getInstance(props,new javax.mail.Authenticator() //if u uses getDefaultInstance it will raise Security Exception
    39: {
    40: protected PasswordAuthentication getPasswordAuthentication()
    41: {
    An error occurred at line: 38 in the jsp file: /Mailer1.jsp
    javax.mail.Authenticator cannot be resolved to a type
    35:
    36: //SecurityManager security = System.getSecurityManager();
    37:
    38: sess= Session.getInstance(props,new javax.mail.Authenticator() //if u uses getDefaultInstance it will raise Security Exception
    39: {
    40: protected PasswordAuthentication getPasswordAuthentication()
    41: {
    An error occurred at line: 45 in the jsp file: /Mailer1.jsp
    sess cannot be resolved
    42: return new PasswordAuthentication("[email protected]","ratatouille");
    43: }
    44: });
    45: sess.setDebug(true);
    46:
    47:
    48: //sess = Session.getDefaultInstance(props);
    An error occurred at line: 50 in the jsp file: /Mailer1.jsp
    Transport cannot be resolved to a type
    47:
    48: //sess = Session.getDefaultInstance(props);
    49: //sess.setDebug(true);
    50: Transport trans = sess.getTransport();
    51: Message msg = new MimeMessage(sess);
    52: msg.setRecipient(Message.RecipientType.TO, new InternetAddress("[email protected]"));
    53: msg.setFrom(new InternetAddress(this.email));
    An error occurred at line: 50 in the jsp file: /Mailer1.jsp
    sess cannot be resolved
    47:
    48: //sess = Session.getDefaultInstance(props);
    49: //sess.setDebug(true);
    50: Transport trans = sess.getTransport();
    51: Message msg = new MimeMessage(sess);
    52: msg.setRecipient(Message.RecipientType.TO, new InternetAddress("[email protected]"));
    53: msg.setFrom(new InternetAddress(this.email));
    An error occurred at line: 51 in the jsp file: /Mailer1.jsp
    Message cannot be resolved to a type
    48: //sess = Session.getDefaultInstance(props);
    49: //sess.setDebug(true);
    50: Transport trans = sess.getTransport();
    51: Message msg = new MimeMessage(sess);
    52: msg.setRecipient(Message.RecipientType.TO, new InternetAddress("[email protected]"));
    53: msg.setFrom(new InternetAddress(this.email));
    54: msg.setSubject(this.nam);
    An error occurred at line: 51 in the jsp file: /Mailer1.jsp
    MimeMessage cannot be resolved to a type
    48: //sess = Session.getDefaultInstance(props);
    49: //sess.setDebug(true);
    50: Transport trans = sess.getTransport();
    51: Message msg = new MimeMessage(sess);
    52: msg.setRecipient(Message.RecipientType.TO, new InternetAddress("[email protected]"));
    53: msg.setFrom(new InternetAddress(this.email));
    54: msg.setSubject(this.nam);
    An error occurred at line: 51 in the jsp file: /Mailer1.jsp
    sess cannot be resolved
    48: //sess = Session.getDefaultInstance(props);
    49: //sess.setDebug(true);
    50: Transport trans = sess.getTransport();
    51: Message msg = new MimeMessage(sess);
    52: msg.setRecipient(Message.RecipientType.TO, new InternetAddress("[email protected]"));
    53: msg.setFrom(new InternetAddress(this.email));
    54: msg.setSubject(this.nam);
    An error occurred at line: 52 in the jsp file: /Mailer1.jsp
    Message.RecipientType.TO cannot be resolved to a type
    49: //sess.setDebug(true);
    50: Transport trans = sess.getTransport();
    51: Message msg = new MimeMessage(sess);
    52: msg.setRecipient(Message.RecipientType.TO, new InternetAddress("[email protected]"));
    53: msg.setFrom(new InternetAddress(this.email));
    54: msg.setSubject(this.nam);
    55: msg.setContent(suggestion, "text/plain");
    An error occurred at line: 52 in the jsp file: /Mailer1.jsp
    InternetAddress cannot be resolved to a type
    49: //sess.setDebug(true);
    50: Transport trans = sess.getTransport();
    51: Message msg = new MimeMessage(sess);
    52: msg.setRecipient(Message.RecipientType.TO, new InternetAddress("[email protected]"));
    53: msg.setFrom(new InternetAddress(this.email));
    54: msg.setSubject(this.nam);
    55: msg.setContent(suggestion, "text/plain");
    An error occurred at line: 53 in the jsp file: /Mailer1.jsp
    InternetAddress cannot be resolved to a type
    50: Transport trans = sess.getTransport();
    51: Message msg = new MimeMessage(sess);
    52: msg.setRecipient(Message.RecipientType.TO, new InternetAddress("[email protected]"));
    53: msg.setFrom(new InternetAddress(this.email));
    54: msg.setSubject(this.nam);
    55: msg.setContent(suggestion, "text/plain");
    56: trans.connect();
    Stacktrace:
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:93)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
         org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:435)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:298)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:302)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    i m unable to find out the solution,
    please help me to resolve it.
    thnaks.

    Hi shams.hq,
    I don't understand how you bother to copy an application in your server directories. It's really piece of cake to deploy with Tomcat.
    All you have to do :
    - with Netbeans, you build the project : a WAR file will be created in the dist directory of your project;
    - launch the server, if it's not running;
    - with your web browser, connect to the Tomcat Manager;
    - from there, you may upload and deploy the WAR file of your project.
    Et voilà ! Tomcat will unzip the WAR and install your classes and libraries at the right place.

  • JVM and Azureus error

    # An unexpected error has been detected by Java Runtime Environment:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d965340, pid=2296, tid=1652
    # Java VM: Java HotSpot(TM) Client VM (1.6.0-beta-b59g mixed mode, sharing)
    # Problematic frame:
    # V [jvm.dll+0x125340]
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    --------------- T H R E A D ---------------
    Current thread (0x00d7bf00): VMThread [id=1652]
    siginfo: ExceptionCode=0xc0000005, reading address 0x00000009
    Registers:
    EAX=0x1f975954, EBX=0x009988f0, ECX=0x00000001, EDX=0x1012e418
    ESP=0x00fefc1c, EBP=0x1f310000, ESI=0x2b1402e0, EDI=0x6da2a718
    EIP=0x6d965340, EFLAGS=0x00010202
    Top of Stack: (sp=0x00fefc1c)
    0x00fefc1c: 6d9656f0 6da2a718 6d9cbb92 6da44a24
    0x00fefc2c: 6da2a718 009988f0 009988f0 6d99728a
    0x00fefc3c: 6da2a718 00000000 6da2a718 6da2a718
    0x00fefc4c: 6d8d5301 00000001 00000002 6da2a718
    0x00fefc5c: 6da2a718 0099a460 009988f0 1f310000
    0x00fefc6c: 00000000 6d8d6d7b 00000001 00000000
    0x00fefc7c: 00000001 00000002 6da2a718 6da2a718
    0x00fefc8c: 009988f0 00000001 00010100 00001dd0
    Instructions: (pc=0x6d965340)
    0x6d965330: 8b 08 8b 50 0c 49 89 08 8b 08 8b 04 8a 8b 48 04
    0x6d965340: 8b 51 08 83 c1 08 50 ff 52 60 a1 e0 c3 a3 6d 83
    Stack: [0x00df0000,0x00ff0000), sp=0x00fefc1c, free space=2047k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    V [jvm.dll+0x125340]
    VM_Operation (0x0757f230): generation collection for allocation, mode: safepoint, requested by thread 0x0476f800
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x10061800 JavaThread "Plugin azbpdhdtracker:DHT Tracker[695]" daemon [_thread_blocked, id=1540]
    0x04647200 JavaThread "Plugin azbpdht:DHTStats[175]" daemon [_thread_blocked, id=1428]
    0x0411c100 JavaThread "DHTControl:stats[673]" daemon [_thread_blocked, id=2372]
    0x049a6500 JavaThread "ConcurrentHasher[298]" daemon [_thread_blocked, id=3788]
    0x04042a00 JavaThread "DHTControl:stats[690]" daemon [_thread_blocked, id=2352]
    0x04121800 JavaThread "Simple Timer[241]" daemon [_thread_blocked, id=3900]
    0x0403cb00 JavaThread "Simple Timer[239]" daemon [_thread_blocked, id=3872]
    0x0411cc00 JavaThread "DHTControl:internallookups[80]" daemon [_thread_blocked, id=2148]
    0x0404ed00 JavaThread "DHTControl:internallookups[79]" daemon [_thread_blocked, id=1980]
    0x0491da00 JavaThread "DHTControl:internallookups[78]" daemon [_thread_blocked, id=3972]
    0x0aa31700 JavaThread "DHTControl:internallookups[77]" daemon [_thread_blocked, id=3464]
    0x100ede00 JavaThread "DHTControl:internallookups[76]" daemon [_thread_blocked, id=2480]
    0x045d6a00 JavaThread "DHTControl:internallookups[75]" daemon [_thread_blocked, id=3112]
    0x0a9cad00 JavaThread "DHTControl:internallookups[74]" daemon [_thread_blocked, id=3484]
    0x048e3d00 JavaThread "DHTControl:internallookups[73]" daemon [_thread_blocked, id=1732]
    0x03fcfb00 JavaThread "DHTControl:internallookups[72]" daemon [_thread_blocked, id=3260]
    0x040fad00 JavaThread "DHT:cacheRepublisher[4]" daemon [_thread_blocked, id=2244]
    0x00dcad00 JavaThread "DHTControl:internallookups[71]" daemon [_thread_blocked, id=2092]
    0x040dd100 JavaThread "DiskAccessController:requestDispatcher[0]" daemon [_thread_blocked, id=3560]
    0x04641500 JavaThread "CuncurrentHasher:scheduler" daemon [_thread_blocked, id=2916]
    0x04655500 JavaThread "DiskAccessController:requestDispatcher[0]" daemon [_thread_blocked, id=3488]
    0x04044500 JavaThread "DM:PeerListenAggregatorDispatcher" daemon [_thread_blocked, id=2316]
    0x04043f00 JavaThread "PeerControlScheduler" daemon [_thread_blocked, id=2572]
    0x03feb800 JavaThread "TCPProtocolDecoder:timer" daemon [_thread_blocked, id=3140]
    0x04034800 JavaThread "DiskM:ListenAggregatorDispatcher" daemon [_thread_blocked, id=2988]
    0x041b5200 JavaThread "DMC:DiskListenAgregatorDispatcher" daemon [_thread_blocked, id=1128]
    0x0488b700 JavaThread "Timer:Tracker Timer" daemon [_thread_blocked, id=2612]
    0x0487a300 JavaThread "DM:ListenAggregatorDispatcher" daemon [_thread_blocked, id=3364]
    0x0488c500 JavaThread "Timer:Plugin azrating:Ratings Update" daemon [_thread_blocked, id=2704]
    0x04885900 JavaThread "Timer:Plugin azbpdhdtracker:DHT Tracker" daemon [_thread_blocked, id=2472]
    0x00dca900 JavaThread "Timer:Plugin azbpdht:DHTExport" daemon [_thread_blocked, id=2272]
    0x047fa800 JavaThread "Timer:DHTControl:stats" daemon [_thread_blocked, id=2544]
    0x03ff2100 JavaThread "Timer:DHT:bloomRebuilder" daemon [_thread_blocked, id=2020]
    0x0474ef00 JavaThread "Timer:DHT:cacheRepublisher" daemon [_thread_blocked, id=2732]
    0x04845300 JavaThread "Timer:DHT:originalRepublisher" daemon [_thread_blocked, id=2804]
    0x04150600 JavaThread "PRUDPPacketHandler:receiver" daemon [_thread_blocked, id=2216]
    0x040ef400 JavaThread "AWT-Windows" daemon [_thread_in_native, id=1004]
    0x04893a00 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=1504]
    0x040c9c00 JavaThread "Timer:Plugin azjpc:JPC Discovery Refresh" daemon [_thread_blocked, id=3004]
    0x040dc500 JavaThread "IPToHostNameResolver" daemon [_thread_blocked, id=2504]
    0x0a95e600 JavaThread "GUI updater" [_thread_blocked, id=320]
    0x0410c300 JavaThread "Timer:Plugin azbpdht:DHTExport" daemon [_thread_blocked, id=2536]
    0x04022200 JavaThread "PRUDPPacketHandler:sender" daemon [_thread_blocked, id=3856]
    0x046b2900 JavaThread "Timer:DHTControl:stats" daemon [_thread_blocked, id=3848]
    0x0401f300 JavaThread "Timer:DHT:bloomRebuilder" daemon [_thread_blocked, id=2824]
    0x0401f100 JavaThread "Timer:DHT:cacheRepublisher" daemon [_thread_blocked, id=2708]
    0x0489c400 JavaThread "Timer:DHT:originalRepublisher" daemon [_thread_blocked, id=3020]
    0x04886500 JavaThread "Timer:AggregatedList" daemon [_thread_blocked, id=920]
    0x04878300 JavaThread "PRUDPPacketReciever:49200" daemon [_thread_in_native, id=2964]
    0x0477d800 JavaThread "Timer:BufferPool Checker" daemon [_thread_blocked, id=4040]
    0x04890800 JavaThread "MCGroup:CtrlListener" daemon [_thread_in_native, id=3136]
    0x04881800 JavaThread "MCGroup:MCListener" daemon [_thread_in_native, id=2540]
    0x0488a800 JavaThread "Timer-1" daemon [_thread_blocked, id=1056]
    0x04764500 JavaThread "MagnetURIHandler" daemon [_thread_in_native, id=2432]
    0x0486d300 JavaThread "Timer:Plugin azbpdht:DHTStats" daemon [_thread_blocked, id=956]
    0x0485c700 JavaThread "HostNameToIPResolver" daemon [_thread_blocked, id=3148]
    0x04763e00 JavaThread "Timer-0" daemon [_thread_blocked, id=640]
    0x04763b00 JavaThread "TRHost:ListenDispatcher" daemon [_thread_blocked, id=3328]
    0x0476fb00 JavaThread "StatsWriter" daemon [_thread_blocked, id=2312]
    0x0476f800 JavaThread "Global Status Checker" [_thread_blocked, id=3948]
    0x0476c900 JavaThread "TRHost::stats.loop" daemon [_thread_blocked, id=2412]
    0x047b1d00 JavaThread "Tracker Scrape" daemon [_thread_blocked, id=2328]
    0x047c4800 JavaThread "CacheStatsAndCleaner" daemon [_thread_blocked, id=1764]
    0x048eb100 JavaThread "FMFileManager::closeQueueDispatcher" daemon [_thread_blocked, id=316]
    0x047fd800 JavaThread "Timer:Simple Timer" daemon [_thread_blocked, id=2640]
    0x04758d00 JavaThread "GM:ListenDispatcher" daemon [_thread_blocked, id=1748]
    0x04731a00 JavaThread "Start Server" daemon [_thread_in_native, id=2384]
    0x0471d700 JavaThread "ReadController:ReadProcessor" daemon [_thread_blocked, id=232]
    0x0471ca00 JavaThread "ReadController:ReadSelector" daemon [_thread_blocked, id=2496]
    0x04717700 JavaThread "WriteController:WriteProcessor" daemon [_thread_blocked, id=2408]
    0x04723c00 JavaThread "WriteController:WriteSelector" daemon [_thread_blocked, id=3312]
    0x04715f00 JavaThread "ServerSocketChecker" daemon [_thread_blocked, id=3776]
    0x046e9f00 JavaThread "VServerSelector:port49200" daemon [_thread_in_native, id=2980]
    0x046e9a00 JavaThread "ConnectDisconnectManager" daemon [_thread_blocked, id=2076]
    0x046e9200 JavaThread "AEThreadMonitor" daemon [_thread_blocked, id=2392]
    0x03ff8400 JavaThread "SystemTime" daemon [_thread_blocked, id=1040]
    0x00dbec00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3756]
    0x00dbc600 JavaThread "CompilerThread0" daemon [_thread_blocked, id=2364]
    0x00dbb700 JavaThread "Attach Listener" daemon [_thread_blocked, id=228]
    0x00dbac00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2332]
    0x00d81100 JavaThread "Finalizer" daemon [_thread_blocked, id=2616]
    0x00d7cf00 JavaThread "Reference Handler" daemon [_thread_blocked, id=2100]
    0x00996800 JavaThread "main" [_thread_in_native, id=3936]
    Other Threads:
    =>0x00d7bf00 VMThread [id=1652]
    0x00dc0000 WatcherThread [id=4048]
    VM state:at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
    [0x00995d58/0x00000108] Threads_lock - owner thread: 0x00d7bf00
    [0x00995ed8/0x00000144] Heap_lock - owner thread: 0x0476f800
    Heap
    def new generation total 2240K, used 155K [0x1e940000, 0x1eba0000, 0x1f310000)
    eden space 2048K, 0% used [0x1e940000, 0x1e940000, 0x1eb40000)
    from space 192K, 80% used [0x1eb70000, 0x1eb96da0, 0x1eba0000)
    to space 192K, 0% used [0x1eb40000, 0x1eb40000, 0x1eb70000)
    tenured generation total 29784K, used 29692K [0x1f310000, 0x21026000, 0x26940000)
    the space 29784K, 99% used [0x1f310000, 0x2100f100, 0x2100f200, 0x21026000)
    compacting perm gen total 12288K, used 10792K [0x26940000, 0x27540000, 0x2a940000)
    the space 12288K, 87% used [0x26940000, 0x273ca148, 0x273ca200, 0x27540000)
    ro space 8192K, 62% used [0x2a940000, 0x2ae47d88, 0x2ae47e00, 0x2b140000)
    rw space 12288K, 55% used [0x2b140000, 0x2b7f4368, 0x2b7f4400, 0x2bd40000)
    Dynamic libraries:
    0x00400000 - 0x00431000      C:\Program Files\Azureus\Azureus.exe
    0x7c910000 - 0x7c9c9000      C:\WINDOWS\system32\ntdll.dll
    0x7c800000 - 0x7c90c000      C:\WINDOWS\system32\kernel32.dll
    0x77da0000 - 0x77e4d000      C:\WINDOWS\system32\ADVAPI32.DLL
    0x77e50000 - 0x77ee1000      C:\WINDOWS\system32\RPCRT4.dll
    0x77ef0000 - 0x77f37000      C:\WINDOWS\system32\GDI32.dll
    0x77d10000 - 0x77da0000      C:\WINDOWS\system32\USER32.dll
    0x77be0000 - 0x77c38000      C:\WINDOWS\system32\msvcrt.dll
    0x7c9d0000 - 0x7d1f4000      C:\WINDOWS\system32\SHELL32.DLL
    0x77f40000 - 0x77fb6000      C:\WINDOWS\system32\SHLWAPI.dll
    0x76320000 - 0x7633d000      C:\WINDOWS\system32\IMM32.DLL
    0x77390000 - 0x77492000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
    0x6d840000 - 0x6da69000      c:\program files\java\jre1.6.0\bin\client\jvm.dll
    0x76ae0000 - 0x76b0f000      C:\WINDOWS\system32\WINMM.dll
    0x7c3a0000 - 0x7c41b000      C:\WINDOWS\system32\MSVCP71.dll
    0x7c340000 - 0x7c396000      C:\WINDOWS\system32\MSVCR71.dll
    0x6d2f0000 - 0x6d2f8000      c:\program files\java\jre1.6.0\bin\hpi.dll
    0x76ba0000 - 0x76bab000      C:\WINDOWS\system32\PSAPI.DLL
    0x6d7f0000 - 0x6d7fc000      c:\program files\java\jre1.6.0\bin\verify.dll
    0x6d380000 - 0x6d3a1000      c:\program files\java\jre1.6.0\bin\java.dll
    0x6d830000 - 0x6d83f000      c:\program files\java\jre1.6.0\bin\zip.dll
    0x6d5f0000 - 0x6d603000      C:\Program Files\Java\jre1.6.0\bin\net.dll
    0x719d0000 - 0x719e7000      C:\WINDOWS\system32\WS2_32.dll
    0x719c0000 - 0x719c8000      C:\WINDOWS\system32\WS2HELP.dll
    0x00ff0000 - 0x01036000      C:\WINDOWS\system32\imon.dll
    0x719f0000 - 0x719fa000      C:\WINDOWS\system32\WSOCK32.dll
    0x77650000 - 0x77671000      C:\WINDOWS\system32\NTMARTA.DLL
    0x76f10000 - 0x76f3d000      C:\WINDOWS\system32\WLDAP32.dll
    0x774a0000 - 0x775dd000      C:\WINDOWS\system32\ole32.dll
    0x71b30000 - 0x71b43000      C:\WINDOWS\system32\SAMLIB.dll
    0x71970000 - 0x719b0000      C:\WINDOWS\system32\mswsock.dll
    0x5a4d0000 - 0x5a529000      C:\WINDOWS\system32\hnetcfg.dll
    0x719b0000 - 0x719b8000      C:\WINDOWS\System32\wshtcpip.dll
    0x10000000 - 0x10012000      C:\Program Files\Azureus\aereg.dll
    0x5b070000 - 0x5b0a8000      C:\WINDOWS\system32\uxtheme.dll
    0x6d7d0000 - 0x6d7d8000      C:\Program Files\Java\jre1.6.0\bin\sunmscapi.dll
    0x779c0000 - 0x77a55000      C:\WINDOWS\system32\CRYPT32.dll
    0x77a60000 - 0x77a72000      C:\WINDOWS\system32\MSASN1.dll
    0x6d500000 - 0x6d509000      C:\Program Files\Java\jre1.6.0\bin\management.dll
    0x74680000 - 0x746cb000      C:\WINDOWS\system32\MSCTF.dll
    0x75470000 - 0x7549e000      C:\WINDOWS\system32\msctfime.ime
    0x6d610000 - 0x6d619000      C:\Program Files\Java\jre1.6.0\bin\nio.dll
    0x0ffd0000 - 0x0fff8000      C:\WINDOWS\system32\rsaenh.dll
    0x76960000 - 0x76a15000      C:\WINDOWS\system32\USERENV.dll
    0x61150000 - 0x611a4000      C:\WINDOWS\system32\netapi32.dll
    0x05e60000 - 0x05eb0000      C:\Program Files\Azureus\swt-win32-3139.dll
    0x76340000 - 0x7638a000      C:\WINDOWS\system32\comdlg32.dll
    0x770e0000 - 0x7716c000      C:\WINDOWS\system32\OLEAUT32.dll
    0x75770000 - 0x757db000      C:\WINDOWS\system32\USP10.dll
    0x76ed0000 - 0x76ef7000      C:\WINDOWS\system32\DNSAPI.dll
    0x76f60000 - 0x76f68000      C:\WINDOWS\System32\winrnr.dll
    0x76f70000 - 0x76f76000      C:\WINDOWS\system32\rasadhlp.dll
    0x76d10000 - 0x76d29000      C:\WINDOWS\system32\iphlpapi.dll
    0x76cf0000 - 0x76d08000      C:\WINDOWS\system32\MPRAPI.dll
    0x77c90000 - 0x77cc3000      C:\WINDOWS\system32\ACTIVEDS.dll
    0x76dc0000 - 0x76de5000      C:\WINDOWS\system32\adsldpc.dll
    0x76ac0000 - 0x76ad1000      C:\WINDOWS\system32\ATL.DLL
    0x76e30000 - 0x76e3e000      C:\WINDOWS\system32\rtutils.dll
    0x778c0000 - 0x779b8000      C:\WINDOWS\system32\SETUPAPI.dll
    0x097a0000 - 0x09a7c000      C:\WINDOWS\system32\xpsp2res.dll
    0x74be0000 - 0x74c0c000      C:\WINDOWS\system32\oleacc.dll
    0x76000000 - 0x76065000      C:\WINDOWS\system32\MSVCP60.dll
    0x76310000 - 0x76315000      C:\WINDOWS\system32\msimg32.dll
    0x6d000000 - 0x6d1ba000      C:\Program Files\Java\jre1.6.0\bin\awt.dll
    0x72f40000 - 0x72f66000      C:\WINDOWS\system32\WINSPOOL.DRV
    0x736a0000 - 0x736e9000      C:\WINDOWS\system32\ddraw.dll
    0x73b00000 - 0x73b06000      C:\WINDOWS\system32\DCIMAN32.dll
    0x73880000 - 0x73950000      C:\WINDOWS\system32\D3DIM700.DLL
    0x77b30000 - 0x77b52000      C:\WINDOWS\system32\appHelp.dll
    0x76f80000 - 0x76fff000      C:\WINDOWS\system32\CLBCATQ.DLL
    0x77000000 - 0x770d8000      C:\WINDOWS\system32\COMRes.dll
    0x77bd0000 - 0x77bd8000      C:\WINDOWS\system32\VERSION.dll
    0x76930000 - 0x76956000      C:\WINDOWS\system32\ntshrui.dll
    0x75db0000 - 0x75e41000      C:\WINDOWS\system32\MLANG.dll
    VM Arguments:
    jvm_args: -Dexe4j.moduleName=c:\progra~1\azureus\azureus.exe -Dexe4j.tempDir=C:\DOCUME~1\Kostas\LOCALS~1\Temp\e4jEED.tmp_dir25092 -Xmx128m -Duser.dir=c:\progra~1\azureus\ -Dazureus.nativelauncher=1
    java_command: <unknown>
    Launcher Type: generic
    Environment Variables:
    CLASSPATH=C:\Program Files\Java\jre1.6.0\lib\ext\QTJava.zip
    PATH=c:\progra~1\azureus\.\.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\QuickTime\QTSystem\
    USERNAME=Kostas
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 6 Model 8 Stepping 1, AuthenticAMD
    --------------- S Y S T E M ---------------
    OS: Windows XP Build 2600 Service Pack 2
    CPU:total 1 family 6, cmov, cx8, fxsr, mmx, sse, mmxext, 3dnowext, 3dnow
    Memory: 4k page, physical 523760k(189996k free), swap 711980k(439136k free)
    vm_info: Java HotSpot(TM) Client VM (1.6.0-beta-b59g) for windows-x86, built on Feb 6 2006 15:20:01 by "java_re" with unknown MS VC++:1310

    hey it seems that i found some solution. it seems that JRE conflicts with JVM from microsoft. i read somewhere to deactivate an option on IE advance settings which says not to use JRE 1.6.0 for applets. so it solved Azureus crashes and socket faulty selector
    Message was edited by:
    FarCry

  • Error while uploading the PAR file of Production to UAT-

    Hi Experts,
    Could you please help me out in resolving the error which i'm facing while uploading the PAR file.
    1. I have downloaded the par file from the production, imported to my NWDS.
    2. Made changes to my  HeadiView.jsp
    3. I want to test my implementation in UAT.So i have uploaded the PAR to UAT system.
    4. Below is the error i'm getting from the Log trace.
    #1.#D27E2000F002008200000020000BD0FE0004436CD4EBF6C2#1200034614604#com.sap.porta
    l.prt.runtime#sap.com/irj#com.sap.portal.prt.runtime#BVISHALA#17971##adcapsap18.
    uk_QP0_16441150#BVISHALA#5d8f9460c01111dcafa2d27e2000f002#Thread[PRT-Async 2,5,P
    RT-Async]##0#0#Error##Java###06:56_11/01/08_16441150
    [EXCEPTION]
    #1#com.sapportals.portal.prt.component.PortalComponentException: Error in in
    it method
    Component : com.tw.navigation.Masthead.HeaderiView
            at com.sapportals.portal.prt.component.PortalComponentContext.init(Porta
    lComponentContext.java:251)
            at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refr
    esh(PortalComponentContextItem.java:271)
            at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getC
    ontext(PortalComponentContextItem.java:316)
            at com.sapportals.portal.prt.component.PortalComponentRequest.getCompone
    ntContext(PortalComponentRequest.java:387)
            at com.sapportals.portal.pb.PageBuilder.createIviewProfile(PageBuilder.j
    ava:443)
            at com.sapportals.portal.pb.PageBuilder.createiView(PageBuilder.java:391
            at com.sapportals.portal.pb.PageBuilder.createAndAddiViews(PageBuilder.j
    ava:233)
            at com.sapportals.portal.pb.PageBuilder.doOnNodeReady(PageBuilder.java:6
    36)
            at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEve
    nt(AbstractPortalComponent.java:388)
            at com.sapportals.portal.pb.PageBuilder.handleEvent(PageBuilder.java:816
            at com.sapportals.portal.prt.component.CachablePortalComponent.handleEve
    nt(CachablePortalComponent.java:703)
            at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode
    .java:252)
            at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.j
    ava:368)
            at com.sapportals.portal.prt.pom.AbstractNode.addChildNode(AbstractNode.
    java:340)
            at com.sapportals.portal.navigation.PortalLauncher.doOnNodeReady(PortalL
    auncher.java:318)
            at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEve
    nt(AbstractPortalComponent.java:388)
            at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode
    .java:252)
            at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.j
    ava:368)
            at com.sapportals.portal.prt.pom.AbstractNode.addChildNode(AbstractNode.
    java:340)
            at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(P
    ortalRequestManager.java:642)
            at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(
    ServletConnection.java:240)
            at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatc
    her.java:524)
            at java.security.AccessController.doPrivileged(AccessController.java:242
            at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.ja
    va:407)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.se
    rvice(InvokerServlet.java:156)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcher
    Impl.doWork(RequestDispatcherImpl.java:321)
            at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcher
    Impl.forward(RequestDispatcherImpl.java:377)
            at com.sap.portal.navigation.Gateway.service(Gateway.java:126)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServle
    t(HttpHandlerImpl.java:401)
            at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleReq
    uest(HttpHandlerImpl.java:266)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.startServle
    t(RequestAnalizer.java:387)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.startServle
    t(RequestAnalizer.java:365)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebCo
    ntainer(RequestAnalizer.java:944)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(Requ
    estAnalizer.java:266)
            at com.sap.engine.services.httpserver.server.Client.handle(Client.java:9
    5)
            at com.sap.engine.services.httpserver.server.Processor.request(Processor
    .java:175)
            at com.sap.engine.core.service630.context.cluster.session.ApplicationSes
    sionMessageListener.process(ApplicationSessionMessageListener.java:33)
            at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRu
    nner.java:41)
            at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:3
    7)
            at java.security.AccessController.doPrivileged(AccessController.java:215
            at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.ja
    va:100)
            at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:1
    70)
    Caused by: com.sapportals.portal.prt.core.broker.PortalComponentInstantiationExc
    eption: Could not instantiate implementation class com.btexx.pct.easyWCM.navigat
    ion.masthead.HeaderiView of Portal Component com.tw.navigation.Masthead.HeaderiV
    iew because: Could not find implementation class
            at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getIn
    stanceInternal(PortalComponentItemFacade.java:242)
            at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getCo
    mponentInstance(PortalComponentItemFacade.java:160)
            at com.sapportals.portal.prt.core.broker.PortalComponentItem.getComponen
    tInstance(PortalComponentItem.java:732)
            at com.sapportals.portal.prt.component.PortalComponentContext.getCompone
    nt(PortalComponentContext.java:103)
            at com.sapportals.portal.prt.component.PortalComponentContext.init(Porta
    lComponentContext.java:242)
            ... 44 more
    Caused by: java.lang.ClassNotFoundException: com.btexx.pct.easyWCM.navigation.ma
    sthead.HeaderiView
            at java.lang.Class.forNameImpl(Native Method)
            at java.lang.Class.forName(Class.java:152)
            at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getIn
    stanceInternal(PortalComponentItemFacade.java:228)
            ... 48 more
    Kindly help me to resolve this issue.
    Many Thanks,
    B.Vishali.

    Hi,
    The problem might be caused by the version inconsistency of your J2EE and Portal Platform. 
    Please check the version of your J2EE and Portal.
    Best Regards,
    Assaf

  • Error While Login ADF Security Sample Application

    Hi All,
    Jdevloper Version : 11.1.1.5.0
    we are Creating ADF Login Application contains login.jspx and main.jspx pages.
    we define ADF Security on this Sample Application.
    when we provide valid credentials to login(username and password) it shows Error:
    Error 404--Not Found
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.5 404 Not Found
    The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
    If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead.
    The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism,
    that an old resource is permanently unavailable and has no forwarding address. 
    ManagedBean(BackingbeanScope) doLogin():
             public String doLogin() {
            String un = _userName;
            byte[] pw = _password.getBytes();
            FacesContext ctx = FacesContext.getCurrentInstance();
            HttpServletRequest request =(HttpServletRequest)ctx.getExternalContext().getRequest();
            try {
                Subject subject =Authentication.login(new URLCallbackHandler(un, pw));
                weblogic.servlet.security.ServletAuthentication.runAs(subject,request);
                String loginUrl = "/adfAuthentication?success_url=/faces/main.jspx";
                HttpServletResponse response =(HttpServletResponse)ctx.getExternalContext().getResponse();
                RequestDispatcher dispatcher =request.getRequestDispatcher(loginUrl);
         ctx.responseComplete();
        catch (FailedLoginException fle)
                    FacesMessage msg =new FacesMessage(FacesMessage.SEVERITY_ERROR, "Incorrect Username or Password", "An incorrect Username or Password was specified");
                    ctx.addMessage(null, msg);
            return null;
    In ADF Security We Define :
    User : admin1
    Enterprise Role  : ManagerGroup(added user admin1 to this EnterpriseRole)
    Application Role : Manager
    Resource Grants  : Resource Type : Web Page
                               login page
                              main  page -  Granted Role(Manager)
    jazn-data.xml file
    <?xml version = '1.0' encoding = 'UTF-8' standalone = 'yes'?>
    <jazn-data xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/jazn-data-11_0.xsd">
      <jazn-realm default="jazn.com">
        <realm>
          <name>jazn.com</name>
          <users>
            <user>
              <name>admmin1</name>
              <display-name>admmin1</display-name>
              <credentials>{903}y2I4TDwMavn90VxJJfPfgxtBsRnF0qiaMoxzP93XF74=</credentials>
            </user>
          </users>
          <roles>
            <role>
              <name>ManagerGroup</name>
              <display-name>ManagerGroup</display-name>
              <members>
                <member>
                  <type>user</type>
                  <name>admmin1</name>
                </member>
              </members>
            </role>
          </roles>
        </realm>
      </jazn-realm>
      <policy-store>
        <applications>
          <application>
            <name>ADFLogin</name>
            <app-roles>
              <app-role>
                <name>Manager</name>
                <class>oracle.security.jps.service.policystore.ApplicationRole</class>
                <display-name>Manager</display-name>
                <members>
                  <member>
                    <name>ManagerGroup</name>
                    <class>oracle.security.jps.internal.core.principals.JpsXmlEnterpriseRoleImpl</class>
                  </member>
                </members>
              </app-role>
            </app-roles>
            <jazn-policy>
              <grant>
                <grantee>
                  <principals>
                    <principal>
                      <name>Manager</name>
                      <class>oracle.security.jps.service.policystore.ApplicationRole</class>
                    </principal>
                  </principals>
                </grantee>
                <permissions>
                  <permission>
                    <class>oracle.adf.share.security.authorization.RegionPermission</class>
                    <name>multiofonds.adf.common.view.pageDefs.mainPageDef</name>
                    <actions>view</actions>
                  </permission>
                </permissions>
              </grant>
            </jazn-policy>
          </application>
        </applications>
      </policy-store>
    </jazn-data>
    Please help us how to resolve it.
    Thanks,
    kumar

    A best practice in this situation is to check on a running sample e.g. Oracle ADF: Security for Everyone
    I guess your resource grants are not set correctly.
    Timo

Maybe you are looking for

  • Officejet 4620 prints from HP Printer Assistant but shows as offline for normal print jobs

    I just purchased an Officejet 4620 to use wirelessly on our home network -- we have two Thinkpads running  Windows 7 64-bit.  I followed the installation instructions and successfully printed out test pages using both the Printer Properties page in W

  • F110 Error in creating the payment document; read job

    Hello I am running a payment run for few vendors and I am getting this error "Error in creating the payment document; read job" I have checked all the vendor acconts involved, for any blocked data but nothing is blocked. Is there any thing else that

  • Lenovo S10-2 won't start. Help!

    Hello All! Have a problem with my wife's Lenovo S10-2. Yesterday, after a 8-10 hours of netbook's inactivity (w/o heavy tasks), I found it deadly hanged. I turned it off by pressing a Power button by ~5 secs. After turning on again, I see only blank

  • Selling Exchange rate type is not picking while billing

    Hi, We have maintained Exchange rate type B for selling and the same was assigned in customer master as well as the RV document type. While raising sale order system is picking the B rate from OB08 table, but at the time of billing system is taking t

  • Can i limit the selection in Logical database ?

    hello  , how can i limit the number of records in Logical                               database ( my "yyf"  , not standart )   ? i get dump on memory  , when i press F4 , becouse i have to many records , so how can i limit the amount of records . in