Deployment error when running simple serlet application

Hello folks!
I am a newbie in developing Java Servlets and my problem might sound almost too trivial for professionals, however I hope to find help here after I have tried to solve this problem on my own for almost 2 days now...
I have been trying to implement a web application with a simple servlet that will greet the user after he has submitted his name. Therefore I have been implementing the following code into the standard "index.jsp" page.
    <form action="GreetingServlet" method="POST">
        First Name: <input type="text" name="firstName" size="20"><br />
        Surname: <input type="text" name="surname" size="20">
        <br /><br />
        <input type="submit" value="Submit">
    </form>After running the project the following output is being produced in the server log file:
Using CATALINA_BASE: C:\Dokumente und Einstellungen\Besitzer\.netbeans\5.5\apache-tomcat-5.5.17_base
Using CATALINA_HOME: C:\Programme\netbeans-5.5\enterprise3\apache-tomcat-5.5.17
Using CATALINA_TMPDIR: C:\Dokumente und Einstellungen\Besitzer\.netbeans\5.5\apache-tomcat-5.5.17_base\temp
Using JRE_HOME: E:\java\jdk_1.5.0_09
26.11.2006 11:46:02 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: E:\java\jdk_1.5.0_09\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Programme\MiKTeX 2.5\miktex\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;C:\Programme\ATI Technologies\ATI.ACE\;E:\java\j2ee_1.4_sdk_app-server\bin
26.11.2006 11:46:03 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8088
26.11.2006 11:46:03 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1172 ms
26.11.2006 11:46:03 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
26.11.2006 11:46:03 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
26.11.2006 11:46:03 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
26.11.2006 11:46:03 org.apache.catalina.startup.HostConfig deployDescriptor
SCHWERWIEGEND: Error deploying configuration descriptor admin.xml
java.lang.NoSuchMethodError: javax.servlet.ServletContext.setAttribute(Ljava/lang/String;Ljava/lang/Object;)V
at org.apache.catalina.core.StandardContext.postWorkDirectory(StandardContext.java:4865)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4030)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:608)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
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 org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
26.11.2006 11:46:03 org.apache.catalina.startup.HostConfig deployDescriptor
SCHWERWIEGEND: Error deploying configuration descriptor manager.xml
java.lang.NoSuchMethodError: javax.servlet.ServletContext.setAttribute(Ljava/lang/String;Ljava/lang/Object;)V
at org.apache.catalina.core.StandardContext.postWorkDirectory(StandardContext.java:4865)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4030)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:608)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
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 org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
26.11.2006 11:46:03 org.apache.catalina.startup.HostConfig deployDescriptor
SCHWERWIEGEND: Error deploying configuration descriptor ROOT.xml
java.lang.NoSuchMethodError: javax.servlet.ServletContext.setAttribute(Ljava/lang/String;Ljava/lang/Object;)V
at org.apache.catalina.core.StandardContext.postWorkDirectory(StandardContext.java:4865)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4030)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:608)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
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 org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
26.11.2006 11:46:04 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8088
26.11.2006 11:46:04 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
26.11.2006 11:46:04 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/31 config=null
26.11.2006 11:46:04 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
26.11.2006 11:46:04 org.apache.catalina.startup.Catalina start
INFO: Server startup in 1140 ms
FYI:
I am using NetBeans IDE 5.5 with the Apache-Tomcat 5.5.17 Bundle and I have installed the java versions j2ee_1.4_sdk and the jdk_1.5.0 update 9.
I hope anybody can help me with this problem. Thanks in advance.
andr�

Hi,
does anybody have an idea what the problem could be?
I am really stuck with this problem and any help is eagerly demanded.
Thanks in advance!
Andr�

Similar Messages

  • Error when running my adf application in Jdev 11

    Hi i develop one application that work fine in mi laptop and other computers, but yesterday i load it in one computer that throw me error when running:
    (oracle.jbo.JboException) JBO-29000: Unexpected exception caught: java.sql.SQLException, msg=ORA-01882: no se ha encontrado la región de la zona horaria
    Didn´t find Time Zone..
    I dont know what could be the problem in that computer.. some regedit configuration??

    Hi Shay!
    Already compare regional settings in both pc and are equals!..also try unistalling an reinstalling jdeveloper.. problem persist!

  • Error when running the  Webdynpro Application

    Hi All,
    I am getting the following error when testing  the WDA Application. Please let me know what can I do to resolve the error. I appreciate the help. Thanks
    The following error text was processed in the system DRD : Screen output without connection to user.
    The error occurred on the application server DOWNEA023_DRD_06 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    SYSTEM-EXIT of program SAPLSTRD
    Function: TRINT_POPUP_EDIT_CANCEL_SHOW of program SAPLSTRD
    Form: RAISE_ERROR of program SAPLSTRD
    Function: TRINT_OBJECTS_CHECK_AND_INSERT of program SAPLSTRD
    Function: TR_OBJECTS_CHECK of program SAPLSTRD
    Function: RH_HRPOBJECT_CORR_AT_SAVE of program SAPLRHWM
    Form: UPDATE_PLOG of program SAPLRHAP
    Function: RH_UPDATE_DATABASE of program SAPLRHAP
    Form: UPDATE_DATABASE of program MP100100
    Form: LEAVE_ACTUAL_DYNPRO of program MP100100
    Thanks

    I have the same problem.
    I'm trying to open up excel (Bex Analyzer) using the following code:
      call function 'RSAH_LAUNCH_EXCEL'
        exporting
          i_genuniid                 = '4AW30ILXE3NN5MQTO3SW0GUY0'
         i_workbookid               =
          i_hide_sapgui              = 'X'
        importing
          e_log_handle               = l_log_handle
        exceptions
          excel_wrong_version        = 1
          excel_viewer_not_installed = 2
          bexanalyzer_not_installed  = 3
          others                     = 4.

  • Invoke Method: Run VI produces error when run as an application

    Hello,
    I have upgraded from LabView 7.0 to 2009. One test program uses Run VI Invoke Method to start the main UI. On LabView 7.0 it works OK , when build as an application, but with LabView 2009 it gives error 1003: Invoke Node xxx.vi <APPEND> VI Path: xxx. (I have checked that the path to "Open VI Reference" is correct.)
    When run on LabView 2009 development environment (.vi) - no problem. I used the "Convert built script.." tool to convert to LabView 2009 built specifications. I have tried numerous different variations building application with LabView 2009 (including main UI files, different setups, etc.), but no luck. If someone has any ideas...
    -timo

    Maybe it helps you for debugging:
    I checked the property for the broken arrow. You need a property node and go Select Class 'Vi Server'->'VI' (skip this in your Application but navigate to the VI via the server and feed it to the node). Then it is Execution->State.
    I need to draw some code to do it for me as well, once I'm done I'll post it here.
    Felix
    www.aescusoft.de
    My latest community nugget on producer/consumer design
    My current blog: A journey through uml

  • Error when running the struts application

    Hi
    i am getting this error when i run my struts application. Do i need to install the xerces parcer and should my local have the ANT. If so how should i confingure ANT
    /JSP/Login.jsp(12,0) Attribute name invalid for tag form according to TLD
    org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
         org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
         org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:236)
         org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1200)
         org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:821)
         org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
         org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393)
         org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2399)
         org.apache.jasper.compiler.Node$Root.accept(Node.java:489)

    Ya I guess everything is right in both the files. Let me paste the contents :-
    WEB.XML
    <!DOCTYPE web-app PUBLIC
         "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
         "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <display-name>My Inventory</display-name>
    <!-- Standard Action Servlet Configuration -->
    <servlet>
    <servlet-name>action</servlet-name>
    <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
    <init-param>
    <param-name>config</param-name>
    <param-value>/WEB-INF/struts-config.xml</param-value>
    </init-param>
    <load-on-startup>2</load-on-startup>
    </servlet>
    <!-- Standard Action Servlet Mapping -->
    <servlet-mapping>
    <servlet-name>action</servlet-name>
    <url-pattern>*.do</url-pattern>
    </servlet-mapping>
    <!-- The Usual Welcome File List -->
    <welcome-file-list>
    <welcome-file>Login.jsp</welcome-file>
    </welcome-file-list>
    <taglib>
    <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-html.TLD</taglib-location>
    </taglib>
    </web-app>
    STRUTS-CONFIG.xml
    <!DOCTYPE struts-config PUBLIC
    "-//Apache Software Foundation//DTD Struts Configuration 1.3//EN"
    "http://struts.apache.org/dtds/struts-config_1_3.dtd">
    <!--
    Default configuration file for examples application.
    Each module also has its own struts-config under: /WEB-INF/$MODULE/
    @version $Revision: 1.9 $ $Date: 2006-12-03 11:32:52 -0600 (Sun, 03 Dec 2006) $
    -->
    <struts-config>
    <form-beans>
    <form-bean name="Loginform" type = "com.myInventory.Loginform"></form-bean>
    </form-beans>
    <global-exceptions/>
    <global-forwards
    <!-- utilize a custom ActionForward as an example only -->
    </global-forwards>
    <action path="/Login" type="com.myInventory.actions.Loginaction" name="Loginform" input="/Login.jsp">
              <forward name="login_target_success" path="/success.jsp"/>
              <forward name="login_target_failure" path="/login.jsp"/>
              </action>
    </action-mappings>
    <message-resources parameter="MessageResources"/>
    </struts-config>

  • Error when running Simple Sample Apps

    Hi,
    I have deployed "simple sample apps" to NW CE71 EHP1 and was following the configuration document. And when i run the application I get following  error:
    Error in Connectiont :Could not retrieve metadata
    Can somebody advise how to fix the issue?
    Thank you,
    Maxat

    The error was in my Proxy settings. Issue is solved

  • "Cannot find nwlocale.dll" error when running 16-bit application

    Hi There,
    I'm encountering the error message "Cannot find nwlocale.dll" when
    activating a 16-bit application (standalone version) in a workstation
    using Windows 98 and Novell Client v4.83. This only happened in a
    particular workstation but other is working fine. Is there any
    areas/reasons/possibilities that I can have a check?
    Any information can help, please feel free to share.
    Thank you very much.
    Best Regards,
    Shannon

    On 7/21/2005 [email protected] wrote:
    > using Windows 98 and Novell Client v4.83.
    Incorrect Novell Client version for that OS.
    Edison Ortiz
    Novell Product Support Forum SysOp
    (No Email Support, Thanks !)

  • Error when running P6 web services Demo

    Hi All,
    I am trying to run P6 web services demo application, p6 web services server is running, however I get this error when running the demo application:
    org.apache.cxf.service.factory.ServiceConstructionException: Failed to create service.
    Appreciate if someone can help me to resolve it.
    Thanks in advance

    If you are getting this error, then you are most likely compiling your code with a different JVM than what is shipped with the application server. Oracle9iAS Release 2 (9.0.2) uses the JDK1.3.1. I got this error when I compiled the code with JDK1.4.0_01.

  • Error in running the WD application.

    Hi experts ,
    I am getting an error when running an webdynpro application i.e
    URL : http://sapserver:8006/sap/bc/webdynpro/sap/zwd_spo_sr?sap-system-login-basic_auth=X&sap-client=800&sap-language=EN
    Error : Die URL enthält keine vollständige Domainangabe (sapserver statt sapserver.<domain>.<ext>).*
    but when am adding a dot to the URL my WD application works fine.
    i.e
    check the dot below
    URL : http://sapserver.:8006/sap/bc/webdynpro/sap/zwd_spo_sr?sap-system-login-basic_auth=X&sap-client=800&sap-language=EN
    Please help me, how to get rid of this adding dots...
    Thanks
    Aisurya

    Hello Aisurya,
    do the following
    1. go to transaction RZ10
    2. choose instance profile and select the option Extended Maintenance
    3. add parameter icm/host_name_full with value $(SAPLOCALHOST).domain.ext
    4. restart the server
      This error is common and is well documented in the online help doc.
    BR, Saravanan

  • Webcenter error when running application

    hi am having below error when running my application am in jdeveloper 11.1.1.6.0
    <10 Nov 2012 8:51:37 AM> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1352530297019' for task '0'. Error is: 'weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: oracle.webcenter.framework, Specification-Version: 11.1.1, exact-match: false], [Extension-Name: oracle.webcenter.skin, Specification-Version: 11.1.1, exact-match: false].'
    weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: oracle.webcenter.framework, Specification-Version: 11.1.1, exact-match: false], [Extension-Name: oracle.webcenter.skin, Specification-Version: 11.1.1, exact-match: false].
         at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
         Truncated. see log file for complete stacktrace
    >
    <10 Nov 2012 8:51:37 AM> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'UAMApplication'.>
    <10 Nov 2012 8:51:37 AM> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: oracle.webcenter.framework, Specification-Version: 11.1.1, exact-match: false], [Extension-Name: oracle.webcenter.skin, Specification-Version: 11.1.1, exact-match: false].
         at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
         Truncated. see log file for complete stacktrace
    >
    [08:51:37 AM] #### Deployment incomplete. ####
    [08:51:37 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    #### Cannot run application UAMApplication due to error deploying to IntegratedWebLogicServer.
    [Application UAMApplication stopped and undeployed from Server Instance IntegratedWebLogicServer]

    Hi,
    you've posted this in the WebCenter Content forum. You may want to repost your question in the WebCenter Portal forum, as the stacktrace tells me you are dealing with the WebCenter Portal Framework. Some more information would be helpful too. What kind of are you deploying?

  • Error when run Application  Help me please

    Message Error when run Application A_Anexo_7:
    java.lang.NoClassDefFoundError: etica.Anexo_7
         void etica.A_Anexo_7.<init>()
              A_Anexo_7.java:13
         void etica.A_Anexo_7.main(java.lang.String[])
              A_Anexo_7.java:46

    you need to provides more info
    basically, it's saying that it cannot find the class specified.
    You need to include the class in your classpath.

  • Error occurs when running autoconfig on application tier

    When running autoconfig on application tier, error occurs:
    Starting AutoConfig at Sun Jul 3 08:06:11 2011
    Using adconfig.pl version 115.78
         Classpath : /u01/prodapps/prodcomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/rt.jar:/u01/prodapps/prodcomn/util/java/1.4/j2sdk1.4.2_04/lib/dt.jar:/u01/prodapps/prodcomn/util/java/1.4/j2sdk1.4.2_04/lib/tools.jar:/u01/prodapps/prodcomn/java/appsborg2.zip:/u01/prodapps/prodcomn/java
    ===========================================================================
    Starting Utility to Report Version Conflicts at Sun Jul 03 08:06:14 PDT 2011
    Using VersionConflictListGenerator.java version 115.2
    All driver files processed.
    No version conflict encountered.
    ===========================================================================
    ERROR: Context Value Management Failed.
    Terminate.
    I referred to Note 461258.1: Autoconfig Error On Apps Tier: Context Value Management Failed (Doc ID 461258.1), and there's no such directory: $JAVA_TOP/oracle/sql/
    Please HELP!
    Thanks,
    Jackie

    Please see these docs.
    Adconfig.sh Fails With Error AC-30202 Unrecognized Action Apecified On Oracle EBS 11.5.10.2 [ID 1240795.1]
    How To Synchronize The Context file Stored In Database (FND_OAM_CONTEXT_FILES table) With The Context File In the File System?. Run Autoconfig Failed With "ERROR: Context Value Management Failed" [ID 463895.1]
    Autoconfig execution fails on Class StoreDataOfFile.getChkListConditions() [ID 1269146.1]
    Thanks,
    Hussein

  • Undefined weblogic.home error when running APPC

    Hi,
    I am trying to run the APPC compiler on my local EAR and deploy it on a remote
    server version
    8.1 using ANT. I just have the weblogic.jar, ojdbc14.jar and webservices.jar on
    my workstation.
    I have an error when running APPC.
    The ANT taks is :
    <target name="app.appc">
    <java classname="weblogic.appc" fork="true" failonerror="true">
    <jvmarg value="-Xms256m"/>
    <jvmarg value="-Xmx256m"/>
    <classpath>
    <pathelement location="${j2ee.weblogic.lib.dir}/${j2ee.weblogic.lib.name}"/>
    <pathelement location="${j2ee.weblogic.lib.dir}/ojdbc14.jar"/>
         <pathelement location="${jsdk1.4-dir}/lib/tools.jar"/>
         </classpath>
         <arg line ="-verbose -verboseJavac ${application.dist.ear}"/>
    </java>
    </target>
    The ANT output is :
    app.appc:
    [java] [appc] Created working directory: C:\DOCUME~1\pim\LOCALS~1\Temp\appcgen
    [java] [appc] Compiling EAR module 'core.war'
    [java] [JspcInvoker]Checking web app for compliance.
    [java] <2 mars 2004 15 h 36 CET> <Info> <HTTP> <BEA-101047> <[ComplianceChecker]
    Validating the servlet element with servlet-name named "action".>
    [java] <2 mars 2004 15 h 36 CET> <Info> <HTTP> <BEA-101047> <[ComplianceChecker]
    Checking servlet-mapping for servlet name : "action".>
    [java] [jspc] parsing /jsp/applications/example/Accessor.jsp:
    [java] [jspc] parsed C:\DOCUME~1\pim\LOCALS~1\Temp\appcgen\appcgen_core.war\
    jsp\applications\example\Accessor.jsp in 1482 ms.
    [java] [jspc] Invoking the compiler
    [java] [jspc] Invoking the compiler with -encoding UTF-8
    [java] [appc] Compiling EAR module 'core-ejb.jar'
    [java] [J2EE:160121]Errors encountered while compiling module 'core-ejb.jar':
    [java] error in finding weblogic.Home
    Is there any other solution than installing weblogic on my workstation so that
    everything is
    setup correctly?
    thanks in advance
    Pierre

    Pierre MONGENIE wrote:
    Finally it worked out for me with the system classpath set to:
    D:\J2EE\bea\weblogic81\server\lib\weblogic.jar
    and the ANT task wlappc.
    I was unable to have it work with the ANT task described below in this thread.
    tha ant task is
    <wlappc source="${application.dist.ear}"
         verbose="true"
         verboseJavac="true"
         debug="true"
         classpath="${j2ee.weblogic.lib.dir}/${j2ee.weblogic.lib.name}
         ${j2ee.weblogic.lib.dir}/ojdbc14.jar
         ${j2ee.weblogic.lib.dir}/webservices.jar
         ${jsdk1.4-dir}/lib/tools.jar"This is the issue. The classpath parameter to wlappc is the classpath
    it will use when it compiles your application classes. It's not the
    classpath which will load the wlappc ant task. (I'll admit this has
    always been confusing.)
    -- Rob
    runtimeflags="mx256m"
    output="${application.weblogic.deploy.ear}"
         />
    So now I have another problem but let me open another thread
    thanks
    Rob Woollen <[email protected]> wrote:
    That code checks if the system property weblogic.home is set. If not,
    it looks for the class weblogic.Home is in the classpath. Make sure
    one
    of those 2 conditions is true.
    -- Rob
    Pierre MONGENIE wrote:
    Hi,
    I am trying to run the APPC compiler on my local EAR and deploy iton a remote
    server version
    8.1 using ANT. I just have the weblogic.jar, ojdbc14.jar and webservices.jaron
    my workstation.
    I have an error when running APPC.
    The ANT taks is :
    <target name="app.appc">
    <java classname="weblogic.appc" fork="true" failonerror="true">
    <jvmarg value="-Xms256m"/>
    <jvmarg value="-Xmx256m"/>
    <classpath>
    <pathelement location="${j2ee.weblogic.lib.dir}/${j2ee.weblogic.lib.name}"/>
    <pathelement location="${j2ee.weblogic.lib.dir}/ojdbc14.jar"/>
         <pathelement location="${jsdk1.4-dir}/lib/tools.jar"/>
         </classpath>
         <arg line ="-verbose -verboseJavac ${application.dist.ear}"/>
    </java>
    </target>
    The ANT output is :
    app.appc:
    [java] [appc] Created working directory: C:\DOCUME~1\pim\LOCALS~1\Temp\appcgen
    [java] [appc] Compiling EAR module 'core.war'
    [java] [JspcInvoker]Checking web app for compliance.
    [java] <2 mars 2004 15 h 36 CET> <Info> <HTTP> <BEA-101047> <[ComplianceChecker]
    Validating the servlet element with servlet-name named "action".>
    [java] <2 mars 2004 15 h 36 CET> <Info> <HTTP> <BEA-101047> <[ComplianceChecker]
    Checking servlet-mapping for servlet name : "action".>
    [java] [jspc] parsing /jsp/applications/example/Accessor.jsp:
    [java] [jspc] parsed C:\DOCUME~1\pim\LOCALS~1\Temp\appcgen\appcgen_core.war\
    jsp\applications\example\Accessor.jsp in 1482 ms.
    [java] [jspc] Invoking the compiler
    [java] [jspc] Invoking the compiler with -encoding UTF-8
    [java] [appc] Compiling EAR module 'core-ejb.jar'
    [java] [J2EE:160121]Errors encountered while compiling module'core-ejb.jar':
    [java] error in finding weblogic.Home
    Is there any other solution than installing weblogic on my workstationso that
    everything is
    setup correctly?
    thanks in advance
    Pierre

  • Deployment Error when transporting to TEST server

    Hi experts,
    I'm having a deployment error when transporting my dc from development server to test server using the Change Management Service - Transport Studio.
    In the error message, there is the mention of the following sentence:
    =============================================
    Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine ?
    =============================================
    But the dc is using only the standard default dcs like:
    com.sap.aii.proxy.framework (default)
    com.sap.aii.util.misc (default)
    com.sap.exception (default)
    com.sap.mw.jco (default)
    tc/cmi (default)
    tc/ddic/ddicruntime (default)
    td/ddic/metamodel/content (default)
    tc/logging (default)
    tc/wd/webdynpro (default)
    tc/wdp/metamodel/content (default)
    So could these dcs not have been deployed on the test server ?
    How do we confirm this ?
    Thanks in advance.
    Rgds,
    Daniel

    A dump of the exception i m getting.
    Anyone has a clue or advice of how to overcome this problem ?
    20081107165952 Info   :Nov 7, 2008 4:46:03 PM   Info: Starting: Update: Selected development component 'appl/main'/'com.diagonal'/'dev_devcias_C'/'823'/'0' updates currently deployed development component 'appl/main'/'com.diagonal'/'LOKAL'/'0.2006.01.12.14.18.23'/'0'.
    20081107165952 Info   :Nov 7, 2008 4:46:03 PM   Info: SDA to be deployed: /usr/sap/WS5/JC00/SDM/root/origin/com.diagonal/appl/main/dev_devcias_C/0/823/appl~main.sda
    20081107165952 Info   :Nov 7, 2008 4:46:03 PM   Info: Software type of SDA: J2EE
    20081107165952 Info   :Nov 7, 2008 4:46:03 PM   Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****
    20081107165952 Info   :Nov 7, 2008 4:46:07 PM   Info: Begin of log messages of the target system:
    20081107165952 Info   :08/11/07 16:46:03 -  ***********************************************************
    20081107165952 Info   :08/11/07 16:46:04 -  Start updating EAR file...
    20081107165952 Info   :08/11/07 16:46:04 -  start-up mode is lazy
    20081107165952 Info   :08/11/07 16:46:04 -  EAR file updated successfully for 70ms.
    20081107165952 Info   :08/11/07 16:46:04 -  Start updating...
    20081107165952 Info   :08/11/07 16:46:06 -  EAR file uploaded to server for 861ms.
    20081107165952 Info   :08/11/07 16:46:07 -  ERROR: Not updated. Deploy Service returned ERROR:
    20081107165952 Info   :                     java.rmi.RemoteException: Cannot deploy application com.diagonal/appl~main..
    20081107165952 Info   :                     Reason: Clusterwide exception: Failed to deploy application com.diagonal/appl~main. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?; nested exception is:
    20081107165952 Info   :                          com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to deploy application com.diagonal/appl~main. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?
    20081107165952 Info   :                          at com.sap.engine.services.deploy.server.DeployServiceImpl.update(DeployServiceImpl.java:681)
    20081107165952 Info   :                          at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1278)
    20081107165952 Info   :                          at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:313)
    20081107165952 Info   :                          at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:199)
    20081107165952 Info   :                          at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:136)
    20081107165952 Info   :                          at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    20081107165952 Info   :                          at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    20081107165952 Info   :                          at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    20081107165952 Info   :                          at java.security.AccessController.doPrivileged(AccessController.java:215)
    20081107165952 Info   :                          at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
    20081107165952 Info   :                          at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    20081107165952 Info   :                     Caused by: com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to deploy application com.diagonal/appl~main. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?
    20081107165952 Info   :                          at com.sap.engine.services.webdynpro.WebDynproContainer.deploy(WebDynproContainer.java:1050)
    20081107165952 Info   :                          at com.sap.engine.services.webdynpro.WebDynproContainer.makeUpdate(WebDynproContainer.java:1281)
    20081107165952 Info   :                          at com.sap.engine.services.deploy.server.application.UpdateTransaction.makeComponents(UpdateTransaction.java:400)
    20081107165952 Info   :                          at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:321)
    20081107165952 Info   :                          at com.sap.engine.services.deploy.server.application.UpdateTransaction.begin(UpdateTransaction.java:164)
    20081107165952 Info   :                          at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292)
    20081107165952 Info   :                          at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:326)
    20081107165952 Info   :                          at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3184)
    20081107165952 Info   :                          at com.sap.engine.services.deploy.server.DeployServiceImpl.update(DeployServiceImpl.java:669)
    20081107165952 Info   :                          ... 10 more
    20081107165952 Info   :                     For detailed information see the log file of the Deploy Service.
    20081107165952 Info   :08/11/07 16:46:07 -  ***********************************************************
    20081107165952 Info   :Nov 7, 2008 4:46:07 PM   Info: End of log messages of the target system.
    20081107165952 Info   :Nov 7, 2008 4:46:07 PM   Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
    20081107165952 Info   :Nov 7, 2008 4:46:07 PM   Error: Aborted: development component 'appl/main'/'com.diagonal'/'dev_devcias_C'/'823'/'0', grouped by :
    20081107165952 Info   :Caught exception during application deployment from SAP J2EE Engine's deploy service:
    20081107165952 Info   :java.rmi.RemoteException: Cannot deploy application com.diagonal/appl~main..
    20081107165952 Info   :Reason: Clusterwide exception: Failed to deploy application com.diagonal/appl~main. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?; nested exception is:
    20081107165952 Info   :     com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to deploy application com.diagonal/appl~main. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?
    20081107165952 Info   : (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    20081107165952 Info   :Nov 7, 2008 4:46:07 PM   Info: Starting to save the repository
    20081107165952 Info   :Nov 7, 2008 4:46:07 PM   Info: Finished saving the repository
    20081107165952 Info   :Nov 7, 2008 4:46:07 PM   Info: Starting: Update: Selected software component 'CIAS_WD_APPLICATIONS'/'diagonal.com'/'dev_devcias_C'/'1000.1.0.6.0.20081107075633''/'0' updates currently deployed software component 'CIAS_WD_APPLICATIONS'/'diagonal.com'/'dev_devcias_C'/'1000.1.0.0.0.20061122075934''/'1'.
    20081107165952 Info   :Nov 7, 2008 4:46:07 PM   Error: Aborted: software component 'CIAS_WD_APPLICATIONS'/'diagonal.com'/'dev_devcias_C'/'1000.1.0.6.0.20081107075633''/'0':
    20081107165952 Info   :Failed deployment of SDAs:
    20081107165952 Info   :development component 'appl/main'/'com.diagonal'/'dev_devcias_C'/'823'/'0' : aborted
    20081107165952 Info   :Please, look at error logs above for more information!
    20081107165952 Info   :Nov 7, 2008 4:46:07 PM   Info: Starting to save the repository
    20081107165952 Info   :Nov 7, 2008 4:46:08 PM   Info: Finished saving the repository
    20081107165952 Info   :Nov 7, 2008 4:46:08 PM   Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.
    20081107165952 Info   :Nov 7, 2008 4:46:08 PM   Error: -
    At least one of the Deployments failed -
    20081107165952 Info   :end of log
    20081107165952 Info   :RC of deployment: 12
    20081107165952 Info   :Step SDM-deploy ended with result 'fatal error' ,stopping execution at 2008-11-07 16:59:52.0155 +9:00

  • "Missing Class" error when running web service

    Hi,
    I am getting an "Missing Class" error when running a web service. The web service was generated from a Java class via the "create J2EE web service" option.
    The web service has a JAX-RPC handler class added, which belongs to the same package as a logging class. The logging class is used to write to a file for debug purposes. A "missing class" error is being generated whenever I attempt to invoke the web service (via the enterprise manager test util), the error refers to the logging class which is used by the main handler class. The JAX-RPC handler works fine by itself, the error is only seen when I attempt to use the logging class.
    I have re-built, re-deployed from scratch again, but still get the same error! Am I missing something simple here?
    thanks for any advice

    Cant you paste some of your code, formatted in code tags? It looks like there is a problem passing some of the XMl response, it doesnt like a tag html.
    If you post some code somebody might actually be able to help you.

Maybe you are looking for