Jar file name Required for IApplicationPropertiesService class file
Hi
I am using EP6 SP15, Please let me know the jar file name for IApplicationPropertiesService.class
Regards
Ganesan S
Hi,
you should have it in your NWDS plugins directory. I have it here:
<i>\Program Files\SAP\JDT\eclipse\plugins\com.sap.km.rfwizard\lib\bc.rf.global.service.appproperties_api.jar</i>
Romano
PS: you can try to find it yourself - not so hard: just search in the filesystem for XXXXXX.class including searching archives...
Similar Messages
-
hi all,<br />i am trying lc8 with a turnkey+jboss install on a windows2003 box, and getting the error below, where do i need to make the changes to correct this error? TIA<br /><br />2008-05-15 16:35:00,578 INFO [com.adobe.idp.dsc.provider.service.email.impl.EmailReaderImpl] begins process emails: <br />2008-05-15 16:35:00,578 INFO [com.adobe.idp.dsc.provider.service.email.impl.EmailReaderImpl] EmailSource is Locked: [email protected]<br />2008-05-15 16:35:00,593 INFO [com.adobe.idp.dsc.provider.service.email.impl.EmailReaderImpl] EmailSource is Locked: [email protected]<br />2008-05-15 16:35:00,734 INFO [com.adobe.idp.dsc.provider.service.email.impl.EmailReaderImpl] done process emails: <br />2008-05-15 16:35:00,750 INFO [com.adobe.idp.dsc.provider.service.email.impl.EmailReaderImpl] unlock EmailSource : [email protected]<br />2008-05-15 16:40:00,109 INFO [com.adobe.idp.dsc.provider.service.email.impl.EmailReaderImpl] begins process emails: <br />2008-05-15 16:40:00,125 INFO [com.adobe.idp.dsc.provider.service.email.impl.EmailReaderImpl] EmailSource is Locked: [email protected]<br />2008-05-15 16:40:00,125 INFO [com.adobe.idp.dsc.provider.service.email.impl.EmailReaderImpl] EmailSource is Locked: [email protected]<br />2008-05-15 16:40:01,203 INFO [com.adobe.idp.dsc.provider.service.email.impl.EmailReaderImpl] done process emails: <br />2008-05-15 16:40:01,312 INFO [com.adobe.idp.dsc.provider.service.email.impl.EmailReaderImpl] unlock EmailSource : [email protected]<br />2008-05-15 16:40:01,609 ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackLocalException in method: public abstract com.adobe.idp.um.api.infomodel.User com.adobe.idp.um.businesslogic.directoryservices.DirectoryServicesManager.getExpandedAuth enticatedUser(java.lang.String,java.lang.String,int) throws com.adobe.idp.common.errors.exception.IDPException,com.adobe.idp.common.errors.exception. IDPSystemException, causedBy:<br />com.adobe.idp.common.errors.exception.IDPSystemException: nullorigin: | [com.adobe.idp.um.businesslogic.directoryservices.DirectoryServicesManagerBean] errorCode:13316 errorCodeHEX:0x3404 message:user_identifier:SuperAdmin domain:abx.xyz.com<br /> at com.adobe.idp.um.businesslogic.directoryservices.DirectoryServicesManagerBean.getExpanded AuthenticatedUser(DirectoryServicesManagerBean.java:1181)<br /> at sun.reflect.GeneratedMethodAccessor365.invoke(Unknown Source)<br /> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br /> at java.lang.reflect.Method.invoke(Method.java:585)<br /><br />[...]<br /><br />2008-05-15 16:40:01,937 INFO [com.adobe.idp.dsc.provider.service.email.impl.EmailWriterImpl] EmailWriterImpl error : 553 5.5.4 <user1>... Domain name required for sender address user1<br /><br />2008-05-15 16:40:01,937 INFO [STDOUT] javax.mail.MessagingException: 553 5.5.4 <user1>... Domain name required for sender address user1<br />2008-05-15 16:40:01,937 INFO [STDOUT] at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:1020)<br />2008-05-15 16:40:01,937 INFO [STDOUT] at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:716)<br />2008-05-15 16:40:01,937 INFO [STDOUT] at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:388)<br />2008-05-15 16:40:01,937 INFO [STDOUT] at <br /><br />[...]<br /><br />2008-05-15 16:40:01,953 INFO [STDOUT] at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)<br />2008-05-15 16:40:01,953 ERROR [com.adobe.idp.dsc.provider.service.email.impl.write.EmailResultHandlerImpl] Internal error.
bump...
Anyone got a fix for this? Vacation auto-reply is being bounced by 3rd party relay server due to malformed sender address. -
Seeburger mapping name required for ASN
Hi
I am trying to use the Seeburger AS2 adapter to send ASN (Advance shipping notification) to our partners.
The format of the EDI file is EANCOM2002. I want the standard Seeburger mapping name which will convert from xml to EDI EANCOM2002 format for ASN message.
Thanks in advance.
ShanthaIf you are expecting the naming conventions for SEEBURGER Mapping (BIC Mapping designer) here are few .Let me know if they are useful.
<b>ADOPTED NAMING CONVENTIONS</b>
1 - For Application Rules:
DOCUMENT_APLLICATION_DIRECTION_DATA (FILE EXTENSION FOR REFERENCE)
Length for each:
Document = 3 Samples of: PUR, POC, POA, ASN, TXT
Application = 4 Samples of: RECL, SOMS, HRMS, CORP, COMS, CONT
Direction = 1 Samples of: I or O
Data = 3 Samples of: DAT, XML, RPT
NOTE: Since spaces are not allowed in the names, S will be used as filler .
Sample Application Naming:
For 824 for Banking doc TXT_CORP_I_RPT
<b>General Rules:</b>
1- IF mapping is the same with HRMS & COMS
THEN Use CONT for Application
ELSE Use HRMS or COMS (which ever is appropriate)
2- IF document is the same for the entire corporation
THEN Use CORP as the Application
3- IF Generic
THEN No Suffix is required
ELSE Trading Partner Specific maps add the suffix
For Trading Partner specific rules, add the Name extension to the end of the rule. -
Netbios name required for Windows 7 clients to connect?
I upgraded my production server to Lion tonight.
My Windows 7 test machines (all standalone -- no AD here) now need to log into the server with the netbios name of the 10.7 server as part of the login:
ie, instead of "maser" as the User Name
it now requires "<netbiosname>\maser" as the User Name
Everything works, but that futz's up the pass-through authentication I had set up for the Win7 users whom I had just set their Windows account/password combination to match the 10.6 server account/password combination.
(smb://<server> from the Mac side doesn't care about the netbios name…)
Any suggestions on what might need to be tweaked in com.apple.smb.server.plist?
- SteveHi,
According to the error message: 接收到显式 EAP 失败, you can refer to the KB below to download and install hotfix tool for this problem for test.
Windows 7 does not connect to an IEEE 802.1X-authenticated network if an invalid certificate is installed:
http://support.microsoft.com/kb/2494172/en-us
In addition, another library that teaching about Configure 802.1X Wired Access Clients for EAP-TLS Authentication might be helpful with your problem.
http://technet.microsoft.com/en-us/library/dd759237.aspx
Roger Lu
TechNet Community Support -
Urgent ...Table name Require for appraisal competency
Hi All,
can some one help me to sort out this issue.
how can i know where the appraisal competency information is storing(i mean table names).
i mean when appraiser enter the competency for his appraise.
Thanks.
Edited by: user627525 on Mar 17, 2009 4:35 AMOr try this query is you want a rating that gives u a number 0-5 for performance rating. I did this query a while ago. it also gives rating for the last 3-4 years. HR also wanted the rating rounded off. so i included that but i am sure u dont need it
select distinct peo.person_id
,AK.AK_RATING "Final 2005/6"
,AK_DATE
,AC.AC_RATING "Final 2006/7"
,AC.AC_Date
,AF_Rating "Final 2007/8"
,AF_DATE
,nvl(to_char(AG.AG_Rating),'Not Yet Reviewed') "Current Rating 1st 6 mnths"
,nvl(to_char(AR.AR_RATING),'Not Yet Reviewed') "Current Rating 2nd 6 mnths"
,AG_DATE
from hr.per_all_people_f peo,
hr.per_all_assignments_f paa
,(SELECT DISTINCT peo.person_id AK_person_id
,pr.performance_rating AK_rating
, pr.review_date AK_date
FROM apps.per_performance_reviews pr,
hr.per_all_people_f peo
WHERE pr.person_id = peo.person_id
and pr.review_date = (select pr1.review_date
from apps.per_performance_reviews pr1
where pr1.person_id = peo.person_id
and pr1.review_date between '01-May-2006' and '31-Oct-2006' ) )AK
,(SELECT DISTINCT peo.person_id AP_person_id
, case when pr.performance_rating <= 0.5 then '0'
when pr.performance_rating > 0.5 and pr.performance_rating <= 1.5 then '1'
when pr.performance_rating > 1.5 and pr.performance_rating <= 2.5 then '2'
when pr.performance_rating > 2.5 and pr.performance_rating <= 3.5 then '3'
when pr.performance_rating > 3.5 and pr.performance_rating <= 4.5 then '4'
when pr.performance_rating > 4.5 and pr.performance_rating <= 5 then '5'
when pr.performance_rating = 9 then '9'
end ROUNDED_RATING
,pr.review_date AP_date
FROM apps.per_performance_reviews pr,
hr.per_all_people_f peo
WHERE pr.person_id = peo.person_id
and pr.review_date = (select pr1.review_date
from apps.per_performance_reviews pr1
where pr1.person_id = peo.person_id
and pr1.review_date between '01-May-2006' and '31-Oct-2006' ) )AP
,(SELECT DISTINCT peo.person_id AC_person_id
,pr.performance_rating AC_rating
, pr.review_date AC_date
FROM apps.per_performance_reviews pr,
hr.per_all_people_f peo
WHERE pr.person_id = peo.person_id
and pr.review_date = (select pr1.review_date
from apps.per_performance_reviews pr1
where pr1.person_id = peo.person_id
and pr1.review_date between '01-May-2007' and '31-Oct-2007' ) )AC
,(SELECT DISTINCT peo.person_id AA_person_id
, case when pr.performance_rating <= 0.5 then '0'
when pr.performance_rating > 0.5 and pr.performance_rating <= 1.5 then '1'
when pr.performance_rating > 1.5 and pr.performance_rating <= 2.5 then '2'
when pr.performance_rating > 2.5 and pr.performance_rating <= 3.5 then '3'
when pr.performance_rating > 3.5 and pr.performance_rating <= 4.5 then '4'
when pr.performance_rating > 4.5 and pr.performance_rating <= 5 then '5'
when pr.performance_rating = 9 then '9'
end ROUNDED_RATING
, pr.review_date AA_date
FROM apps.per_performance_reviews pr,
hr.per_all_people_f peo
WHERE pr.person_id = peo.person_id
and pr.review_date = (select pr1.review_date
from apps.per_performance_reviews pr1
where pr1.person_id = peo.person_id
and pr1.review_date between '01-May-2007' and '31-Oct-2007' ) )AA
,(SELECT pr.person_id AF_Person_Id,
pr.performance_rating AF_Rating,
pr.review_date AF_Date
FROM apps.per_performance_reviews pr,
hr.per_all_people_f peo
WHERE pr.person_id = peo.person_id
and pr.REVIEW_DATE between '01-May-2008' and '31-Oct-2008' )AF
,(SELECT pr.person_id AB_Person_Id
, case when pr.performance_rating <= 0.5 then '0'
when pr.performance_rating > 0.5 and pr.performance_rating <= 1.5 then '1'
when pr.performance_rating > 1.5 and pr.performance_rating <= 2.5 then '2'
when pr.performance_rating > 2.5 and pr.performance_rating <= 3.5 then '3'
when pr.performance_rating > 3.5 and pr.performance_rating <= 4.5 then '4'
when pr.performance_rating > 4.5 and pr.performance_rating <= 5 then '5'
when pr.performance_rating = 9 then '9'
end ROUNDED_RATING
,pr.review_date AB_Date
FROM apps.per_performance_reviews pr,
hr.per_all_people_f peo
WHERE pr.person_id = peo.person_id
and pr.REVIEW_DATE between '01-May-2008' and '31-Oct-2008' )AB
,(SELECT pr.person_id AG_Person_Id,
pr.performance_rating AG_Rating,
pr.review_date AG_Date
FROM apps.per_performance_reviews pr,
hr.per_all_people_f peo
WHERE pr.person_id = peo.person_id
and pr.REVIEW_DATE between '01-Nov-2008' and '30-Apr-2009' )AG
,(SELECT pr.person_id AQ_Person_Id
, case when pr.performance_rating <= 0.5 then '0'
when pr.performance_rating > 0.5 and pr.performance_rating <= 1.5 then '1'
when pr.performance_rating > 1.5 and pr.performance_rating <= 2.5 then '2'
when pr.performance_rating > 2.5 and pr.performance_rating <= 3.5 then '3'
when pr.performance_rating > 3.5 and pr.performance_rating <= 4.5 then '4'
when pr.performance_rating > 4.5 and pr.performance_rating <= 5 then '5'
when pr.performance_rating = 9 then '9'
end ROUNDED_RATING
,pr.review_date AQ_Date
FROM apps.per_performance_reviews pr,
hr.per_all_people_f peo
WHERE pr.person_id = peo.person_id
and pr.REVIEW_DATE between '01-Nov-2008' and '30-Apr-2009' )AQ
,(SELECT pr.person_id AR_Person_Id,
nvl(pr.performance_rating,0) AR_Rating,
pr.review_date AR_Date
FROM apps.per_performance_reviews pr,
hr.per_all_people_f peo
WHERE pr.person_id = peo.person_id
and pr.REVIEW_DATE between '01-May-2009' and '31-Oct-2009' )AR
,(SELECT pr.person_id AU_Person_Id
, case when pr.performance_rating <= 0.5 then '0'
when pr.performance_rating > 0.5 and pr.performance_rating <= 1.5 then '1'
when pr.performance_rating > 1.5 and pr.performance_rating <= 2.5 then '2'
when pr.performance_rating > 2.5 and pr.performance_rating <= 3.5 then '3'
when pr.performance_rating > 3.5 and pr.performance_rating <= 4.5 then '4'
when pr.performance_rating > 4.5 and pr.performance_rating <= 5 then '5'
when pr.performance_rating = 9 then '9'
end ROUNDED_RATING
,pr.review_date AU_Date
FROM apps.per_performance_reviews pr,
hr.per_all_people_f peo
WHERE pr.person_id = peo.person_id
and pr.REVIEW_DATE between '01-May-2009' and '31-Oct-2009' )AU
where peo.person_id = paa.person_id
and trunc(sysdate) between peo.effective_start_date and peo.effective_end_date
and trunc(sysdate) between paa.effective_start_date and paa.effective_end_date
AND peo.CURRENT_EMPLOYEE_FLAG = 'Y'
AND paa.PRIMARY_FLAG = 'Y'
AND paa.ORGANIZATION_ID != 1301
AND peo.EMPLOYEE_NUMBER != '0000001'
AND peo.BUSINESS_GROUP_ID = '82'
and AC.AC_person_id(+) = peo.person_id
AND AF.AF_PERSON_ID(+) = PEO.PERSON_ID
and AG.AG_PERSON_ID(+) = PEO.PERSON_ID
and AK.AK_PERSON_ID(+) = peo.person_id
AND AA.AA_PERSON_ID(+) = PEO.PERSON_ID
AND AB.AB_PERSON_ID(+) = PEO.PERSON_ID
and AP.AP_PERSON_ID(+) = PEO.PERSON_ID
and AR.AR_PERSON_ID(+) = PEO.PERSON_ID
and AQ.AQ_PERSON_ID(+) = PEO.PERSON_ID
and AU.AU_PERSON_ID(+) = PEO.PERSON_ID
order by peo.person_id -- , pr.review_date desc -
Process chain name required for a infopackage
Hi,
Is there a table in BW that stores the process chain name and IP's in it. We need to find the names of process chains based on the Info package names.
Regards,
Adarsh MhatreHi Adarsh
Check these tables
Tables for Process Chain logs
RSEVENTHEAD -
Header for the event chain
RSEVENTHEADT -
Header for the event chain
RSPCCHAIN----
Process chain details
RSPCCHAINATTR------- Attributes for a Process Chain
RSPCCHAINEVENTS------- Multiple Events with Process Chains
RSPCCHAINT----
Texts for Chain
RSPCPROCESSLOG----
Logs for the Chain Runs
RSPCRUNVARIABLES----
Variables for Process Chains for Runtime
RSPC_MONITOR----
Monitor individual process chains
Regards
Jagadish -
User Exit/BADI name required for changing schedule lines (VA01 and VA02)
Hi all,
Please tell me an exit or badi for modifying VBEP date i.e. VBEP-EDATU which triggers for a change in any of the following fields:
1. VBAK-KUNNR; 2. VBAK-VDATU and 3. VBAP-WERKS
Currently I tried using USEREXIT_MOVE_FIELD_TO_VBEP and FORM USEREXIT_CHECK_VBEP but nothing is giving me the results as desired.
Pls help, points will b awarded for helpful ans.
thanks
SangharshHave a look at below link which gives details related to user exits in VA01/VA02.
http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm
I hope it helps.
Best Regards,
Vibha
*Please mark all the helpful answers -
Table names required for workflow definition
Hi All,
I need to know which tables stores all the task level information for a given workflow.
Also alongwith the above query need to know which table stores information of exception and parameter for BOR methods.
Thanks in advance,
ImranHi Imran,
If I understand your query... you need a table that stores information of the workitems.
See if the table SWWWIHEAD (Header Table for all Work Item Types) helps you.
Hope this helps!
Regards,
Saumya -
Zip files required for Reporting and Analysis
Hi All,
Kindly share me the Zip files(File Name) required for configuring the Report and Analysis for the version 11.1.1.3.
Thank and Regards
ChiDamDepends which products, have a look at - http://docs.oracle.com/cd/E12825_01/epm.111/epm_install_11114/frameset.htm?ch02s02s03.html
It says 11.1.1.1.4 but just change it to 11.1.1.3
Cheers
John
http://john-goodwin.blogspot.com/ -
JAR Files and Applets with Java Plug-In
This seems to be a basic question, but I can't figure it out! I have a jar file that contains all my class files for my applet. The jar file is in the same directory as the following html file:
<html>
<body>
<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
WIDTH = 700 HEIGHT = 510 codebase="http://java.sun.com/products/plugin/1.3.1/jinstall-131-win32.cab#Version=1,3,1,0">
<PARAM NAME = ARCHIVE VALUE = "myFiles.jar" >
<PARAM NAME = CODE VALUE = "MainView.class" >
<PARAM NAME="type" VALUE="application/x-java-applet;jpi-version=1.3.1">
<PARAM NAME="scriptable" VALUE="false">
</OBJECT>
</body>
</html>
I've checked the jar file, it's the same name. MainView.class is most certainly in the jar file - yet everytime I open the page up, I get the class not found error:
java.lang.ClassNotFoundException: java.io.FileNotFoundException
MainView.class (The system cannot find the file specified)
If I don't jar the files, the applet works fine - but I want to jar them as it's some 20 class files. What am I doing wrong?I've had a similar problem where it pops up the Java Extension Installation window, and starts downloading. Everything appears normal, but when it tries to run the applet it gets "load: class <className> not found" where <className> is the name of the class in my CODE parameter.
It appears that on occasion the download of the jar gets cut off. When I searched the browser's cache, I find a jar file that has fewer bytes than it should. In order to initiate a retry, you have to delete the jar file from your browser's cache, close all your browser windows so that the Plug-in with its truncated jar file stops running, and load the HTML page again. It appears that it checks the timestamp of the jar file in your cache and the one on the server and decides that it doesn't need to download it again. But if you delete it from your cache, it forces a retry.
I never have this problem when I open from my hard drive. I've never had the problem with a cable modem connection. I've had it once from a corporate LAN hitting an internet server (ie., outside corporate WAN). I've had people report the problem with dial-up connections. My theory is that whatever Sun is using to download the applet is more sensitive than either HTTP download or FTP.
Has anybody else experienced this problem? Is there anything you can do about it? I couldn't find a bug report on it. Is there one? -
Requirement for object key for HashMap
Hi,
I would like to put the object to HashMap keyed by my own object. what is the requirement for the class to be key? I have a method boolean equals(Object o) defined in the key class, My key is composed by 2 ids, so in the equals method I compared the 2 ids. but it seems can't get the value out. Please help. ThanksHow do I supposed to do the hashCode? If myKey1.equals(myKey2) returns true, then myKey1.hashCode() must return the same value as myKey2.hashCode(). One consequence of this is that if something is not used to compuate equals(), then it must not be used to compute hashCode(). (Note that the reverse is not true. That is, if two objects are not equal, they can still return the same value from hashCode(), and hence, if some data is used for equals() it may still be left out of hashCode().)
You want hashCode to be 1) quick & easy to compute and 2) "well distributed" or "mostly unique. If you know how hashcodes are used (in the general sense, not just the Java hashCode() method) then you should understand why those properties are desirable. If not, just ask.
The most common approach is to use some subset of the object's fields in computing the hashCode. If you have a Person object with lastName, firstName, birthdate, height, weight, address, phone number, you probably wouldn't use all those fields. You could just lastName, or maybe a combination of lastName and firstName.
One generally combines multiple pieces by taking XORing (the "^") operator the individual pieces (for primitives) or their hashcodes (for objects). For example, in the Person example: public int hashCode() {
return lastName.hashCode() ^ firstName.hashCode(); // but make sure to check for null first
} -
Hi folks
i need to know the IBM's Jar file and download the same which consists of following Classes.
com.ibm.connector.ConnectionSpec
com.ibm.connector.InteractionSpec
com.ibm.connector.ConnectionSpecManagementProperties
com.ibm.connector.InteractionSpecModeProperties
I know these classes are part of CCF Framework.
please let me know at earliestTime . am need of this info.
Regards
RamThanks for your info.
But the article uses javx.resource.cci.CoonnectionSpec class,(J2EE Connector Architecture) But I need to get info about com.ibm.connector.CoonnectionSpec(CCF old one)
(It's part of Enterprise Access Builder).
I need to know the exact jar File(which is having above mentioned Class file) and where to download the same.
But I still need a old one as part of our implementation.
Awating for your reply.
Thx
Ram -
How to search for a class to know it is in which Jar file
Hi Guys,
Can any tell me how to search a class file. I have a set of Jar files in which the required class file is there. But i don't know in which Jar file the class is. Is there any way to find out.
Regards,
Gowtham K.Hi Gowtham,
Please download the Class locator from the following site. This will help to know what you are looking for.
<b>http://www.alphaworks.ibm.com/tech/jarclassfinder</b>
<b>http://sourceforge.net/projects/classlocator</b>
I hope this solves your problem.
Regards
Pravesh
PS: Please consider rewarding points for helpful answer. -
Jar file for tcRequestOperationsIntf class
Hi,
Could you please let me know the jar file name where tcRequestOperationsIntf class is present. I need to do some API operation using this class.
Please help.
ThanksHi Kevin,
Thanks for sharing such a useful link.
I followed the step mentioned in the link shared by you, but I am getting the following error message :
java.io.InvalidClassException: oracle.bpel.services.common.exception.ServicesException; local class incompatible: stream classdesc serialVersionUID = 1, local class serialVersionUID = -2263933888849127134
Please let me know if you know how to solve this issue.
Thanks again for the help. -
I have a set of Jar files which i need to load using Custom Class Loader. Any one who has Javacode for Custom Class Loader for loading Jar files send it. The Jar files are local jar files.
Here is the class loader I use:
import java.net.URL;
import java.net.URLClassLoader;
import java.net.JarURLConnection;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.lang.reflect.InvocationTargetException;
import java.util.jar.Attributes;
import java.io.IOException;
* A class loader for loading jar files, both local and remote.
public class JarClassLoader extends URLClassLoader {
private URL url;
private URL[] m_urlList = new URL[10];
* Creates a new JarClassLoader for the specified url.
* @param url the url of the jar file
public JarClassLoader(URL url,ClassLoader cl) {
super(new URL[] { url },cl);
this.url = url;
public JarClassLoader(URL[] urlList,ClassLoader cl) {
super( urlList,cl);
this.m_urlList = urlList;
* Returns the name of the jar file main class, or null if
* no "Main-Class" manifest attributes was defined.
public String getMainClassName() throws IOException {
URL u = new URL("jar", "", url + "!/");
JarURLConnection uc = (JarURLConnection)u.openConnection();
Attributes attr = uc.getMainAttributes();
return attr != null ? attr.getValue(Attributes.Name.MAIN_CLASS) : null;
* Invokes the application in this jar file given the name of the
* main class and an array of arguments. The class must define a
* static method "main" which takes an array of String arguemtns
* and is of return type "void".
* @param name the name of the main class
* @param args the arguments for the application
* @exception ClassNotFoundException if the specified class could not
* be found
* @exception NoSuchMethodException if the specified class does not
* contain a "main" method
* @exception InvocationTargetException if the application raised an
* exception
public void invokeClass(String name, String[] args) throws ClassNotFoundException,
NoSuchMethodException,
InvocationTargetException
Class c = loadClass(name);
Method m = c.getMethod("main", new Class[] { args.getClass() });
m.setAccessible(true);
int mods = m.getModifiers();
if (m.getReturnType() != void.class || !Modifier.isStatic(mods) || !Modifier.isPublic(mods)) {
throw new NoSuchMethodException("main");
try {
m.invoke(null, new Object[] { args });
} catch (IllegalAccessException e) {
// This should not happen, as we have disabled access checks
}
Maybe you are looking for
-
Not able to see disk connected to AirPort Extreme 802.11n
I just installed my AirPort Extreme 802.11n Wireless Base station. Wireless internet works like a charm, however, I cannot see my external hard disk when it is connected to the base station (amber light blinking and when checking the problem, I am to
-
How To: CF11 Clustering without Multicast (AWS)
This week I've been working on getting clustering setup for a client. Initially we were using CF10 with the latest patches. Ideally we wanted non-sticky load balancing with session replication. We want really high availability with the option to rebo
-
How to raise role creation/modification request in AC 10
We are implementing AC10. I have issue more related to the process followed than technical. Please suggest from your experience. We found that we can raise the request for new user account, role assignment to user, etc in Acess Request(formerly CUP),
-
Batch file for checking every folder
hello friends, i have query in creating batch programming. i have lot of folders in my local drive. i want to create a log file in every folder but log file is already available in some folders. i need a program that follow bellow steps. 1. check th
-
I just bought an ipad2, installed it on my pc (Windows Vista Business) and when I try to start itunes, it goes to the "agree" with the terms page. I agree and then it closes and never continues. I uninstalled and reinstalled and restarted. Still