• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
EJBTool failed when building EJB container on Mac OSX
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

EJBTool failed when building EJB container on Mac OSX


  • Subject: EJBTool failed when building EJB container on Mac OSX
  • From: email@hidden
  • Date: Tue, 18 Feb 2003 07:26:40 +1030

I have made many attempts (on Mac OSX 10.2.4 with Project Builder), to get a simple session bean client up and running. There is no trouble making the bean.

Whenever I try to use the bean, by making a new WebObjects Application which is an EJB container, I get the message:
OpenEJBTool failed: The container configuration files could not be generated and added to the project because EJBTool encountered an error. Please run it from the command line and correct the problem.


I found a mention of EJBTool in the documentation for Windows and tried to guess how to run it on the Mac, and got nothing useful to me. The response ended with:
./OpenEJBTool.cmd: ::: command not found
./OpenEJBTool.cmd: line 34: syntax error near unexpected token `(t'
'/OpenEJBTool.cmd: line 34: `:: about handling instances of the block metacharacters (the parenthesis


I tried guessing which extra config files to add, and copied them and adapted them from the Hello_Client example in the documentation. This client built and started to run, getting as far as Tyrex but failed with an Exception, to do with not finding a class with _Tie_ on the end. Something to do with lookup I guess.

I tried building and running the examples from the documentation with no luck. I fixed what seemed like a cast error in this example and still no luck.

(Is there any weird thing to do with naming packages which I am missing? This seems to be wrong in one of the examples, but fixing it doesn't help.)

I would really like to sometimes use WebObjects as a pure J2EE server, but am having no success. Any suggestions would be gratefully received!

Lorraine Harker
email@hidden
email@hidden
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: EJBTool failed when building EJB container on Mac OSX-solved sorta
      • From: email@hidden
  • Prev by Date: Re: Failure to open database channel on Windows 2000
  • Next by Date: Re: NSTimeStamp
  • Previous by thread: returning to a results page (wa)
  • Next by thread: Re: EJBTool failed when building EJB container on Mac OSX-solved sorta
  • Index(es):
    • Date
    • Thread