Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Sun ONE Application Server 7 Deployment instruction for Advisor Example in Chapter 1

Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Okay, here we go, I finally got that working. However, I still don't know how to get a generated Stub-jar.
Any ways, for those that would like to play around with Sun ONE Application Server 7: Here we go:
0) Follow all the steps in HF EJB, so that you know your app is definitely working!!! You have the AdviceApp.ear from the RI.
1) unjar it

From now on you need one new Deployment Descriptor (DD) [sun-ejb-jar.xml] and modify an existing one [application.xml]
2) We need to have a new Sun ONE server-specific deployment descriptor:
Name: sun-ejb-jar.xml
Location: in the same directory as the normal DD ejb-jar.xml (META-INF)

3) We need to make sure that application.xml
Name: application.xml
Location: directory under META-INF in the ear file [application.xml] (META-INF)

4) Deploy it using the Administration Tool in the Browser. Default:
However, I still don't know how to generate those Client stub. Well, I guess, stay tuned or may be somebody has an answer soon.
[ November 23, 2003: Message edited by: John Liang ]
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
go to the app deployed will see it. For windows, the default would be:
John Liang
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, that's great help. I have found it, but:

javax.naming.CommunicationException: Can't find SerialContextProvider
at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.jav
at com.sun.enterprise.naming.SerialContext.lookup(
at javax.naming.InitialContext.lookup(
at AdviceClient.go(
at AdviceClient.main(

So ... ... any idea? I have checked out the javasoft site, they said that's a problem with JDK ...
Thanks in advance,
The two armies met. But instead of battle, they decided to eat some pie and contemplate this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic