BindingContext.getCurrent() fails in servlet

JDev 11.1.2.1
I built an application based on
http://biemond.blogspot.com/2009/09/job-scheduling-in-weblogic.html
That uses a timer in a servlet to schedule and run regular 'Batch' jobs. This works very well.
In the scheduled job (running in a servlet) I would like to access the database. However, my call to BindingContext.getCurrent() and other strategies to retrieve the BindingContext always return nulll. I have set up web.xml with an adfBindings filter map for my servlet. I had read that this was all that was need to allow the servlet access to the BindingContext but no luck as of yet, still returns null.
How do I configure my servlet to access the Oracle database?
Thanks for your help, Steve

You have to set up an page def file to. Check http://tompeez.wordpress.com/2011/12/16/jdev11-1-2-1-0-handling-imagesfiles-in-adf-part-3/
Timo

Similar Messages

  • Report printing failed with "Servlet error: An exception occurred. "

    Hi,
    I use Apex 3.1 in Oracle Express edition develop few applications. In one of the application, when I enable report printing in stardard reports and try to print to PDF/Excel, the servlet error occur.
    I had configured FOP in my server and I can download PDF in "interative report", but for stardard report, the report printing failed.
    I can successfully print the reports in my others applications. Anyone know what could be the reason which cause an application failed to print the report.
    Thanks
    Vincent

    Does your application name have special characters? I heard that the app name has to be just letters and numbers for this to work...actually testing right now.

  • XMLSignatureFactory fails in servlet, but works in a stand-alone program.

    Hi all,
    I am trying to write a servlet which will do XML signature et al. For the same, I am using JWSDP 2.0 (Java WebServices Developers Pack) on JRE 1.4.2_5. The servlet is hosted on SAP Netweaver 7 platform on Windows.
    I am getting an exception:
    javax.xml.crypto.NoSuchMechanismException: Cannot find DOM mechanism type
    in the "XMLSignatureFactory.getInstance" line. I looked up in the documentation of XMLSignatureFactory and it says that the DOM mechanism should be provided by the provider argument -  org.jcp.xml.dsig.internal.dom.XMLDSigRI in this case.
    import javax.xml.crypto.dsig.XMLSignatureFactory;
    XMLSignatureFactory sigFactory =
    XMLSignatureFactory.getInstance("DOM", new org.jcp.xml.dsig.internal.dom.XMLDSigRI());
    I tried the above 2 lines in a stand-alone Java client and they work without any issues.
    I also used JWSDP 1.5 and the result was same.
    This means that the servlet API or container for SAP is creating some issues to make this fail.
    I tried to add the "org.jcp.xml.dsig.internal.dom.XMLDSigRI" in the jre/lib/security/java.security, but then the server0 does not start-up.
    Any hints/pointers to resolve this issue?
    Thanks in advance.

    This problem is solved. I am putting the reply here so that others who stumble upon this error can benefit.
    Add the following line to explicitly include the provider before the getInstance
    Security.addProvider(new org.jcp.xml.dsig.internal.dom.XMLDSigRI());
    XMLSignatureFactory sigFactory =
    XMLSignatureFactory.getInstance("DOM", new org.jcp.xml.dsig.internal.dom.XMLDSigRI());

  • JSP Redirection fails, from Servlet

    Hi I have simple web application, where im doing some java operation in servlet and Req dispatching to JSP page
    Most of the the times, on first request i see JSP null pointer exception and in the next request service runs fine.
    Below is the error msg
    <Apr 23, 2014 2:35:12 PM EDT> <Warning> <HTTP Session> <BEA-100094> <The session id: y107TYHGnQTzJjJqndgvXDjky7bv1Q9LpHBNbBDyT4tJfyLl1RMF has been accessed from 7205002717985624119S:3.239.16.221:3.239.16.221:15001,3.239.16.221:15002:dev:soa_server1, a server that is not the primary (2944952919000475971S:3.239.16.221:[15002,15002,-1,-1,-1,-1,-1]:3.239.16.221:15001,3.239.16.221:15002:dev:soa_server2). The request URL was: NONE>
    <Apr 23, 2014 2:35:12 PM EDT> <Warning> <HTTP Session> <BEA-100094> <The session id: y107TYHGnQTzJjJqndgvXDjky7bv1Q9LpHBNbBDyT4tJfyLl1RMF has been accessed from 7205002717985624119S:3.239.16.221:3.239.16.221:15001,3.239.16.221:15002:dev:soa_server1, a server that is not the primary (2944952919000475971S:3.239.16.221:[15002,15002,-1,-1,-1,-1,-1]:3.239.16.221:15001,3.239.16.221:15002:dev:soa_server2). The request URL was: NONE>
    <Apr 23, 2014 2:35:12 PM EDT> <Warning> <HTTP Session> <BEA-100094> <The session id: y107TYHGnQTzJjJqndgvXDjky7bv1Q9LpHBNbBDyT4tJfyLl1RMF has been accessed from 7205002717985624119S:3.239.16.221:3.239.16.221:15001,3.239.16.221:15002:dev:soa_server1, a server that is not the primary (2944952919000475971S:3.239.16.221:[15002,15002,-1,-1,-1,-1,-1]:3.239.16.221:15001,3.239.16.221:15002:dev:soa_server2). The request URL was: NONE>
    <Apr 23, 2014 2:35:12 PM EDT> <Warning> <HTTP Session> <BEA-100094> <The session id: y107TYHGnQTzJjJqndgvXDjky7bv1Q9LpHBNbBDyT4tJfyLl1RMF has been accessed from 7205002717985624119S:3.239.16.221:3.239.16.221:15001,3.239.16.221:15002:dev:soa_server1, a server that is not the primary (2944952919000475971S:3.239.16.221:[15002,15002,-1,-1,-1,-1,-1]:3.239.16.221:15001,3.239.16.221:15002:dev:soa_server2). The request URL was: NONE>
    <Apr 23, 2014 2:35:12 PM EDT> <Warning> <HTTP Session> <BEA-100094> <The session id: y107TYHGnQTzJjJqndgvXDjky7bv1Q9LpHBNbBDyT4tJfyLl1RMF has been accessed from 7205002717985624119S:3.239.16.221:3.239.16.221:15001,3.239.16.221:15002:dev:soa_server1, a server that is not the primary (2944952919000475971S:3.239.16.221:[15002,15002,-1,-1,-1,-1,-1]:3.239.16.221:15001,3.239.16.221:15002:dev:soa_server2). The request URL was: NONE>
    map size is :1
    java.lang.NullPointerException
            at jsp_servlet.__downloaddocument._jspService(__downloaddocument.java:140)
            at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
            at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
            at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
            at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
            at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:184)
            at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526)
            at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
            at com.ge.render.servlets.GenerateReportServlet.doPost(GenerateReportServlet.java:81)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
            at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
            at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
            at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
            at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
            at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
            at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
            at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
            at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
            at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
            at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
            at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
            at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Please let me know, if you need source code of the files.
    Please help.
    _____________________________My JSP Page:_________________________________________
    <%@ page contentType="text/html; charset=US-ASCII" pageEncoding="US-ASCII"%>
    <%@ page import="java.util.Iterator"%>
    <%@ page import="java.util.HashMap"%>
    <%@ page import="java.util.Properties"%>
    <%@ page import="java.net.HttpURLConnection"%>
    <%@ page import="java.net.URL"%>
    <html>
        <head>
            <script type="text/javascript">
              function preloader() {
                  document.getElementById("loading").style.display = "none";
                  document.getElementById("content").style.display = "block";
              //preloader
            window.onload = setTimeout(preloader, 60000);
            </script>
            <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></meta>
            <meta http-equiv="Connection" content="keep-alive"></meta>
            <link type="text/css" rel="stylesheet" href="CSS/GridTable.css"/>
        </head>
        <body>
            <table width="100%" height="100%" class="gridtable">
                <tr height="80">
                    <th colspan="2">
                        <jsp:include page="/common/header.jsp"/>
                    </th>
                </tr>
                <tr>
                    <td>
                        <div id="loading" align="center" style="display:block">
                            <img src="images/loader.gif" alt="Loading..."></img><br></br>
                            <p>
                                Please wait. Report generation is in progress. <br>
                                 Report generation time depends on number of reports being submitted.
                            </p>
                        </div>
                        <div id="content" align="center" style="display:none">
                            Report Generation Results.<br></br><br></br>
                              <table>
                            <%
                       Properties props = new Properties();
      props=(Properties)session.getAttribute("props");
                           Properties eProps = new Properties();
      eProps=(Properties)session.getAttribute("exeProps");
                            String name = null;
                    HashMap<String, String> map= (HashMap<String, String>)request.getAttribute("url");
    //                 HashMap<String, String> Names= (HashMap<String, String>)request.getAttribute("names");
                     String key=null ;
                 System.out.println("map size is :"+map.size());
                 String Customer=null;
              if(!(map.isEmpty())){
              Iterator keySetIterator =map.keySet().iterator();
               while(keySetIterator.hasNext()){
                  key = keySetIterator.next().toString();
                   Customer=props.getProperty(key);
               if(Customer == null){
               Customer=eProps.getProperty(key);
               if(map.get(key).toString().equals("ErrorMessage.jsp")){
                                   %>
                    <tr>        <td><b>
                                <%=Customer%></b>
                             Report Generation Failed
                            <a href="<%=map.get(key)%>">click here</a>
                             to see error. </td></tr>
                            <%
               }else{
               %>
                                <tr>
                                    <td width="55%">
                                        <b>
                                            <%=Customer%></b>
                                    </td>
                                    <td width="25%">Ready</td>
                                    <td width="50%">
                                        <a href="<%=map.get(key)%>" target="_blank">click here</a>
                                    </td>
                                </tr>
                            </table>
                            <%}
          }}%>
                        </div>
                        <br></br>
                        <div id="backbutton" align="center">
                            <a href="LoginSuccess.jsp">Back</a>
                        </div>
                    </td>
                </tr>
                <tr height="40">
                    <td colspan="2">
                        <jsp:include page="/common/footer.jsp"/>
                    </td>
                </tr>
            </table>
        </body>
    </html>
    ________________________Servlet code_______________________________________________
    public class GenerateReportServlet extends HttpServlet {
      private static final String CONTENT_TYPE = "text/html; charset=windows-1252";
        Properties FusionProps=null;
        @Override
        public void init(ServletConfig config) throws ServletException {
           super.init(config);
           try{
               FusionProps=new Properties();
            FusionProps.load(getServletContext().getResourceAsStream("/WEB-INF/Properties/Fusion.properties"));
           }catch(Exception e){
               e.printStackTrace();
      public void doPost(HttpServletRequest request,
                         HttpServletResponse response) throws ServletException,
                                                              IOException {
          String[] list1= request.getParameterValues("custs");
         if(list1 == null){
          request.setAttribute("msg", "<b><font color=\"red\">Select atleast one ReportID for custome report generation</font><b>");
          RequestDispatcher rd =
            request.getRequestDispatcher("/LoginSuccess.jsp");
          rd.forward(request, response);
        else{
             try{
             GenerateReportDAO gr=new GenerateReportDAO();
            HashMap<String, String> cust_urls = new HashMap<String, String>();
            HashMap<String, String> url_stats = new HashMap<String, String>();
             int count=list1.length;
            long starttime=System.nanoTime();
                String proxy=FusionProps.getProperty("ProxyHost");
                String port=FusionProps.getProperty("ProxyPort");
                String RUrl=FusionProps.getProperty("Url");
                String RToken=FusionProps.getProperty("xyz");
                String Furl=FusionProps.getProperty("SOACReqReceiver");
            for(int i = 0; i < count; i++)
                String URL = gr.generateReport(list1[i],proxy,port,RUrl,RToken,Furl);
                 cust_urls.put(list1[i], URL);
                if(URL=="ErrorMessage.jsp"){
                        cust_urls.put(list1[i], URL);
            long completeTime=System.nanoTime();  
             System.out.println("Total Elapsed time "+ (completeTime-starttime) + "NanoSeconds");
            request.setAttribute("url", cust_urls);
           // request.setAttribute("stats", url_stats);
         //   request.setAttribute("names", cust_names);
        RequestDispatcher rd =
          request.getRequestDispatcher("/DownloadDocument.jsp");
        rd.forward(request, response);
             catch(Exception e){
                 e.printStackTrace();
                 request.setAttribute("msg", "Server encountered internal error, Please try again. If error persists contact corporate oracle soa team.");
                 RequestDispatcher rd =
                   request.getRequestDispatcher("/ErrorMessage.jsp");
                 rd.forward(request, response);

    i have found the class and decompiled it. Pasting the contents below.
    I have tried to find something from it. didnt help.
    // Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
    // Jad home page: http://www.kpdus.com/jad.html
    // Decompiler options: packimports(3)
    // Source File Name:   __downloaddocument.java
    package jsp_servlet;
    import java.io.*;
    import java.util.*;
    import javax.servlet.ServletConfig;
    import javax.servlet.ServletException;
    import javax.servlet.http.*;
    import javax.servlet.jsp.*;
    import javax.servlet.jsp.tagext.*;
    import weblogic.jsp.internal.jsp.JspFunctionMapper;
    import weblogic.servlet.jsp.*;
    import weblogic.utils.http.HttpParsing;
    public final class __downloaddocument extends JspBase
        implements StaleIndicator
        public __downloaddocument()
        private static void _releaseTags(PageContext pageContext, JspTag t)
            while(t != null)
                DependencyInjectionHelper.preDestroy(pageContext, t);
                if(t instanceof Tag)
                    Tag tmp = (Tag)t;
                    t = ((Tag)t).getParent();
                    try
                        tmp.release();
                    catch(Exception exception) { }
                } else
                    t = ((SimpleTag)t).getParent();
        public boolean _isStale()
            boolean _stale = _staticIsStale((StaleChecker)getServletConfig().getServletContext());
            return _stale;
        public static boolean _staticIsStale(StaleChecker sci)
            return sci.isResourceStale("/DownloadDocument.jsp", 0x1459066fe00L, "10.3.6.0", "US/Eastern");
        private static byte[] _getBytes(String block)
            try
                return block.getBytes(_WL_ORIGINAL_ENCODING);
            catch(UnsupportedEncodingException u)
                _WL_ENCODED_BYTES_OK = false;
            return null;
        public void _jspService(HttpServletRequest request, HttpServletResponse response)
            throws ServletException, IOException
            ServletConfig config = getServletConfig();
            javax.servlet.ServletContext application = config.getServletContext();
            JspTag _activeTag = null;
            Object page = this;
            PageContext pageContext = JspFactory.getDefaultFactory().getPageContext(this, request, response, null, true, 8192, true);
            response.setHeader("Content-Type", "text/html; charset=US-ASCII");
            JspWriter out = pageContext.getOut();
            ByteWriter _bw = (ByteWriter)out;
            _bw.setInitCharacterEncoding(_WL_ORIGINAL_ENCODING, _WL_ENCODED_BYTES_OK);
            JspWriter _originalOut = out;
            HttpSession session = request.getSession(true);
            try
                response.setContentType("text/html; charset=US-ASCII");
                _bw.write(_wl_block0Bytes, "\r\n");
                _bw.write(_wl_block0Bytes, "\r\n");
                _bw.write(_wl_block0Bytes, "\r\n");
                _bw.write(_wl_block1Bytes, "\r\n\r\n");
                _bw.write(_wl_block0Bytes, "\r\n");
                _bw.write(_wl_block2Bytes, "\r\n<html>\r\n    <head>\r\n        <script type=\"text/javascript\">\r\n          function preloader() {\r\n              document.getElementById(\"loading\").style.display = \"none\";\r\n              document.getElementById(\"content\").style.display = \"block\";\r\n          }\r\n          //preloader\r\n         // window.onload = setTimeout(preloader, 10000);\r\n        </script>\r\n        <meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\"></meta>\r\n        <meta http-equiv=\"Connection\" content=\"keep-alive\"></meta>\r\n        <link type=\"text/css\" rel=\"stylesheet\" href=\"CSS/GridTable.css\"/>\r\n    </head>\r\n    <body>\r\n        <table width=\"100%\" height=\"100%\" class=\"gridtable\">\r\n            <tr height=\"80\">\r\n                <th colspan=\"2\">\r\n                    ");
                String __page = "/common/header.jsp";
                String __queryParams[][] = new String[0][];
                String __encoding = request.getCharacterEncoding();
                if(__encoding == null)
                    __encoding = "ISO-8859-1";
                if(__queryParams.length == 0)
                    pageContext.include(__page);
                else
                    pageContext.include(HttpParsing.makeURI(__page, __queryParams, __encoding));
                _bw.write(_wl_block3Bytes, "\r\n                </th>\r\n            </tr>\r\n             \r\n            <tr>\r\n                <td>\r\n                   <div id=\"loading\" align=\"center\" style=\"display:block\">\r\n                        <img src=\"images/loader.gif\" alt=\"Loading...\" ></img><br>\r\n                        <p> Please wait. Report generation is in progress. <br>\r\n                           Report generation time depends on number of reports submitted.</p>\r\n                    </div>\r\n                    <div id=\"content\" align=\"center\" style=\"display:none\" >\r\n                        Report Generation Results.<br><br>\r\n                       \r\n                         \r\n                        ");
                Properties props = new Properties();
                props = (Properties)session.getAttribute("props");
                Properties eProps = new Properties();
                eProps = (Properties)session.getAttribute("exeProps");
                String name = null;
                HashMap map = (HashMap)request.getAttribute("url");
                String key = null;
                System.out.println((new StringBuilder("map size is :")).append(map.size()).toString());
                if(map.size() < 5)
                    _bw.write(_wl_block4Bytes, "\r\n             <script type=\"text/javascript\">\r\n              window.onload = setTimeout(preloader, 60000);\r\n              </script>\r\n             ");
                else
                if(map.size() > 5 && map.size() < 10)
                    _bw.write(_wl_block5Bytes, "\r\n             <script type=\"text/javascript\">\r\n              window.onload = setTimeout(preloader, 80000);\r\n              </script>\r\n             ");
                else
                if(map.size() > 10)
                    _bw.write(_wl_block6Bytes, "\r\n             <script type=\"text/javascript\">\r\n              window.onload = setTimeout(preloader, 100000);\r\n              </script> \r\n             ");
                String Customer = null;
                if(!map.isEmpty())
                    for(Iterator keySetIterator = map.keySet().iterator(); keySetIterator.hasNext();)
                        key = keySetIterator.next().toString();
                        Customer = props.getProperty(key);
                        if(Customer == null)
                            Customer = eProps.getProperty(key);
                        if(((String)map.get(key)).toString().equals("ErrorMessage.jsp"))
                            _bw.write(_wl_block7Bytes, "\r\n                         \r\n                      <b>\r\n                            ");
                            out.print(String.valueOf(Customer));
                            _bw.write(_wl_block8Bytes, "</b>\r\n                         Report Generation Failed\r\n                        <a href=\"");
                            out.print(String.valueOf(map.get(key)));
                            _bw.write(_wl_block9Bytes, "\">click here</a>\r\n                         to see error.\r\n                         \r\n                        ");
                        } else
                            _bw.write(_wl_block10Bytes, "\r\n          <table>\r\n          <tr> <td width=\"55%\">\r\n           <b> ");
                            out.print(String.valueOf(Customer));
                            _bw.write(_wl_block11Bytes, "</b> </td><td width=\"25%\">Ready</td>\r\n          <td width=\"50%\"><a href=\"");
                            out.print(String.valueOf(map.get(key)));
                            _bw.write(_wl_block12Bytes, "\" target=\"_blank\">click here</a></td></tr></table>\r\n            ");
                _bw.write(_wl_block13Bytes, "\r\n                    </div>\r\n                    <br></br>\r\n                    <div id=\"backbutton\" align=\"center\">\r\n                        <a href=\"LoginSuccess.jsp\">Back</a>\r\n                    </div>\r\n                </td>\r\n            </tr>\r\n             \r\n            <tr height=\"40\">\r\n                <td colspan=\"2\">\r\n                    ");
                String __page = "/common/footer.jsp";
                String __queryParams[][] = new String[0][];
                String __encoding = request.getCharacterEncoding();
                if(__encoding == null)
                    __encoding = "ISO-8859-1";
                if(__queryParams.length == 0)
                    pageContext.include(__page);
                else
                    pageContext.include(HttpParsing.makeURI(__page, __queryParams, __encoding));
                _bw.write(_wl_block14Bytes, "\r\n                </td>\r\n            </tr>\r\n        </table>\r\n    </body>\r\n</html>");
            catch(Throwable __ee)
                if(!(__ee instanceof SkipPageException))
                    for(; out != null && out != _originalOut; out = pageContext.popBody());
                    _releaseTags(pageContext, _activeTag);
                    pageContext.handlePageException(__ee);
        private static boolean _WL_ENCODED_BYTES_OK = true;
        private static final String _WL_ORIGINAL_ENCODING = "US-ASCII".intern();
        private static final String _wl_block0 = "\r\n";
        private static final byte _wl_block0Bytes[] = _getBytes("\r\n");
        private static final String _wl_block1 = "\r\n\r\n";
        private static final byte _wl_block1Bytes[] = _getBytes("\r\n\r\n");
        private static final String _wl_block2 = "\r\n<html>\r\n    <head>\r\n        <script type=\"text/javascript\">\r\n          function preloader() {\r\n              document.getElementById(\"loading\").style.display = \"none\";\r\n              document.getElementById(\"content\").style.display = \"block\";\r\n          }\r\n          //preloader\r\n         // window.onload = setTimeout(preloader, 10000);\r\n        </script>\r\n        <meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\"></meta>\r\n        <meta http-equiv=\"Connection\" content=\"keep-alive\"></meta>\r\n        <link type=\"text/css\" rel=\"stylesheet\" href=\"CSS/GridTable.css\"/>\r\n    </head>\r\n    <body>\r\n        <table width=\"100%\" height=\"100%\" class=\"gridtable\">\r\n            <tr height=\"80\">\r\n                <th colspan=\"2\">\r\n                    ";
        private static final byte _wl_block2Bytes[] = _getBytes("\r\n<html>\r\n    <head>\r\n        <script type=\"text/javascript\">\r\n          function preloader() {\r\n              document.getElementById(\"loading\").style.display = \"none\";\r\n              document.getElementById(\"content\").style.display = \"block\";\r\n          }\r\n          //preloader\r\n         // window.onload = setTimeout(preloader, 10000);\r\n        </script>\r\n        <meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\"></meta>\r\n        <meta http-equiv=\"Connection\" content=\"keep-alive\"></meta>\r\n        <link type=\"text/css\" rel=\"stylesheet\" href=\"CSS/GridTable.css\"/>\r\n    </head>\r\n    <body>\r\n        <table width=\"100%\" height=\"100%\" class=\"gridtable\">\r\n            <tr height=\"80\">\r\n                <th colspan=\"2\">\r\n                    ");
        private static final String _wl_block3 = "\r\n                </th>\r\n            </tr>\r\n             \r\n            <tr>\r\n                <td>\r\n                   <div id=\"loading\" align=\"center\" style=\"display:block\">\r\n                        <img src=\"images/loader.gif\" alt=\"Loading...\" ></img><br>\r\n                        <p> Please wait. Report generation is in progress. <br>\r\n                           Report generation time depends on number of reports submitted.</p>\r\n                    </div>\r\n                    <div id=\"content\" align=\"center\" style=\"display:none\" >\r\n                        Report Generation Results.<br><br>\r\n                       \r\n                         \r\n                        ";
        private static final byte _wl_block3Bytes[] = _getBytes("\r\n                </th>\r\n            </tr>\r\n             \r\n            <tr>\r\n                <td>\r\n                   <div id=\"loading\" align=\"center\" style=\"display:block\">\r\n                        <img src=\"images/loader.gif\" alt=\"Loading...\" ></img><br>\r\n                        <p> Please wait. Report generation is in progress. <br>\r\n                           Report generation time depends on number of reports submitted.</p>\r\n                    </div>\r\n                    <div id=\"content\" align=\"center\" style=\"display:none\" >\r\n                        Report Generation Results.<br><br>\r\n                       \r\n                         \r\n                        ");
        private static final String _wl_block4 = "\r\n             <script type=\"text/javascript\">\r\n              window.onload = setTimeout(preloader, 60000);\r\n              </script>\r\n             ";
        private static final byte _wl_block4Bytes[] = _getBytes("\r\n             <script type=\"text/javascript\">\r\n              window.onload = setTimeout(preloader, 60000);\r\n              </script>\r\n             ");
        private static final String _wl_block5 = "\r\n             <script type=\"text/javascript\">\r\n              window.onload = setTimeout(preloader, 80000);\r\n              </script>\r\n             ";
        private static final byte _wl_block5Bytes[] = _getBytes("\r\n             <script type=\"text/javascript\">\r\n              window.onload = setTimeout(preloader, 80000);\r\n              </script>\r\n             ");
        private static final String _wl_block6 = "\r\n             <script type=\"text/javascript\">\r\n              window.onload = setTimeout(preloader, 100000);\r\n              </script> \r\n             ";
        private static final byte _wl_block6Bytes[] = _getBytes("\r\n             <script type=\"text/javascript\">\r\n              window.onload = setTimeout(preloader, 100000);\r\n              </script> \r\n             ");
        private static final String _wl_block7 = "\r\n                         \r\n                      <b>\r\n                            ";
        private static final byte _wl_block7Bytes[] = _getBytes("\r\n                         \r\n                      <b>\r\n                            ");
        private static final String _wl_block8 = "</b>\r\n                         Report Generation Failed\r\n                        <a href=\"";
        private static final byte _wl_block8Bytes[] = _getBytes("</b>\r\n                         Report Generation Failed\r\n                        <a href=\"");
        private static final String _wl_block9 = "\">click here</a>\r\n                         to see error.\r\n                         \r\n                        ";
        private static final byte _wl_block9Bytes[] = _getBytes("\">click here</a>\r\n                         to see error.\r\n                         \r\n                        ");
        private static final String _wl_block10 = "\r\n          <table>\r\n          <tr> <td width=\"55%\">\r\n           <b> ";
        private static final byte _wl_block10Bytes[] = _getBytes("\r\n          <table>\r\n          <tr> <td width=\"55%\">\r\n           <b> ");
        private static final String _wl_block11 = "</b> </td><td width=\"25%\">Ready</td>\r\n          <td width=\"50%\"><a href=\"";
        private static final byte _wl_block11Bytes[] = _getBytes("</b> </td><td width=\"25%\">Ready</td>\r\n          <td width=\"50%\"><a href=\"");
        private static final String _wl_block12 = "\" target=\"_blank\">click here</a></td></tr></table>\r\n            ";
        private static final byte _wl_block12Bytes[] = _getBytes("\" target=\"_blank\">click here</a></td></tr></table>\r\n            ");
        private static final String _wl_block13 = "\r\n                    </div>\r\n                    <br></br>\r\n                    <div id=\"backbutton\" align=\"center\">\r\n                        <a href=\"LoginSuccess.jsp\">Back</a>\r\n                    </div>\r\n                </td>\r\n            </tr>\r\n             \r\n            <tr height=\"40\">\r\n                <td colspan=\"2\">\r\n                    ";
        private static final byte _wl_block13Bytes[] = _getBytes("\r\n                    </div>\r\n                    <br></br>\r\n                    <div id=\"backbutton\" align=\"center\">\r\n                        <a href=\"LoginSuccess.jsp\">Back</a>\r\n                    </div>\r\n                </td>\r\n            </tr>\r\n             \r\n            <tr height=\"40\">\r\n                <td colspan=\"2\">\r\n                    ");
        private static final String _wl_block14 = "\r\n                </td>\r\n            </tr>\r\n        </table>\r\n    </body>\r\n</html>";
        private static final byte _wl_block14Bytes[] = _getBytes("\r\n                </td>\r\n            </tr>\r\n        </table>\r\n    </body>\r\n</html>");
        private static JspFunctionMapper _jspx_fnmap = JspFunctionMapper.getInstance();

  • IE fails handing servlet output to plugin (netscape does)

    My servlet returns a file to the browser that a browser plugin is required to display. If I request the file using a GET from IE (5.0 or 5.5), the file is sent 2X from the servlet but does get displayed. This is fine for my test servlet, but my application can't handle being asked 2x for the same thing.If I use a POST, it only sends the file one time but fails to hand it off to the plugin and generates the Plugin Error dialog "The data that the plugin requested, did not download successfully". Everything works fine with netscape. I had someone test my servlet using IIS and JRun and they said it worked fine, so that pointed me to Weblogic.Thanks
              

    Hi
    A very interesting problem. Browsers handle html is different ways. IE may be rearranging the HTML removing the white space in between whereas Netscape might not.
    The best way to attack this problem is append the Html output into a String object as your processing moves through different stages. Now you can try printing it to the console or to a Log file once you are done. Alternately you can check to see the length of content if it matches the length of content which is printed out from a "view source" on IE.
    This is only to eliminate the probability of accidental appending of invisible characters during processing which the browsers might be auto correcting.
    I would think this process would help you to resolve the issue even though the problem may be somthing else.
    Keep us posted.
    Good Luck!
    Eshwar Rao
    Developer Technical Support
    Sun microsystems
    http://www.sun.com/developers/support

  • Javax.servlet.jsp.JspException: REP-51002: Bind to Reports Server reportserver fail??

    why i cant open my report in JDeveloper tools but i can open in report builder ????
    this is the error i get ...
    Reports Error Page
    Fri Oct 18 15:41:54 SGT 2002
    javax.servlet.jsp.JspException: REP-51002: Bind to Reports Server reportserver failed
    javax.servlet.jsp.JspException: REP-51002: Bind to Reports Server reportserver failed
         int oracle.reports.jsp.ReportTag.doStartTag()
              ReportTag.java:329
         void MyReport.jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              MyReport.jsp:4
         void oracle.jsp.runtime.HttpJsp.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              HttpJsp.java:119
         void oracle.jsp.runtimev2.JspPageTable.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)
              JspPageTable.java:302
         void oracle.jsp.runtimev2.JspServlet.internalService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              JspServlet.java:407
         void oracle.jsp.runtimev2.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              JspServlet.java:328
         void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              HttpServlet.java:336
         void com.evermind.server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              ServletRequestDispatcher.java:684
         void com.evermind.server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
              ServletRequestDispatcher.java:269
         boolean com.evermind.server.http.HttpRequestHandler.processRequest(com.evermind.server.ApplicationServerThread, com.evermind.server.http.EvermindHttpServletRequest, com.evermind.server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
              HttpRequestHandler.java:735
         void com.evermind.server.http.HttpRequestHandler.run(java.lang.Thread)
              HttpRequestHandler.java:243
         void com.evermind.util.ThreadPoolThread.run()
              ThreadPoolThread.java:64

    i still get the same error .. is it i need to set any environment variable or ... any setting ...??
    login Oracle Database
    user name = system
    password = manager
    services = dbhenry
    setting JSP Report
    Report Name = MyReport1
    Reports Server = reportserver
    Parameters = userid=system/manager@dbhenry
    the cource code below is my JSP report coding :
    <rw:report id="MyReport1" parameters="server=reportserver&userid=system/manager@dbhenry">
    <rw:objects id="objects">
    <?xml version="1.0" encoding="WINDOWS-1252" ?>
    <report name="MyReport1" DTDVersion="9.0.2.0.0">
    <xmlSettings xmlTag="MYREPORT1" xmlPrologType="text">
    <![CDATA[<?xml version="1.0" encoding="&Encoding"?>]]>
    </xmlSettings>
    <data>
    <dataSource name="Q_1">
    <select>
    <![CDATA[SELECT ALL HENRY.TEL, HENRY."ADD", HENRY.NAME, HENRY.ID
    FROM HENRY ]]>
    </select>

  • Sometime fail to call servlet ERROR message: java.io.FileNotFoundException: Response: '500: Internal Server Error' for url:.

              Error:
              java.io.FileNotFoundException: Response: '500: Internal Server Error' for url:
              'http://www.xxxx.com//myServlet/anyfile.exml'
              at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:380)
              The URL is correct.
              When it fails, on IE browser, receive the following message,
              ·     The RPC server is unavailable
              ·     The remote procedure call failed.
              Servlet receives xml and set it into session.
              This class set or get session.
              Servlet is called many times.
              Using weblogic 8.1
              

              Error:
              java.io.FileNotFoundException: Response: '500: Internal Server Error' for url:
              'http://www.xxxx.com//myServlet/anyfile.exml'
              at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:380)
              The URL is correct.
              When it fails, on IE browser, receive the following message,
              ·     The RPC server is unavailable
              ·     The remote procedure call failed.
              Servlet receives xml and set it into session.
              This class set or get session.
              Servlet is called many times.
              Using weblogic 8.1
              

  • Couldn't Find getCurrent() in BindingContext

    Hi every body ..
    DCBindingContainer bb = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
    getCurrent NOTFOUND
    Jdeveloper 11g
    Windows 7
    DB is 11g Express
    Thanks in Advance

    make sure you have the right import statement for the BindingContext
    import oracle.adf.model.BindingContext;Timo

  • Accessing a binding from inside a servlet

    Hey all,
    So I'm attempting to access a binding from a servlet instead of using the ApplicationModule approach which is recognized as a bad idea (http://blogs.oracle.com/jdevotnharvest/2010/11/when_to_use_createrootapplicationmodule_in_oracle_adf.html). However, when the code is executing in the servlet the line BindingContent.getCurrentBindingsEntry() returns null! I think there's something missing in my configuration that's causing ADFm to not recognize the servlet as having a binding file. Anything stand out?
    So inside of a servlet I have the following:
    public class RSSNewsServlet extends HttpServlet {
    public void doGet(HttpServletRequest request,
    HttpServletResponse response)
    throws ServletException, IOException {
    BindingContext bctx = BindingContext.getCurrent();
    BindingContainer bindings = bctx.getCurrentBindingsEntry();
    DCBindingContainer bindingsImpl = (DCBindingContainer)bindings;
    DCIteratorBinding dciter = bindingsImpl.findIteratorBinding("AllPapers1Iterator");
    Row [] rows = dciter.getAllRowsInRange();
    Web.xml:
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <servlet-name>NewsServlet</servlet-name>
    <servlet-name>Faces Servlet</servlet-name>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>REQUEST</dispatcher>
    </filter-mapping>
    <servlet>
    <servlet-name>NewsServlet</servlet-name>
    <servlet-class><path-to-servlet>.RSSNewsServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>NewsServlet</servlet-name>
    <url-pattern>/servlet/news.rss</url-pattern>
    </servlet-mapping>
    newsServletPageDef.xml:
    <?xml version="1.0" encoding="UTF-8" ?>
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
    version="11.1.1.56.60" id="newsServletPageDef"
    Package="<path-to-pagedefs>pageDefs">
    <parameters/>
    <executables>
    <variableIterator id="variables"/>
    <iterator Binds="AllPapers1" RangeSize="25"
    DataControl="GatewayNewsAppModuleDataControl"
    id="AllPapers1Iterator"/>
    </executables>
    <bindings>
    <tree IterBinding="AllPapers1Iterator" id="AllPapers1">
    <nodeDefinition DefName="<path-to-model>AllPapers"
    Name="AllPapers10">
    <AttrNames>
    <Item Value="PapId"/>
    <Item Value="PapTitle"/>
    <Item Value="PapPublishDate"/>
    <Item Value="PapExpireDate"/>
    <Item Value="PapAuthor"/>
    <Item Value="PapType"/>
    <Item Value="PapIssueDate"/>
    <Item Value="PapFileName"/>
    <Item Value="PapUserName"/>
    <Item Value="PapPostedDate"/>
    <Item Value="PapModifiedDate"/>
    <Item Value="PapNeverExpire"/>
    <Item Value="PapFile"/>
    </AttrNames>
    </nodeDefinition>
    </tree>
    </bindings>
    </pageDefinition>
    DataBindings.cpx:
    <pageMap>
    <page path="/servlet/news.rss" usageId="MyAlmacTemplate_view_newsServletPageDef"/>
    </pageMap>
    <pageDefinitionUsages>
    <page id="MyAlmacTemplate_view_newsServletPageDef"
    path="com.almac.aurora.gateway.pageDefs.newsServletPageDef"/>
    </pageDefinitionUsages>

    when the code is executing in the servlet the line BindingContent.getCurrentBindingsEntry() returns null!The method BindingContext.getCurrentBindingsEntry() returns from the requestScope the variable with key "bindings". When using ADF Faces this variable is set at ADF Faces' Prepare Model phase (by the PageLifecycleImpl.prepareModel() method). But when using a plain servlet this variable is not set (because the ADF Faces' page lifecycle is not executed) and this is the reason why you get a null result. As a workaround you can use the following code in your servlet:
    BindingContext bctx = BindingContext.getCurrent();
    DCBindingContainer pagedef = bctx.findBindingContainerByPath(request.getServletPath());
    bctx.setCurrentBindingsEntry(pagedef); // Invoke this method only if for some reason you need the "bindings" variable set in the environmentDimitar

  • "Failed to validate all rows" when inserting in master detail scenario

    Hi,
    I have problem writing data in a master detail scenario..
    i use the following bean method to write data.
    Data is inserted in the master table successfully but when i try to commit in the details table i get the error "Failed to validate all rows in a transaction."
    public void save(ActionEvent actionEvent)
    //writing into master table
    DCBindingContainer bindings =
    (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
    DCIteratorBinding iterBind =
    (DCIteratorBinding)bindings.get("Master1Iterator");
    MasterVOImpl vo_pr = (MasterVOImpl ) iterBind.getViewObject();
    Row r=vo_pr.createRow();
    r.setAttribute("Name", name);
    Number num =(new oracle.jbo.server.SequenceImpl("new_seq",vo_pr.getDBTransaction())).getSequenceNumber();
    r.setAttribute("Id",num);
    vo_pr.insertRow(r);
    vo_pr.getDBTransaction().commit();
    //writing into details table
    DCIteratorBinding scopeiterBind =
    (DCIteratorBinding)bindings.get("Detail2Iterator");
    DetailVOImpl vo_sc = (DetailVOImpl) scopeiterBind.getViewObject();
    Row rs=vo_sc.createRow();
    rs.setAttribute("iddetail",iddetail);
    rs.setAttribute("Name", Name);
    rs.setAttribute("id",num);
    vo_sc.insertRow(rs);
    vo_sc.getDBTransaction().commit();
    Note: the Detail iterator used here is the one under the master in the AM

    In case your model defined a view link from master to detail should try to get the detail iterator from the master and use this to create the new row.
    Row r=vo_pr.createRow();
    r.setAttribute("Name", name);
    Number num =(new oracle.jbo.server.SequenceImpl("new_seq",vo_pr.getDBTransaction())).getSequenceNumber();
    r.setAttribute("Id",num);
    vo_pr.insertRow(r);
    // this method gets the detail iterator for the master row you just created.
    // The name of the method depends on the view link in your model you expose to the master view
    Row rs=vo_pr.getDetail().createRow();
    rs.setAttribute("iddetail",iddetail);
    rs.setAttribute("Name", Name);
    // this value should be added by the framework
    //rs.setAttribute("id",num);
    vo_sc.insertRow(rs);
    vo_pr.getDBTransaction().commit();Timo

  • [Deploy Tool] How to create a  Servlet?

    Hello,
    i try to assemble and deploy a java servlet with the deploy tool in NW4, but to no avail. I managed to use jsps succesfully, but up to now i failed with servlets.
    When i try to access the WAS after deploying my exercise, i get:
    <b>404 Requested resource ( Ue160/servlet/Login.class ) not found.</b>
    The file Login.class, the directory /servlet and the URL mapping are defined in the file tab of 'J2EE Components'. As far as i can see the servlet container is unable to load the class file.
    The servlet name is in red, so something is wrong. But i can build the war-file without any error messages.
    Any hints?
    I can't use the developer studio, because it does not work with NW4.
    Message was edited by: Nico Manicone

    hi jeff
    1. I am not aware of any portal specific screen which can create this screen for you. However to create a servlet you will need to extend from the HttpServlet interface
    2. To direct the request to your servlet from your jsr 168 portlet you could use the PortletRequestDispatcher getNamedDispatcher(String s) declared on PortletContext
    Hope this helps
    anand

  • Attribute Binding dynamically created fails validation

    Hello.
    In my taskflow I need to create both an Attribute Binding and a UIComponent (RichInputText), this is the code:
    DCBindingContainer dcBindings = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
    DCIteratorBinding it = ADFUtils.findIterator("MyViewIterator");
    JUCtrlAttrsBinding nb = JUCtrlAttrsBinding.createAttributeBinding((JUFormBinding)dcBindings,null, "MyView", null, "MyViewIterator", "MyNewField");
    dcBindings.addControlBinding("MyNewField", nb);
    Then I create the RichInputText in a PanelFormLayout with his validator:
    *ValidatorTag.BindingValidator vb = new ValidatorTag.BindingValidator(null,JSFUtils.getValueExpression("#{bindings.MyNewField.validator}"));*
    *((UIXEditableValue)newRichInputText).addValidator(vb);*
    The problem is on the validator.
    I see the new InputText in my page and the value is right, but when I submit the field I see this error:
    "Unable to resolve a Validator instance using either validatorId '' or binding '#{bindings.MyNewField.validator}'."
    If I create the Attribute Binding at design time (in my PageDef) and I create dynamically the UIComponent with the validator, there is no problem!!!
    Why with the dynamic creation of the Attribute Binding, the validator doesn't works (the others bindings properties work perfectly) ?

    Use
    Checkbox.bindChecked("<<ValueAttributeName>>);
    or
    Checkbox.bindChecked("<<.ValueNode.ValueAttributeName>>);
    if the the attribute is inside a valuenode.
    Regards, Anilkumar

  • Javax.servlet.jsp.JspException: REP-51002: Bind to Reports Server reportser

    Hi,
    I am working on a JSp web based reports ver 10g .I made a war file and deployed on Apps server. when i run the report its throwing the following exception
    javax.servlet.jsp.JspException: REP-51002: Bind to Reports Server reportserver failed .
    plz suggest on how to resolve this error.
    Thanks
    Srinivas

    Hi,
    Anyone having solution for this. I am also stucked due to this error
    Reports Error Page
    Fri Jan 16 11:47:29 IST 2009
    javax.servlet.jsp.JspException: REP-51002: Bind to Reports Server reportserver failed
    javax.servlet.jsp.JspException: REP-51002: Bind to Reports Server reportserver failed
    int oracle.reports.jsp.ReportTag.doStartTag()
    void MyReport.jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
    void oracle.jsp.runtime.HttpJsp.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
    void oracle.jsp.runtimev2.JspPageTable.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)
    void oracle.jsp.runtimev2.JspServlet.internalService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
    void oracle.jsp.runtimev2.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
    void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
    void com.evermind.server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
    void com.evermind.server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
    boolean com.evermind.server.http.HttpRequestHandler.processRequest(com.evermind.server.ApplicationServerThread, com.evermind.server.http.EvermindHttpServletRequest, com.evermind.server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
    void com.evermind.server.http.HttpRequestHandler.run(java.lang.Thread)
    void com.evermind.util.ThreadPoolThread.run()
    Could u please give me a solution???

  • EP 6.0 SP2  P4  J2EE Cluster -   503! - Initialization of Dispatcher failed

    Hello,
    I have the following problem:
    SAP EP-Version: J2EE Cluster with SAP EP 6.0 SP2 Patch 4 and J2EE PL23
    After the Installation on the second Clusternode,
    -> "Additional SAP J2EE System for a portal Cluster" I get after the call of the URL: "http://<Servername>:50000/irj" the following error message: "Service Unavailable <b>503! - javax.servlet.UnavailableException: Initialization of Dispatcher failed</b>".
    It looks like, that after the synchronisation no applications would have been copied to the second Clusternode. -> There are no irj-Folder as sample on the second Clusternode.
    What is the problem? - How can I deploy the application later now ?
    About your assistance I would be happy.
    Thanks in advance.
    Ralf

    Hello John,
    We have checked the configuration of the ports and none of the used  (join port, open port) ports repeats itself inside the same host, adittional we have change ports that repeat in different host.
    The problem presist.
    Adittional I send error messages:
    1.- When we try to access to EP 60 SP2 in BSC
    Service Unavailable 503!
    javax.servlet.UnavailableException: Initialization of Dispatcher failed
         at com.sapportals.portal.prt.dispatcher.Dispatcher.initDispatcher(Dispatcher.java:370)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.initDispatcher(Dispatcher.java:212)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.access$400(Dispatcher.java:40)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:447)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:415)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(InvokerServlet.java:126)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:149)
         at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:833)
         at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:665)
         at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:312)
         at com.inqmy.services.httpserver.server.Response.handle(Response.java:173)
         at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1229)
         at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)
         at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
         at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
    2.- Startup sequence in BSC.
    Service Unavailable 503!
    javax.servlet.UnavailableException: Initialization of Dispatcher failed
         at com.sapportals.portal.prt.dispatcher.Dispatcher.initDispatcher(Dispatcher.java:370)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.initDispatcher(Dispatcher.java:212)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.access$400(Dispatcher.java:40)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:447)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:415)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(InvokerServlet.java:126)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:149)
         at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:833)
         at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:665)
         at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:312)
         at com.inqmy.services.httpserver.server.Response.handle(Response.java:173)
         at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1229)
         at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)
         at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
         at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
    Portal initialization in progress ...
    Loading core applications:
      Loading application: com.sap.portal.license.runtime
      Loading application: com.sap.portal.pcd.aclservice
      Loading application: com.sap.portal.pcd.basicrolefactory
      Loading application: com.sap.portal.pcd.basictransport
      Loading application: com.sap.portal.pcd.configservice
      Loading application: com.sap.portal.pcd.glservice
      Loading application: com.sap.portal.pcd.lockservice
      Loading application: com.sap.portal.pcd.plconnectionservice
      Loading application: com.sap.portal.pcd.softcacheservice
      Loading application: com.sap.portal.pcd.textrepository
      Loading application: com.sap.portal.pcd.traceservice
      Loading application: com.sap.portal.pcd.umwrapperservice
      Loading application: com.sap.portal.pcm.admin.apiservice
      Loading application: com.sap.portal.runtime.config
      Loading application: com.sap.portal.runtime.system.authentication
      Loading application: com.sap.portal.runtime.system.clusterinformation
      Loading application: com.sap.portal.runtime.system.inqmy
      Loading application: com.sap.portal.runtime.system.notification
      Loading application: com.sap.portal.runtime.system.permission
      Loading application: com.sap.portal.runtime.system.repository
      Loading application: com.sap.portal.umeregistration
      Loading application: com.sap.portal.usermanagement
    Loading services:
      Loading service: com.sap.portal.license.runtime|license
      Loading service: com.sap.portal.pcd.aclservice|aclconnector
      Loading service: com.sap.portal.pcd.basicrolefactory|factory
      Loading service: com.sap.portal.pcd.basictransport|transport
      Loading service: com.sap.portal.pcd.configservice|configuration
      Loading service: com.sap.portal.pcd.glservice|generic_layer
      Loading service: com.sap.portal.pcd.lockservice|locks
      Loading service: com.sap.portal.pcd.plconnectionservice|connections
      Loading service: com.sap.portal.pcd.softcacheservice|softcache
      Loading service: com.sap.portal.pcd.textrepository|TextRepositoryService
      Loading service: com.sap.portal.pcd.traceservice|traces
      Loading service: com.sap.portal.pcd.umwrapperservice|umwrapper
      Loading service: com.sap.portal.pcm.admin.apiservice|default
      Loading service: com.sap.portal.runtime.config|config
      Loading service: com.sap.portal.runtime.config|config_deployment
      Loading service: com.sap.portal.runtime.system.authentication|authentication
      Loading service: com.sap.portal.runtime.system.clusterinformation|clusterinformation
      Loading service: com.sap.portal.runtime.system.notification|notification
      Loading service: com.sap.portal.runtime.system.notification|SAPJ2EEHttpService
      Loading service: com.sap.portal.runtime.system.repository|application_repository
      Loading service: com.sap.portal.umeregistration|ume_registration
      Loading service: com.sap.portal.usermanagement|usermanagement
      Loading service: com.sap.portal.usermanagement|user_management_engine
      Loading service: com.sap.portal.usermanagement|security
    Aug 23, 2004 10:20:55 AM # System_Thread_84     Fatal           [Portal.init] Application Broker - initialization failed.
    com.sapportals.portal.prt.runtime.PortalException: [Portal Application Broker] applications start failed
         at com.sapportals.portal.prt.core.broker.PortalAppBroker.start(PortalAppBroker.java:1223)
         at com.sapportals.portal.prt.core.broker.PortalAppBroker.startCoreApplications(PortalAppBroker.java:1152)
         at com.sapportals.portal.prt.runtime.Portal.init(Portal.java:343)
         at com.sapportals.portal.prt.core.PortalCoreInitializer.coreInit(PortalCoreInitializer.java:55)
         at com.sapportals.portal.prt.dispatcher.PortalInitializer.<init>(PortalInitializer.java:129)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doSetupPortalInitializer.run(Dispatcher.java:160)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.initDispatcher(Dispatcher.java:358)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.access$000(Dispatcher.java:40)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$InitRunner.run(Dispatcher.java:113)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.init(Dispatcher.java:391)
         at com.inqmy.services.servlets_jsp.server.ServletContextFacade.init(ServletContextFacade.java:3284)
         at com.inqmy.services.servlets_jsp.server.ServletContextFacade.init(ServletContextFacade.java:2542)
         at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.createContext(ServletsAndJspImpl.java:766)
         at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.<init>(ServletsAndJspImpl.java:201)
         at com.inqmy.services.servlets_jsp.server.ServletsAndJspServerFrame.start(ServletsAndJspServerFrame.java:124)
         at com.inqmy.core.service.application.ApplicationServiceRunner.startFrame(ApplicationServiceRunner.java:55)
         at com.inqmy.core.service.container.ServiceRunner.run(ServiceRunner.java:129)
         at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
    Caused by: com.sapportals.portal.prt.runtime.PortalException: [PortalServiceItem.startServices] service initialisation step 2 failed: com.sap.portal.usermanagement|user_management_engine
         at com.sapportals.portal.prt.core.broker.PortalServiceItem.startServices(PortalServiceItem.java:915)
         at com.sapportals.portal.prt.core.broker.PortalAppBroker.startLoadOnStartupServices(PortalAppBroker.java:1262)
         at com.sapportals.portal.prt.core.broker.PortalAppBroker.start(PortalAppBroker.java:1218)
         at com.sapportals.portal.prt.core.broker.PortalAppBroker.startCoreApplications(PortalAppBroker.java:1152)
         at com.sapportals.portal.prt.runtime.Portal.init(Portal.java:343)
         at com.sapportals.portal.prt.core.PortalCoreInitializer.coreInit(PortalCoreInitializer.java:55)
         at com.sapportals.portal.prt.dispatcher.PortalInitializer.<init>(PortalInitializer.java:129)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doSetupPortalInitializer.run(Dispatcher.java:160)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.initDispatcher(Dispatcher.java:358)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.access$000(Dispatcher.java:40)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$InitRunner.run(Dispatcher.java:113)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.init(Dispatcher.java:391)
         at com.inqmy.services.servlets_jsp.server.ServletContextFacade.init(ServletContextFacade.java:3284)
         at com.inqmy.services.servlets_jsp.server.ServletContextFacade.init(ServletContextFacade.java:2542)
         at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.createContext(ServletsAndJspImpl.java:766)
         at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.<init>(ServletsAndJspImpl.java:201)
         at com.inqmy.services.servlets_jsp.server.ServletsAndJspServerFrame.start(ServletsAndJspServerFrame.java:124)
         at com.inqmy.core.service.application.ApplicationServiceRunner.startFrame(ApplicationServiceRunner.java:55)
         at com.inqmy.core.service.container.ServiceRunner.run(ServiceRunner.java:129)
         at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
    Caused by: com.sapportals.portal.prt.core.broker.PortalServiceInstantiationException: Could not instantiate implementation class com.sap.ip.portal.service.ume.UserManagementEngine of Portal Service com.sap.portal.usermanagement|user_management_engine because: could not load the service
         at com.sapportals.portal.prt.core.broker.PortalServiceItem.__initServiceInstanceStep2(PortalServiceItem.java:747)
         at com.sapportals.portal.prt.core.broker.PortalServiceItem.startServices(PortalServiceItem.java:909)
         at com.sapportals.portal.prt.core.broker.PortalAppBroker.startLoadOnStartupServices(PortalAppBroker.java:1262)
         at com.sapportals.portal.prt.core.broker.PortalAppBroker.start(PortalAppBroker.java:1218)
         at com.sapportals.portal.prt.core.broker.PortalAppBroker.startCoreApplications(PortalAppBroker.java:1152)
         at com.sapportals.portal.prt.runtime.Portal.init(Portal.java:343)
         at com.sapportals.portal.prt.core.PortalCoreInitializer.coreInit(PortalCoreInitializer.java:55)
         at com.sapportals.portal.prt.dispatcher.PortalInitializer.<init>(PortalInitializer.java:129)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doSetupPortalInitializer.run(Dispatcher.java:160)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.initDispatcher(Dispatcher.java:358)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.access$000(Dispatcher.java:40)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$InitRunner.run(Dispatcher.java:113)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.init(Dispatcher.java:391)
         at com.inqmy.services.servlets_jsp.server.ServletContextFacade.init(ServletContextFacade.java:3284)
         at com.inqmy.services.servlets_jsp.server.ServletContextFacade.init(ServletContextFacade.java:2542)
         at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.createContext(ServletsAndJspImpl.java:766)
         at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.<init>(ServletsAndJspImpl.java:201)
         at com.inqmy.services.servlets_jsp.server.ServletsAndJspServerFrame.start(ServletsAndJspServerFrame.java:124)
         at com.inqmy.core.service.application.ApplicationServiceRunner.startFrame(ApplicationServiceRunner.java:55)
         at com.inqmy.core.service.container.ServiceRunner.run(ServiceRunner.java:129)
         at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
    Caused by: java.lang.NullPointerException
         at com.sapportals.portal.prt.service.config.ConfigService.findArchiveWithName(ConfigService.java:1247)
         at com.sapportals.portal.prt.service.config.ConfigService.installPortalRootPlugin(ConfigService.java:1229)
         at com.sapportals.portal.prt.service.config.ConfigService.performInitialization(ConfigService.java:1036)
         at com.sapportals.portal.prt.service.config.ConfigService.internalInit(ConfigService.java:945)
         at com.sapportals.portal.prt.service.config.ConfigService.umeInitialized(ConfigService.java:398)
         at com.sap.portal.service.umeRegistration.UMERegistration.fireEvents(UMERegistration.java:123)
         at com.sap.portal.service.umeRegistration.UMERegistration.triggerMe(UMERegistration.java:109)
         at com.sap.ip.portal.service.ume.UserManagementEngine.fireEvents(UserManagementEngine.java:245)
         at com.sap.ip.portal.service.ume.UserManagementEngine.afterInit(UserManagementEngine.java:85)
         at com.sapportals.portal.prt.core.broker.PortalServiceItem.__initServiceInstanceStep2(PortalServiceItem.java:736)
         at com.sapportals.portal.prt.core.broker.PortalServiceItem.startServices(PortalServiceItem.java:909)
         at com.sapportals.portal.prt.core.broker.PortalAppBroker.startLoadOnStartupServices(PortalAppBroker.java:1262)
         at com.sapportals.portal.prt.core.broker.PortalAppBroker.start(PortalAppBroker.java:1218)
         at com.sapportals.portal.prt.core.broker.PortalAppBroker.startCoreApplications(PortalAppBroker.java:1152)
         at com.sapportals.portal.prt.runtime.Portal.init(Portal.java:343)
         at com.sapportals.portal.prt.core.PortalCoreInitializer.coreInit(PortalCoreInitializer.java:55)
         at com.sapportals.portal.prt.dispatcher.PortalInitializer.<init>(PortalInitializer.java:129)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doSetupPortalInitializer.run(Dispatcher.java:160)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.initDispatcher(Dispatcher.java:358)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.access$000(Dispatcher.java:40)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$InitRunner.run(Dispatcher.java:113)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.init(Dispatcher.java:391)
         at com.inqmy.services.servlets_jsp.server.ServletContextFacade.init(ServletContextFacade.java:3284)
         at com.inqmy.services.servlets_jsp.server.ServletContextFacade.init(ServletContextFacade.java:2542)
         at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.createContext(ServletsAndJspImpl.java:766)
         at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.<init>(ServletsAndJspImpl.java:201)
         at com.inqmy.services.servlets_jsp.server.ServletsAndJspServerFrame.start(ServletsAndJspServerFrame.java:124)
         at com.inqmy.core.service.application.ApplicationServiceRunner.startFrame(ApplicationServiceRunner.java:55)
         at com.inqmy.core.service.container.ServiceRunner.run(ServiceRunner.java:129)
         at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
    java.security.PrivilegedActionException: com.sapportals.portal.prt.core.PortalCoreInitializerException: Main initialization of plugin failed
         at com.sapportals.portal.prt.dispatcher.PortalInitializer.<init>(PortalInitializer.java:134)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doSetupPortalInitializer.run(Dispatcher.java:160)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.initDispatcher(Dispatcher.java:358)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.access$000(Dispatcher.java:40)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$InitRunner.run(Dispatcher.java:113)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.init(Dispatcher.java:391)
         at com.inqmy.services.servlets_jsp.server.ServletContextFacade.init(ServletContextFacade.java:3284)
         at com.inqmy.services.servlets_jsp.server.ServletContextFacade.init(ServletContextFacade.java:2542)
         at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.createContext(ServletsAndJspImpl.java:766)
         at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.<init>(ServletsAndJspImpl.java:201)
         at com.inqmy.services.servlets_jsp.server.ServletsAndJspServerFrame.start(ServletsAndJspServerFrame.java:124)
         at com.inqmy.core.service.application.ApplicationServiceRunner.startFrame(ApplicationServiceRunner.java:55)
         at com.inqmy.core.service.container.ServiceRunner.run(ServiceRunner.java:129)
         at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
    Caused by: java.lang.IllegalStateException: [Portal.init] Application Broker - initialization failed.
         at com.sapportals.portal.prt.runtime.Portal.init(Portal.java:349)
         at com.sapportals.portal.prt.core.PortalCoreInitializer.coreInit(PortalCoreInitializer.java:55)
         at com.sapportals.portal.prt.dispatcher.PortalInitializer.<init>(PortalInitializer.java:129)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doSetupPortalInitializer.run(Dispatcher.java:160)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.initDispatcher(Dispatcher.java:358)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.access$000(Dispatcher.java:40)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$InitRunner.run(Dispatcher.java:113)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.init(Dispatcher.java:391)
         at com.inqmy.services.servlets_jsp.server.ServletContextFacade.init(ServletContextFacade.java:3284)
         at com.inqmy.services.servlets_jsp.server.ServletContextFacade.init(ServletContextFacade.java:2542)
         at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.createContext(ServletsAndJspImpl.java:766)
         at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.<init>(ServletsAndJspImpl.java:201)
         at com.inqmy.services.servlets_jsp.server.ServletsAndJspServerFrame.start(ServletsAndJspServerFrame.java:124)
         at com.inqmy.core.service.application.ApplicationServiceRunner.startFrame(ApplicationServiceRunner.java:55)
         at com.inqmy.core.service.container.ServiceRunner.run(ServiceRunner.java:129)
         at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
    WARNING: Dispatcher could not be set up:
    javax.servlet.UnavailableException: Initialization of Dispatcher failed
    javax.servlet.UnavailableException: Initialization of Dispatcher failed
         at com.sapportals.portal.prt.dispatcher.Dispatcher.initDispatcher(Dispatcher.java:370)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.access$000(Dispatcher.java:40)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$InitRunner.run(Dispatcher.java:113)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.init(Dispatcher.java:391)
         at com.inqmy.services.servlets_jsp.server.ServletContextFacade.init(ServletContextFacade.java:3284)
         at com.inqmy.services.servlets_jsp.server.ServletContextFacade.init(ServletContextFacade.java:2542)
         at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.createContext(ServletsAndJspImpl.java:766)
         at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.<init>(ServletsAndJspImpl.java:201)
         at com.inqmy.services.servlets_jsp.server.ServletsAndJspServerFrame.start(ServletsAndJspServerFrame.java:124)
         at com.inqmy.core.service.application.ApplicationServiceRunner.startFrame(ApplicationServiceRunner.java:55)
         at com.inqmy.core.service.container.ServiceRunner.run(ServiceRunner.java:129)
         at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
    com.sapportals.portal.prt.dispatcher.DispatcherException: Previous dispatcher initialization failed. Check logs for details.
         at com.sapportals.portal.prt.dispatcher.Dispatcher.initDispatcher(Dispatcher.java:256)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.initDispatcher(Dispatcher.java:212)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.access$400(Dispatcher.java:40)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:447)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:415)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(InvokerServlet.java:126)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:149)
         at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:833)
         at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:665)
         at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:312)
         at com.inqmy.services.httpserver.server.Response.handle(Response.java:173)
         at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1229)
         at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)
         at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
         at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)

  • JSP- Servlet- Same JSP - Urgent HELP!

    I have a scenario as follows:
    The JSP is a Login JSP which forwards the request to the Servlet to validate the Login info from the HTML. This I do by submitting the JSP page to itself & in the beginning checking if the Submit button was clicked, if yes, then I extract all the form elements by request.getPArameter(element name) & set in on the request using request.setAttribute() methods! The servlet uses the values by doing a request.getAttribute() & say, a validate User failure, the servlet ahs tor edirect user to the same Login.jsp page, but the second time, the "Submit" button value is still true, since the servlet forwards the same request, response & this ends in an infinite loop, of JSP calling Servlet, the User validation fails & the Servlets calls the JSp again, and so on.
    How do I reset the HTML form element values in the JSP before forwarding to the Servlet? is there a request.setParameter() method? Or is there a way for the servlet to forward a new request & response to the same JSP?
    Thanks in advance.

    if the user is invalid.. redirect them to the error page and in the error page pu this javascript... It will refresh the page so the loop will not happen.
    <script language="JavaScript">
    var sec2count = "2"
    var redirectpage = "Login.jsp"
    function countdown() {
    if (sec2count == "0") {
    document.location = redirectpage
    else {
    sec2count = sec2count - 1
    document.form1234.counter.value = sec2count
    setTimeout("countdown()", 1000)
    countdown()
    </script>

Maybe you are looking for

  • How to transfer a book from one Apple ID account to another

    I want to transfer a book bought on my account over to my wife's Apple ID, not just share it. Can this be done?

  • Photos and iBook not syncing after installing ios 6

    I installed iOS 6 and now photo stream isn't working and book marks aren't syncing between my iPhone 4 and iPad 2. I checked the setting they should be working anybody have any idea?

  • Error -23 when downloading iOS 5 HELP

    My current iPhone 4 software is 4.3.5. Oh, and i'm using a MacBook Pro running on Mac OSx 10.6.8. I've tried downloading the iOS 5 countless times and each time the error -23 would appear. It says "There was a problem dowloading the software for the

  • CRM Rules for actions

    All, In some of the default action profiles of SAP, rules are applied - which you can see in the Processing Type. I'd like to have a more detailed look on these rules, but have no clue how. Can somebody tell me the transaction I need to use for this

  • Wie kann ich eine ein Pagesdokument (von 1 Seite) in ein anderes Pagesdokument einfügen?

    Hallo, ich möchte in meine Praxisarbeit ein Organigramm einfügen, welches ich seperat als ein anderes Pagesdokument angefertigt habe. Wie kann ich diese eine Seite jetzt in meine Praxisarbeit einfügen? Und...wie kann ich die Seitenzahlen manuell eing