RE: VARCHAR values are always the length of the field

2001-02-14 Thread Michael S. Kelly

Hmmm...I've thought of that, but two other ways of accessing the same data
(CMP and getting a connection from a DriverManager) work just fine with the
ODBC-JDBC bridge.  So, I've been operating on the assumption that the
problem is elsewhere.

-=michael=-

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Victor A.
Salaman
Sent: Wednesday, February 14, 2001 10:53 AM
To: Orion-Interest
Subject: RE: VARCHAR values are always the length of the field


I have some thoughts... don't be cheap and get rid of that piece of crap
ODBC-JDBC bridge... buy a real jdbc driver.

- peace -
Victor!

-Original Message-
From: Michael S. Kelly [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 14, 2001 2:34 PM
To: Orion-Interest
Subject: VARCHAR values are always the length of the field


Here's the problem, when I get a datasource like this:

  // Error trapping removed for clarity.
  Context initCtx = null;
  initCtx = new InitialContext();

  String dsName = "jdbc/MSSQLTimecardDS";
  DataSource ds = initCtx.lookup(dsName);

and use it to return a ResultSet containing a VARCHAR field, the getString
method always returns a String containing spaces filling out the String to
the entire lengthe of the VARCHAR field, i.e. if I have a VARCHAR(50) field
I get a String 50 characters long regardless of how much text is actually
stored in the field.

This does not happen when using a CMP to access the same table and does not
happen when I create a Connection using a DriverManager instead of a
DataSource.

I'm using the ODBC-JDBC bridge against SQL Server.  Here's my DataSource
definition:

  data-source
 name="MSSQLServerTimecard"
 location="jdbc/MSSQLCoreTimecardDS"
 xa-location="jdbc/xa/MSSQLXATimecardDS"
 ejb-location="jdbc/MSSQLTimecardDS"
 connection-driver="sun.jdbc.odbc.JdbcOdbcDriver"
 url="jdbc:odbc:Timecard"
 username="sa"
 password=""
 inactivity-timeout="30"
 class="com.evermind.sql.DriverManagerDataSource"
  /

and my database-schema mappings:

database-schema name="Microsoft SQL Server" not-null="not null" null=""
primary-key="primary key"
type-mapping type="java.lang.String" name="varchar (50)" /
type-mapping type="float" name="float" /
type-mapping type="double" name="float" /
type-mapping type="byte" name="smallint" /
type-mapping type="char" name="char" /
type-mapping type="short" name="int" /
type-mapping type="boolean" name="bit" /
type-mapping type="long" name="int" /
type-mapping type="java.io.Serializable" name="varbinary" /
type-mapping type="java.sql.Timestamp" name="datetime" /

disallowed-field name="password" /
    disallowed-field name="username" /
disallowed-field name="date" /
disallowed-field name="text" /
/database-schema

I've tried changing the mapping to String to "varchar" (leaving out size
parameter), but this didn't help.  Any thoughts?

-=michael=-

==
 Michael S. Kelly      _
 Axian, Inc. // |_  __(_) ___  _ __
 4800 SW Griffith Dr., Ste. 202 //| |\\/ /| |/ _ \| '_ \
 Beaverton, OR  97005 USA _//_| | / / | | |_| | | | |
 Voice: (503)644-6106 x122   ((   //  |_|/_/\\|_|\_/|_|_| |_|
 Fax:   (503)643-8425 ``-''  ``-''
 http://www2.axian.com   Software Consulting and Training
 mailto:[EMAIL PROTECTED]   Enterprise and Internet Group
==








RE: When using autonumber for the primarykey...

2001-02-05 Thread Michael S. Kelly
ication's usage and architecture (are we talking about
clustered EJB containers? if so, does each container run its own counters?
how is uniqueness of numbers guaranteed?).  We can conjecture about the
relative performance merits of the two solutions, but ultimately only
testing of a specific workload with a specific application in a specific
environment would tell us for sure.

-=michael=-

==
 Michael S. Kelly      _
 Axian, Inc. // |_  __(_) ___  _ __
 4800 SW Griffith Dr., Ste. 202 //| |\\/ /| |/ _ \| '_ \
 Beaverton, OR  97005 USA _//_| | / / | | |_| | | | |
 Voice: (503)644-6106 x122   ((   //  |_|/_/\\|_|\_/|_|_| |_|
 Fax:   (503)643-8425 ``-''  ``-''
 http://www2.axian.com   Software Consulting and Training
 mailto:[EMAIL PROTECTED]   Enterprise and Internet Group
==

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Juan Lorandi
(Chile)
Sent: Tuesday, January 30, 2001 10:17 AM
To: Orion-Interest
Subject: RE: When using autonumber for the primarykey...


but of  course Krista, that would only work with BMP wouldn't it?

there's an article on orionsupport regarding counter.jar and how you can use
it to GENERATE unique id's
if you are required to use an IDENTITY field on the db, you're stuck with
BMP

JP

-Original Message-
From: Krista Richmond [mailto:[EMAIL PROTECTED]]
Sent: Martes, 30 de Enero de 2001 12:03
To: Orion-Interest
Subject: RE: When using autonumber for the primarykey...


If it's actually an autonumber field (at least with SQL Server), just insert
the rest of the fields (not including the autonumbered field), e.g.
(presuming your table includes First_Name,Last_Name, and an
autonumber...say, a Customer_ID field):

"INSERT INTO tblMyData(First_Name,Last_Name) VALUES('Sam','Adams')"

The table will automatically generate the autonumber for the ID field, hence
the name ;-).  Additionally, if you *try* to insert a value into the
autonumber field, SQL Server will generate an error.  I'm not sure whether
there may be different behaviors in different DBs...anyone?

HTH

-Original Message-
From: ystein Walle [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 30, 2001 3:37 AM
To: Orion-Interest
Subject: When using autonumber for the primarykey...



I'm just wondering what to do when inserting into a table where the
primarykey has incremental int type?
Is this possible?

Please help.

Walle








Trouble using char field in SQL Server.

2001-01-15 Thread Michael S. Kelly

Hey y'all,

I've got a CMP bean with a char field and every time I try to do a
findByMyCharField('N') I get the following error from SQL Server:

   [Microsoft][ODBC SQL Server Driver][SQL Server]Syntax error converting
the varchar value 'N' to a column of data type int.

I've got the field in the bean specified as a char data type and my
ms-sql.xml file has the following mapping:

   type-mapping type="char" name="char" /

I'm using Orion 1.4.0 and SQL Server 2000.

Any thoughts?

-=michael=-

==========
 Michael S. Kelly      _
 Axian, Inc. // |_  __(_) ___  _ __
 4800 SW Griffith Dr., Ste. 202 //| |\\/ /| |/ _ \| '_ \
 Beaverton, OR  97005 USA _//_| | / / | | |_| | | | |
 Voice: (503)644-6106 x122   ((   //  |_|/_/\\|_|\_/|_|_| |_|
 Fax:   (503)643-8425 ``-''  ``-''
 http://www2.axian.com   Software Consulting and Training
 mailto:[EMAIL PROTECTED]   Enterprise and Internet Group
==






Trouble using char field in SQL Server.

2001-01-12 Thread Michael S. Kelly

Hey y'all,

I've got a CMP bean with a char field and every time I try to do a
findByMyCharField('N') I get the following error from SQL Server:

   [Microsoft][ODBC SQL Server Driver][SQL Server]Syntax error converting
the varchar value 'N' to a column of data type int.

I've got the field in the bean specified as a char data type and my
ms-sql.xml file has the following mapping:

   type-mapping type="char" name="char" /

I'm using Orion 1.4.0 and SQL Server 2000.

Any thoughts?

-=michael=-

==========
 Michael S. Kelly      _
 Axian, Inc. // |_  __(_) ___  _ __
 4800 SW Griffith Dr., Ste. 202 //| |\\/ /| |/ _ \| '_ \
 Beaverton, OR  97005 USA _//_| | / / | | |_| | | | |
 Voice: (503)644-6106 x122   ((   //  |_|/_/\\|_|\_/|_|_| |_|
 Fax:   (503)643-8425 ``-''  ``-''
 http://www2.axian.com   Software Consulting and Training
 mailto:[EMAIL PROTECTED]   Enterprise and Internet Group
==






RE: Kawa

2001-01-09 Thread Michael S. Kelly

My experience as well.  I also found that a number of features didn't really
work yet.  I'm holding out for v5.1.

-=michael=-

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Dumitru
Sbenghe
Sent: Tuesday, January 09, 2001 1:27 AM
To: Orion-Interest
Subject: RE: Kawa


Yesterday, I download the Kawa 5.0 Entreprise from Allaire site
and I didn't find any "out-of-the-box" support for
Orion; Only Weblogic, Jrun and J2ee-ri;

Perhaps on the web page they talk about a future version !?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Ervin Jakab
Sent: vendredi 5 janvier 2001 21:41
To: Orion-Interest
Subject: Kawa


Maybe some of you are interested to find out that Kawa 5.0 Enterprise from
Allaire has out-of-the-box support for Orion deployment. Check this out:
http://www.allaire.com/products/kawa/productinformation/enterprise.cfm .








There seems to be no datetime mapping in the SQL Server database schema.

2001-01-05 Thread Michael S. Kelly

The ms-sql.xml file contains the following:

database-schema name="Microsoft SQL Server" not-null="not null" null=""
primary-key="primary key"
type-mapping type="java.lang.String" name="nvarchar(50)" /
type-mapping type="float" name="float" /
type-mapping type="double" name="float" /
type-mapping type="byte" name="smallint" /
type-mapping type="char" name="char" /
type-mapping type="short" name="int" /
type-mapping type="boolean" name="bit" /
type-mapping type="long" name="int" /
type-mapping type="java.io.Serializable" name="varbinary" /

disallowed-field name="password" /
disallowed-field name="username" /
disallowed-field name="date" /
disallowed-field name="text" /
/database-schema

Note that there is no mapping for the datetime data type.  I'm assuming this
is an oversight and there should be a mapping like this in the file:

   type-mapping type="java.util.Date" name="datetime" /

Am I missing something?

-=michael=-

==
 Michael S. Kelly      _
 Axian, Inc. // |_  __(_) ___  _ __
 4800 SW Griffith Dr., Ste. 202 //| |\\/ /| |/ _ \| '_ \
 Beaverton, OR  97005 USA _//_| | / / | | |_| | | | |
 Voice: (503)644-6106 x122   ((   //  |_|/_/\\|_|\_/|_|_| |_|
 Fax:   (503)643-8425 ``-''  ``-''
 http://www2.axian.com   Software Consulting and Training
 mailto:[EMAIL PROTECTED]
==






RE: Accessing multiple databases in the same application

2001-01-05 Thread Michael S. Kelly

There is a default-data-source parameter in orion-application.xml, as in:

orion-application deployment-version="1.4.0"
default-data-source="jdbc/MSSQLDS"

It looks like this data-source gets propagated to the EJB deployment
description in orion-ejb-jar.xml, but I don't see a way to specify the
database prior to deployment so the table gets created in the correct place.
Am I missing something?

-=michael=-

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Juan Lorandi
(Chile)
Sent: Friday, January 05, 2001 7:09 AM
To: Orion-Interest
Subject: RE: Accessing multiple databases in the same application


yap, check out orion-ejb-jar.xml
In either CMP or BMP entitys you can modify deployment settings at any time

with CMP you can even modify the field mapping scheme

BUT, i think in another of the orion*.xml (i think orion-application.xml)
you may specify the datasources PRIOR
to deployment (thus the table creation command will be issued to the correct
DB)

HTH

JP

-Original Message-----
From: Michael S. Kelly [mailto:[EMAIL PROTECTED]]
Sent: Jueves, 04 de Enero de 2001 19:43
To: Orion-Interest
Subject: Accessing multiple databases in the same application


I know how to set up datasources.  And I know how to set the default
datasource in the orion-application.xml.  But what if I want one application
to access data in multiple databases?  Is there some way to specify that
certain entity beans use one datasource while other entity beans use
another?

-=michael=-

==========
 Michael S. Kelly      _
 Axian, Inc. // |_  __(_) ___  _ __
 4800 SW Griffith Dr., Ste. 202 //| |\\/ /| |/ _ \| '_ \
 Beaverton, OR  97005 USA _//_| | / / | | |_| | | | |
 Voice: (503)644-6106 x122   ((   //  |_|/_/\\|_|\_/|_|_| |_|
 Fax:   (503)643-8425 ``-''  ``-''
 http://www2.axian.com   Software Consulting and Training
 mailto:[EMAIL PROTECTED]
==








RE: There seems to be no datetime mapping in the SQL Server database schema.

2001-01-05 Thread Michael S. Kelly

Never mind.  I found my answer in the archive.  Sorry for the trouble.

-=michael=-

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Michael S.
Kelly
Sent: Friday, January 05, 2001 10:43 AM
To: Orion-Interest
Subject: There seems to be no datetime mapping in the SQL Server
database schema.


The ms-sql.xml file contains the following:

database-schema name="Microsoft SQL Server" not-null="not null" null=""
primary-key="primary key"
type-mapping type="java.lang.String" name="nvarchar(50)" /
type-mapping type="float" name="float" /
type-mapping type="double" name="float" /
type-mapping type="byte" name="smallint" /
type-mapping type="char" name="char" /
type-mapping type="short" name="int" /
type-mapping type="boolean" name="bit" /
type-mapping type="long" name="int" /
type-mapping type="java.io.Serializable" name="varbinary" /

disallowed-field name="password" /
disallowed-field name="username" /
disallowed-field name="date" /
disallowed-field name="text" /
/database-schema

Note that there is no mapping for the datetime data type.  I'm assuming this
is an oversight and there should be a mapping like this in the file:

   type-mapping type="java.util.Date" name="datetime" /

Am I missing something?

-=michael=-

==
 Michael S. Kelly      _
 Axian, Inc. // |_  __(_) ___  _ __
 4800 SW Griffith Dr., Ste. 202 //| |\\/ /| |/ _ \| '_ \
 Beaverton, OR  97005 USA _//_| | / / | | |_| | | | |
 Voice: (503)644-6106 x122   ((   //  |_|/_/\\|_|\_/|_|_| |_|
 Fax:   (503)643-8425 ``-''  ``-''
 http://www2.axian.com   Software Consulting and Training
 mailto:[EMAIL PROTECTED]
==








Accessing multiple databases in the same application

2001-01-04 Thread Michael S. Kelly

I know how to set up datasources.  And I know how to set the default
datasource in the orion-application.xml.  But what if I want one application
to access data in multiple databases?  Is there some way to specify that
certain entity beans use one datasource while other entity beans use
another?

-=michael=-

==
 Michael S. Kelly      _
 Axian, Inc. // |_  __(_) ___  _ __
 4800 SW Griffith Dr., Ste. 202 //| |\\/ /| |/ _ \| '_ \
 Beaverton, OR  97005 USA _//_| | / / | | |_| | | | |
 Voice: (503)644-6106 x122   ((   //  |_|/_/\\|_|\_/|_|_| |_|
 Fax:   (503)643-8425 ``-''  ``-''
 http://www2.axian.com   Software Consulting and Training
 mailto:[EMAIL PROTECTED]
==






Is anyone using Jakarta Struts v1.0?

2000-12-21 Thread Michael S. Kelly

I've seen people talking about Struts v1.0, but the Struts site still
advertises v0.5.  What's the real latest version and where does one get it?

Also, any early reviews of this tool?

-=michael=-

==
 Michael S. Kelly      _
 Axian, Inc. // |_  __(_) ___  _ __
 4800 SW Griffith Dr., Ste. 202 //| |\\/ /| |/ _ \| '_ \
 Beaverton, OR  97005 USA _//_| | / / | | |_| | | | |
 Voice: (503)644-6106 x122   ((   //  |_|/_/\\|_|\_/|_|_| |_|
 Fax:   (503)643-8425 ``-''  ``-''
 http://www2.axian.com   Software Consulting and Training
 mailto:[EMAIL PROTECTED]
==






RE: An apology for Christian Sell

2000-12-15 Thread Michael S. Kelly

Very good then, on to other topics.

With respect to "y'all", English has for a couple centuries now limped along
without a true second person plural ("you" has tried, unsuccessfully in my
opinion, to be both singular and plural).  We can thank the genteel people
of the southern US for resolving this with an elegant elision of "you"
tacked onto "all".

-=michael=-

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Christian Sell
Sent: Friday, December 15, 2000 2:50 AM
To: Orion-Interest
Subject: Re: An apology for Christian Sell


Michael,

I hardly remeber which of the flames yours was (the first one, right?). I
posted an apology to the list shortly after that, stating that I agreed with
y'all (thats the way to say it these days, isn't it?) but it never made it.

I did have a slight foreboding of what was going to come when I wrote the
initial post. It was certainly all my fault

----- Original Message -
From: "Michael S. Kelly" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Thursday, December 14, 2000 11:46 PM
Subject: An apology for Christian Sell


 Christian,

 I hope you will accept my apologies.  While I still feel strongly that we
on
 the list should be very tolerant of language issues, on rereading your
 comment I see that I read a great deal into your words that you may not
have
 intended (it is one of the great difficulties of email communication).
Even
 if I read between the lines correctly, I had no right to respond with such
a
 vitriolic tone.  My only excuse is that, at the time, I was still quite
 upset about the Supreme Court decision (Bush v. Gore).  I'm afraid that
 politics has greater impact on my mood than I sometimes care to admit. 8-)

 -=michael=-

 ==========
  Michael S. Kelly      _
  Axian, Inc. // |_  __(_) ___  _ __
  4800 SW Griffith Dr., Ste. 202 //| |\\/ /| |/ _ \| '_ \
  Beaverton, OR  97005 USA _//_| | / / | | |_| | | | |
  Voice: (503)644-6106 x122   ((   //  |_|/_/\\|_|\_/|_|_| |_|
  Fax:   (503)643-8425 ``-''  ``-''
  http://www2.axian.com   Software Consulting and Training
  mailto:[EMAIL PROTECTED]
 ==










An apology for Christian Sell

2000-12-14 Thread Michael S. Kelly

Christian,

I hope you will accept my apologies.  While I still feel strongly that we on
the list should be very tolerant of language issues, on rereading your
comment I see that I read a great deal into your words that you may not have
intended (it is one of the great difficulties of email communication).  Even
if I read between the lines correctly, I had no right to respond with such a
vitriolic tone.  My only excuse is that, at the time, I was still quite
upset about the Supreme Court decision (Bush v. Gore).  I'm afraid that
politics has greater impact on my mood than I sometimes care to admit. 8-)

-=michael=-

==
 Michael S. Kelly      _
 Axian, Inc. // |_  __(_) ___  _ __
 4800 SW Griffith Dr., Ste. 202 //| |\\/ /| |/ _ \| '_ \
 Beaverton, OR  97005 USA _//_| | / / | | |_| | | | |
 Voice: (503)644-6106 x122   ((   //  |_|/_/\\|_|\_/|_|_| |_|
 Fax:   (503)643-8425 ``-''  ``-''
 http://www2.axian.com   Software Consulting and Training
 mailto:[EMAIL PROTECTED]
==






RE: List server

2000-12-14 Thread Michael S. Kelly



I've 
noticed this as well. I was able to go to the archive site and see the 
messages much sooner than I got themby email.

-=michael=-


==Michael 
S. Kelly [EMAIL PROTECTED] 
 _Axian, Inc. 
[EMAIL PROTECTED] 
// |_ __(_) ___ _ __4800 SW Griffith Dr., Ste. 
202 //| 
|\\/ /| |/ _ \| '_ \Beaverton, OR 97005 
USA 
_//_| | / / | | |_| | | | |Voice: (503)644-6106 
x122 (( 
// |_|/_/\\|_|\_/|_|_| |_|Fax: 
(503)643-8425 
``-'' 
``-''http://www2.axian.com 
Software Consulting and 
Training== 

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of Ervin 
  JakabSent: Thursday, December 14, 2000 2:13 PMTo: 
  Orion-InterestSubject: List server
  Is it only my feeling, or it takes long (up to 
  few hours) until the messages are posted by the server?
  
  Ervin


RE: certificate installation

2000-12-14 Thread Michael S. Kelly



I just 
did this. Here are the sources I used to guide me:

http://java.sun.com/j2ee/j2sdkee/techdocs/guides/ejb/html/Security7.html
http://www.orionsupport.com/articles/ssl-howto.html

The 
Orion SSL-HowTo document was good at describing what to do once you have the 
keystore file, but failed miserably at describing how to create the keystore 
file. Here's how I would rewrite it based on my experience (my comments 
are in square brackets "[]"):



  Creating a keystore with a certificate: 
  Note that the Linux keytool binaries that I tried 
  (including Sun's and IBM's) completely failed to use the RSA algorithm, which 
  is necessary[I'm 
  using Win2K Advanced Server, but I believe that much of the following would 
  apply to Linux. I found that you need Sun's J2EE SDK to get the RSA 
  algorithm. Use the keytool batch file in the bin directory. The 
  batch file will require that you set two environment variables: 
  J2EE_HOME and 
  JAVA_HOME.J2EE_HOME gets set 
  to the directory where the J2EE SDK was installed, forme it was c:\j2sdkee1.2.1. JAVA_HOME gets set 
  to the directory where the Java JDK was installed, for me it was 
  c:\jdk1.3. Note, the IBM version 
  of the JDK did *not* work for this, the keytool routine complained that what 
  it found in the IBM directory was not valid.]. What I did was generate 
  the keystore under Windows, and then copy the keystore file to Linux. However, 
  this aspect is still untested; if anyone else wants to independently verify 
  that it works, I'd appreciate it.
  
keytool -genkey -keyalg "RSA" -keystore keystore 
-storepass 123456 -validity 360 
[The 
command above didn't work for me. I used this instead: keytool -genkey 
-keyalg RSA -alias my_key]

Note: the CN must match the fully qualified domain name of 
the machine. If you're planning on using 
"https://my.host.com/", you'll need to use 
"my.host.com" as the CN.
keytool -certreq -keyalg "RSA" -file my.host.com.csr 
-keystore keystore 
[I had to 
change this as well to: keytool -certreq -alias my_key -file 
keystore.csr]
paste the .csr to https://www.thawte.com/cgi/server/test.exe 

You will want to generate a key with a chained SSL key, not 
the default.
paste the result into my.host.com.cer 
keytool -keystore keystore -keyalg "RSA" -import 
-trustcacerts -file my.host.com.cer
[And this became: keytool 
-import -trustcacerts -alias my_key -file 
keystore.cer]
  You'll now have a keystore file in your current 
  directory [I ended up with a ".keystore" file in c:\Documents and 
  Settings\Administrator, the home directory for the user I was logged in 
  as. I don't know where the file would end up on 
Linux.]
  Creating a secure site: 
  
Copy the default-web-site.xml config in the 
$ORION/config directory to $ORION/config/secure-web-site.xml 
and edit it. 
Add secure="true" as an attribute to the 
web-site node, and remove the port 
attribute. 
Add ssl-config keystore="../my/keystore" 
keystore-password="123456" / to the main body [the 
"keystore" file here is the 
".keystore" file generated by the import step above, and the password is the one supplied when 
generating the key (it'll make sense when you get there)]. The 
keystore path is relative from the $ORION/config directory. 
Install the site, this is done by adding web-site 
path="./secure-web-site.xml" / to 
$ORION/server.xml.

  
  
  
  Hope this 
  helps,
  
  -=michael=-
  
  ==Michael 
  S. Kelly [EMAIL PROTECTED] 
   _Axian, Inc. 
  [EMAIL PROTECTED] 
  // |_ __(_) ___ _ __4800 SW Griffith Dr., Ste. 
  202 
  //| |\\/ /| |/ _ \| '_ \Beaverton, OR 97005 
  USA 
  _//_| | / / | | |_| | | | |Voice: (503)644-6106 
  x122 
  (( // |_|/_/\\|_|\_/|_|_| |_|Fax: 
  (503)643-8425 
  ``-'' 
  ``-''http://www2.axian.com 
  Software Consulting and 
  Training== 
  -Original 
  Message-From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of Derek 
  AkersSent: Thursday, December 14, 2000 2:01 PMTo: 
  Orion-InterestSubject: certificate 
  installation
  Has anyone tried installing/using a ssl (40 bit) 
  certificate from Thawte on orion?
  
  


RE: An apology for Christian Sell

2000-12-14 Thread Michael S. Kelly

I appreciate your support John, but I could have expressed my views in less
inflamatory ways.

-=michael=-

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of John Hogan
Sent: Thursday, December 14, 2000 5:46 PM
To: Orion-Interest
Subject: Re: An apology for Christian Sell


You were right the first time Michael.



_

Get your free E-mail at http://www.ireland.com






RE: Distributed EJB's

2000-12-13 Thread Michael S. Kelly

Really Christian, was this necessary?  Karsten has made an honest attempt to
communicate the problem he's seeing, I believe he deserves honest attempts
to help.  All your comment did was to trivialize the difficulties in
mastering a second language and display your ignorance in this matter.  The
"no offense" tags did not prevent me from being offended.

-=michael=-

======
 Michael S. Kelly [EMAIL PROTECTED]      _
 Axian, Inc.   [EMAIL PROTECTED]  // |_  __(_) ___  _ __
 4800 SW Griffith Dr., Ste. 202 //| |\\/ /| |/ _ \| '_ \
 Beaverton, OR  97005 USA _//_| | / / | | |_| | | | |
 Voice: (503)644-6106 x122   ((   //  |_|/_/\\|_|\_/|_|_| |_|
 Fax:   (503)643-8425 ``-''  ``-''
 http://www2.axian.com   Software Consulting and Training
==

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Christian Sell
Sent: Wednesday, December 13, 2000 8:46 AM
To: Orion-Interest
Subject: Re: Distributed EJB's


Karsten,

no offense
do they offer english courses at informatik.fh-ge.de? If so, I *seriously*
recommend taking one. You will benefit all your life. And we will, too ;-)
/no offense

regards,
- Original Message -
From: Karsten Beving
To: Orion-Interest
Sent: Wednesday, December 13, 2000 3:06 PM
Subject: Re: Distributed EJB's


Hi All.
Me again.
I have running a EJB on other PC. PC A call EJB on PC B.
My new Problem. The EJB (the same on PC B) are installed on PC A. That isn't
fine architecture. OK, the EJB Return Data come from PC B.
I've kill the EJB class in the "ejb-jar-ic.jar"-File.
This File looks:

META-INF\ejb-jar.xml (and changed this file)
META-INF\MANIFEST.MF
TestHome.class
Test.class

You see, the EJB Bean is killed. Why I do that?
I want the EJB only installed on PC B. I think, that is a full Distributed
System. Orion server say's me; that EJB not define at PC A, but the System
are going again. I can call the EJB on PC B.
I think, my servlet need the Home and the Remote - Interface, that is the
ground for installed the Home/Remote Interfaces. Why don't loading the Orion
Server at PC A the Home and the Remote - Interfaces from PC B, where the
full EJB installed?
I hope, you understand me.
Thanks for help again.
- Karsten -



-Original Message-
From: Karsten Beving [mailto:[EMAIL PROTECTED]]
Sent: Lunes, 11 de Diciembre de 2000 12:16
To: Orion-Interest
Subject: Distributed EJB's
Hi.
I have two Orion-Server running on two different PCs. I want to lookup a
bean on the other Orion-Server.
Look at this:
PC  PC
Orion   Orion
lookup  bean, that would connect.
best thanks
- Karsten -





RE: restarting orion-server

2000-12-11 Thread Michael S. Kelly

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

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

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

I haven't tried this on a linux box, but it's very slick on Win2K.

-=michael=-

==========
 Michael S. Kelly [EMAIL PROTECTED]      _
 Axian, Inc.   [EMAIL PROTECTED]  // |_  __(_) ___  _ __
 4800 SW Griffith Dr., Ste. 202 //| |\\/ /| |/ _ \| '_ \
 Beaverton, OR  97005 USA _//_| | / / | | |_| | | | |
 Voice: (503)644-6106 x122   ((   //  |_|/_/\\|_|\_/|_|_| |_|
 Fax:   (503)643-8425 ``-''  ``-''
 http://www2.axian.com   Software Consulting and Training
==


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Marcus
Lankenau
Sent: Friday, December 08, 2000 4:16 AM
To: Orion-Interest
Subject: restarting orion-server


Hi!

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

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

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

Thx in advance
Marcus Lankenau





RE: Faster encryption

2000-12-11 Thread Michael S. Kelly

No, SSL will eat up the CPU.  It takes CPU cycles to do the encryption, and
the more the bits the greater the cost.  This is the reason that companies
like Intel have developed special hardware devices that will handle the
encryption step.

-=michael=-

==
 Michael S. Kelly [EMAIL PROTECTED]      _
 Axian, Inc.   [EMAIL PROTECTED]  // |_  __(_) ___  _ __
 4800 SW Griffith Dr., Ste. 202 //| |\\/ /| |/ _ \| '_ \
 Beaverton, OR  97005 USA _//_| | / / | | |_| | | | |
 Voice: (503)644-6106 x122   ((   //  |_|/_/\\|_|\_/|_|_| |_|
 Fax:   (503)643-8425 ``-''  ``-''
 http://www2.axian.com   Software Consulting and Training
==


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of David Ekholm
Sent: Monday, December 11, 2000 1:07 AM
To: Orion-Interest
Subject: Faster encryption


I noticed a TPS drop (transactions per second) of factor four when I
benchmarked my application using 128 bit SSL encryption (5 client threads)
compared to non-encrypted benchmarking. I know that the SSL layer is
pluggable in Orion, I use the standard one that comes with Orion 1.4.0.

Is there a faster implementation of SSL for Java/Orion out there, maybe a
native code solution? Or is the standard encryption package already using
native code for the most critical sections? I guess not, as I have used C++
packages for encryption previously and not noticed such CPU eating
behaviour.

/David


"The Las Vegas of Online Gaming" David Ekholm
System Architect
Hammarby Kajväg 14, 120 30 Stockholm
tel: +46 (0)8 55 69 67 11
mob: +46 (0)70 486 77 38
fax: +46 (0)8 55 69 67 07
icq: 410993