(RE: A Swedish Idea) - Interbase licence

2001-04-19 Thread Randahl Fink Isaksen

Michael J. Cannon wrote: Interbase is not 'free.'


Well, Michael, I already made a post of the parts in the Interbase licence
that states that the database product is free. I think I read the licence
very carefully, and as far as I can see, the licence is indeed free. The
licence includes sentences like the ones included below, which states that
one can freely use and distribute Interbase although one is not granted a
patent right. This is, I believe, sufficient if you just want to put
Interbase underneath your web application. Now, should you (or anyone else)
disagree in this matter, I would be very interested in hearing your
comments.


Yours

Randahl


"The Initial Developer hereby grants You a world-wide, royalty-free,
non-exclusive license, subject to third party intellectual property claims:
(a) under intellectual property rights (other than patent or trademark)
Licensable by Initial Developer to use, reproduce, modify, display, perform,
sublicense and distribute the Original Code (or portions thereof) with or
without Modifications, and/or as part of a Larger Work; and
(b) under Patents Claims infringed by the making, using or selling of
Original Code, to make, have made, use, practice, sell, and offer for sale,
and/or otherwise dispose of the Original Code (or portions thereof)."





RE: A Swedish Idea

2001-04-19 Thread Michael J. Cannon

k

please continue to monitor for yourselves, all ye list-lubbers.  if it is a
problem, and we can fix it, post here or at the bug-tracker.  I'll credit
where it's due.

If anyone has this overwrite problem, or sees other bugs in hsql/hsqldb, let
us know, please.

site is

http://sourceforge.net/projects/hsqldb

web

http://hsqldb.sourceforge.net

dedmike

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Neville
 Burnell
 Sent: Wednesday, April 18, 2001 10:10 PM
 To: Orion-Interest
 Subject: RE: A Swedish Idea


 the autoupdate delivering an old hsql.jar *was* a problem - but now
 since the hsqldb package name has changed, the hsql.jar is not used and
 I just ignore it.

 -Original Message-
 From: Michael J. Cannon [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, 19 April 2001 12:29 PM
 To: Orion-Interest
 Subject: RE: A Swedish Idea


 hmmm...autoupdate...Magnus, Carl?  what do we need to include in hsqldb
 to
 prevent this?  (Credit to you Stan and whoever else contributes)...

 dedmike

  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of Stan Ng
  Sent: Wednesday, April 18, 2001 3:00 PM
  To: Orion-Interest
  Subject: Re: A Swedish Idea
 
 
 
  At first a zillion people picked up the continued development of
  HypersonicSQL (because it's *awesome* for development, but anyway...
  SourceForge was flooded with clones, but I believe that everyone got
  together and the de facto successor is now
 http://hsqldb.sourceforge.net/
 
  I recently tried it out with my Orion project.  Works great, just
  needed to
  copy the hsqldb.jar into /orion/lib and update driver references hsql
 to
  hsqldb in the orion/config/data-sources.xml.  Of course, now
 autoupdate
  keeps copying over the old hsql.jar that I deleted, but that's a whole
  different matter...
 
 
 
  - Original Message -
  From: "Jay Armstrong" [EMAIL PROTECTED]
  To: "Orion-Interest" [EMAIL PROTECTED]
  Sent: Wednesday, April 18, 2001 9:35 AM
  Subject: Re: A Swedish Idea
 
   Given that HypersonicSQL is currently not being maintained (is it?),
 it
   seems like a logical idea to find a good substitute and MySQL would
   probably be a nice fit.  Personally, I love HSQL and, now that
  tax season
   is over here in the United Socialist States of America, I plan to
 budget
   some time to help with that.
 
 
 







Re: A Swedish Idea

2001-04-19 Thread Johan Fredriksson

And Micro$oft programmers are from...?

I suppose that the country they're from produce the shittiest code of em all
:)

Johan
- Original Message -
From: "Joseph B. Ottinger" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Wednesday, April 18, 2001 4:20 PM
Subject: Re: A Swedish Idea


 Personally, I'm becoming more and more convinced that not only is Sweden
 full of lousy programmers, but they're all lousy in congruent ways just to
 make the rest of the world's jobs harder.

 I say we all start using Bavarian products, if only because Bavarian names
 seem to have a better vowel/consonant ratio.

 Say, Randy... what country are YOU from? (That's the leading indicator for
 quality of code...)

 On Wed, Apr 18, 2001 at 08:49:24AM -0500, Kemp Randy-W18971 wrote:
  Now this may be a dumb idea, and I am just thinking up brainstorms to
promote Orion, but it occurred to me that both Mysql and Orion are in
Sweden.  Now I don't know how big Sweden is, but perhaps a meeting between
the two teams could find ways to mutually promote or bridge the two
products.  Just a thought.   Speaking of Sweden, since Rickard O. from Jboss
lives there, does anyone know of Magnus or Karl have meet him? In once
sense, but Jboss and Orion are trying to make this EJB technology available
to more people.

 --
 ---
 Joseph B. Ottinger   [EMAIL PROTECTED]
 http://epesh.com/ IT Consultant





Re: [RE]..

2001-04-19 Thread Kanbay Saravanan

please do not study java.it is waste to study java...i am working in java and we have no projects at all.. we never think we will get getting one..

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



RE: Problem ( solution) with ejbStore() and Oracle CLOBs

2001-04-19 Thread Paul Medcraft


No joy with this but thanks anyway. I haven't noticed any problems with the
original solution (below) in the last couple of weeks.

 -Original Message-
 From: Dan North [mailto:[EMAIL PROTECTED]]
 Sent: 11 April 2001 18:00
 To: Orion-Interest
 Subject: Re: Problem ( solution) with ejbStore() and Oracle CLOBs
 
 
 This is more likely to be to do with isolation level than 
 transactionality 
 (although the two are closely related).  You might try setting:
 
entity-deployment name="YourBean" isolation="repeatable_read"
  ...
/entity-deployment
 
 in your orion-ejb-jar.xml.
 
 Disclaimer: I could well be wrong, I often am!
 
 Regards,
 Dan/tastapod
 
 
 At 15:48 11/04/2001 +0100, you wrote:
 
 Hi,
 
 I have a BMP entity bean that maps to an Oracle table with a 
 CLOB field. I
 can read the CLOB in OK but when trying to write to it I get 
 an 'ORA-01002:
 fetch out of sequence' error.
 
 This error can be caused by a commit being called between 
 retrieving the
 CLOB locator with a SELECT... FOR UPDATE and trying to write 
 to the CLOB's
 output stream.
 
 I solved this for ejbCreate() by setting the create() 
 method's transaction
 attribute to 'Required'. However, I can't give the 
 ejbStore() method a
 transaction attribute as it can only be called by the container.
 
 I have got around this like so:
 
 By default, ejbStore() is called by the container after 
 every call to any
 method in the bean instance, whether or not the bean's state 
 is changed.
 Implementing the public boolean isModified() method stops 
 ejbStore() being
 called every time as the container first checks that true is 
 returned by
 this method. Setting a 'Required', 'Requires New' or 
 'Mandatory' transaction
 attribute for all methods that set the 'modified' boolean to 
 true seems to
 ensure that ejbStore() is now only called inside a transaction.
 
 This seems to solve the problem but I'd like to be sure that 
 my assumptions
 are correct and that this WILL prevent ejbStore() from ever 
 being called
 outside a transaction. Also, is it possible to set a
 transaction attribute for ejbStore()?
 
 Thanks,
 
 Paul
 
 
 
 http://www.iii.co.uk
 Interactive Investor International is a leading UK Internet personal
 finance service that provides individuals with the 
 capability to identify,
 compare, monitor and buy online a number of financial 
 products and services.
 
 Interactive Investor Trading Limited, a subsidiary of 
 Interactive Investor
 International plc, is regulated by the SFA.
 
 --
 Dan North
 VP Development  -  Cadrion Software Ltd  -  +44 (0)20 7440 9550
 
 CONFIDENTIALITY
 This e-mail and any attachments are confidential
 and may also be privileged. If you are not the named recipient,
 please notify the sender immediately and do not disclose the
 contents to another person, use it for any purpose, or store
 or copy the information in any medium
 
 

http://www.iii.co.uk 
Interactive Investor International is a leading UK Internet personal 
finance service that provides individuals with the capability to identify, 
compare, monitor and buy online a number of financial products and services.

Interactive Investor Trading Limited, a subsidiary of Interactive Investor 
International plc, is regulated by the SFA.




Orion as a service on Windows NT 4

2001-04-19 Thread George Mardale

Hello everybody!

I want to install Orion as a service on Windows NT 4. Can anyone give me an idea
how to do it?

Thanks in advance,
George.




RE: A Swedish Idea

2001-04-19 Thread Kemp Randy-W18971

Can anyone answer the question of whether Mysql does or doesn't support transaction?  
I believe the official position of Mysql is that they do support transactions in their 
recent release with the Berkeley DB engine.  Am I misreading or misunderstanding 
something?

-Original Message-
From: Hani Suleiman [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 18, 2001 4:24 PM
To: Orion-Interest
Subject: RE: A Swedish Idea


Argh, I really did try hard not to respond, but I can resist no longer...

'it's good enough for NASA' means nothing, nor is it relevant. Win98 is
good enough for many 'respected' corporations, that does not mean we
should all follow suit. Horses for courses, my friend.

Mysql does not support transactions, which are REQUIRED for J2EE. It's
'good enough' for certain types of applications, however, it is NOT good
enough for J2EE. End of discussion.

I think you're working off of a very false assumption, which seems to go
like this:

I like technology X
I like technology Y
Technology X and technology Y must get married, to form technology Z that
I will think is the nest thing since sliced bread.

Sadly, while there's nothing wrong with the first two steps, the third
seems to be a bit of aleap of faith.

Hani

On Wed, 18 Apr 2001, Kemp Randy-W18971 wrote:

 Transactions are supported with the Berkeley transaction engine in the current Mysql 
release.  A prior user has answered how to set this up.  Kiddie database?  Did you 
tell Nasa that? They made a recent (Dec. 2000, I believe) decision to use Mysql in 
some of their business systems (hopefully, not the space modules).  Yes, others like 
postgresql are more advanced, but mysql is as good as hsql, and would be a good 
modeling, prototype database.  For the record, I use both mysql (for testing and 
prototyping) and Oracle 8I (for the real stuff).  And everyone can learn from them in 
how to write good documentation.
 
 -Original Message-
 From: Dan North [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, April 18, 2001 2:08 PM
 To: Orion-Interest
 Subject: Re: A Swedish Idea
 
 
 Ok, I'll bite.
 
 Orion is not an open source product and probably never will be.  The fact 
 that it is free for development purposes and remarkably inexpensive for 
 deployment shouldn't alter your perception of (a) the ownership and 
 proprietary nature of the code, or (b) the quality of the product.
 
 MySQL is a quick and dirty database.  It has a number of glaring omissions 
 compared to most grown-up RDBs (transactions and sub-selects to name but 
 two), and there are better open source products out there (Interbase and 
 PostgreSQL spring to mind) for scalability, robustness, data integrity, 
 yada yada yada.  Therefore not the ideal companion for a product built to 
 support a technology that is all of these things.
 
 Use a kiddie database if you must, but please don't inflict it on the rest 
 of us!
 
 Cheers,
 Dan/tastapod
 
 ps. LogicSphere - mmm - can't wait!
 
 
 At 10:17 18/04/2001 -0400, you wrote:
 Why?!?!
 
 I have an idea, why don't IBM and BEA team up and
 release...logicsphere! After all, they're both US companies...
 
 On Wed, 18 Apr 2001, Kemp Randy-W18971 wrote:
 
   Now this may be a dumb idea, and I am just thinking up brainstorms to 
  promote Orion, but it occurred to me that both Mysql and Orion are in 
  Sweden.  Now I don't know how big Sweden is, but perhaps a meeting 
  between the two teams could find ways to mutually promote or bridge the 
  two products.  Just a thought.   Speaking of Sweden, since Rickard O. 
  from Jboss lives there, does anyone know of Magnus or Karl have meet him? 
  In once sense, but Jboss and Orion are trying to make this EJB technology 
  available to more people.
  
  
 
 --
 Dan North
 VP Development  -  Cadrion Technologies Ltd  -  +44 (0)20 7440 9550
 
 CONFIDENTIALITY
 This e-mail and any attachments are confidential
 and may also be privileged. If you are not the named recipient,
 please notify the sender immediately and do not disclose the
 contents to another person, use it for any purpose, or store
 or copy the information in any medium
 
 
 





RE: [RE]..

2001-04-19 Thread Kemp Randy-W18971



Are 
you attending the Timbuktu Java convention, by chance?

  -Original Message-From: Kanbay Saravanan 
  [mailto:[EMAIL PROTECTED]]Sent: Thursday, April 19, 2001 4:29 
  AMTo: Orion-InterestSubject: Re: 
  [RE]..
  
  please do not study java.it is waste to study java...i am 
  working in java and we have no projects at all.. we never think we will get 
  getting one..
  
  Saravanan
  
  Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
  


Re: A Swedish Idea

2001-04-19 Thread Joseph B. Ottinger

On Wed, Apr 18, 2001 at 05:04:48PM -0600, Jay Armstrong wrote:
 Fair enough, Mike, but my bottom line was: Why not ... address that issue
 (having MySQL and Orion folks talk to each other) directly?

Why?

 Randy had a good thought -- the Thought Police should quit stomping on it.
 
 The issue is simply whether or not MySQL and Orion should talk. :)

No, because neither one is Bavarian.

Actually... still no, because there's no REASON for them to. If you have
such a desire, you can use MySQL with Orion. (Why such a desire exists is up
to you, I suppose.) If you're talking about distributing MySQL *with* Orion,
which was the original thrust, then NO, a thousand times NO, and let's add a
few more to that for a total of 1004 NOs. Why? HSQL works because it's an
integrated solution, for an all-Java distribution of Orion that happens to
include a servicable database (for very poor values of "servicable"). MySQL,
unless it's undergone a sea change to be all Java (that nobody else in the
world knows about) can't do the same, so you would have the Windows Orion
distribution, the Linux Orion distribution, the Solaris Orion distribution
(obviously the best of them all!), etc. etc. ad nauseum. I can tell you that
the Orion team wouldn't smile upon having all those builds, and neither
would I - such a thing violates the whole idea behind Java.

Let's keep our heads about us for once, and drop this silly "Let's bind a
binary database into Orion" nonsense. Interbase - fine, if we can manage to
integrate it into the same VM (and it can be done, but I'd want it
transparently done). But something like Postgres or MySQL? No.
-- 
---
Joseph B. Ottinger   [EMAIL PROTECTED]
http://epesh.com/ IT Consultant




Re: A Swedish Idea

2001-04-19 Thread Jay Armstrong

Generally, I agree with the comment about Micro$oft quality of code, though
I've seen some pretty horrible code from outside the US, too. :)

Bill Gates may be from the US, but Micro$oft employees come from all over
the world.  Visit Redmond, WA, USA and you'll see for yourself.

At 09:50 AM 4/19/01 +0200, you wrote:
And Micro$oft programmers are from...?

I suppose that the country they're from produce the shittiest code of em all
:)

Johan
- Original Message -
From: "Joseph B. Ottinger" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Wednesday, April 18, 2001 4:20 PM
Subject: Re: A Swedish Idea


 Personally, I'm becoming more and more convinced that not only is Sweden
 full of lousy programmers, but they're all lousy in congruent ways just to
 make the rest of the world's jobs harder.

 I say we all start using Bavarian products, if only because Bavarian names
 seem to have a better vowel/consonant ratio.

 Say, Randy... what country are YOU from? (That's the leading indicator for
 quality of code...)

 On Wed, Apr 18, 2001 at 08:49:24AM -0500, Kemp Randy-W18971 wrote:
  Now this may be a dumb idea, and I am just thinking up brainstorms to
promote Orion, but it occurred to me that both Mysql and Orion are in
Sweden.  Now I don't know how big Sweden is, but perhaps a meeting between
the two teams could find ways to mutually promote or bridge the two
products.  Just a thought.   Speaking of Sweden, since Rickard O. from Jboss
lives there, does anyone know of Magnus or Karl have meet him? In once
sense, but Jboss and Orion are trying to make this EJB technology available
to more people.

 --
 ---
 Joseph B. Ottinger   [EMAIL PROTECTED]
 http://epesh.com/ IT Consultant








Newbie Question...

2001-04-19 Thread Lachezar Dobrev

   Until now I have developed EJBs for use with a CORBA broker.
   However, I did not see such a thing in ORION.
   Question: How (and can I) do I adress EJBs from my outside-of-orion
applications?
   I was able to create a couple of basic EJBs. Well... Had to move them to
ORION. My problem is, that my apps now cannot adress these EJBs. Is it
possible at all, or not? If yes, than how, 'cause I saw nothing on this
subject neither in the documentation, nor in the tutorials.

   Thanks in advance.
   Lachezar.







Re: A Swedish Idea (an aside)

2001-04-19 Thread Joseph B. Ottinger

What's rather funny about all this is that people are mistaking a sort of
anti-patriotism for racism, and MY original statements were supposed to be
absurd enough that you couldn't take it for anything other than a joke. But
now we see that people agree with the statements, while changing the country
in question... :) 

Kettle, why don't you be quiet?

On Thu, Apr 19, 2001 at 07:06:16AM -0600, Jay Armstrong wrote:
 Generally, I agree with the comment about Micro$oft quality of code, though
 I've seen some pretty horrible code from outside the US, too. :)
 
 Bill Gates may be from the US, but Micro$oft employees come from all over
 the world.  Visit Redmond, WA, USA and you'll see for yourself.
 
 At 09:50 AM 4/19/01 +0200, you wrote:
 And Micro$oft programmers are from...?
 
 I suppose that the country they're from produce the shittiest code of em all
 :)
 
 Johan
 - Original Message -
 From: "Joseph B. Ottinger" [EMAIL PROTECTED]
 To: "Orion-Interest" [EMAIL PROTECTED]
 Sent: Wednesday, April 18, 2001 4:20 PM
 Subject: Re: A Swedish Idea
 
 
  Personally, I'm becoming more and more convinced that not only is Sweden
  full of lousy programmers, but they're all lousy in congruent ways just to
  make the rest of the world's jobs harder.
 
  I say we all start using Bavarian products, if only because Bavarian names
  seem to have a better vowel/consonant ratio.
 
  Say, Randy... what country are YOU from? (That's the leading indicator for
  quality of code...)
 
  On Wed, Apr 18, 2001 at 08:49:24AM -0500, Kemp Randy-W18971 wrote:
   Now this may be a dumb idea, and I am just thinking up brainstorms to
 promote Orion, but it occurred to me that both Mysql and Orion are in
 Sweden.  Now I don't know how big Sweden is, but perhaps a meeting between
 the two teams could find ways to mutually promote or bridge the two
 products.  Just a thought.   Speaking of Sweden, since Rickard O. from Jboss
 lives there, does anyone know of Magnus or Karl have meet him? In once
 sense, but Jboss and Orion are trying to make this EJB technology available
 to more people.
 
  --
  ---
  Joseph B. Ottinger   [EMAIL PROTECTED]
  http://epesh.com/ IT Consultant
 
 
 
 

-- 
---
Joseph B. Ottinger   [EMAIL PROTECTED]
http://epesh.com/ IT Consultant




RE: A Swedish Idea

2001-04-19 Thread Kemp Randy-W18971

It has been said that if Bill Gates stopped to pick up a hundred dollar bill, he would 
be losing money.  On a more serious note, it's really not the Bill company code so 
much, as their practice of releasing alpha or beta quality products as production 
quality. 

-Original Message-
From: Jay Armstrong [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 19, 2001 8:06 AM
To: Orion-Interest
Subject: Re: A Swedish Idea


Generally, I agree with the comment about Micro$oft quality of code, though
I've seen some pretty horrible code from outside the US, too. :)

Bill Gates may be from the US, but Micro$oft employees come from all over
the world.  Visit Redmond, WA, USA and you'll see for yourself.

At 09:50 AM 4/19/01 +0200, you wrote:
And Micro$oft programmers are from...?

I suppose that the country they're from produce the shittiest code of em all
:)

Johan
- Original Message -
From: "Joseph B. Ottinger" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Wednesday, April 18, 2001 4:20 PM
Subject: Re: A Swedish Idea


 Personally, I'm becoming more and more convinced that not only is Sweden
 full of lousy programmers, but they're all lousy in congruent ways just to
 make the rest of the world's jobs harder.

 I say we all start using Bavarian products, if only because Bavarian names
 seem to have a better vowel/consonant ratio.

 Say, Randy... what country are YOU from? (That's the leading indicator for
 quality of code...)

 On Wed, Apr 18, 2001 at 08:49:24AM -0500, Kemp Randy-W18971 wrote:
  Now this may be a dumb idea, and I am just thinking up brainstorms to
promote Orion, but it occurred to me that both Mysql and Orion are in
Sweden.  Now I don't know how big Sweden is, but perhaps a meeting between
the two teams could find ways to mutually promote or bridge the two
products.  Just a thought.   Speaking of Sweden, since Rickard O. from Jboss
lives there, does anyone know of Magnus or Karl have meet him? In once
sense, but Jboss and Orion are trying to make this EJB technology available
to more people.

 --
 ---
 Joseph B. Ottinger   [EMAIL PROTECTED]
 http://epesh.com/ IT Consultant








RE: PostgresJDBC Driver w/ Orion under load

2001-04-19 Thread Tim Drury
Title: RE: PostgresJDBC Driver w/ Orion under load






BTW all, PostgreSQL 7.1 is out of beta. My off-the-cuff
tests with 7.1b3 vs 7.0.2 a couple months back had 7.1
being 4.5 times faster than 7.0.2 doing ejb inserts, selects,
and deletes w/ Orion.


And, of course, 7.1 finally has outer joins.


-tim/joeblowgt


 -Original Message-
 From: Mike Cannon-Brookes [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, April 19, 2001 12:14 AM
 To: Orion-Interest
 Subject: RE: PostgresJDBC Driver w/ Orion under load
 
 
 I'm using Postgres 7.1rc3 with 'the most recent Orion build' ;)
 
 I'm going to upgrade both overnight to see if it makes any 
 difference, but I
 think what I really need is a tool to see:
 a) the threads Orion is running and what method they're stuck in (JPDA
 should do this)
 b) the current connections to postgres and the query that's 
 being run - any
 idea how to get this info?
 
 Heavy load is very heavy, real life load. (if that helps)
 
 -mike
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of 
 Adam Cassar
  Sent: Thursday, April 19, 2001 12:24 PM
  To: Orion-Interest
  Subject: Re: PostgresJDBC Driver w/ Orion under load
 
 
  What version's r u using?
 
  We use postgres + orion here with no problems.
 
  What do you classify as 'heavy load'? Is it testing or real 
 life load?
 
  On 19 Apr 2001 10:27:02 +1000, Mike Cannon-Brookes wrote:
   Has anyone used Postgres + JDBC + Orion under heavy load?
  
   We're having a problem on one of our production machines 
 that on some
   occasions under heavy load Postgres JDBC connections seem 
 to be dying /
   locking up as do Orion threads and we're not sure where to
  start looking.
  
   Has anyone used this combo and has experience with this 
 sort of thing?
  
   Here's an example trace:
  
   An I/O error occured while reading from backend - Exception:
   java.net.SocketException: Connection reset by peer: Connection
  reset by peer
   Stack Trace:
   java.net.SocketException: Connection reset by peer: Connection
  reset by peer
   at java.net.SocketInputStream.socketRead(Native Method)
   at 
 java.net.SocketInputStream.read(SocketInputStream.java:86)
   at
  java.io.BufferedInputStream.fill(BufferedInputStream.java:186)
   at
  java.io.BufferedInputStream.read(BufferedInputStream.java:204)
   at 
 org.postgresql.PG_Stream.ReceiveChar(PG_Stream.java:181)
   at 
 org.postgresql.Connection.openConnection(Connection.java:160)
   at org.postgresql.Driver.connect(Driver.java:122)
  
   or
  
   An I/O error occured while reading from backend - Exception:
   java.net.SocketException: Broken pipe: Broken pipe
   Stack Trace:
   java.net.SocketException: Broken pipe: Broken pipe
   at java.net.SocketInputStream.socketRead(Native Method)
   at 
 java.net.SocketInputStream.read(SocketInputStream.java:86)
   at
  java.io.BufferedInputStream.fill(BufferedInputStream.java:186)
   at
  java.io.BufferedInputStream.read(BufferedInputStream.java:204)
   at 
 org.postgresql.PG_Stream.ReceiveChar(PG_Stream.java:181)
   at 
 org.postgresql.Connection.openConnection(Connection.java:160)
   at org.postgresql.Driver.connect(Driver.java:122)
   ...
   at 
 org.postgresql.PG_Stream.ReceiveChar(PG_Stream.java:184)
   at 
 org.postgresql.Connection.openConnection(Connection.java:160)
   at org.postgresql.Driver.connect(Driver.java:122)
  
   any ideas where to start looking?
  
   -mike
  
  
  
  
 
 
 
  --
 
  Adam Cassar
  Technical Development Manager
  ___
  NetRegistry http://www.netregistry.au.com
  Tel: +61 2 9641 8609 | Fax: +61 2 9699 6088
  PO Box 270 Broadway NSW 2007 Australia
 
 
 
 
 





RE: JSP Tags in an XSL Template?

2001-04-19 Thread Kesav Kumar

This is intersting but I have couple of doubts.  After writing jsp like the
below what we need to do?  If you give request to this jsp will the Servlet
Engine applies the stylesheet?  Where to specify the input xml?

Kesav Kumar
Software Engineer
Voquette, Inc.
650 356 3740
mailto:[EMAIL PROTECTED]
http://www.voquette.com
Voquette...Delivering Sound Information


-Original Message-
From: Joe Latty [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 18, 2001 9:26 PM
To: Orion-Interest
Subject: RE: JSP Tags in an XSL Template?


You can use the jsp tags. If change the extension from *.xsl to *.jsp and
then use the jsp as you would an xsl e.g.

%@ page language="java"
import="com.stuff.yourStuff,
com.stuff.yourSchema"
errorPage="error.jsp" %

xsl:stylesheet  xmlns:xsl="http://www.w3.org/TR/WD-xsl"
xsl:template match="/"
xsl:for-each select="%=yourSchema.someElementTag%"
table width="100%"
tr
td
input id="whatever"  type="text"
value="%=yourStuff.someValue%"
xsl:if test="@%=
yourSchema.someAttributeTag %[.!='']"
xsl:attribute
name="readonly"true/xsl:attribute
/xsl:if
/input
/td
/tr
/table
/xsl:for-each
/xsl:template
/xsl:stylesheet

We have done this many times.

Joe

 -Original Message-
From:   [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]  On Behalf Of Kesav Kumar
Sent:   Thursday, 19 April 2001 5:58 AM
To: Orion-Interest
Subject:RE: JSP Tags in an XSL Template?

You can't use the jsp tags inside the xsl stylesheet.  You can pass
parameters to the XSL.

Declare xsl:param at the top of your xsl and while calling the
transformation you can pass values to the top level params.  If you are
using apache's xalan here is the way to pass values.

In your xsl

xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xsl:param name="linkURL" /
xsl:template match="module"
link
xsl:attribute name="href"
xsl:value-of select="$linkURL"
disable-output-escaping="yes"/
xsl:attribute name="rel"stylesheet/xsl:attribute
/link
/xsl:template

In your java code write the following.  The following code is according to
the Xalan1.1.  You can see the xalan2 javadoc for the appropriate way of
transformation.  In xalan2 the setting of the parameters are in Transformer
class.

public static void Transform(String xmlSourceURL, String xslURL, String
outputURL)
  throws java.io.IOException,
 java.net.MalformedURLException,
 org.xml.sax.SAXException
{
  // Use XSLTProcessorFactory to instantiate an XSLTProcessor.
  org.apache.xalan.xslt.XSLTProcessor processor =
 org.apache.xalan.xslt.XSLTProcessorFactory.getProcessor();
  // Set the stylesheet parameters
  processor.setStylesheetParam("linkURL", new
org.apache.xalan.xpath.XString("http://xxxlco.com/skldjf"))

  // Create the 3 objects the XSLTProcessor needs to perform the
transformation.
  org.apache.xalan.xslt.XSLTInputSource xmlSource =
new org.apache.xalan.xslt.XSLTInputSource
("foo.xml");
  org.apache.xalan.xslt.XSLTInputSource xslSheet =
   new org.apache.xalan.xslt.XSLTInputSource
("foo.xsl");
  org.apache.xalan.xslt.XSLTResultTarget xmlResult =
   new org.apache.xalan.xslt.XSLTResultTarget
("foo.out");

  // Perform the transformation.
  processor.process(xmlSource, xslSheet, xmlResult);
}

Kesav Kumar
Software Engineer
Voquette, Inc.
650 356 3740
mailto:[EMAIL PROTECTED]
http://www.voquette.com
Voquette...Delivering Sound Information


-Original Message-
From: Dave Ford [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 18, 2001 9:47 AM
To: Orion-Interest
Subject: JSP Tags in an XSL Template?


Is there anyway to embed jsp tags in an xsl template? For example:

xsl:template match="module"
  link
   xsl:attribute name="href"
   %= request.getContextPath()%/StyleSheets/style.css/xsl:attribute
   xsl:attribute name="rel"stylesheet/xsl:attribute
  /link
/xsl:template

If not, is there a better way to add "parameters" to xsl template as I'm
attemting above with the context path?

Thanks,

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







newbie Problem with ejbmaker

2001-04-19 Thread Joe Fair

Greetings,

I have created an ejb with the ejbmaker and used the
provided ejb-jar, but when I build with ANT the server
gives me:

Auto-unpacking
C:\SMU\javaHW\SMUTree\code\build\TOK.ear... done.
Error in application tok: Error loading package at
file:/C:/SMU/javaHW/SMUTree/c
ode/build/TOK/TOK-ejb.jar, Class
'com.joefair.tok.ejb.KTreeEJB' not found

Buth that jar has the files in question in it, and in
the proper directories.  I've tried EJB version 2.0
and 1.1, with different beans, but I get the same
result.  Is there some other setting I should change
to use these EJBs?

ejb-jar:

?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

description

/description

enterprise-beans

entity

description/description

ejb-namecom.joefair.tok.ejb.KTree/ejb-name

homecom.joefair.tok.ejb.KTreeHome/home

remotecom.joefair.tok.ejb.KTree/remote

ejb-classcom.joefair.tok.ejb.KTreeEJB/ejb-class

persistence-typeContainer/persistence-type

prim-key-classjava.lang.Long/prim-key-class

reentrantFalse/reentrant

cmp-fieldfield-nameid/field-name/cmp-field

cmp-fieldfield-nametitle/field-name/cmp-field

cmp-fieldfield-namedescription/field-name/cmp-field

cmp-fieldfield-nameheadNode/field-name/cmp-field
primkey-fieldid/primkey-field

/entity

/enterprise-beans

assembly-descriptor

container-transaction

method

ejb-namecom.joefair.tok.ejb.KTree/ejb-name

method-name*/method-name

/method

trans-attributeSupports/trans-attribute

/container-transaction

/assembly-descriptor

/ejb-jar

Any clues would be greatly appreciated.
Thanks,
Joe

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




Orion on Red Hat 6.2

2001-04-19 Thread Thomas Pridham

I have installed Orion on RH Linux 6.2 and it runs correctly if I start it
from the command line.  I have tried to use the startup script from
OrionSupport to have Orion start on a reboot.  The script will not execute
(I placed it in /etc/rc.d/init.d).  I have changed the script parameters,
checked the script's permissions etc...still no luck.  Anyone have any
ideas?  What are others using to get Orion running on Linux?


I also tried seaching the Orion mailing list..no luck there either.


Thanks,
Tom Pridham
Software Engineer
Computer Management Consultants
6951 Pistol Range Road
Tampa, FL  33536
http://www.cmctpa.com
http://www.oakscape.com





RE: Orion as a service on Windows NT 4

2001-04-19 Thread Paul Knepper

Try http://www.kcmultimedia.com/javaserv/

-Original Message-
From: George Mardale [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 19, 2001 5:29 AM
To: Orion-Interest
Subject: Orion as a service on Windows NT 4


Hello everybody!

I want to install Orion as a service on Windows NT 4. Can anyone give me an
idea
how to do it?

Thanks in advance,
George.




Re: Newbie Question...

2001-04-19 Thread Hani Suleiman

Application clients will let you access your EJBs from your
outside-of-orion applications. Check the J2EE spec for more info about
this.

Hani

On Thu, 19 Apr 2001, Lachezar Dobrev wrote:

Until now I have developed EJBs for use with a CORBA broker.
However, I did not see such a thing in ORION.
Question: How (and can I) do I adress EJBs from my outside-of-orion
 applications?
I was able to create a couple of basic EJBs. Well... Had to move them to
 ORION. My problem is, that my apps now cannot adress these EJBs. Is it
 possible at all, or not? If yes, than how, 'cause I saw nothing on this
 subject neither in the documentation, nor in the tutorials.
 
Thanks in advance.
Lachezar.
 
 
 
 
 





RE: A Swedish Idea

2001-04-19 Thread Hani Suleiman

flamebait
Unlike all those OSS products huh.
/flamebait

On Thu, 19 Apr 2001, Kemp Randy-W18971 wrote:

 It has been said that if Bill Gates stopped to pick up a hundred dollar bill, he 
would be losing money.  On a more serious note, it's really not the Bill company code 
so much, as their practice of releasing alpha or beta quality products as production 
quality. 
 
 -Original Message-
 From: Jay Armstrong [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, April 19, 2001 8:06 AM
 To: Orion-Interest
 Subject: Re: A Swedish Idea
 
 
 Generally, I agree with the comment about Micro$oft quality of code, though
 I've seen some pretty horrible code from outside the US, too. :)
 
 Bill Gates may be from the US, but Micro$oft employees come from all over
 the world.  Visit Redmond, WA, USA and you'll see for yourself.
 
 At 09:50 AM 4/19/01 +0200, you wrote:
 And Micro$oft programmers are from...?
 
 I suppose that the country they're from produce the shittiest code of em all
 :)
 
 Johan
 - Original Message -
 From: "Joseph B. Ottinger" [EMAIL PROTECTED]
 To: "Orion-Interest" [EMAIL PROTECTED]
 Sent: Wednesday, April 18, 2001 4:20 PM
 Subject: Re: A Swedish Idea
 
 
  Personally, I'm becoming more and more convinced that not only is Sweden
  full of lousy programmers, but they're all lousy in congruent ways just to
  make the rest of the world's jobs harder.
 
  I say we all start using Bavarian products, if only because Bavarian names
  seem to have a better vowel/consonant ratio.
 
  Say, Randy... what country are YOU from? (That's the leading indicator for
  quality of code...)
 
  On Wed, Apr 18, 2001 at 08:49:24AM -0500, Kemp Randy-W18971 wrote:
   Now this may be a dumb idea, and I am just thinking up brainstorms to
 promote Orion, but it occurred to me that both Mysql and Orion are in
 Sweden.  Now I don't know how big Sweden is, but perhaps a meeting between
 the two teams could find ways to mutually promote or bridge the two
 products.  Just a thought.   Speaking of Sweden, since Rickard O. from Jboss
 lives there, does anyone know of Magnus or Karl have meet him? In once
 sense, but Jboss and Orion are trying to make this EJB technology available
 to more people.
 
  --
  ---
  Joseph B. Ottinger   [EMAIL PROTECTED]
  http://epesh.com/ IT Consultant
 
 
 
 
 
 





Re: A Swedish Idea

2001-04-19 Thread Jay Armstrong

The groomsmen at my wedding were named Schotanus, Schloss and Schnakenberg
-- no kidding -- if they all lived in the same city, they'd be on the same
page in the phonebook.  So, bring on the Germanic hordes!

Now try to stay focused: Randy's idea was whether or not MySQL and Orion
should talk about "ways to mutually promote or bridge the two products".
Just talk.  No earth-shaking changes.

Yes, HSQL is in the Orion Server download, but, no one said anything about
binding MySQL to Orion.  

Put down your crack pipe for a minute and open your EJB 101 book: EJB
containers don't care what data storage mechanism is being used!

Even though Orion and HSQL run differently on different OS's and JVM's,
neither did anyone advocate different versions of Orion for different OS's.
 If a dialog between Orion and HSQL can make life easier for the MySQL
lovers, then what's the harm?

Joe, you've probably been banned from the www.mysql.com site forever
anyway, so give it up! :)

Jay

At 08:04 AM 4/19/01 -0500, you wrote:
On Wed, Apr 18, 2001 at 05:04:48PM -0600, Jay Armstrong wrote:
 Fair enough, Mike, but my bottom line was: Why not ... address that issue
 (having MySQL and Orion folks talk to each other) directly?

Why?

 Randy had a good thought -- the Thought Police should quit stomping on it.
 
 The issue is simply whether or not MySQL and Orion should talk. :)

No, because neither one is Bavarian.

Actually... still no, because there's no REASON for them to. If you have
such a desire, you can use MySQL with Orion. (Why such a desire exists is up
to you, I suppose.) If you're talking about distributing MySQL *with* Orion,
which was the original thrust, then NO, a thousand times NO, and let's add a
few more to that for a total of 1004 NOs. Why? HSQL works because it's an
integrated solution, for an all-Java distribution of Orion that happens to
include a servicable database (for very poor values of "servicable"). MySQL,
unless it's undergone a sea change to be all Java (that nobody else in the
world knows about) can't do the same, so you would have the Windows Orion
distribution, the Linux Orion distribution, the Solaris Orion distribution
(obviously the best of them all!), etc. etc. ad nauseum. I can tell you that
the Orion team wouldn't smile upon having all those builds, and neither
would I - such a thing violates the whole idea behind Java.

Let's keep our heads about us for once, and drop this silly "Let's bind a
binary database into Orion" nonsense. Interbase - fine, if we can manage to
integrate it into the same VM (and it can be done, but I'd want it
transparently done). But something like Postgres or MySQL? No.
-- 
---
Joseph B. Ottinger   [EMAIL PROTECTED]
http://epesh.com/ IT Consultant







RE: Orion as a service on Windows NT 4

2001-04-19 Thread Kemp Randy-W18971

There is something addressing that issue on www.orionsupport.com.

-Original Message-
From: George Mardale [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 19, 2001 7:29 AM
To: Orion-Interest
Subject: Orion as a service on Windows NT 4


Hello everybody!

I want to install Orion as a service on Windows NT 4. Can anyone give me an idea
how to do it?

Thanks in advance,
George.




RE: Orion as a service on Windows NT 4

2001-04-19 Thread Mac Ferguson

The best way I've found to do this is using JNT, which allows any java
program to be run as a service. It throws an error when you shut it down but
that just seems to be a nuisance. You can download it from:

http://www.eworksmart.com/jnt/

unzip it to a directory, say c:\JNT, open a console and cd to c:\JNT then
issue the following command, replacing ORION_HOME with your Orion install
directory path:

jnt "/InstallAsService: Orion" "/SDORION_HOME" java -jar
ORION_HOME\orion.jar


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of George Mardale
Sent: Thursday, April 19, 2001 8:29 AM
To: Orion-Interest
Subject: Orion as a service on Windows NT 4


Hello everybody!

I want to install Orion as a service on Windows NT 4. Can anyone give me an
idea
how to do it?

Thanks in advance,
George.





Re: A Swedish Idea (an aside)

2001-04-19 Thread Jay Armstrong

I was going to say something about SAP, but I didn't want to upset the
Bavarian delegation.

At 08:44 AM 4/19/01 -0500, you wrote:
What's rather funny about all this is that people are mistaking a sort of
anti-patriotism for racism, and MY original statements were supposed to be
absurd enough that you couldn't take it for anything other than a joke. But
now we see that people agree with the statements, while changing the country
in question... :) 

Kettle, why don't you be quiet?

On Thu, Apr 19, 2001 at 07:06:16AM -0600, Jay Armstrong wrote:
 Generally, I agree with the comment about Micro$oft quality of code, though
 I've seen some pretty horrible code from outside the US, too. :)
 
 Bill Gates may be from the US, but Micro$oft employees come from all over
 the world.  Visit Redmond, WA, USA and you'll see for yourself.
 
 At 09:50 AM 4/19/01 +0200, you wrote:
 And Micro$oft programmers are from...?
 
 I suppose that the country they're from produce the shittiest code of
em all
 :)
 
 Johan
 - Original Message -
 From: "Joseph B. Ottinger" [EMAIL PROTECTED]
 To: "Orion-Interest" [EMAIL PROTECTED]
 Sent: Wednesday, April 18, 2001 4:20 PM
 Subject: Re: A Swedish Idea
 
 
  Personally, I'm becoming more and more convinced that not only is Sweden
  full of lousy programmers, but they're all lousy in congruent ways
just to
  make the rest of the world's jobs harder.
 
  I say we all start using Bavarian products, if only because Bavarian
names
  seem to have a better vowel/consonant ratio.
 
  Say, Randy... what country are YOU from? (That's the leading
indicator for
  quality of code...)
 
  On Wed, Apr 18, 2001 at 08:49:24AM -0500, Kemp Randy-W18971 wrote:
   Now this may be a dumb idea, and I am just thinking up brainstorms to
 promote Orion, but it occurred to me that both Mysql and Orion are in
 Sweden.  Now I don't know how big Sweden is, but perhaps a meeting between
 the two teams could find ways to mutually promote or bridge the two
 products.  Just a thought.   Speaking of Sweden, since Rickard O. from
Jboss
 lives there, does anyone know of Magnus or Karl have meet him? In once
 sense, but Jboss and Orion are trying to make this EJB technology
available
 to more people.
 
  --
  ---
  Joseph B. Ottinger   [EMAIL PROTECTED]
  http://epesh.com/ IT Consultant
 
 
 
 

-- 
---
Joseph B. Ottinger   [EMAIL PROTECTED]
http://epesh.com/ IT Consultant







How to connect to an Orion Ejb from outside?

2001-04-19 Thread Lachezar Dobrev

   Until now I have developed EJBs for use with a CORBA broker.
   However, I did not see such a thing in ORION.
   Question: How (and can I) do I adress EJBs from my outside-of-orion
applications?
   I was able to create a couple of basic EJBs. Well... Had to move them to
ORION. My problem is, that my apps now cannot adress these EJBs. Is it
possible at all, or not? If yes, than how, 'cause I saw nothing on this
subject neither in the documentation, nor in the tutorials.

   Thanks in advance.
   Lachezar.






Re: Orion as a service on Windows NT 4

2001-04-19 Thread Johan Fredriksson

I suppose I can copy paste the message...

It's about using jnt on win2k, but I guess the same thing would apply to
nt4...

Hope it helps


Johan!

Thanks..This worked.

Rajeev


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 18, 2001 4:08 PM
To: Orion-Interest
Subject: RE: Orion as Win2000 service using jnt !


I have successfully used this tool to install Orion as a service on Win2K.
Here is the correct command to issue using jnt, with orion at c:\orion and
jnt at c:\jnt, assuming you are in the c:\jnt directory or jnt is in your
path:

jnt "/InstallAsService: Orion Service" "/SDc:\orion" -jar c:\orion\orion.
jar

On Wed, 18 Apr 2001, Mac Ferguson wrote:

 I don't think you need the "" around the startup dir...

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Puthezhath,
 Rajeev (TWII Boston)
 Sent: Tuesday, April 17, 2001 5:08 PM
 To: Orion-Interest
 Subject: Orion as Win2000 service using jnt !


 Hi Friends

 I am trying to set up Orion as a Win2000 Service. First I tried to set it
up
 using RunExecSvc.exe  as explained in orionsupport.com. But I was not
 successful in getting this exe run as it always exited suddenly. Then
taking
 a hint from this mailing list I tried with jnt.

 D:\jntd:\jnt\jnt "/InstallAsService: Orion" "/SDD:\orion" java -jar
 d:\orion
 \orion.jar

 I get the following statements.

 Java Service Launcher V1.0.1 beta
 Copyright (C) 2000 by eWorkSmart, LLC

 04/17/01 17:04:40 - Installing as service "Orion" (Orion).
 04/17/01 17:04:40 -
 This has been installed as "Orion".
 This service is set to automatically start when the
 system boots.  To start the service now, use the "Services"
 icon found in the control panel.
 04/17/01 17:04:40 -

 NT Service options:
 Use /InstallAsService:ServiceName[:dependent1,dependent2,...] to
 install.
 Use /RemoveAsService:ServiceName to remove (uninstall) as a service.
 Use /SetServiceParams:ServiceName to change the startup parameters for
this
 serv
 ice.
 Note: Any additional parameters on the command line will be setup
   as the startup parameters for the service when using
   the /InstallAsService or /SetServiceParams options.


 But after starting the Orion Service from Services, When I try to access
 the application then it throws an error saying
 web server can not be found. Any idea why this is happening ?


 Thanks and Regards

 Rajeev









- Original Message -
From: "George Mardale" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Thursday, April 19, 2001 2:29 PM
Subject: Orion as a service on Windows NT 4


 Hello everybody!

 I want to install Orion as a service on Windows NT 4. Can anyone give me
an idea
 how to do it?

 Thanks in advance,
 George.





EJB and Servlet containers..

2001-04-19 Thread Chaya Ramanujam

Orion includes an EJB container and a servlet container.  Can these be 
administered/monitored separately as standalone servers?  For ex., can one 
start up the servlet container only in Orion (similar to running Tomcat)?  
If yes, can you tell me how to do this?

--CR.
_
Get your FREE download of MSN Explorer at http://explorer.msn.com





RE: Newbie Question...

2001-04-19 Thread elephantwalker

It appears that you can use a client which only accesses the ejb using an
ORB. However, the key thing here is the RMI/IIOP. I am not sure that Orion
implements this. Most appservers have their own over the wire protocol for
execution of ejbs, since RMI/IIOP is so damn slow.

So, a CORBA client should be able to pass messages and get messages from an
EJB on Orion, but only if Orion implements RMI/IIOP.

Regards,

The elephantwalker

This is directly from the java website
(http://www.javasoft.com/j2ee/corba/):



EJBs use the RMI/IDL CORBA subset for their distributed object model, and
use the Java Transaction Service (JTS) for their distributed transaction
model. When Enterprise JavaBeans are implemented using the RMI-IIOP protocol
for EJB interoperability in heterogeneous server environments, the standard
mapping of the EJB architecture to CORBA enables the following
interoperability:


A client using an ORB from one vendor can access enterprise beans residing
on an EJB server provided by another vendor.

Enterprise beans in one EJB server can access enterprise beans in another
EJB server.

A non-Java platform CORBA client can access any enterprise bean object.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Lachezar
Dobrev
Sent: Thursday, April 19, 2001 6:32 AM
To: Orion-Interest
Subject: Newbie Question...


   Until now I have developed EJBs for use with a CORBA broker.
   However, I did not see such a thing in ORION.
   Question: How (and can I) do I adress EJBs from my outside-of-orion
applications?
   I was able to create a couple of basic EJBs. Well... Had to move them to
ORION. My problem is, that my apps now cannot adress these EJBs. Is it
possible at all, or not? If yes, than how, 'cause I saw nothing on this
subject neither in the documentation, nor in the tutorials.

   Thanks in advance.
   Lachezar.








RE: A Swedish Idea

2001-04-19 Thread Kemp Randy-W18971

OSS is like the turtles. They slowly craw along, and the best eventually get
there. In the early days, folks would say "Apache who"?  Oh yes, that's the
opening band for the Beatles.  Postgresql?  Is that what Goldilocks ate in
the three bears?  And these are the same people who, when they first heard
the name Beatles, they said "call the bug exterminator."  And when they
heard the name Rolling Stones, they say, "where's the avalanche?" 

-Original Message-
From: Hani Suleiman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 19, 2001 10:03 AM
To: Orion-Interest
Subject: RE: A Swedish Idea


flamebait
Unlike all those OSS products huh.
/flamebait

On Thu, 19 Apr 2001, Kemp Randy-W18971 wrote:

 It has been said that if Bill Gates stopped to pick up a hundred dollar
bill, he would be losing money.  On a more serious note, it's really not the
Bill company code so much, as their practice of releasing alpha or beta
quality products as production quality. 
 
 -Original Message-
 From: Jay Armstrong [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, April 19, 2001 8:06 AM
 To: Orion-Interest
 Subject: Re: A Swedish Idea
 
 
 Generally, I agree with the comment about Micro$oft quality of code,
though
 I've seen some pretty horrible code from outside the US, too. :)
 
 Bill Gates may be from the US, but Micro$oft employees come from all over
 the world.  Visit Redmond, WA, USA and you'll see for yourself.
 
 At 09:50 AM 4/19/01 +0200, you wrote:
 And Micro$oft programmers are from...?
 
 I suppose that the country they're from produce the shittiest code of em
all
 :)
 
 Johan
 - Original Message -
 From: "Joseph B. Ottinger" [EMAIL PROTECTED]
 To: "Orion-Interest" [EMAIL PROTECTED]
 Sent: Wednesday, April 18, 2001 4:20 PM
 Subject: Re: A Swedish Idea
 
 
  Personally, I'm becoming more and more convinced that not only is
Sweden
  full of lousy programmers, but they're all lousy in congruent ways just
to
  make the rest of the world's jobs harder.
 
  I say we all start using Bavarian products, if only because Bavarian
names
  seem to have a better vowel/consonant ratio.
 
  Say, Randy... what country are YOU from? (That's the leading indicator
for
  quality of code...)
 
  On Wed, Apr 18, 2001 at 08:49:24AM -0500, Kemp Randy-W18971 wrote:
   Now this may be a dumb idea, and I am just thinking up brainstorms to
 promote Orion, but it occurred to me that both Mysql and Orion are in
 Sweden.  Now I don't know how big Sweden is, but perhaps a meeting
between
 the two teams could find ways to mutually promote or bridge the two
 products.  Just a thought.   Speaking of Sweden, since Rickard O. from
Jboss
 lives there, does anyone know of Magnus or Karl have meet him? In once
 sense, but Jboss and Orion are trying to make this EJB technology
available
 to more people.
 
  --
  ---
  Joseph B. Ottinger   [EMAIL PROTECTED]
  http://epesh.com/ IT Consultant
 
 
 
 
 
 





Re: Newbie Question...

2001-04-19 Thread Michael Jara

I don't think that Orion supports RMI-IIOP, which is what you would need to
access your EJBs with CORBA.

The Sun reference implementation does support this, but it's not required in
EJB 1.1.  (Although I'm sure there are commercial app servers out there that
support it.)  I beleive that RMI-IIOP support will be in the EJB 2 spec.

Mike

- Original Message -
From: "Lachezar Dobrev" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Thursday, April 19, 2001 7:32 AM
Subject: Newbie Question...


Until now I have developed EJBs for use with a CORBA broker.
However, I did not see such a thing in ORION.
Question: How (and can I) do I adress EJBs from my outside-of-orion
 applications?
I was able to create a couple of basic EJBs. Well... Had to move them
to
 ORION. My problem is, that my apps now cannot adress these EJBs. Is it
 possible at all, or not? If yes, than how, 'cause I saw nothing on this
 subject neither in the documentation, nor in the tutorials.

Thanks in advance.
Lachezar.









RE: A Swedish Idea

2001-04-19 Thread Hani Suleiman

Yes, and like many turtles, they never get there.

Believing in fairy tales is not a good basis for conducting business. The
turtle and rabbit story is a way to tell average children 'yes, you might
be stupid and slow, but you should keep trying'. I don't think you should
take it too seriously.

Hani

On Thu, 19 Apr 2001, Kemp Randy-W18971 wrote:

 OSS is like the turtles. They slowly craw along, and the best eventually get
 there. In the early days, folks would say "Apache who"?  Oh yes, that's the
 opening band for the Beatles.  Postgresql?  Is that what Goldilocks ate in
 the three bears?  And these are the same people who, when they first heard
 the name Beatles, they said "call the bug exterminator."  And when they
 heard the name Rolling Stones, they say, "where's the avalanche?" 
 
 -Original Message-
 From: Hani Suleiman [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, April 19, 2001 10:03 AM
 To: Orion-Interest
 Subject: RE: A Swedish Idea
 
 
 flamebait
 Unlike all those OSS products huh.
 /flamebait
 
 On Thu, 19 Apr 2001, Kemp Randy-W18971 wrote:
 
  It has been said that if Bill Gates stopped to pick up a hundred dollar
 bill, he would be losing money.  On a more serious note, it's really not the
 Bill company code so much, as their practice of releasing alpha or beta
 quality products as production quality. 
  
  -Original Message-
  From: Jay Armstrong [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, April 19, 2001 8:06 AM
  To: Orion-Interest
  Subject: Re: A Swedish Idea
  
  
  Generally, I agree with the comment about Micro$oft quality of code,
 though
  I've seen some pretty horrible code from outside the US, too. :)
  
  Bill Gates may be from the US, but Micro$oft employees come from all over
  the world.  Visit Redmond, WA, USA and you'll see for yourself.
  
  At 09:50 AM 4/19/01 +0200, you wrote:
  And Micro$oft programmers are from...?
  
  I suppose that the country they're from produce the shittiest code of em
 all
  :)
  
  Johan
  - Original Message -
  From: "Joseph B. Ottinger" [EMAIL PROTECTED]
  To: "Orion-Interest" [EMAIL PROTECTED]
  Sent: Wednesday, April 18, 2001 4:20 PM
  Subject: Re: A Swedish Idea
  
  
   Personally, I'm becoming more and more convinced that not only is
 Sweden
   full of lousy programmers, but they're all lousy in congruent ways just
 to
   make the rest of the world's jobs harder.
  
   I say we all start using Bavarian products, if only because Bavarian
 names
   seem to have a better vowel/consonant ratio.
  
   Say, Randy... what country are YOU from? (That's the leading indicator
 for
   quality of code...)
  
   On Wed, Apr 18, 2001 at 08:49:24AM -0500, Kemp Randy-W18971 wrote:
Now this may be a dumb idea, and I am just thinking up brainstorms to
  promote Orion, but it occurred to me that both Mysql and Orion are in
  Sweden.  Now I don't know how big Sweden is, but perhaps a meeting
 between
  the two teams could find ways to mutually promote or bridge the two
  products.  Just a thought.   Speaking of Sweden, since Rickard O. from
 Jboss
  lives there, does anyone know of Magnus or Karl have meet him? In once
  sense, but Jboss and Orion are trying to make this EJB technology
 available
  to more people.
  
   --
   ---
   Joseph B. Ottinger   [EMAIL PROTECTED]
   http://epesh.com/ IT Consultant
  
  
  
  
  
  
 
 
 





Re: A Swedish Idea

2001-04-19 Thread David Kinnvall

They never get there about as much as this thread in its current
shape provides any value whatsoever to Orion users. IMHO.

/David

- Original Message - 
From: "Hani Suleiman" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Thursday, April 19, 2001 7:08 PM
Subject: RE: A Swedish Idea


 Yes, and like many turtles, they never get there.
 
 Believing in fairy tales is not a good basis for conducting business. The
 turtle and rabbit story is a way to tell average children 'yes, you might
 be stupid and slow, but you should keep trying'. I don't think you should
 take it too seriously.
 
 Hani





Re: JSP Tags in an XSL Template?

2001-04-19 Thread Dave Ford

Thanks for your reply Joe and Kesavk.

Wheb I tried to put JSP inside of an xsl in Orion (even after changing
extention to .jsp) I get the following error:

Source XML Error: Use "" for "" in attribute values.

Any suggestions?

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


- Original Message -
From: "Joe Latty" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Wednesday, April 18, 2001 9:26 PM
Subject: RE: JSP Tags in an XSL Template?


 You can use the jsp tags. If change the extension from *.xsl to *.jsp and
 then use the jsp as you would an xsl e.g.

 %@ page language="java"
 import="com.stuff.yourStuff,
 com.stuff.yourSchema"
 errorPage="error.jsp" %

 xsl:stylesheet  xmlns:xsl="http://www.w3.org/TR/WD-xsl"
 xsl:template match="/"
 xsl:for-each select="%=yourSchema.someElementTag%"
 table width="100%"
 tr
 td
 input id="whatever"  type="text" value="%=yourStuff.someValue%"
 xsl:if test="@%= yourSchema.someAttributeTag %[.!='']"
 xsl:attribute name="readonly"true/xsl:attribute
 /xsl:if
 /input
 /td
 /tr
 /table
 /xsl:for-each
 /xsl:template
 /xsl:stylesheet

 We have done this many times.

 Joe

  -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]  On Behalf Of Kesav Kumar
 Sent: Thursday, 19 April 2001 5:58 AM
 To: Orion-Interest
 Subject: RE: JSP Tags in an XSL Template?

 You can't use the jsp tags inside the xsl stylesheet.  You can pass
 parameters to the XSL.

 Declare xsl:param at the top of your xsl and while calling the
 transformation you can pass values to the top level params.  If you are
 using apache's xalan here is the way to pass values.

 In your xsl

 xsl:stylesheet version="1.0"
 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
 xsl:param name="linkURL" /
 xsl:template match="module"
 link
 xsl:attribute name="href"
 xsl:value-of select="$linkURL"
 disable-output-escaping="yes"/
 xsl:attribute name="rel"stylesheet/xsl:attribute
 /link
 /xsl:template

 In your java code write the following.  The following code is according to
 the Xalan1.1.  You can see the xalan2 javadoc for the appropriate way of
 transformation.  In xalan2 the setting of the parameters are in
Transformer
 class.

 public static void Transform(String xmlSourceURL, String xslURL, String
 outputURL)
   throws java.io.IOException,
  java.net.MalformedURLException,
  org.xml.sax.SAXException
 {
   // Use XSLTProcessorFactory to instantiate an XSLTProcessor.
   org.apache.xalan.xslt.XSLTProcessor processor =

org.apache.xalan.xslt.XSLTProcessorFactory.getProcessor();
   // Set the stylesheet parameters
   processor.setStylesheetParam("linkURL", new
 org.apache.xalan.xpath.XString("http://xxxlco.com/skldjf"))

   // Create the 3 objects the XSLTProcessor needs to perform the
 transformation.
   org.apache.xalan.xslt.XSLTInputSource xmlSource =
 new org.apache.xalan.xslt.XSLTInputSource
 ("foo.xml");
   org.apache.xalan.xslt.XSLTInputSource xslSheet =
new org.apache.xalan.xslt.XSLTInputSource
 ("foo.xsl");
   org.apache.xalan.xslt.XSLTResultTarget xmlResult =
new org.apache.xalan.xslt.XSLTResultTarget
 ("foo.out");

   // Perform the transformation.
   processor.process(xmlSource, xslSheet, xmlResult);
 }

 Kesav Kumar
 Software Engineer
 Voquette, Inc.
 650 356 3740
 mailto:[EMAIL PROTECTED]
 http://www.voquette.com
 Voquette...Delivering Sound Information


 -Original Message-
 From: Dave Ford [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, April 18, 2001 9:47 AM
 To: Orion-Interest
 Subject: JSP Tags in an XSL Template?


 Is there anyway to embed jsp tags in an xsl template? For example:

 xsl:template match="module"
   link
xsl:attribute name="href"
%= request.getContextPath()%/StyleSheets/style.css/xsl:attribute
xsl:attribute name="rel"stylesheet/xsl:attribute
   /link
 /xsl:template

 If not, is there a better way to add "parameters" to xsl template as I'm
 attemting above with the context path?

 Thanks,

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









Re: A Swedish Idea

2001-04-19 Thread BAC10000


God forbids, what if one of them got into car accident, would there still be 
Orion.




Orion support available @pacific time

2001-04-19 Thread denis despinoy


Hey Guys,

We've elected Orion as our appserver about 7 months
ago and got rid of Weblogic at the same time.

We are now shipping our product and were tremendously
suffering from lack of technical support services from
Orion. Issues that were brought up too many times by
our client and were causing grievances to our sales
team.

We met a company specializing in j2ee support and they
are now offering tech and consulting support for
Orion.
They operate on Pacific Time and We are quite pleased
with them, our clients are now reassured and our offer
is as good as any other...

That company is called netcracker based out of San
Jose (CA). Guess u might be want to know this.

denis
Javadaemonus





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




RE: JSP Tags in an XSL Template?

2001-04-19 Thread elephantwalker

Dave,

ok. This is what will work.

Use a jsp or a servlet to emit an xml document. The content/type must fit
the type of document. So if its an xml document (which xsl documents are),
the type should be text/xml.

A url to the servlet or the jsp will produce a document which is an xsl
document. So if whatever needs an xsl document, you refer to the document
with the url, and Orion will magically emit the xsl document as you wanted.

We use this technique with svg documents all the timme. There is an example
of this in the javasoft site for xml and jsp.

As far as I know, you can't put the jsp tag language directly in a xsl file.
(That would be jsl ;)= ).

Regards,

The elephantwalker








-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Dave Ford
Sent: Thursday, April 19, 2001 2:24 PM
To: Orion-Interest
Subject: Re: JSP Tags in an XSL Template?


Thanks for your reply Joe and Kesavk.

Wheb I tried to put JSP inside of an xsl in Orion (even after changing
extention to .jsp) I get the following error:

Source XML Error: Use "" for "" in attribute values.

Any suggestions?

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


- Original Message -
From: "Joe Latty" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Wednesday, April 18, 2001 9:26 PM
Subject: RE: JSP Tags in an XSL Template?


 You can use the jsp tags. If change the extension from *.xsl to *.jsp and
 then use the jsp as you would an xsl e.g.

 %@ page language="java"
 import="com.stuff.yourStuff,
 com.stuff.yourSchema"
 errorPage="error.jsp" %

 xsl:stylesheet  xmlns:xsl="http://www.w3.org/TR/WD-xsl"
 xsl:template match="/"
 xsl:for-each select="%=yourSchema.someElementTag%"
 table width="100%"
 tr
 td
 input id="whatever"  type="text" value="%=yourStuff.someValue%"
 xsl:if test="@%= yourSchema.someAttributeTag %[.!='']"
 xsl:attribute name="readonly"true/xsl:attribute
 /xsl:if
 /input
 /td
 /tr
 /table
 /xsl:for-each
 /xsl:template
 /xsl:stylesheet

 We have done this many times.

 Joe

  -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]  On Behalf Of Kesav Kumar
 Sent: Thursday, 19 April 2001 5:58 AM
 To: Orion-Interest
 Subject: RE: JSP Tags in an XSL Template?

 You can't use the jsp tags inside the xsl stylesheet.  You can pass
 parameters to the XSL.

 Declare xsl:param at the top of your xsl and while calling the
 transformation you can pass values to the top level params.  If you are
 using apache's xalan here is the way to pass values.

 In your xsl

 xsl:stylesheet version="1.0"
 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
 xsl:param name="linkURL" /
 xsl:template match="module"
 link
 xsl:attribute name="href"
 xsl:value-of select="$linkURL"
 disable-output-escaping="yes"/
 xsl:attribute name="rel"stylesheet/xsl:attribute
 /link
 /xsl:template

 In your java code write the following.  The following code is according to
 the Xalan1.1.  You can see the xalan2 javadoc for the appropriate way of
 transformation.  In xalan2 the setting of the parameters are in
Transformer
 class.

 public static void Transform(String xmlSourceURL, String xslURL, String
 outputURL)
   throws java.io.IOException,
  java.net.MalformedURLException,
  org.xml.sax.SAXException
 {
   // Use XSLTProcessorFactory to instantiate an XSLTProcessor.
   org.apache.xalan.xslt.XSLTProcessor processor =

org.apache.xalan.xslt.XSLTProcessorFactory.getProcessor();
   // Set the stylesheet parameters
   processor.setStylesheetParam("linkURL", new
 org.apache.xalan.xpath.XString("http://xxxlco.com/skldjf"))

   // Create the 3 objects the XSLTProcessor needs to perform the
 transformation.
   org.apache.xalan.xslt.XSLTInputSource xmlSource =
 new org.apache.xalan.xslt.XSLTInputSource
 ("foo.xml");
   org.apache.xalan.xslt.XSLTInputSource xslSheet =
new org.apache.xalan.xslt.XSLTInputSource
 ("foo.xsl");
   org.apache.xalan.xslt.XSLTResultTarget xmlResult =
new org.apache.xalan.xslt.XSLTResultTarget
 ("foo.out");

   // Perform the transformation.
   processor.process(xmlSource, xslSheet, xmlResult);
 }

 Kesav Kumar
 Software Engineer
 Voquette, Inc.
 650 356 3740
 mailto:[EMAIL PROTECTED]
 http://www.voquette.com
 Voquette...Delivering Sound Information


 -Original Message-
 From: Dave Ford [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, April 18, 2001 9:47 AM
 To: Orion-Interest
 Subject: JSP Tags in an XSL Template?


 Is there anyway to embed jsp tags in an xsl template? For example:

 xsl:template match="module"
   link
xsl:attribute name="href"
%= request.getContextPath()%/StyleSheets/style.css/xsl:attribute
xsl:attribute name="rel"stylesheet/xsl:attribute
   /link
 /xsl:template

 If not, is there a better way to add "parameters" to xsl template as I'm
 attemting above with the context path?

 Thanks,

 Dave Ford
 Smart Soft - The Java 

RE: A Swedish Idea

2001-04-19 Thread Michael J. Cannon

RE:  OSS is like the turtles. They slowly craw along, and the best
eventually get there.

...and here I thought "the Turtles" were a band, too.  You know,
'_So_Happy_Together_'  The band Flo and Eddie played for before the Vanilla
Fudge and the Mothers and after their first try at solo stardom?

[:^b

dedmike


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Kemp
 Randy-W18971
 Sent: Thursday, April 19, 2001 11:49 AM
 To: Orion-Interest
 Subject: RE: A Swedish Idea


 OSS is like the turtles. They slowly craw along, and the best
 eventually get
 there. In the early days, folks would say "Apache who"?  Oh yes,
 that's the
 opening band for the Beatles.  Postgresql?  Is that what Goldilocks ate in
 the three bears?  And these are the same people who, when they first heard
 the name Beatles, they said "call the bug exterminator."  And when they
 heard the name Rolling Stones, they say, "where's the avalanche?"

 -Original Message-
 From: Hani Suleiman [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, April 19, 2001 10:03 AM
 To: Orion-Interest
 Subject: RE: A Swedish Idea


 flamebait
 Unlike all those OSS products huh.
 /flamebait

 On Thu, 19 Apr 2001, Kemp Randy-W18971 wrote:

  It has been said that if Bill Gates stopped to pick up a hundred dollar
 bill, he would be losing money.  On a more serious note, it's
 really not the
 Bill company code so much, as their practice of releasing alpha or beta
 quality products as production quality.
 
  -Original Message-
  From: Jay Armstrong [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, April 19, 2001 8:06 AM
  To: Orion-Interest
  Subject: Re: A Swedish Idea
 
 
  Generally, I agree with the comment about Micro$oft quality of code,
 though
  I've seen some pretty horrible code from outside the US, too. :)
 
  Bill Gates may be from the US, but Micro$oft employees come
 from all over
  the world.  Visit Redmond, WA, USA and you'll see for yourself.
 
  At 09:50 AM 4/19/01 +0200, you wrote:
  And Micro$oft programmers are from...?
  
  I suppose that the country they're from produce the shittiest
 code of em
 all
  :)
  
  Johan
  - Original Message -
  From: "Joseph B. Ottinger" [EMAIL PROTECTED]
  To: "Orion-Interest" [EMAIL PROTECTED]
  Sent: Wednesday, April 18, 2001 4:20 PM
  Subject: Re: A Swedish Idea
  
  
   Personally, I'm becoming more and more convinced that not only is
 Sweden
   full of lousy programmers, but they're all lousy in
 congruent ways just
 to
   make the rest of the world's jobs harder.
  
   I say we all start using Bavarian products, if only because Bavarian
 names
   seem to have a better vowel/consonant ratio.
  
   Say, Randy... what country are YOU from? (That's the leading
 indicator
 for
   quality of code...)
  
   On Wed, Apr 18, 2001 at 08:49:24AM -0500, Kemp Randy-W18971 wrote:
Now this may be a dumb idea, and I am just thinking up
 brainstorms to
  promote Orion, but it occurred to me that both Mysql and Orion are in
  Sweden.  Now I don't know how big Sweden is, but perhaps a meeting
 between
  the two teams could find ways to mutually promote or bridge the two
  products.  Just a thought.   Speaking of Sweden, since Rickard O. from
 Jboss
  lives there, does anyone know of Magnus or Karl have meet him? In once
  sense, but Jboss and Orion are trying to make this EJB technology
 available
  to more people.
  
   --
   ---
   Joseph B. Ottinger   [EMAIL PROTECTED]
   http://epesh.com/ IT Consultant
  
  
  
 
 
 







RE: PostgresJDBC Driver w/ Orion under load

2001-04-19 Thread Adam Cassar


I am using 7.03 + appropriate jdbc drivers with no problems under load.

Have you tried debugging from the postgres end? Get postgres to dump the
SQL statements as
they pass through.

On 19 Apr 2001 14:14:08 +1000, Mike Cannon-Brookes wrote:
 I'm using Postgres 7.1rc3 with 'the most recent Orion build' ;)
 
 I'm going to upgrade both overnight to see if it makes any difference, but I
 think what I really need is a tool to see:
 a) the threads Orion is running and what method they're stuck in (JPDA
 should do this)
 b) the current connections to postgres and the query that's being run - any
 idea how to get this info?
 
 Heavy load is very heavy, real life load. (if that helps)
 
 -mike
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of Adam Cassar
  Sent: Thursday, April 19, 2001 12:24 PM
  To: Orion-Interest
  Subject: Re: PostgresJDBC Driver w/ Orion under load
 
 
  What version's r u using?
 
  We use postgres + orion here with no problems.
 
  What do you classify as 'heavy load'? Is it testing or real life load?
 
  On 19 Apr 2001 10:27:02 +1000, Mike Cannon-Brookes wrote:
   Has anyone used Postgres + JDBC + Orion under heavy load?
  
   We're having a problem on one of our production machines that on some
   occasions under heavy load Postgres JDBC connections seem to be dying /
   locking up as do Orion threads and we're not sure where to
  start looking.
  
   Has anyone used this combo and has experience with this sort of thing?
  
   Here's an example trace:
  
   An I/O error occured while reading from backend - Exception:
   java.net.SocketException: Connection reset by peer: Connection
  reset by peer
   Stack Trace:
   java.net.SocketException: Connection reset by peer: Connection
  reset by peer
   at java.net.SocketInputStream.socketRead(Native Method)
   at java.net.SocketInputStream.read(SocketInputStream.java:86)
   at
  java.io.BufferedInputStream.fill(BufferedInputStream.java:186)
   at
  java.io.BufferedInputStream.read(BufferedInputStream.java:204)
   at org.postgresql.PG_Stream.ReceiveChar(PG_Stream.java:181)
   at org.postgresql.Connection.openConnection(Connection.java:160)
   at org.postgresql.Driver.connect(Driver.java:122)
  
   or
  
   An I/O error occured while reading from backend - Exception:
   java.net.SocketException: Broken pipe: Broken pipe
   Stack Trace:
   java.net.SocketException: Broken pipe: Broken pipe
   at java.net.SocketInputStream.socketRead(Native Method)
   at java.net.SocketInputStream.read(SocketInputStream.java:86)
   at
  java.io.BufferedInputStream.fill(BufferedInputStream.java:186)
   at
  java.io.BufferedInputStream.read(BufferedInputStream.java:204)
   at org.postgresql.PG_Stream.ReceiveChar(PG_Stream.java:181)
   at org.postgresql.Connection.openConnection(Connection.java:160)
   at org.postgresql.Driver.connect(Driver.java:122)
   ...
   at org.postgresql.PG_Stream.ReceiveChar(PG_Stream.java:184)
   at org.postgresql.Connection.openConnection(Connection.java:160)
   at org.postgresql.Driver.connect(Driver.java:122)
  
   any ideas where to start looking?
  
   -mike
  
  
  
  
 
 
 
  --
 
  Adam Cassar
  Technical Development Manager
  ___
  NetRegistry http://www.netregistry.au.com
  Tel: +61 2 9641 8609 | Fax: +61 2 9699 6088
  PO Box 270 Broadway NSW 2007 Australia
 
 
 
 
 
 



-- 

Adam Cassar
Technical Development Manager
___  
NetRegistry http://www.netregistry.au.com
Tel: +61 2 9641 8609 | Fax: +61 2 9699 6088
PO Box 270 Broadway NSW 2007 Australia





RE: A Swedish Idea

2001-04-19 Thread Jay Armstrong

Mike,

You're probabaly right, but why do others have to speak for them.  They're
big boys -- and business-savy enough to come down from geek heaven and
actually charge money for production.  I'll bet they can even decide for
themselves whether or not to speak with MySQL.  If they've gotten 1,000
Orion customers to belly-up $1,500 each, then a mill-and-a-half should
cover the phone call to MySQL.

Speaking of money, I've gotta go try to make some right now.

Randy, I, for one, liked your idea.  The sky is not falling, but this dead
horse is now thoroughly beaten (how's that for a mixed metaphore?).

Jay

At 12:46 PM 4/19/01 -0500, you wrote:
Issue seems to be:

MySQL is in Sweden.  Orion Is in Sweden.  They should talk.

Fortunately, for the users of Orion they are just 2 guys, who wanna code
(translation:  they are in java guy heaven!) and have no interest in the
complexities and distractions inherent in 'Big International Business^TM'
(Trademark, Microsoft and the World Intellectual Property Organization, all
rights reserved, ALL YOUR THOUGHTS ARE BELONG TO US!^TM)

'Chap' and Magnus are geeks.  They are in Java geek heaven.  THIS IS A GOOD
THING!  We should not be distracting them with anything other than their
continuing to code the best damn Java appserver there is!  Anything else is
a waste of time.

The point is moot, however.  It is obvious they are focussed on what matters
to them and what should matter to us.  If MySQL wants to go by their offices
and stop in when they have a break and buy 'em a beer (or cocoa, or
whatever) for about 20 minutes and yakk...let 'em...if u want to fly to
Sweden and facilitate this, Jay, knock yourself out.

Magnus and Karl are two guys focussed on their code.  Again, THIS IS A VERY
GOOD THING.  Distractions are BAAAD...thery're bad!...and I don't think that
we will (or can) distract them.  I like that.  Marketing is for marketers.
Two guys don't need a manager.  Especially two guys that are as obviously
skilled and laser-focussed on their goals as these two.

See, Joe and Mike?  I'm cured!!!

dedmike

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Jay Armstrong
 Sent: Thursday, April 19, 2001 10:17 AM
 To: Orion-Interest
 Subject: Re: A Swedish Idea


 The groomsmen at my wedding were named Schotanus, Schloss and Schnakenberg
 -- no kidding -- if they all lived in the same city, they'd be on the same
 page in the phonebook.  So, bring on the Germanic hordes!

 Now try to stay focused: Randy's idea was whether or not MySQL and Orion
 should talk about "ways to mutually promote or bridge the two products".
 Just talk.  No earth-shaking changes.

 Yes, HSQL is in the Orion Server download, but, no one said anything about
 binding MySQL to Orion.

 Put down your crack pipe for a minute and open your EJB 101 book: EJB
 containers don't care what data storage mechanism is being used!

 Even though Orion and HSQL run differently on different OS's and JVM's,
 neither did anyone advocate different versions of Orion for
 different OS's.
  If a dialog between Orion and HSQL can make life easier for the MySQL
 lovers, then what's the harm?

 Joe, you've probably been banned from the www.mysql.com site forever
 anyway, so give it up! :)

 Jay

 At 08:04 AM 4/19/01 -0500, you wrote:
 On Wed, Apr 18, 2001 at 05:04:48PM -0600, Jay Armstrong wrote:
  Fair enough, Mike, but my bottom line was: Why not ... address
 that issue
  (having MySQL and Orion folks talk to each other) directly?
 
 Why?
 
  Randy had a good thought -- the Thought Police should quit
 stomping on it.
 
  The issue is simply whether or not MySQL and Orion should talk. :)
 
 No, because neither one is Bavarian.
 
 Actually... still no, because there's no REASON for them to. If you have
 such a desire, you can use MySQL with Orion. (Why such a desire
 exists is up
 to you, I suppose.) If you're talking about distributing MySQL
 *with* Orion,
 which was the original thrust, then NO, a thousand times NO, and
 let's add a
 few more to that for a total of 1004 NOs. Why? HSQL works because it's an
 integrated solution, for an all-Java distribution of Orion that
 happens to
 include a servicable database (for very poor values of
 "servicable"). MySQL,
 unless it's undergone a sea change to be all Java (that nobody
 else in the
 world knows about) can't do the same, so you would have the Windows Orion
 distribution, the Linux Orion distribution, the Solaris Orion
 distribution
 (obviously the best of them all!), etc. etc. ad nauseum. I can
 tell you that
 the Orion team wouldn't smile upon having all those builds, and neither
 would I - such a thing violates the whole idea behind Java.
 
 Let's keep our heads about us for once, and drop this silly "Let's bind a
 binary database into Orion" nonsense. Interbase - fine, if we
 can manage to
 integrate it into the same VM (and it can be done, but I'd want it
 transparently done). But something like Postgres or MySQL? No.
 --
 

Re: Orion as Win2000 service using jnt !

2001-04-19 Thread Geoffrey Marshall

Go to services and start service orion.

This is detailed in the jnt instructions.
On Wednesday, April 18, 2001, at 07:44 AM, Mac Ferguson wrote:

 I don't think you need the "" around the startup dir...

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Puthezhath,
 Rajeev (TWII Boston)
 Sent: Tuesday, April 17, 2001 5:08 PM
 To: Orion-Interest
 Subject: Orion as Win2000 service using jnt !


 Hi Friends

 I am trying to set up Orion as a Win2000 Service. First I tried to set 
 it up
 using RunExecSvc.exe  as explained in orionsupport.com. But I was not
 successful in getting this exe run as it always exited suddenly. Then 
 taking
 a hint from this mailing list I tried with jnt.

 D:\jntd:\jnt\jnt "/InstallAsService: Orion" "/SDD:\orion" java -jar
 d:\orion
 \orion.jar

 I get the following statements.

 Java Service Launcher V1.0.1 beta
 Copyright (C) 2000 by eWorkSmart, LLC

 04/17/01 17:04:40 - Installing as service "Orion" (Orion).
 04/17/01 17:04:40 -
 This has been installed as "Orion".
 This service is set to automatically start when the
 system boots.  To start the service now, use the "Services"
 icon found in the control panel.
 04/17/01 17:04:40 -

 NT Service options:
 Use /InstallAsService:ServiceName[:dependent1,dependent2,...] to
 install.
 Use /RemoveAsService:ServiceName to remove (uninstall) as a service.
 Use /SetServiceParams:ServiceName to change the startup parameters for 
 this
 serv
 ice.
 Note: Any additional parameters on the command line will be setup
   as the startup parameters for the service when using
   the /InstallAsService or /SetServiceParams options.


 But after starting the Orion Service from Services, When I try to access
 the application then it throws an error saying
 web server can not be found. Any idea why this is happening ?


 Thanks and Regards

 Rajeev









--

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
---




orion and xalan

2001-04-19 Thread Charlie Ma

Just started working with Orion.  Am wondering if anyone has tried to use
Xalan from apache.org.   I compiled their servlet sample (SimpleXSLTServlet)
and tried to run it from within the default-web-app that came with Orion.
Received the errors below.  If anyone has information, please help.  Thanks,
Charlie

-- ERROR FROM BROWSER -

Namespace not supported by
SAXParserjavax.xml.transform.TransformerConfigurationException: Namespace
not supported by SAXParser
at
org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(Transformer
FactoryImpl.java:684)
at SimpleXSLTServlet.doGet(SimpleXSLTServlet.java:102)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:190)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:302)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:329)
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)
-
javax.xml.transform.TransformerConfigurationException: Namespace not
supported by SAXParser
at
org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFa
ctoryImpl.java:856)
at
org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(Transformer
FactoryImpl.java:669)
at SimpleXSLTServlet.doGet(SimpleXSLTServlet.java:102)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:190)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:302)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:329)
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)
-
javax.xml.transform.TransformerException: Namespace not supported by
SAXParser
at
org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFa
ctoryImpl.java:852)
at
org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(Transformer
FactoryImpl.java:669)
at SimpleXSLTServlet.doGet(SimpleXSLTServlet.java:102)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:190)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:302)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:329)
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)
-
javax.xml.parsers.ParserConfigurationException: Namespace not supported by
SAXParser
at
org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFa
ctoryImpl.java:816)
at
org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(Transformer
FactoryImpl.java:669)
at SimpleXSLTServlet.doGet(SimpleXSLTServlet.java:102)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:190)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:302)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:329)
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)
-
javax.xml.parsers.ParserConfigurationException: Namespace not supported by
SAXParser
at com.sun.xml.parser.SAXParserImpl.init(SAXParserImpl.java:60)
at
com.sun.xml.parser.SAXParserFactoryImpl.newSAXParser(SAXParserFactoryImpl.ja
va:57)
at
org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFa
ctoryImpl.java:810)
at
org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(Transformer
FactoryImpl.java:669)
at SimpleXSLTServlet.doGet(SimpleXSLTServlet.java:102)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:190)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:302)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:329)
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)
-
javax.xml.parsers.ParserConfigurationException: Namespace not supported by
SAXParser
at
org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFa
ctoryImpl.java:816)
at
org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(Transformer
FactoryImpl.java:669)
at SimpleXSLTServlet.doGet(SimpleXSLTServlet.java:102)
at 

deployment.cache and wrapper classes

2001-04-19 Thread Adam Cassar


Hey guys,

I desperately need to have a look what's going on inside of orion's
wrapper classes. How can I access them? Previously on the list it is
mentioned that they are in the deployment.cache file, however when
I attempt to unjar that file, I only get one or two classes, not the
entire lot.

Any idea on how to debug these wrappers? They are constantly producing
Stack Overflow exceptions 
and it would be nice to see what is happening.

-- 

Adam Cassar
Technical Development Manager
___  
NetRegistry http://www.netregistry.au.com
Tel: +61 2 9641 8609 | Fax: +61 2 9699 6088
PO Box 270 Broadway NSW 2007 Australia





JMS Transaction in Orion

2001-04-19 Thread venkat

Hi,
Is any one tried using jms-messages in orion?
I'm testing point-point queues in orion. I've following difficulties using
transaction.

Created persistence queue.

Problem 1:
=
Send 10 messages to the queue
Create transacted session
Create receiver
Receive all the messages
Exit without commit.

Start receiving again. Now no messages are received.
As per jms 1.0.1 specification messages are removed from the queue only
when we commit the transaction.

Problem 2:
=
Send 10 messages
Create transacted session
Create receiver
Receive messages
After receiving all the messages issue Rollback messages

Receive again
Now i noticed only the last message is received.

Did anyone faced similar problem? Is this known bug in Orion?  or Am I
missing any configuration details? Any help is very much appreciated.

Following is my jms.xml and application-client.xml configuration details.

=jms.xml=
?xml version="1.0"?
!DOCTYPE jms-server PUBLIC "Orion JMS server"
"http://www.orionserver.com/dtds/jms-server.dtd"

jms-server host="10.1.1.2" port="9127"

 !-- Queue bindings, these queues will be bound to their respective
JNDI path for
  later retrieval --
 queue name="Sample Queue" location="sampleQueue.com.sg"
persistence-file="../sampleQueue.queue.sg"
  descriptionA sample queue to test persistence /description
 /queue

 !-- path to the log-file where JMS-events/errors are stored --
 log
  file path="../log/jms.log" /
 /log
/jms-server


==application-client.xml===
?xml version="1.0"?
!DOCTYPE application-client PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE
Application Client 1.2//EN"
"http://java.sun.com/j2ee/dtds/application-client_1_2.dtd"
application-client
 resource-ref
   res-ref-namesampleQueue.com.sg/res-ref-name
  res-typejavax.jms.Queue/res-type
  res-authContainer/res-auth
 /resource-ref

 /resource-ref
/application-client
=

--venkat





smp w/jdk

2001-04-19 Thread elephantwalker

I just noticed that the readme for Sun's 1.3.0.02 recommends against smp
kernels on Linux.

Is that an issue? I haven't noticed a problem, had anybody else noticed a
problem with Linux and Sun's jvm with the smp kernel?

Regards,

The elephantwalker





RE: smp w/jdk

2001-04-19 Thread Mike Cannon-Brookes

I run 1.3.0.02 on Linux with two processors, no problems to speak of yet?

(with -server and HotSpot)

-mike

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of elephantwalker
 Sent: Friday, April 20, 2001 2:07 PM
 To: Orion-Interest
 Subject: smp w/jdk
 
 
 I just noticed that the readme for Sun's 1.3.0.02 recommends against smp
 kernels on Linux.
 
 Is that an issue? I haven't noticed a problem, had anybody else noticed a
 problem with Linux and Sun's jvm with the smp kernel?
 
 Regards,
 
 The elephantwalker
 
 
 




Re: smp w/jdk

2001-04-19 Thread Adam Cassar

I haven't noticed any issues as yet.

On 19 Apr 2001 21:07:19 -0700, elephantwalker wrote:
 I just noticed that the readme for Sun's 1.3.0.02 recommends against smp
 kernels on Linux.
 
 Is that an issue? I haven't noticed a problem, had anybody else noticed a
 problem with Linux and Sun's jvm with the smp kernel?
 
 Regards,
 
 The elephantwalker
 
 
 



-- 

Adam Cassar
Technical Development Manager
___  
NetRegistry http://www.netregistry.au.com
Tel: +61 2 9641 8609 | Fax: +61 2 9699 6088
PO Box 270 Broadway NSW 2007 Australia





Re: A Swedish Idea

2001-04-19 Thread Frank LaRosa

What's the difference? We choose to write J2EE applications because J2EE is
a community standard rather than a proprietary API. If Orion goes under, all
it takes is a few new config files to deploy your app on another server.

- Original Message -
From: [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Thursday, April 19, 2001 4:17 PM
Subject: Re: A Swedish Idea



 God forbids, what if one of them got into car accident, would there still
be
 Orion.






Re: How to connect to an Orion Ejb from outside?

2001-04-19 Thread Frank LaRosa

I can't speak specifically for CORBA, but you can most certainly access EJBs
in an Orion server from stand-alone Java clients (not servlets). The correct
method of obtaining the JNDI context when operating outside the container is
not well documented, but I worked it out as follows:

Hashtable ht = new Hashtable();
ht.put(Context.INITIAL_CONTEXT_FACTORY,
"com.evermind.server.rmi.RMIInitialContextFactory");
ht.put(Context.PROVIDER_URL, "ormi://MyServer/MyApplication");
ht.put(Context.SECURITY_PRINCIPAL, "admin");
ht.put(Context.SECURITY_CREDENTIALS, "abc123");
Context ctx = new InitialContext( ht );


- Original Message -
From: "Lachezar Dobrev" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Thursday, April 19, 2001 10:32 AM
Subject: How to connect to an Orion Ejb from outside?


Until now I have developed EJBs for use with a CORBA broker.
However, I did not see such a thing in ORION.
Question: How (and can I) do I adress EJBs from my outside-of-orion
 applications?
I was able to create a couple of basic EJBs. Well... Had to move them
to
 ORION. My problem is, that my apps now cannot adress these EJBs. Is it
 possible at all, or not? If yes, than how, 'cause I saw nothing on this
 subject neither in the documentation, nor in the tutorials.

Thanks in advance.
Lachezar.








Re: Orion on Red Hat 6.2

2001-04-19 Thread Petrica GHIURCA

Hello

Did you add orion as a service?
try chkconfig --add and chkconfig --level

Thanks,
Petrica GHIURCA

- Original Message -
From: Thomas Pridham [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Thursday, April 19, 2001 5:59 PM
Subject: Orion on Red Hat 6.2


 I have installed Orion on RH Linux 6.2 and it runs correctly if I start it
 from the command line.  I have tried to use the startup script from
 OrionSupport to have Orion start on a reboot.  The script will not execute
 (I placed it in /etc/rc.d/init.d).  I have changed the script parameters,
 checked the script's permissions etc...still no luck.  Anyone have any
 ideas?  What are others using to get Orion running on Linux?


 I also tried seaching the Orion mailing list..no luck there either.


 Thanks,
 Tom Pridham
 Software Engineer
 Computer Management Consultants
 6951 Pistol Range Road
 Tampa, FL  33536
 http://www.cmctpa.com
 http://www.oakscape.com