Re: Trouble getting jammCleaner to run

"Keith T. Garner" <[email protected]> Fri, 6 Jan 2006 14:37:14 -0600
Newsgroups gmane.mail.jamm.user
Message-ID <[email protected]>
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