Java.lang.IncompatibleClassChangeError by using AXIS in SAP NW

Hi all,
I wrote a web programm using AXIS 1.2. I have no problem to deploy the EAR onto NW AS and can deploy a service onto this web application. But as I try to call the service I got exception´as follow. Someone has idea?
I am sure one or some of the jar files used in the programm are not compatible with that of SAP. But which one?
My web application runs no problem by Tomcat.
#1.5 #000C297AEFDA00650000002C00000A9000044155A603AAAD#1197736054125#System.err#sap.com/myAxisEar#System.err#Guest#0####a3e9b1d0ab2a11dca861000c297aefda#SAPEngine_Application_Thread[impl:3]_30##0#0#Error##Plain###15.12.2007 17:27:34 org.apache.axis.transport.http.AxisServlet logException
INFO: Exception:
java.lang.IncompatibleClassChangeError
     at org.apache.axis.message.MessageElement.addTextNode(MessageElement.java:1387)
     at org.apache.axis.message.SOAPHandler.addTextNode(SOAPHandler.java:148)
     at org.apache.axis.message.SOAPHandler.endElement(SOAPHandler.java:112)
     at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
     at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1712)
     at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
     at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
     at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
     at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
     at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
     at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
     at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:667)
     at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
     at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
     at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
     at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
     at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
     at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
     at org.apache.axis.server.AxisServer.initSOAPConstants(AxisServer.java:345)
     at org.apache.axis.server.AxisServer.invoke(AxisServer.java:279)
     at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
     at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
     at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
     at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
     at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
     at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
     at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
     at java.security.AccessController.doPrivileged(Native Method)
     at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Message was edited by:
        Thomas Roland

Folowing is the code. The exception comes from the code inside try:
org.apache.axis.client.Call _call = super._createCall();
try{
    java.lang.Object _resp = _call.invoke(new java.lang.Object[] {in0, in1});
I am not sure if the class version of "org.apache.axis.client.Call" not compatible. MAybe the axis use another class an dthis is not compatible with that in SAP.
Sounds quite difficult to figure it out.

Similar Messages

  • How to avoid the java.lang.IncompatibleClassChangeError

    Hi all!
    I have problem to make my client Java application to work under Oracle JVM. This application works fine as standalone java class. In this mode it communicates fine with a web server.
    I have loaded all needed jar files into my user (sample) using the following command:
    Loadjava -thin -r -v -f -user sample/sample@<my_url>:1521:usr10se <jar files and classes>
    When I call my public method from a PL/SQL function I receive the following error:
    ERROR at line 1:
    ORA-29532: Java call terminated by uncaught Java exception:
    java.lang.IncompatibleClassChangeError
    The following is a trace context:
    *** 2006-11-29 17:28:10.134
    *** ACTION NAME:() 2006-11-29 17:28:10.134
    *** MODULE NAME:(SQL*Plus) 2006-11-29 17:28:10.134
    *** SERVICE NAME:(…) 2006-11-29 17:28:10.134
    *** SESSION ID:(49.5) 2006-11-29 17:28:10.134
    java.lang.IncompatibleClassChangeError
         at org.apache.axis.encoding.SerializationContext.startElement(SerializationContext.java:1122)
         at org.apache.axis.message.MessageElement.outputImpl(MessageElement.java:1253)
         at org.apache.axis.message.MessageElement.output(MessageElement.java:1208)
         at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:139)
         at org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:478)
         at org.apache.axis.message.MessageElement.output(MessageElement.java:1208)
         at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:315)
         at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:269)
         at org.apache.axis.SOAPPart.saveChanges(SOAPPart.java:530)
         at org.apache.axis.attachments.AttachmentsImpl.getAttachmentCount(AttachmentsImpl.java:554)
         at org.apache.axis.Message.getContentType(Message.java:486)
         at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:343)
         at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
         at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
         at org.apache.axis.client.Call.invoke(Call.java:2767)
         at org.apache.axis.client.Call.invoke(Call.java:1792)
         at org.uddi4j.transport.ApacheAxisTransport.send(ApacheAxisTransport.java:87)
         at org.uddi4j.transport.TransportBase.send(TransportBase.java:53)
         at org.uddi4j.client.UDDIProxy.send(UDDIProxy.java:1778)
         at org.uddi4j.client.UDDIProxy.find_tModel(UDDIProxy.java:823)
         at …. Call from my class
    I suspected multiple definitions of the SerializationContext.class in my jar files but was wrong: there is only one definition in the axis.jar file. For some reasons this jar file contained SerializationContext.class and SerializationContext.java modules, but I resolved this problem earlier: loadjava does not allow loading the both.
    What can be cause of the java.lang.IncompatibleClassChangeError problem?
    What I have to do to make my class work from Oracle JVM?
    Thanks,
    Roman

    Avi,
    You right, at the beginning I had problems with jar files compiled using Java 1.5. But I discovered this problem earlier, when tried to test standalone client application. Since then a whole web services tool kit, provided by my company, was recompiled with Java 1.4 and now I have no problem with standalone classes, running under Oracle JDK 1.4 environment. It means that I’m pretty sure that all Java classes that I’m loading to Oracle are compiled with JDK 1.4.
    You also right with your second guess: not all Java objects in the user_objects table of the SAMPLE user are VALID. I started from a scratch (again): dropped all Java objects from user schema and followed Kuassi Mensah instructions from the “Virtualize Your Oracle Database with Web Services” (http://www.oracle.com/technology/pub/articles/mensah_dws.html): I downloaded and then loaded to my schema the Web Service Call-out Utility jar files using the following command: loadjava -u sample/sample@usr10se -r -v -f -genmissing C:\oracle\ora10_DB\sqlj\lib\dbwsclientws.jar C:\oracle\ora10_DB\sqlj\lib\dbwsclientdb102.jar.
    This command loaded about 5000 java objects, but 400+ of them were INVALID and I saw a lot of “ORA-29534: referenced object … could not be resolved” errors.
    The tool kit provided by the group in my company only increased number of invalid objects.
    What is a strategy in this situation?
    Do all the objects have to be VALID?
    I can try to resolve the “ORA-29521: referenced name ... could not be found” errors by finding corresponding classes in some jar files and loading these jar files, but it does not guarantee that all ORA-29534 errors will go away. What else can I do to cleanup my java objects?
    Thank you very mach,
    Roman

  • Java.lang.IncompatibleClassChangeError when deploying web service

    Hi there,
    I'm trying to deploy a jax-rpc web service and get a java.lang.IncompatibleClassChangeError error when I use org.apache.axis.client.AdminClient with the following deploy.wsdd file. The funny thing is the Web Service is deployed and listed in AXIS. Can anyone help me to resolve this.
    <!-- Use this file to deploy some handlers/chains and services      -->
    <!-- Two ways to do this:                                           -->
    <!--   java org.apache.axis.client.AdminClient deploy.wsdd          -->
    <!--      after the axis server is running                          -->
    <!-- or                                                             -->
    <!--   java org.apache.axis.utils.Admin client|server deploy.wsdd   -->
    <!--      from the same directory that the Axis engine runs         -->
    <deployment
        xmlns="http://xml.apache.org/axis/wsdd/"
        xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
      <!-- Services from FlightInfoServiceIFService WSDL service -->
      <service name="flightservice" provider="java:RPC" style="rpc" use="encoded">
          <parameter name="wsdlTargetNamespace" value="urn:flightservice"/>
          <parameter name="wsdlServiceElement" value="FlightInfoServiceIFService"/>
          <parameter name="wsdlServicePort" value="flightservice"/>
          <parameter name="className" value="flightCompany.rpcservice.FlightserviceSoapBindingImpl"/>
          <parameter name="wsdlPortType" value="FlightInfoServiceIF"/>
          <parameter name="typeMappingVersion" value="1.2"/>
          <operation name="getFlights" qname="operNS:getFlights" xmlns:operNS="urn:flightservice" returnQName="getFlightsReturn" returnType="rtns:string" xmlns:rtns="http://schemas.xmlsoap.org/soap/encoding/" soapAction="" >
            <parameter qname="in0" type="tns:string" xmlns:tns="http://schemas.xmlsoap.org/soap/encoding/"/>
          </operation>
          <parameter name="allowedMethods" value="getFlights"/>
          <parameter name="scope" value="Session"/>
      </service>
    </deployment>

    I was getting this error running AdminClient from a ant task, but the got no error when I ran it from the commanr line. But I'm getting the same thing back from the actual service itself whrn I try and invoke it using stubs generated by the wsdl2java tool with the following code
        public String getFlightsFromWSService(String date) throws Exception {
         String REMOTE_ENDPOINT_URL = "http://localhost:7070/axis/services/flightservice";
         String namespace = "flightservice";
         String portName = "FlightInfoServiceIF";
         String servicename = "flightservice";
         //make a service
         FlightInfoServiceIFService service = new FlightInfoServiceIFServiceLocator();
         //get a stub to the service
         FlightInfoServiceIF flightSvc = service.getflightservice( new URL( REMOTE_ENDPOINT_URL ));
         //make a call
         return flightSvc.getFlights(date);
        }TCPMonitor gives me this pile of stuff
    HTTP/1.1 500 Internal Server Error
    Content-Type: text/html;charset=ISO-8859-1
    Content-Language: en-IE
    Date: Tue, 31 May 2005 22:43:12 GMT
    Server: Apache-Coyote/1.1
    Connection: close
    <html>
       <head>
          <title>Apache Tomcat/4.1.31 - Error report</title>
          <STYLE>
             <!--H1{font-family : sans-serif,Arial,Tahoma;color : white;background-color : #0086b2;}
    H3{font-family : sans-serif,Arial,Tahoma;color : white;background-color : #0086b2;}
    BODY{font-family : sans-serif,Arial,Tahoma;color : black;background-color : white;}
    B{color : white;background-color : #0086b2;} HR{color : #0086b2;} --></STYLE>
          </head>
          <body>
             <h1>HTTP Status 500 - </h1>
             <HR size="1" noshade="noshade">
                <p>
                   <b>type</b> Exception report
                </p>
                <p>
                   <b>message</b>
                   <u></u>
                </p>
                <p>
                   <b>description</b>
                   <u>The server encountered an internal error () that prevented it from
    fulfilling this request.</u>
                </p>
                <p>
                   <b>exception</b>
                   <pre>javax.servlet.ServletException: Servlet execution threw an exception
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
    (ApplicationFilterChain.java:222)     at org.apache.catalina.core.ApplicationFilterChain.doFilter
    (ApplicationFilterChain.java:146)     at  ...........lots more exceptions.........
                </p>
                <p>
                   <b>root cause</b>
                   <pre>java.lang.IncompatibleClassChangeError     at
    org.apache.axis.message.MessageElement.addTextNode
    (MessageElement.java:1387)
         at org.apache.axis.message.SOAPHandler.endElement
    (SOAPHandler.java:118)
         at org.apache.axis.encoding.DeserializationContext.endElement
    (DeserializationContext.java:1083)     at
    org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
         at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement
    (Unknown Source)     at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
    Dispatcher.dispatch(Unknown Source)
         at
    org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument
    (Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
         at javax.xml.parsers.SAXParser.parse(Unknown Source)
         at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:226)
         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:645)
    org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Thread.java:595)
    </pre>
                </p>
                <HR size="1" noshade="noshade">
                   <h3>Apache Tomcat/4.1.31</h3>
                </body>
             </html>

  • Exception occurred: java.lang.IncompatibleClassChangeError: Uninplemented i

    Hello all,
    I have a problem when I try to access AS400 with CrEme in my PDA.
    I have CrEme Evaluation Version V.4 in my Motorola MC55.
    For developing I have used Netbeans 6.7 with pJSCP V4.12 Emulator
    In addition, jars included are:
    jt400Micro.jar (for accesing AS400)
    symbolclases.jar (Symbol Mobility Developer Kit v1.4 for Java for scanning in the PDA)
    When I launch the application, It works fine, and I can scan with the PDA barcodes.
    But when I try to access to AS400, in the line -> com.ibm.as400.micro.JdbcMeDriver.getConnection(),
    Exception occurred: java.lang.IncompatibleClassChangeError: Uninplemented interface method
    It seems a problem with JDK but, that driver needs JDK 1.2 and CrEme V.4 support until JDK 1.3.
    Do you Know what problem can be?
    I hope your answers. Thanks in advance.

    an IncompatibleClassChangeError usually results when you have versioning problems in a serialized class. Usually the problem goes like this:
    You make a class, and make it serializable,
    You store the class persistently somewhere, or leave a process running with a serialized version of the class available,
    Then, you make a change to the class, and recompile the class.
    You try to de-serialize the first version of the class into the second version of the class.
    There are rules around what constitutes a compatible change to a serializable class, and what will break this. It is quite inflexible, that is why there are many caveats in the swing classes about not using Serializable for persistence (better to use xml in many cases).
    I recommend reading the serialization specification, particularly the part about versioning classes.
    Dave

  • Java.lang.NoClassDefFoundError:Couldnot initialize class com.sap.mw.jco.JCO

    Hi,
    I am having an issue with SAP adapter configuration. It throws below error in log files :
    java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'
    JCO.nativeInit(): Could not initialize dynamic link library sapjcorfc [no sapjcorfc in java.library.path]. java.library.path [opt/apps/Oracle/jdk160_14_R27.6.5-32/jre/lib/i386/client:/opt/apps/Oracle/jdk160_14_R27.6.5-32/jre/lib/i386:/opt/apps/Oracle/jdk160_14_R27.6.5-32/jre/../lib/i386:/opt/apps/Oracle/patch_wls1032/profiles/default/native:/opt/apps/Oracle/patch_jdev1111/profiles/default/native:/opt/apps/Oracle/jdk160_14_R27.6.5-32/jre/lib/i386/client:/opt/apps/Oracle/jdk160_14_R27.6.5-32/jre/lib/i386:/opt/apps/Oracle/jdk160_14_R27.6.5-32/jre/../lib/i386:/opt/apps/Oracle/patch_wls1032/profiles/default/native:/opt/apps/Oracle/patch_jdev1111/profiles/default/native:/opt/apps/Oracle/wlserver_10.3/server/native/linux/i686:/opt/apps/Oracle/wlserver_10.3/server/native/linux/i686/oci920_8:/opt/apps/Oracle/wlserver_10.3/server/native/linux/i686:/opt/apps/Oracle/wlserver_10.3/server/native/linux/i686/oci920_8:/opt/apps/Oracle/Oracle_SOA1/soa/thirdparty/edifecs/XEngine/bin:/opt/apps/Oracle/Oracle_SOA1/soa/thirdparty/edifecs/XEngine/bin]
    java.lang.NoClassDefFoundError: Could not initialize class com.sap.mw.jco.JCO
    Invoking SAP targets from bpel or iwafjca test servlet fails with "java.lang.NoClassDefFoundError: Could not initialize class com.sap.mw.jco.JCO."
    I am able to connect from Application Explorer(AE) and browse through idocs and bapis. I tried to check the class loading pattern for AE using Jconsole :
    1. Started the AE
    2. /opt/apps/Oracle/jdk1.6.0_19/bin/jps
    15279 BseFlashScreen
    3. /opt/apps/Oracle/jdk1.6.0_19/bin/jconsole 15279
    Enabled verbose output on class loading page and connected to SAP target from AE
    4. The verbose output shows below :
    Loaded com.sap.mw.jco.JCO from file:/opt/apps/Oracle/Oracle_SOA1/soa/thirdparty/ApplicationAdapters/lib/sapjco.jar
    I have added the above path to my LD_LIBRARY_PATH
    LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WL_HOME}/server/native/linux/${arch}:${MW_HOME}/Oracle_SOA1/soa/thirdparty/ApplicationAdapters/lib:${MW_HOME}/user_projects/domains/base_domain/lib:${WL_HOME}/server/native/linux/${arch}/oci920_8
    I also added the path to WEBLOGIC_CLASSPATH in commEnv.sh file.
    The sapjco.jar, libsapjcorfc.so and librfccm.so files are also available under below directories
    WL_HOME/server/lib
    MW_HOME/Oracle_SOA1/soa/thirdparty/ApplicationAdapters/lib
    MW_HOME/user_projects/domains/base_domain/lib
    Any suggestions will be really helpful.
    Regards
    Subhankar

    Hi Manoj,
    I have added the libsapjcorfc.so and librfccm.so files to below locations:
    WL_HOME/server/lib
    MW_HOME/Oracle_SOA1/soa/thirdparty/ApplicationAdapters/lib
    MW_HOME/user_projects/domains/base_domain/lib
    And also set the LD_LIBRARY_PATH and WEBLOGIC_CLASSPATH in commEnv.sh file.
    Eg:
    LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WL_HOME}/server/native/linux/${arch}:${MW_HOME}/Oracle_SOA1/soa/thirdparty/ApplicationAdapters/lib:${MW_HOME}/user_projects/domains/base_domain/lib:${WL_HOME}/server/native/linux/${arch}/oci920_8
    Is there any other location where these need to be added ? I hope library path/system path refers to the WEBLOGIC_CLASSPATH ?
    Regards
    Subhankar

  • Java.lang.ExceptionInInitializerError - while using a third party tool

    Hi All,
    I am trying to include truezip into my application. but I get the following stack trace.
    When I tried using the truezip in a standalone java class it orked but I am unable to make it work with appserver.
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:830)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:763)
         org.apache.jsp.TestDes_jsp._jspService(TestDes_jsp.java:75)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
    root cause
    java.lang.ExceptionInInitializerError
         de.schlichtherle.io.File.init(File.java:818)
         de.schlichtherle.io.File.(File.java:471)
         de.schlichtherle.io.File.(File.java:452)
         org.apache.jsp.TestDes_jsp._jspService(TestDes_jsp.java:63)
    note The full stack trace of the root cause is available in the Sun-Java-System/Application-Server logs.If I refresh the jsp page it shows the foloowing error
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:830)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:763)
         org.apache.jsp.TestDes_jsp._jspService(TestDes_jsp.java:75)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
    root cause
    java.lang.NoClassDefFoundError
         de.schlichtherle.io.File.init(File.java:818)
         de.schlichtherle.io.File.(File.java:471)
         de.schlichtherle.io.File.(File.java:452)
         org.apache.jsp.TestDes_jsp._jspService(TestDes_jsp.java:63)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
    note The full stack trace of the root cause is available in the Sun-Java-System/Application-Server logs.
    --------------------------------------------------------------------------------Can anyone help me on this please
    Thanks,
    R.Ramesh.

    Hi Balusc,
    here is the full stack trace
    java.lang.ExceptionInInitializerError
         at de.schlichtherle.io.File.init(File.java:830)
         at de.schlichtherle.io.File.<init>(File.java:479)
         at de.schlichtherle.io.File.<init>(File.java:458)
         at org.apache.jsp.TestDes_jsp._jspService(TestDes_jsp.java:63)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:297)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:247)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         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.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:189)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doProcess(ProcessorTask.java:604)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:475)
         at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:371)
         at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:264)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:281)
         at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:83)
    Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission shutdownHooks)
         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
         at java.security.AccessController.checkPermission(AccessController.java:427)
         at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
         at java.lang.Runtime.addShutdownHook(Runtime.java:188)
         at de.schlichtherle.io.ArchiveControllers.<clinit>(ArchiveControllers.java:67)
         ... 41 moreafter which if I refresh my jsp page I get the foloowing stack trace as in my next post

  • Java.lang.NullPointerException while using PGP module in SFTP receiver

    Hi Experts,
    We are trying out newly installed PGP module on SAP PI 711 SP10.
    Scenario     : SFTP to SFTP
    While we are trying to encrypt the message in the SFTP receiver, we get the following error.
    nested exception is: javax.ejb.EJBException: (Failed in component: sap.com/com.sap.aii.af.app, BC-XI-CON-AFW) Exception raised from invocation of public com.sap.aii.af.lib.mp.module.ModuleData com.sap.aii.af.app.endpoint.ModuleProcessorExitBean.process(com.sap.aii.af.lib.mp.module.ModuleContext,com.sap.aii.af.lib.mp.module.ModuleData) throws com.sap.aii.af.lib.mp.module.ModuleException method on bean instance com.sap.aii.af.app.endpoint.ModuleProcessorExitBean@6437822b for bean sap.com/com.sap.aii.af.app*xml|com.sap.aii.af.ejb.jar*xml|ModuleProcessorExitBean in application sap.com/com.sap.aii.af.app.; nested exception is: java.lang.NullPointerException: while trying to invoke the method com.sap.engine.interfaces.messaging.api.Message.getMessageKey() of an object loaded from local variable 'msMessage'

    Thanks Hareesh,
    ya that  "callsapadapter"  was the culprit. It comes by itself, Once I removed that PGP was working fine.

  • Java.lang.InstantiationException when using Action class with constructor

    Hi everyone,
    I'm using the insertNewNode() method from this class in another action class, which works fine. But when this action itself is called, I get an infinite java.lang.InstantiationException (until the stack is overflowed). I'm initiating the fields required in every method in a constructor. If there is no constructor, this action works fine again. What's wrong?
    public class GliederungNewAction implements Action {
         private final String DEFAULT_DESCRIPTION = "Neuer Punkt";
         private OracleConnection connection;
         private String username;
         private String catalogue;
         private String attribute;
         private String parent_attr;
         private int parent_sequenceNr;
         private int requiredSequenceNumber;
         public GliederungNewAction(OracleConnection connection, String username, String catalogue) {
              this.connection = connection;
              this.username = username;
              this.catalogue = catalogue;
         public String perform(ActionMapping mapping, HttpServletRequest request,
                   HttpServletResponse response) {
              HttpSession session = request.getSession();
              // fetch the necessary parameters from the JSP site
              // the parent attribute is the selected attribute!
              parent_attr = request.getParameter("attr");
              catalogue = request.getParameter("catalogue");
              parent_sequenceNr = Integer.parseInt(request.getParameter("sort_sequence"));
              username = session.getAttribute("username").toString().toUpperCase();
              // connect to database    
              db.SessionConnection sessConn = (db.SessionConnection) session.getAttribute("connection");
              if (sessConn != null) {
                   try {
                        sessConn.setAutoCommit(false);
                        connection = (OracleConnection)sessConn.getConnection();
                        // insert the new node into DB
                        insertNewNode(DEFAULT_DESCRIPTION, parent_attr, parent_sequenceNr);               
                        connection.commit();
                        // set attributes for JSP post-action operations
                        request.setAttribute("attr", attribute);
                        request.setAttribute("parent_attr", parent_attr);
                   } catch(SQLException ex) {
                        if ( ex.getErrorCode() == 20001 ) {
                             return "error_edit.do";
                        } else { // for all other error codes, rollback and return general error page
                             try {
                                  connection.rollback();
                                  ex.printStackTrace();
                                  return "error_general.do";
                             } catch (SQLException e) {
                                  System.err.println("Rollback failed!");
                                  e.printStackTrace();
                                  return "error_general.do";
                             } // end of catch     
                        } // end of else
                   } // end of catch
              return mapping.getForward();
            // sample method
          * Creates, fills and executes a prepared statement to insert a new entry into the specified table, representing
          * a new node in the catalogue.
          * @param parent_attr TODO
          * @param parent_sequenceNr TODO
          * @throws SQLException
         public void insertNewNode(String description, String parent_attr, int parent_sequenceNr) throws SQLException {
                   requiredSequenceNumber = getRequiredSequenceNumber(parent_attr, parent_sequenceNr);
                   int freeSequenceNumber = getFreeSequenceNumber(requiredSequenceNumber);
                   int lastPosition = getLastNodePosition( getLastChildAttribute(parent_attr) );
                   attribute = createNewNodeAttribute(parent_attr, lastPosition);
                   String callAddNode = "{ call package.addNode(:1, :2, :3, :4, :5, :6, :7) }";
                   CallableStatement cst;
                   cst = connection.prepareCall(callAddNode);
                   cst.setString(1, username );
                   cst.setString(2, catalogue);
                   cst.setString(3, attribute);
                   cst.setString(4, parent_attr);
                   cst.setString(5, description);
                   cst.setInt(6, requiredSequenceNumber);
                   cst.setInt(7, freeSequenceNumber);
                   cst.execute();
                   cst.close();
    java.lang.InstantiationException: action.GliederungNewAction
         at java.lang.Class.newInstance0(Unknown Source)
         at java.lang.Class.newInstance(Unknown Source)
         at action.ActionMapping.perform(ActionMapping.java:54)
         at ControllerServlet.doResponse(ControllerServlet.java:92)
         at ControllerServlet.doPost(ControllerServlet.java:50)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:431)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:355)
         at ControllerServlet.doResponse(ControllerServlet.java:103)
         at ControllerServlet.doPost(ControllerServlet.java:50)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         .......

    You're welcome.
    Still, I would report this as a bug at the Struts mailinglist/issuetracker. This silly behaviour shouldn't happen. Once an InstantiationException, okay, but in an infinite loop?!? That's definately a bug. Also the detail message may be more informative, e.g. "No default constructor found" or so.

  • Java.lang.UnsupportedClassVersionError while using java mail api

    Hi Everybody ,
    I am new comer to this forum , and would like to be an active member.
    I am getting this error while trying to use the java mail api to send an email using smtp.
    The error is as follows :
    Exception in thread "main" java.lang.UnsupportedClassVersionError: javax/mail/Message (Unsupported major.minor version 48.0)
    Can Anyone please tell where I am wrong.
    I am using the following code
    ==============================================================
    Properties props = new Properties();
    props.put("mail.smtp.host", "smtp.abc.com");
    // create some properties and get the default Session
    Session session = Session.getDefaultInstance(props, null);
    session.setDebug(debug);
    // create a message
    Message msg = new MimeMessage(session);
    // set the from and to address
    InternetAddress addressFrom = new InternetAddress(from);
    msg.setFrom(addressFrom);
    InternetAddress[] addressTo = new InternetAddress[recipients.length];
    for (int i = 0; i < recipients.length; i++)
    addressTo[i] = new InternetAddress(recipients);
    msg.setRecipients(Message.RecipientType.TO, addressTo);
    // Optional : You can also set your custom headers in the Email if you Want
    msg.addHeader("MyHeaderName", "myHeaderValue");
    // Setting the Subject and Content Type
    msg.setSubject(subject);
    msg.setContent(message, "text/plain");
    Transport.send(msg);
    ==============================================================

    Hi Philip ,
    Thanks for the prompt reply , I had installed oracle client services which overid my jdk1.4 installation with jdk1.3 and hence the error. I changed my classpath settings to point to jdk1.4 and it owrked properly.
    Thanks once again.
    regards,
    Rupesh Rajan

  • JAVA.LANG.NULLPOINTEREXCEPTION WHILE USING GETCLIENTINFO JAVABEAN IN FORM

    We are using GetClientInfo JavaBean in Oracle 6i Form registered in Oracle Applications. Earlier, when we used Jinitiator, the Form used to open properly. Recently we started using Java Plug-in 1.6.0_12 (JRE version 1.6.0_12 Java HotSpot(TM) Client VM), we get following errors and then entire application closes.
    java.lang.NullPointerException
         at oracle.forms.ui.VBean.isFocusTraversable(Unknown Source)
         at java.awt.Component.isFocusable(Unknown Source)
         at java.awt.Component.isRequestFocusAccepted(Unknown So

    Get Client Information
    http://www.oracle.com/technology/sample_code/products/forms/6idemos.html
    java.lang.NullPointerException
         at oracle.forms.ui.VBean.isFocusTraversable(Unknown Source)
         at java.awt.Component.isFocusable(Unknown Source)
         at java.awt.Component.isRequestFocusAccepted(Unknown Source)
         at java.awt.Component.requestFocusHelper(Unknown Source)
         at java.awt.Component.requestFocusHelper(Unknown Source)
         at java.awt.Component.requestFocus(Unknown Source)
         at oracle.forms.handler.UICommon.updateFocus(Unknown Source)
         at oracle.forms.handler.UICommon.setFVP(Unknown Source)
         at oracle.forms.handler.UICommon.setFVP(Unknown Source)
         at oracle.forms.handler.UICommon.onUpdate(Unknown Source)
         at oracle.forms.handler.ComponentItem.onUpdate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onUpdate(Unknown Source)
         at oracle.forms.handler.UICommon.onUpdate(Unknown Source)
         at oracle.forms.engine.Runform.onUpdateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.sendDeferredMessages(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
         at oracle.forms.engine.Runform.startRunform(Unknown Source)
         at oracle.forms.engine.Main.createRunform(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)

  • Java.lang.NullPointerException when using DataSource connection and executing CallableStatement

    Hi Guys
    I am having some problem as I am using a DataSource for connections and randomly
    the CallableStatements and PreparedStatements created from this DataSource becomes
    null and everytime I get NullPointerException with this message.
    java.sql.SQLException: java.lang.NullPointerException
         at weblogic.jdbc.rmi.SerialPreparedStatement.setString(SerialPreparedStatement.java:210)
         at .........
    Help will be appreciated..

    Hi Guys
    I am having some problem as I am using a DataSource for connections and randomly
    the CallableStatements and PreparedStatements created from this DataSource becomes
    null and everytime I get NullPointerException with this message.
    java.sql.SQLException: java.lang.NullPointerException
         at weblogic.jdbc.rmi.SerialPreparedStatement.setString(SerialPreparedStatement.java:210)
         at .........
    Help will be appreciated..

  • "java.lang.NullPointerException" when use doFinal(byte[])

    My code here:
    KeyFactory kf = null;
    Cipher cipher = null;
    PrivateKey pk = null;
    byte[] symKey = null;
    try {
    Security.addProvider(new BouncyCastleProvider());
    catch (Exception e) {
    System.err.println("Error loading security provider (" +
    e.getMessage() + ")");
    try {
    kf = KeyFactory.getInstance("RSA");
    catch (NoSuchAlgorithmException ex1) {
    try {
    pk = kf.generatePrivate(priServer);
    catch (InvalidKeySpecException ex3) {
    try {
    cipher = Cipher.getInstance("RSA");
    catch (NoSuchAlgorithmException ex2) {
    catch (NoSuchPaddingException ex2) {
    try {
    cipher.init(Cipher.DECRYPT_MODE, pk);
    catch (InvalidKeyException ex4) {
    try {
    symKey = cipher.doFinal(CEK); //get encode of symmetric key
    when CEK is byte[].
    I got exception :
    java.lang.NullPointerException
         at java.math.BigInteger.remainder(BigInteger.java:1239)
         at org.bouncycastle.crypto.engines.RSAEngine.processBlock(RSAEngine.java:133)
         at org.bouncycastle.jce.provider.JCERSACipher.engineDoFinal(JCERSACipher.java:288)
    where my code wrong? Please help me!
    Note : I use bouncycastle provider.
    Thanks

    bla bla bla
    kf = KeyFactory.getInstance("RSA");
    pk = kf.generatePrivate(priServer);
    cipher = Cipher.getInstance("RSA");
    cipher.init(Cipher.DECRYPT_MODE, pk);IMHO RSA is 2-keys algorithm => you cannot use it in cipher class
    If u need encrypt use PBE for example
    PBEKeySpec pbeKeySpec;
    PBEParameterSpec pbeParamSpec;
    SecretKeyFactory keyFac;
    // Salt
    byte[] salt = ...;
    // Iteration count
    int count = 20;
    // Create PBE parameter set
    pbeParamSpec = new PBEParameterSpec(salt, count);
    // Prompt user for encryption password.
    pbeKeySpec = new PBEKeySpec(pass); //String with
    keyFac = SecretKeyFactory.getInstance("PBEWithMD5AndDES");
    SecretKey pbeKey = keyFac.generateSecret(pbeKeySpec);
    // Create PBE Cipher
    Cipher pbeCipher = Cipher.getInstance("PBEWithMD5AndDES");
    // Initialize PBE Cipher with key and parameters
    pbeCipher.init(Cipher.ENCRYPT_MODE, pbeKey, pbeParamSpec);
    // Our cleartext
    byte[] cleartext = "This is another example".getBytes();
    // Encrypt the cleartext
    byte[] ciphertext = pbeCipher.doFinal(cleartext);

  • Java.lang.VerifyError when using ant 1.6.2

    In short, I get the VerifyError when deploying my .ear in Weblogic 8.1 SP2. I have nailed down the issue to this:
    I compile all my code using Ant 1.6.2. If I package the code up using ant 1.6.2 I get the VerifyError. If I pacakge the code up using ant 1.4, all is well. Note that when I deploy the 1.6.2 packaged ear file on Windows, all is well also.
    During the ant package target I assembly the war and ear using the core war and ear tasks.
    We are using precompiled JSPs in the war file. It seems that WL8.1 wants to recompile the JSP file. I am not sure why - the ant 1.4 packaged ear does not want to recompile the same JSP.
    The detailed error is:
    Servlet class jsp_servlet._portal.__capitalmarketsoverview for servlet /portal/CapitalMarketsOverview.jsp could not be verified.
    java.lang.VerifyError: (class: jsp_servlet/_portal/__capitalmarketsoverview, method: _jspService signature: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V) Incompatible object argument for function call.>
    Any help is appreciated,
    Harry Duin

    Hello,
    I could not find an easy way to get the wls version of ant to start using the tasks you mention from ant 1.6.2.
    I tried defining the tasks using taskdef and also adding them to wls ant.jar and updating the deafult.properties file but the ant complained about unexpected elements in the build.xml file where I added the new tags (e.g import)
    If your really up against it you can try adding wls tasks to ant 1.6.2, they are listed here:
    http://e-docs.bea.com/wls/docs81/toolstable/ToolsTable.html#1009580
    Although I could not located exactly which jar they are in. Good luck.
    Cheers
    Hussein Badakhchani
    www.orbism.com

  • Java.lang.NoSuchMethodError: getSocket using JavaMail inside JBoss

    Hi,
    i built a library to easily send emails with JavaMail, via SMTP. When i use my lib in a stand-alone java application, it works fine, but when i need to use it inside my web application, deployed on JBoss AS, i get the following error:
    Servlet.service() for servlet action threw exception
    java.lang.NoSuchMethodError: getSocket
         at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1250)
         at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
         at javax.mail.Service.connect(Service.java:233)
         at it.compit.mail.helper.send.SMTPSender.send(SMTPSender.java:39) where it.compit.mail.helper.send.SMTPSender.send is the method i use to send email in my lib. SMTPSender.java at line 39 is
    SMTPTransport tr = (SMTPTransport) session.getTransport("smtp"); I don't want to use SessionBean to send email from JBoss AS. I did not include mail.jar in server/default/lib dir because JBoss has got a built-in implementation of JavaMail. Using javamail debugging, i've noticed that javamail inside my JBoss is "JavaMail version 1.3.1", while i used version 1.4ea to build my lib.
    So, any ideas to solve my problem?
    Thanks in advance.
    Elisa Distefano a.k.a Etha

    Hi bshannon,
    i looked for other javamail libs in my JBoss dir: found nothing but the only mail.jar located in server/default/lib/ (provided by default installation). I tried to specify the classpath into mail-service.xml without success.
    I also noticed that when JBoss starts, logs print "DEBUG: JavaMail version 1.3.1 " while the MANIFEST.MF inside my mail.jar contains "Implementation-Version: 1.4".
    My JBoss version is 4.0.4 GA. Any idea?!?

  • Java.lang.ClassFormatError: _Basic using JSF in Jdeveloper10gv12

    Can someone give me why I get the following error : I've included the Class, JSP and daces-config code
    Thank
    Abi
    500 Internal Server Error
    OracleJSP:
    JSP Error:
    Request URI:/Application1-Project1-context-root/Basic.jsp
    Exception:
    java.lang.ClassFormatError: _Basic
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java)
         at com.evermind.util.OC4JSecureClassLoader.defineClassEntry(OC4JSecureClassLoader.java:172)
         at oracle.jsp.runtimev2.JspClassLoader.loadClass(JspClassLoader.java:744)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
         at oracle.jsp.runtimev2.JspPageInfo.getInstFacade(JspPageInfo.java:169)
         at oracle.jsp.runtimev2.JspPageTable.getInstFacade(JspPageTable.java:473)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         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.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
         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.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:220)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
         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 Class
    package mypackage.backing;
    import com.sun.faces.taglib.jsf_core.SelectItemsTag;
    import java.util.*;
    import javax.faces.model.SelectItem;
    import javax.faces.model.*;
    import mypackage.backing.Scholarship;
    import java.text.SimpleDateFormat;
    import java.util.ArrayList;
    public class Basic
    private SelectItem[] basicdays = new SelectItem[]{
    new SelectItem(" "),
    new SelectItem("Basic Information"),
    new SelectItem("Calculate Project"),
    new SelectItem("Change Ownership"),
    new SelectItem("Configure Project - Facility Category Group"),
    new SelectItem("Worksheets")
    private String basicday = "";
    public Basic()
    System.out.println("Class BASIC " );
    public SelectItem[] getBasicdays() {
    return basicdays;
    public void setBasicdays(SelectItem[] days) {
    this.basicdays = days;
    public String getBasicday() {
    return basicday;
    public void setBasicday(String day) {
    this.basicday = day;
    JSP Code
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
    <f:view>
    <h:outputText value="Hello"></h:outputText>
    <h:panelGrid columns="2"
    rowClasses="centered" footerClass="centered" border="1">
    <h:outputText value="Days List"></h:outputText>
    <h:selectOneMenu id="days" value="#(backing_basic.basicday)">
    <f:selectItems value="#{backing_basic.basicdays}"/>
    </h:selectOneMenu >
    </h:panelGrid>
    </f:view>
    Faces config
    <managed-bean>
    <managed-bean-name>backing_basic</managed-bean-name>
    <managed-bean-class>mypackage.backing.Basic</managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>
    <navigation-rule>
    <from-view-id>/basic.jsp</from-view-id>
    <navigation-case>
    <from-outcome>nextpage</from-outcome>
    <to-view-id>/finish.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    </faces-config>

    I tested this code(copy-paste) in Orion and Tomcat and it works fine. I guess that this is not the full code you are executing since I see not used imports, the jsp without the <h:form> tag and a navigation rule that will never take place. Anyway try to deploy this to Tomcat or another AS to check if it running properly. I have seen ADF application running correct on Tomcat and not on Orion.

Maybe you are looking for

  • Conky "if connected to the Internetz"

    the following conky is originaly from: http://blog.pakos.biz/desktopowe-zmiany/ http://dl.pakos.biz/files/conkyrc >>> Click here to see image #Pakos | ja(at)pakos.biz | http://pakos.biz # Use Xft? use_xft yes xftfont SonyEricssonLogo:size=8:bold # Up

  • Creating invoice through bapi

    Hi experts, I am creating invoice by using BAPI_INCOMINGINVOICE_CREATE. this is for Invoice with Planned Delivery Costs. Here i am giving the following data. header data INVOICE_IND = x DOC_TYPE = kr doc_date post-date reff-doc-no = 3006828 comp-code

  • Can you do this???

    I have a SELECT statement that needs a SUM action. However, do get the correct SUM, I have to do a sub-query inside of the SUM statement. Is this possible? I am somewhat a novice to oracle/sql, so any help would be appreciated.Thanks

  • Thin driver for SQL server 2000

    Hi, Is there a thin driver for SQL server 2000? If so where can i find it? I searched the net but in vain. thanx in advance Partha

  • Report Painter Long Text Display and fiscal year

    Hi Gurus' Could you pls let me know, how do I get Long text in the report.  Usually we get medium text. And in the selection screen if i have like: Company code Fiscal year Period How do I get the text along with the Fiscal year. Like Revenue 2008 Re