Re: ejb performance

2000-12-16 Thread Marcus Lankenau

Hi Savotchkin!

Could you please describe, what you did to activate pooling? I tried this for 
my application, but without success... (could you maybe post you datasource 
xml?)

thx in advance
Marcus Lankenau

 Yeah!!! I forgot that in this function I got not pooled db connection. So,
 after I turned the pooling on it became 0 to 10 ms (on PIII 600 with 256
 RAM) to invoke this function!!! Great indexes!!
 So given these numbers I may throw away all these transaction attributes
 and f.ex. always specify requires, since it doesnot affect perfomance...

 Regards,
Savotchkin Egor

 Web-technologies department
 eMail: [EMAIL PROTECTED]
 CJSC "SoftPro" - Billing systems
 tel: (+7-095) 755-5655 (3135)
 web-site: http://www.cboss.ru


-- 
begin:vcard 
n:Lankenau;Marcus
x-mozilla-html:FALSE
url:wwl.de
org:wwl vision2market;Interactive
adr:;;goebelstr. 46;Lilienthal;D;28865;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Senior Developer
fn:Marcus Lankenau
end:vcard




generic access to ejbs

2000-12-14 Thread Marcus Lankenau

Hi!

My which for xmas:
I need a tool (a servlet), wich searches throug jndi  for home
interfaces of my beans and let me
find beans (call finders), show em as table (html), let me create new
beans, delete beans and so on. Does such a tool already exist, os is
there someone working on this? If not can someone give me hint how to
search home-interfaces through jndi (example).


Marcus Lankenau



begin:vcard 
n:Lankenau;Marcus
x-mozilla-html:FALSE
url:wwl.de
org:wwl vision2market;Interactive
adr:;;goebelstr. 46;Lilienthal;D;28865;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Senior Developer
fn:Marcus Lankenau
end:vcard



Re: restarting orion-server

2000-12-12 Thread Marcus Lankenau

Hi Michael!

"Michael S. Kelly" wrote:

 Have tried telneting into your server and executing the following at the
 command prompt?

 java -jar admin.jar ormi://localhost/ admin 123 -restart

 "admin" is a user name with administration permissions and "123" is the
 password (see the principals.xml config file).


Yes I did, but without success.It seems that the server does not shutdown.
When using shutdown (with admin-tool) the server does not stop. Only
-shutdown force does the job.


Marcus Lankenau


begin:vcard 
n:Lankenau;Marcus
x-mozilla-html:FALSE
url:wwl.de
org:wwl vision2market;Interactive
adr:;;goebelstr. 46;Lilienthal;D;28865;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Senior Developer
fn:Marcus Lankenau
end:vcard



restarting orion-server

2000-12-08 Thread Marcus Lankenau

Hi!

We are running our orion-process on debion linux and we wanna restart
the server remotely (since after deploying the application the ejbs are
not accessible). Has anyone managed to restart the orion-server from the
orionconsole? Wenn invoking 'restart' the server writes

Error starting RMI-Server: IO Error: Address already in use
Error starting HTTP-Server: Address already in use

When invoking 'shutdown' and then 'restart' there is no response after
the 'shutdown'.

Thx in advance
Marcus Lankenau


begin:vcard 
n:Lankenau;Marcus
x-mozilla-html:FALSE
url:wwl.de
org:wwl vision2market;Interactive
adr:;;goebelstr. 46;Lilienthal;D;28865;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Senior Developer
fn:Marcus Lankenau
end:vcard



integrating orion-ejb-jar.xml into application

2000-12-04 Thread Marcus Lankenau

Hey!


I understand the possibilities of the orion-ejb-jar.xml file (specifying 
finder-sqls and rel-mapping), but I wan't to intigrate this into our 
application appname.ear or the tree beneath orion/applications. Are there any 
possibilities to integrate these information into the ejb-jar.xml or to place 
the orion-ejb-jar.xml somewhere in the application? I think these information 
at least finder-statements are somehow part of the application

thanks in advance
Marcus Lankenau

-- 
begin:vcard 
n:Lankenau;Marcus
x-mozilla-html:FALSE
url:wwl.de
org:wwl vision2market;Interactive
adr:;;goebelstr. 46;Lilienthal;D;28865;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Senior Developer
fn:Marcus Lankenau
end:vcard




Re: Class-Cast-Exception Error

2000-12-04 Thread Marcus Lankenau

Hi Paul!


Same probleme here.We get this errer when a ejb is recompiled and redeployed. The
disappeares on server restart.

Paul Kofon wrote:

 Hi,

 I have a Web application with forms. A servlet updates a database on behalf
 of a JSP. It worked okay until today when some one in my company tried to
 fill and submit one of the forms. He got a class-cast Exception. I was
 amazed because that had never happened. I tried it myself and got the same
 error. I was certain that my application was okay since it had run a couple
 of other times without errors. I stopped Orion and restarted it and the
 error disappeared! Strange I must say.
 Is this a known problem with Orion?

 Regards,

 Paul
 _
 Get more from the Web.  FREE MSN Explorer download : http://explorer.msn.com


begin:vcard 
n:Lankenau;Marcus
x-mozilla-html:FALSE
url:wwl.de
org:wwl vision2market;Interactive
adr:;;goebelstr. 46;Lilienthal;D;28865;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Senior Developer
fn:Marcus Lankenau
end:vcard



Problems getting demo/ejb running

2000-11-27 Thread Marcus Lankenau

Hi!

I've tried to get this ejb-demo (path orion/demo/ejb/product) running, 
unfortunately without success. After following the instruction "Installing 
the EJB examples" and starting the client I got this:

Exception in thread "main" java.lang.SecurityException: Invalid 
username/password for ejbsamples (admin)
at com.evermind.server.rmi.bb.gg(JAX)
at com.evermind.server.rmi.bb.gg(JAX)
at com.evermind.server.rmi.bb.f_(JAX)
at com.evermind.server.rmi.RMIServer.f_(JAX)
at com.evermind.server.rmi.RMIContext.lookup(JAX)
at com.evermind.server.Application.ap7(JAX)
at 
com.evermind.server.ApplicationClientInitialContextFactory.getInitialContext(JAX)
at 
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:668)
at 
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246)
at javax.naming.InitialContext.init(InitialContext.java:222)
at javax.naming.InitialContext.init(InitialContext.java:178)
at ProductClient.main(ProductClient.java:29)


Then I changed the initial context creation to this (giving username and 
password):

final Properties properties = new Properties();
properties.setProperty(Context.SECURITY_PRINCIPAL, "admin");
properties.setProperty(Context.SECURITY_CREDENTIALS, "admin");
Context context = new InitialContext(properties);

As result I got this:

Communication error: Error reading application-client descriptor: Error 
looking up EJBHome: Disconnected: Unknown command: 7


Now I'm a little confused and would apreciate any help...


Thanx in regards
Marcus Lankenau