• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Need help : urgent

 
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Ranch Hand
Posts: 310
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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 ?
 
Rajan Murugan
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 81
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 182
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 81
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 182
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 310
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 81
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congratulation!
I know you can't wait to read the HFEJB.

Joyful

Tanakorn
 
Rajan Murugan
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 310
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 182
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 310
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 310
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 182
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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).
 
Ranch Hand
Posts: 1277
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 !
 
drifter
Posts: 1364
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OK guys, let's BeNice.
 
Wanderer
Posts: 18671
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Onion rings are vegetable donuts. Taste this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic