Which jar has ConnectionProperties class file?
Hi,
I am trying to connect to the SAP system. I am unable to find the <b>ConnectionProperties class file</b>. It is not there in com.sap.portal.ivs.connectorservice_api jar file.
Please let me know where this class file is and send me the appropriate jar file.
I tried going to libraries.zip, but it is not there either.
Hi Akhilesh,
There is no such jar file in the installation. I have com.sap.portal.ivs.<b>connectorservice_api.jar</b>. There is a underscore before api. This jar does not have the ConnectionProperties class.
If you have this jar, please mail me. My ID is <b>[email protected]</b>
Thanks in advance,
Regards,
Madhu
Similar Messages
-
Which jar file has WFTaskUpdate.class file ?
Hi BPEL Champs;
For TaskList application, we have payload-body.jsp file which has the below <form> element :-
<form id="PayloadJSPHTML" name="PayloadJSPHTML"
action="WFTaskUpdate"
method="post" onSubmit="return validateData(this)">
I want to know which jar contains the .class file for :-
oracle.bpel.services.workflow.worklist.servlet.WFTaskUpdate
Or do anybody knows the location of WFTaskUpdate.java servlet in worklistapp folder ?
Please do help and co-operate.C:\OraBPEL\bpel\system\services\lib\bpm-services.jar contains WFTaskUpdate.class file.
-
Conversion of a .jar OR a .class file into a .exe file
Can anyone tell me as how to convert a .jar OR a .class file into a .exe file
I need to know as soon as possible.Okay I will tell you the steps:
Look in the top right hand corner of the page.
There should be a box with a red title line. Inside the
title should be the letters 'S E A R C and H'.
In the white part of th box should be a smaller line, in which you can type.
type in "conversion .jar .class .exe" or some similar string.
Then click on the button next to the text box.
Read the page of results you get.
Click on the first link and read what is said on the connecting page.
If that doesn't help, use your browser's back button and click on the next link, and repeat util your question is answered. -
Deployed EJB.jar has some classes with zero bytes
Has anyone hit a situation where Windows Jdev 902 puts class files into the ....EJB.jar file with zero bytes? In my case, the eight zero length classes are: seven My...Row.class files and the MyApplicationModule.class file. They all are in the /mypackage/common/ package and are in the ...classes/mypackage/common/ file folder.
I can use PKZIP to delete the zero length classes and add them back into the .jar and everything works as expected.
There are no error messages generated during the deployment that creates the .jar file that has the problem.This was posted on another thread by jdev team...
We have been following this issue in support TAR 2274825.996. I sent some technical detail to the support rep on July 10, but it looks like that information never got added to the TAR. Well, FWIW, here it is:
The user may be running out of open files. The
stdio library which underlies Win32 programs (like the JVM) has a
limit on the number of files that can be open concurrently. The
limit is around 2000-2100 open files (I tested this on NT, 2000, and
XP), and the limit is on a per-process basis. If the user is running
into this limit because JDev has too many open files, then the utility
methods we use to open JAR files or other streams could be receiving
a java.io.FileNotFoundException exception with the message "Too many
open files". To verify this: go to the Windows Task Manager, go to
View | Select Columns... and be sure the "Handle Count" checkbox is
checked. Does the jdev.exe process have a disproportionately higher
number of handles than other processes? If the Handle Count is above
2000 (approx), JDev might be running out of open files. (I say "might" because
the Handle Count is for many different kinds of Win32 kernel objects,
not just for file handles.) If the Handle Count is the problem, then
it would explain the transient, nondeterministic behavior that the
user is reporting. Because the Handle limit is per-process, it would
explain why the user is able to use PKZIP or WinZip to repair the JAR
file. Try closing editors before deploying and see if that helps.
If the user confirms that the Handle Count is excessive, then we may
have a Handle leak of some kind in the product that will need to be
fixed.
Also try running JDev using "jdev -hotspot" on the command line instead
of just "jdev" and see if the behavior changes.
Hope that helps. We are monitoring the TAR, but no one has been able to reproduce the problem you are reporting, even with the files attached to the TAR, and yours is the only report so far that we've received about this specific problem.
I have added several more entities and views into app module. As I added each one, the list of zero byte jar classes would change, but always about 7-8 bad ones. Now that I am no longer adding new entities/views, the problem has become stable and repeatable. The same classes ALWAYS show up with zero bytes.
I monitored jdevw.exe while doing the deploy, and the number of handles never went above 675. I ran with jdevw.exe -hotspot and the results were exactly the same.
thanks,
Roger -
How to create a Jar with only class files?
Dear all,
I want to create a jar file with only classes.My class files and java files are in different folders under com .
say
com
in com there are two folders
folder 1 -- subfolder 1
folder 2 -- subfolder 2
like this.
If i want to create a jar file from com directory how should i give the jar command.Again my jar should contain only .class files.
Any help will be appreciated
Thanks
lekshmiIt doesn't work.Says "No such class or directory"
Any other way Or is it possible to do so?Read the link I posted and create the statement to make your structure. I was thinking you were inside the com directory but if you are above it you will need something like this instead:
jar -cf test.jar com\*.class com\subfolder1\*.class com\subfoler2\*.class
But either way don't just copy and past this. Think about what is does so that you can make it work for you.
Also, you might want to look into using Ant if you are going to be building this a lot. -
Classes12.jar with connection.class file
Hi All,
I want to download classes12.jar file which contains connection.class which is used for datasoruce.Can you please get me the download URL for the same.Please help me out as i got classes12.jar file but it doesnt contain the connection.class,if it doesnt have the connection.class it gives me a JMS:112 error which says invalid connection.
Do please help me out in getting the classes12.jar file link for download.
Thnaks in advance.
Regards,
KalyanWhat is the Oracle database version? What is the JDK version? Various versions of classes12.jar are available.
Please download classes12.jar from
http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html -
Which jar contains INavigationMimeRepositoryService class
I am reviewing the code to build my own version of a workset map. I'm missing a jar file. Does anyone know where I might find the jar file containing
INavigationMimeRepositoryService?
The code in question is
INavigationMimeRepositoryService mimeRepositoryService = (INavigationMimeRepositoryService)PortalRuntime.getRuntimeResources().getService("com.sap.portal.navigation.mimeservice.navigation_mime_repository");
I cannot do a build as the INavigationMimeRepositoryService cannot be resolved.
Regards,
Diane FullerHi,
the jar file in question is com.sap.portal.navigation.api_mimeservice_api.jar
You can find it under portalapps/com.sap.portal.navigation.api_mimeservice/lib/
I recommend the use of the class locator in
nwds:
[http://classlocator.sourceforge.net/]
Best regards,
Avishai Zamir -
Include rt.jar class files in my own jar file to run 1.2+ applets on MS JVM
My problem is this. I'm writing an applet (which includes 1.2 classes) for my organization (over 2000 NT workstations) in which no one has administrative privelages to install Sun's JRE 1.2 or greater. The target browser is IE 5. Our NT admins are having problems pushing the JRE out so my only two options are to rewrite everything as 1.1 or somehow include the missing class files from rt.jar.
I really do not want to rewrite it all!
I was able to extract the missing class files (i.e. /java/util/HashMap.class) but I cannot figure out how to get the IE JVM to use them. Things I have tried:
1. jarred up all my class files along with the missing classes from rt.jar.
$ jar cvf test.jar *.class java
added manifest
adding: ArrayObj.class(in = 731) (out= 448)(deflated 38%)
adding: DivMonGrid.class(in = 1509) (out= 812)(deflated 46%)
adding: GridLayout2.class(in = 2720) (out= 1514)(deflated 44%)
adding: Item.class(in = 317) (out= 232)(deflated 26%)
adding: Row.class(in = 588) (out= 365)(deflated 37%)
adding: Screen.class(in = 672) (out= 416)(deflated 38%)
adding: Site.class(in = 545) (out= 360)(deflated 33%)
adding: divmonDash.class(in = 12506) (out= 6892)(deflated 44%)
adding: java/(in = 0) (out= 0)(stored 0%)
adding: java/util/(in = 0) (out= 0)(stored 0%)
adding: java/util/HashMap.class(in = 6668) (out= 3461)(deflated 48%)
adding: java/util/HashMap$1.class(in = 931) (out= 513)(deflated 44%)
adding: java/util/HashMap$2.class(in = 800) (out= 454)(deflated 43%)
adding: java/util/HashMap$3.class(in = 1608) (out= 904)(deflated 43%)
adding: java/util/HashMap$EmptyHashIterator.class(in = 592) (out= 358)(deflated 39%)
adding: java/util/HashMap$Entry.class(in = 1505) (out= 775)(deflated 48%)
adding: java/util/HashMap$HashIterator.class(in = 1814) (out= 1096)(deflated 39%)
$ jar -tf test.jar
META-INF/
META-INF/MANIFEST.MF
ArrayObj.class
DivMonGrid.class
GridLayout2.class
Item.class
Row.class
Screen.class
Site.class
divmonDash.class
java/
java/util/
java/util/HashMap.class
java/util/HashMap$1.class
java/util/HashMap$2.class
java/util/HashMap$3.class
java/util/HashMap$EmptyHashIterator.class
java/util/HashMap$Entry.class
java/util/HashMap$HashIterator.class
RESULT: IE JVM complains classnotfoundexception (its complaining about not finding HashMap.class)
2. Tried to just place missing *.class files in same directory as my class files
RESULT: Compiler error (complaining about file not be in correct path package) I understand this because when it was created the package statement has the class file in java/util/.
If anyone has done this before or knows how to do it, please help me out.
Thanks!When the collection classes first came out, I think they were available in a separate jar (although the package name may be slightly different). If it's just collection classes, that might be worthwhile looking at.
The MS JVM may be spewing because the class format is too new; you may try with rt.jar classes from an older JVM (such as JDK 1.2), or try to recompile them from source using -target 1.1. -
Finding loaded Class file from particular Jar
Hi,
I have multiple jars containing same class file.
How can I find out that the loaded Class file belongs to particular jar?
Thanks
madanIn most cases it's possible with ProtectionDomain and CodeSource:ProtectionDomain pd = YourClass.class.getProtectionDomain();
CodeSource cs = pd.getCodeSource();
if (cs != null) {
System.out.println("It came from " + cd.getLocation());
} else {
System.out.println("Location unknown.");
}For further information see
[url http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Class.html#getProtectionDomain()]http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Class.html#getProtectionDomain()
http://java.sun.com/j2se/1.4.2/docs/api/java/security/ProtectionDomain.html
http://java.sun.com/j2se/1.4.2/docs/api/java/security/CodeSource.html -
Trying to access methods from a .class file by creating instance of class
Hey all,
I'm hoping you can help. I've been given a file "Input.class" with methods such as readInt(), readString(), etc. I have tried creating instances of this class to make use of it, but I receive the error "cannot find symbol : class Input".
If you could help at all, I would greatly appreciate it.
Here's my code. The first is the base program, the second is the driver.
import java.util.*;
public class CarObject
private String makeType = "";
private String modelType = "";
private int yearOfRelease = 0;
private double numOfMiles = 0.0;
public void setFilmTitle(String make)
makeType = make;
public void setMediaType(String model)
modelType = model;
public void setYearOfRelease(int year)
yearOfRelease = year;
public void setNumOfMiles(double miles)
numOfMiles = miles;
public String getMakeType()
return makeType;
public String getModelType()
return modelType;
public int getYearOfRelease()
return yearOfRelease;
public double getNumOfMiles()
return numOfMiles;
The program is used by a rental car company and the object takes on desired attributes.
import java.util.*;
public class TestCarObject
static Scanner keyboard = new Scanner(System.in);
public static void main(String[] args)
System.out.println("Please answer the following questions regarding your rental car order.");
Input carinput = new Input();
String makeType = carinput.readString("Enter your desired make of car: ");
String modelType = carinput.readString("Enter your desired model of car: ");
int yearOfRelease = carinput.readInt("Enter the oldest acceptable year of release to rent: ");
double numOfMiles = carinput.readDouble("Enter the highest acceptable number of miles: ");
System.out.println("Make: " + makeType);
System.out.println("Model: " + makeType);
System.out.println("Year: " + makeType);
System.out.println("Mileage: " + makeType);
}No, I don't know the package name....Is there a way
to import the Input.class by itself without importing
the entire packge?
I tried extending the driver program too...It didn't
work either...
Message was edited by:
BoxMan56How do you know you have a class called Input.class ?
You got a jar file which contains it ? or just a simple .class file ?
You have to set the classpath in either case.
But for the former, you should also need to explicitly telling which package containing the class file you looking for (i.e. Input.class)
e.g. java.util.Vector which is a class called Vector inside java.util package.
You don't have to import the whole package, but you should tell which package this class belongs to. -
Which JAR's are required to run a Web Service Proxy?
Hi,
I successfully generated a Web Service Proxy, which runs when I start it in JDeveloper. However when I generate a JAR with all classe files, and try to start the main class of this JAR I get the following error:
java.lang.NoClassDefFoundError: javax/xml/rpc/ServiceFactory
Which additional JAR's do I need to run the Web Service Proxy outside JDeveloper.
Note, that I have JRE 1.4 and not 5!
Thanks for hints ThomasHi,
the class is part of Java EE 5 platform. So you need to run it n that context
Frank -
How to convert a .class file?!!
sorry guys,
but I've a question in knowing the code of some file,
I've zipped file, when I unzip it, it contains an html page with a .class files
(passing parameters to applet)
my problem is that I want to know the code of the .java file (which is not included)
but the program is working well, coz I have the .class file,
so, can I convert this .class file into a java file, so its java code could be readable (to understand it)
thanks in Advance :)sorry man, but Can't u send me a specific link for downloading this "Java decomplier"
coz I found my self in something called (jad decompiler) with lots of versions and this is confusing
and Is that mean, that there's a decompiler which can convert the .class file into .java one?
and thanks alot man.....u help me always!
(I'm still begginner in java) -
Convert .class files into .java files???
Does anybody know how to convert x.class file back to a x.java file. Or in other terms, extract .java files from a jarfile??
Thanks for any help
/carlosDoes anybody know how to convert x.class file back to a x.java file.As Dr.Clap said, that's decompiling.
Or in other terms, extract .java files from a jarfile??That isn't quite the same thing. You can decompile a .class that's in a jar, but a .class file doesn't have to be in a jar and a file in a jar isn't necessarily a .class. -
Java .class files - Moving the Main Class .class file to a new location
Novice question....so much so that I hope it's even coherent...
In a Java program which references many associated .class files (e.g. bicycleMain.class, bicycleSub1.class, bicycleSub2.class, etc....), do the associated .class files always have to be located in the same directory as the Main .class file?
What I'm getting at is - If I've developed an application consisting of several .class files on my own Windows PC and I want to put the compiled application out on our Windows File Server so that anyone can execute my application, how would I go about doing this?
Say I put the compiled .class files in H:\PROJECTS\JAVA\COMPILED\, will other people be able to execute the application from their PCs by simply issuing the command line:
'java h:\projects\java\compiled\bicycleMain'
Any insights would be very helpful in getting me oriented. Thanks in advance.Interesting...so are you saying the command line might look something like this:
java -classpath h:\projects\java\compiled bicycleMain
And if I want other people to be able to execute the application without specifying the -classpath option then they would need to manually update the ClassPath environment variable on their individual PCs first? -
Jsp file not able to locate class file in JWS 2.0
hello all,
i am a beginner at jsp...
my problem....
i have created a jsp file which accesses a SpellCheck.class file..
i am using Java Web Server 2.0...
and in the classpath i have set the classpath variable to c:\javawebserver2.0\lib. I have placed the class file in this directory.
Now when i run the jsp file it gives the following errors...
C:\JavaWebServer2.0\tmpdir\default\pagecompile\jsp\_wordpro.java:73: Class pagecompile.jsp.SpellCheck not found in type declaration.
SpellCheck help = null;
^
C:\JavaWebServer2.0\tmpdir\default\pagecompile\jsp\_wordpro.java:76: Class pagecompile.jsp.SpellCheck not found in type declaration.
help= (SpellCheck)
^
C:\JavaWebServer2.0\tmpdir\default\pagecompile\jsp\_wordpro.java:81: Class pagecompile.jsp.SpellCheck not found in type declaration.
help = (SpellCheck) Beans.instantiate(getClassLoader(), "SpellCheck");
^
3 errors
i guess this is happening because it cant find the .class file.
MY QUESTION IS:
where should i place the class file so the the .jsp is able to locate it??
the code of the jsp is as follows:
<%@ page language="java"%>
<jsp:useBean id="help" scope="request" class="SpellCheck">
<%
System.out.println("Working with the bean");
help.setWord(request.getParameter("word"));
%>
</jsp:useBean>
<html>
<body>
You entered the input,
<b> <%= request.getParameter("word")%></b><br>
The processed output is:<br>
<%= Integer.parseInt(request.getParameter("mode"))==1 ? help.reverse() : " "+help.check() %>
</body>
</html>just place your class file in JWS2.0/classes directory
and restart you Serverhi
yes ive done it...
1. ive placed the .class file in JWS2.0/classes directory
2. ive placed the .jsp file and the .html file in the JWS2.0/public_html directory... it still does'nt work...
:o(
boney
Maybe you are looking for
-
I have Time Machine backup on an external drive. I want to mirgrate all my files onto the new Mac Pro but migration is getting hung up and cant find the drive. Can I set up Time Machine for the new mac on this same drive and then select the old macs
-
Developer 6i with patch 18 and oracle 11g connection issue
hi , I installed Oracle database 11g on server , when login to my application and open any form or report ,get oracle connection user and password what should i do ? please help me
-
What is the best way to edit meta data..
What is the best way to edit meta data and tag photos, faces, places etc. and have the data saved to the original photo. On a PC I would just use Windows Gallery. iPhoto on the Mac allows for some tagging, but it doesn't save to the original file. I
-
Best Setup For Frequent File Sharing On Home Network?
Hi guys, I'm setting up an office at my house with multiple computers on a network, and we'll be sharing files over the network frequently. My question is, what is the best setup for this?.. Fastest transfer of files, stable wireless connection, etc.
-
AJAX supported in Oracel Portal ?
Dear all, Can anyone suggest me some information on AJAX support in Oracle Portal ? thanks George (HK)