Re: Trouble getting jammCleaner to run
"Damian Pavlovic" <[email protected]> Fri, 6 Jan 2006 17:14:11 -0500
| Newsgroups | gmane.mail.jamm.user |
|---|---|
| Message-ID | <[email protected]> |
Excellent, you're totally right Keith, I had no idea. I installed java 1.4.2 and 1.5 from sun.java.com but i guess it still decided to use the gcg (gcc) 3.4.4 20050721 (Red Hat 3.4.4-2) I thought it was a little weird that I needed to copy over rt.jar, since when i ran the command it kept telling me there were missing class files, the only place i could locate them was in rt.jar, so I guess that mixed up a few things in running Jamm. Do you have any idea as to what I can do now? An "rpm -qa |grep jdk" shows up "jdk-1.5.0_06fcs", so I clearly have it installed. Thanks, Damian ----- Original Message ----- From: "Keith T. Garner" <[email protected]> To: <[email protected]> Sent: Friday, January 06, 2006 3:37 PM Subject: Re: [Jamm-users] Trouble getting jammCleaner to run > On Fri, Jan 06, 2006 at 03:28:18, I Love Me said: > > I'm having a heck of a hard time getting jamm cleaner to run for me. > > Unfortunately I made a bunch of accounts and domains that I dont need, so I > > was hoping someone might be able to help me. I have jamm 0.9.6 installed > > and everything is running except jamm cleaner. I also have jdk 1.5 on my > > centOS server. > > > > when I run jammCleaner as follows > > > > /home/jammCleaner/bin/jammCleaner -b "o=com,dc=mydomain,dc=com" -D > > "cn=Manager,dc=mydomain,dc=com" -w mypasswd -y > > > > *note my .jar files are in /home/jammCleaner/lib/ > > i also have rt.jar in there from the jdk 1.5 which has all the required > > files for the jammCleaner to run. > > This should have been clue 1. You never need to copy rt.jar. > > > i get the following java error > > > > > > Exception in thread "main" java.lang.VerifyError: verification failed at PC > > 9 in com.sun.jndi.ldap.LdapCtxFactory:isLdapRef((Ljava.lang.Object;)Z): > > String,int, or float constant expected > > at _Jv_BytecodeVerifier.verify_fail(byte, int) > > (/usr/lib64/libgcj.so.5.0.0) > > And here is clue #2. You're using gcj, not Sun's java. We have not > tested gcj, and at the current time, we don't support it due to issues > like this. (Last time I looked, the ldap/jndi stuff in gcj wasn't > where we needed it to be.) > > doing a "java -version" will show you which java you're running. Make > sure you're using Sun's jvm. That'll look something like: > java version "1.4.2_05" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04) > Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode) > > gcj will look something like: > java version "1.4.2" > gij (GNU libgcj) version 4.0.2 20051125 (Red Hat 4.0.2-8) > > Keith > > -- > Keith T. Garner [email protected] > "Make no little plans; they have no magic to > stir men's blood." - Daniel H. Burnham > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > Jamm-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/jamm-users > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click