aspose file tools*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Need help : urgent Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Need help : urgent" Watch "Need help : urgent" New topic
Author

Need help : urgent

Tanakorn Numrubporn
Ranch Hand

Joined: Dec 11, 2006
Posts: 81
Thank you Rajan.
I have another question. The problem from combine j2se5.0 with j2ee1.3.1 is something about I can ever use such a core command of j2ee such as 'cloudscape', 'j2ee', 'deploytool' etc. Do you think this problem is relate to the compiled code?
Sreeraj G Harilal
Ranch Hand

Joined: Apr 19, 2006
Posts: 310
Rajan Murugan,

jdk 1.2 is obsolete version.J2SE 2.0 was never released.Both of you clarify this.further if you are working on SCBCD 1.3 you need the said server.No point in deleting the setup and/or installation.


I deleted j2ee 1.3 because i decided to study EJB 3.0 after failing to configure the j2ee 1.3 server.


SCJP 5.0<br />SCWCD 1.4<br />Preparing for <b>SCEA</b>.<br /><b>"I prefer an interesting vice to a virtue that bores."</b>
Rajan Murugan
Ranch Hand

Joined: Jun 24, 2006
Posts: 182
Originally posted by Tanakorn Numrubpor:
j2se 2.0 don't mean only j2se 1.2 but it is also j2se1.3.1 and j2se1.4.2 these jdk versions is can call j2se2.0(sorry for my unclear post).

actually,I mean you can't use only j2se5.0(in fact j2se 1.5.0) with j2eeRI 1.3.1. And I also have one question to whoever come to see this post, why we can't use j2se5.0 with j2eeRI1.3.1.? My teacher told me that it something about the version of cloudscape database. Does it right assumtion?


Have you tested with j2se 1.4.2 ?


With Regards,<br /> Rajan<br />"Java Rocks"
Rajan Murugan
Ranch Hand

Joined: Jun 24, 2006
Posts: 182
Originally posted by Sreeraj G H:
Rajan Murugan,



I deleted j2ee 1.3 because i decided to study EJB 3.0 after failing to configure the j2ee 1.3 server.


You will need it in case you want to test interoperability scenarios.
Tanakorn Numrubporn
Ranch Hand

Joined: Dec 11, 2006
Posts: 81
Originally posted by Rajan Murugan:


Have you tested with j2se 1.4.2 ?


Yes, I have been test and it work fine.
Rajan Murugan
Ranch Hand

Joined: Jun 24, 2006
Posts: 182
Originally posted by Tanakorn Numrubpor:
Thank you Rajan.
I have another question. The problem from combine j2se5.0 with j2ee1.3.1 is something about I can ever use such a core command of j2ee such as 'cloudscape', 'j2ee', 'deploytool' etc. Do you think this problem is relate to the compiled code?


hi,they are not "commands" in the real sense.they are batch files.you can open and go through the batch file and see which commnands are getting called.
But do take up a backup in case you are making changes.
Tanakorn Numrubporn
Ranch Hand

Joined: Dec 11, 2006
Posts: 81
OK, let talk about the 'Real' command.
I look into the 'j2ee.bat' and I can see two part on this bat file. First is set up part that contains the 'if clause' that nothing to discuss except it told me to set the 'J2EE-HOME' and 'JAVA_HOME' correctly.

Second part is the 'Executeing part' and it look chaos, so I can totally understand it. Its detail is;

[ I inserted line breaks for readability - the actual command is all on one line - Jim ]

Do you have a way that we can modify it to use with the j2se5.0.

Thank you
[ February 20, 2007: Message edited by: Jim Yingst ]
Rajan Murugan
Ranch Hand

Joined: Jun 24, 2006
Posts: 182
Originally posted by Tanakorn Numrubpor:
Thank you Rajan.
I have another question. The problem from combine j2se5.0 with j2ee1.3.1 is something about I can ever use such a core command of j2ee such as 'cloudscape', 'j2ee', 'deploytool' etc. Do you think this problem is relate to the compiled code?


Yes it is because of the compiled code.May be because of new and/or enhanced features.
Sreeraj G Harilal
Ranch Hand

Joined: Apr 19, 2006
Posts: 310
Tanakorn Numrubpor, now its working fine.

Thank you very much

Server starts fine and deploytool is also started. Looks everything works fine. But i didn't check the code till now. I am going out now. Today evening i will start Head First EJB
Tanakorn Numrubporn
Ranch Hand

Joined: Dec 11, 2006
Posts: 81
Congratulation!
I know you can't wait to read the HFEJB.

Joyful

Tanakorn
Rajan Murugan
Ranch Hand

Joined: Jun 24, 2006
Posts: 182
Originally posted by Sreeraj G H:
Tanakorn Numrubpor, now its working fine.

Thank you very much

Server starts fine and deploytool is also started. Looks everything works fine. But i didn't check the code till now. I am going out now. Today evening i will start Head First EJB


Good.So what was it that you did now that you didn't do in the last installation !!??
[ January 11, 2007: Message edited by: Rajan Murugan ]
Sreeraj G Harilal
Ranch Hand

Joined: Apr 19, 2006
Posts: 310
Good.So what was it that you did now that you didn't do last !!??

Rajan Murugan, don't do. don't do.

I think my environment variable settings was wrong.
Anyway its working fine now.
Tanakorn make my brain cool with his cool reply.
Rajan Murugan
Ranch Hand

Joined: Jun 24, 2006
Posts: 182
Originally posted by Sreeraj G H:

Rajan Murugan, don't do. don't do.

I think my environment variable settings was wrong.
Anyway its working fine now.
Tanakorn make my brain cool with his cool reply.


That is so cool.PLease do tell us what you did so that many who are struggling like you did will also know how 2...So immediately after setting when you start j2ee from windows explorer it the server is getting started ?
Sreeraj G Harilal
Ranch Hand

Joined: Apr 19, 2006
Posts: 310
Ok Rajan Murugan, I will give the details of Installation and environment setup in detail.

Please wait for sometime(today evening. because i am really busy now).
Sreeraj G Harilal
Ranch Hand

Joined: Apr 19, 2006
Posts: 310
Setup files :-
1) j2sdk-1_4_2_13-windows-i586-p (JDK 1.4)
2) j2sdkee-1_3_1-win (J2EE 1.3)

Installation steps :-
1) Install jdk 1.4. (My installed path is - D:\j2sdk1.4.2_13)
2) Install j2ee 1.3 (My installed path is - D:\j2sdkee1.3.1)

Environment variable settings for windows:-
Control Panel -> System -> Advanced -> Environment Variables

1) PATH = C:\WINDOWS\System32;C:\Windows;D:\j2sdk1.4.2_13\bin;D:\j2sdkee1.3.1\bin
2) CLASSPATH = .;D:\j2sdk1.4.2_13\lib;D:\j2sdkee1.3.1\lib;D:\j2sdkee1.3.1\lib\j2ee.jar
3) JAVA_HOME = D:\j2sdk1.4.2_13
4) J2EE_HOME = D:\j2sdkee1.3.1

Starting Server :-
1) Run Command Prompt
2) type j2ee -verbose <enter>

Sarting Deploy tool :-
1) Run another Command Prompt
2) type deploytool <enter>

Stop and cleanup Server :-
1) Run Command Prompt
2) type cleanup <enter>
Rajan Murugan
Ranch Hand

Joined: Jun 24, 2006
Posts: 182
That was a very nice posting.Good.
May I know which was the part in the environement variable that you missed which was resulting in server not getting started(since you had not mentioned exactly what was happening,its not clear what you were doing and what was happening).I assume you were trying to execute the bat file (j2ee.bat) from windows explorer right(directly after installation).
Niranjan Deshpande
Ranch Hand

Joined: Oct 16, 2005
Posts: 1277
so..

Sreeraj

fif you finally start with your examples ?
I too going throug similar issues, but your giery debate solved msot of my questions

hope to kickstart the thind !


SCJP 1.4 - 95% [ My Story ] - SCWCD 1.4 - 91% [ My Story ]
Performance is a compulsion, not a option, if my existence is to be justified.
Carol Enderlin
drifter
Ranch Hand

Joined: Oct 10, 2000
Posts: 1364
OK guys, let's BeNice.
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18671
I have deleted the not-so-nice-messages that Carol was replying to - but her message is still good. It looks to me like this thread started out with some problems but they were addressed (politely) and corrected. There's no need for new people to come in now and complain about behavior at the beginning of the thread; it's old news. Let's move on.


"I'm not back." - Bill Harding, Twister
Inewie Green
Greenhorn

Joined: Jul 04, 2009
Posts: 5
Hello everbody,

This is 2009, I do not find that old jdk, it is not available for free in the sun site. Is it possible to run the examples in the book with:
java version: 1.6.0_13
and server: j2sdkee-1_3_1-win or newer

Thank you in advanced.

Inewie
Inewie Green
Greenhorn

Joined: Jul 04, 2009
Posts: 5
Hello,

I am going to ask a very stupid question, I am a beginner. Do I need the sun server? is it possible with another server? if I use the JBOSS and the standard JDK, do I need an implementation or extra jdk (from Sun) for EE applications in order to run the examples from the book? am I allright using only the standard jdk and Jboss?
I always thought there was two jdk implementations, the standard for for things like POJOs and an EE implementation of the jdk for Beans, Servlets,etc. But Maybe I can get that implementation from JBOSS? Can anyone answer this? I think I am not fully understanding this.

Thank you.

Inewie
 
 
subject: Need help : urgent