3.1.4 Creating the JMS Administered Objects

Hi

I'm strcuk at the above step.

when i type the following command

j2eeadmin -addJmsDestination MyQueue queue

I got the following errors.

'j2eeadmin' is not recognized as an internal or externalcommand,operable program or batch file.

can anybody help with these?

Thanks

Murali

[355 byte] By [muralira] at [2007-9-26 2:42:10]
# 1

This may simple mean that your PATH setting does not have %J2EE_HOME%\bin as one of its components.

If you do not want to setup your PATH appropriately, try by first changing you directory to the bin sub-directory of your J2EE SDK installation. And run the command from there.

neville_sequeira at 2007-6-29 10:18:52 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2
Thanks for the reply ...I already set the path to %J2EE_HOME%\binbut the problem is still there..Thanks,Murali
muralira at 2007-6-29 10:18:52 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 3
Onemore thing, Is there j2eeadmin batch file or script is anywhere in the j2sdkee1.2.1?
muralira at 2007-6-29 10:18:52 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 4

No. I j2eeadmin.bat is not in J2EE SDK 1.2.1

Its included in J2EE SDK 1.3

Also, J2EE SDK 1.2.1 did not have an implementation of JMS. It has been inculded in the SDK starting J2EE 1.3

By the way, this shows the usefulness of specifying ones environment, product versions etc in ones forum topic post. In the current instance for example, we could have saved time an a few messages going back and forth on the forum.

neville_sequeira at 2007-6-29 10:18:52 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 5
Hi, so what I can do run that example. I need to get the J2EE 1.3 or is there any other solutionThanks for giving suggestions.Murali
muralira at 2007-6-29 10:18:52 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 6
If you want to run the JMS examples against the reference implementation of JMS server that comes with J2EE SDK 1.3, then I guess you do not have an option other than to download J2EE SDK 1.3 and install it. Right ?
neville_sequeira at 2007-6-29 10:18:52 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 7

I am stuck at this point while creating administered objects

j2eeadmin -addJmsDestination MyQueue queue

I am getting 3 syntax erros in setenv.bat

set JAAS_OPTIONS=-Djava.security.auth.policy=%J2EE_HOME%\lib\security\jaas.policy

set SSL_OPTIONS=-Djavax.net.ssl.trustStore=%J2EE_HOME%\lib\security\cacerts.jks

set LISTEN_OPTIONS=-Dcom.sun.CORBA.connection.ORBListenSocket=SSL:0,SSL_MUTUALAUTH:0,PERSISTENT_SSL:1060

at these lines.

Please help in this regard.

nfaisal at 2007-6-29 10:18:52 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 8

Hey!

My name is Harianto...still a novice at JMS trying to get things started and working. All my paths and things I think are ok now...working with j2sdkee1.3 and jdk1.3

the j2ee server is already up and running and I've compiled example sender and reciever files for JMS. now I'm trying to do:

j2eeadmin -listJmsDestination

and gives me "bad command or file name" even if I change to the j2sdkee1.3\bin\ directory and type it in there...any suggestions on what to do?

hariantomehta at 2007-6-29 10:18:52 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...