About hashCode()
hello, i just want to ask, if a certain string converted
into a hash code can be retrieve/turn back to it's
original form?
ex. String n = "alice"; ---> int value = n.hashCode();
can "value" return to "n" as (alice)?
can they provide example code in order to help me solve
my problem? thanks in advance..
No.
A tiny bit of logic will tell you this is impossible. There are 2^32 possible hashcode values. There are far more possible strings. Hashcode is not intended to be unique or reversible.
Similar Messages
-
About hashCode() function..
What is the use of hashCode() function.
It is in both String and Hashtable classes...
What is the necessity having same function in both classes..
What actually it returns...
Can we use it with any type objects?I hope everybody know that java have special
treatment for Strings.
int hash1 = "ABCDEa123abc".hashCode();
int hash2 = "ABCDFB123abc".hashCode();Both the time the string used "ABCDEa123abc" will
have the same reference. You are trying to make a valid point, but you missed the fact that those two strings are not equal, but produce the same hashCode(). This happens, because you are mapping a large value space (Strings) to a much smaller space (int).
It's used to demonstrate that you must not depend on the hashCode beeing unique.
>
Thats why u always get the same hashcode. -
SCJP 5.0 A question about hashcode() and equals()
Here's an exercise from a book.
Given:
class SortOf {
String name;
int bal;
String code;
short rate;
public int hashCode() {
return (code.length()*bal);
public boolean equals(Object o) {
//insert code here
Which of the following will fulfill the equals() and hashCode() contracts for this
class? (Choose all that apply)
A return ((SortOf)o).bal == this.bal;
B return ((SortOf)o).code.length() == this.code.length();
C return ((SortOf)o).code.length()*((SortOf)o).bal == this.code.length()*this.bal;
D return ((SortOf)o).code.length()*((SortOf)o).bal*((SortOf)o).rate ==
this.code.length()*this.bal*this.rate;
C is a correct answer but D is also a correct answer according to the book writer,
and I don't understand why.
Normally, the rule is that if two objects are equals (according to the equals
method)) then they must return the same hashcode. If we have two objects A and B;
and A.bal == 2, A.code.length()==3, A.rate == 4 and B.bal == 4, B.code.length() ==
3 and B.rate == 2. A and B are equals according with the D answer but they do not
return the same hashcode.
May someone help me make it clear?Generally ,the instance members decides the equals( ) & hashCode( ) contract . Here the code.length , bal fields are generating the hashCode.
So it is appropriate to override the equals( ) method in such a way that , thonly those two fields wil decid the equality of the objects .
Thanks,
laksh. -
HashCode function in Object class.
Hi! to all!
I have got a confusion about hashCode function of Object class, which returns an integer.
What is the real purpose of introducing this method in Object class.
Please comment.hashCode() method of the object is intorduced for the benefit of collections like HashTables. Typically
hashCode method should return distinct integers for distinct objects which are decided distinct based on
equals method of the object. Though this is not mandatory , if distinct objects have distinct
hashCodes, it will improve the performance of HashTables.A good distribution of hash codes will indeed help in the performance of a HashMap or Hashtable. However, by definition, hashcodes are not necessarily distinct for objects that are distinct based on equals. Two objects for which "equals" is true should have the same hashcode, but two objects which have the same hashcode don't have to have "equals" be true. There is a limited number of hashcodes (the range of int), but an unlimited number of objects. So, some objects will necessarily have the same hashcode. The pigeonhole principle describes this situation:
http://en.wikipedia.org/wiki/Pigeonhole_principle -
Multiple return values (Bug-ID 4222792)
I had exactly the same request for the same 3 reasons: strong type safety and code correctness verification at compile-time, code readability and ease of mantenance, performance.
Here is what Sun replied to me:
Autoboxing and varargs are provided as part of
JSRs 14 and 201
http://jcp.org/en/jsr/detail?id=14
http://jcp.org/en/jsr/detail?id=201
See also:
http://forum.java.sun.com/forum.jsp?forum=316
http://developer.java.sun.com/developer/earlyAccess/adding_generics/index.html
Multiple return values is covered by Bug-ID 4222792
Typically this is done by returning an array.
http://developer.java.sun.com/developer/bugParade/bugs/4222792.html
That's exactly the problem: we dynamically create instances of array objects that would better fit well within the operand stack without stressing the garbage collector with temporary Array object instances (and with their backing store: 2 separate allocations that need to be recycled when it is clearly a pollution that the operand stack would clean up more efficiently)
If you would like to engage in a discussion with the Java Language developers, the Generics forum would be a better place:
http://forum.java.sun.com/forum.jsp?forum=316
I know that (my report was already refering to the JSR for language extension) Generics is not what I was refering to (even if a generic could handle multiple return values, it would still be an allocated Object
instance to pack them, i.e. just less convenient than using a static class for type safety.
The most common case of multiple return values involve values that have known static datatypes and that should be checked with strong typesafety.
The simple case that involves returning two ints then will require at least two object instances and will not solve the garbage collection overhead.
Using a array of variable objects is exactly similar, except that it requires two instances for the components and one instance for the generic array container. Using extra method parameters with Integer, Byte, ... boxing objects is more efficient, but for now the only practical solution (which causes the least pollution in the VM allocator and garbage collector) is to use a custom class to store the return values in a single instance.
This is not natural, and needlessly complexifies many interfaces.
So to avoid this pollution, some solutions are used such as packing two ints into a long and returning a long, depacking the long after return (not quite clean but still much faster at run-time for methods that need to be used with high frequencies within the application. In some case, the only way to cut down the overhead is to inline methods within the caller code, and this does not help code maintenance by splitting the implementation into small methods (something that C++ can do very easily, both because it supports native types parameters by reference, and because it also supports inline methods).
Finally, suppose we don't want to use tricky code, difficult to maintain, then we'll have to use boxing Object types to allow passing arguments by reference. Shamely boxed native types cannot be allocated on the operand stack as local variables, so we need to instanciate these local variables before call, and we loose the capacity to track the cases where these local variables are not really initialized by an effective call to the method that will assign them. This does not help debugging, and is against the concept of a strongly typed language like Java should be:
Java makes lots of efforts to track uninitialized variables, but has no way to determine if an already instanciated Object instance refered in a local variable has effectively received an effective assignment because only the instanciation is kept. A typical code will then need to be written like this:
Integer a = null;
Integer b = null;
if (some condition) {
//call.method(a, b, 0, 1, "dummy input arg");
// the method is supposed to have assigned a value to a and b,
// but can't if a and b have not been instanciated, so we perform:
call.method(a = new Integer(), b = new Integer(), 0, 1, "dummy input
arg");
// we must suppose that the method has modified (not initialized!)
the value
// of a and b instances.
now.use(a.value(), b.value())
// are we sure here that a and b have received a value????
// the code may be detected at run-time (a null exception)
// or completely undetected (the method() above was called but it
// forgot to assign a value to its referenced objects a and b, in which
// case we are calling in fact: now.use(0, 0); with the default values
// or a and b, assigned when they were instanciated)
Very tricky... Hard to debug. It would be much simpler if we just used:
int a;
int b;
if (some condition) {
(a, b) = call.method(0, 1, "dummy input arg");
now.use(a, b);
The compiler would immediately detect the case where a and b are in fact not always initialized (possible use bere initialization), and the first invoked call.method() would not have to check if its arguments are not null, it would not compile if it forgets to return two values in some code path...
There's no need to provide extra boxing objects in the source as well as at run-time, and there's no stress added to the VM allocator or garbage collector simply because return values are only allocated on the perand stack by the caller, directly instanciated within the callee which MUST (checked at compile-time) create such instances by using the return statement to instanciate them, and the caller now just needs to use directly the variables which were referenced before call (here a and b). Clean and mean. And it allows strong typechecking as well (so this is a real help for programmers.
Note that the signature of the method() above is:
class call {
(int, int) method(int, int, String) { ... }
id est:
class "call", member name "method", member type "(IILjava.lang.string;)II"
This last signature means that the method can only be called by returning the value into a pair of variables of type int, or using the return value as a pair of actual arguments for another method call such as:
call.method(call.method("dummy input arg"), "other dummy input arg")
This is strongly typed and convenient to write and debug and very efficient at run-time...Can anyone give me some real-world examples where
multiple return values aren't better captured in a
class that logically groups those values? I can of
course give hundreds of examples for why it's better
to capture method arguments as multiple values instead
of as one "logical object", but whenever I've hankered
for multiple return values, I end up rethinking my
strategy and rewriting my code to be better Object
Oriented.I'd personally say you're usually right. There's almost always a O-O way of avoiding the situation.
Sometimes though, you really do just want to return "two ints" from a function. There's no logical object you can think of to put them in. So you end up polluting the namespace:
public class MyUsefulClass {
public TwoInts calculateSomething(int a, int b, int c) {
public static class TwoInts {
//now, do I use two public int fields here, making it
//in essence a struct?
//or do I make my two ints private & final, which
//requires a constructor & two getters?
//and while I'm at it, is it worth implementing
//equals(), how about hashCode()? clone()?
//readResolve() ?
}The answer to most of the questions for something as simple as "TwoInts" is usually "no: its not worth implementing those methods", but I still have to think about them.
More to the point, the TwoInts class looks so ugly polluting the top level namespace like that, MyUsefulClass.TwoInts is public, that I don't think I've ever actually created that class. I always find some way to avoid it, even if the workaround is just as ugly.
For myself, I'd like to see some simple pass-by-value "Tuple" type. My fear is it'd be abused as a way for lazy programmers to avoid creating objects when they should have a logical type for readability & maintainability.
Anyone who has maintained code where someone has passed in all their arguments as (mutable!) Maps, Collections and/or Arrays and "returned" values by mutating those structures knows what a nightmare it can be. Which I suppose is an argument that cuts both ways: on the one hand you can say: "why add Tuples which would be another easy thing to abuse", on the other: "why not add Tuples, given Arrays and the Collections framework already allow bad programmers to produce unmainable mush. One more feature isn't going to make a difference either way".
Ho hum. -
Why do we need to override Hascode and Equals method?
Hi,
== checks if the two references are equal and .equlas will check if the value is same, if we want .equals to take care of both reference and value are correct. why cant I just override equals with an extra check that references are equal(==).
Please someone elaborate on this and also tell me what role hashcode plays in this.
thanks
Anirudhanirudh1983 wrote:
if we want .equals to take care of both reference and value are correct. why cant I just override equals with an extra check that references are equal(==).Many equals() methods do run an '==' check first for efficiency (and I would recommend it if you're writing one yourself).
Please someone elaborate on this and also tell me what role hashcode plays in this.The reason that it is good practise to override equals() and hashCode() together is to maintain consistency.
Hashcodes are used by all Java collections that contain the word 'Hash' in their name, and may also be used by other programs that need a hash code for identification; so if you supply one, you must follow the rules (which you can find in the API for Object.equals() and Object.hashCode()).
The main rule is this: *objects that are equal() must have equal hashcodes*.
Note that the reverse is NOT true: objects that are not equal() do not have to have different hashcodes, but it is usually better if they do.
There is quite a lot to know about hashcodes, and what makes a good one, so I suggest you follow dcminter's advice if you want to be a happy and prosperous Java programmer.
Winston -
What is hash code in Java and how it is related to equals method
Can any body give me the detailed information about hashcode and the relationship between equals method and hash code.
Objects in Java have hash codes associated with them. An object's hash code is a signed number that identifies the object (for example, an instance of the parent class). An object's hash code may be obtained by using the object's hashCode() method as follows:
int hashCode = SomeObject.hashCode();
The method hashCode() is defined in the Object class and is inherited by all Java objects. The following code snippet shows how the hash codes of two objects relate to the corresponding equals() method:
1. // Compare objects and then compare their hash codes
2. if (object1.equals(object2)
3. System.out.println("hash code 1 = " + object1.hashCode() +
4. ", hashcode 2 = " + object2.hashCode());
5.
6. // Compare hash codes and then compare objects
7. if (object1.hashCode() == object2.hashCode())
8. {
9. if (object1.equals(object2))
10. System.out.println"object1 equals object2");
11. else
12. System.out.println"object1 does not equal object2");
13. }
In lines 3-4, the value of the two hash codes will always be the same. However, the program may go through line 10 or line 12 in the code. Just because an object's reference equals another object's reference (remember that the equals() method compares object references by default), it does not necessarily mean that the hash codes also match.
The hashCode() method may be overridden by subclasses. Overriding the hash code will allow you to associate your own hash key with the object. -
Pointer to class object ?
Is it possible to reference to a class object by an integer or string value ? I'm writing a scripting language, and for that I would like
to be able to do something similair to this:
Player p1 = new Player();
int ref = (int) p1;
Player p2 = (Player) ref;Where the outcome should be that p2.equals(p1).
I've searched for this, but I got the feeling it is not possible. I did read something about hashCodes, is that something to look into ?
Alternatively, I could give every Player an integer field called 'id', and then iterate through all Players to find the one with the given id, but I was
wondering if there would be a more 'direct' approach.Great! A HashMap was exactly what I needed. I've now built it in, and it works like a charm.
Encephalopathic wrote:What do you want to do with this information?The scripting language I'm writing is intended to be used by beginners in programming, for creating games.
The language has objects, and for simplicity, I made all object fields and all variables in the language are doubles.
After doing that, I'm not not sure if that was a good decision, but since it's allready implemented that way I don't want to change it anymore.
In more advanced situations, people might want some object to refer to another object.
For instance, if a group of a certain type is chasing a group of another type, and I the first group needs to split up. Then every individual from the first group needs a pointer to a member of the second group, so they each chase their own individual target.
The language runs from a Java applet. I have an example game here:
http://members.home.nl/bramdenhond/abcbasic/games/asteroids.html
The explaination is in Dutch, but the idea of the game is to use the mouse to control the spaceship and shoot all asteroids without colliding with them.
Thanks a lot for pointing me towards the HashMap! It was really helpful.
For future reference, I'll place the code I used here:
HashMap referencetable = new HashMap();
int uniqueplayerid;
//create
Player p = new Player();
referencetable.put(new Integer(uniqueplayerid), p);
uniqueplayerid ++;
//remove
referencetable.remove(new Integer((int) indexedplayers[p].objvars[0]));
//obtain
int id = 12;
TPlayer newp = (TPlayer) referencetable.get(new Integer(id)); -
A question about String.hashCode()
Why the implementation of hashCode() for String class using 31 as a base?
Why the implementation of hashCode() for String class
using 31 as a base?I think it's a magic number. It has been found to produce a reasonably even distribution over the int range. -
A problem about the policy of RMS which is added more than 500 principals
Hello specialists ,
I've a question about RMS , when I added more than about 500 principals (users & groups ) into a policy in the RMS , it will report an error for any operation about the policy , and I find the error message as followed (for theconvenience, I paste all of the logs in the weblogic).
We have tested all of our environments : Weblogic , JBoss , Websphere , each of them makes the same mistake . those operations include : try to open the documents protected by this kind of policies , to disable or enable the policies, to look the detail from the "adminui" . when decreasing the principals for this kind of policy to almost 450 (I am not sure the clearly number) with java code , the results will be ok .
So anyone can help me ? It's really very important for us , becuase our customer refused to pay the left money of this project till this problem is resolved . and I have reported this problem to the Enterprise Support in Indian (the case is :181916446), but , obviously , it seems they are burning my patience . At the same time , I think it's a problem of the product , I think the SQL is really very bad ,at least , not so good .
Any help will be very appreciated !
<2011-2-10 16:01:14> <Info> <NodeManager> <Starting WebLogic server with command line: E:\Java\jrockit-jdk1.6.0_20-R28.1.0-4.0.1\bin\java -Dweblogic.Name=RightsManagementServer -Djava.security.policy=E:\bea\WLSERV~1.3\server\lib\weblogic.policy -Dweblogic.management.server=http://192.168.52.196:7001 -Djava.library.path=E:\bea\WLSERV~1.3\server\bin;.;C:\Windows\system32;C:\Windows;E:\bea\ WLSERV~1.3\server\native\win\32;E:\bea\WLSERV~1.3\server\bin;E:\bea\JROCKI~1\jre\bin;E:\be a\JROCKI~1\bin;E:\bea\WLSERV~1.3\server\native\win\32\oci920_8;C:\Windows\system32;C:\Wind ows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;E:\Java\jrockit-jdk1.6.0_20-R28.1.0-4.0.1\bin; -Djava.class.path=E:\jdbc\sqljdbc_1.2\enu\sqljdbc.jar;E:\bea\wlserver_10.3\server\lib\web logic.jar;E:\Java\jrockit-jdk1.6.0_20-R28.1.0-4.0.1\lib\tools.jar;E:\bea\user_projects\dom ains\lcdomain\idplib\pop3.jar -Dweblogic.system.BootIdentityFile=E:\domains\zonydomain\servers\RightsManagementServer\d ata\nodemanager\boot.properties -Dweblogic.nodemanager.ServiceEnabled=true -Dweblogic.security.SSL.ignoreHostnameVerification=true -Dweblogic.ReverseDNSAllowed=false -Dadobeidp.RootDirectory=E:\domains\zonydomain\. -Dfile.encoding=utf8 -Djava.net.preferIPv4Stack=true -Djava.security.policy=E:\bea\wlserver_10.3\server\lib\weblogic.policy -Xms256m -Xmx1792m weblogic.Server >
<2011-2-10 16:01:14> <Info> <NodeManager> <Working directory is "E:\domains\zonydomain">
<2011-2-10 16:01:14> <Info> <NodeManager> <Server output log file is "E:\domains\zonydomain\servers\RightsManagementServer\logs\RightsManagementServer.out">
<2011-2-10 16:01:16 CST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Oracle JRockit(R) Version R28.1.0-123-138454-1.6.0_20-20101014-1351-windows-x86_64 from Oracle Corporation>
<2011-2-10 16:01:17 CST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3 Fri Jul 25 16:30:05 EDT 2008 1137967 >
<2011-2-10 16:01:20 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<2011-2-10 16:01:20 CST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<2011-2-10 16:01:20 CST> <Notice> <Log Management> <BEA-170019> <The server log file E:\domains\zonydomain\servers\RightsManagementServer\logs\RightsManagementServer.log is opened. All server side log events will be written to this file.>
<2011-2-10 16:01:20 CST> <Warning> <NodeManager> <BEA-300043> <Node manager native library not found - server process id not saved.>
<2011-2-10 16:01:20 CST> <Error> <Socket> <BEA-000438> <Unable to load performance pack. Using Java I/O instead. Please ensure that wlntio.dll is in: 'E:\bea\WLSERV~1.3\server\bin;.;C:\Windows\system32;C:\Windows;E:\bea\WLSERV~1.3\server\n ative\win\32;E:\bea\WLSERV~1.3\server\bin;E:\bea\JROCKI~1\jre\bin;E:\bea\JROCKI~1\bin;E:\b ea\WLSERV~1.3\server\native\win\32\oci920_8;C:\Windows\system32;C:\Windows;C:\Windows\Syst em32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;E:\Java\jrockit-jdk1.6.0_20-R28.1.0-4.0.1\bin;'
>
<2011-2-10 16:01:25 CST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<2011-2-10 16:01:30 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
<2011-2-10 16:01:30 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<2011-2-10 16:01:41 CST> <Warning> <JDBC> <BEA-001110> <No test table set up for pool "IDP_DS". Connections will not be tested.>
<2011-2-10 16:01:43 CST> <Warning> <JDBC> <BEA-001110> <No test table set up for pool "RM_DS". Connections will not be tested.>
<2011-2-10 16:02:00 CST> <Warning> <EJB> <BEA-010100> <This server is not part of a cluster. Hence "InMemory replication feature" for StatefulSession EJB "PolicyManagerBean" will have no effect on this server.>
2011-2-10 16:02:06 com.adobe.logging.AdobeLoggerImpl <clinit>
Info: Logging level null
2011-2-10 16:02:10 com.adobe.logging.AdobeLoggerImpl <clinit>
Info: Logging level null
16:02:34,362 WARN Digester:121 - [NavigationRuleRule]{faces-config/navigation-rule} Merge(/*)
16:02:36,022 INFO ValidatorPlugIn:211 - Loading validation rules file from '/WEB-INF/validator-rules.xml'
16:02:36,023 INFO ValidatorPlugIn:211 - Loading validation rules file from '/WEB-INF/custom-rules.xml'
16:02:36,024 INFO ValidatorPlugIn:211 - Loading validation rules file from '/WEB-INF/validation.xml'
16:02:36,532 INFO TilesPlugin:236 - Tiles definition factory loaded for module ''.
16:02:38,534 INFO TilesPlugin:236 - Tiles definition factory loaded for module ''.
16:02:38,548 INFO ValidatorPlugIn:211 - Loading validation rules file from '/WEB-INF/validator-rules.xml'
16:02:38,549 INFO ValidatorPlugIn:211 - Loading validation rules file from '/WEB-INF/validation.xml'
16:02:39,064 INFO UMActionServlet:84 -
* System Properties **************************************************
adobeidp.RootDirectory.......................: E:\domains\zonydomain\.
awt.toolkit..................................: sun.awt.windows.WToolkit
com.adobe.idp.enableLC7Compatibility.........: false
com.adobe.idp.enableLC7Compatibility.SetByDM.: true
com.adobe.serverInstanceId...................: adobewl_RightsManagementServer
com.adobe.tempDirectory......................: E:\temp\adobewl_RightsManagementServer
file.encoding................................: utf8
file.encoding.pkg............................: sun.io
file.separator...............................: \
java.awt.graphicsenv.........................: sun.awt.Win32GraphicsEnvironment
java.awt.printerjob..........................: sun.awt.windows.WPrinterJob
java.class.path..............................: E:\jdbc\sqljdbc_1.2\enu\sqljdbc.jar;E:\bea\wlserver_10.3\server\lib\weblogic.jar;E:\Java\ jrockit-jdk1.6.0_20-R28.1.0-4.0.1\lib\tools.jar;E:\bea\user_projects\domains\lcdomain\idpl ib\pop3.jar
java.class.version...........................: 50.0
java.endorsed.dirs...........................: E:\Java\jrockit-jdk1.6.0_20-R28.1.0-4.0.1\jre\lib\endorsed
java.ext.dirs................................: E:\Java\jrockit-jdk1.6.0_20-R28.1.0-4.0.1\jre\lib\ext
java.home....................................: E:\Java\jrockit-jdk1.6.0_20-R28.1.0-4.0.1\jre
java.io.tmpdir...............................: C:\Windows\TEMP\
java.library.path............................: E:\bea\WLSERV~1.3\server\bin;.;C:\Windows\system32;C:\Windows;E:\bea\WLSERV~1.3\server\na tive\win\32;E:\bea\WLSERV~1.3\server\bin;E:\bea\JROCKI~1\jre\bin;E:\bea\JROCKI~1\bin;E:\be a\WLSERV~1.3\server\native\win\32\oci920_8;C:\Windows\system32;C:\Windows;C:\Windows\Syste m32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;E:\Java\jrockit-jdk1.6.0_20-R28.1.0-4.0.1\bin;
java.naming.factory.initial..................: weblogic.jndi.WLInitialContextFactory
java.naming.factory.url.pkgs.................: weblogic.jndi.factories:weblogic.corba.j2ee.naming.url:weblogic.jndi.factories:weblogic.c orba.j2ee.naming.url
java.net.preferIPv4Stack.....................: true
java.protocol.handler.pkgs...................: weblogic.utils|weblogic.utils|weblogic.utils|weblogic.net
java.runtime.name............................: Java(TM) SE Runtime Environment
java.runtime.version.........................: 1.6.0_20-b02
java.security.policy.........................: E:\bea\wlserver_10.3\server\lib\weblogic.policy
java.specification.name......................: Java Platform API Specification
java.specification.vendor....................: Sun Microsystems Inc.
java.specification.version...................: 1.6
java.vendor..................................: Oracle Corporation
java.vendor.url..............................: http://www.oracle.com/
java.vendor.url.bug..........................: http://download.oracle.com/docs/cd/E15289_01/go2troubleshooting.html
java.version.................................: 1.6.0_20
java.vm.info.................................: compiled mode
java.vm.name.................................: Oracle JRockit(R)
java.vm.specification.name...................: Java Virtual Machine Specification
java.vm.specification.vendor.................: Sun Microsystems Inc.
java.vm.specification.version................: 1.0
java.vm.vendor...............................: Oracle Corporation
java.vm.vendor.url...........................: http://www.oracle.com/
java.vm.vendor.url.bug.......................: http://download.oracle.com/docs/cd/E15289_01/go2troubleshooting.html
java.vm.version..............................: R28.1.0-123-138454-1.6.0_20-20101014-1351-windows-x86_64
javax.rmi.CORBA.PortableRemoteObjectClass....: weblogic.iiop.PortableRemoteObjectDelegateImpl
javax.rmi.CORBA.UtilClass....................: weblogic.iiop.UtilDelegateImpl
javax.xml.rpc.ServiceFactory.................: weblogic.webservice.core.rpc.ServiceFactoryImpl
javax.xml.soap.MessageFactory................: weblogic.webservice.core.soap.MessageFactoryImpl
kernel.download.enabled......................: false
line.separator...............................:
org.omg.CORBA.ORBClass.......................: weblogic.corba.orb.ORB
org.omg.CORBA.ORBSingletonClass..............: weblogic.corba.orb.ORB
org.xml.sax.driver...........................: weblogic.xml.jaxp.RegistryXMLReader
org.xml.sax.parser...........................: weblogic.xml.jaxp.RegistryParser
os.arch......................................: amd64
os.name......................................: Windows Server 2008 R2
os.version...................................: 6.1
path.separator...............................: ;
sun.arch.data.model..........................: 64
sun.boot.class.path..........................: E:\Java\jrockit-jdk1.6.0_20-R28.1.0-4.0.1\jre\lib\resources.jar;E:\Java\jrockit-jdk1.6.0_ 20-R28.1.0-4.0.1\jre\lib\rt.jar;E:\Java\jrockit-jdk1.6.0_20-R28.1.0-4.0.1\jre\lib\sunrsasi gn.jar;E:\Java\jrockit-jdk1.6.0_20-R28.1.0-4.0.1\jre\lib\jsse.jar;E:\Java\jrockit-jdk1.6.0 _20-R28.1.0-4.0.1\jre\lib\jce.jar;E:\Java\jrockit-jdk1.6.0_20-R28.1.0-4.0.1\jre\lib\charse ts.jar;E:\Java\jrockit-jdk1.6.0_20-R28.1.0-4.0.1\jre\classes
sun.boot.library.path........................: E:\Java\jrockit-jdk1.6.0_20-R28.1.0-4.0.1\jre\bin
sun.cpu.endian...............................: little
sun.cpu.isalist..............................: amd64
sun.desktop..................................: windows
sun.io.unicode.encoding......................: UnicodeLittle
sun.java.launcher............................: SUN_STANDARD
sun.jnu.encoding.............................: Cp1252
sun.management.compiler......................: Oracle JRockit(R) Optimizing Compiler
sun.os.patch.level...........................:
user.country.................................: CN
user.dir.....................................: E:\domains\zonydomain
user.home....................................: C:\
user.language................................: zh
user.name....................................: LATTE$
user.timezone................................: Asia/Shanghai
user.variant.................................:
vde.home.....................................: E:\domains\zonydomain\servers\RightsManagementServer\data\ldap
weblogic.Name................................: RightsManagementServer
weblogic.ReverseDNSAllowed...................: false
weblogic.classloader.preprocessor............: weblogic.diagnostics.instrumentation.DiagnosticClassPreProcessor
weblogic.management.server...................: http://192.168.52.196:7001
weblogic.nodemanager.ServiceEnabled..........: true
weblogic.security.CustomTrustKeyStoreFileName: ads-ca.jks
weblogic.security.CustomTrustKeyStorePassPhrase: password
weblogic.security.CustomTrustKeyStoreType....: JKS
weblogic.security.SSL.ignoreHostnameVerification: true
weblogic.security.TrustKeyStore..............: CustomTrust
weblogic.system.BootIdentityFile.............: E:\domains\zonydomain\servers\RightsManagementServer\data\nodemanager\boot.properties
* JSP Engine ****
JSP-Specification..: 2.1
* Runtime ****
Total Memory.......: 764 mb
16:02:39,072 INFO UMActionServlet:85 -
* Servlet Context ****************************************************
Servlet API........: 2.5
ServerInfo.........: WebLogic Server 10.3 Fri Jul 25 16:30:05 EDT 2008 1137967
* Attributes ****
com.cc.framework.locale......................: true
com.cc.framework.painter.....................: [app, html, global]
javax.servlet.context.tempdir................: E:\domains\zonydomain\servers\RightsManagementServer\tmp\_WL_user\adobe-livecycle-weblogi c\uv7zbv\public
org.apache.commons.validator.VALIDATOR_RESOURCES: org.apache.commons.validator.ValidatorResources@3334767
org.apache.struts.action.ACTION_SERVLET......: com.adobe.idp.um.ui.UMActionServlet@2e716fd
org.apache.struts.action.MESSAGE.............: org.apache.struts.util.PropertyMessageResources@3021141
org.apache.struts.action.MODULE..............: org.apache.struts.config.impl.ModuleConfigImpl@2d75c6b
org.apache.struts.action.PLUG_INS............: [Lorg.apache.struts.action.PlugIn;@302b235
org.apache.struts.action.SERVLET_MAPPING.....: *.do
org.apache.struts.globals.MODULE_PREFIXES....: [Ljava.lang.String;@31aa885
org.apache.struts.tiles.DEFINITIONS_FACTORY..: I18nFactorySet :
--- default factory ---
{${YOUR_DEFINITION_HERE}={name=${YOUR_DEFINITION_HERE}, path=null, role=null, controller=null, controllerType=null, controllerInstance=null, attributes={}}
--- other factories ---
org.apache.struts.validator.STOP_ON_ERROR....: true
weblogic.servlet.WebAppComponentMBean........: [email protected]a([zonydomain]/Applicatio ns[adobe-livecycle-weblogic]/WebAppComponents[/um])
weblogic.servlet.WebAppComponentRuntimeMBean.: weblogic.servlet.internal.WebAppRuntimeMBeanImpl@52ebb2
16:02:39,284 INFO QuartzScheduler:209 - Quartz Scheduler v.1.6.0 created.
16:02:39,300 INFO RAMJobStore:141 - RAMJobStore initialized.
16:02:39,301 INFO DirectSchedulerFactory:422 - Quartz scheduler 'SimpleQuartzScheduler
16:02:39,302 INFO DirectSchedulerFactory:424 - Quartz scheduler version: 1.6.0
16:02:39,306 INFO QuartzScheduler:455 - Scheduler SimpleQuartzScheduler_$_SIMPLE_NON_CLUSTERED started.
Got IP Address of LC Server:192.168.52.196
16:03:08,130 INFO QuartzScheduler:209 - Quartz Scheduler v.1.6.0 created.
16:03:08,136 INFO DSCJobStoreTX:547 - Using thread monitor-based data access locking (synchronization).
16:03:08,234 INFO DSCJobStoreTX:721 - Removed 0 Volatile Trigger(s).
16:03:08,235 INFO DSCJobStoreTX:729 - Removed 0 Volatile Job(s).
16:03:08,244 INFO DSCJobStoreTX:61 - JobStoreTX initialized.
16:03:08,245 INFO DSCSchedulerFactory:972 - Quartz scheduler 'IDPSchedulerService' initialized from an externally provided properties instance.
16:03:08,245 INFO DSCSchedulerFactory:974 - Quartz scheduler version: 1.6.0
16:03:08,259 INFO DSCJobStoreTX:775 - Freed 0 triggers from 'acquired' / 'blocked' state.
16:03:08,269 INFO DSCJobStoreTX:879 - Handling 1 trigger(s) that missed their scheduled fire-time.
16:03:08,389 INFO DSCJobStoreTX:785 - Recovering 0 jobs that were in-progress at the time of the last shut-down.
16:03:08,390 INFO DSCJobStoreTX:799 - Recovery complete.
16:03:08,393 INFO DSCJobStoreTX:806 - Removed 0 'complete' triggers.
16:03:08,395 INFO DSCJobStoreTX:812 - Removed 0 stale fired job entries.
16:03:08,411 INFO QuartzScheduler:455 - Scheduler IDPSchedulerService_$_20 started.
<2011-2-10 16:03:25 CST> <Error> <com.adobe.datamodel.repository.DBModelPersistence> <BEA-000000> <Naming exception during loading of all data models: javax.naming.NameNotFoundException: While trying to look up /IDP_DS in /app/webapp/remoting/18935606.; remaining name '/IDP_DS'>
16:03:27,894 INFO TilesPlugin:236 - Tiles definition factory loaded for module ''.
16:03:27,910 INFO ValidatorPlugIn:211 - Loading validation rules file from '/WEB-INF/validator-rules.xml'
16:03:27,910 INFO ValidatorPlugIn:211 - Loading validation rules file from '/WEB-INF/validation.xml'
16:03:28,555 INFO EDCActionServlet:84 -
* System Properties **************************************************
adobeidp.RootDirectory.......................: E:\domains\zonydomain\.
awt.toolkit..................................: sun.awt.windows.WToolkit
com.adobe.idp.DocumentManagerServlet.........: started
com.adobe.idp.enableLC7Compatibility.........: false
com.adobe.idp.enableLC7Compatibility.SetByDM.: true
com.adobe.serverInstanceId...................: adobewl_RightsManagementServer
com.adobe.tempDirectory......................: E:\temp\adobewl_RightsManagementServer
file.encoding................................: utf8
file.encoding.pkg............................: sun.io
file.separator...............................: \
gemfire.disableShutdownHook..................: true
java.awt.graphicsenv.........................: sun.awt.Win32GraphicsEnvironment
java.awt.printerjob..........................: sun.awt.windows.WPrinterJob
java.class.path..............................: E:\jdbc\sqljdbc_1.2\enu\sqljdbc.jar;E:\bea\wlserver_10.3\server\lib\weblogic.jar;E:\Java\ jrockit-jdk1.6.0_20-R28.1.0-4.0.1\lib\tools.jar;E:\bea\user_projects\domains\lcdomain\idpl ib\pop3.jar
java.class.version...........................: 50.0
java.endorsed.dirs...........................: E:\Java\jrockit-jdk1.6.0_20-R28.1.0-4.0.1\jre\lib\endorsed
java.ext.dirs................................: E:\Java\jrockit-jdk1.6.0_20-R28.1.0-4.0.1\jre\lib\ext
java.home....................................: E:\Java\jrockit-jdk1.6.0_20-R28.1.0-4.0.1\jre
java.io.tmpdir...............................: C:\Windows\TEMP\
java.library.path............................: E:\bea\WLSERV~1.3\server\bin;.;C:\Windows\system32;C:\Windows;E:\bea\WLSERV~1.3\server\na tive\win\32;E:\bea\WLSERV~1.3\server\bin;E:\bea\JROCKI~1\jre\bin;E:\bea\JROCKI~1\bin;E:\be a\WLSERV~1.3\server\native\win\32\oci920_8;C:\Windows\system32;C:\Windows;C:\Windows\Syste m32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;E:\Java\jrockit-jdk1.6.0_20-R28.1.0-4.0.1\bin;
java.naming.factory.initial..................: weblogic.jndi.WLInitialContextFactory
java.naming.factory.url.pkgs.................: weblogic.jndi.factories:weblogic.corba.j2ee.naming.url:weblogic.jndi.factories:weblogic.c orba.j2ee.naming.url
java.net.preferIPv4Stack.....................: true
java.protocol.handler.pkgs...................: weblogic.utils|weblogic.utils|weblogic.utils|weblogic.net
java.runtime.name............................: Java(TM) SE Runtime Environment
java.runtime.version.........................: 1.6.0_20-b02
java.security.policy.........................: E:\bea\wlserver_10.3\server\lib\weblogic.policy
java.specification.name......................: Java Platform API Specification
java.specification.vendor....................: Sun Microsystems Inc.
java.specification.version...................: 1.6
java.vendor..................................: Oracle Corporation
java.vendor.url..............................: http://www.oracle.com/
java.vendor.url.bug..........................: http://download.oracle.com/docs/cd/E15289_01/go2troubleshooting.html
java.version.................................: 1.6.0_20
java.vm.info.................................: compiled mode
java.vm.name.................................: Oracle JRockit(R)
java.vm.specification.name...................: Java Virtual Machine Specification
java.vm.specification.vendor.................: Sun Microsystems Inc.
java.vm.specification.version................: 1.0
java.vm.vendor...............................: Oracle Corporation
java.vm.vendor.url...........................: http://www.oracle.com/
java.vm.vendor.url.bug.......................: http://download.oracle.com/docs/cd/E15289_01/go2troubleshooting.html
java.vm.version..............................: R28.1.0-123-138454-1.6.0_20-20101014-1351-windows-x86_64
javax.rmi.CORBA.PortableRemoteObjectClass....: weblogic.iiop.PortableRemoteObjectDelegateImpl
javax.rmi.CORBA.UtilClass....................: weblogic.iiop.UtilDelegateImpl
javax.xml.rpc.ServiceFactory.................: weblogic.webservice.core.rpc.ServiceFactoryImpl
javax.xml.soap.MessageFactory................: weblogic.webservice.core.soap.MessageFactoryImpl
kernel.download.enabled......................: false
line.separator...............................:
org.apache.xerces.xni.parser.Configuration...: org.apache.xerces.parsers.XMLGrammarCachingConfiguration
org.omg.CORBA.ORBClass.......................: weblogic.corba.orb.ORB
org.omg.CORBA.ORBSingletonClass..............: weblogic.corba.orb.ORB
org.xml.sax.driver...........................: weblogic.xml.jaxp.RegistryXMLReader
org.xml.sax.parser...........................: weblogic.xml.jaxp.RegistryParser
os.arch......................................: amd64
os.name......................................: Windows Server 2008 R2
os.version...................................: 6.1
p2p.useSSL...................................: false
path.separator...............................: ;
sun.arch.data.model..........................: 64
sun.boot.class.path..........................: E:\Java\jrockit-jdk1.6.0_20-R28.1.0-4.0.1\jre\lib\resources.jar;E:\Java\jrockit-jdk1.6.0_ 20-R28.1.0-4.0.1\jre\lib\rt.jar;E:\Java\jrockit-jdk1.6.0_20-R28.1.0-4.0.1\jre\lib\sunrsasi gn.jar;E:\Java\jrockit-jdk1.6.0_20-R28.1.0-4.0.1\jre\lib\jsse.jar;E:\Java\jrockit-jdk1.6.0 _20-R28.1.0-4.0.1\jre\lib\jce.jar;E:\Java\jrockit-jdk1.6.0_20-R28.1.0-4.0.1\jre\lib\charse ts.jar;E:\Java\jrockit-jdk1.6.0_20-R28.1.0-4.0.1\jre\classes
sun.boot.library.path........................: E:\Java\jrockit-jdk1.6.0_20-R28.1.0-4.0.1\jre\bin
sun.cpu.endian...............................: little
sun.cpu.isalist..............................: amd64
sun.desktop..................................: windows
sun.io.unicode.encoding......................: UnicodeLittle
sun.java.launcher............................: SUN_STANDARD
sun.jnu.encoding.............................: Cp1252
sun.management.compiler......................: Oracle JRockit(R) Optimizing Compiler
sun.os.patch.level...........................:
user.country.................................: CN
user.dir.....................................: E:\domains\zonydomain
user.home....................................: C:\
user.language................................: zh
user.name....................................: LATTE$
user.timezone................................: Asia/Shanghai
user.variant.................................:
vde.home.....................................: E:\domains\zonydomain\servers\RightsManagementServer\data\ldap
weblogic.Name................................: RightsManagementServer
weblogic.ReverseDNSAllowed...................: false
weblogic.classloader.preprocessor............: weblogic.diagnostics.instrumentation.DiagnosticClassPreProcessor
weblogic.management.server...................: http://192.168.52.196:7001
weblogic.nodemanager.ServiceEnabled..........: true
weblogic.security.CustomTrustKeyStoreFileName: ads-ca.jks
weblogic.security.CustomTrustKeyStorePassPhrase: password
weblogic.security.CustomTrustKeyStoreType....: JKS
weblogic.security.SSL.ignoreHostnameVerification: true
weblogic.security.TrustKeyStore..............: CustomTrust
weblogic.system.BootIdentityFile.............: E:\domains\zonydomain\servers\RightsManagementServer\data\nodemanager\boot.properties
* JSP Engine ****
JSP-Specification..: 2.1
* Runtime ****
Total Memory.......: 917 mb
16:03:28,559 INFO EDCActionServlet:85 -
* Servlet Context ****************************************************
Servlet API........: 2.5
ServerInfo.........: WebLogic Server 10.3 Fri Jul 25 16:30:05 EDT 2008 1137967
* Attributes ****
com.cc.framework.locale......................: true
com.cc.framework.painter.....................: [app, html, global]
javax.servlet.context.tempdir................: E:\domains\zonydomain\servers\RightsManagementServer\tmp\_WL_user\adobe-livecycle-weblogi c\srbeev\public
org.apache.commons.validator.VALIDATOR_RESOURCES: org.apache.commons.validator.ValidatorResources@33c707a
org.apache.struts.action.ACTION_SERVLET......: com.adobe.edc.ui.EDCActionServlet@6f15bc0
org.apache.struts.action.MESSAGE.............: org.apache.struts.util.PropertyMessageResources@31fdbc7
org.apache.struts.action.MODULE..............: org.apache.struts.config.impl.ModuleConfigImpl@2f3b181
org.apache.struts.action.PLUG_INS............: [Lorg.apache.struts.action.PlugIn;@32005d9
org.apache.struts.action.SERVLET_MAPPING.....: *.do
org.apache.struts.globals.MODULE_PREFIXES....: [Ljava.lang.String;@12907d6
org.apache.struts.tiles.DEFINITIONS_FACTORY..: I18nFactorySet :
--- default factory ---
{${YOUR_DEFINITION_HERE}={name=${YOUR_DEFINITION_HERE}, path=null, role=null, controller=null, controllerType=null, controllerInstance=null, attributes={}}
--- other factories ---
org.apache.struts.validator.STOP_ON_ERROR....: true
weblogic.servlet.WebAppComponentMBean........: [email protected]b8([zonydomain]/Applicati ons[adobe-livecycle-weblogic]/WebAppComponents[/edc/admin])
weblogic.servlet.WebAppComponentRuntimeMBean.: weblogic.servlet.internal.WebAppRuntimeMBeanImpl@946930
16:03:29,403 INFO TilesPlugin:236 - Tiles definition factory loaded for module ''.
16:03:29,420 INFO ValidatorPlugIn:211 - Loading validation rules file from '/WEB-INF/validator-rules.xml'
16:03:29,421 INFO ValidatorPlugIn:211 - Loading validation rules file from '/WEB-INF/validation.xml'
16:03:30,011 INFO EDCActionServlet:84 -
* System Properties **************************************************
adobeidp.RootDirectory.......................: E:\domains\zonydomain\.
awt.toolkit..................................: sun.awt.windows.WToolkit
com.adobe.idp.DocumentManagerServlet.........: started
com.adobe.idp.enableLC7Compatibility.........: false
com.adobe.idp.enableLC7Compatibility.SetByDM.: true
com.adobe.serverInstanceId...................: adobewl_RightsManagementServer
com.adobe.tempDirectory......................: E:\temp\adobewl_RightsManagementServer
file.encoding................................: utf8
file.encoding.pkg............................: sun.io
file.separator...............................: \
gemfire.disableShutdownHook..................: true
java.awt.graphicsenv.........................: sun.awt.Win32GraphicsEnvironment
java.awt.printerjob..........................: sun.awt.windows.WPrinterJob
java.class.path..............................: E:\jdbc\sqljdbc_1.2\enu\sqljdbc.jar;E:\bea\wlserver_10.3\server\lib\weblogic.jar;E:\Java\ jrockit-jdk1.6.0_20-R28.1.0-4.0.1\lib\tools.jar;E:\bea\user_projects\domains\lcdomain\idpl ib\pop3.jar
java.class.version...........................: 50.0
java.endorsed.dirs...........................: E:\Java\jrockit-jdk1.6.0_20-R28.1.0-4.0.1\jre\lib\endorsed
java.ext.dirs................................: E:\Java\jrockit-jdk1.6.0_20-R28.1.0-4.0.1\jre\lib\ext
java.home....................................: E:\Java\jrockit-jdk1.6.0_20-R28.1.0-4.0.1\jre
java.io.tmpdir...............................: C:\Windows\TEMP\
java.library.path............................: E:\bea\WLSERV~1.3\server\bin;.;C:\Windows\system32;C:\Windows;E:\bea\WLSERV~1.3\server\na tive\win\32;E:\bea\WLSERV~1.3\server\bin;E:\bea\JROCKI~1\jre\bin;E:\bea\JROCKI~1\bin;E:\be a\WLSERV~1.3\server\native\win\32\oci920_8;C:\Windows\system32;C:\Windows;C:\Windows\Syste m32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;E:\Java\jrockit-jdk1.6.0_20-R28.1.0-4.0.1\bin;
java.naming.factory.initial..................: weblogic.jndi.WLInitialContextFactory
java.naming.factory.url.pkgs.................: weblogic.jndi.factories:weblogic.corba.j2ee.naming.url:weblogic.jndi.factories:weblogic.c orba.j2ee.naming.url
java.net.preferIPv4Stack.....................: true
java.protocol.handler.pkgs...................: weblogic.utils|weblogic.utils|weblogic.utils|weblogic.net
java.runtime.name............................: Java(TM) SE Runtime Environment
java.runtime.version.........................: 1.6.0_20-b02
java.security.policy.........................: E:\bea\wlserver_10.3\server\lib\weblogic.policy
java.specification.name......................: Java Platform API Specification
java.specification.vendor....................: Sun Microsystems Inc.
java.specification.version...................: 1.6
java.vendor..................................: Oracle Corporation
java.vendor.url..............................: http://www.oracle.com/
java.vendor.url.bug..........................: http://download.oracle.com/docs/cd/E15289_01/go2troubleshooting.html
java.version.................................: 1.6.0_20
java.vm.info.................................: compiled mode
java.vm.name.................................: Oracle JRockit(R)
java.vm.specification.name...................: Java Virtual Machine Specification
java.vm.specification.vendor.................: Sun Microsystems Inc.
java.vm.specification.version................: 1.0
java.vm.vendor...............................: Oracle Corporation
java.vm.vendor.url...........................: http://www.oracle.com/
java.vm.vendor.url.bug.......................: http://download.oracle.com/docs/cd/E15289_01/go2troubleshooting.html
java.vm.version..............................: R28.1.0-123-138454-1.6.0_20-20101014-1351-windows-x86_64
javax.rmi.CORBA.PortableRemoteObjectClass....: weblogic.iiop.PortableRemoteObjectDelegateImpl
javax.rmi.CORBA.UtilClass....................: weblogic.iiop.UtilDelegateImpl
javax.xml.rpc.ServiceFactory.................: weblogic.webservice.core.rpc.ServiceFactoryImpl
javax.xml.soap.MessageFactory................: weblogic.webservice.core.soap.MessageFactoryImpl
kernel.download.enabled......................: false
line.separator...............................:
org.apache.xerces.xni.parser.Configuration...: org.apache.xerces.parsers.XMLGrammarCachingConfiguration
org.omg.CORBA.ORBClass.......................: weblogic.corba.orb.ORB
org.omg.CORBA.ORBSingletonClass..............: weblogic.corba.orb.ORB
org.xml.sax.driver...........................: weblogic.xml.jaxp.RegistryXMLReader
org.xml.sax.parser...........................: weblogic.xml.jaxp.RegistryParser
os.arch......................................: amd64
os.name......................................: Windows Server 2008 R2
os.version...................................: 6.1
p2p.useSSL...................................: false
path.separator...............................: ;
sun.arch.data.model..........................: 64
sun.boot.class.path..........................: E:\Java\jrockit-jdk1.6.0_20-R28.1.0-4.0.1\jre\lib\resources.jar;E:\Java\jrockit-jdk1.6.0_ 20-R28.1.0-4.0.1\jre\lib\rt.jar;E:\Java\jrockit-jdk1.6.0_20-R28.1.0-4.0.1\jre\lib\sunrsasi gn.jar;E:\Java\jrockit-jdk1.6.0_20-R28.1.0-4.0.1\jre\lib\jsse.jar;E:\Java\jrockit-jdk1.6.0 _20-R28.1.0-4.0.1\jre\lib\jce.jar;E:\Java\jrockit-jdk1.6.0_20-R28.1.0-4.0.1\jre\lib\charse ts.jar;E:\Java\jrockit-jdk1.6.0_20-R28.1.0-4.0.1\jre\classes
sun.boot.library.path........................: E:\Java\jrockit-jdk1.6.0_20-R28.1.0-4.0.1\jre\bin
sun.cpu.endian...............................: little
sun.cpu.isalist..............................: amd64
sun.desktop..................................: windows
sun.io.unicode.encoding......................: UnicodeLittle
sun.java.launcher............................: SUN_STANDARD
sun.jnu.encoding.............................: Cp1252
sun.management.compiler......................: Oracle JRockit(R) Optimizing Compiler
sun.os.patch.level...........................:
user.country.................................: CN
user.dir.....................................: E:\domains\zonydomain
user.home....................................: C:\
user.language................................: zh
user.name....................................: LATTE$
user.timezone................................: Asia/Shanghai
user.variant.................................:
vde.home.....................................: E:\domains\zonydomain\servers\RightsManagementServer\data\ldap
weblogic.Name................................: RightsManagementServer
weblogic.ReverseDNSAllowed...................: false
weblogic.classloader.preprocessor............: weblogic.diagnostics.instrumentation.DiagnosticClassPreProcessor
weblogic.management.server...................: http://192.168.52.196:7001
weblogic.nodemanager.ServiceEnabled..........: true
weblogic.security.CustomTrustKeyStoreFileName: ads-ca.jks
weblogic.security.CustomTrustKeyStorePassPhrase: password
weblogic.security.CustomTrustKeyStoreType....: JKS
weblogic.security.SSL.ignoreHostnameVerification: true
weblogic.security.TrustKeyStore..............: CustomTrust
weblogic.system.BootIdentityFile.............: E:\domains\zonydomain\servers\RightsManagementServer\data\nodemanager\boot.properties
* JSP Engine ****
JSP-Specification..: 2.1
* Runtime ****
Total Memory.......: 917 mb
16:03:30,014 INFO EDCActionServlet:85 -
* Servlet Context ****************************************************
Servlet API........: 2.5
ServerInfo.........: WebLogic Server 10.3 Fri Jul 25 16:30:05 EDT 2008 1137967
* Attributes ****
com.cc.framework.locale......................: true
com.cc.framework.painter.....................: [app, html, global]
javax.servlet.context.tempdir................: E:\domains\zonydomain\servers\RightsManagementServer\tmp\_WL_user\adobe-livecycle-weblogi c\xhf1jd\public
org.apache.commons.validator.VALIDATOR_RESOURCES: org.apache.commons.validator.ValidatorResources@231f192
org.apache.struts.action.ACTION_SERVLET......: com.adobe.edc.ui.EDCActionServlet@153d409
org.apache.struts.action.MESSAGE.............: org.apache.struts.util.PropertyMessageResources@2208500
org.apache.struts.action.MODULE..............: org.apache.struts.config.impl.ModuleConfigImpl@1ee0605
org.apache.struts.action.PLUG_INS............: [Lorg.apache.struts.action.PlugIn;@216aebd
org.apache.struts.action.SERVLET_MAPPING.....: *.do
org.apache.struts.globals.MODULE_PREFIXES....: [Ljava.lang.String;@2675446
org.apache.struts.tiles.DEFINITIONS_FACTORY..: I18nFactorySet :
--- default factory ---
{${YOUR_DEFINITION_HERE}={name=${YOUR_DEFINITION_HERE}, path=null, role=null, controller=null, controllerType=null, controllerInstance=null, attributes={}}
--- other factories ---
org.apache.struts.validator.STOP_ON_ERROR....: true
um_assertionid_holder........................: com.adobe.idp.um.auth.filter.AssertionIdHolder@1c5878e
weblogic.servlet.WebAppComponentMBean........: [email protected]8([zonydomain]/Applicatio ns[adobe-livecycle-weblogic]/WebAppComponents[/edc])
weblogic.servlet.WebAppComponentRuntimeMBean.: weblogic.servlet.internal.WebAppRuntimeMBeanImpl@ac5e96
========= calling EDCStartupService::initializeresources =========
<2011-2-10 16:03:32 CST> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
<2011-2-10 16:03:32 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
<2011-2-10 16:03:32 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
<2011-2-10 16:03:33 CST> <Notice> <Security> <BEA-090171> <Loading the identity certificate and private key stored under the alias ads-credentials from the JKS keystore file E:\domains\zonydomain\ads-credentials.jks.>
<2011-2-10 16:03:33 CST> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the JKS keystore file E:\domains\zonydomain\ads-ca.jks.>
<2011-2-10 16:03:33 CST> <Error> <Server> <BEA-002606> <Unable to create a server socket for listening on channel "DefaultSecure". The address 192.168.52.196 might be incorrect or another process is using port 7002: java.net.BindException: Address already in use: JVM_Bind.>
<2011-2-10 16:03:33 CST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 192.168.52.196:8001 for protocols iiop, t3, ldap, snmp, http.>
<2011-2-10 16:03:33 CST> <Notice> <WebLogicServer> <BEA-000332> <Started WebLogic Managed Server "RightsManagementServer" for domain "zonydomain" running in Development Mode>
<2011-2-10 16:03:35 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<2011-2-10 16:03:35 CST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
16:03:46,830 INFO Reference:? - Verification successful for URI "#dc30cfd93b52e950ebde68e0b7c8ac56"
16:03:50,726 INFO Reference:? - Verification successful for URI "#cb96de4448538dd00314b484966dae46"
16:03:51,127 INFO TilesRequestProcessor:103 - Tiles definition factory found for request processor ''.
<2011-2-10 16:03:51 CST> <Warning> <Socket> <BEA-000402> <There are: 5 active sockets, but the maximum number of socket reader threads allowed by the configuration is: 4. You may want to alter your configuration.>
16:04:08,115 INFO Reference:? - Verification successful for URI "#ba03069e2b38142918e1e6f54a73208c"
16:04:10,602 INFO Reference:? - Verification successful for URI "#a120044172268198925a0495b25e618a"
16:05:56,603 INFO Reference:? - Verification successful for URI "#e4e5267f958ba1431f4ecdee4b18e454"
16:06:04,059 INFO Reference:? - Verification successful for URI "#f664cefe6083120e323479fd72ec57c1"
<2011-2-10 16:06:44 CST> <Warning> <com.adobe.idp.common.errors.exception.IDPLoggedException> <BEA-000000> <UserM:GENERIC_WARNING: [Thread Hashcode: -1257420086] com.adobe.idp.common.errors.exception.IDPLoggedException| [com.adobe.idp.storeprovider.jdbc.DBStatement] errorCode:12290 errorCodeHEX:0x3002 message:execute query failure(select distinct top 500 * from EDCAGGPRINCIPALVIEWENTIT where ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((( (((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((( (((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((( (((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((( (((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((( ((((((((((((((((((((((((((((((((((((((((((((((((((EDCAGGPRINCIPALVIEWENTIT.v17 = ? or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EDCAGGPRINCIPALVIEWENTIT.v17 = ?) or EWe are using Microsoft SQL Server 2008 . but it's well with MySQL & JBoss
-
Can I call hashCode() into equals()
Hi,
I implemented a class MyObject that overrides the method hashCode() that respect the general contract and the resulting hashcode value is stored in a data member of my class MyObject.
I also overrided the equals() that looks like this:
public boolean equals(Object obj) {
if (obj == null) return false;
if (obj == this) return true;
if (other instanceof MyObject == false) {
return false;
.... complex tests to check the equality that take a long time....
To optimize the equals() I would like to do:
public boolean equals(Object obj) {
if (obj == null) return false;
if (obj == this) return true;
if (other instanceof MyObject == false) {
return false;
// use the hashCode, if different, no need to make the complex checks
if (hasCodeValue_ != obj.hashCode()) {
return false;
.... complex tests to check the equality
I think it should work because the hashCode is different when the objects are different, but I can't find any example of equals() implementation that uses the hascode(), is there any reason for that ? Thanks for your help, BR,
Sebastien.Would you clarify for me please?
Do you mean that the hashCode method will naturally be
faster because something like String.hashCode() will
return faster than String.equals(otherString) ?Equals methods usually require a few checks before they really start comparing things. They check to see if the objects are the same, they check to see of the object passed in was null, they check the type of the argument and then they cast it. Then they start comparing members and if any of their members are Objects there's more of that.
Hashcode methods just go right at the values. And like you said, they can be cached in a lot of cases like String.
Or do you mean that one should take care to write
hashCode methods that are very fast?
If the latter, I'd like to hear about how you make
sure of that.Well, you could eliminate fields from the calculation but that might produce bad results. Generally, you just don't do a lot of complicated operations. -
Hi,
ive read a few previous posts about this and am still not 100% on this. From what i understand, hashCode is worked out using the memory address unless an equals() method is implemented in which case it uses this.
Is this right or wrong?
Thanks
ChrisRead the API documentation of java.lang.Object.hashCode(). It states three conditions:
1. the same object must return the same value for hashCode() if it is called multiple times (during the execution of the Java application)
2. if two objects are equal according to the equals() method, a call to hashCode() of both objects must return the same value
3. it is not required that if two objects are unequal, they have different values for hashCode().
Furthermore:
"As much as is reasonably practical, the hashCode method defined by class Object does return distinct integers for distinct objects. (This is typically implemented by converting the internal address of the object into an integer, but this implementation technique is not required by the JavaTM programming language.)"
Jesper -
Hi,
I have some problems with generating unique hash codes for float arrays.
The following code will result in "true" on my JVM (JRE 1.6):
System.out.println(Arrays.hashCode(new float[]{0,1,2,3,6,9}) == Arrays.hashCode(new float[]{0,1,3,6,8,9}));Does anyone have an idea how to generate a truly unique hashcode for float arrays?
Thanks for your help,
DieterJoachimSauer wrote:
dkleinrath wrote:
JoachimSauer wrote:
But again: you don't usually need a perfect hash. Why do you think you need one?I use static HashMaps to store meta information about specific arrays. I also use a HashSet to search for unique arrays in a big collection of arrays.That's ok. Both HashMap and HashSet can work perfectly with in-perfect hash code (obviously, since perfect hash codes are not possible in many situations).
What they can not handle is .equals() being "wrong" (i.e. inconsistent with hashCode()).
This means that you can't directly use float[] as keys.
You could build a simple wrapper around float[] to be used as keys, 'though.I just tried that and it works like a charm.
Thank you very much for your help. -
How to implement hashCode() function
Hello everybody
I need to overrided hashCode method in my Object. This contains 4 attributes of type Long. I need to implement compatible hash code for my equals function.
public class MyObject {
Long attr1;
Long attr2;
Long attr3;
Long attr4;
public boolean equals(Object obj) {
if (this == obj)
return true;
if (this == null || this.getClass() != obj.getClass())
return false;
TSCObject object = (TSCObject) obj;
return (this.attr1 != null && this.attr1.equals(object) &&
this.attr2 != null &&
this.attr2.equals(object) &&
this.attr3 != null && this.attr3.equals(object) &&
this.attr4 != null &&
this.attr4.equals(object));
public int hachCode() {
return 0;//??????????????
Can somebody help me. I've heard something about HashCodeBuilder
ThankIt is hashCode(), not hachCode().
You can consider to return the sum of the attr1.hashCode() + attr2.hashCode() + etc. You should try to "guarantee" as much as possible that the hashCode() returns an unique identifier of the MyObject in such a fast way so that it will improve performance of hashmaps/sets/tables which are used to store those objects. If you put a new MyObject in such a hashmap/set/table then it will check based on the hashcode if the object doesn't already exist. If it does, then it will invoke the equals() to check if they are certainly equal (which is generally more expensive).
Also see http://java.sun.com/javase/6/docs/api/java/lang/Object.html#hashCode() -
Why methods equals() and hashCode() is defined in Object Class?
Why methods equals() and hashCode() is defined in Object Class?
If you have two objects and you don't know (or care about) their exact types, but you still want to know if they are the same, then you can do something like this:
Object o1 = getObject1();
Object o2 = getObject2();
if (o1.equals(o2)) {
// they are the same, do something
} else {
// they are different, do something else
}This could be useful if you were to write a generic cache, for example.
A similar thing is true for hashCode(), if you want to manage things in a HashSet, you'll need them to implement hashCode().
If Object didn't have those methods, then you'd have to write that code against a more specific interface/class and it wouldn't be so general any more.
Maybe you are looking for
-
Background image bottom repeating horizontally
hi ive been messing around with some code for a while now and nothing seems to be working. im trying to get a 1px width image to repeat along the bottom of the page in the background, i put in; background-image: url(images/footer-bg.gif);
-
Get the following error when trying to add a new user on Mac OS Server 10.5 - Error of type eDSSchemaError (-14142) on line 1235 of /SourceCache/WorkgroupManager/WorkgroupManager-421/PMMUGMainView.mm
-
Hi, Can someone tell me how to configure the UWL on a federated portal? We want a central UWL (uwl of federated portal and the uwl's of the producers). How can this be achieved? I already tried the following link : http://help.sap.com/saphelp_nwesrc
-
DRAG & DROP IN SQL CALENDAR USING TIMESTAMP COLUMN
Hi there, I'm having a difficulty with the drag & drop process in my sql calendar. The defalult code has been mentioned before as: declare l_date_value varchar2(32767) := apex_application.g_x01; l_primary_key_value varchar2(32767) := apex_application
-
How to backup files from old time machine to new time machine
I have been using an external drive as my Time Machine for about a year. I just got a Time Capsule. Can I set up Time Machine to move all the backups from my old drive to my new Time Capsule? I assume it's not as simple as dragging the files from my