Question: How do I use jmqconfig to add JMQ objects in Netscape Directory S

How do I use jmqconfig to add JMQ objects in Netscape Directory Server 4.0?I tried all kinds of combination of ldap and always get thefollowing... What wrong? Thanks.
[194 byte] By [christenscreen] at [2007-11-25 8:06:27]
# 1

Here's what I get

=============================================

Sun Microsystems, Inc.

Copyright(c) 1999-2000, All Rights Reserved

=============================================

Adding cn=myTopic...

Error: Schema violation detected. Make sure you follow service provider's schemas.

Here is my part of my batch config file...

call "%JMQ_HOME%\bin\jmqconfig" -a -t t

-n "cn=myTopicBN" -o "name=myTopic"

-i "com.sun.jndi.ldap.LdapCtxFactory"

-u "ldap://mcarey.putnaminv.com:389/o=putnaminv.com"

christenscreen at 2007-7-1 13:56:25 > top of Java-index,Application & Integration Servers,Sun Java System Message Queue...
# 2

The syntax of your jmqconfig call looks OK to me. I assume you've

created a hierarchy on the directory server, with an 'organization'

at the top named "putnaminv.com".

Have you added the Java schema to your Netscape Directory Server ?

jmqconfig stores the destination/factory objects into LDAP servers

via JNDI and this requires the LDAP server (Netscape Dir. Server)

to support the storing of java objects.

I'm not sure if this is mentioned anywhere in documentation - apologies

if not.

In any case, the JNDI tutorial at java.sun.com has pretty good info

on how to do this, and it even has specific info on Netscape Dir.

Server 4.1 or earlier versions.

The main 'Trailmap' for the JNDI tutorial is at:

http://java.sun.com/products/jndi/tutorial/trailmap.html

I would look at the 'Java Objects and the Directory' trail, specifically

the section on 'Storing Objects in the Directory'.

The section(s) above will eventually point you to a 'Preparations'

section for setting up your LDAP server. This page is at:

http://java.sun.com/products/jndi/tutorial/basics/prepare/content.html#SCHEMA

It has some java programs that you can run to install the Java schema

on a running Netscape Dir. server. I believe the program even has flags

that you turn on/off depending on whether your Dir. server is 4.1 or

some earlier version.

I hope this info will help you get thru your difficulties with jmqconfig.

If not, or if you have already done all the above and still see the

problems, please contact us again.

christenscreen at 2007-7-1 13:56:25 > top of Java-index,Application & Integration Servers,Sun Java System Message Queue...