Hello!
First things first, you cannot assume that everyone here knows the book you
are reading at the moment.
Since you did not give us any further information on what exactly you did,
what you expected and what did actually happen, any advice you might receive
will be mostly shots in the dark.
> I followed the instructions and everything went well till I reached
> the section where I have to run this bat file. I get errors when I run
> it.
And what error might that be?
> By the way, Dummies uses JBoss 3.0.0 while I am using JBoss-4.2.0.GA
JBoss 3 is ancient. You should really try to get literature that is a little
more up-to-date. So many things have changed in JBoss since 3.0.0, that I
don't think, this book will do you any good.
> Two things I noticed.
> Firstly, in the bat file the author has used %JBOSS% - Should I change
> it to something else.
Well, obviously. %JBOSS% is Windows' poor excuse for a shell variable.
It is supposed to represent your JBOSS_HOME, the directory containing the
JBoss intallation.
> Secondly, I notice the files listed in the bat
> file are different from the ones I have in the client directory of my
> JBoss installation. So do they all need to be listed or changed.
Or you might want to get yourself a tutorial that is a little more up-to-date.
Like I said, JBoss 3 is way old.
> I have pasted both the bat file and the error I get below.
No, you have not.
Regards,
Phil
ros - 07 Jun 2007 22:11 GMT
> Hello!
>
[quoted text clipped - 3 lines]
> what you expected and what did actually happen, any advice you might receive
> will be mostly shots in the dark.
Hello!
First things first. I must say you are a good writer! Thanks for the
advice. Appreciated. Am new to programming so sometimes I can't
explian my problem as clearly as I would like. Am learning.
> > I followed the instructions and everything went well till I reached
> > the section where I have to run this bat file. I get errors when I run
> > it.
>
> And what error might that be?
Sorry for forgetting to copy-paste the error.
> > By the way, Dummies uses JBoss 3.0.0 while I am using JBoss-4.2.0.GA
>
> JBoss 3 is ancient. You should really try to get literature that is a little
> more up-to-date. So many things have changed in JBoss since 3.0.0, that I
> don't think, this book will do you any good.
Well, actually here my question should have been what to change in
this BAT file so that it runs in JBoss-4.2.0.GA.
> > Two things I noticed.
> > Firstly, in the bat file the author has used %JBOSS% - Should I change
[quoted text clipped - 3 lines]
> It is supposed to represent your JBOSS_HOME, the directory containing the
> JBoss intallation.
I wanted to know whether I should add this env variable to my machine
or should I change it to that path in the bat file. So, it was not
that obvious to me. I am a new programmer seeking help so what's
obvious to you was definitely not obvious to me.
> > Secondly, I notice the files listed in the bat
> > file are different from the ones I have in the client directory of my
> > JBoss installation. So do they all need to be listed or changed.
>
> Or you might want to get yourself a tutorial that is a little more up-to-date.
> Like I said, JBoss 3 is way old.
As I said before I wanted to run this app on my machine using the same
format as explained in the book. I apologise if the post wasn't that
clear.
> > I have pasted both the bat file and the error I get below.
>
> No, you have not.
Please accept my apologies.
> Regards,
>
> Phil
Regards
Ros
> I am new to EJB and am trying EJB for dummies. I tried to deploy a
> sample application that can be downloaded from the book website -
[quoted text clipped - 14 lines]
> really thankful if someone kindly guides me how I can solve this
> isssue.
You should not need that BAT file.
Just copy your xxx-ejb.jar / yyy.war / zzz.ear to the
proper deploy directory.
Arne
ros - 07 Jun 2007 21:57 GMT
On Jun 5, 7:01 pm, Arne Vajh?j <a...@vajhoej.dk> wrote:
> > I am new to EJB and am trying EJB for dummies. I tried to deploy a
> > sample application that can be downloaded from the book website -
[quoted text clipped - 21 lines]
>
> Arne
Thank you so much for the reply Arne. I really appreciate that.
Actually, I was just trying to follow the steps as described in the
book. I was curious how it worked with the BAT file and if I could
just modify and run it.
Although I have been able to run the project using Netbeans; just
wanted to explore this different approach.
Thanks again.
Ros