JavaBean not found in JSP code

I'm using a Tomcat 4.0 and i've been trying to run this simple JSP example using java bean in this server.
beans.html:
<html>
<head>
<title>useBean action test page</title>
</head>
<body>
<h1>useBean action test page</h1>
<form method="post" action="beans.jsp">
<p>Please enter your username:
<input type="text" name="name">
<br>What is your favorite programming language?
<select name="language">
<option value="Java">Java
<option value="C++">C++
<option value="Perl">Perl
</select>
</p>
<p><input type="submit" value="Submit information">
</form>
</body>
</html>
beans.jsp:
<jsp:useBean id="languageBean" scope="page" class="LanguageBean">
<jsp:setProperty name="languageBean" property="*"/>
</jsp:useBean>
<html>
<head>
<title>useBean action test result</title>
</head>
<body>
<h1>useBean action test result</h1>
<p>Hello, <jsp:getProperty name="languageBean" property="name"/>.</p>
<p>Your favorite language is <jsp:getProperty name="languageBean" property="language"/>.</p>
<p>My comments on your language:</p>
<p><jsp:getProperty name="languageBean" property="languageComments"/></p>
</body>
</html>
LanguageBean.java:
public class LanguageBean {          
private String name;
private String language;
public LanguageBean() {}
public void setName(String name) {
this.name = name;
public String getName() {
return name;
public void setLanguage(String language) {
this.language = language;
public String getLanguage() {
return language;
public String getLanguageComments() {
if (language.equals("Java")) {
return "The king of OO languages.";
} else if (language.equals("C++")) {
return "Rather too complex for some folks' liking.";
} else if (language.equals("Perl")) {
return "OK if you like incomprehensible code.";
} else {
return "Sorry, I've never heard of " + language + ".";
After inserted value in the beans.html form and this action is forwarded to beans.jsp, it outputs the following error message:
A Servlet Exception Has Occurred
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 1 in the jsp file: /beans.jsp
Generated servlet error:
D:\jakarta-tomcat-4.0\work\localhost\JSPExamples\beans$jsp.java:56: Class org.apache.jsp.LanguageBean not found.
LanguageBean languageBean = null;
^
An error occurred at line: 1 in the jsp file: /beans.jsp
Generated servlet error:
D:\jakarta-tomcat-4.0\work\localhost\JSPExamples\beans$jsp.java:59: Class org.apache.jsp.LanguageBean not found.
languageBean= (LanguageBean)
^
An error occurred at line: 1 in the jsp file: /beans.jsp
Generated servlet error:
D:\jakarta-tomcat-4.0\work\localhost\JSPExamples\beans$jsp.java:64: Class org.apache.jsp.LanguageBean not found.
languageBean = (LanguageBean) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "LanguageBean");
^
An error occurred at line: 12 in the jsp file: /beans.jsp
Generated servlet error:
D:\jakarta-tomcat-4.0\work\localhost\JSPExamples\beans$jsp.java:92: Class org.apache.jsp.LanguageBean not found.
out.print(JspRuntimeLibrary.toString((((LanguageBean)pageContext.findAttribute("languageBean")).getName())));
^
An error occurred at line: 14 in the jsp file: /beans.jsp
Generated servlet error:
D:\jakarta-tomcat-4.0\work\localhost\JSPExamples\beans$jsp.java:99: Class org.apache.jsp.LanguageBean not found.
out.print(JspRuntimeLibrary.toString((((LanguageBean)pageContext.findAttribute("languageBean")).getLanguage())));
^
An error occurred at line: 17 in the jsp file: /beans.jsp
Generated servlet error:
D:\jakarta-tomcat-4.0\work\localhost\JSPExamples\beans$jsp.java:106: Class org.apache.jsp.LanguageBean not found.
out.print(JspRuntimeLibrary.toString((((LanguageBean)pageContext.findAttribute("languageBean")).getLanguageComments())));
^
6 errors
     at org.apache.jasper.compiler.Compiler.compile(Unknown Source)
     at org.apache.jasper.servlet.JspServlet.loadJSP(Unknown Source)
     at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(Unknown Source)
     at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(Unknown Source)
     at org.apache.jasper.servlet.JspServlet.serviceJspFile(Unknown Source)
     at org.apache.jasper.servlet.JspServlet.service(Unknown Source)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source)
     at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)
     at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
     at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
     at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
     at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source)
     at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
     at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
     at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
     at org.apache.catalina.core.StandardContext.invoke(Unknown Source)
     at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)
     at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
     at org.apache.catalina.valves.AccessLogValve.invoke(Unknown Source)
     at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
     at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
     at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
     at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source)
     at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
     at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
     at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
     at org.apache.catalina.connector.http.HttpProcessor.process(Unknown Source)
     at org.apache.catalina.connector.http.HttpProcessor.run(Unknown Source)
     at java.lang.Thread.run(Thread.java:484)
If any info will be a great help. Thanks.

I think the reason you are getting this problem is that your JSP cannot find the LanguageBean and is therefore looking for it in the default apache package.
try adding this to the top of beans.jsp
<%@page import="com.mycom.LanguageBean" %>
Obviously replacing com.mycom with the package name of your class.
Hope this helps

Similar Messages

  • Error encountered while signing. Windows cryptographic service provider reported an error. Object not found. Error code:2148073489. Windows 7, Adobe Reader XI, Symantec PKI, Smart Card and CAC. I have seen other threads for this error but none have a reso

    Error encountered while signing. Windows cryptographic service provider reported an error. Object not found. Error code:2148073489. Windows 7, Adobe Reader XI, Symantec PKI, Smart Card and CAC. I have seen other threads for this error but none have a resolution. Any help would be appreciated.
    Sorry for the long title, first time poster here.

    This thread is pretty old, are you still having this issue?

  • Element not found, appslocallogin.jsp

    hi,
    anyone able to resove this ?
    using IE 7
    when try to logon,
    the page not navigate to next page,
    show
    "Error on page"
    at bottom left corner
    element not found
    appslocallogin.jsp
    no issue on IE 6, and some other IE 7.
    so far we only have one user facing the issue.
    thanks

    Hi,
    Please mention the application release and the OS.
    Has this ever worked? If yes, what changes have been done recently?
    Can you find any errors in Apache log files (error_log* and access_log*)?
    Please make sure you have a certified combination of application release, OS, and you have all the patches applied which work with IE7 as per the following documents.
    Note: 285218.1 - Recommended Browsers for Oracle E-Business Suite 11i
    Note: 389422.1 - Recommended Browsers for Oracle E-Business Suite Release 12
    Regards,
    Hussein

  • Javabean class not found by jsp page

    I have created one bean which has setFunctionId(String) and getFunctionId() methods. I put the class files at /weblogic/myserver/serverclasses directory. While I am accessing the .jsp page it is telling "Thu Aug 03 15:46:16 EDT 2000:<E> <ServletContext-General> Servlet failed with Ex
              ception
              java.lang.NoSuchMethodError: myjsp.TestBean: method setFunctionId(Ljava/lang/Str
              ing;)V not found
              at jsp_servlet._testasfs._jspService(_testasfs.java:90)
              at weblogic.servlet.jsp.JspBase.service(Compiled Code)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Compiled Code
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled C
              ode)
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled C
              ode)
              at weblogic.servlet.internal.ServletContextManager.invokeServlet(Compile
              d Code)
              at weblogic.socket.MuxableSocketHTTP.invokeServlet(Compiled Code)
              at weblogic.socket.MuxableSocketHTTP.execute(Compiled Code)
              at weblogic.kernel.ExecuteThread.run(Compiled Code)"
              Would appreciate your help..
              

    Thank you for your valuable feedback duffymo. Could
    you explain a little what you mean by "Putting .class
    files in the Tomcat examples directory is a really bad
    idea in the long run". Also, could you direct me to
    some source where I can find more information on
    creating WAR files keeping in mind that I am a
    beginner.
    Thanks.But putting your web apps into WAR files, you can have quite a few different web apps running on the tomcat server as compared to if u place your files into the default webapp folder, u can only have 1 web app running.
    For creating WAR file, the easiest way is to use an IDE like JBuilder.

  • Class not found - from jsp sub-directories

    Hello:
    Main-Issue:
    - I have some java-class files in the \<my-web-app>\web-inf\classes directory. These classes do not belong to any packages.
    - I have some jsps in the \<my-web-app>\ directory and also in some sub-directories in the \<my-web-app>\ directory. Example: \<my-web-app>\test\index1.jsp.
    - The jsps in the \<my-web-app>\ directory can invoke the classes in the \<my-web-app>\web-inf\classes directory with no issues. But, the jsps in the sub-directories CANNOT see the classes in the \<my-web-app>\web-inf\classes directory. I get a "class not found" error. (this is just in oc4j).
    First of all, just a background to the issue:
    - I am trying to port a web application from JRUN to OC4J.
    - I want to do this with minimal changes to the existing code.
    - The application has been running on JRUN for a while. I only see the above mentioned error (class not found) error when trying to run it on oc4j.
    - As a test, I created my own test application to verify:
    (-) I wrote a simple java class (test.class) with no package and placed it in the web-inf\classes directory
    (-) I wrote a jsp file (index.jsp) to invoke test.class. I placed the jsp at the top-level directory of the web-app.
    (-) I wrote another jsp file (index1.jsp) to invoke test.class as well. I placed that jsp file in a sub-directory in the top-level directory of the web-app.
    (-) index.jsp worked without any problems. index1.jsp gave the "class not found" error.
    (-) As another test, I then modified the class to be in a package (com.benny). I then changed the jsps to call "com.benny.test" rather than just "test". This time, both index.jsp and index1.jsp worked fine.
    So, I guess my question is, do these classes have to be in a package? I am trying to avoid having to make a lot of changes to the app. If they do have to be in packages, then I have re-compile a lot of class files, add import statements to jsps, etc.
    Any help/suggestion would be appreciated.
    Thanks,
    Benny

    So, I guess my question is, do these classes have to be in a package?Answer: yes.
    As of Java1.4, classes in the "unnamed" package were no longer accessible.
    What version of java were you running with JRun?
    What version are you running with OC4J?
    Read all about it here:
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4361575
    If you have to repackage the classes, the IDE Eclipse has excellent support for refactoring, and wil let you put classes into packages with a minimum of fuss.

  • Bean not found by JSP page

    Hi! All
    I am using a bean in my jsp page. When I open the jsp page, I get an error that "Class SQLBean.DbBean not found". Please help. I have my bean class compiled and saved under C:\tomcat\webapps\examples\WEB-INF\classes
    Here is the bean class:
    package SQLBean;
    import java.sql.*;
    import java.io.*;
    public class DbBean {
    String dbURL = "jdbc:db2:sample";
    String dbDriver = "jdbc:odbc:akhil.mdb";
    private Connection dbCon;
    public Class DbBean(){
    super();
    public boolean connect(String user, String password) throws ClassNotFoundException,SQLException{
    System.out.print("hey");
    Class.forName(dbDriver);
    dbCon = DriverManager.getConnection(dbURL, user, password);
    return true;
    public void close() throws SQLException{
    dbCon.close();
    public ResultSet execSQL(String sql) throws SQLException{
    Statement s = dbCon.createStatement();
    ResultSet r = s.executeQuery(sql);
    return (r == null) ? null : r;
    public int updateSQL(String sql) throws SQLException{
    Statement s = dbCon.createStatement();
    int r = s.executeUpdate(sql);
    return (r == 0) ? 0 : r;
    Here is the jsp page:
    <HTML>
    <HEAD><TITLE>DataBase Search</TITLE></HEAD>
    <BODY>
    <%@ page language="Java" import="java.sql.*" %>
    <jsp:useBean id="db" scope="request" class="SQLBean.DbBean" />
    <jsp:setProperty name="db" property="*" />
    <%!
    ResultSet rs = null ;
    ResultSetMetaData rsmd = null ;
    int numColumns ;
    int i;
    %>
    <center>
    <h2> Results from here</h2>
    <hr>
    <br><br>
    <%
    out.print("Here");
    db.connect("atayal", "arduous");
    try {
    out.print("HI");
    rs = db.execSQL("select * from contacts");
    }catch(SQLException e) {
    throw new ServletException("Your query is not working", e);
    %>
    <%
    while(rs.next()) {
    %>
    <%= rs.getString("email") %>
    <BR>
    <%
    %>
    <BR>
    <%
    db.close();
    %>
    Done
    </body>
    </HTML>
    Thanks in advance

    Thank you for your valuable feedback duffymo. Could
    you explain a little what you mean by "Putting .class
    files in the Tomcat examples directory is a really bad
    idea in the long run". Also, could you direct me to
    some source where I can find more information on
    creating WAR files keeping in mind that I am a
    beginner.
    Thanks.But putting your web apps into WAR files, you can have quite a few different web apps running on the tomcat server as compared to if u place your files into the default webapp folder, u can only have 1 web app running.
    For creating WAR file, the easiest way is to use an IDE like JBuilder.

  • Tag library 'not found' in jsp page. why?

    I'm having a big problem with jsp/tag libraries using oc4j. One
    particular
    tag library is not being 'found' for some mysterious reason. The
    particulars follow:
    kwTags.jar is the jar file containing the tag classes. It definitely
    exists in WEB-INF/lib directory.
    tld def. in web.xml:
    <taglib>
    <taglib-uri>/kw</taglib-uri>
    <taglib-location>/WEB-INF/tlds/kwTagLib.tld</taglib-location>
    </taglib>
    The tld file definitely exists in the /WEB-INF/tlds directory.
    The definition of the tag lib at the top of the kwTagLib.tld follows:
    <taglib>
    <tlib-version>1.0</tlib-version>
    <jsp-version>1.2</jsp-version>
    <short-name>kw</short-name>
    <uri>/kw</uri>
    <display-name>kwTagLib</display-name>
    <small-icon></small-icon>
    <large-icon></large-icon>
    <description></description>
    The tag reference in jsp page is:
    <%@ taglib uri="/WEB-INF/tlds/kwTagLib.tld" prefix="kw" %>
    The development environment is Eclipse Workbench 5.1.0 and Eclipse
    v.3.2.1
    JDK is: j2sdk1.4.2_04
    All other tag libs (Struts v.1.3.5) are found and work correctly. This
    is the only tag library that
    a problem.
    Error Message follows:
    java.lang.NullPointerException at
    oracle.jsp.parse.JspDirectiveTaglib.validateAttributes(JspDirectiveTaglib.java:183)
    at
    oracle.jsp.parse.JspParseTagDirective.validateTagAttributes(JspParseTagDirective.java:180)
    at oracle.jsp.parse.JspParseTag.parse(JspParseTag.java:921)
    at
    oracle.jsp.parse.JspParseTagDirective.parse(JspParseTagDirective.java:326)
    at oracle.jsp.parse.JspParseTag.parseNextTag(JspParseTag.java:705)
    at oracle.jsp.parse.JspParseTagFile.parse(JspParseTagFile.java:184)
    at oracle.jsp.parse.OracleJsp2Java.transform(OracleJsp2Java.java:154)
    at
    oracle.jsp.runtimev2.JspPageCompiler.attemptCompilePage(JspPageCompiler.java:428)
    at
    oracle.jsp.runtimev2.JspPageCompiler.compilePage(JspPageCompiler.java:284)
    at
    oracle.jsp.runtimev2.JspPageInfo.compileAndLoad(JspPageInfo.java:483)
    at
    oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:542)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:305)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:810)
    at
    com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
    at
    com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:251)
    at
    org.apache.struts.chain.commands.servlet.PerformForward.handleAsForward(PerformForward.java:99)
    at
    org.apache.struts.chain.commands.servlet.PerformForward.perform(PerformForward.java:82)
    at
    org.apache.struts.chain.commands.AbstractPerformForward.execute(AbstractPerformForward.java:51)
    at
    org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:48)
    at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
    at
    org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:304)
    at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
    at
    org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:280)
    at
    org.apache.struts.action.ActionServlet.process(ActionServlet.java:1858)
    at
    org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:459)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at
    org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
    at
    com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:649)
    at
    com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
    at
    com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
    at
    com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
    at
    com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
    at
    com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)

    java.lang.NullPointerException at
    oracle.jsp.parse.JspDirectiveTaglib.validateAttributes(JspDirectiveTaglib.java:183)
    at oracle.jsp.parse.JspParseTagDirective.validateTagAttributes(JspParseTagDirective.java:180)That NullPointerException does not sound right. What is your oc4j version?
    By the way, your declaration of taglib in web.xml can be deleted if you are not using that taglib-uri "/kw" in your jsp.

  • Requested resource not found for jsp

    I just installed Tomcat 6.0.18 on Windows XP workstation.
    I can see the Tomcat home (http://localhost:8080/) and can get to the example sites (http://localhost:8080/examples/jsp/) and see all the example apps working.
    I tried to create a new folder called first under webapps and create a simple hello world jsp and it doesnt work.
    Here is my web.xml which is located in first\WEB-INF:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <web-app xmlns="http://java.sun.com/xml/ns/javaee"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
       version="2.5"> 
    </web-app>My attempt to see the hello world message in /first/index.jsp gives me back this response:
    description The requested resource (/first/index.jsp) is not available.
    Please advise.

    From your description it appears that you have the right directory layout.
    What is the complete url you are trying to access this with?
    Take a look in the [TOMCAT]/logs directory to see if there are any error messages there. They might help you troubleshoot.
    Also, try copying the web.xml file from one of the example directories, and see if that does any better.
    The best thing I think I can do is point you at [this tutorial|http://www.coreservlets.com/Apache-Tomcat-Tutorial/] for starting with Tomcat.
    See if you can get that going.

  • Document category PINV not found in customs code list for documents

    Hi Experts,
    I am getting this error in GTS for pro forma invoice in ECC. I saw this message when I looked at log in system monitoring for billing documents - exports/transit.
    Where I am missing the configuration or master data or something else?
    I would really appreciate your input.
    Regards,
    Manohar.

    Thanks for the input. I added PINV and CINV for both HDOC and SUMA types and created a pro forma invoice. One of two things.
    1. Invoice created in ECC and not error message but not transferred to accounting. When I tried to do manually it says 'the document is not relevant for accounting'.
    2. Proforma transferred to GTS and when I look at document it is incompleteness and Determ. is red as shown below.
    Where I am missing setting and how to correct this error in both places?
    Regards,
    Manohar.

  • Visualization Type 'BSP Standard' not found in Transaction code : SWFVISU

    I am trying to trigger a BSP through a workflow, i have searched the forum for the same.
    It seems we have to do configuration in Transaction Code: SWFVISU
    But i can't find the Visualization Type: BSP Standard in it.
    SAP Version 4.7
    Please suggest..
    Regards,
    Abhijit G. Borkar

    Hi Martin,
    There is a customizing step in spro transaction you have to do in order to do that...
    go through:
    SAP Solution Manager Implementation Guide -> SAP Solution Manager -> Configuration - > Scenario-Specific Settings -> Change Request Management -> Extended Configuration -> Change Transaction -> Change Transaction Types -> Copy Control for Change Request Management
    and execute activity Define Mapping Rules for Copy Control.
    Make sure that you've adapted the customizing to your newly defined transaction type "TSMC product
    correction".
    Best regards,
    Stéphane.

  • Displaying JSP code

    Hey All!!!
    I am creating a JSP page which contains JSP code. However, inside this page, I also want to display the JSP code. How can I do this, without my engine running the code?
    I have thought of using the page directive (text/plain), but this goes for the entire page, and I only want a portion to be eliminated. Any ideas?
    Thanks!!!!
    Aaron

    That definately makes sense. HOwever, using an absolute path just generated more errors.
    In thinking that it may have a hard time reading itself (I wasn't sure if the servlet would lock the file as it's displaying it on the page). So, I created a new file (source.jsp), and inserted the previous code. Inside the filereader argument, I placed (test1.jsp), so that it may read the other file, and display the source.
    However, when accessing source.jsp.... I'm getting a 404 file not found (source.jsp). Even though I have test1.jsp in the argument. It seems I may be missing something. Here is what I have:
    <html>
    <title>Source for test.jsp</title>
    <head>
    <%@ page import = "java.io.*"%>
    </head>
    <body>
    <p><p>Generated with the Source code:
    <hr>
    <%BufferedReader in = new BufferedReader(new FileReader("examples\test1.jsp"));
    String line = "";%>
    <pre>
    <%while((line = in.readLine()) != null){%><%= line %><%}%>
    </pre>
    </body>
    </html>

  • Error: on clicking Registry menu item in ESM Management Portal. The request failed with HTTP status 404: Not Found.

    Hi,
    I have installed ESB Management Portal successfully after following all the steps. everything is working fine except when I click the Registry menu in the portal. I get an unhandled exception. The event viewer shows the below error "The request failed
    with HTTP status 404: Not Found."
    ================================================
    Event code: 3005 
    Event message: An unhandled exception has occurred. 
    Event time: 1/27/2015 5:56:10 PM 
    Event time (UTC): 1/27/2015 5:56:10 PM 
    Event ID: f7aedd39118845b79c17d3442a0d15a7 
    Event sequence: 54 
    Event occurrence: 1 
    Event detail code: 0 
    Application information: 
        Application domain: /LM/W3SVC/1/ROOT/ESB.Portal-1-130668549484455107 
        Trust level: Full 
        Application Virtual Path: /ESB.Portal 
        Application Path: C:\Projects\Microsoft.Practices.ESB\Source\Samples\Management Portal\ESB.Portal\ 
        Machine name: <Machine Name> 
    Process information: 
        Process ID: 4712 
        Process name: w3wp.exe 
        Account name: NT AUTHORITY\NETWORK SERVICE 
    Exception information: 
        Exception type: TargetInvocationException 
        Exception message: Exception has been thrown by the target of an invocation.
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
       at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at System.Web.UI.WebControls.ObjectDataSourceView.InvokeMethod(ObjectDataSourceMethod method, Boolean disposeInstance, Object& instance)
       at System.Web.UI.WebControls.ObjectDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments)
       at System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback)
       at System.Web.UI.WebControls.DataBoundControl.PerformSelect()
       at System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound()
       at System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls()
       at System.Web.UI.Control.EnsureChildControls()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    The request failed with HTTP status 404: Not Found.
       at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
       at Microsoft.Practices.ESB.Portal.UDDIService.UDDIService.GetCategoryByName(String UDDIServerUrl, String tModelName) in c:\Projects\Microsoft.Practices.ESB\Source\Samples\Management Portal\ESB.Portal\Web References\UDDIService\Reference.cs:line
    575
       at Microsoft.Practices.ESB.Portal.Uddi.ServiceProxy.getBTEndpoints(String applicationName, Boolean getSendPorts, Boolean getRcvLocations) in c:\Projects\Microsoft.Practices.ESB\Source\Samples\Management Portal\ESB.Portal\Uddi\ServiceProxy.cs:line
    553
       at Microsoft.Practices.ESB.Portal.Uddi.ServiceProxy.GetEndpointsByApplication(String applicationName, Boolean getSendPorts, Boolean getRcvLocations) in c:\Projects\Microsoft.Practices.ESB\Source\Samples\Management Portal\ESB.Portal\Uddi\ServiceProxy.cs:line
    46
    Request information: 
        Request URL: http://localhost/ESB.Portal/uddi/uddi.aspx 
        Request path: /ESB.Portal/uddi/uddi.aspx 
        User host address: ::1 
        User: <domain>\<user>
        Is authenticated: True 
        Authentication Type: Negotiate 
        Thread account name: NT AUTHORITY\NETWORK SERVICE 
    Thread information: 
        Thread ID: 19 
        Thread account name: NT AUTHORITY\NETWORK SERVICE 
        Is impersonating: False 
        Stack trace:    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
       at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at System.Web.UI.WebControls.ObjectDataSourceView.InvokeMethod(ObjectDataSourceMethod method, Boolean disposeInstance, Object& instance)
       at System.Web.UI.WebControls.ObjectDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments)
       at System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback)
       at System.Web.UI.WebControls.DataBoundControl.PerformSelect()
       at System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound()
       at System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls()
       at System.Web.UI.Control.EnsureChildControls()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Custom event details: 
    =================================
    Any idea why this is happening and what needs to be done ?
    PLEASE HELP
    Thanks & Regards
    Vikram

    Snippet from the link below:
    If you get a “404: Not Found” error, it ‘s because by default there is no script map for .svc file with default IIS 7.0 installation, so you need to register .svc extension in IIS:
    You need to update IIS script maps to register .svc extension In a command prompt (ran as administrator), execute the following command:
    “%windir%\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe” -r -y"
    Refer:
    https://dgoins.wordpress.com/2010/05/01/esb-toolkit-management-portal-installation-notes-from-the-field-2/
    Sarvanan's blog around this with detailed explanation:
    Configuring Exception Management Portal
    As mentioned above also
    Check Portal Configuration Settings
    Rachit
    Please mark as answer or vote as helpful if my reply does

  • Automation error element not found in vb6 2147319765 after upgrading the os

    Hi we had updated our OS to windows 7 from XP.Previously we had an application in XP which is built on Vb 6 .The application throws an error message like Automation error --element not found with error code 2147319765 .The application shows the same error
    message even after I ran the application in XP compatability mode.
    The application is using data from other servers and all the servers are windows server 2003.
    muneer

    Double post:
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/229b4e46-9bcb-411e-901e-fec376dc36da/automation-error-element-not-found-in-vb6-2147319765-after-upgrading-the-os
    This forum is about VB.Net. If your question is about a VB6 project, have a look here:
    Where to post your VB 6 questions
    Armin

  • Application not found error message

    Everytime I try to download a purchased or free ebook (e.g. from Digital Editions site) I get the same error message: it lists the folder name of my temporary internet files\Content.IE5\Y9BKTFY\URLLink[22].acsm then it says Application not found. The code of numbers and letters changes but it is always the full address of the temporary internet folder and then acsm at the end.  I have have reinstalled digital editions several times and I have 1.7.1079 version.  I could download e-books before Christmas.  I turned my firewall off but it didn't make any difference.  I tried the bookshop I bought the books from but they couldn't help.  I managed the first four from the free page of Digital Editions but not any more.  I've tried searching for answers on-line and even opened a web case with Adobe but haven't heard anything.  Can anyone help please?
    thanks
    Abi

    Check this Apple document out -> Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    Try following the steps in that article, which will have you remove iTunes, Apple Application Support and the other bundled software. Make sure to follow the steps under Verify iTunes and related components are completely uninstalled too, then download and install iTunes again.

  • Class not found., Eclipse

    Hi erveryone.
    I wanted to use some classes in my eclipse project. So i made a jar archive. And added as a external library. So now i dont get any compile error when im using classes in my project. But when i want to run the code i get Class not Found.
    (My code is under folder proj/test/src/prog.java
    and class for prog.java is proj/test/bin/prog.class. But cant find the other classes wich is in test/*.classes)
    Does the Jar structure have to be the same package structure as project code (prog.java)??
    How can i Sove the problem. To use some classes in the project.
    Thank u so much

    If you have used third party library (just like jdom or etc) , it may caused by bundle invalid or project information broken error.
    When I make project , and linked with library , and remove library from project (without any source code editting) , then the project information will be broken in eclipse plug in project.
    I want to fix it, but I can't . I don't know why. I just know I couldn't find project bundle information and even I remove eclipse and install again, it occurs with same name project.
    Delete ./metadata in workspace directory, and make a new project without third party library or if one linked , don't remove. I know only this.

Maybe you are looking for

  • Friends Always away and Calls can't be made

     For the past few days Skype has made all my friend's online status as away and I know in fact my friends are online because we have been trying to skype. It has also been saying my calls can't be made or they just keep failing. My status is online a

  • Getting an error when using fm 'excel_ole_standard_dat'

    Hi All, I am getting an error when trying to generate an excel file with the data in the internal table using fm 'Excel_ole_standard_dat'. can anybody help me in this. Thankyou, Prasanna

  • Reports integrated in Forms.

    I am using 10gAS Report integrated in forms are not working If i open the browser and give the below url, i get message "successfully run". The same in form is not working. Browser URL- is working 'http://dbserver.cosd:7778/reports/rwservlet?server=r

  • Xsd:dateTime formatting problems

    This is driving me nuts. I've been playing around with JAXB and it has worked great so far. Until now. I have an xml file with this little block    <timestamps>       <created>2000-03-04T20:00:00Z</created>       <last_modified>2003-03-14T02:20:02-05

  • Unable to activate iPhone 3GS after IOS 5 upgrade

    Hi: I was prompted by iTunes to upgrade my iphone 3GS to IOS 5. I didn't "steal" or did anything illegal. I have upgraded my iPhone software many times before through iTunes and never had any problems. So naturally I clicked "download and upgrade". L