Re: Running 2 Orions on the Same Machine

2001-05-07 Thread Robert Krueger

At 23:30 06.05.2001 , you wrote:
Hi,

I am trying to run 2 Orions on the same machine.  Everything seems to be 
ok but when I start the 2nd Orion, I get the following message, even thou 
it still starts: Error Starting RMI-Server:IO -Error: Address in use JVM_Bind.

How can I get rid of this Error?

make sure the rmi server listens on a different address/port (rmi.xml, see 
below) for each instance you're running.

rmi-server host=my.host.com port=23791 
serialize-connection-calls=true|false

HTH

Robert

Thanks,
Brandy
_
Get your FREE download of MSN Explorer at http://explorer.msn.com



(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: Connection Pooling in Orion

2001-05-05 Thread Robert Krueger

At 18:43 04.05.2001 , you wrote:
I think I've correctly set up database connection pooling for my enterprise
app. But how do I confirm that Orion is actually doing connection pooling for
me?

- look at your dbms logs (if your dbms provides such facilities)
- enable tracing in your jdbc driver (again, if your jdbc driver provides 
something like that)
- just rely on it because it does work ;-)

HTH

robert

Thanks.


__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: Interests sake

2001-05-03 Thread Robert Krueger

At 15:53 03.05.2001 , you wrote:

Hi all,

For interests sake, what OS is everyone on the list running orion on?

Windows 2000?
WinNT
Linux?

dev and prod on Linux.

Except for the well-known occasional linux JVM quirks it runs OK.



(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: Does any one else see any problems with latest PDF2?

2001-04-28 Thread Robert Krueger


It looks like you're right, which (looking at our typical deployment 
organization) makes the spec completely unsuable in that regard. could you 
crosspost your email to EJB-INTEREST? It's more likely that you'll get a 
response from an expert group member. I sure hope we're both missing something.

Regards,

Robert

At 14:38 27.04.2001 , you wrote:
Looking at the latest spec PFD2, it appears that it is not possible to
establish a unidirectional relationship between two entity beans in separate
ejb-jar.xml files.  With the removal of remote-ejb-name as a possible value
for role-souce it makes integration of two packages impossible without the
mess of taking and trying to merge two ejb-jar files into one.

Scenario 1:
We are developing an general accounting package.  Our clients need to
integrate with our package by establishing uni-directional relationships
from their CMP Entities into what we provide them.  Since they will not be
altering our ejb-jar (except for deployment) how can they reference our
beans?

Scenario 2:
Our accounting package contains a good number of CMP Entity beans.  Since
EJB A relates to B, and B relates to C, and C relates to D and E, and E
relates to G and so on. It is not possible to separate the ejb-jar into
multiple, smaller, ejb-jar files for the purpose of managing and controlling
change.  With over 100 EJBs a single ejb-jar becomes very unmanageable.

Are there any solutions to these problems?

Thanks.
Alex Paransky
Individualnetwork.com


(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: Orion CLASSPATH

2001-04-23 Thread Robert Krueger

At 09:29 23.04.2001 , you wrote:
Hello all!

Can anyone tell me what Orion is doing with the CLASSPATH.  I suspect it 
is building
its own or adding to mine simply because it knows how to find certain jars 
that I have not specified anywhere.

Any info appreciated...

do yourself a favour and read up on jars and manifest headers, especially 
the class-path header (which orion uses). IMHO you are shooting yourself in 
the foot not knowing or using it. in most cases working with a classpath is 
plain bs especially in development environments where you frequently use 
different combinations/versions of libs.

HTH.

regards,

robert

--

Geoffrey W. MarshallDirector of Development
---
t e r r a s c o p ephone (415) 951-4944
54 Mint St #110   direct (415) 625-0349
San Francisco, CA  94103 fax (415) 625-0306
---


(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





RE: smp w/jdk

2001-04-20 Thread Robert Krueger

At 14:36 20.04.2001 , you wrote:
I run 1.3.0.02 on Linux with two processors, no problems to speak of yet?

(with -server and HotSpot)

+2 (production systems running orion on dual pentium machines)

robert


(-) Robert Krger
(-) SIGNAL 7 Gesellschaft fr Informationstechnologie mbH
(-) Brder-Knau-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: A Swedish Idea

2001-04-18 Thread Robert Krueger


am I the only one on this list considering this useless discussion spam? 
karl and magnus are grownups making their own decisions and you don't 
actually believe repeating stuff that has been discussed on this list over 
and over again, inspires them?

please contribute to getting the technical issue/plea ratio back to normal 
and deal with the way magnus and karl handle their company/product.

thank you.

robert
(-) Robert Krger
(-) SIGNAL 7 Gesellschaft fr Informationstechnologie mbH
(-) Brder-Knau-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





RE: WE NEED NEWS! We need to know Orion is alive well!

2001-04-05 Thread Robert Krueger


guys,

as someone who has been dealing with theses issues for over 1 1/2 years of 
using orion (1 year in production for a number of applications) I would 
just advise you to save your breath and make your decision based on what's 
there now. several people (including myself) have made pleas like you a 
number of times and not much has changed but I (or better we) have decided 
that orion has reached a level of maturity that is ok for us and that it is 
an unbeatable deal for certain requirements if you can live the risks that 
are certainly there. we now know, which features are reliable and we stick 
to using those only. there are probably a number of major bugs still 
waiting to be discovered which might cause serious problems in your 
projects without any guarantee when they will be fixed. my advice is, set 
up your system, test extensively and then decide whether to buy or not (if 
you can afford that approach, of course). if you cannot live without that 
extra bit of security, you'll have to spend a heck of a lot more money for 
similar features. it's a trade-off but don't bet on anything happening at 
ironflare that hasn't happened yet.

best regards,

robert


At 22:48 05.04.2001 , you wrote:
I'd confirm the concerns listed below. We are considering migrating from
Tomcat + JOnAS to Orion - however we have concerns with the lack of feedback
or site updates this year, and are not prepared to purchase and deploy a
product without at least some indication that it will receive ongoing
support (ie up-to-date website, product updates, support, mailing list
postings, further compliance with EJB 2.0). That being said, we are very
impressed with the product and activity on this mailing list.

Regards,

Liam.


(-) Robert Krger
(-) SIGNAL 7 Gesellschaft fr Informationstechnologie mbH
(-) Brder-Knau-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: How to start Orion from an application?

2001-03-26 Thread Robert Krueger

just check the manifest of orion.jar

Main-Class: com.evermind.server.ApplicationServer

hth,

robert


At 10:18 26.03.2001 , you wrote:
Instead of launching the application server with java -jar orion.jar
I would like to do it from an application
I guess I need to know which classes I need to start and how to do it
Does anyone know the way to achieve this?
Hadi


(-) Robert Krger
(-) SIGNAL 7 Gesellschaft fr Informationstechnologie mbH
(-) Brder-Knau-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





RE: EJBUtils.cloneObject tkes up 40% of the time

2001-03-13 Thread Robert Krueger

At 07:43 13.03.2001 , you wrote:

This is probably because orion is trying to keep to the EJB spec where 
parameters and return values must be passed to a EnterpriseBean must be by 
value. This way orion doesnt have to implement RMI, but still complies to 
the spec.

This is probably far cheaper than RMI.

Noel

If you know what you are doing and you can live with the cosequences you 
can always disable the pass-by-value semantics on a per-ejb basis. Look at 
the orion-ejb-jar.xml dtd.

HTH

robert


(-) Robert Krger
(-) SIGNAL 7 Gesellschaft fr Informationstechnologie mbH
(-) Brder-Knau-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: Orion 1.4.7?

2001-03-09 Thread Robert Krueger

At 15:50 09.03.2001 , you wrote:
Hello

Anyone could tell me where I can download Orion 1.4.7


java -jar autoupdate.jar

Thanks in advance

(-) Robert Krger
(-) SIGNAL 7 Gesellschaft fr Informationstechnologie mbH
(-) Brder-Knau-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: HELP: Settings for pooled datasources, timeout errors

2001-03-08 Thread Robert Krueger




snip

I'd like to know if i did not get something regarding the configuration of
datasources and if others had problems with the timeout settings.

Hi Jens,

I believe your observations are correct and your not doing something wrong. 
We have also had a number of strange effects in that area but unfortunately 
not been able to construct an easily reproducible test case, which IMHO is 
the only thing that would make magnus or karl have a look at that. I 
believe that the core connection and transaction handling code is not 
rock-solid and does break under some exceptional circumstances. btw, most 
of my problems also happen when doing large bulk updates using ejb. IMHO an 
additional parameter that should be in there is a max-number of statements 
that can be issued per connection, before it is reopened by orion's pooling 
software. that way one could configure stuff conservatively without 
degrading performance significantly. Of course that makes their TX handling 
code a bit more complicated but as your case demonstrates, these things are 
necessary or at least very helpful in the real world.

If you can set up a simple ear that demonstrates your problems, I'm sure 
they will look into it quickly, at least that has been my experience.

Hope that helps somewhat, if not, see it as a sign of support ;-).

Regards,

Robert

Best regards

Jens Stutte



[EMAIL PROTECTED], http://www.netmedia.de

netmedia GmbH
Neugrabenweg 5-7
66123 Saarbruecken
Germany

fon: +49 (0) 681 - 3 79 88 - 0
fax: +49 (0) 681 - 3 79 88 - 99



(-) Robert Krger
(-) SIGNAL 7 Gesellschaft fr Informationstechnologie mbH
(-) Brder-Knau-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: Orion crashed under load test

2001-03-04 Thread Robert Krueger


IMHO you should dump the IBM jdk and get the latest sun 1.3.1 beta. IBM 
crashes frequently with orion here. Sun 1.3.1 beta has not crashed a single 
time since we started testing it for development 2 weeks ago. btw. we use 
sun1.3.01 in production and have not had major problems except for some 
crashes during application redeployment.

HTH

robert

At 13:06 04.03.2001 , you wrote:
Orion crashed under load testHi Eyal,

we've put Orion 1.4.7 here under a 1-cpu stress test (80 concurrent requests
of type JSP(1)-EJB(1)-EJB(n)-DB(n)) and it was ok. Win2k and JDK1.3. It
reached a throughput of 200 transactions per second (466 MHz Celeron with
Firebird/Interbase). Latency then went up to about 4 seconds per
transaction.

It is reported that JBuilder debugging is unstable with IBM JDK under Linux
but not Sun's JDK. Therefore, I speculate that you crosscheck with Sun's
JDK.

Bye,
Falk

- Original Message -
From: Eyal Litman (Kamoon IL)

I load tested orion under linux red hat 7 and IBM 1.3 JDK.
Orion crashed after few minutes of "easy" load.
Does anybody had some similar problems ?
Could IBM 1.3 JDK could be the cause ?
Thanks in advance,
Eyal Litman
Server Side Team, Kamoon Ltd.


(-) Robert Krger
(-) SIGNAL 7 Gesellschaft fr Informationstechnologie mbH
(-) Brder-Knau-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





ECPerf

2001-02-26 Thread Robert Krueger

hi,

anyone interested in ejb benchmarking check out

http://developer.java.sun.com/developer/earlyAccess/j2ee/ecperf/download.html

robert

(-) Robert Krger
(-) SIGNAL 7 Gesellschaft fr Informationstechnologie mbH
(-) Brder-Knau-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: Multiple CPUs

2001-02-26 Thread Robert Krueger

At 17:47 26.02.2001 , you wrote:
Anydody running Orion on a machine with more than one CPU? We are purchasing
some new kit and just wondered if its beneficial to have multiple CPU's.

If it is beneficial, then does the Orion handle the multiple thread/CPU
setup or is this upto the JVM (we'll be using the Windows VM).

yep, entirely depends on the VM. If your VM uses native threads, orion will 
use the CPUs. We've been using it in production on dual machines for almost 
a year now (linux) and it works well. Windows (2000 or NT I presume) VM 
should also handle that properly.

HTH

Robert

TIA

Robert Hargreaves.

(-) Robert Krger
(-) SIGNAL 7 Gesellschaft fr Informationstechnologie mbH
(-) Brder-Knau-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: orion 1.4.7

2001-02-25 Thread Robert Krueger

At 11:20 25.02.2001 , you wrote:
this may be a silly question, but how do i get hold of orion1.4.7? the
latest downloadable version is 1.4.5. is it only available to those who have
paid for the license?

java -jar autoupdate.jar

HTH

robert

thanks, peter


(-) Robert Krger
(-) SIGNAL 7 Gesellschaft fr Informationstechnologie mbH
(-) Brder-Knau-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





linux users check out jdk1.3.1 beta (sun)

2001-02-25 Thread Robert Krueger


FYI, we've tested it here and so far it has removed the remaining 
occasional crashes (especially on redeployment).

definitely worth checking out.

robert


(-) Robert Krger
(-) SIGNAL 7 Gesellschaft fr Informationstechnologie mbH
(-) Brder-Knau-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: Source available and sun

2001-02-24 Thread Robert Krueger


we've had this dicussion many times before. they (Orion team) have decided 
to keep it closed-source and it simply is their decision (apart from the 
legal stuff with sun, which I personally never bought as the primary reason 
not to make the source available without an NDA). the arguments (debugging 
parallelizes well etc. etc.) that have been brought up are valid and I'm 
sure they know the trade-offs very well but at the end of the day it's 
their baby. I'm not saying I'm happy with their decision but I do respect it.

regards,

robert

At 08:21 24.02.2001 , you wrote:
I must admit -- I am still confused about the Sun
agreement preventing a J2EE server from sharing the
source code.  I get the feeling that Orion would be
open to this, if the terms with Sun would allow it.  I
found out recently that Resin (www.caucho.com), which
has made the highly successful JSP engine, is building
an EJB server, which will have the source code
available.  Of course, the open source EJB servers,
like openejb, Jboss, and jonas, have the source code
available. So why would this be good for Orion or
anyone, when Orion has such brainy people building
their product?  If you don't think they are brainy,
the download the Sun spec for EJB and try building it
yourself.  The answer lies in numbers.  If there are
10 people, for example, building and supporting Orion,
and 2000 + brainy people on this list, what has the
greater potential for solving problems the quickest?
Ten people or two thousand people?

__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/

(-) Robert Krger
(-) SIGNAL 7 Gesellschaft fr Informationstechnologie mbH
(-) Brder-Knau-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





RE: No influence on CMP 2.0 getter setter methods - a feature or abug?

2001-02-23 Thread Robert Krueger

At 14:54 22.02.2001 , you wrote:
My two cents ...

Putting checks in the EJB's will give you much better information on 
exactly what has gone wrong.  Adding checks in the DB as well can't hurt, 
but without the EJB checks it might be hard to know what action to take in 
the face of a generic SQL error.

Nick Newman

very true. that's why I would regard DB constraints only as an additional 
security measure to protect your data model integrity. depending on your 
jdbc driver the SQLException's error message can give you some information 
during development. however, if your client code has to react to the fact 
that a unique constraint on a non-pk key has been violated you have no 
choice but to put that check into the EJB tier and I would also generally 
regard that as better style.

regards,

robert

(-) Robert Krger
(-) SIGNAL 7 Gesellschaft fr Informationstechnologie mbH
(-) Brder-Knau-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: SAPDB experience and Datasource

2001-02-23 Thread Robert Krueger

At 00:44 23.02.2001 , you wrote:
Hello, I'd be interested in hearing the experiences from people who used
SAPDB with Orion CMP in terms of stability and performance on both linux and
nt.

SAPDB on linux in development for a little more than 3 months now and 
everything works fine. performance and stability is good. planning to go in 
production 4 weeks from now.

 data-source class="com.evermind.sql.ConnectionDataSource"
  inactivity-timeout="120"
  location="jdbc/SAPTestDBDS"
  name="SAPTest data-source"
  xa-location="jdbc/xa/SAPTestXADS"
  ejb-location="jdbc/SAPTestEJBDS"
  url="jdbc:sapdb://host/DBNAME"
  connection-driver="com.sap.dbtech.jdbc.DriverSapDB"
  username="SOMEUSER"
  password="SOMEPWD"
  /


Also if you have them available, can you share your database-schema ?

no special schema but we're not using the autocreate-tables feature anyway.

Thanks,

Christian


(-) Robert Krger
(-) SIGNAL 7 Gesellschaft fr Informationstechnologie mbH
(-) Brder-Knau-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





RE: No influence on CMP 2.0 getter setter methods - a feature or abug?

2001-02-22 Thread Robert Krueger

At 19:16 21.02.2001 , you wrote:

hi,

check EJB-INTEREST archives for discussions on this. I think most pros and 
cons (including my view on things ;-) were in a discussion a few months ago.

at the moment the server hosting the search seems to be down, so I cannot 
give you the exact thread.

regards,

robert


This makes we want to ask a question that has nagged me for
a while.  Where do you put data constraints?  In the database?
or in the entity bean?

For example, let's say we have a field called "absoluteTemp"
in Kelvin.  We all know this value can never be negative (in
my universe anyway).  This isn't a business rule, it a law
of nature.  Do you implement it as a database constraint which
will throw a SQLException if violated, or do you check for
in some facade-setter of the entity and throw some other
Exception if violated?  What are the pros and cons of either?

-tim

(-) Robert Krger
(-) SIGNAL 7 Gesellschaft fr Informationstechnologie mbH
(-) Brder-Knau-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





RE: No influence on CMP 2.0 getter setter methods - a feature or abug?

2001-02-22 Thread Robert Krueger



There seems to be some smart-ass named "Robert Krueger"
who thinks he knows all the answers :) :) :)

I've heard of him. he must be a real pain in the ass ;).

cheers,

robert

Thanks Robert!

-tim

(-) Robert Krger
(-) SIGNAL 7 Gesellschaft fr Informationstechnologie mbH
(-) Brder-Knau-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: How does this effect Orion?

2001-02-16 Thread Robert Krueger

At 23:11 14.02.2001 , you wrote:
Robert,

  I would be interested in an opinion by someone who has actually used orion
  for a while about pros and cons of those two.

I suppose you meant to say "ewave" in the above statement?!

well, no, I was implying ewave AND meant to write orion. I think that a 
statment by someone who has barely used orion but has used ewave is of much 
less value to me as he is not likely to know/appreciate the strenghts of 
orion (which are not obvious IMHO).

you should count as one who has used orion for a while, shouldn't you?

guess so ;).

BTW, are you still running on SapDB? Any experiences? Did you encounter

we are currently working with adabas in production and sapd in development 
(one of us, not me, is doing his development work on the same project on 
sapdb) and so far there have been no problems at all as far as I can tell. 
we're still planning on going in production with the application (mostly 
CMP some direct SQL for complex queries) on top of sapd (probably in april).

those SQL processing (outer join) bugs that were mentioned on the Castor
list?

don't think so, although I haven't followed that thread.

regards,
Christian


regards,

robert


(-) Robert Krger
(-) SIGNAL 7 Gesellschaft fr Informationstechnologie mbH
(-) Brder-Knau-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: How does this effect Orion?

2001-02-14 Thread Robert Krueger


I would be interested in an opinion by someone who has actually used orion 
for a while about pros and cons of those two. The price and supported 
standards do make it sound interesting although I'm always a bit worried 
when I see this deployment wizard stuff. That's only interesting for 
educational use IMHO and I hope they haven't neglected a rock solid logical 
deployment concept (one of orion's key strengths if you ask me).

anyone out there who's tested or better worked with both?

regards,

robert

At 09:10 14.02.2001 , you wrote:
I have read the announcement at www.theserverside.com about the ewave 
server for only $595 per CPU.  The company marketing it has a good 
marketing and capital engine behind them, so I wonder how this will effect 
Orion?  It is very interesting that there are over thirty vendors offering 
some flavor of J2EE technology, anywhere from the high priced servers like 
Weblogic to the open source servers like Jboss.  Yet this industry is 
supposed to be around $2 billion now and projected to be $12 billion in 
two years.  This means there is a market for all the "good" products, and 
the consumer and developer will become the clear winners.

(-) Robert Krger
(-) SIGNAL 7 Gesellschaft fr Informationstechnologie mbH
(-) Brder-Knau-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: Too much caching? - the database has changed

2001-02-06 Thread Robert Krueger

At 10:29 06.02.2001 , you wrote:
Thanks for the help Tim.
I am not sure I like this solution. Why do I have to go and change this in 
the application-deployments folder? The same question applies to the table 
name for the CMP Beans. How do I choose a table name different than the 
default one without touvhign the application-deployments folder?

Wouldn't make more sense if I can change these things in the "ejb-jar.xml" 
that is part of the EJB package?

please do some spec reading and find out about separation of 
responsibilities and roles and the general ejb/j2ee deployment concept. 
that will answer your questions. it doesn't make much sense to work with a 
product like orion not having understood those fundamental concepts. this 
not meant as a flame but advice (as many of orion oldtimers will confirm I 
hope).

regards,

robert

Danut

At 08:55 PM 2/5/2001 -0500, Tim Endres wrote:
Check the docs. There is a flag that you need to set to tell Orion
that is does not have "exclusive" access to the database, and that
it needs to recognize when a record is updated by a program other
than Orion.

I believe you need to look at the "exclusive-write-access" attribute
of the entity-deployment element in orion-ejb-jar.xml.

tim.

  Two more things.
 
  1. On the server side I get the following
 
  CMPSelectTestEJB()
  setEntityContext
  ejbCreate( 10, Name 10, Address 10 )
  Entity 10 passivated
  java.lang.Throwable
   at com.evermind.server.ejb.EntityEJBHome.ail(JAX)
   at com.evermind.server.ejb.EntityEJBObject.releaseContext(JAX)
   at
  CMPSelectTestHome_EntityHomeWrapper19.create(CMPSelectTestHome_Entity
  HomeWrapper19.java:377)
   at java.lang.reflect.Method.invoke(Native Method)
   at com.evermind.server.rmi.bc.do(JAX)
   at com.evermind.util.f.run(JAX)
  ejbPassivate( 10, Name 10, Address 10 )
 
  There is no record with ID = 10, name = "Name 10" and address = 
 "Address 10".
 
  2. The exactly same code for EJB, client and the same database work 
 fine on
  WebLogic.
 
  I am using Orion 1.4.5.
 
  Danut
 
  
  I am having a problem.
  I am creating some records using some BMP and CMP EJBs. While Orion is
  still running I am deleting the records using a simple JDBC client.
 
  When I try to ccreate the same records again I get an exception that says
  javax.ejb.DuplicateKeyException: Entity already exists
   at com.evermind.server.rmi.ba.invokeMethod(JAX)
   at com.evermind.server.rmi.a1.invoke(JAX)
   at com.evermind.server.rmi.a2.invoke(JAX)
   at __Proxy1.create(Unknown Source)
   at SelectTestClient.CreateRecords(SelectTestClient.java:102)
   at SelectTestClient.TestOrion(SelectTestClient.java:264)
   at SelectTestClient.main(SelectTestClient.java:319)
 
  How can I make Orion aware that the database has changed?
 
  Thank you,
  Danut
 
 
  _
  Do You Yahoo!?
  Get your free @yahoo.com address at http://mail.yahoo.com
 
 


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



(-) Robert Krger
(-) SIGNAL 7 Gesellschaft fr Informationstechnologie mbH
(-) Brder-Knau-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: Too much caching? - the database has changed

2001-02-06 Thread Robert Krueger


Danut,

please reread my posting. I wrote that it is not meant as a flame and I was 
dead serious about that. you are discussing with people on this list about 
why something has to go where in the deployment files, so you obviously 
have to know. if you don'zt trake the time to learn those concepts IMHO you 
will run against the wall head first with whatever ejb server you use. just 
take a day of reading the javasoft tutorials, some spec material etc. and 
it will save you lots of time (much more than a day) of helplessly poking 
around in deployment files no matter what servers they are for. 
understanding those concepts means that you know what to expect to be the 
same with each server and what will be different. that is all I am saying 
and I still think I'm actually helping you with those statements ;-) and 
yes this is a free discussion list without rules and nobody is restricting you.

peace,

robert (not born as and not yet become a guru either ;)

At 15:04 06.02.2001 , you wrote:
Thank you for your advise but I am afraid I do not have time. I have to 
deal with new things especially working with Orion, WebLogic, WebSphere 
(and each of them has many things different than the others) and also 
learn how to administer and program under Oracle (plus learn Java!) and 
finish everything by ... yesterday.

I just came up withy an idea that makes sense for my level of 
understanding and I didn't think it will offend someone. I thought it is a 
free discussion list that doesn't have restriction rules and anyone who 
needs help can ask for it.

Danut who was not born a guru

(-) Robert Krger
(-) SIGNAL 7 Gesellschaft fr Informationstechnologie mbH
(-) Brder-Knau-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: Error getting pooled Oracle connection

2001-02-06 Thread Robert Krueger

At 22:36 06.02.2001 , you wrote:
I would really appreciate it if someone could tell me where I am going 
wrong here.  It is probably something very simple.  I'm just trying to get 
a pooled Oracle connection.

there is some shared library missing for your OCI driver. if you're on a 
unix system check if your $ORACLE_HOME/lib is in the LD_LIBRARY_PATH your 
orion instance is using.

if this doesn't make sense to you, use the thin driver and you will be OK.

no orion problem just your local oracle client setup.

HTH

robert

This is in my data-sources.xml:

data-source
class="com.evermind.sql.DriverManagerDataSource"
name="Oracle"
location="jdbc/OracleCoreDS"
xa-location="jdbc/xa/OracleXADS"
ejb-location="jdbc/OracleDS"
pooled-location="jdbc/OraclePooledDS"
connection-driver="oracle.jdbc.driver.OracleDriver"
username="store"
password="store"
url="jdbc:oracle:oci8:@jjh"
inactivity-timeout="30"
/

This is in my EJB:

Context ctx = new InitialContext();
DataSource dataSource = (DataSource)ctx.lookup("jdbc/OraclePooledDS");
Connection con = dataSource.getConnection();
Statement st = con.createStatement();
ResultSet rs = st.executeQuery("select description from attribute_type");
if (rs.next())
  blah = rs.getString("description");
st.close();
con.close();


And this is my error message, which occurs on the getConnection() call:

javax.transaction.TransactionRolledbackException: 
java.lang.UnsatisfiedLinkError
: make_c_state
at com.evermind.server.ejb.EJBUtils.getUserException(JAX)
at 
 Customer_StatelessSessionBeanWrapper0.newCustomer(Customer_StatelessS
essionBeanWrapper0.java:45)
at __jspPage1_index_jsp._jspService(__jspPage1_index_jsp.java:54)
at com.orionserver.http.OrionHttpJspPage.service(JAX)
at com.evermind.server.http.HttpApplication.xj(JAX)
at com.evermind.server.http.JSPServlet.service(JAX)
at com.evermind.server.http.d3.sw(JAX)
at com.evermind.server.http.d3.su(JAX)
at com.evermind.server.http.ef.s1(JAX)
at com.evermind.server.http.ef.do(JAX)
at com.evermind.util.f.run(JAX)


Please help! =)
_
Get your FREE download of MSN Explorer at http://explorer.msn.com



(-) Robert Krger
(-) SIGNAL 7 Gesellschaft fr Informationstechnologie mbH
(-) Brder-Knau-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: Any news from Orion yet??

2001-02-02 Thread Robert Krueger

At 11:33 02.02.2001 , you wrote:
Any news from Orion yet??
Two weeks and nothing ...

well, the only news is 1.4.5.


(-) Robert Krger
(-) SIGNAL 7 Gesellschaft fr Informationstechnologie mbH
(-) Brder-Knau-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: orion + multi processor's X86 PC

2001-01-26 Thread Robert Krueger

At 08:42 26.01.2001 , you wrote:
Hi,

We planned to go on production state of our developpement under ORION, but
we don't have a clue on multiprocessors (SMP) and Orion.

If we run a X86 PC server with 2 XEON and sun's JVM 1.3 + Orion + NT or
2000, is this will be enought to take advantage of SMP ???
Maybe we need to run 2 JVMs and setup a "cluster like" config ???

no, you'll be ok. one of our prod systems (linux however) is exactly like 
that and it does use both processors very well. since NT's threading is 
even supposed to be better than linux's :( currently I don't see why you 
shouldn't see the same.

HTH

robert

If someone expirience this, just let us know.

Thanks.

PHiL.



(-) Robert Krger
(-) SIGNAL 7 Gesellschaft fr Informationstechnologie mbH
(-) Brder-Knau-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: core dump on solaris running on Sun box.

2001-01-25 Thread Robert Krueger

At 16:13 25.01.2001 , you wrote:
HELP.

I have installed orion on a solaris box and trying to deploy and EJB
application. The application uses back end informix and utilizes CMP beans.

I can login to the application without a problem. As soon as I initiate a
function that actually hits the database with a query, i get a core dump
over 24MB.

I am able to deploy alright to WinNT 4.0 with SP 5.   The database is the
same Informix.  I thought I would be alright with NT development and then
deployment should have been OK once I did development on NT.  I wish I had
tested out the application on the deployment enviornment first.

Obviously I can't send the core dump to this mail listing so I will include
the ouput from the console window.

Where should I send a core dump?

try sun. it cannot be a problem with orion as a VM cannot programmatically 
be crashed. it's a native code problem so it could be VM, OS or native JDBC 
drivers.

nobody will/can help you if you send it here.

regards,

robert

HELP. HELP.


(-) Robert Krger
(-) SIGNAL 7 Gesellschaft fr Informationstechnologie mbH
(-) Brder-Knau-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: Sybase experience anyone?

2001-01-21 Thread Robert Krueger

At 18:58 20.01.2001 , you wrote:
Hello,

We are about to decide about the database platform on which we will deploy
our first J2EE application. Preferrably, it should be a cost-free solution.
First I would like to ask if anyone has experience to share about using
Sybase 11.0.3 (the one that is free to deploy under Linux). I especially
wonder about the JDBC driver (does it come with one?).

I have read about people using Interbase and PostgreSQL successfuly. I would
still like to conduct a shootout between the following databases:

Interbase
PostgreSQL
Sybase 11.0.3
SapDB

We've had (/have?) the same problem and we settled for sapdb if nothing 
unexpected happens.

Reasoning:

- We don't trust Postgresql to be as mature in areas like backup, mirroring 
as one of the commercial products (anyone comment on that?)
- Worked with Adabas for the past three years in production and never had a 
significant problem (one year in combination with orion). We were only 
pissed at how unprofessionally Software AG handled development and support 
for Adabas Tools and drivers (JDBC and Perl). Now that that seems to be a 
lot better with SAPDB (basically being the same as Adabas, I think you told 
me that Christian, thank you again for that hint :-) we only have minor 
things that make SAPDB less fun to work with than Oracle (by far the best 
RDBMS I've worked with but you know ...$$$).
- Sybase worked well in our tests here too but we thought what could happen 
when at some point Sybase decided not to support this (very old) free 
version with new versions of JDBC drivers. Probably not relevant for the 
next year or so but you never know. SAPDB feels a safer choice in that regard.
- A very individual reason. We have Adabas know-how and experience here and 
the basic concepts are exactly the same, so we don't have to make all the 
beginners' mistakes again with a new RDBMS.
- Interbase (on linux) initially worked very well (also with orion) but 
proved to be VERY unstable (especially the JDBC driver)

The only thing we haven't decided on is a low-cost failover solution for 
the database. But we're experimenting.

Anyone else got a comment on that?

Robert




anyone?
thanks,
Christian Sell


(-) Robert Krger
(-) SIGNAL 7 Gesellschaft fr Informationstechnologie mbH
(-) Brder-Knau-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: Recreating an expired session. PLEASE HELP!!!

2001-01-21 Thread Robert Krueger

what version of orion are you using?
(-) Robert Krger
(-) SIGNAL 7 Gesellschaft fr Informationstechnologie mbH
(-) Brder-Knau-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: OrionCMTConnection not closed, check your code!

2001-01-19 Thread Robert Krueger

At 00:55 19.01.2001 , you wrote:
What does this message mean?

OrionCMTConnection not closed, check your code!
LogicalDriverManagerXAConnection not closed, check your code!
(Use -Djdbc.connection.debug=true to find out where the leaked connection was
created)

it means what it says ;-). you didn't close() all your connections (meaning 
they were not returned to the pool but the connection object left scope and 
was probably destroyed while still open). that is a programming error and 
orion is kind enough to tell you about it.

HTH

robert




[]s
Guilherme Ceschiatti

(-) Robert Krger
(-) SIGNAL 7 Gesellschaft fr Informationstechnologie mbH
(-) Brder-Knau-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: Orion shutdown problem

2001-01-19 Thread Robert Krueger

At 11:16 19.01.2001 , you wrote:
Is the list alive ..

yes
(-) Robert Krger
(-) SIGNAL 7 Gesellschaft fr Informationstechnologie mbH
(-) Brder-Knau-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: Urgent(Creating EJB(Entity with objectivity database)!!!!

2001-01-18 Thread Robert Krueger

At 03:37 18.01.2001 , you wrote:

Hi

If any body know how to use objectivity database with orionserver to
craete Entity Bean(EJB)First thing is orion support objectivity
database
how can i make useof this i am trying to create an entity bean(BMP)
bean
managed persistance. if anybody having idea let me know.

no it doesn't directly support it. the problem is that for entity beans 
you'll nee container-managed transactions and that won't work with anything 
but a jdbc datasource so IMHO the only thing you can do is use objectivity 
from a Session Bean und do the transaction demarcation yourself.

sorry

HTH

robert


Thanks in Advance

--
   Cheers,
   -:)
=== 
=

--- 
-

Ampersand Info-Tech, GF,Admin Block NSIC-TSC, Okhla Ind.Estate,
New Delhi 110020, INDIA.
--- 
-

The information contained in this message (including any attachments)
is  confidential and may be legally privileged. If you are not the
intended   recipient, please delete it from your system immediately -
any disclosure,copying or distribution thereof or any action taken or
omitted to be taken in reliance thereon is prohibited and may be
unlawful. AITPL makes no warranty as to the accuracy or completeness of
any information contained in this message and hereby excludes any
liability of any kind for the information contained herein or for the
transmission, reception, storage or use of such information in any way
whatsoever. Any opinions expressed in this message are those of the
author and do  not necessarily reflect the opinions of AITPL.
[EMAIL PROTECTED]
--- 
-

(-) Robert Krger
(-) SIGNAL 7 Gesellschaft fr Informationstechnologie mbH
(-) Brder-Knau-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





RE: Any news from Orion yet??: Rebuttle...

2001-01-15 Thread Robert Krueger



At 08:41 15.01.2001 , you wrote:
Not to sound like a hipocrat but I believe the J2EE standard calls for a
pplication server independence flexibility. You must think to yourself what
makes your application so dependent on the server it is deployed onto.
Besides the custom deployment descriptors (orion-ejb-jar, weblogic-ejb-jar,
jboss, and so on) you should architect your system independent of any app
server dependent features like clustering, fail-over and load balancing. If
you sit down and outline the layers that are dependent on the underlying
mechanism, you will be able to isolate and separate your application. Do
you rememeber that Java is supposed to be independent of its OS?

LOL

So, coming back to my point: even if Orion does go under, you should be
able to switch out to another server and modify some deployment descriptors
with no problem. I have my application running under Weblogic, Orion, and
Jboss with only the deployment descriptors different.

no shit? seriously, of course, it is possible to deploy simple applications 
independently on different J2EE environments and of course one should use 
server-dependent features. I don't know what your level of experience and 
the complexity of your application is but it doesn't sound like you've been 
involved in the development and maintenance of a large number of complex 
J2EE projects (and that is not meant as an offense). First of all you 
obviously didn't read the cost factor (primary reason not to deploy on WLS 
for us). I'll give you some examples of things that one (or more precisely 
we) has to consider or do when moving to another server:

1. we have a homegrown code generation software that generates all entity 
beans, all deployment files and some more stuff. has to be modified for the 
server dependent parts of the config
2. database based web authentication has to be moved/ported to the 
mechanisms available for a different J2EE server
3. procedures/scripts for moving from development to production site, CVS 
management of sites etc. would all have to be changed according to the new 
configuration requirements
4. all people involved would have to learn how to work with the server
5. system administration scripts/procedures (including monitoring) might 
have to be changed
6. All http server specific stuff (filters, virtual directories) would have 
to be ported to the new http server
7. all tuning aspects not covered by the spec like transaction-timeouts, 
datasource-pool configuration etc would have to be migrated

Regarding cheap alternatives there are additional things:

- If you rely on a fast CMP engine JBoss is not an option (yet)
- How fast does jBoss start with about 30 applications deployed (with about 
15-30 EJBs each) the integration with TomCat or Jetty is alpha.quality?

I'm not saying that half a year from now things might not be different but 
believe me, we've looked into that quite thoroughly.

Of course, it's all doable but add that up for about 30 productive 
applications distributed on 3 production systems with more than 20 
lines of orion-specific deployment information add the testing you need 
(remember, that stuff is in production now) and then consider than none of 
our customers would pay a penny for that because we recommended orion and 
then add the fact that we have to take the manpower for that migration from 
current projects. now is that a considerable price to pay for moving to a 
different server or what? we have architected the apps very carefully to be 
as little orion-specific as possible but there are some things that are 
simply not covered by any spec (see above for examples). no doubt that this 
wouldn't even be doable if we hadn't coded to the specs but it still is 
serious and expensive work.

so that java 101 "but isn't it supposed to be WORA" just doesn't cut it in 
real life.

hope that clears up the confusion and the scope of the statements in my 
earlier mail.

best regards and no offense,

robert

I hope this helps and triggers some thought.

Thanks,
Ozzie Gurkan

--- Robert Krueger [EMAIL PROTECTED] wrote:
 
  
  
  Of course, this is a little unfair - weblogic hadn't had a new release
  for
  several months, either. They've just had a major release recently, which
  makes it seem like they're more active than Orion, when that's not
  necessarily the case. It might be, but that's not implied by the
  situation
  at present.
  
  For the most part, Orion is still very much ahead of the pack, and the
  speed is stil EXCELLENT. While I'm very much looking forward to a new
 
  doesn't buy you much if it isn't reliable. that's the sad thing. it's
  true
  that they are ahead of the pack in a number of fields but if you're stuck
 
  with a serious bug without the slightest hint when things will be fixed
  it's still a KO criterion (germanism?). at the moment we're not switching
 
  to an alternative because
 
  1. most of our projects where orion is currently used in production

RE: Orion-Primer needs some update

2001-01-12 Thread Robert Krueger

At 16:02 11.01.2001 , you wrote:
how the fuck can i unsubscribe this fucking maillist.

i tried twice to mail unsubscribe to

[EMAIL PROTECTED],

doesn't work, no response, nothing.

help?!

have you looked at the f***ing instructions at the f***ing website and 
followed them (there's a f***ing form to unsubscribe)?.

have a f***ing nice day ;-),

robert





(-) Robert Krger
(-) SIGNAL 7 Gesellschaft fr Informationstechnologie mbH
(-) Brder-Knau-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: Urgent: Orion/SSL with Thawte-Cert

2001-01-12 Thread Robert Krueger

At 12:44 12.01.2001 , you wrote:
Hello,

thanks everybody for help!

i discovered that the passwords for the keystore and the
key *must* match.

with my test-certs i always do this.

but the real cert (and keystore) was generated by another person who sets 
two different passwords.

after setting the passwords equal - IT WORKS :)))

thanks
   klaus

PS:
  did anybody who has a orion-licence get response
  from [EMAIL PROTECTED] (or karl/magnus)
  are they still alive?


could you keep me posted if anyone responds to that privately? I would also 
like to know what's up although I have to admit that I'm so damn frustrated 
about this issue that I've become really very pessimistic. has the status 
of anyone's bugs changed in the past 2 months? mine haven't.

regards,

robert

Klaus Thiele wrote:
[...]

(-) Robert Krger
(-) SIGNAL 7 Gesellschaft fr Informationstechnologie mbH
(-) Brder-Knau-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: SV: Urgent: Orion/SSL with Thawte-Cert (No contact with Orion her es why)

2001-01-12 Thread Robert Krueger

At 14:06 12.01.2001 , you wrote:
For the new members of the list  And those who didnt read the posting
Karl did just before X-mas ... :)

Orionserver is going out of Evermind to found their own company, this is why
it has been silent.

Pls givem time, things like this is extremely timeconsuming, so if they
choose to leave us bait for 2-3 months that might just be for the better,
maby they will get a better organization to handle the product, like support
and so on.

if current bugs haven't ruined our business by then, that is ;-).

For anyone whos been on a fution or setup of a new company they know what im
talking about :)

yes

So if youre patient this just might get better pretty soon :)

I generally agree with you. however, the seriousness of some open issues is 
not funny at all. they should at least do a feature freeze and dedicate 
minimal manpower to bugfixing but as it stands now they just decided that 
the customers out there who have to live with the product NOW are lowest 
priority, at least that's how I feel. we've been hearing "wait a little, 
things will be getting better, we're working on it" for about a year now. 
I'm still sympathetic but highly frustrated and I think I have strong 
reasons to feel this way. please keep me posted on any changes to the 
status anyway. btw. I read Karl's posting but all I really care about is 
changes to the product's quality and the way quality issues are handled. I 
wish them the best of luck but as long as I don't see improvements in those 
areas any new announcement won't make me happy as long as I don't have a 
robust product with current features but all in a production-ready state.

regards,

robert

Laters all
Klaus

-Opprinnelig melding-
Fra: Robert Krueger [mailto:[EMAIL PROTECTED]]
Sendt: 12. januar 2001 13:18
Til: Orion-Interest
Emne: Re: Urgent: Orion/SSL with Thawte-Cert


At 12:44 12.01.2001 , you wrote:
 Hello,
 
 thanks everybody for help!
 
 i discovered that the passwords for the keystore and the
 key *must* match.
 
 with my test-certs i always do this.
 
 but the real cert (and keystore) was generated by another person who sets
 two different passwords.
 
 after setting the passwords equal - IT WORKS :)))
 
 thanks
klaus
 
 PS:
   did anybody who has a orion-licence get response
   from [EMAIL PROTECTED] (or karl/magnus)
   are they still alive?
 

could you keep me posted if anyone responds to that privately? I would also
like to know what's up although I have to admit that I'm so damn frustrated
about this issue that I've become really very pessimistic. has the status
of anyone's bugs changed in the past 2 months? mine haven't.

regards,

robert

 Klaus Thiele wrote:
 [...]

(-) Robert Krger
(-) SIGNAL 7 Gesellschaft fr Informationstechnologie mbH
(-) Brder-Knau-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de


(-) Robert Krger
(-) SIGNAL 7 Gesellschaft fr Informationstechnologie mbH
(-) Brder-Knau-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





RE: ResultSet Caching

2001-01-10 Thread Robert Krueger

At 14:02 10.01.01 , you wrote:
I have a question about application server cache.
The question is as follows:

 If cached rows have been modified by some other tools or dba other than
app server, can application server can detect the change and refresh cached
rows with lastest data?

I'm assuming you don't want a general but an orion-specific answer. simple 
answer: no

you either set a timeout for the validity of your cached data or you 
specify that the server should not cache at all (for both see dtds for 
orion-ejb-jar.xml).

HTH

robert



Jinpeng


-Original Message-
From: Tony Wilson [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 06, 2001 10:55 AM
To: Orion-Interest
Subject: RE: ResultSet Caching


They can be used either as a replacement for en entity bean, or in most
cases, the method in which the Entity bean is saved.

If you don't need the overhead of EJB, or if you want finer control over
what gets done when, or if you want to do multithreaded programming, these
products help a lot.

We like them, and they are worth taking a look at.

Tony

-Original Message-
From: Neal Kaiser
To: Orion-Interest
Sent: 1/5/01 1:17 PM
Subject: RE: ResultSet Caching

What's the benefit of using those products over an entity bean then? How
does it differ?
Thanks.

  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of Tony Wilson
  Sent: Friday, January 05, 2001 3:50 PM
  To: Orion-Interest
  Subject: RE: ResultSet Caching
 
 
  There are products that act as middlemen between you and the
  Database.  They
  also offer database object abstraction  (so you can have an object
  representing table data.  You define field - property mappings, and
the
  product handles the transfer of data.)
 
  These products usually have built-in caching.
 
  Two products are
  TopLink (expensive, but nice)  http://www.objectpeople.com
  VBSF (pretty inexpensive, and still nice) http://www.objectmatter.com
 
-Original Message-
From:   Neal Kaiser [mailto:[EMAIL PROTECTED]]
Sent:   Friday, January 05, 2001 10:49 AM
To: Orion-Interest
Subject:ResultSet Caching
 
Does Orion have any built in caching functionality?
Let's
  say I have a
database query which returns 1,000 records and the user
will
  page thru 100
at a time.  Instead of re-issuing the query each time
(each
  page), is there
some sort of cache object?  How do you guys typically
handle
  this?
 
Thanks, Neal
 
 


(-) Robert Krger
(-) SIGNAL 7 Gesellschaft fr Informationstechnologie mbH
(-) Brder-Knau-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





RE: How to configure a data-source alias per application?

2000-12-16 Thread Robert Krueger

At 11:00 15.12.00 , you wrote:
I have had the same problem tending to make me doubt the Krueger post.  My

:-(((. I trold the whole truth and nothing but the truth, please believe 
me! ;-)))

I've been using the datasource-alias feature for more than 2 months now 
without any problem. could it be that you still have a reference to 
data-sources.xml in your server.xml file (i.e. according to the old dtds)? 
I know that we had strange effects migrating from the old dtds t othe new 
ones because the old ones still worked but when mixing this stufff we got 
strange side effects. Where do you declare the global data-sources.xml? it 
should be in global-application.xml and NOT in server.xml. it looks like 
the application local data-sources.xml is being ignored completely. other 
than that I don't know what could be wrong with your setup. I've use this 
feature in several different applications without any problem and it makes 
life so much easier, because we deploy a shop application for a new 
customer just by modifying the data-source alias in the application-local 
data-sources.xml file.

here's my setup again and maybe you could post the same snippets from your 
configs so we can work this out:

server.xml:

  global-application name="default" path="./global-application.xml" /

global-application.xml:

 data-sources path="./data-sources.xml" /

data-sources.xml:

 data-source
  name="Procurement Ref Datasource"
  class="com.evermind.sql.ConnectionDataSource"
  location="jdbc/ProcurementRefDS"
  xa-location="jdbc/xa/ProcurementRefXADS"
  ejb-location="jdbc/ProcurementRefEJBDS"
  url="jdbc:oracle:thin:@XXX:1521:S701A"
  connection-driver="oracle.jdbc.driver.OracleDriver"
  schema="database-schemas/oracle.xml"
  username="XXX"
  password="XXX"
  inactivity-timeout="30"
  /


orion-application.xml (located in the application's deployment directory):

 data-sources path="data-sources.xml" /

(in the application-local) data-sources.xml:

data-source class="com.evermind.sql.AliasDataSource"
  location="jdbc/ShopEJBDS"
  source-location="jdbc/ProcurementRefEJBDS" /

and finally in orion-ejb-jar.xml:

entity-deployment name="Company" location="Company" 
wrapper="CompanyHome_EntityHomeWrapper276" table="COMPANY" 
data-source="jdbc/ShopEJBDS"

this works like a charm for 15 deployments fo the same application. now, 
what is different in your setup?

regards,

robert







solution is to have a data-sources.xml for each datasource and rotate them by
hand before I launch Orion.  I know this is not correct but its the only way I
have found to do this ... could someone please help.

john

On 14-Dec-00 Neville Burnell wrote:
  Hi All,
 
  I need to install the same application several times on orion - with a
  different datasource for each instance. To do this I have created a
  Data-Sources.XML in the application deplyment dir [as per email on the
  list from Robert Krueger 6 Nov] which uses the
  "com.evermind.sql.AliasDataSource" to point my app JNDI reference [which
  is common to all 3 apps] to a specific datasource in the
  \orion\config\data-sources.xml
 
  Everything looks good - I get the app deployed 3 times - I get 3 Web
  deployments - OrionConsole tells me the data-sources are all deployed in
  the correct JNDI namespace.
 
  BUT ...
 
  Try and access any app and Orion wants to look up the Default datasource
  - ie, the first one in the \Orion\Config\Data-Sources.XML.
 
  Does anyone have any experience with deploying the same app several
  times, needing different WAR and EJB deploys and different datasource
  deploys?
 
 
  Pls Help!
 
  Neville Burnell
  Business Manager Software
 
  
  ===
  This is what I have done so far:
 
  1) installed 3 EARs in the \Orion\Applications\ dir - App1.EAR,
  App2.EAR, App3.EAR
  2) registered the 3 EARS with \Orion\Config\Server.XML
 
  application name="app1" path="../applications/app1.ear"
  auto-start="true" /
  application name="app2" path="../applications/app2.ear"
  auto-start="true" /application name="app3"
  path="../applications/app3.ear" auto-start="true" /
 
  3) registered the 3 Apps with the \Orion\Config\Default-Web-Site.XML
 
  web-app application="app1" name="app-web" root="/app1" /
  web-app application="app2" name=&

Re: ejb performance

2000-12-16 Thread Robert Krueger

At 14:28 16.12.00 , you wrote:
Hi all!
 I made some tests to find out how transactions affect 
 performance. I called
a sessionless' ejb empty function with different transaction attributes. It
turned out that call time mean was about 250 ms and it almost not changed
depending on attributesn (Requires, supports, ...). So, does transactions
have so little impact on perfomance???
 Why it takes about 250ms to invoke an empty function on ejb? Is 
 it because
ejb are distrubuted objects? What else could affect the ejb performance?

Regards,
Savotchkin Egor

you must have made a mistake 250ms is ridiculously slow. that's 4 calls per 
sec please check your setup. this doesn't reflect our observations at 
all. even with transactions that's way too slow or are you by any chance 
using a 386 with 4 Meg RAM and a nojit VM ;-)).

regards,

robert

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


(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: SV: to boldly go where no man has gone before

2000-12-15 Thread Robert Krueger

At 08:36 15.12.00 , you wrote:

Den här tråden börjar bli plågsamt tråkig..
Vem bryr sig om hur folk stavar så länge som dom kan förklara sitt problem 
eller sin lösning?
Låt oss hålla oss till Java och Orion istället, ok?

And for the rest of you non-swedes:
Lets stop wasting bandwith on grammar and get back to Java and Orion, 
shall we?

hört, hört!

and for the rest of you non-germans:
+1 ;-)

robert

(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





RE: www.orionserver.com down again

2000-12-14 Thread Robert Krueger


+1 from here too. Most problems with orion stability on our production 
systems were caused by buggy linux VMs. Even now with jdk1.3.01 from sun 
the VM crashes from time to time. In terms of long term stability, I think 
orion has become very good. The problems we've had with orion freezing were 
all triggered by rather extreme conditions (e.g. massive batch operations 
on ejbs causing OutOf MemoryErrors). IMHO the most important thing that's 
missing is a few more configuration directives to tweak orion's resource 
usage policies especially for EJB caches (I would gladly trade some 
percentage points in performance for less memory use but that's a very 
individual thing to decide). Other than that, we just need someone to 
produce a stable AND fast jdk1.3 for linux.

regards,

robert

At 12:41 14.12.00 , you wrote:
I agree that most problems people encounter are more likely caused by 1) 
their own applications, 2) their JVM or 3) their operating system.

snip/

Jeroen T. Wenting
[EMAIL PROTECTED]

Murphy was wrong, things that can't go wrong will anyway
-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]]On Behalf Of 
[EMAIL PROTECTED]
Sent: Thursday, December 14, 2000 10:11
To: Orion-Interest
Subject: SV: www.orionserver.com down again

In the year ive used orionserver and its site, i have only experienced 
downtime once? And when most of the reports og orion downtime comes it 
still answers to me..

snip/

Klaus Myrseth


-Opprinnelig melding-
Fra: Hitesh Jasani [mailto:[EMAIL PROTECTED]]
Sendt: 14. desember 2000 08:21
Til: Orion-Interest
Emne: Re: www.orionserver.com down again

Thanks for the link!

You've got to be a little careful interpreting the results though.  If I 
read it correctly, the current moving average for uptime for the 
www.orionserver.com linux box is around 20 days.  However, there are no 
numbers for the average amount of time that the Orion server on that host 
is actually up and available.  This data is more a measure of the 
stability of the operating system than whatever web server is running on it.

At least that's my take  but I'd like to hear other people's opinions.

Thanks,
Hitesh


Jeff Schnitzer wrote:
An interesting graph can be found here:

http://uptime.netcraft.com/graph?display=uptimesite=www.orionserver.com 
 http://uptime.netcraft.com/graph?display=uptimesite=www.orionserver.com

(sorry about the previous chopped message)

Jeff Schnitzer
[EMAIL PROTECTED]

 [snip]


(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: Large Collections

2000-12-08 Thread Robert Krueger

At 17:59 07.12.00 , you wrote:
We're working on an ecommerce site which has a rather large ( 3M) record
products table. We were hoping that the Collection which is returned when an
entity bean's collection field getter is called would be smart .. that the
entity beans would be instantiated as needed vs all instantiated at once.
Alas, it appears that this is not the case. I initially ran out of memory
trying to get the collection until I applied the
ApplicationAdministrator.flushEJBCache hack, but the elapsed time is still
just too large when dealing with that collection.

My question is how are people handling this kind of problem? Should I just
abandon CMP for this stuff and do it in a traditional fashion, perhaps a
temporary table, via JDBC? Maybe cache the handles from the CMP collections
for reuse? Go for a database specific solution?

IMHO you have to abandon CMP in that case as orion gives you no way to 
configure the behaviour of a particular finder. in many cases orions way of 
doing it (fetching all records) results in great performance but for 3M 
that obviously hits a limit. I don't know which appserver gives you that 
kind of control (I think inprise lets you decide whether a finder fetches 
the data or just pks). It depends on the kind of client you use, what's 
available as a solution. Probably the most robust  way is using RDBMS 
features like limiting the number of records in the resultset and perfom a 
query against the db when the subset the client looks at changes.  What do 
you want to do? Just iterate over all or present a subset to a client (e.g. 
browser or swing app) to select an entity?

regards,

robert

tia

john d

(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Anyone heard from evermind?

2000-12-07 Thread Robert Krueger


Hi fellow orion users,

is it just my imagination or have things become VERY quiet around evermind? 
I haven't seen a post on this forum in quite some time now (ok, it's a 
community forum but they used to drop in from time to time), no bug status 
that I registered for notification has changed and no new developer 
versions of orion. before I'm the 100th person/customer to bombard the 
support address with "what's up" type of mails, does anyone know what 
they're up to/working on.

Thanks,

Robert




(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





memory consumption problems

2000-12-07 Thread Robert Krueger


Hi,

Is there any way to influence orion's way of handling memory consumption? I 
have a production installation that frequently crashes with 
java.lang.OutOfMemoryErrors although I've set the jvm to -Xmx400m. 
Resources never seem to be freed. This sounds similar to the problems 
someone else reported a short while ago. I'm also doing massive batch 
updates using CMP. It could be an explanation that entity beans are never 
cleared from the cache. I'm reluctant to putting in code that looks up 
internal orion objects to flush the cache. What I need is a config option 
for that (cache parameters, can't be hard to implement).

Anyone knows a solution to this dilemma? As it is now, orion frequently 
crashes and the bad thing is, that in contrast to real vm crashes the 
supervise tool we use to supervise and restart orion doesn't detect this, 
which resulted in several very awkward situations.

Thanks,

Robert
(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: Anyone heard from evermind?

2000-12-07 Thread Robert Krueger


Hi Karl,

good to see you're still alive ;-).

snip/


I will try to keep you posted on these developments and I want to reassure you
that we are not gone, but quite the opposite, we are making a move to become
more aggressive in the future, but it has made us less visible for some time
and has hurt the product development and release cycle, and it is likely to do
so from time to time as we go ahead. A new release with a few fixes shouldn't
be far away now though.

can we read this as a committment to fixing bugs in available features 
before adding new features (like finalizing EJB2.0 and servlet 2.3 
support)? I don't know about others but we are currently facing a rather 
tough time with the number of outstanding issues regarding stability and 
robustness. If you're admitting that development resources will be short 
for some time to come, then I think/hope that this is the only way to go, 
if you're serious about supporting your current userbase. I'm sorry that I 
have to say it this way but anyone in the business knows how hard it is to 
convince people to use an underdog product and I've been taking punches 
from customers for a while now.

Regards,

Robert

Regards,
Karl Avedal


(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: onMessage()

2000-12-05 Thread Robert Krueger

At 11:53 05.12.00 , you wrote:
Hi!

I'm testing Orion 1.4  JMS coffeemaker demo. The demo runs fine. I
modified it to use onMessage() instead of pooling using
QueueReceiver.receive() method. This however, renders this demo useless.
onMessage() is not triggered. It is my logic fault or Orion doesn't
support onMessage() trigger? Please refer to file provided.


check the archive for problems with JMS. there were many reports indicating 
that the JMS implementation still has a number of rough spots. If the 
problem you're having is not described there, please take the time and file 
your report including your test code in bugzilla (first check if it's 
already been reported) so evermind can look at it and fix it.

thanks,

robert

thank you.

/lim/

(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: tx timeout

2000-12-05 Thread Robert Krueger

At 20:43 05.12.00 , you wrote:

Hello,
 is it possible to change transaction timeout in orion?
Regards,
Savotchkin Egor

application-server

 transaction-config timeout="6000" /

if that's what you're looking for. just take a look at the dtds in the 
docs. It takes you no more than 2 hours to browse through them and once 
you're done you get a pretty good idea of what you can configure in orion 
as that is the authoritative resource (except for some undocumented 
features :-( )

HTH

robert


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

(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: Log Analysis

2000-12-03 Thread Robert Krueger

At 14:47 02.12.00 , you wrote:

 Anybody using standard tools to analyze logs?  Anybody have the 
 format string for apache's combined format set up?  So it is a quick fix?

David


this is what we use and it works with standard analyzer tools like webtrends

 access-log format="$ip - $user [$time] quot;$requestquot; $status 
$size quot;$agentquot; quot;$refererquot;" 
path="../log/access-playground.log" split="day" suffix="_-MM-dd" /


btw. have you checked the archive? I think this has been posted before.

HTH

robert



(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: bug in Orion 1.3.8 when creating InitialContext

2000-12-02 Thread Robert Krueger

At 12:11 02.12.00 , you wrote:
Hi OrionFolk :-)

Tonight I downloaded OrionServer 1.3.8 from the stable link off the
orionserver.com. There seems to be a bug having to do with
InitialContexts that was not there in version 1.0.3.

looks like a bug. best you file it in bugzilla with your test code.

robert
(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: Running two instances of Orion on the same IP and port

2000-11-28 Thread Robert Krueger

At 16:46 28.11.00 , you wrote:

Orioners,

Has anyone ever tried to run two instances of Orion on the same machine, 
IP and port.  What I am trying to do is have a second instance of Orion 
listen to only certain virtual hosts (headers) and the first pick up any 
unknown or blank headers.

The reason for us doing it this way is to have a test installation of 
Orion that will be restarted often and a second 'stable 'installation that 
will run some ancillary sites for our internal network.

I know that binding a second IP to the box and having the second Orion 
listen on that IP would probably work.  Is there an obvious reason that 
the way I am attempting always gives me an "Error starting HTTP server: 
Address already in use" error on the second instance?

yes, how are two VMs supposed to share a server socket??? IMO this does not 
work.

robert

thanx,

Larry

(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: orion 1.4.0

2000-11-25 Thread Robert Krueger

At 17:09 25.11.00 , you wrote:
being new to orion I am unsure as to whether or not to install orion1.4.0 on
a unix box. Should I use 1.3.8? Is 1.4 stable enough to use? Any advice
would be appreciated.

IMHO not much difference in terms of stability. we have one production 
system running on 1.4.0 because it fixes some issues with the 
validity-timeout settings. test your application and see if it works ok but 
I cannot see any specific issues that make 1.4.0 worse than 1.3.8.

HTH,

robert

Thanks,

Johnny

(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





RE: Anyone using Orion in production? [long]

2000-11-25 Thread Robert Krueger

At 10:35 25.11.00 , you wrote:
Interesting Rob. I completely agree with you. I think the Orion team is

snip/

I agree 100% with what you say (except for the 5k$ thing;-)) and I see I'm 
not the only one having these thoughts.

formiddable opponent of WebLogic. I do agree though..stop the EJB
2.0/Servlet 2.3 support and build upon the existing EJB 1.1, etc. I don't
agree about your clustering thing..I think a good app server should support
clustering from the getgo, which I believe Orion does decently.

ok, maybe I'm biased on the clustering thing because we don't need it right 
now ;-).

best regards,

robert



(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: Anyone using Orion in production? [long]

2000-11-24 Thread Robert Krueger

At 10:15 24.11.00 , you wrote:

However I can sympatize with Karl and Magnus. EJB is a very new
technology. Shipping the source makes it relatively easy for the
competition to copy the product which of course is the downside. But I
think shippingg the source would be for the better of the server. Nobody
is perfect and if all of us have our hands on the source lots of those
silly bugs should be fixed in much less time. Having to submit a
testcase makes for a lot of effort on both sides since we have to create
a testcase which has to be recreated by the orion team and tested. Most
of these bug however would simply appear running your app through a
debugger and jumping into the orion source.

I've run into so many weird and absurd problems in Orion; all it would've 
taken for me to solve the problem and submit a patch would be a grep in 
the source tree. Alas, I cannot do this and I am stuck with an application 
server that has many advantages and many disadvantages, which more or less 
cancel each other out. Many bugs I post as problems to the mailing list, 
many times without response, forcing me to submit some of them to 
bugzilla, where they go unnoticed.


Evermind's position, as stated on the FAQ, is that they would be SUED by 
Sun if they made their source code public.

Well, I wonder what projects like Jonas, EJBoss and JBoss do? I know that 
there are legal issues with sun but so far I have yet to hear a statement 
from evermind saying "yeah we would really like to ship with source and 
talked to sun but they wouldn't let us". I personally would love to trade 
offical J2EE branding (if that's the legal problem) with being able to do 
something about really awkward situations caused by unexpected bugs. I 
think they have made up their mind not to give source away and that's a 
decision I as a customer must respect but it has the potential to make me 
abandon a (generally great) server. I don't think legal issues have really 
been considered seriously (might be wrong though). main problem is that 
they (evermind) don't want it. nobody forces them to obfuscate their code 
(or is there such a statement in sun's J2EE license?).

I feel like fighting windmills but it's just such a tempting thought and a 
frustrating situation.

robert

What?! What is the rationale behind this conclusion???





(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





RE: Anyone using Orion in production? [long]

2000-11-24 Thread Robert Krueger

At 10:10 24.11.00 , you wrote:
I quite agree with you Robert. I love Orion..and tell everyone I know to use
it becuase of its great performance, features and so on. Lately though I
haven't seen either Karl or Magnus on IRC chatting, nor have I seen an email
in the list from them on any regular basis. I know myself and a few others
are offering a good set of frameworks to be shipped with Orion and haven't
heard a response in over a week of submitting the proposal. The frameworks
would benefit Orion in that it would be like the big boys..offering more
than just an app server. We would fully document them, support them, and
they are open-source, so unlike Orion, if anything goes wrong, they are
fixable by the ones using it. I quite agree that Orion should make source
available for the use of allowing us to fix bugs if they crop up, and submit
them for the Orion team to examine and if its a good fix, put it in the next
build. This would require more people however..managing a product like Orion
with lots of bug fixes coming in, merging them, testing them and so on..that
would require alot of managing, and I get the feeling Magnus and Karl would
rather write code than integrate fixes from many other people.

I strongly disagree. let's compare what happens now and what would happen then.

now: I try to describe the problem that causes the bug to show maybe add 
some pseudocode and maybe even package an application with instructions how 
to reproduce the bug. they have to go through that maybe program a test 
case or at least install my test application and then start looking.

then: I'd do all the stuff myself until I see that there is e.g. a wrong 
conditional at line xyz and submit the line number of the file with a 
description of what is wrong and why.

I would say that I as a developer would be much quicker with the second 
kind of information. I'm talking about many very obvious silly bugs that 
you see when someone points you at. the hard and tedious(==time and 
resource consuming) part is nailing it down. not understanding it when 
someone points you to that. of course there would be bullsh*t bugreports 
also but that's also the case without source. parallel development doesn't 
scale well but parallel debugging scales extremely well (linux, apache 
being the best example). it's many people stressing the software being 
curious enough to dive into the code to do work (find bugs) that would 
otherwise have to be done by evermind. people (mostly highly qualified 
techies) work for you for free to get a stable and mature product.

On the other hand, for the original poster..I don't think you'll find a
better Servlet/JSP engine, in terms of performance anyways. I think Orion
has one of the fastest most stable web server engines around.

that one I would have to agree with.

robert


(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: Instantiate more than one session bean

2000-11-22 Thread Robert Krueger

At 09:50 22.11.00 , you wrote:
On Tuesday 21 November 2000 12:47, you wrote:

  Is it possible to instatiate more than one session bean from the same
   class,
  
  for the same session? I'm planning to make a mullti-threaded servlet that
 
  you mean the same httpsession, don't you?

Yes, the same HttpSession ...

  each thread instantiate one session bean object and works with it.
 
  could you describe a little more what you're trying to achieve?

I need to execute something concurrently. For this, I need many session beans
for the same class and then excute these session beans from a multi-threaded
servlet.

I was asking about the use case you're modelling, not the particular 
implementation problem. so I still didn't get how the relationship between 
session beans and http-sessions is in your case. what do you mean by 
multi-threaded? multiple http requests executed on the servlet concurrently 
or multiple threads that are started by one http request that invoke 
session bean methods?

robert

[]s
Guilherme Ceschiatti


(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





RE: Instantiate more than one session bean

2000-11-21 Thread Robert Krueger

At 10:57 21.11.00 , you wrote:
that's valid... but be careful... some servlet engines are known to 'reuse'
the same instance of a servlet many times

why would that matter? if he associates the session beans with the 
httpsession there is no problem, no matter what type of reuse policy the 
servlet container uses or am I missing something? are you implying he's 
using instance variables for storing the sb references? that wouldn't be 
thread safe. either he uses ThreadLocals or session variables. anything 
else would not be correct IMO.

regards,

robert


-Original Message-
From: Storm Linux User [mailto:[EMAIL PROTECTED]]
Sent: Lunes, 20 de Noviembre de 2000 17:54
To: Orion-Interest
Subject: Instantiate more than one session bean


Hi..

Is it possible to instatiate more than one session bean from the same class,

for the same session? I'm planning to make a mullti-threaded servlet that

you mean the same httpsession, don't you?

each thread instantiate one session bean object and works with it.

could you describe a little more what you're trying to achieve?

robert

Thanks!

[]s
Guilherme Ceschiatti
[EMAIL PROTECTED]

(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: Does Orion automagically pool jsp database connections?

2000-11-20 Thread Robert Krueger

At 09:13 20.11.00 , you wrote:
I have a jsp page that make a jdbc database connection How do I tell
Orion/JSP to used pooled connections?

use the right kind of datasource (see data-sources.xml) for creating the 
connection.

robert

Thanks!
Keith


(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





RE: REPOST: Multiple websites on one server not found [NEED HELP]

2000-11-16 Thread Robert Krueger

At 13:42 15.11.00 , you wrote:
At 11:06 AM 11/15/2000 -0600, you wrote:
no, you have to get the terminology right, so people understand what 
you're trying to do ;-). you DON'T want to set up 3 websites in j2ee/orion 
terminology but have one website witth three web applications. your 
website is http://myserver. you got answers to set up different websites 
by the people who thought you wanted to do that because you said so and 
you got answers to set up one website with three web applications because 
that's what you described as in this email and the ones before.

web site == one address like http://myserver (which will have a default 
web application mounted at "/")
web application == twsm which you want to mount to the website 
http://myserver  under "/twsm" which results in http://myserver/twsm

hope this clears up the confusion and of course it's all your fault ;-).

Allright, so I'm a dolt. :-)  You are, of course, correct.  Terminology is 
such a hard thing to master.  ANYHOO, the above methods are what I'm 
trying to accomplish. I'm sorry for the confusion, and I will promise to 
assume all blame for any flamage which may occur as a result.

So, now that Robert has so elegantly spoken for me, what sort of solutions 
do y'all have to offer the poor, clueless orion dev-head?

what about the one I posted? one web-site.xml for http://myserver  with 
default-web-app being the one you want to see at http://myserver/ and two 
web-apps (with root set to  "/twsm" and "/cs2k" respectively). didn't that 
work? it should. I have plenty of sites/apps set up this way here.

robert


--
Andrew Kidder
L3 SW/Support Engineer, IBU
Tivoli Systems

512-436-4544
[EMAIL PROTECTED]
http://www.tivoli.com




(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: OT: RE: Macromedia Generator and Orion

2000-11-16 Thread Robert Krueger

At 10:30 16.11.00 , you wrote:
Hi Robert,

of course there are alternatives for using Generator. Believe, we do know 
all about it. But our client  just asks for using Generator 2 Enterprise 
Edition.

my reply was more adressed to magnus as he said he didn't do a flash 
version of the ATM because of the price. I guess he has the freedom of choice.

I still try to figure out how to get Generator to run under Orion. I 
really like to sell Orion to our Client, too.

So that's what I've done so far:

I put the following code between the
web-app/web-app Tags of  the WEB-INF/web.xml:


 !-- Die Generator Servlets --
 servlet
 servlet-nameFlashGenerator/servlet-name
 
servlet-classcom.macromedia.generator.servlets.FlashGenerator/servlet-class
 display-nameFlashGenerator/display-name
 descriptionFlashGenerator/description
 load-on-startup1/load-on-startup
 init-param
 param-nameInstallPath/param-name
 
param-value/opt/generator/generator/param-value
 /init-param
 /servlet


 !-- Mapping fuer die Generator Servlets --
 servlet-mapping
 servlet-nameFlashGenerator/servlet-name
 url-pattern/*.swt/url-pattern
 /servlet-mapping

And I tried to set the classpaths

 !-- Classpaths --
 classpath path="C:\Programme\Macromedia\Generator 
 2\classes\flashgen.jar" /
 classpath path="C:\Programme\Macromedia\Generator 2\bin\" /


When I now try to call the Generator Template (which calls a *.jsp) I get 
an Error message. What did I miss or do wrong?

http://localhost:8080/TestMovie1.swt

500 Internal Server Error

java.lang.NoClassDefFoundError
 at 
 com.macromedia.generator.api.Serial.init(com/macromedia/generator/api/Serial)
 at 
 com.macromedia.generator.servlets.FlashGenerator.initSerialization(com/mac 
 romedia/generator/servlets/FlashGenerator)
 at 
 com.macromedia.generator.servlets.FlashGenerator.init(com/macromedia/gener 
 ator/servlets/FlashGenerator)
 at com.evermind.server.http.HttpApplication.wt(JAX)
 at com.evermind.server.http.HttpApplication.wb(JAX)
 at com.evermind.server.http.HttpApplication.um(JAX)
 at com.evermind.server.http.ef.su(JAX)
 at com.evermind.server.http.ef.dn(JAX)
 at com.evermind.util.f.run(JAX)

Thanks for any hint...

Regards

Berny

ok, where did you put the macromedia classes so we can figure out why the 
classloader cannot access them?


robert

At 09:46 16.11.2000 +0100, you wrote:
At 09:23 16.11.00 , you wrote:

Hi Berny.
Is Generator still needed with the new version of 5 to have good 
interaction with the server?
I was working on making a Flash version of the ATM but dropped it when I 
saw the price on Generator...
WR

there are cheaper alternatives for creating flash movies dynamically, 
even one freeware package that got reasonably good reviews in a german 
magazine. I don't remember the names but could look for the article if 
you're interested.

robert

  -Original Message-
  From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]mailto:[EMAIL PROTECTED]]
  Sent: den 15 november 2000 14:00
  To: Orion-Interest
  Subject: Macromedia Generator and Orion
 
 
  Hi,
 
  does anybody have experiences how to run Macromedia Generator
  under Orion?
  I appreciate any hint...
 
  Regards
 
  Berny
 
 
  --
  Berny Woehrlin
  system development - web consulting
  mail:   [EMAIL PROTECTED]
  location:   Hamburg, Germany
 
 

(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de



--
Berny Woehrlin
system development - web consulting
mail:   [EMAIL PROTECTED]
call:   +49 - (0)179 519 63 24
location:   Hamburg, Germany



(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





RE: RE: Macromedia Generator and Orion

2000-11-16 Thread Robert Krueger

At 12:49 16.11.00 , you wrote:

If you know of such an alternative system, could you please let me know?
WR

I'll look for the article and post them.

robert

  -Original Message-
  From: Robert Krueger 
 [mailto:[EMAIL PROTECTED]mailto:[EMAIL PROTECTED]]
  Sent: den 16 november 2000 09:46
  To: Orion-Interest
  Subject: OT: RE: Macromedia Generator and Orion
 
 
  At 09:23 16.11.00 , you wrote:
 
  Hi Berny.
  Is Generator still needed with the new version of 5 to have good
  interaction with the server?
  I was working on making a Flash version of the ATM but
  dropped it when I
  saw the price on Generator...
  WR
 
  there are cheaper alternatives for creating flash movies
  dynamically, even
  one freeware package that got reasonably good reviews in a
  german magazine.
  I don't remember the names but could look for the article if
  you're interested.
 
  robert
 
-Original Message-
From: [EMAIL PROTECTED]
   
 [mailto:[EMAIL PROTECTED]mailto:[EMAIL PROTECTED]mailto:berny_@t-onl 
 ine.de]
Sent: den 15 november 2000 14:00
To: Orion-Interest
Subject: Macromedia Generator and Orion
   
   
Hi,
   
does anybody have experiences how to run Macromedia Generator
under Orion?
I appreciate any hint...
   
Regards
   
Berny
   
   
--
Berny Woehrlin
system development - web consulting
mail:   [EMAIL PROTECTED]
location:   Hamburg, Germany
   
   
 
  (-) Robert Krüger
  (-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
  (-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
  (-) Tel: 06151 665401, Fax: 06151 665373
  (-) [EMAIL PROTECTED], www.signal7.de
 
 

(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





RE: EJB Performance Question.

2000-11-15 Thread Robert Krueger

At 14:48 14.11.00 , you wrote:

Thanks Robert.  I think I'll try running some
benchmarks this week and post the results.  I wonder..
is there a way for and EJB-EJB to be _forced_ to
go through RMI?  i.e. can I turn this optimization
off?

I don't think there is a documented way to to this.

robert

-tim


  -Original Message-
  From: Robert Krueger [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, November 14, 2000 1:36 PM
  To: Orion-Interest
  Subject: RE: EJB Performance Question.
 
 
  At 12:06 14.11.00 , you wrote:
At 10:03 14.11.00 , you wrote:
Every single one of those calls to dir.getXXX() has to go across
the network via RMI.  This is slow.  You are better off using a
   
well, with orion this is intra-vm so its not that bad ...
  
  Is there proof that Orion does this?  I'm not trying to be a jerk,
  but I'd like to see some numbers on how long a set/get takes for
  a client-to-ejb call and an ejb-to-ejb (same vm) call.
 
  do a getClass().getName() on your ejbobject. will be the same
  wrapper class
  that implements the ejbobject (if you look into the generate
  code that's
  temporarily there on deployment).
 
  anyway, I've never benchmarked but it is orders of magnitude
  faster than
  any rmi stack I've seen. I think there's even an old mail in
  the archive
  from karl that confirms this otiomization because it was one
  of the first
  things I asked (must at least be 10 months ago now).
 
  regards,
 
  robert
 
  Not even Weblogic optimizes to pass-by-value for intra-vm ejb
  
  calls.  You have to use TopLink to get that optimization.
  Funny though, Weblogic provides a tag in their deployment
  description but it doesn't do anything.
  
  -tim
 
  (-) Robert Krüger
  (-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
  (-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
  (-) Tel: 06151 665401, Fax: 06151 665373
  (-) [EMAIL PROTECTED], www.signal7.de
 
 

(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





RE: REPOST: Multiple websites on one server not found [NEED HELP]

2000-11-15 Thread Robert Krueger

At 09:52 15.11.00 , you wrote:
Sorry about my lack of lucidity.  I would like to have 3 web sites up and 
running under one Orion server.  I want the default website (the one that 
Orion displays by default) to display when the user types http://myserver, 
I want my cs2k site to come up when the user enters http://myserver/cs2k, 
and I would like http://myserver/twsm to display my other 
site.  Currently, whichever site's application tag is defined first in 
server.xml is the one that gets mapped to http://myserver, and neither of 
the other two URL's work.

These sites consist mostly of jsp's and servlets, but I am not sure about 
any EJBs that might be present.  We have various beans littering the 
classpath, but the sites seem to be functioning properly in and of 
themselves.  I guess I'm just confused about how to set up multiple 
websites under the same Orion server, and it seems that everyone on this 
list has a different opinion of how to do that. :)

no, you have to get the terminology right, so people understand what you're 
trying to do ;-). you DON'T want to set up 3 websites in j2ee/orion 
terminology but have one website witth three web applications. your website 
is http://myserver. you got answers to set up different websites by the 
people who thought you wanted to do that because you said so and you got 
answers to set up one website with three web applications because that's 
what you described as in this email and the ones before.

web site == one address like http://myserver (which will have a default web 
application mounted at "/")
web application == twsm which you want to mount to the website 
http://myserver  under "/twsm" which results in http://myserver/twsm

hope this clears up the confusion and of course it's all your fault ;-).

best regards,

robert




(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: EJB using core classes?

2000-11-15 Thread Robert Krueger

snip/


At any rate..my main question here is, the EJB class in the jar file is
referencing the core class. I don't have the core package in the jar file. I
thought if I deployed the jar file into the same web-app as the other
classes were in, it would have access to these classes. I compile classes to
WEB-INF/classes. Is this not the case? Is there some trickery to getting EJB
classes to see the WEB-INF/classes?

no, it's impossible and not meant to be that way.

two possible cases:

- your class is not application specific but a general utility in which 
case you could put it in a library that is specified in the library path of 
global-application and therefore visible for all web an ejb modules in all 
application or you have to explicitly put it where the ejb code gets it
- it is application specific and used by both web an ejb then you have to 
put it in a separate jar which you reference in orion-application.xml (or 
the dir it's located in, look at the library element) and it will be 
visible to both ejb and web modules.

HTH

robert

Thanks for any help.


(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: DataSource and Transaction

2000-11-14 Thread Robert Krueger

At 08:42 14.11.00 , you wrote:
Hi!

I have an orion-specific question about DataSources and transactions.
I have a session bean in which I start a UserTransaction:

ut = context.getUserTransaction();
ut.begin();

.. stuff ..

ut.commit();

In the "sutff" section above I create different entity-beans like 
user.create(userDetails) and
updates different data in others and then I use a method to insert some 
data into a
table that's not an entity-bean like this:

EntityBean.insertLine(lineData)

and the insertLine method uses JNDI to obtain a DataSource like 
"jdbc/PooledDataSource and from that DataSource I call getConnection to 
get a java.sql.Connection object.

What should I do to make sure that the DataSource I get from the JNDI 
lookup is in the same transactional-scope as my transaction from the 
session-bean, so that if the UserTransaction does a rollback, my inserts 
will be rolledback aswell
Is there a special DataSource for this purpose?


yes, just use the EJBDS. it it transaction-aware and pooled.

HTH

robert


Lars Borup Jensen
Software Developer

CONSCIUS
Bådehavnsvej 15
DK-9000  Aalborg
Phone: (+45) 98 164 663
Mobil: (+45) 28 594 103
Email: mailto:[EMAIL PROTECTED][EMAIL PROTECTED]
Home: http://www.conscius.comhttp://www.conscius.com

(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: orion server works with jdk 1.3???

2000-11-14 Thread Robert Krueger

At 09:16 14.11.00 , you wrote:
hi,

I used to work with orion server with jdk 1.2.2. Recently I installed jdk 
1.3 and uninstalled jdk 1.2.2. Now I am not able to start orion server. I 
get the error message saying that could not find version number 1.3 for 
jre in program files/java soft/jre.

any idea?

has nothing to do with orion. it's something with your registry being 
screwed up by installing/uninstalling, typical M$ problem. I've had that a 
ages ago but don't remember the solution :-(.

robert

thanks in advance.

krishna
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.



(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





does anyone use the parent attribute for applications?

2000-11-14 Thread Robert Krueger

hi,

I started using the orion feature, that you can declare a child application 
of another one. at first it worked fine but I'm beginning to get more and 
more weird errors, e.g.

say I have three applications named parent, child1 and child2.

in addition to that I have used the global-application to import some 
common utility classes used by all applications.

when I start orion I get an error message saying that one of the utility 
classes (in the library path of the global application) cannot be found 
when deploying child1 and child2:

Error loading package at 
file:/home/krueger/devel/projekte/s7procurement-deployment/devel/ejb/, 
Error loading class 
'com.signal7.procurement.ejb.administration.CompanyBean': 
java.lang.NoClassDefFoundError: com/signal7/ejb/EntityAdapter

when i remove child1, child2 from server.xml store, put them back in, they 
deploy normally and work.

on another orion installation I have the effect that the narrow operation 
on a looked up home interface leeds to a class cast exception because there 
is an object of some internal com.evermind.server... class instead of my 
home interface wrapper. the identical deployment settings, freshly checked 
out from cvs work well on the same version of orion on the development 
machine. suddenly after a few requests on the servlet it works. before I 
incest more effort trying to find a pattern in this weird behaviour I would 
like to hear from others who have used this stuff if they think it works. 
if I'm the first to use it extensively I don't know if I have the nerve to 
go on and would consider solving my problem some other way.

any input appreciated,

maybe magnus or karl could share some internals on how this 
parent/child/global application stuff works internally (classloader 
hierachy, jndi tree, implications) so I can bo better than with just 
brainless trial and error.

robert



(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





RE: EJB Performance Question.

2000-11-14 Thread Robert Krueger

At 10:03 14.11.00 , you wrote:
Every single one of those calls to dir.getXXX() has to go across
the network via RMI.  This is slow.  You are better off using a

well, with orion this is intra-vm so its not that bad ...

bulk accessor pattern.  For example, create a new class called

.. although a bulk accessor is generally a good thing to use in such 
situations.

have you tried wrapping one usertransaction around your update operation or 
maybe even around the entire loop, depending on what you want to see as a 
transaction. this will improve performance significantly because you don't 
have all the tx overhead. if you don't know what a usertransaction is, read 
up on JTA.

HTH

robert

DirView which contains all the attributes of your Dir EJB.  Then
make a single call to the Dir EJB to get a DirView.  This will cause
only 1 RMI call and save you a huge amount of time.

Do you understand?  I can probably pseudo-code an example
if necessary.

-tim


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 14, 2000 3:56 AM
To: Orion-Interest
Subject: EJB Performance Question.

Hi, every one. First i'm sorry for my english.

We use servlet that call EJB. Next is code fraction.

//---
public Vector findByFirstPage(DirHome home, Integer rowCount) throws 
Exception{

   Vector rows  = new Vector();
   Dir dir = null;

   System.out.println("step 11 time : " + (new java.util.Date()));

   // call EJB
   Collection col = home.findByFirstPage(rowCount.intValue());
   Iterator iter = col.iterator();

   System.out.println("step 12 time : " + (new java.util.Date()));

   while(iter.hasNext()) {
 dir = (Dir)iter.next();
 rows.add(EJBToRow(dir)); //---  bottle neck #
   }

   System.out.println("step 13 time : " + (new java.util.Date()));

   return rows;

  }
  //---


Simple code. In while loop, EJBToRow() method take 3 second each call.

Next code is EJBToRow(). Very Simple. Only call EJB Meber methods.

  //---
  public Vector EJBToRow(Dir dir) throws Exception {

   Vector row = new Vector();

System.out.println("step 21 time : " + (new java.util.Date()));

   row.add(dir.getId());
   row.add(new Long(dir.getPId()));
   row.add(dir.getName());
   row.add(new Long(dir.getSerial()));
   row.add(new Long(dir.getChildCount()));
   row.add(new Long(dir.getDepth()));
   row.add(dir.getPMap());
   row.add(dir.getType());
   row.add(dir.getUserId());
   row.add(dir.getGroupId());
   row.add(dir.getOwnerPermR());
   row.add(dir.getOwnerPermW());
   row.add(dir.getOwnerPermX());
   row.add(dir.getGroupPermR());
   row.add(dir.getGroupPermW());
   row.add(dir.getGroupPermX());
   row.add(dir.getOtherPermR());
   row.add(dir.getOtherPermW());
   row.add(dir.getOtherPermX());
   row.add(dir.getCreateDate());
   row.add(dir.getUpdateDate());
   row.add(dir.getExpireDate());
   row.add(dir.getRemark());

System.out.println("step 22 time : " + (new java.util.Date()));

   return row;

  }
  //---

What's the key problem?









--
e-mail
site
: mailto:[EMAIL PROTECTED][EMAIL PROTECTED]
: www.javanuri.com
ÀüÈ­
mobile
: 02-6257-3002
: 019-255-2855



--


(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





RE: EJB Performance Question.

2000-11-14 Thread Robert Krueger

At 12:06 14.11.00 , you wrote:
  At 10:03 14.11.00 , you wrote:
  Every single one of those calls to dir.getXXX() has to go across
  the network via RMI.  This is slow.  You are better off using a
 
  well, with orion this is intra-vm so its not that bad ...

Is there proof that Orion does this?  I'm not trying to be a jerk,
but I'd like to see some numbers on how long a set/get takes for
a client-to-ejb call and an ejb-to-ejb (same vm) call.

do a getClass().getName() on your ejbobject. will be the same wrapper class 
that implements the ejbobject (if you look into the generate code that's 
temporarily there on deployment).

anyway, I've never benchmarked but it is orders of magnitude faster than 
any rmi stack I've seen. I think there's even an old mail in the archive 
from karl that confirms this otiomization because it was one of the first 
things I asked (must at least be 10 months ago now).

regards,

robert

Not even Weblogic optimizes to pass-by-value for intra-vm ejb

calls.  You have to use TopLink to get that optimization.
Funny though, Weblogic provides a tag in their deployment
description but it doesn't do anything.

-tim

(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: EJB Basics

2000-11-14 Thread Robert Krueger

At 13:01 14.11.00 , you wrote:
What is the difference between WEB-INF and META-INF?  How do these 
directory structures relate to jar, ear, and war files?  Which of these is 
J2EE, and which is Orion-specific?  Maybe I am confusing something with 
Tomcat...

- Mark

not-an-rtfm
grab the j2ee spec(s) and maybe the free sun book (I think it's j2ee 
blueprints or something) and just give yourself a few hours of reading to 
get a feeling of how these things interact. it's much more effective than 
waiting for mails trying to explain this thing in a few sentences. you'll 
like it. the spec's are rather readable.
/not-an-rtfm

best regards,

robert
(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: UserManager shutdown hook?

2000-11-13 Thread Robert Krueger

At 08:41 13.11.00 , you wrote:

We have implemented our own usermanager, and it all works great.  But we
would like to know when the server is restarted at least, if not shutdown.
We start up a 'raper' thread, which is responsible for cleaning up expired
user references.  When the orion is restarted, it creates a new instance of
the usermanager, and there is know way to kill the spawned thread, so after
several restart(in development mode), these threads get crazy.  I would
love to see a shutdown hook added to the AbstractUserManager class.  Anyone
else have a need for this?  Anyone else have an idea how to get around it?

you could put the code that inititates a cleanup thread in a method of the 
usermanager that checks when the last cleanup has been invoked. this will 
be more robust and won't give you a noticable performance penalty. It's not 
that nice (sort of a heuristic approach because it relies on the fact that 
getUser() is probably called often enough to ensure that your cleanup works 
reliably).

pseudo code:

getUser(String userName){

 if(lastCleanupWasTooLongAgo()){
doCleanUpActionAsyncronouslyAndSetTimestamp();
  }

 return getCustomUser(userName);
}



Thanks!

James Birchfield

Ironmax
a better way to buy, sell and rent construction equipment
5 Corporate Center
9960 Corporate Campus Drive,
Suite 2000
Louisville, KY 40223


(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: transaction error message

2000-11-13 Thread Robert Krueger


which orion version? I'd generally stay away from 
exclusive-write-access="false" since there are some unsolved issues and at 
the moment IMHO it's not really reliable. I think magnus is looking at it 
but at the moment it still means trouble. I'd try setting low validity 
timeouts for the time being.

regards,

robert

At 13:26 13.11.00 , you wrote:
whenever I specify exclusive-write-access="false" in my
orion-ejb-jar.xml descriptor, I get the following error message when
trying to deploy the application:

Auto-deploying cstool-ejb.jar (orion-ejb-jar.xml had been updated since
the previous deployment)...

UserAuthHome_EntityHomeWrapper50.java:197: Undefined variable:
transaction
wrapper = new UserAuth_EntityBeanWrapper40(context, transaction !=
null);

UserAuthHome_EntityHomeWrapper50.java:199: Undefined variable:
transaction
if(transaction != null)

UserAuthHome_EntityHomeWrapper50.java:231: Undefined variable:
transaction
if(transaction != null)

UserAuthHome_EntityHomeWrapper50.java:598: Undefined variable:
transaction wrapper = new UserAuth_EntityBeanWrapper40(context,
transaction != null);

UserAuthHome_EntityHomeWrapper50.java:600: Undefined variable:
transaction
if(transaction != null)

UserAuthHome_EntityHomeWrapper50.java:633: Undefined variable:
transaction
if(transaction != null)


Any ideas on why this is happening?  I am using CMP and
container-managed transactions...
Thanks.

(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: REPOST: Multiple websites on one server not found [NEED HELP]

2000-11-13 Thread Robert Krueger

At 13:19 13.11.00 , you wrote:
I posted this last week, but haven't gotten any resolution. I've followed 
the how-to's and such in the Orion docs, and have searched the archive. 
None of the stuff that is mentioned there is working, so I implore any of 
you out there with multiple websites running to give this a look and help 
me figure out what I'm doing wrong. If you'd rather contact me off list, 
that's fine toobut I need to get this little problem solved, and I'm 
running out of places to look


THE SETUP (in $ORION_HOME/config, on host "orionhost")

1. I have a web-site.xml file for each of the two sites that I want to 
run under Orion (cs2k-web-site.xml and twsm-web-site.xml). Each file 
contains a line like this (sub "cs2k" in for "twsm" for cs2k-web-site.xml):

 default-web-app application="twsm" name="twsm-web" shared="true" 
 root="/twsm" /

this doesn't make sense. the default-web-app of a site is always mounted to 
"/". what you want is probably one web-site.xml that reads

default-web-app application="whatever" name="whatever" root="/" /
web-app application="twsm" name="twsm-web" root="/twsm" /
web-app application="cs2k" name="cs2k-web" root="/cs2k" /

HTH

robert

2. I have added the following lines to the end of server.xml:

 application name="twsm" path="../applications/twsm/" /
 web-site path="./twsm-web-site.xml" /

 application name="cs2k" path="../applications/cs2k/" /
 web-site path="./cs2k-web-site.xml" /

3. I have added the following lines to application.xml, under the default 
web-module tag:

 web-module id="cs2k" path="../applications/cs2k" /
 web-module id="twsm" path="../applications/twsm" /

4. All other files remain unmodified, and the default-web-site.xml has 
the root set to "/".

Now, the application that comes up when entering a URL of 
http://orionhost/ is the first app to be defined in server.xml.  I have 
verified this by switching the declarations, and the other site comes up 
as the default. I do not know how to get the browser to display the other 
site, as http://orionhost/cs2k and http://orionhost/twsm both yield 404 
errors.  Also, since I have defined the default website with a root of 
"/", shouldn't http://orionhost/ output the default web page, rather than 
one of my webapps?  Currently, the same host:port will be serving both 
websites.  They may get differing virtual domains in the future.

So, can anyone tell me how I can view both websites on the same 
server?  Can anyone see what I'm missing here?


--
Andrew Kidder
L3 SW/Support Engineer, IBU
Tivoli Systems

512-436-4544
[EMAIL PROTECTED]
http://www.tivoli.com




(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: REPOST: Multiple websites on one server not found [NEED HELP]

2000-11-13 Thread Robert Krueger

At 14:59 13.11.00 , you wrote:
In your application.xml for each file, specify the context root.

Eg, in cs2k/META-INF/application.xml

specify:

module
 web
   web-urics2k-web/web-uri !-- directory where the website lives,
eg applications/cs2k/cs2k-web, must have a WEB-INF/web.xml file in it --
 context-rootcs2k//context-root
 /web
/module

have you actually tried this?? I wasn't aware that the context root 
actually does anything. would be a surprise to me. I'm quite sure the only 
thing that's honoured is the root attribute in the web-app element.

robert


(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: Newbie Q: Can't find bean?

2000-11-12 Thread Robert Krueger

At 18:14 11.11.00 , you wrote:

Thanks for your reply Robert, however I don't really feel it's fair
for you to have judged me ignorant of both Java and the J2EE in

I apologize if I offended you with my statement. that was not my intention 
and I didn't judge you ignorant of anything and didn't mean to. it's just 
that so many questions on this list (which is meant to be a vendor-specific 
forum) are due to a lack of understanding of general J2EE issues of the 
posters (I admit, it's sometimes hard to differentiate and it is a complex 
topic). your misconception about the useBean tag is of rather fundamental 
nature and my comment was really motivated by reading posts of many people 
who have a hard time getting a complex product like orion to work properly 
because they lack the necessary J2EE background and who wouldn't have a 
fraction of the problems with orion-specific issues if they had read up on 
the J2EE basics. if you feel the tone of my mail was inappropriate, I do 
apologize again.

regards,

robert
(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: Web upload of a Java class

2000-11-12 Thread Robert Krueger

At 15:00 12.11.00 , you wrote:
It's not form commercial use. It's for my research project for getting my
master's degree in Electrical Engineering ... I'm not concered about securety
right now.

then hack right on. will be fun. the security aspects of this could easily 
fill a chapter of your thesis if it fits your topic ;-).

robert




(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: Web upload of a Java class

2000-11-12 Thread Robert Krueger


oh, I see. that's something the servlet api doesn't do for you. to parse a 
multipart request (that's what you use for file-upload) all you get is an 
input stream that you can parse which you have to decode. however there are 
plenty of utilities that do this for you. one is even shipped with orion.

check the api docs for FilePostParser. there is a source example of how to 
use it.

just get the request input stream, apply the parser to it (again gives you 
input stream on the decoded data items) and store copy the data from the 
input stream to a file.

remember to set the form enctype to multipart/form-data.

that should be all you need to get going.

robert

At 17:33 12.11.00 , you wrote:
I'm using the HTML form input type="file" name="my_file" to upload
my compiled class file. When I try to get the file in the servlet, using:

File f = (File)request.getParameter("my_file");

It does not work. I need to get the class file, generate an object of it and
then execute some methods.

How can I do this?

[]s
Guilherme Ceschiatti
[EMAIL PROTECTED]

(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: Get the web uploaded file

2000-11-12 Thread Robert Krueger



File f = (File)request.getAttribute("my_class_file");

But it does not work. It compiles if I change to:

Object obj = request.getAttribute("my_class_file");

But then, how do I transform an Object to a File, and then, as the file is a
compiled class, how do I create an instantiate this class to call some
methods of it?

completely on the wrong track here.

please check the servlet api docs to see what getAttribute is for. You'll 
be surprised ;-).

Thanks again!
[]s
Guilherme Ceschiatti
[EMAIL PROTECTED]

(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: 1.4.4 OR Collection classes

2000-11-11 Thread Robert Krueger



Unfortunately it is not always clear whether an object referred to by its
interface type is serializable.  I am in the middle of fixing a load of
beans that returned Iterators, which worked fine on Orion 1.3.8.  Of
course Iterator is an interface, and I discovered when I upgrade to Orion
1.4.3 that the objects that backed the Iterator objects returned by JDK
1.1's Vector and JDK 1.2's ArrayList (etc.) were *not* serializable.

well, that's perfectly ok because Iterator or ListIterator is not 
serializable either. Return collections from your beans. So orion let you 
get away with a design error (which is bad, I admit as it should have 
detected that the reurn type is neither a remote object nor serializable, 
shouldn't it?) but it remains a design error on your part.

robert



(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: Web upload of a Java class

2000-11-11 Thread Robert Krueger

At 16:45 10.11.00 , you wrote:
Hi...

I need to upload a compiled class to my Orion application and then execute
some methods of it. Anybody knows how can I do it?

upload the class file, instantiate a URLClassloader that points to the 
file's url, load the class using that classloader, do whatever you need 
using reflection (e.g. instantiate objects, call methods on them, whatever) 
and after that dump the classloader.

however as simple as that may be, are you aware of the security 
implications of this? if this is not just for playing around, you should 
read up on java security and classloading and then subclass URLClassLoader 
and implement a very restrictive getPermissions() method for the uploaded code.

before you do that be REALLY, REALLY sure you know what you are doing if 
this is for real world use!!!

other than that I don't see any difficulties in achieving what you described.

HTH,

robert

[]s
Guilherme Ceschiatti
[EMAIL PROTECTED]


(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





RE: 1.4.4 OR Collection classes

2000-11-11 Thread Robert Krueger

did you file this as a bug report in bugzilla? I didn't find it there. I'll 
file it now (we just ran into it and it's a nasty one to find). if you 
already have please contact me so I can remove it.

robert



Vidur,

This looks in same ways similar to the problem that I reported a couple of
days ago.

That is, Orion 1.3.8 allowed non-serializable objects to be returned to
the client if running in the same JVM (which should of course not be
allowed).

1.4.3 on the other hand behaves differently - rather than throwing a
java.io.NonSerializableException (?) or something like that (which I
suppose would be correct behavour although I haven't looked in the spec),
it just returns a null and says nothing.

Perhaps you are experiencing this kind of problem?

Unfortunately it is not always clear whether an object referred to by its
interface type is serializable.  I am in the middle of fixing a load of
beans that returned Iterators, which worked fine on Orion 1.3.8.  Of
course Iterator is an interface, and I discovered when I upgrade to Orion
1.4.3 that the objects that backed the Iterator objects returned by JDK
1.1's Vector and JDK 1.2's ArrayList (etc.) were *not* serializable.

I found it useful to use an ObjectOutputStream to write the returned
object out to System.out, wrapped in a try-catch block that printed the
stack trace.  The resulting exception messages told me what the offending
classes were (for example java.util.AbstractList$Itr, and also
RuleBasedComparator which I had been using to sort sets).

Maybe this is totally unrelated but the symptoms seem similar enough so I
though I'd mention it.  Good luck ;)

--
Thomas Munro [EMAIL PROTECTED]
  http://www.gi-technology.com/
  GI Technology (Paris)

On Wed, 8 Nov 2000, Vidur Dhanda wrote:

  Hello,
 
  Earlier today I had reported a problem with the Map class.  There is
  also a problem with the List class.  When the CMP entity is retrieved
  and the CMP List field is empty, it is returned to the client as null.
  Both the Map and the List work fine under 1.3.8.
 
  Vidur
 
 
 
 


(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: Newbie Q: Can't find bean?

2000-11-11 Thread Robert Krueger

At 14:25 11.11.00 , you wrote:

OK... I've gotten something working by removing my use of the
jsp:useBean tag, and instead grabbing the EntityBean home, and
creating manually, which seems to work.

yes, bean != enterprise java bean. you will do yourself a BIG favour if you 
read up on jsp, ejb and java in general as there are some fundamental 
basics missing. trial and error will not get you very far in J2EE. look at 
the specs (they are actually rather readable) and maybe check out ed romans 
ejb book (free download at www.theserverside.com).

regards,

robert

Is it improper to use the jsp:useBean tag to work with entityBeans?
Is this something that I should be using another Taglib for?

I apologize for the basic-nature of this question, but I haven't done
much work with EntityBeans, and even the O'reilly EJB book doesn't
seem to provide much detail on the subject.


Thanks!

Sean P. McNamara writes:
  
   Hi again-
  
   Baby-steps, baby-steps I've finally gotten my application packaged
   properly, and my 2.0 CMP EntityBean to deploy properly, but am having
   problems accessing the bean via JSP.  I've scanned the mailing lists,
   but don't find anything related.  Hopefully someone can lend me a
   clue.


--
Sean P. McNamara[EMAIL PROTECTED]
SOMA Technologies, Inc. [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]

(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: dual cpu linux problems

2000-11-10 Thread Robert Krueger

At 08:15 10.11.00 , you wrote:
Hello all,

 Has anyone tested Orion with dual CPU on Linux?
 We have purchased and deployed Orion on several DELL 1300's with
Redhat linux 6.2.
 All of them seem to work fine.
 So far so good, until the most recent machine which is the first
dual cpu system.
 It works for a short time, then seems to hang.
 I am using IBM JDK 1.3 (most recent release as of 2000/11/9).

 Has anyone got Orion working under Redhat Linux with dual CPU?
 What version of Linux, which JDK and which version of the JDK did
you get it working with.

 Or more generally, what JDK seems more stable, IBM JDK 1.3 or
Sun/Blackdown JDK 1.3?

 Any information anyone has on their experience with dual CPU Linux
and or JDK on Linux would be much appreciated.

we've been running orion in production on an hp dual xeon500 machine with 
Red Hat Linux release 6.1de (Cartman)  with the latest glibc upgrade. we've 
had the same problems with ibm1.3 and run it with sun1.3 final hotspot 
server version. there are occasional crashes but we use supervise to 
restart the server automatically which has worked well so far. on our 
develpment machine we run SuSe 6.4 with lates glibc upgrade with a dual 
PIII700 without major problems (somtimes crashes upon deployment, very 
rarely when running). Sun and Blackdown seem roughly equivalent in terms of 
stability.

robert


Regards,

Rob Lapensee
Director of Technology
Delfour Corporation
[EMAIL PROTECTED]
www.delfour.com


(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: dual cpu linux problems

2000-11-10 Thread Robert Krueger

At 08:15 10.11.00 , you wrote:
Hello all,

 Has anyone tested Orion with dual CPU on Linux?
 We have purchased and deployed Orion on several DELL 1300's with
Redhat linux 6.2.
 All of them seem to work fine.
 So far so good, until the most recent machine which is the first
dual cpu system.
 It works for a short time, then seems to hang.
 I am using IBM JDK 1.3 (most recent release as of 2000/11/9).


btw., where did you get the jdk? the url i use 
(http://www.ibm.com/java/jdk/linux130/) still reads (August 14th, 2000) for 
te latest update.

robert




(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: dual cpu linux problems

2000-11-10 Thread Robert Krueger


I fogot we run kernel 2.2.12-32smp and orion1.3.8 and orion1.4.0 on that 
machine

we've been running orion in production on an hp dual xeon500 machine with 
Red Hat Linux release 6.1de (Cartman)  with the latest glibc upgrade. 
we've had the same problems with ibm1.3 and run it with sun1.3 final 
hotspot server version. there are occasional crashes but we use supervise 
to restart the server automatically which has worked well so far. on our 
develpment machine we run SuSe 6.4 with lates glibc upgrade with a dual 
PIII700 without major problems (somtimes crashes upon deployment, very 
rarely when running). Sun and Blackdown seem roughly equivalent in terms 
of stability.

robert


Regards,

Rob Lapensee
Director of Technology
Delfour Corporation
[EMAIL PROTECTED]
www.delfour.com

(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de



(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: Using Webtrends to analyze Orion logs

2000-11-09 Thread Robert Krueger

At 12:10 09.11.00 , you wrote:

I want to use Webtrends to analyze orions logs. Has anybody any experience 
of doing this? If you do I would appreciate any advise you might be able 
to give.

Also, I have noticed that logs to not log browser type, OS etc.. as Apache 
does

eg:
Apache logs like this:
193.193.193.193 - - [11/Oct/2000:00:05:01 +0100] "GET /file.html HTTP/1.1" 
200 1669 "http://www.whatever.comhttp://www.whatever.com" "Mozilla/4.0 
(compatible; MSIE 5.0; Windows 98; DigExt)" 0 "-"

Orion like this:
193.193.193.193 - - [11/Oct/2000:00:05:01 +0100] "GET /file.htm HTTP/1.1"

Does anyone know how to get Orion to log the additional information Apache 
does in particular OS/Browser info and also get authenticated usernames 
into the logs.

this is what we use for our production systems. I don't know of any 
problems with standard anaylzer tools (in fact I think we use webtrends for 
one customer).

 access-log format="$ip - $user [$time] quot;$requestquot; $status 
$size \quot;$refererquot; quot;$agentquot;" path="your-logfile" 
split="month" suffix="_-MM" /

HTH

robert

Thanks,

Johnny
[EMAIL PROTECTED]

(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: deployment=true -- what does this do?

2000-11-09 Thread Robert Krueger

At 09:33 09.11.00 , you wrote:
In the orion development docs, it recommends setting deployment="true" but
does not say why.  What does this buy you?

Also, is it possible to have a web application that references ejb's but is
not part of a war?  I've deployed my .ear file and everything worked fine.
My web designers are having to rebuild and re-deploy that ear file every
time they make a change.  I've tried setting the name attribute in the
default-web-site.xml file to point to a directory (which had the web.xml
file in the  WEB-INF directory), but it could not find my ejb class files.
I tried putting the ejb class files in the lib directory, but no luck there.
How do you set orion to look at a directory for it's web files instead of a
war?

unpack the whole thing and point orion to the directory that's the top of 
you ear structure. works without any problems. could you post your 
directory layout and your entry in server.xml for the application?

robert


(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: Where is Orion's copy of ejb-jar dtd?

2000-11-08 Thread Robert Krueger

At 18:15 07.11.00 , you wrote:
the first looks like you use non-7bit-ascii characters and didn't
declare the correct encoding in your xml (just a guess).
I don't think that's it. Here is the dd:

could it be that you have some kind of invisible control character in 
there? usually this results in weird failure modes. other than that i have 
no clue what it could be.

robert

?xml version="1.0"?
!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise
JavaBeans 1.1//EN" "http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd"
ejb-jar
   enterprise-beans
 session
   ejb-nameejb/Math/ejb-name
   homemath.MathHome/home
   remotemath.Math/remote
   ejb-classmath.MathBean/ejb-class
   session-typeStateless/session-type
   transaction-typeContainer/transaction-type
 /session
   /enterprise-beans
/ejb-jar

Any ideas? I'm stumped!


Dave Ford
Smart Soft - The Java Training Company
http://www.SmartSoftTraining.com


(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: What's new?

2000-11-08 Thread Robert Krueger

At 18:37 07.11.00 , you wrote:
At 12:02 07.11.00 , you wrote:
Does anybody know what is new in the 1.4.2 version of orion server?

I get syntax errors compiling the generated wrappers for entities with 
complex pks.

fixed in 1.4.3 just tested it.

regards

robert


robert

kesha

(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de



(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: Where is Orion's copy of ejb-jar dtd?

2000-11-07 Thread Robert Krueger


it's in orion.jar in the META-INF dir but it's just the official sun 
version as far as I know. your errors don't indicate that it's a dtd 
problem. the first looks like you use non-7bit-ascii characters and didn't 
declare the correct encoding in your xml (just a guess).

robert

At 08:00 07.11.00 , you wrote:
The reason I ask is that I think it' screwed up. When I try to run an app
with -validateXML turned on i get:

Error loading package at
file:/C:/@web/ClassNotes/EjbJmsJndi/@StudentEjbApp/, Error parsing META-INF
/ejb-jar.xml in C:\@web\ClassNotes\EjbJmsJndi\@StudentEjbApp: Fatal error at
line 377: Character conversion error: "Unconvertible UTF-8 character
beginning with 0x91" (line number may be too low).

When I run it again using the xerces parser I get:

Error loading package at
file:/C:/@web/ClassNotes/EjbJmsJndi/@StudentEjbApp/, Error parsing META-INF
/ejb-jar.xml in C:\@web\ClassNotes\EjbJmsJndi\@StudentEjbApp: Fatal error at
line 912 offset 1: A ') ' is required in the declaration of element type
"role-source". Warning at line 1: Valid documents must have a !DOCTYPE
declaration. Fatal error at line 1: Document root element is missing.


Dave Ford
Smart Soft - The Java Training Company
http://www.SmartSoftTraining.com


(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: Setting max/min connections

2000-11-07 Thread Robert Krueger

At 10:27 07.11.00 , you wrote:

Where can I set the pool size for my datasource in Orion?

Justen Stepka


read the commented dtd for data-sources.xml in the docs it's all there

generally IMHO the dtds are the most valuable source of information as far 
as orion configuration is concerned.

HTH

robert
(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: What's new?

2000-11-07 Thread Robert Krueger

At 12:02 07.11.00 , you wrote:
Does anybody know what is new in the 1.4.2 version of orion server?

I get syntax errors compiling the generated wrappers for entities with 
complex pks.

robert

kesha


(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





RE: What's new?

2000-11-07 Thread Robert Krueger

At 13:45 07.11.00 , you wrote:
How do you get 1.4.2?

autoupdate, it's been there only for a few hours.

robert

  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of Robert Krueger
  Sent: Tuesday, November 07, 2000 12:38 PM
  To: Orion-Interest
  Subject: Re: What's new?
 
 
  At 12:02 07.11.00 , you wrote:
  Does anybody know what is new in the 1.4.2 version of orion server?
 
  I get syntax errors compiling the generated wrappers for entities with
  complex pks.
 
  robert
 
  kesha
  
 
  (-) Robert Krüger
  (-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
  (-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
  (-) Tel: 06151 665401, Fax: 06151 665373
  (-) [EMAIL PROTECTED], www.signal7.de
 
 
 


(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: Specifying different datasources per application

2000-11-06 Thread Robert Krueger

At 11:45 06.11.00 , you wrote:
Hello,

I'm trying to setup different datasource locations for different
applications, but can't get it to work for some reason. Can someone give me
a clue?

Orio does not complain when deploying. As far as I can understand the
datasources.xml file in /config is ok (contains a tag for TestDS).

Regards,
Frank

frank,

i wouldn't use the default-datasource for that because that only writes the 
appropriate stuff in your deployment files on first deployment (i.e. 
location attribute for entities). IMHO it's best to use an 
application-local data-sources.xml which uses datasource aliases to the 
data-sources you specified in your global data-sources.xml.

here's a description I sent kurt:

here's some snippets from the configs.

server.xml:

application name="procurement-devel" 
path="/home/krueger/devel/projekte/s7procurement-deployment/devel" 
deployment-directory="/home/krueger/devel/projekte/s7procurement-deployment/ 
devel/orion" /

here's the directory layout in the 
/home/krueger/devel/projekte/s7procurement-deployment/devel/

./ejb/META-INF/ejb-jar.xml
./web/WEB-INF/web.xml
./orion/ejb/orion-ejb-jar.xml
./orion/procurement-web/orion-web.xml
./orion/data-sources.xml
./orion/orion-application.xml
./orion/principals.xml
./META-INF/application.xml

orion-application.xml:

orion-application deployment-version="1.4.0" autocreate-tables="false"
ejb-module remote="false" path="ejb" /
web-module id="procurement-web" path="web" /
persistence path="persistence" /
principals path="principals.xml" /
log
file path="log/application.log" /
/log
data-sources path="data-sources.xml" /
namespace-access
read-access
/read-access
write-access
/write-access
/namespace-access
/orion-application

data-sources.xml:

data-sources
data-source class="com.evermind.sql.AliasDataSource"
location="jdbc/ShopEJBDS"
source-location="jdbc/ProcurementRefEJBDS" /
/data-sources

where jdbc/ShopEJBDS is the location used in all the resource-ref-mappings 
and entity-deployments

jdbc/ProcurementRefEJBDS is configured with driver url username password etc.

HTH

robert


Here is my orion-application.xml file, which is generated by Orion. I only
added the  - default-data-source="jdbc/TestDS" -  tag:

?xml version="1.0"?
!DOCTYPE orion-application PUBLIC "-//Evermind//DTD J2EE Application
runtime 1.2//EN" "http://www.orionserver.com/dtds/orion-application.dtd"

orion-application deployment-version="1.2.9"
default-data-source="jdbc/TestDS"
 ejb-module remote="false" path="usermanager" /
 ejb-module remote="false" path="cart" /
 client-module path="cart" deployment-time="e1c157d340" 
 auto-start="false"
/
 persistence path="persistence" /
 principals path="principals.xml" /
 log
 file path="application.log" /
 /log
 namespace-access
 read-access
 namespace-resource root=""
 security-role-mapping
 group name="administrators" /
 /security-role-mapping
 /namespace-resource
 /read-access
 write-access
 namespace-resource root=""
 security-role-mapping
 group name="administrators" /
 /security-role-mapping
 /namespace-resource
 /write-access
 /namespace-access
/orion-application

(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





how to specify an inter-application ejb-ref?

2000-11-06 Thread Robert Krueger


hi,

I just checked the archives but didn't find anything on the mechanisms to 
map an ejb-ref to an ejb that is deployed in a different application.

does orion allow that and if so, what do I have to do? is there a special 
jndi location for that?

TIA

robert


(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: Remote vs Local Method Call Optimization

2000-11-05 Thread Robert Krueger

At 17:54 05.11.00 , you wrote:
Hi

Does anyone know if local/remote method calls from EJB to EJB are optimized
on Orion. For example if Entity Bean A calls Entity Bean B and they are both
located in the same app server (e.g. now a local call) then does orion
optimize this call. What I mean is does orion know that the call is local
and so does not go through all the remote call overheads.

yes, orion optimizes these calls.

snip/
(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





RE: Remote vs Local Method Call Optimization

2000-11-05 Thread Robert Krueger

At 20:42 05.11.00 , you wrote:
Hi Robert

how do you know this ?

1. I asked the orion guys
2. how else could it be that fast?
3. output of getClass() you'll get the wrapper class name that contains all 
the local stiff like db operations etc.

Also how does orion do this, will it just call methods normally in java when
the Entity Beans are local.

it should at least keep pass-by-value semantics (i.e. deep-copy all 
parameters of bean invocations), otherwise it would violate the specs. 
however, I never really checked.

robert

cheers

-Original Message-
From: Robert Krueger [mailto:[EMAIL PROTECTED]]
Sent: Sunday, November 05, 2000 7:08 PM
To: Orion-Interest
Subject: Re: Remote vs Local Method Call Optimization


At 17:54 05.11.00 , you wrote:
 Hi
 
 Does anyone know if local/remote method calls from EJB to EJB are optimized
 on Orion. For example if Entity Bean A calls Entity Bean B and they are
both
 located in the same app server (e.g. now a local call) then does orion
 optimize this call. What I mean is does orion know that the call is local
 and so does not go through all the remote call overheads.

yes, orion optimizes these calls.

snip/
(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de


(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





RE: BMP vs CMP with Orion

2000-11-05 Thread Robert Krueger

At 22:23 05.11.00 , you wrote:
My personal trade off was:

Why not CMP 2.0 style:
- Too scared to use it for real as it is not even officially there ...

Why choose for CMP 1.1?
- CMP is more portable (across db's).
- Working already towards EJB2.0.
- The claim is CMP can be optimized better (I would be happy to know more 
details about that, until that time it is a bit
of a bet on a blackhorse for me).

check the archive of ejb-interest. bottom line is that the server can cache 
or prefetch data from resultsets that bmp doesn't allow. bmp typically 
results in many db accesses for finders (retrieving pks and subsequent 
ejbloads) where a good cmp engine just uses a few.

Why choose for BMP?
- I do not know yet whether I'll run into trouble with complex and highly 
flexible queries requirements
for Query By Example forms. The requirement for extra flexibility could 
become an argument.

it is not an either-or decision. mix them as you like (typically simple 
stuff cmp, complex stuff sometimes BMP sometimes jdbc wrapped with a 
session bean). you don't decide to use either a hammer or a drill to build 
a house ;-).

I would say if you can spend the time learning enough about CMP 1.1 I 
would go for that as a first option. The EJB1.1
specs are even written so that you can sub class a CMP bean to create a 
BMP bean.


One of the biggest disadavantages of EJB's is the tremendous amount of 
redundant code you have to write. Add for
instance a field to a bean. You'll have to change three files minimum and 
don't make mistakes as that will cost you time.
This disadavantage applies to both CMP and BMP and will apply to EJB2.0 as 
well.


What I'm doing is using EJB1.1 CMP and generate beans and stuff using a 
slightly more advanced bean
generator then the standard ones. Based on a datamodel (Entity-Relation) 
it generates a set of beans for
your application (including the remote and home interfaces and the *.xml 
files of course). The generated
beans include the fields, the finder queries, the additional methods to 
retrieve related beans etc.

same approach we use and we're quite happy with that too.

As an additional bonus the beans include a more abstract way to access the 
properties (myBean.getProperty(int index))
as the client side of orion does not allow reflection. I use that to 
generate forms and tables on the client.

The generator adds a tremendous flexibility (I can switch to BMP / EJB2.0 
easily), makes CMP 1.1 managable and
keeps me away from EJB2.0 while it is still too early for me. For the 
rest: Im a notoruios mifftyper and am able to
spend tons of time debug typos in 2638 lines of very closely resembling 
code. That problem is solved as well :-)


Frank

regards,

robert


(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





  1   2   3   >