Exception when deploying jsf application

11:38:44,977 WARN [Digester] [ConverterRule]{faces-config/converter} Merge(null,java.math.BigDecimal)
11:38:44,980 WARN [Digester] [ConverterRule]{faces-config/converter} Merge(null,java.math.BigInteger)
11:38:45,024 WARN [Digester] [ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlCommandButton)
11:38:45,026 WARN [Digester] [ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlCommandLink)
11:38:45,026 WARN [Digester] [ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlDataTable)
11:38:45,027 WARN [Digester] [ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlInputHidden)
11:38:45,037 WARN [Digester] [ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlInputText)
11:38:45,038 WARN [Digester] [ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlInputTextarea)
Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
javax.faces.FacesException: java.lang.ClassCastException
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:334)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3669)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4104)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)

Maybe your web.xml is wrong. Doublecheck it.

Similar Messages

  • Exception when access JSF application deployed on apache tomcat

    Hi,
    hopefully u all will b fine.
    I am new in Java Web developement and working on JSF... I made my first hello application of JSF... but when i try to access that from browser, following exception is shown in the browser window... (I am using apache tomcat 5.5.17 and JSF 1.1)
    HTTP Status 500 �
    type Exception report
    message description: The server encountered an internal error () that prevented it from fulfilling this request.
    exception :
    org.apache.jasper.JasperException: Servlet.init() for servlet Faces Servlet threw exception
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause :
    javax.servlet.ServletException: Servlet.init() for servlet Faces Servlet threw exception
         org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:703)
         org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:670)
         org.apache.jsp.index_jsp._jspService(index_jsp.java:47)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause:
    java.lang.NullPointerException
         javax.faces.webapp.FacesServlet.init(FacesServlet.java:144)
         org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:703)
         org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:670)
         org.apache.jsp.index_jsp._jspService(index_jsp.java:47)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    note: The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs.
    Apache Tomcat/5.5.17
    I placed the jsp files in "apache-tomcat-5.5.17\webapps\MyProject\"
    and web.xml and faces-config file at "apache-tomcat-5.5.17\webapps\MyProject\WEB-INF\"
    library files of JSF ("jsf-api.jar", "jsf-impl.jar" and "jstl.jar") at "apache-tomcat-5.5.17\common\lib" also i tried by placing these at "apache-tomcat-5.5.17\webapps\MyProject\WEB-INF\lib"
    Please help me out here...
    Thanks
    Imran

    Maybe your web.xml is wrong. Doublecheck it.

  • ClassCastException when deploying jsf war on Weblogic 10.3.2

    Hello everybody,
    We 're having an issue when deploying jsf war on Weblogic 10.3.2
    The war works fine on Tomcat 6.
    When deploying on Weblogic we got the following exception:
    java.lang.ClassCastException: weblogic.xml.jaxp.RegistryXMLReader cannot be cast to org.xml.sax.XMLReader
    I've already put <prefer-web-inf-classes>true</prefer-web-inf-classes> in weblogic.xml
    After "googling", people suggest to remove xml-apis jar from WEB-INF/lib, but doing so results in other exceptions.
    Is there any fix for this issue? Please help it's been more than a month that we are crawling in the dark with this error.
    Thanks in advance.

    Hello everybody,
    We 're having an issue when deploying jsf war on Weblogic 10.3.2
    The war works fine on Tomcat 6.
    When deploying on Weblogic we got the following exception:
    java.lang.ClassCastException: weblogic.xml.jaxp.RegistryXMLReader cannot be cast to org.xml.sax.XMLReader
    I've already put <prefer-web-inf-classes>true</prefer-web-inf-classes> in weblogic.xml
    After "googling", people suggest to remove xml-apis jar from WEB-INF/lib, but doing so results in other exceptions.
    Is there any fix for this issue? Please help it's been more than a month that we are crawling in the dark with this error.
    Thanks in advance.

  • When Deploy the Application SDM Password not asking

    Hi Friends,
    I have to instaled NWDS 7.0 S/w in my System and Java (jdk1.5.0_16).
    Now i want to Create One Small Application in NWDS.
    Then i deployed that Application
    in the Deployee output View tab
                Created a temport copy:Test.ear[more]
                Start deployee [more]
    Here SDM Password not Asking.i saw in log file in Worksapce (.metadata folder).The Error will display when deploy the application.
    that Application is not deploy in portal server
    what is problem.how solve this problem.
    !ENTRY org.eclipse.ui 4 4 Dec 29, 2009 11:46:16.562
    !MESSAGE Unhandled exception caught in event loop.
    !ENTRY org.eclipse.ui 4 0 Dec 29, 2009 11:46:16.562
    !MESSAGE Failed to execute runnable (java.lang.NullPointerException)
    !STACK 0
    org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
         at org.eclipse.swt.SWT.error(SWT.java:2330)
         at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:101)
         at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:1999)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1733)
         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
         at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
         at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)
         at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
         at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)
         at com.sap.ide.eclipse.startup.Main.run(Main.java:789)
         at com.sap.ide.eclipse.startup.Main.main(Main.java:607)
    !ENTRY org.eclipse.ui 4 4 Dec 29, 2009 11:46:16.562
    !MESSAGE
    Stack trace of contained exception ***
    !ENTRY org.eclipse.ui 4 0 Dec 29, 2009 11:46:16.562
    !MESSAGE java.lang.NullPointerException
    !STACK 0
    java.lang.NullPointerException
         at com.sap.ide.eclipse.j2ee.engine.util.ProcessNode.getHostAddress(ProcessNode.java:114)
         at com.sap.ide.eclipse.j2ee.engine.util.ProcessNode.getHost(ProcessNode.java:103)
         at com.sap.ide.eclipse.j2ee.engine.EnginePlugin.getHttpHost(EnginePlugin.java:169)
         at com.sap.ide.webdynpro.archivebuilder.ActionTestApplication.getApplicationUrl(ActionTestApplication.java:150)
         at com.sap.ide.webdynpro.archivebuilder.ActionTestApplication.access$100(ActionTestApplication.java:27)
         at com.sap.ide.webdynpro.archivebuilder.ActionTestApplication$TestRunnable.run(ActionTestApplication.java:272)
         at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
         at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:98)
         at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:1999)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1733)
         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
         at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
         at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)
         at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
         at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)
         at com.sap.ide.eclipse.startup.Main.run(Main.java:789)
         at com.sap.ide.eclipse.startup.Main.main(Main.java:607)

    Hi
    - Install JDK 1.4.
    - Launch NWDS with the JDK. For example, you can provide the following command line argument for this:
    "D:\Program Files\SAP\IDE\IDE70\eclipse\SapIde.exe" -vm "D:\j2sdk1.4.2_10\bin\javaw.exe"
    BR, Siarhei

  • I've problem deploying JSF applications

    Hi guys;
    I've created simple JSF Web Application. Its only blank page contains button that brings u to other page. When I run it from NetBeans IDE it runs perfect. But when I take the application folder to deploy it to tomcat manually it won't run even with the server used by the IDE itself. I noticed that when the IDE starts the server it initializes also sun JSF implementation which I think the key to make JSF run on tomcat server.
    Any body knows how to deploy JSF Applications, or how to generate distributable package..
    Thanks alot to all
    Edited by: Shampion on Oct 12, 2008 2:02 AM
    Edited by: Shampion on Oct 12, 2008 2:05 AM

    You'll probably get better answers if you post in the correct forum. JSF questions should be asked in the JSF forum:
    [http://forums.sun.com/forum.jspa?forumID=427]
    Kaj

  • Use Global Conditions when Deploying an Application to a User

    Hi,
    Use Global Conditions when Deploying an Application to a User:
    I would like to deploy App-V Application with User centic in mind. The problem is that when the user login to a specefic typ of desktop the application shall be deployed. But if the use login on there primary device or some other
    device with same SLA the Application shall not be deployed.
    I think I can use Global Conditions to solve this. I have read about GC and it looks like I could greate a GC rule that deploy the software if the computer is in an AD-group or maybe becas all this computer starts with same prefix, sp maybe
    if the computernamn starts with PC the application will get deployed.
    The issue is that there is differant SLA on the computers that the User login to. 
    Or what mor can I do?
    /SaiTech

    Just keep in mind this puts a load on AD, a Domain Controller can get tickled silly by these Global Conditions running from each of your Clients, depending on the scale of your environment it can have an impact. It's a great idea GC's, just need to consider
    what load you are putting on the infra when they run.
    Might not be an issue for\to you, worth nothing all the same.
    Robert Marshall | This forum post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs

  • Deploying JSF application on Tomcat 5.0.28

    Hi,
    I am having problems deploying JSF application (developed using Studio Creator) on Tomcat. Any suggessions ....
    HTTP Status 404 - Servlet Faces Servlet is not available....
    Thanks in advance

    I ran into this same problem moving from Tomcat 4.1.31 to Tomcat 5.0.28. This one was definitely a headscratcher, but the solution turned out to be simple as I had an older servlet api jar (2.3) in my J2SE's jre/lib/ext directory. I replaced the existing servlet.api with servlet-api.jar and jsp-api.jar from the Tomcat 5.0.28 common/lib directory, restarted Tomcat, and the problem disappeared.

  • How to install new font file in the device when deploying J2ME application?

    i would like to know how to install the new font file in the device when deploying J2ME application, side-by-side.
    Is that possible to seamlessly install the new font file with the application .jar package.
    thnx.

    No, there is no way of installing new fonts.

  • Exception when deploying a JSR 286 portlet into WebLogic+WebCenter

    I get the following exception when deploying a JSR 286 portlet into WebLogic:
    "<19-ene-2010 13H32' CET> <Error> <oracle.portlet.server.containerimpl.PortletApplicationImpl> <BEA-000000> <Error al procesar el archivo "/WEB-INF/portlet.xml" en la lÝnea 6 columna 68.
    org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'portlet-app'"
    The error message is in spanish. It means:
    "Error processing the file "/WEB-INF/portlet.xml at line 6 column 68"
    The portlet.xml of my portlet seems to be correct and I've deployed it in other portal servers. So I don't understand the error message.
    This is the portlet.xml of my portlet (eclipse XML validator said it was a valid XML)
    {code}
    <?xml version="1.0" encoding="UTF-8"?>
    <portlet-app version="2.0"
    xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd
    http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd"
    xmlns:dnd="http://www.denodo.com/widget/portlet/portletjsr286">
    <portlet>
    <description>Test Inter Portlet Communication (JSR286)</description>
    <portlet-name>Test IPC</portlet-name>
    <display-name>Test IPC</display-name>
    <portlet-class>com.denodo.ipc.TestIPCPortlet</portlet-class>
    <supports>
    <mime-type>text/html</mime-type>
    <portlet-mode>VIEW</portlet-mode>
    </supports>
    <supported-locale>en</supported-locale>
    <resource-bundle>PortletMessages</resource-bundle>
    <portlet-info>
    <title>Test IPC</title>
    <short-title>Test IPC</short-title>
    <keywords>Test IPC,Denodo</keywords>
    </portlet-info>
    </portlet>
    </portlet-app>
    {code}
    *How do I deploy my portlet*
    <li> I convert my portlet into to a WSRP portlet by executing
    +java -jar wsrp-predeploy.jar source EAR target EAR+
    as explained in http://download.oracle.com/docs/cd/E12839_01/webcenter.1111/e12405/wcadm_portlet_prod.htm#CHDECJHI)
    </li>
    <li>I try to deploy it into WebLogic with the WebLogic Console and I get this exception.
    </li>
    *My Environment*
    WebCenter Suite (11.1.1.2.0) + WebLogic Server (10.3.2) downloaded from the oracle.com. Default configuration
    S.O: Windows XP SP3
    *Thanks in advance for your time.*

    Hi,
    Are you including the Toplink jars in your EAR?
    -Patrick

  • Exception when deploying application from workshop.

    Hi All,
    When I deploy the application from my workshop IDE I get follwoing exception. Not sure what this is...
    If any body has faced similar issue ? I am using workshop 9.2.1
    java.lang.NullPointerException
    at com.bea.staxb.buildtime.internal.bts.XmlTypeName.findTypeIn(XmlTypeName.java:559)
    at weblogic.wsee.bind.runtime.internal.RuntimeBindingsImpl.getSchemaTypeForXmlTypeName(RuntimeBindingsImpl.java:
    257)
    at weblogic.wsee.ws.WsBuilder.addXmlObject(WsBuilder.java:486)
    at weblogic.wsee.ws.WsBuilder.createXmlBeansBindings(WsBuilder.java:408)
    at weblogic.wsee.ws.WsBuilder.completeTypeInfo(WsBuilder.java:889)
    Truncated. see log file for complete stacktrace
    >
    <Jun 25, 2007 10:44:33 AM PDT> <Error> <Deployer> <BEA-149265> <Failure occured in the execution of deployment request w
    ith ID '1182793472425' for task '1'. Error is: 'weblogic.application.ModuleException: [HTTP:101216]Servlet: "WivWSServic
    eServlethttp" failed to preload on startup in Web application: "wivWebServices".
    java.lang.NullPointerException
    at com.bea.staxb.buildtime.internal.bts.XmlTypeName.findTypeIn(XmlTypeName.java:559)
    at weblogic.wsee.bind.runtime.internal.RuntimeBindingsImpl.getSchemaTypeForXmlTypeName(RuntimeBindingsImpl.java:
    257)
    at weblogic.wsee.ws.WsBuilder.addXmlObject(WsBuilder.java:486)
    at weblogic.wsee.ws.WsBuilder.createXmlBeansBindings(WsBuilder.java:408)
    at weblogic.wsee.ws.WsBuilder.completeTypeInfo(WsBuilder.java:889)
    at weblogic.wsee.ws.WsBuilder.createRuntimeBindingProvider(WsBuilder.java:387)
    at weblogic.wsee.ws.WsBuilder.buildService(WsBuilder.java:135)
    at weblogic.wsee.ws.WsFactory.createServerService(WsFactory.java:55)
    at weblogic.wsee.server.servlet.WebappWSServlet.initRuntime(WebappWSServlet.java:67)
    at weblogic.wsee.server.servlet.WebappWSServlet.initImpl(WebappWSServlet.java:32)
    at weblogic.wsee.server.servlet.BaseWSServlet.init(BaseWSServlet.java:61)
    at javax.servlet.GenericServlet.init(GenericServlet.java:256)
    at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:274)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
    at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
    at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:504)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1716)
    at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1693)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1613)
    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2764)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:889)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:333)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:26)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:566)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:
    136)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:104)
    at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:131)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:320)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:815)
    at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1222)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:433)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:161
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(Deployment
    ReceiverCallbackDeliverer.java:181)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiv
    erCallbackDeliverer.java:12)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCal
    lbackDeliverer.java:67)
    at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)

    Hi
    Issue 1: Regarding the deployment issue, do you see the line in your JWS?
    Following soapbinding annotation:
    @SOAPBinding(style=SOAPBinding.Style.DOCUMENT, use=SOAPBinding.Use.LITERAL,parameterStyle=SOAPBinding.ParameterStyle.BARE)
    Change it to
    following soapbinding annotation:
    @SOAPBinding(style=SOAPBinding.Style.DOCUMENT, use=SOAPBinding.Use.LITERAL,parameterStyle=SOAPBinding.ParameterStyle.WRAPPED)
    it should deploy fine. This is a known issue and BARE style is unsupported as described at http://edocs.bea.com/workshop/docs92/relnotes/relnotes.html (look for CR283457)
    Here is what it says:
    CR283457 - XBeans are not supported as parameters or return type for doc/lit/bare operations.
    Use of Xbeans as a parameter or return type with doc/lit/bare bindings is not supported in operations or callbacks and will result in a failure during deployment.
    Platform: All
    Workaround: Use doc/lit/wrapped for services that use XBeans as parameters or return types.
    Issue 2: Failure on the client side
    Are you using clientgen and a java client for the webservice?
    I found a bug on the same issue CR340707 but it appears we don't support Xmlbeans with clientgen and was closed as NotSupported feature.
    Vimala-

  • Exception when deploying application using admin console

    Whenever I deploy an application using the admin console window, I get a DistributedExcpetion,
    The application gets deployed though! so I am assuming that this is not very critical,
    but If somebody can tell me what this is then It would be really helpful.
    Thx-
    Iqbal
    Here is the exception stack trace:-
    java.lang.reflect.InvocationTargetException: weblogic.management.DistributedManagementException:
    Distributed Management [1 exceptions]
         at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:443)
         at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:298)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
         at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
         at $Proxy10.setDeployed(Unknown Source)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.console.info.MBeanAttribute.doSet(MBeanAttribute.java:84)
         at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:135)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    --------------- nested within: ------------------
    weblogic.management.console.utils.SetException: An error occurred while updating
    Deployed on Proxy for mydomain:Name=cmeEJB,Type=Application - with nested exception:
    [java.lang.reflect.InvocationTargetException - with target exception:
    [weblogic.management.DistributedManagementException: Distributed Management [1 exceptions]]]
         at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:151)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

    Hi.
    Thanks for the additional info.
    I found 2 similar issues with similar stack traces for WLS 6.1 sp2. One of the issues we could not reproduce, and in the
    end the customer reinstalled WLS and the problem went away. The other issue was found internally and is not currently
    active. I'm not 100% sure your situation is identical to one of these.
    Therefor I suggest the following course of action:
    1. Since this is an intermittant problem try reinstalling WLS. If that doesn't help then...
    2. open a case with support. It may not be a major issue, but we need to be sure of this.
    Hope this helps,
    Michael
    Iqbal wrote:
    I am running WLS version 6.1 with sp2. I get this error every once in a while.
    Thx!
    -Iqbal
    Michael Young <[email protected]> wrote:
    Hi.
    This may be a known issue, but I need more info. What version (including
    service pack level) of WLS are you running?
    Also, if you are not running sp2 please apply it and test to see if you
    are still seeing this.
    Let me know what you find.
    Thanks,
    Michael
    Iqbal wrote:
    Whenever I deploy an application using the admin console window, I geta DistributedExcpetion,
    The application gets deployed though! so I am assuming that this is notvery critical,
    but If somebody can tell me what this is then It would be really helpful.
    Thx-
    Iqbal
    Here is the exception stack trace:-
    java.lang.reflect.InvocationTargetException: weblogic.management.DistributedManagementException:
    Distributed Management [1 exceptions]
    at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:443)
    at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:298)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
    at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
    at $Proxy10.setDeployed(Unknown Source)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.console.info.MBeanAttribute.doSet(MBeanAttribute.java:84)
    at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:135)
    at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
    at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    --------------- nested within: ------------------
    weblogic.management.console.utils.SetException: An error occurred whileupdating
    Deployed on Proxy for mydomain:Name=cmeEJB,Type=Application - with nestedexception:
    [java.lang.reflect.InvocationTargetException - with target exception:
    [weblogic.management.DistributedManagementException: Distributed Management
    [1 exceptions]]
    at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:151)
    at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
    at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)--
    Michael Young
    Developer Relations Engineer
    BEA Support
    Michael Young
    Developer Relations Engineer
    BEA Support

  • Stange problem in deploying  JSF application to weblogic 10

    hi,OTN
    I think this is the suitable forum for my problem,I had an ADF 10g application which I migrate to Jdeveloper 11g,I want to deploy it to A standalone weblogic server,so I made a Jar file for the model,Awar File for the viewController, and an ear file in the application Assembly of the ear File I check both the Archive and webapp,this is all the libraries which is selected for Deployment
    JSF 1.2
    JSTL 1.2
    JSTL 1.2 Tags
    BC4j Runtime
    ADF Model Runtime
    BC4J Tester
    Oracle JDBC
    BC4J Oracle Domains
    MDS RunTime
    MDS RunTime Dependencies
    BC4J security
    afc.jar
    JSP RunTime
    ADF Common RunTIme
    ADF Faces Cache
    ADF Controller RunTime
    ADF Web RunTime
    ADF Controller Schema
    JPS Design Time
    ADF Controller.jar
    but when I Deploy the Ear File I got an exception
    <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'application20'
    <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: Failed to load webapp: 'Reg' at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:404)
    at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:507
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41) Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: javax.faces.webapp.UIComponentTag
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:280)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:253)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
    Truncated. see log file for complete stacktrace
    >
    there is a problem in the webapp for this class javax.faces.webapp.UIComponentTag ? How i can solve this?

    thanks for help,but I try and also got the same Error:
    <10/10/2010 EET 08:50:26 ع> <Error> <HTTP> <BEA-101371> <There was a failure when processing annotations for application C:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\application3\c2qh5c\webapp30.war. Please make sure that the annotations are valid. The error is >
    <10/10/2010 EET 08:50:27 ع> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1286736611640' for task '0'. Error is: 'weblogic.application.ModuleException: Failed to load webapp: 'Reg''
    weblogic.application.ModuleException: Failed to load webapp: 'Reg'
    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:404)
    Caused By: java.lang.ClassNotFoundException: javax.faces.webapp.UIComponentTag
    also, I did not succeed to run it from my Integrated weblogic server see this
    Re: Unable to find class oracle.adf.controller.faces.lifecycle.ADFPhaseListener
    so I try to deploy it in a standalone weblogic but this different problem appear to me,I think all this problems because of migration ADF faces to Apache trinanad although I fixed all my code after migration and compile it without any problems.can I deploy my app to weblogic 10 from my Jdeveloper 10g without migrating my Application To Apache?
    Edited by: Miar on Oct 10, 2010 12:12 PM

  • Error 500--Internal Server Error  - when deploying strust application

    Hello everyone,
    We have a large strust-based web application. The application is being deployed as an EAR file.
    We are getting a NullPointerException when we deploy the application on Weblogic 8.1 in production mode. The exception
    occurs when we access the application for the first time after redeployment.
    When we restart the server entirely we do not get the exception anymore.
    This exception does occur only rarely in development mode.
    In production mode it occurrs every time.
    Has anyone experienced similar issues?
    Regards,
    Oliver Enseling
    Error 500--Internal Server Error
    java.lang.NullPointerException
         at org.apache.struts.action.RequestProcessor.getServletContext(RequestProcessor.java:1136)
         at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:180)
         at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:309)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1480)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:506)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at com.gelco.tmg.planning.web.core.action.URLSecurityFilter.doFilter(URLSecurityFilter.java:69)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6458)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

    <[email protected]> wrote in message news:41c49d78$1@mail...
    The problem seems to occur due to servlet reloading.... There seems to be
    a bug that reloads the ActionServlet even without any changes made to the
    code base... The reload fails for the ActionServlet making it null
    Turn off servlet reloading in your weblogic.xml using
    <container-descriptor>
    <servlet-reload-check-secs>-1</servlet-reload-check-secs>
    </container-descriptor>
    Let me know if this helps ...The default is to check for every one sec... I am not sure whether these
    kind of defaults make sense once a application is moved into production
    mode...
    If the issue gets resolved with the above suggested workaround .... let me
    know... since the issue is spurious and I am trying to reach a higher
    confidence level in the solution proposed by me.....
    Thanks
    Kumaraguruparan Karuppasamy
    >
    >
    >
    "Bill Turchin" <[email protected]> wrote in message
    news:25319409.1102534305264.JavaMail.root@jserv5...
    I am now also seeing that error having recently upgraded to WL 8.1. Has
    anyone found the solution?

  • Infinite loop/afrLoop when deploying ADF application to standalone weblogic

    Working with Oracle ADF / JDeveloper 11.1.2.2
    I have enabled ADF security in my application and am using JAAS combined with Oracle EBS users and roles to provide security to the application. Testing on my local integrated weblogic server works fine.
    When deploying my Oracle ADF application to a standalone Weblogic server through an EAR file, requesting a JSF page causes the server to go into an infinite loop on both IE and firefox.
    GET /test-app/faces/login.jsf HTTP/1.1     200
    GET /test-app/faces/login.jsf?_afrLoop=346001033248597&_afrWindowMode=0&Adf-Window-Id=w0 HTTP/1.1     302
    GET /test-app/adfAuthentication HTTP/1.1     302
    GET /test-app/faces/login.jsf HTTP/1.1     200
    GET /test-app/faces/login.jsf?_afrLoop=346001340281597&_afrWindowMode=0&Adf-Window-Id=w0 HTTP/1.1     302
    GET /test-app/adfAuthentication HTTP/1.1     302
    GET /test-app/faces/login.jsf;jsessionid=syWvP1nMY1L87BySh2JbTd1tb4SY0HzDw6T3LvLctvkbMWKmqqJv!1800986117 HTTP/1.1     200
    GET /test-app/adfAuthentication HTTP/1.1
    Reviewing some of the suggestions from the forum and from the link below, I have tried fixing the issue through updates to my web.xml - but am still having the same issue.
    https://blogs.oracle.com/jdevotnharvest/entry/solving_jdeveloper_11gr2_issue_with
    Updated web.xml:
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>Allowed ADF Resources</web-resource-name>
    <url-pattern>/adf/*</url-pattern>
    <url-pattern>/afr/*</url-pattern>
    <url-pattern>/bi/*</url-pattern>
    <url-pattern>/servlet/GraphServlet/*</url-pattern>
    <url-pattern>/servlet/GaugeServlet/*</url-pattern>
    <url-pattern>/mapproxy/*</url-pattern>
    <url-pattern>/adflib/</url-pattern>
    </web-resource-collection>
    <web-resource-collection>
    <web-resource-name>allPages</web-resource-name>
    <url-pattern>/*</url-pattern>
    </web-resource-collection>
    <web-resource-collection>
    <web-resource-name>adfAuthentication</web-resource-name>
    <url-pattern>/adfAuthentication</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <role-name>valid-users</role-name>
    </auth-constraint>
    </security-constraint>
    <login-config>
    <auth-method>FORM</auth-method>
    <form-login-config>
    <form-login-page>/faces/login.jsf</form-login-page>
    <form-error-page>/faces/login-error.jsf</form-error-page>
    </form-login-config>
    </login-config>
    <security-role>
    <role-name>valid-users</role-name>
    </security-role>
    weblogic.xml
    <security-role-assignment>
    <role-name>valid-users</role-name>
    <principal-name>users</principal-name>
    </security-role-assignment>
    I know other users have experienced similar issues - but I am having trouble debugging or troubleshooting why this is happening.
    Any suggestions on how to further troubleshoot or resolve this issue would be appreciated!
    Dan

    I was able to resolve the login page looping issue.
    The issue is related to the login page being a JSF page based on a page template.
    When I created the JSF login page as a page template - the template contains a binding:
    <af:pageTemplate viewId="/test-template.jsf" value="#{bindings.ptb1}" id="pt1">
    When I deploy my application to the test weblogic server, the anonymous-role grants are not being respected. So even though I grant view access to the login JSF page to anonymous-role -- it appears that weblogic is trying to request a login for any page with a pageDef (including the login page). By re-creating the login page with no pageDef (a JSF page that does not use a page template) -- the login page is displayed (rather than entering into a loop).
    There is still a seperate issue with the anonymous-role grant not working as I would expect it to work that I will need to troubleshoot further.

  • Please Help ?? Tomcat 6 and JDK 6 Class Not Found Exception when deploying

    Hi,
    I am deploying this application in Tomcat 6, but I am getting ClassNotFoundException when I try to the application. I am a novice at this.
    SEVERE: Error loading WebappClassLoader
      delegate: false
      repositories:
    ----------> Parent Classloader:
    org.apache.catalina.loader.StandardClassLoader@146c1d4
    com.jbe.test.HelloWorldServlet
    java.lang.ClassNotFoundException: com.jbe.test.HelloWorldServlet
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1359)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1205)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1068)
         at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:791)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:127)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
         at java.lang.Thread.run(Thread.java:619)
    Oct 15, 2007 12:57:31 AM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Allocate exception for servlet asterisk
    java.lang.ClassNotFoundException: com.jbe.test.HelloWorldServlet
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1359)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1205)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1068)
         at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:791)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:127)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
         at java.lang.Thread.run(Thread.java:619)My web xml configuration
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
        version="2.4">
         <display-name>Hello, World Application</display-name>
        <description>
         Simple Test with a servlet.
        </description>
        <servlet>
             <servlet-name>helloworld</servlet-name>
             <servlet-class>com.jbe.test.HelloWorldServlet</servlet-class>
        </servlet>
        <servlet-mapping>
             <servlet-name>helloworld</servlet-name>
             <url-pattern>/hello.htm</url-pattern>
        </servlet-mapping>
    </web-app>My JSP: <html>
         <head><title>Test Hello World</title>
         </head>
         <body>
         <form>
         <a href = "hello.htm">Hello World</a>
         </form>
         </body>
    </html>
    Please Help !!!

    Are you sure your HelloWorldServlet has doGet method?
    package com.jbe.test;
    // Import servlet packages
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    public class HelloWorldServlet extends HttpServlet {
         public HelloWorldServlet() {}
         public void init() throws ServletException     {}
         public void doGet(HttpServletRequest request, HttpServletResponse response)
         throws ServletException, IOException           {
              response.setContentType("text/html");
            // then get the writer and write the response data
            PrintWriter out = response.getWriter();
            out.println("<HEAD><TITLE> SimpleServlet Output</TITLE></HEAD><BODY>");
            out.println("<h1> SimpleServlet Output </h1>");
            out.println("<P>This is output is from SimpleServlet.");
         out.println("</BODY>");
         out.close();
         public void destroy()     {}
    }

Maybe you are looking for