List of .jar file need to add in web application by using eclipse europa?
hi
what are the list of .jar file need to be added in web application which use the ide of Eclipse Europa?
Depends on the application requirements. For a basic JSP/Servlet application just integrate Tomcat in Eclipse and assign it as application server to your web project, then you don't need to add anything. If you for example need JSF, then you should add its JAR's to the classpath of the web project, which is by default /WEB-INF/lib.
Similar Messages
-
How to get list of jar files loaded by servlet container.
Hi,
I need to display in my servlet program about the list of jar files loaded by servlet container. Does it vary for each servlet container or is it same. Where can I get those details.
I need to write code to support tomcat 4x, iplanet 5.0 and websphere 6.0.
Thanks & Regards,
Nasrin.NFor curious, here are output prints for all 3 methods:
1) parsing system property
2) tschodt
3) overcast SystemClassLoader to URLClassLoader
/home/espinosa/workspace/jboss_embedded_test1/target/test-classes
/home/espinosa/workspace/jboss_embedded_test1/target/classes
/opt/javalibs/javax/ejb/ejb-api/3.0/ejb-api-3.0.jar
/opt/javalibs/javax/jms/jms/1.1/jms-1.1.jar
/opt/javalibs/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar
package com.sun.org.apache.xerces.internal.impl.validation, Java Platform API Specification, version 1.6
package com.thoughtworks.qdox.directorywalker
package com.sun.org.apache.xerces.internal.parsers, Java Platform API Specification, version 1.6
package java.util.jar, Java Platform API Specification, version 1.6
package org.testng.internal.thread
package com.sun.org.apache.xerces.internal.util, Java Platform API Specification, version 1.6
package java.net, Java Platform API Specification, version 1.6
package sun.reflect.misc, Java Platform API Specification, version 1.6
package esp.ejb.samples1.test
package sun.security.provider, Java Platform API Specification, version 1.
file:/home/espinosa/workspace/jboss_embedded_test1/target/test-classes/
file:/home/espinosa/workspace/jboss_embedded_test1/target/classes/
file:/opt/javalibs/javax/ejb/ejb-api/3.0/ejb-api-3.0.jar
file:/opt/javalibs/javax/jms/jms/1.1/jms-1.1.jar
file:/opt/javalibs/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar
...Interestingly, method 1 and 3 gives the same list, same order, same count, just format of item is a little bit different. The order is same as in Eclipse .classpath file.
Method 2 (tschodt) give significantly more items! rougly 3x! Different order (somewhat random it seems to me). Some items contain extra information, like version and string "Java Platform API Specification".
It prints not absolute paths but logical Java names. -
Have to list all *.jar files one by one as classpath?
I use some third party jar files, and it seems that I have to list all the jar files one by one for the classpath. For example, this will work:
javac -classpath .\temp;C:\path\lib\log4j-1.2.9.jar;.\temp;C:\path\lib\jdom.jar -d .\temp -sourcepath @javalist.txtthis won't work:
javac -classpath .\temp;C:\path\lib\*.jar -d .\temp -sourcepath @javalist.txtIt is not a problem when I have a few of them, but what if I have 10 of them? Any better way to do it with the DOS Prompt? Thanks.Thank you for your replay.
The problem is that I dont' really know what are the *.jar files I need to use at compile time. I have to get the list of *.jar files at runtime. My java program needs to compile any other given java project at runntime, and those projects will have certain project structures, such
project_root
|---src
|---lib
I need to consturcture the right classpath string and pass it to the exec method of the Runtime class. I have already successfully compiled a sample project by listing all the jar files one after one, but still want to know if there is a better way to do it. -
How to list the JAR files loaded into the Oracle Database ?
How to list the JAR files loaded into the Oracle Database ?
From 11.1 onwards, the below two views are available to identify the jar files loaded into the Database.
JAVAJAR$
JAVAJAROBJECTS$
By querying the JAVAJAR$ view you can know information about the JAR files loaded into the Database and using JAVAJAROBJECTS$ view you can find all the java objects associated with the given JAR file.
These views are populated everytime you use LOADJAVA with "-jarsasdbobjects" option to load your custom java classes.
But unfortunately this feature is available only from 11.1 onwards and there is no clear workaround for above in 10.2 or earlier. -
Jar files needed for XML in Java 1.3.1
Hi there
I was wondering if someone could help. I'm getting the following error. I think it is because I have not included the correct Jar file for using TransformerFactory. I am using java 1.3.1 and was wondering what jar files I must add to be able to perform this function.
My error was
No transaction log files are waiting to be archived.
javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xa
lan.processor.TransformerFactoryImpl not found
at javax.xml.transform.TransformerFactory.newInstance(Unknown Source)
at com.attix5.backup5.plugin.domino.DominoLogXML.writeXML(DominoLogXML.j
ava:179)
at com.attix5.backup5.plugin.domino.DominoIncrementalBackup.backupIncrem
entalDomino(DominoIncrementalBackup.java:186)
at com.attix5.backup5.plugin.domino.DominoPlugin.handleBackupStart(Domin
oPlugin.java:240)
at com.attix5.backup5.plugin.domino.DominoPlugin.progressEvent(DominoPlu
gin.java:277)
at com.letsbackup.fileutils.BackupProcessor.a(Unknown Source)
at com.letsbackup.fileutils.BackupProcessor.h(Unknown Source)
at com.letsbackup.fileutils.BackupProcessor.c(Unknown Source)
at com.letsbackup.fileutils.BackupProcessor.run(Unknown Source)download the XML pack and add the JAXP jars in your classpath: http://java.sun.com/xml/downloads/javaxmlpack.html
-
My HD is almost full. I need to add space. Can I use an external HD to continue using my startup disc as it is?
I create music and have run out of space. the message says 'your startup disc is almost full', and i just thought maybe buying an external hard drive and using it as the startup disc or whatever would do the trick. Does anyone know? Thanks!External hard drives are relatively inexpensive...see some of those on OWC, www.macsales.com
You can use a large external drive to provide additional space by simply saving material to that volume instead of the startup disk. You can also partition the external drive to use part for Time Machine backups, and another partition for extended space. Or a third partition for a clone of the boot system made by Carbon Copy Cloner or SuperDuper, both free downloads, so should the internal drive have problems you could always boot from the external partition.
All of that can be done from Disk Utility.
Keep in mind that Mac OS X gets very unhappy when there is less than 15% of the startup disk space free. -
I need help with the Web Application Certificate
Greets,
The title says it all really. I need help with the Web Application Certificate.
I've followed the instructions from here:
https://www.novell.com/documentation....html#b13qz9rn
I can get as far as item 3.c
3. Getting Your Certificate Officially Signed
C. Select the self-signed certificate, then click File > Certification Request > Import CA Reply.
I can get the certificate in to the Filr appliance but from there I'm stuck.
Any help much appreciated.Originally Posted by bentinker
Greets,
The title says it all really. I need help with the Web Application Certificate.
I've followed the instructions from here:
https://www.novell.com/documentation....html#b13qz9rn
I can get as far as item 3.c
ok when you have you self signed certificate and you requested an official certificate with the corresponding CSR then you just need to go back to the digital certificates console. To import the official certificate, select the self signed certificate, then click File > Certification Request > Import CA Reply. Then a new windows pops out to select the certificate from your trusted authority from your local hard disk. Find the file (.cer worked for me) and click ok. As soon as you do this in the digital certificates console the self signed certificate will change the information that now it is officially signed. Look at the second column and you should see the name of your trusted authority under "issue from"
I personally had a lot of issues across all platforms. Especially Firefox and Chrome for android. Needed to pack all the root cert, intermediate cert and signed cert into one file and import as CA reply. Not even sure if this is correct now. But at least it works. -
The jar files needed to use MQ Sonique driver
Hi,
I am using the Sun JMS adapter
and the driver is Sonique MQ Series
can I know what jar files are needed to make the set up
in to the XI server?
Thanks & Regards
RanjitHi,
Add sonic_Client.jar.
Regards,
sudheer. -
Jar files need for Custom connector API app
hi all,
I am doing an application regarding "Custom connector API", for doing the application I need "jdom,rome-0.6" jar files. kindly send these jar files it will be helpful to me. To do such custom connector API application any plugins must be added to it, if so please let me know???
thanks in advance,
Aravind.Hi,
You can find the jdom.jar file from the plugins/com.sap.km.rfwirad_7.1.5/lib/jdom.jar.
If you add classlocator to your studio you can find the required jar file for your imported classes very easily. To add the classlocator to your studio go to the below blog
Using JAR Class Finder
Regards
Suresh -
Does driver jar file needs to be extracted before giving java command?
I wrote a JDBC program, where it will pull the data from Sybase and Push into Oracle. That program is working fine in Eclipse IDE. But when i tried to make it make it work from the command program, by giving javac and java commands..., it didnt work.
Finally i realised that, it is working when i extract the driver jar files (sybase and Oracle, ojdbc.jar and jconn3.jar ) using jar xvf utility.
Do we need to do that? or is there any smart way that we can just mention the drivers path and make it work?
For your information, i set the CLASSPATH and JDBC_HOME to the driver location.
Please help me out
Thank You
ViswaHi Balu,
Could you please check this?
umi-c005-m3:~/TestRem2CCM/SampleProgram 179> ls -l
total 928
-rwxrwxrwx 1 500 500 465869 Sep 30 2005 jconn3.jar
drwxrwxrwx 2 500 500 4096 Jun 5 11:45 psae
umi-c005-m3:~/TestRem2CCM/SampleProgram 180> ls -l psae/
total 96
-rwxrwxrwx 1 ramavi11 500 3251 Jun 5 11:27 DataModel.class
-rwxrwxrwx 1 500 500 3564 Jun 5 11:26 DataModel.java~
-rwxrwxrwx 1 500 500 3564 Jun 5 11:27 DataModel.java
-rwxrwxrwx 1 ramavi11 500 8358 Jun 5 11:27 DataTransfer.class
-rw-rw-rw- 1 500 500 11126 Jun 5 11:25 DataTransfer.java~
-rwxrwxrwx 1 500 500 11127 Jun 5 11:45 DataTransfer.java
umi-c005-m3:~/TestRem2CCM/SampleProgram 181> java -cp . psae/DataTransfer
Before Try
Inside Try
*********Sybase Connection Failed*************
java.lang.ClassNotFoundException: com.sybase.jdbc3.jdbc.SybDriver
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at psae.DataTransfer.getSybaseDataList(DataTransfer.java:191)
at psae.DataTransfer.main(DataTransfer.java:19)
Data NOT available from MMS query
umi-c005-m3:~/TestRem2CCM/SampleProgram 182> java -cp . psae.DataTransfer
Before Try
Inside Try
*********Sybase Connection Failed*************
java.lang.ClassNotFoundException: com.sybase.jdbc3.jdbc.SybDriver
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at psae.DataTransfer.getSybaseDataList(DataTransfer.java:191)
at psae.DataTransfer.main(DataTransfer.java:19)
Data NOT available from MMS query
umi-c005-m3:~/TestRem2CCM/SampleProgram 183> -
I am trying to create a Dynamic Web Project in Eclipse exactly as Portal Project in Workshop, I am trying to find what are the JAR files we needed,
Can any one point me to any resources where i can look into it,
Thanks
JDHi,
Use IBM class loader plug-in for Eclipse to find the required jar files by specifying the package name or class name. This will help you to avoid including files, which are not required.
Regards,
Bhavani Prasad -
What are the jar files needed for HTMMLB?
Hi,
I have imported a HTMLB comp par file into my NWDS.
it is showing me some errors like com.sapportals.htmlb cannot be resolved...what may be the prob...do i need to import any jar files regarding this.
Plz help..
Thanks,
ViswesHi,
Please see this helpful link
New Reference for Portal APIs
Ramganesan Karuppaiyah -
Hi Friends,
I want to use the IUrlGeneratorService and IPortalUrlGenerator classes for a URL generation task. But I cannot find the JAR file having these classes. I tried finding com.sap.portal.appintegrator.sap.bwc_api.jar in my eclipse/plugins but could not find it.
Where can I find this JAR, or any other JAR having the files I need?
Plz help.Hi,
You can find jar files from this link also
<a href="http://www.alphaworks.ibm.com/aw.nsf/reqs/jarclassfinder">Jar Files</a>
And check in your portalapps folder the name of the jar file for urlgenerator is bc.rf.global.service.urlgenerator_api.jar.
Regards,
Venkatesh.K. -
How to search a class in list of jar files
Hi All,
I am using Windows XP. I have some 100's of jars and I want to find in which jar file a particular class exists. The search option in Windows XP (except Windows 2000) doesn't help. I tried the sourceforge.net jarbrowser tool but it's search functionality is not working.
Can anybody please suggest a nice tool or approach ...
Thanks & Regards,
Kr.I know of one named ClassFinder that will do what you want.
-
Gifs placed in a jar file. need help getting them.
I have placed all the gif files in a jar file.
added the gif.jar to the project in the required libraries of project properties.
In the toolbar class I gave this.
JButton btnNew = new JButton(new ImageIcon("new.gif"));
and was expecting it to show the icon but I didn't get it?
Can I place the gifs in a jar file.
What else can I change/check to see the icons?
Thanks.They are in the same path in the jar file that they were when they were on your disk in the file system. Lets say you have a dir structure
C:\dir1\dir2\dir3\dir4\file.txt
and you cd to dir2:
cd \dir1\dir2
then you jar dir3:
jar cvf jar.jar dir3/*.*
the path to file.txt would still be /dir3/dir4/file.txt inside the jar file.
do a jar tvf jarfile.jar and take a look.
Maybe you are looking for
-
Issue in workflow mailer configuration
Hi all, I have to configure notification mailer, for that I have an IP address of smtp server and an email username and password. Using these 3 details I can configure the mail in MS Outlook and send/recieve mails. When I give the same details
-
I installed Win 7 Pro x64 on a reasonably decent machine (Nvidia nForce 680i SLI, core 2 duo, 4 gig ram). It was a clean install on a freshly formatted partition. While copying a large bunch of files from another machine on the LAN, I get "Error 0x8
-
I deleted a very important pages file from my iPad and I need it back
I deleted a very important pages file from my iPad and I need it back pronto! I just updated my iPad without a computer and it had the file there. I need to know how to get back the file very quickly. thx in advance
-
Is there a way to Open as3Proj in Flash Builder or Flex?
I am starting to work on a project that they've been developing in FlashDevelop. Flash Develop creates a as3proj and I am sure there is a way to work on the project in Flash Builder... You guys have any idea on how I would go about doing that? Thanks
-
PLEASE HELP ME. Some important emails have gone to an archive mail box and i really need them. Can someone please help me with how to view the archive email box and the emails that are in there?