• 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
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

J2EE 1.3 RI doesn't start...

 
Ranch Hand
Posts: 284
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I just downloaded J2EE 1.3 and setup, to go along with my HFE study.
But i cannot start the J2ee server (J2EE RI).

I get this :


java version "1.5.0_06"

j2ee version : Java 2 Enterprise Edition version 1.3.1, build 1.3.1-b17

Help, I don't wanna use another server like JBoss... Someone knows?

Oh forgot to say, i check with netstat, noone is using port 1050 (netstat -an), and i tried to change port number in orb.properties to many values, with no effect.
[ March 22, 2006: Message edited by: Frederic Esnault ]
 
Frederic Esnault
Ranch Hand
Posts: 284
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok, this is solved (well at least now J2EE 1.3 RI is launched

This is what i was afraid of.

After going through web search and find a sun bug about j2ee 1.3 describing exactly my problem, declared as "closed, will not be fixed".

Their explanation was incompatibility problem between j2ee 1.3 and j2se 1.4.
So i tried to download sun java system application server (sjsap) only from j2ee 1.4.

I went through HFE tutorial (first chapter) with only a few deploytool differences, but managed to finish it. But, my client finished, i was unable to make the whole thing work together.

I decided to give up and to do what i didn't want to : remove jdk 1.5 and setup jdk 1.3...

I did, rebooted, and tried, and the j2ee 1.3 RI appserver launches correctly.
I go again through the tutorial in HFE to redo the whole EAR creation process, and i'll tell you if the whole thing works.

Wait and see ! (and hope... )
 
Frederic Esnault
Ranch Hand
Posts: 284
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well problem again.

Everything went perfectly fine into deploytool and client jar and client compilation, but when it comes to run the whole thing, same error occurs :


and the same for other xxx.properties files...

Any idea?
 
Frederic Esnault
Ranch Hand
Posts: 284
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok now i copied the config directory fron the j2ee 1.3 RI into my project directory and it works.

There is still a problem due to the bug in RI:
java.rmi.RemoteException: CORBA BAD_OPERATION 0

You should refer to the HFE errata there to fix it :

http://www.oreilly.com/catalog/hfjejb/errata/hfjejb.confirmed

I gotta go now, so I'll try as soon as I'm back. Wait and see !
 
Frederic Esnault
Ranch Hand
Posts: 284
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Voila !

I made the changes as said in the HFE errata, and now it works !

Yeepee ! I can use J2EE 1.3 RI server. I was afraid I had to work with 1.4 or JBoss.

 
Ranch Hand
Posts: 213
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for keeping us updated. There are quite a few of us migrating over to this board and it would have been easy for you to not update your post after getting no responses. I appreciate the information!
 
Frederic Esnault
Ranch Hand
Posts: 284
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You're welcome !

I made a document about this bug workaround, and made it available on my website here :HFE Chapter 1 bug workaround

Best thing to do is to use JDK1.3 and J2EE 1.3 and read this bug workaround; everything should rock !
 
The government thinks you are too stupid to make your own lightbulb choices. But this tiny ad thinks you are smart:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic