RE: Begging for help

2002-05-15 Thread Satter, Rabi

Can you point a browser at the url and get the wsdl? 

Are you trying to access the EJB directly? If so you need pro which can talk
to stateless session beans. 

Probably doesn't matter but you might try putting the jar file in the
orion/lib directory.

Hopes this helps.

-Original Message-
From: Jon Bricker [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 15, 2002 7:56 AM
To: Orion-Interest
Subject: Begging for help


I'm begging for some help on this set up.  I'm using Glue Standard for using
SOAP calls.  Anyone that has used Glue with Orion before please help me out.

I've gotten the orion example from glue working. Now I'm trying to do
something
practical. I've set up an app on Orion. It had to be a separate app because
it
will be using EJBs that are already deployed.

So in server.xml I have

application name=cande path=../applications/cande.ear parent=catd /

catd is the application with the EJB I need. I need this to have the apps
share EJBs.

I have the GLUE-STD.jar in my WEB-INF/lib

my web.xml looks like this:
web-app

!-- Description --
servlet
servlet-name http /servlet-name
servlet-class electric.server.http.ServletServer /servlet-class

init-param
param-name electric.commands /param-name
param-value /orion-files/glue/commands.xml /param-value
/init-param

load-on-startup 1 /load-on-startup
/servlet

servlet-mapping
servlet-name http /servlet-name
url-pattern /* /url-pattern
/servlet-mapping

ejb-ref
ejb-ref-nameejb/CanDEDataMgr/ejb-ref-name
ejb-ref-typeSession/ejb-ref-type
homecom.lilly.javaatg.catd.ejb.CanDEDataMgrHome/home
remotecom.lilly.javaatg.catd.ejb.CanDEDataMgr/remote
/ejb-ref

/web-app

It is the same as the webapps/glue web.xml except for the file location of
the
commands.xml and the reference to my EJB.

My commands.xml looks like this:
commands
invoke electric.registry.Registry.publishInstance( urn:cande, 
com.lilly.javaatg.catd.cande.DataLoadImpl ) /invoke
/commands

I wrote a test program to try this out. The main calls look like this:

String url = 
http://duke1.d51.lilly.com:8088/cande/urn:cande.wsdl;;

RemoteDataLoader dataLoad = (RemoteDataLoader) 
Registry.bind( url, RemoteDataLoader.class );
boolean answer = dataLoad.isUserValid(userID,password);

When I run it I get this error:
could not bind to path: 
http://duke1.d51.lilly.com:8088/cande/urn:cande.wsdl
Exception:
electric.registry.RegistryException: could not bind to path: 
http://duke1.d51.lilly.com:8088/cande/urn:cande.wsdl
at electric.net.soap.SOAPRegistry.bind(Unknown Source)
at electric.registry.compound.CompoundRegistry.bind(Unknown Source)
at electric.registry.Registry.bind(Unknown Source)
at electric.registry.Registry.bind(Unknown Source)
at ejbtest.main(ejbtest.java:78)
Caused by: java.io.IOException: HTTP GET error: 
http://duke1.d51.lilly.com:8088/cande/urn:cande.wsdl Internal Server 
Error. Response code: 500: unable to load file 
http://duke1.d51.lilly.com:8088/cande/urn:cande.wsdl

I've tried generating the wsdl and pointing the console to it but that does
not
work. 

What am I missing to make this work? 


=
Jon Bricker

You should never settle for the lesser of two Weasels.

__
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com




Fw: Re: Begging for Help: EJB Deployment in Orion Server 1.0

2000-08-08 Thread Stanislav Bernatsky


-Original Message-
From: "Stanislav Bernatsky" [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Date: Tue, 8 Aug 2000 13:00:15 +0300 (EEST)
Subject: Fw: Re: Begging for Help: EJB Deployment in Orion Server 1.0

 
 -Original Message-
 From: David Sierra Fernandez [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Date: Mon, 7 Aug 2000 16:30:11 +0200 (MET DST)
 Subject: Re: Begging for Help: EJB Deployment in Orion Server 1.0
 
  
  First of all you have to create a J2EE directory estructure:
  
  application --- META-INF/application.xml
  |
   module.jar
  |
   module.war
  
  and then follow the instructions in Orion docs "How to deploy an app"
  
  You have to create yourself application.xml. Read in docs about the
  estructure of this file but basically you only have to declare the modules
  you use in the app.
  
  Hope this helps or at least push you a bit.
  
  
  -
  David Sierra Fern ndez
  Ingeniero Tecnico de Telecomunicaci¢n
  AULA RETECAL (CEDETEL)   Universidad de Valladolid
  Campus Miguel Delibes   E-Mail: [EMAIL PROTECTED]
  47011 Valladolid (SPAIN)
  --
  
   -- Sierr@ --
  
  On Mon, 7 Aug 2000, Ray Harrison wrote:
  
   Hello: (I am quite new - forgiveness and patience please!)
   
   I am working with Monson-Haefel's EJB book and am trying to figure out a way to 
deploy the
   example EJBs to the Orion Server (1.0). I have seen a number of postings on the 
subject 
   (deployment of EJBs) but have seen few, if any, answers. I would like to ask 
for, nay
   beg for, some answers. I am quite new at EJBs but making rapid progress and 
would like
   to continue learning w/o being bogged down by the well-known poor docs of Orion. 
I have
   successfully deployed EJBs in Sybase's Jaguar CTS (I guess it's EA Server, now).
   
   Does ANYONE have suggestions on deployment of EJBs. Has anyone successfully 
deployed
   the Monson-Haefel EJBs in Orion? I have the JAR file and the ejb-jar.xml file.
   I take the these and do what, exactly?
   
   Any help is greatly appreciated

   
   __
   Do You Yahoo!?
   Kick off your party with Yahoo! Invites.
   http://invites.yahoo.com/
   
   
  
  
  
 
 Best regards,
 Stanislav Bernatsky
 
 
 -
 ðÏÌÕÞÉÔÅ ÂÅÓÐÌÁÔÎÙÊ ÐÏÞÔÏ×ÙÊ ÑÝÉË @ukr.net ÎÁ http://freemail.ukr.net
 
 
 

Best regards,
Stanislav Bernatsky


-
ðÏÌÕÞÉÔÅ ÂÅÓÐÌÁÔÎÙÊ ÐÏÞÔÏ×ÙÊ ÑÝÉË @ukr.net ÎÁ http://freemail.ukr.net





Re: Begging for Help: EJB Deployment in Orion Server 1.0

2000-08-07 Thread David Sierra Fernandez


First of all you have to create a J2EE directory estructure:

application --- META-INF/application.xml
|
 module.jar
|
 module.war

and then follow the instructions in Orion docs "How to deploy an app"

You have to create yourself application.xml. Read in docs about the
estructure of this file but basically you only have to declare the modules
you use in the app.

Hope this helps or at least push you a bit.


-
David Sierra Fern ndez
Ingeniero Tecnico de Telecomunicaci¢n
AULA RETECAL (CEDETEL)   Universidad de Valladolid
Campus Miguel Delibes   E-Mail: [EMAIL PROTECTED]
47011 Valladolid (SPAIN)
--

 -- Sierr@ --

On Mon, 7 Aug 2000, Ray Harrison wrote:

 Hello: (I am quite new - forgiveness and patience please!)
 
 I am working with Monson-Haefel's EJB book and am trying to figure out a way to 
deploy the
 example EJBs to the Orion Server (1.0). I have seen a number of postings on the 
subject 
 (deployment of EJBs) but have seen few, if any, answers. I would like to ask for, nay
 beg for, some answers. I am quite new at EJBs but making rapid progress and would 
like
 to continue learning w/o being bogged down by the well-known poor docs of Orion. I 
have
 successfully deployed EJBs in Sybase's Jaguar CTS (I guess it's EA Server, now).
 
 Does ANYONE have suggestions on deployment of EJBs. Has anyone successfully deployed
 the Monson-Haefel EJBs in Orion? I have the JAR file and the ejb-jar.xml file.
 I take the these and do what, exactly?
 
 Any help is greatly appreciated
  
 
 __
 Do You Yahoo!?
 Kick off your party with Yahoo! Invites.
 http://invites.yahoo.com/
 
 





Re: Begging for Help: EJB Deployment in Orion Server 1.0

2000-08-07 Thread Mike Clark

The Orion Primer provides an introduction to deploying EJBs with
Orion...

   http://www.znerd.demon.nl/orion-primer/

Mike

--- Ray Harrison [EMAIL PROTECTED] wrote:
 Hello: (I am quite new - forgiveness and patience please!)
 
 I am working with Monson-Haefel's EJB book and am trying to figure
 out a way to deploy the
 example EJBs to the Orion Server (1.0). I have seen a number of
 postings on the subject 
 (deployment of EJBs) but have seen few, if any, answers. I would like
 to ask for, nay
 beg for, some answers. I am quite new at EJBs but making rapid
 progress and would like
 to continue learning w/o being bogged down by the well-known poor
 docs of Orion. I have
 successfully deployed EJBs in Sybase's Jaguar CTS (I guess it's EA
 Server, now).
 
 Does ANYONE have suggestions on deployment of EJBs. Has anyone
 successfully deployed
 the Monson-Haefel EJBs in Orion? I have the JAR file and the
 ejb-jar.xml file.
 I take the these and do what, exactly?
 
 Any help is greatly appreciated
  
 
 __
 Do You Yahoo!?
 Kick off your party with Yahoo! Invites.
 http://invites.yahoo.com/
 
 
 
 


__
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/