Need java file: javax.resource.cci.ConnectionSpec

Hi,
My application is showing classpath error:
The project was not built since its classpath is incomplete. Cannot find the class file for javax.resource.cci.ConnectionSpec. Fix the classpath then try rebuilding this project.     
This compilation unit indirectly references the missing type javax.resource.cci.ConnectionSpec (typically some required class file is referencing a type outside the classpath)     MDMFetcherView.java     MDMFetcher/gen_wdp/packages/com/burberry/appl/mdmfetcher     line 0
Could you please let me know what is the problem here?

Devashish,
<i>I have added all the required references</i>
Exactly what references did you add?
By references I mean either of the following:
1. Class-path reference (Required Library) if you are using non-DC project
2. Public part reference (Used Public Part) if you are in DC project.
Also it might be required to add run-time references to interface / library (see properties of WD project).
VS

Similar Messages

  • Error in javax.resource.cci.Connection during Compilation

    Hi,
    I am using NW 04 to write a par for my EP.
    But I encountered the following error at the line
    package com.sap.nwrig.demo;
    The error is as shown :
    This compilation unit indirectly references the missing type javax.resource.cci.connection (typically some required class file is referencing a type outside the classpath)
    Do hope anyone could help.
    Thanks.
    Regards,
    Mike Lee

    Hi Mike,
    I guess you need to add the JCA library that contains the javax.resource.cci.Connection class to the classpath of your project. Here's how to do it (assuming you're using the NetWeaver Developer Studio):
    1. Right click on your project and choose Properties.
    2. Choose Java Build Path from the lefthand side tree, and then choose the Libraries tab on the right.
    3. Click on the Add External JARs button and browse to the following directory: <NW_Dev_Studio_inst_dir>\eclipse\plugins\com.tssap.ext.libs.j2ee_1.3\lib
    4. Select connector.jar and choose Open.
    This adds the library and now the referenced type should be resolved.
    Regards,
    Ivo

  • Javax.resource.cci interface

              Hi.
              I´m getting a bit frustrated by now. My contact at BEA wont answer my questiona...
              I am (still) trying to get my adapter to work on WL 6.1 SP1-2.
              The adapter I´m using (trying anyway) implements the javax.resource.cci interface.
              BUT, when I´m trying to reference it (the adapter) from an EJB in the ejb-jar.xml
              descriptor, I get an error message from ejbc.
              When I try to edit the descriptor from within the Admin Console, the interface
              is not available in the dropdown menu.
              So, the question I have to ask: Does WL 6.1 support the cci-interface?
              This is it, if I can´t work it out by Friday I will have to tell our customer
              that WebLogic is not the way to go. I´d hate to do that...
              regards,
              Oskar
              

              Hi Timothy.
              Thanks for answering.
              When referencing an adapter from an EJB, you are supposed to make that reference
              in ejb-jar.xml (attached). But the resource type <res-type> that is supposed to
              be used is javax.resource.cci.ConnectionFactory.
              However if you try to set that resource type in the Admin Console, that option
              is not available. It is not present in the drop-down box.
              The same thing goes for ejbc. When I try to compile with ejbc I get the following
              error:
              ejbc:
              [java] ERROR: Error processing 'ejb-jar.xml': .ejb-jar.enterprise-beans.session.resource-ref.res-type.
              must be one of the values: javax.sql.DataSource,javax.jms.QueueConnectionFactory,javax.jms.TopicConnectionFactory,java.net.URL,javax.mail.Session
              [java] ERROR: ejbc found errors
              Which seems like the same thing.
              I would much appreciate any help, my time is running out.
              Thanks
              Oskar
              "Timothy Potter" <[email protected]> wrote:
              >Dear Oskar,
              >
              >I'm sorry to hear that you are not getting the support you need. An
              >application server doesn't actually care about your client interface,
              >so yes
              >WebLogic does support CCI so to speak. The application server only cares
              >about your adapter's SPI. What is the specific error message from ejbc?
              >Also, can you attach your ejb-jar.xml file so that I can see what interface
              >you are referencing?
              >
              >Best regards,
              >
              >Timothy Potter
              >Senior Software Engineer
              >eCommerce Server Division
              >BEA Systems, Inc.
              >
              

  • Eclipse Error : javax.resource.cci.connection not found

    Hi,
      I am new to Eclipse development. I downloaded a Sap connector PAR project from sdn and imported it in Eclipse then i showed lots of error with portal.HTMLB, portal.connector and javax.resource.cci.connection.
      I want to know where can i find the JAR file for this import? or how to resolve this problem?
    Thank you
    arun

    Thanks Carlton and Jain,
      I searched for the JAR files in the EP60 Installation directory usr\EP60,
    .../additional-lib/connector.jar
    .../additional-lib/com/sapportals/connectorframework/framework/GenericConnector.jar
    .../additional-lib/com/sapportals/connectorframework/framework/ConnectorHelper.jar
    .../additional-lib/jta.jar
    .../portalapps/com.sap.portal.ivs.connectorservice/lib/com.sap.portal.ivs.connectorserviceapi.jar
    I could find the names in the path specified by you but they are all ZIP files. When i Unzip them i could only find .class files inside them not the JAR files.
    I resolved all the problems except Javax.cci import error.
    If you have any idea where to find them it would help me  a lot?
    Thank you
    arun

  • Missing type javax.resource.cci.connection

    Hi,
    I'm would like to use JCA framwork, but I guess I should have appropriate connection class.
    the missing class type is javax.resource.cci.connection
    Where can I find/download this class jar file?
    Any help would be appriciated
    Thanks
    Ami

    The error I get that prevent me from compiling the projects is:
    This compilation unit indirectly references the missing type javax.resource.cci.Connection (typically some required class file is referencing a type outside the classpath)
    any idea of what should I do?
    Thanks
    Ami

  • Curl in java (needs Java files in JCurl_code)?

    HI,
    I am new to java,So I hav used curl functions in php.But in java I hav to use same curl function to connect URL thru java pgm.So I hav i Got JCurl .But i dont have Curl java files & Curl Glue etc.For installing curl in java any dll files must be loaded...? So can u help me out. Iam in Hectic .So just can u send links regardings this class files.please I eil be waiting for reply........
    JCurl_code provides API.But I need java files of Curl.
    Thanx In advance.

    Hello,
    I need to to execute java pgm from which i need open the url which i have mentioned in pgm.But i have got JCurl_code in which only API 's is there.But I need to get source files Curl.java Curl_Glue.java,etc. And I wil use this curl for parsing purpose. Just I need java files.
    package org.curl;
    public class curl_java
    public static void main(String args[])
              try
                   //System.loadLibrary("javacurl");
                   String url = "http://www.yahoo.com";
                   CURL c = new CURL();
                   CurlGlue cg = new CurlGlue();
                   cg.setopt(c.OPT_URL,url);
                   int result = cg.perform();
                   cg.finalize();
                   System.out.println("result:"+result);
              catch(Exception e)
              System.out.println("Exception:"+e);
         Here is the link of curl _ java package : http://sourceforge.net/projects/javacurl . So I am need of Java files
    I am in trouble. So plz help me out
    prashu.dr

  • EIS / javax.resource.cci.Interaction

    I am trying to resolve a problem with a program written several years ago. I have narrow down the code below that is suppose to retrieve data from a database and store the values in the MappedRecord. The problem I am running into is that several of the fields are date fields and the values are being decremented by one day. This started happening several months ago. This program is running on WAS 6.1.0.25 using Java SDK 1.5 SR9 Cumulative Fix for WebSphere Application Server.
    MappedRecord mrGetPropsInput = recordFactory.createMappedRecord("DocumentPropertiesRequest");
    mrGetPropsInput.put("doc_id", new Long(strDocID));
    mrGetPropsInput.put("is_lock_desired", new Boolean(true));
    MappedRecord mrGetPropsResult = (MappedRecord)interaction.execute(iSpec, mrGetPropsInput);All help and suggestions would be greatly appreciated.

    I am trying to resolve a problem with a program written several years ago. I have narrow down the code below that is suppose to retrieve data from a database and store the values in the MappedRecord. The problem I am running into is that several of the fields are date fields and the values are being decremented by one day. This started happening several months ago. This program is running on WAS 6.1.0.25 using Java SDK 1.5 SR9 Cumulative Fix for WebSphere Application Server.
    MappedRecord mrGetPropsInput = recordFactory.createMappedRecord("DocumentPropertiesRequest");
    mrGetPropsInput.put("doc_id", new Long(strDocID));
    mrGetPropsInput.put("is_lock_desired", new Boolean(true));
    MappedRecord mrGetPropsResult = (MappedRecord)interaction.execute(iSpec, mrGetPropsInput);All help and suggestions would be greatly appreciated.

  • How do you convert a jar file into a java file,  ?

    how do you convert a jar file into a java file ?
    I am new to Java ,but have a little experience in C++ and Visual Basic.
    I want to edit and maybe create my own mobile games that are written or converted into jar files.
    At the moment I am using Java NetBeans , and Easy Java( the java pad).
    However the only solution I tried was to open the JAR file in winrar and see that its made up of png picture files,
    midi music files and class files. Unfortunately when I uncompressed the JAR file , there was NO java file to be seen and the JAVA editors Do not show the class file like a Java file. So why is there no extension Java file in the mobile JAR game ?

    801283 wrote:
    how do you convert a jar file into a java file ?You generally don't. There exist decompilers, but if you're meant to have the source, you should either have it because you are the author, or you should be able to get it from the author.
    I am new to Java ,but have a little experience in C++ and Visual Basic.Does that experience include turning .exe files into C++ code? Because that's the equivalent of what you're asking
    I want to edit and maybe create my own mobile games that are written or converted into jar files.Eh?
    Are you saying you want to take existing games and modify them? If the creators allow you to modify their source, then they'll provide you with that source (the .java files). If you're allowed to add things but not modify, you don't need .java files. Just documentation, which, again, the creators should be providing.
    Or are you saying you want to create your own games and distribute them in jar files? If so, there's no need to turn jars into .java.
    However the only solution I tried was to open the JAR file in winrar and see that its made up of png picture files,
    midi music files and class files. Unfortunately when I uncompressed the JAR file , there was NO java file to be seen and the JAVA editors Do not show the class file like a Java file. So why is there no extension Java file in the mobile JAR game ?Why would you expect there to be one?

  • Error in resource adapter cleanup.. javax.resource.ResourceException: java.

    Hi,
    I am getting the following error in my Oracle AS 10g R3 on Solaris .
    Error in resource adapter cleanup.. javax.resource.ResourceException: java.sql.SQLException: Closed Connection
    in log file:apps/oracle/oc4j_home/j2ee/homeMYAPP/log/homeMYAPP_default_group_1/oc4j/log.xml
    (Click on the log file link to download the log or view it as plain text)
    Can any one explain why this error comes.
    Regards,
    Kumar

    Hi,
    I am getting the following error in my Oracle AS 10g R3 on Solaris .
    Error in resource adapter cleanup.. javax.resource.ResourceException: java.sql.SQLException: Closed Connection
    in log file:apps/oracle/oc4j_home/j2ee/homeMYAPP/log/homeMYAPP_default_group_1/oc4j/log.xml
    (Click on the log file link to download the log or view it as plain text)
    Can any one explain why this error comes.
    Regards,
    Kumar

  • OIC: Need to find the Source Code for the YTDSummary.java file

    Hi All,
    We have 11.5.10 implemention and we are using the OIC(Incentive Compensation) Application. In the Report Module for the Year-To-Date Summary we need look for the Java Source Code.The cnytdsum.jsp file call the YTDSummary.java file. We have teh following question
    1. How we can get the Java Source Code and where and which directory we need to look into?
    2. Let say if we need to customize the java file how we can do that?
    3. where and which directory we have to complie the java file?
    Highly appreciate for any pointers
    Thanks,
    Johnson.

    But those must be platform dependant, not really that
    interesting to look at. I have never felt any need to
    look at those at least.Wake up and smell the coffee, abbie! I read the source code all the time and constantly tell my students to do that, too.
    1. Java source code is not platform dependent. The original poster wanted to look at linked list code, how could that be platform dependent?
    2. It is the implementation of the SDK APIs, so by definition it is implementation dependent code, liable to change in a later version. So don't assume anything beyond what is claimed in the API documentation. However, sometimes the documentation is incomplete or ambiguous to you, and reading the source can provide some insight, however implementation dependent. (Light a candle or curse the darkness.)
    3. Why read source code? It's a good way to learn how to program. You see something in the API and ask: how'd they do that? Or you realize you want to do something broadly similar, but you can't reuse the source code.
    For example, Images are not Serializable, but suppose you want a small image that is part of an object to be serialized with the rest of the object without too much fuss (ie, without using javax.imageio). You notice ImageIcon is serializable, so you use it. (An ImageIcon has-an Image.) Then you wonder: how'd they do that? You read the source and then you know.
    You live, you learn,
    Nax

  • File /javax/servlet/resources/web-app_2_3.dtd not found

    Hi,
    I hope anybody can help me. When I start my application from the sun studio creator i get this error on the display in the internet explorer.
    "File /javax/servlet/resources/web-app_2_3.dtd not found"
    I tried to create a new project, but the same error stopped me.
    Please help me as soon as possible
    Thanks,
    Chris

    [#|2004-11-30T11:04:29.508+0100|SCHWERWIEGEND|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=12;|ApplicationDispatcher[/webcash70] Servlet.service() for servlet jsp threw exception
    org.xml.sax.SAXException: Internal Error: File /javax/servlet/resources/web-app_2_3.dtd not found
         at org.apache.jasper.xmlparser.MyEntityResolver.resolveEntity(ParserUtils.java:196)
         at org.apache.crimson.parser.ExternalEntity.getInputSource(ExternalEntity.java:89)
         at org.apache.crimson.parser.Parser2.pushReader(Parser2.java:3327)
         at org.apache.crimson.parser.Parser2.externalParameterEntity(Parser2.java:3062)
         at org.apache.crimson.parser.Parser2.maybeDoctypeDecl(Parser2.java:1347)
         at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:656)
         at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
         at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
         at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:185)
         at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:76)
         at org.apache.jasper.xmlparser.ParserUtils.parseXMLDocument(ParserUtils.java:106)
         at org.apache.jasper.compiler.JspConfig.processWebDotXml(JspConfig.java:72)
         at org.apache.jasper.compiler.JspConfig.init(JspConfig.java:181)
         at org.apache.jasper.compiler.JspConfig.findJspProperty(JspConfig.java:233)
         at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:164)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:419)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:402)
         at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:512)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:262)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:263)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:210)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
         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:324)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:236)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:141)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:718)
         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:478)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:413)
         at org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:77)
         at org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:92)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:319)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:147)
         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 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:324)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:236)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:141)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:214)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:168)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:144)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:133)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:539)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
         at com.sun.enterprise.webservice.EjbWebServiceValve.invoke(EjbWebServiceValve.java:134)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
         at com.sun.enterprise.security.web.SingleSignOn.invoke(SingleSignOn.java:254)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
         at com.sun.enterprise.web.VirtualServerValve.invoke(VirtualServerValve.java:209)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:114)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
         at com.sun.enterprise.web.VirtualServerMappingValve.invoke(VirtualServerMappingValve.java:166)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:936)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:165)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:683)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:604)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:542)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:647)
         at java.lang.Thread.run(Thread.java:534)
    |#]
    [#|2004-11-30T11:04:29.518+0100|SCHWERWIEGEND|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=12;|StandardWrapperValve[Faces Servlet]: Servlet.service() for servlet Faces Servlet threw exception
    org.xml.sax.SAXException: Internal Error: File /javax/servlet/resources/web-app_2_3.dtd not found
         at org.apache.jasper.xmlparser.MyEntityResolver.resolveEntity(ParserUtils.java:196)
         at org.apache.crimson.parser.ExternalEntity.getInputSource(ExternalEntity.java:89)
         at org.apache.crimson.parser.Parser2.pushReader(Parser2.java:3327)
         at org.apache.crimson.parser.Parser2.externalParameterEntity(Parser2.java:3062)
         at org.apache.crimson.parser.Parser2.maybeDoctypeDecl(Parser2.java:1347)
         at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:656)
         at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
         at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
         at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:185)
         at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:76)
         at org.apache.jasper.xmlparser.ParserUtils.parseXMLDocument(ParserUtils.java:106)
         at org.apache.jasper.compiler.JspConfig.processWebDotXml(JspConfig.java:72)
         at org.apache.jasper.compiler.JspConfig.init(JspConfig.java:181)
         at org.apache.jasper.compiler.JspConfig.findJspProperty(JspConfig.java:233)
         at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:164)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:419)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:402)
         at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:512)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:262)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:263)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:210)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
         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:324)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:236)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:141)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:718)
         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:478)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:413)
         at org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:77)
         at org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:92)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:319)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:147)
         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 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:324)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:236)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:141)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:214)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:168)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:144)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:133)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:539)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
         at com.sun.enterprise.webservice.EjbWebServiceValve.invoke(EjbWebServiceValve.java:134)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
         at com.sun.enterprise.security.web.SingleSignOn.invoke(SingleSignOn.java:254)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
         at com.sun.enterprise.web.VirtualServerValve.invoke(VirtualServerValve.java:209)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:114)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
         at com.sun.enterprise.web.VirtualServerMappingValve.invoke(VirtualServerMappingValve.java:166)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:936)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:165)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:683)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:604)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:542)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:647)
         at java.lang.Thread.run(Thread.java:534)
    |#]
    these are the last entries of the log file! i hope you can help me!
    do you know other developmen tools, which I can implement JSF!!
    yours, chris

  • Java.lang.NoClassDefFoundError: javax/resource/ResourceException

    Hi everybody,receive my sincere greeting,i have a slight problem right here.I am trying to test the Server API for Mobile Services i dowloaded from nokia forum.I have a J2SE program that sends an SMS to a mobile device.When i try to run the simple program in JBuilder 2005 Enterprise i encounter the error below.Please help me i am not sure if i should include the j2ee.jar for my project to detect the resource package in javax or not.Anyone related with this problem plz help me.
    Nov 3, 2006 1:46:38 PM com.nokia.sams.util.sms.config.ServiceApiConfiguration init
    INFO: Loading Service API configuration.
    Nov 3, 2006 1:46:38 PM com.nokia.sams.util.sms.config.ServiceApiConfiguration init
    INFO: Service API config file is: C:\Borland\JBuilder2005\jdk1.4\jre\lib\nokia_sams_service.properties
    Nov 3, 2006 1:46:38 PM com.nokia.sams.util.sms.config.ServiceApiConfiguration init
    INFO: Service API configuration loaded.
    java.lang.NoClassDefFoundError: javax/resource/ResourceException
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:141)
         at com.nokia.sams.SmsMessageListenerHandler.<init>(SmsMessageListenerHandler.java:58)
         at com.nokia.sams.SmsSession.<init>(SmsSession.java:37)
         at com.nokia.sams.messaging.SmsMessagingSession.<init>(SmsMessagingSession.java:71)
         at com.nokia.sams.SmsService.openSession(SmsService.java:74)
         at com.klaas.sams.SMSServer.sendMessage(SMSServer.java:21)
         at com.klaas.sams.SMSServer.main(SMSServer.java:50)
    Exception in thread "main"

    Hi,
    Just try to find connector.jar and put it into your lib location.
    Regards,
    Deddy

  • Getting an error while accecing resource bundle from java file......

    I want to access the properties file to my java file ..
    My resource file named as "application" is in the resources package...
    and I am using following code to load the resource file into my java file...
    java.util.ResourceBundle rb = java.util.ResourceBundle.getBundle("resources.application",new Locale("en","US"));
    String message = rb.getString("welcome.heading");
    But getting following error....
    Exception in thread "main" java.util.MissingResourceException: Can't find bundle for base name resources.application, locale en_US
    at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1521)
    at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1260)
    at java.util.ResourceBundle.getBundle(ResourceBundle.java:787)
    at javaapplication1.c.<init>(Main.java:26)
    at javaapplication1.Main.main(Main.java:47)
    Java Result: 1
    can anyone tell me whats the problem and why am i facing this error

    Hi Again,
    Now with a different problem.
    I have removed configuration and imported the configuration again. But now it is not recognizing API ( created by me with all common classes as java project).
    Structre of the application is as follows
    Cedapp -  ear file
    Cedejb   - ejb module
    Cedweb – web module
    Cedapi  - java project with common classes used in both ejb module and  web module and published as library. This refered in both the ejbmodule and web module.
    The problem now I am facing is that cedapi is not getting recognized by ejb module or web module. But it is available in used dcs of each.

  • Why are Java files listed as needing repair in Disk Utility?

    Why are Java files always listed as needing repair in Disk Utility?

    FrenchToast wrote:
    Baltwo, bull's eye, as always!
    X423424X's question is pertinent too: you usually need to repair permissions after some major upgrade or update, not on a regular basis. Is there a particular reason why you'd often try to repair permissions? Here's more on the subject.
    Repairing permissions after an update or upgrade is harmless, but I would question the need to do it even there. The Apple update itself should set the correct Permissions. I still do this, really as a hangover from Tiger days -- not certain it was really ever needed there either -- and because it's a habit that's hard to kick, but it's never found anything to repair...but for one buggy exception, which was the 10.5.8 Combo update. Running it once and then repairing Permissions created a real error. It was discovered the Combo needed to be run twice back to back and then Permissions repair. In fact, one would have been better off not running Permissions for that update to begin with. There it wasn't harnless.
    https://discussions.apple.com/message/9968141#9968141
    BTW, even Flash updates, which always used to set incorrect Permissions, are coming in clean these days.
    Exercises in Futility: Permissions Repair

  • Need more info on EO,VO and AM *.java files

    HI,
    Friends and experts I need your help in learning OAF.
    I am new to OAF and want to know more info about the following java classes.
    When I created a simple search page with EO, VO and AM, the following java classes are created.
    I want to know
    what is it?
    what we do with that ?
    where we use that?
    Any sample scripts if possible?
    EOImpl.java
    Please correct me if I am wrong,I know that we use this one for manipulating data for a particular row ,operations such as getattribut,setattribute, delete ,update, insert. There are various methods got created when you create the EO if you select options on the " Generate Method " during step 4 on EO wizard.
    EOCollImpl.java
    VOImpl.java
    ViewRowImpl
    AMImpl.java
    Thanks
    Sri.

    Hi Sri ,
    EO :
    Entity Objects are basically based on one table which encapsulate the business rules. These objects are used by OAF page to perform update/insert/delete operations .
    Inside EOImpl.java you will find setter() and getter () methods in java we call it as accessor and mutator , each attribute in EO is mapped to column in the data base table .
    You can also generate a create () method Validate () method .
    Eg : To get the sequence value in OAF you can use Create() method .
    VO :
    VOImpl (VO) : It just consist of an Data base sql query , you might have noticed while executing a query eg : VO.executeQuery() ;
    to perform any validation it provides iteration over and access to the view rows in its result set.
    VoRowImpl : Represents a single row in a view object .
    You will understand better when you writing a code using voimpl /voRowimpl objects
    AmImpl :
    It basically performs the Business logic , we will define all our methods to implement business logic .
    Eg : you can call a method from controller and define the method Amimpl.java , you can use of initializing the query or
    you do DML operation , etc ...
    In summery : The main reason why we have java file distribute across EO , VO , AM is because OAF is designed with MVC design pattern ,
    in other words we have to isolate the responsibility of code in each layer ( Model , View , Controller ) .Its bad practice to write
    the entire code in one single class file .
    Eg : Controller class should accept the parameter from user and pass these parameters BC4J files ( AMImpl.java ) and its Job of the AMImpl.java
    to perform the business logic and return the result back to to controller .
    To enforce the coding standard of MVC design pattern we have these java files EO , VO , AM , CO . with more practice you will understand the various
    methods defined in each of these java files .
    Keerthi

Maybe you are looking for