Vlad,
So I guess a 0.9.2 jar is newer than the 0.9.1g jar I'm using. This may be helpful to the list.
Eric

Vlad Petric wrote:

Did that as instructed, but now I have "Orion/0.9.2 initialized" ?!?

There is something wrong with that webpage ....

Thank you,
Vlad

> Replace the orion.jar with the one on the home page. http://www.orionserver.com
> It is an upgrade and the server needs to say 0.9.1g. Okay?
> eric
>
> Vlad Petric wrote:
>
> > I am using 0.9.1b, downloaded two days ago. If I don't put ejbsamples, everything
> > works fine:
> >
> > Auto-deploying D:\orion\default-web-app...
> > Orion/0.9.1b initialized
> >
> > If I put ejbsamples, "Orion/0.9.1b initialized" doesn't appear anymore
> >
> > Thanks again,
> > Vlad
> >
> > Sorry I can't be more help on this but I have no idea.
> >
> > > Eric :-(
> > > p.s. Are you using the 0.9.1b with the replaced jar (on the home page)so when the
> > > server starts up it shows 0.9.1g?
> > >
> > > Vlad Petric wrote:
> > >
> > > > Thank you, Eric
> > > >
> > > > I did something similar - I have replaced the default data source in
> > > > data-sources.xml (JDBC connectivity parameters are correct - I have checked the
> > > > DB connection in Forte) :
> > > >
> > > >  <data-source
> > > >   name="Krypton data-source"
> > > >   class="com.evermind.sql.ConnectionDataSource"
> > > >   location="jdbc/DefaultDS"
> > > >   pooled-location="jdbc/DefaultPooledDS"
> > > >   xa-location="jdbc/xa/DefaultXADS"
> > > >   ejb-location="jdbc/DefaultEJBDS"
> > > >   url="jdbc:weblogic:mssqlserver4:dragos:1433?db=gce"
> > > >   connection-driver="weblogic.jdbc.mssqlserver4.Driver"
> > > >   username="sa"
> > > >   password=""
> > > >  />
> > > >
> > > > Nothing happened - I get the same errors.
> > > >
> > > > Vlad
> > > >
> > > > > <data-source
> > > > >                 name=" Krypton data-source"
> > > > >                 class="com.evermind.sql.ConnectionDataSource"
> > > > >                 location="jdbc/DefaultDS"
> > > > >                 pooled-location="jdbc/DefaultPooledDS"
> > > > >                 xa-location="jdbc/xa/DefaultXADS"
> > > > >                 ejb-location="jdbc/DefaultEJBDS"
> > > > >                 url="jdbc:oracle:thin:@krypton:1521:krypton"
> > > > >                 connection-driver="oracle.jdbc.driver.OracleDriver"
> > > > >                 username="teal"
> > > > >                 password="teal"
> > > > >         />
> > > > > I had a couple of problems due to table name length- previous post but at
> > > > > least it deployed.
> > > > > That's all I know.
> > > > > Eric :-)
> > > > > p.s. good luck
> > > > >
> > > > > Vlad Petric wrote:
> > > > >
> > > > > >  What I did
> > > > > >    -unpacked orion in d:\orion
> > > > > >     -copied tools.jar in d:\orion
> > > > > >     -added  <application name="ejbsamples" path="../demo/ejb" /> in
> > > > > > server.xml
> > > > > >     -removed deactivated=true from <user username="admin"
> > > > > > password="123"> in principals.xml
> > > > > >     -set CLASSPATH to
> > > > > > .;d:\orion\orion.jar;d:\orion\ejb.jar;d:\orion\jndi.jar
> > > > > >     -ran java -jar orion.jar in d:\orion
> > > > > >
> > > > > > what I get is:
> > > > > >
> > > > > > ===============
> > > > > > Auto-deploying ejbsamples...
> > > > > > Auto-deploying usermanager... Error compiling
> > > > > > file:/D:/orion/demo/ejb/usermanage
> > > > > > r/: Error finding a suitable DataSource: No default XADataSource and no
> > > > > > source s
> > > > > > pecified
> > > > > > Auto-deploying product... Error compiling
> > > > > > file:/D:/orion/demo/ejb/product/: Erro
> > > > > > r finding a suitable DataSource: No default XADataSource and no source
> > > > > > specified
> > > > > >
> > > > > > Auto-deploying cart... done.
> > > > > > Auto-deploying product... Error initializing server: Error
> > > > > > auto-deploying applic
> > > > > > ation-client at product: No location specified and no suitable instance
> > > > > > of the t
> > > > > > ype 'Product' found for the ejb-ref MyProduct
> > > > > > ==============================
> > > > > >
> > > > > > The errors are there because the lack of a suitable DataSource, of
> > > > > > course. What puzzels me is the lack of a message telling me that the
> > > > > > webservice had been started, or something like that.
> > > > > > http://localhost simply doesn't work.
> > > > > >
> > > > > > I tried the cart demo afterwards. I went to d:\orion\demo\ejb\cart,  ran
> > > > > > java CartClient, which gives me the following error message:
> > > > > >
> > > > > > Communication error: java:comp/ResourceFinder not found
> > > > > >
> > > > > > Then I tried to shutdown the server (I know that theoretically I should
> > > > > > not need to do this):
> > > > > >
> > > > > > D:\orion>java -jar shutdown.jar ormi://127.0.0.1 admin 123
> > > > > > Error: java:comp/ServerAdministrator not found
> > > > > >
> > > > > > Could someone please tell me what the <beep> have I done wrong ?
> > > > > >
> > > > > > Vlad Petric

Reply via email to