Looking for servlet.jar

I've loaded a project into Eclipse that requires servlet.jar. This apparently doesn't come with the current version of Tomcat or Sun Application Server. How can I get the file and if I get an older version, is it going to work with Tomcat 5.5?

Alice Sufka wrote:
>
> Anyone else come across this problem? :
>
> When trying to define a new sever runtime for JBoss 3.2.x, cannot create
> runtime if version 3.2.6 of JBoss is selected. The error "Missing
> classpath
> entry c:\jboss-3.2.6\server\default\lib\javax.servlet.jar" is displayed
> and the
> "Finish" button is disabled.
>
> This occurs using the Server/Installed Runtimes preferences dialog.
>
> The definition of a server runtime using the same procedure but pointing
> to an
> install of version 3.2.3 of JBoss does not give this error and completes
> successfully.
>
> A clean install of JBoss 3.2.6 does not have the javax.servlet.jar file
> that
> the eclipse process is looking for; I believe that the eclipse process is
> looking for that file in error and that it should not be looking for
> that file
> for the 3.2.6 version of JBoss. Since the dialog is for the option of
> defining
> any 3.2.x JBoss runtime, I am guessing it is expecting all 3.2.x
> installs of
> JBoss to look alike when this is not the case.
>
Any way to fix this?

Similar Messages

  • Why tomcat is still looking for old jar files?

    Please help me it is a very serious problem.
    I updated one of the jar files used by the project. I am using a new method that is available only in the new library. I removed the old jar files in my local system, and everything worked fine. Then I commit those files to the subversion, which is in the testing server, and then I created the war file. The war is successfully created, then I deployed to the tomcat. But, now there is an error in the portion I am using the method that is only available in the new jar files.
    One of the error when I go to that portion is:
    1. No Such Method Exists
    The other errors on log files are:
    1.
    WARNING: Failed to open JAR
    java.util.zip.ZipException: No such file or directory
    2.
    validateJarFile(tomcat/webapps/ROOT/WEB-INF/lib/j2ee.jar) - jar not loaded. See Servlet Spe
    c 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
    Please help me, I have tried every other way to solve this. I have tried removing all the old jar files there were, and replacing with the new one. I have tried creating a war file and ftping to the testing server.
    I problem is still there and it is because the testing server's tomcat is still looking for old jar files. I used Netbeans and add jar files as usual method.

    Check the contents of your WAR file that you are deploying on the testing server to see if it contains the JAR that you can't find.
    More than likely you are building your WAR file and your new JAR file is not being included in the build.

  • Looking for a JAR file...

    I am looking for the jar file that has the following in it:
    com.sapportals.portal.htmlb.page.JSPDynPage;
    com.sapportals.portal.htmlb.page.PageProcessorComponent;
    Can someone PLEASE PLEASE email it to me?
    My email address is [email protected] .
    Thank You?

    I do not have NWDS installed (that is a whole other issue).
    But someone did send me the file.
    Plus, I already had it but just did not know where to look. Now I know where to look.
    Thank you

  • Looking for RMS.jar Package

    Hi,
    This is Murthy i am looking for RMS.jar file [Java Package].
    With the following classes...
    import rms.RMSFile;
    import rms.DictionaryFile;
    import rms.rsrdds.DataDictionary;
    import rms.RMSException;
    If any one has any idea where i can get it....
    or if you have it mail to me at:
    [email protected]
    It would be a very big favour....
    It is Very Urgent...
    Thanks in Advance,
    Murthy Rayudu

    Are you sure this is a publicly available JAR? I can't find it even mentioned somewhere on the web. What is it supposed to do?

  • Looking for specific jars

    Hi all,
    We're trying to reduce as much as possible and needed all the jar's necessary for a project. Could anyone tell me in which jar can we have :com/businessobjects/boconfig/ClusterConfig ?
    Thanks in advance !

    Answer --> boconfig.jar !
    Sorry for topic !

  • Looking for IPortalUrlGenerator class

    Hi All,
    Please could you help me is urgent..
    I am looking for the .jar where i could find the IPortalUrlGenerator Class calling the
    <%@ page import="com.sapportals.portal.prt.service.urlgenerator.specialized.IPortalUrlGenerator"%>
    <%@ page import="com.sapportals.portal.prt.service.urlgenerator.specialized.ISpecializedUrlGenerator"%>
    I read that i have to import these com.sap.portal.appintegrator.sap.bwcapi.jar
    but i cannot find it.
    Please could you mail me these jar?
    My mail [email protected]
    I appreaciate your help!
    Regards,
    Ari

    Hi,
    Dear friend.
    You should easily be able to obtain the current jar file as per your requirement from the Portal itself as per path below.
    Remember never to borrow jars like this from everyone, as their Portal stack may not match yours and it can screw up your application even if it works now.
    Do the following Go to System administration->System Configuration-> Support Desk->Portal Runtime in your Portal
    Navigate in the path below here:
    ROOT/WEB-INF/portal/portalapps/com.sap.portal.appintegrator.sap.bwc/lib
    Here buddy, you will find your jar. Download and play..
    Best Regards,
    Harish

  • Looking for com.sun.xml.tree package

    Hi,
    I�m looking for a jar which contains the XmlDocument class to download.
    I found the package, (it�s com.sun.xml.tree) but I cannot find where the package/jar is to download it.
    Your help will be much appreciated.
    Thank you,
    Chris

    I have all latest jars (jaxp, xerces, xalan, jdom, dom4j and any related jars). I have w3c DOM and i have been trying to convert it to JDOM and dom4j using relevant APIs. i keep getting following error.
    Exception in thread "main" java.lang.AbstractMethodError: com.sun.xml.tree.Eleme
    ntNode.getNamespaceURI()Ljava/lang/String;
    at org.dom4j.io.DOMReader.readElement(DOMReader.java:181)
    at org.dom4j.io.DOMReader.readTree(DOMReader.java:106)
    at org.dom4j.io.DOMReader.read(DOMReader.java:88)
    Can you advise what could be the reason and how to resolve this?
    FYI : my w3c DOM has been created with com.sun.xml.tree.XmlDocumentBuilder class and other methods of the package. I need to resolve this error at earliest to move forward.
    I would apprecaite early response at [email protected]
    Thanks,

  • Look for resources in jar

    I wrote an aplication and put it with all needed resources(images) in a jar file, but still when i start the executable jar the aplication looks for the images in the directory where the jar is and not in the jar. How can i make it looking for reources in the jar?

    Best approach is to use Class.getResource or Class.getResourceAsStream.
    You can read a jar file explicitly using java.util.jar.JarFile but getResource is easier.

  • Classes12.jar looking for ocijdbc8.dll instead of ocijdbc9.dll?

    I have installed the client portion of Oracle 9 release 2 and written an EJB that uses the oci JDBC driver. I have no other oracle installation on my machine, so I only have the ocijdbc9.dll in my %ORACLE_HOME%\bin directory, not the ocijdbc8.dll.
    The classes12.jar file (installed by the same installation mentioned above) is in my classpath.
    The code throws an "UnsatisfiedLinkError: no ocijdbc8 in java.library.path". This does not make sense to me because it should be trying to load ocijdbc9.dll.
    Please assist.
    Andreas

    Hi,
    Thank you for your response, but I guess I should have been a little bit more specific. As mentioned, I installed oracle 9 release 2 client only and have no other oracle installation on my machine. I am working on my laptop with Windows XP Professional. The application server hosting my EJB's is Weblogic Server version 7.0. So I am NOT using OC4J. I am accessing an Oracle Database on a Tru64 UNIX box.
    My EJB cannot create the connection because classes12.jar in my ORACLE_HOME\jdbc\lib which is in my classpath tries to load ocijdbc8.dll. Since I have only installed oracle9 release 2, should it not be looking for ocijdbc9.dll??? ocijdbc9.dll exists in ORACLE_HOME\bin. The classes12.jar was installed by the oracle9 release 2 client installation.
    Please help me....
    Regards,
    Andreas

  • Applet is not looking for the classes in the jar

    I have an applet that uses 2 jar files (Jasplet.jar and WinLS.jar). They are downloaded fine, but then java look for the classes in a URL instead of using the jar:
    network: Cache entry found [url: http://localhost:8000/reportes/Jasplet.jar, version: null]
    network: Connecting http://localhost:8000/reportes/Jasplet.jar with proxy=DIRECT
    network: Connecting http://localhost:8000/reportes/Jasplet.jar with cookie "JSESSIONID=573b1fbfcd200059b8bbbfa92b95"
    network: ResponseCode for http://localhost:8000/reportes/Jasplet.jar : 304
    network: Encoding for http://localhost:8000/reportes/Jasplet.jar : null
    network: Disconnect connection to http://localhost:8000/reportes/Jasplet.jar
    security: Loading Root CA certificates from /usr/lib/jvm/java-6-sun-1.6.0.07/jre/lib/security/cacerts
    security: Loaded Root CA certificates from /usr/lib/jvm/java-6-sun-1.6.0.07/jre/lib/security/cacerts
    security: Loading Deployment certificates from /home/santiago/.java/deployment/security/trusted.certs
    security: Loaded Deployment certificates from /home/santiago/.java/deployment/security/trusted.certs
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Validate the certificate chain using CertPath API
    security: Obtain certificate collection in Root CA certificate store
    security: Obtain certificate collection in Root CA certificate store
    security: The CRL support is disabled
    security: The OCSP support is disabled
    security: No timestamping info available
    security: Checking if certificate is in Deployment denied certificate store
    security: Checking if certificate is in Deployment permanent certificate store
    network: Cache entry found [url: http://localhost:8000/reportes/lib/WinLS.jar, version: null]
    network: Connecting http://localhost:8000/reportes/lib/WinLS.jar with proxy=DIRECT
    network: Connecting http://localhost:8000/reportes/lib/WinLS.jar with cookie "JSESSIONID=573b1fbfcd200059b8bbbfa92b95"
    network: ResponseCode for http://localhost:8000/reportes/lib/WinLS.jar : 304
    network: Encoding for http://localhost:8000/reportes/lib/WinLS.jar : null
    network: Disconnect connection to http://localhost:8000/reportes/lib/WinLS.jar
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Validate the certificate chain using CertPath API
    security: Obtain certificate collection in Root CA certificate store
    security: Obtain certificate collection in Root CA certificate store
    security: The CRL support is disabled
    security: The OCSP support is disabled
    security: No timestamping info available
    security: Checking if certificate is in Deployment denied certificate store
    security: Checking if certificate is in Deployment permanent certificate store
    network: Cache entry not found [url: http://localhost:8000/reportes/winls/resource/engine.class, version: null]
    network: Connecting http://localhost:8000/reportes/winls/resource/engine.class with proxy=DIRECT
    network: Connecting http://localhost:8000/reportes/winls/resource/engine.class with cookie "JSESSIONID=573b1fbfcd200059b8bbbfa92b95"
    network: Cache entry not found [url: http://localhost:8000/reportes/winls/resource/engine_en.class, version: null]
    network: Connecting http://localhost:8000/reportes/winls/resource/engine_en.class with proxy=DIRECT
    network: Connecting http://localhost:8000/reportes/winls/resource/engine_en.class with cookie "JSESSIONID=573b1fbfcd200059b8bbbfa92b95"
    network: Cache entry not found [url: http://localhost:8000/reportes/winls/resource/engine_en.properties, version: null]
    network: Connecting http://localhost:8000/reportes/winls/resource/engine_en.properties with proxy=DIRECT
    network: Connecting http://localhost:8000/reportes/winls/resource/engine_en.properties with cookie "JSESSIONID=573b1fbfcd200059b8bbbfa92b95"
    network: Cache entry not found [url: http://localhost:8000/reportes/winls/resource/engine_en_US.class, version: null]
    network: Connecting http://localhost:8000/reportes/winls/resource/engine_en_US.class with proxy=DIRECT
    network: Connecting http://localhost:8000/reportes/winls/resource/engine_en_US.class with cookie "JSESSIONID=573b1fbfcd200059b8bbbfa92b95"
    network: Connecting socket://localhost:5432 with proxy=DIRECT
    select relname,attname,typname,atttypmod-4 as length from pg_class c , pg_attribute a ,pg_type t where c.oid=a.attrelid and a.atttypid=t.oid and (typname='varchar' or typname='bpchar') and relkind='r' and substring(relname from 1 for 4)!='sql_' and substring(relname from 1 for 3)!='pg_'
    network: Connecting socket://localhost:5432 with proxy=DIRECT
    Oct 22, 2008 11:52:20 AM winls.dbdata.DataEmployee getEmployee():505
    INFO: Connected to:jdbc:postgresql://localhost:5432/wmc
    Oct 22, 2008 11:52:20 AM winls.dbdata.DataEmployee getEmployee():505
    INFO: Connected to:jdbc:postgresql://localhost:5432/wmc
    select * from employees where empusername = 'jw1' and emppassword = 'YW5jeA=='
    network: Cache entry not found [url: http://localhost:8000/reportes/winls/resource/resource.class, version: null]
    network: Connecting http://localhost:8000/reportes/winls/resource/resource.class with proxy=DIRECT
    network: Connecting http://localhost:8000/reportes/winls/resource/resource.class with cookie "JSESSIONID=573b1fbfcd200059b8bbbfa92b95"
    network: Cache entry not found [url: http://localhost:8000/reportes/winls/resource/resource_en.class, version: null]
    network: Connecting http://localhost:8000/reportes/winls/resource/resource_en.class with proxy=DIRECT
    network: Connecting http://localhost:8000/reportes/winls/resource/resource_en.class with cookie "JSESSIONID=573b1fbfcd200059b8bbbfa92b95"
    network: Cache entry not found [url: http://localhost:8000/reportes/winls/resource/resource_en.properties, version: null]
    network: Connecting http://localhost:8000/reportes/winls/resource/resource_en.properties with proxy=DIRECT
    network: Connecting http://localhost:8000/reportes/winls/resource/resource_en.properties with cookie "JSESSIONID=573b1fbfcd200059b8bbbfa92b95"
    network: Cache entry not found [url: http://localhost:8000/reportes/winls/resource/resource_en_US.class, version: null]
    network: Connecting http://localhost:8000/reportes/winls/resource/resource_en_US.class with proxy=DIRECT
    network: Connecting http://localhost:8000/reportes/winls/resource/resource_en_US.class with cookie "JSESSIONID=573b1fbfcd200059b8bbbfa92b95"
    network: Connecting socket://localhost:5432 with proxy=DIRECT
    LISTEN companyPostDate
    network: Cache entry not found [url: http://localhost:8000/reportes/org/postgresql/errors.class, version: null]
    java.lang.NullPointerException
         at winls.gui.WinLSFrame.loadCompany(WinLSFrame.java:365)
         at winls.gui.WinLSFrame.<init>(WinLSFrame.java:250)
         at winls.gui.WinLSDesktop$2.run(WinLSDesktop.java:141)
         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:597)
         at spin.Invocation.evaluate(Invocation.java:122)
         at spin.off.OffInvocation.spin(OffInvocation.java:78)
         at spin.Invocation.start(Invocation.java:100)
         at spin.Interceptor.intercept(Interceptor.java:52)
         at spin.Spin$AbstractInvocationHandler.invoke(Spin.java:411)
         at $Proxy1.run(Unknown Source)
         at winls.gui.WinLSDesktop.<init>(WinLSDesktop.java:137)
         at jasplet.Main.init(Main.java:38)
         at sun.applet.AppletPanel.run(AppletPanel.java:425)
         at java.lang.Thread.run(Thread.java:619)
    basic: Exception: java.lang.NullPointerException
    network: Connecting http://localhost:8000/reportes/org/postgresql/errors.class with proxy=DIRECT
    network: Connecting http://localhost:8000/reportes/org/postgresql/errors.class with cookie "JSESSIONID=573b1fbfcd200059b8bbbfa92b95"
    network: Cache entry not found [url: http://localhost:8000/reportes/org/postgresql/errors_en.class, version: null]
    network: Connecting http://localhost:8000/reportes/org/postgresql/errors_en.class with proxy=DIRECT
    network: Connecting http://localhost:8000/reportes/org/postgresql/errors_en.class with cookie "JSESSIONID=573b1fbfcd200059b8bbbfa92b95"
    network: Cache entry not found [url: http://localhost:8000/reportes/org/postgresql/errors_en.properties, version: null]
    network: Connecting http://localhost:8000/reportes/org/postgresql/errors_en.properties with proxy=DIRECT
    network: Connecting http://localhost:8000/reportes/org/postgresql/errors_en.properties with cookie "JSESSIONID=573b1fbfcd200059b8bbbfa92b95"
    network: Cache entry not found [url: http://localhost:8000/reportes/org/postgresql/errors_en_US.class, version: null]
    network: Connecting http://localhost:8000/reportes/org/postgresql/errors_en_US.class with proxy=DIRECT
    network: Connecting http://localhost:8000/reportes/org/postgresql/errors_en_US.class with cookie "JSESSIONID=573b1fbfcd200059b8bbbfa92b95"
    network: Cache entry not found [url: http://localhost:8000/reportes/org/postgresql/errors_en_US.properties, version: null]
    network: Connecting http://localhost:8000/reportes/org/postgresql/errors_en_US.properties with proxy=DIRECT
    network: Connecting http://localhost:8000/reportes/org/postgresql/errors_en_US.properties with cookie "JSESSIONID=573b1fbfcd200059b8bbbfa92b95"
    network: Connecting socket://localhost:5432 with proxy=DIRECTThe lines like network: Cache entry not found [url: http://localhost:8000/reportes/winls/resource/engine.class, version: null] are the ones that seems to cause the problem.
    I have tried to clear the cache. I even deleted mi ~/.java/deployment directory. Any idea of what could be the problem?

    Your applet appears to be asking for https:// protocol security.
    Is there a certificate should be in your localhost server and https enabled and supported
    (the applet continually asks for "https protocol" types of information and your using standard http)?
    Other protocols for such use are ssl:// and tls://
    Dependent the server configuration you may or may not require the port number on the end of the domain
    e.g. something like.
    ssl://mydomain.com:443 or https://mydomain.com:8080 or tls://mydomain.com:989
    And be sure there program if its an extra such as ssl:// has its service started.
    Edited by: nicephotog on Oct 28, 2008 4:09 AM

  • Inner jar looking for resources

    I'm writing an application with a slightly complex jar structure like this:
    main_application.jar
    -- aux1.jar // located in a subdirectory with respect to main_app
    ---- aux1aux1.jar // located in a subdirectory with respect to aux1
    ---- aux1.aux2.jar
    ---- log4j.jar
    -- aux2.jar
    etc.
    Now my problem is the following:
    Let's assume that some class within aux1aux2.jar uses the Log4J logger which needs a config file which it expects on "the" classpath. I did several experiments to find out some systematic explanation but I didn't succeed so far.
    Now my two questions:
    1) What is the classpath the class Logger within log4j.jar actually uses? Is it the one of its own jar (which would mean that the config file must be placed besides log4j.jar; doesn't work, however) or the one of aux1 or even that of main_application?
    2) How can I find out the real class path used by any class within a jar? System.getProperty("java.class.path") obviously doesn't tell me the truth, since the class may find classes/resources which are not on that classpath and doesn't find classes which should be found using the indicated classpath. As far as I have seen, there is no possibility to ask the standard ClassLoader for that path...
    Dieter

    profos wrote:
    Hi,
    many thanks for your hints. In the meantime I have tested my example, and it is now even able to find the log4j.xml resource file (there was a line of code missing, but this is not worthwhile in this context).
    But two questions remain unanswered for me:
    1) You wrote that it doesn't matter what is in the class path of the (called) jars' manifests. But the class loader still has to find the jars for the called classes, since these jars are not contained in the main.jar's class path. This means that obviously there is an official class path (as returned by the System.getProperty method), and another class path or rather a stack of class paths used to find classes... ??Yes, it was my assumption that it doesn't matter, but I tried something similar to what you posted and I was wrong. It appears that any jar file that gets loaded and has a Class-Path in the manifest adds to the overall classpath of the application. In other words, for java -jar, the classpath is the main jar file plus all of the Class-Path entries in all of the manifests of the dependent jars.
    2) My example works well when I start it using java -jar ... But it doesn't work at all when I'm starting it in my IDE (Eclipse b.t.w.) even if I put the log4j.xml file in the directory where Main.class resides. Despite the fact that this location is the very first entry of the class path (and Log4J says that you have to put the config file in a location that is on the class path)! Are there " a first class" class path and a "second class" class path ;-)) ?
    Do you have any suggestions of where to look for solutions? Apparently the ClassLoader interface doesn't provide any information about its real class path being used...?
    Sorry, I can't help with IDE. It isn't clear to me whether you have a problem you need to solve or if you are trying to understand how things work. If you have a specific problem to solve, it might be a good idea to post what that problem is - there might be someone who has a solution.
    What I mean is, there is an implication that you have some problem and you think that you need the running Classpath in order to solve that problem. There might be a solution other than using the Classpath.
    Edited by: atmguy on Mar 21, 2008 2:22 PM

  • Looking for WEB HOST that I can do servlets and applets on

    Hello everyone,
    Does anyone know where I can buy web space that will allow me to run a servlet and applet from. I have been shopping today and I had difficutly finding one.

    Hmm.... well duffymo. I have gone to a number of sites through Google looking for web hosting sites that support java and I must be picking all the wrong ones to look at because I have only found one in Fremont out of 25-30 that I have looked at.
    I guess duffymo you can say what you want in a forum, but usually answering a question with a question isn't very helpful nor appreciated.

  • Browser looks for class files even tho everything in jars

    hi, in my webserver logs I get a lot of 404's for class files. The applet loads fine was just hoping to get the browser not to look for stuff besides the jars I give it. any ideas?
    <applet codebase="/" archive="myarchive.jar" code="com.MyClassName">
    Thanks

    any ideas?Not without a better explanation, example, code etc.

  • I look for guider in signing jars

    Hi everybody
    for what signing jars is good,for applet jars or desktop applications jars???
    and how can I use it? please i need the answerer explanations not url to tutorials
    Thanks to every reader to this topic

    i need the answerer explanations not url to tutorialsA stupid remark. The tutorials are explanations, and they have already been reviewed, debugged, etc. Why on earth would you prefer someone's random opinion to a properly produced piece of documentation?
    At best this is just lazy thinking.

  • Looking for original Soucecode from JAAS - API (jaas.jar)

    Hello,
    have someone the original code PolicyFile.java and PolicyParser.java
    from the JAAS?
    The compiled class are in com.sun.security.auth , but I need the uncompiled
    class in java source.
    I would like to make my own MyPolicyFile-Class for the JAAS.
    I need a custom Policy Class for the JAAS.
    So, that I can set in java.security
    auth.policy.provider=com.myfile.security.auth.MyPolicyFile
    Where can I get the java PolicyFile Class for JAAS ?
    Can someone send me the source, please ?
    Can you help me ?
    Greetings, jens
    [email protected]

    I believe the original source code is available from the sun site (at least the 1.2.2 version was).....dont remember the URL - but start with Products & API link and look for JAAS

Maybe you are looking for

  • Another external drive question

    As I mentioned in an earlier post, I've partitioned my WD 500 GB firewire 800 external drive into three partitions. My intention was to obtain a bootable backup in the first partition (100 GB) and have the other two as supplemental strorage for futur

  • Inbound Email configuration - SAP CRM with MS Exchange Server

    Dear Pundits, We are implementing SAP CRM and one of the requirement is to configure the Inbound email functionality. As of now, we have successfully configured the outbound mail functionality. The inbound email functionality to a Single client: Our

  • Barcode printing in SAPscript

    Hi All, My Barcode font is Interleaved 2 of 5 which was not existing in the system. Then it was installed in the SAP system , so know I am getting barcode in the print prieview but it is not comming when I fire printout. I want to know where this fon

  • Create image of Pro Logic 9 installer disc

    Have been getting an 'Installation failed' message when trying to install Logic Pro 9 in my Mac Pro 1.1. As it may be the installer disc that's damaged I've tried to create a new image from the installer DVD using Mac's Disc Utility but so far have b

  • Uninstall spamassassin?

    Hi all -- I had an existing installation of spamassassin. I installed again using cpan (which I'm pretty sure is how I originally installed, and it seems to have installed everything in a new set of locations (e.g., I have copies of spamd in both /us