RE: orion with mysql?

2001-04-05 Thread Kiss Tibor

The cause for that could be that MySQL does not support transactions...

 -Original Message-
 From: Aaron Tavistock [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, April 05, 2001 3:28 AM
 To: Orion-Interest
 Subject: RE: orion with mysql?
 
 
 You only need a schema if you intend to do CMP EJBs.  If 
 you're not using
 EJB at all then theres no reason you couldn't use MySQL.
 
 But, while its not to hard to make a schema that complies with MySQL
 somewhere in between MySQL and the mm.mysql driver the EJB transaction
 support falls apart.  My inclination is that its the mm.mysql 
 driver itself,
 and the real problem is just that transaction support is not 
 implimented in
 a way that complies with the EJB spec (e.g. javax.transaction 
 doesn't occur
 anywhere in the source).
 
 So, while you can use MySQL with Orion you can't do EJB 
 unless you switch
 over to SAPdb, PostgresSQL, or db.
 
 -Original Message-
 From: Geoff Marshall [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, April 04, 2001 3:52 PM
 To: Orion-Interest
 Subject: Re: orion with mysql?
 
 
 Am using MySQL with Orion without it's own db-schema.  No 
 problems, yet.
 
 Be sure to get the MM.MySQL driver...
 -- 
 
 -Geoff Marshall, Director of Development
 
 ...
 t e r r a s c o p e  (415) 951-4944
 54 Mint Street, Suite 110 direct (415) 625-0349
 San Francisco, CA  94103 fax (415) 625-0306
 ...
 
  From: Peter Peltonen [EMAIL PROTECTED]
  Organization: Fivetec Solutions Oy
  Reply-To: Orion-Interest [EMAIL PROTECTED]
  Date: Wed, 04 Apr 2001 19:42:44 +0300
  To: Orion-Interest [EMAIL PROTECTED]
  Subject: orion with mysql?
  
  
  Is it possible to use MySQL with Orion? Does it need a 
 db-schema of it's
 own?
  
  We tried to use PostgreSQL but JBuilder4 didn't cope with 
 it very well
  (JBuilder isn't able to show Postgre's tables). We also 
 tried Hypersonic,
 but
  it seems that when both Orion and JBuilder communicate with 
 the db the db
 gets
  confused. At least the changes we make in JBuilder don't 
 get updated.
  
  Any ideas about a good open-source db that would work with 
 both Orion and
  JBuilder would be appreciated!
  
  Regards,
  Peter
  
  
 
 
 




RE: orion + jbuilder4 -- sapdb?

2001-04-05 Thread Kiss Tibor

No.

AFAIK:
Adabas belongs to Software AG, not to SAP.
However, if you would say SapDB == Adabas D
that would be correct.
you can read more about it on www.sapdb.org

 -Original Message-
 From: Klaus Thiele [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, April 05, 2001 2:46 PM
 To: Orion-Interest
 Subject: Re: orion + jbuilder4 -- sapdb?
 
 
 Hello,
 
 perhaps a little bit misplaced here...
 
SAB DB == Adabas
 is this right?
 thanks
klaus
 
 Am Donnerstag,  5. April 2001 14:01 schrieben Sie:
  I always like to pitch SapDB, because like Interbase, SAP DB, from
[...]
 
 --
 Klaus Thiele - Personal  Informatik AG
 mailto:[EMAIL PROTECTED]
 
  "Your mouse has moved.
   Windows must be restarted for the change to take effect."
 
 




RE: Orion using Interbase / VerifyError

2001-04-03 Thread Kiss Tibor

I have tried both 1.2 and 1.3. It is a problem with the interclient
classes. (At least with version 2, never really tried 1.6)
A rebuild from the sources solves the problem.
(Although you have to modify a bit of the code, IIRC near
XATransaction.)

Tibor

 -Original Message-
 From: Randahl Fink Isaksen [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, April 03, 2001 8:38 AM
 To: Orion-Interest
 Subject: RE: Orion using Interbase / VerifyError
 
 
 Thanks. I am using JDK1.3 and I noticed that the interclient 
 was developed
 for 1.2. Might I ask which version of Java you are using? If 
 we are both
 using 1.3 then that might be the reason.
 
 Yours
 Randahl
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Kiss Tibor
 Sent: 2. april 2001 17:38
 To: Orion-Interest
 Subject: RE: Orion using Interbase / VerifyError
 
 
 Are you using Interclient2?
 
 I had the same problem. The workaround was to download the source code
 for IC2 and build it for myself.
 (It requires some modification, as it will not compile in its current
 form.)
 AFAIK, not a single line of code has been added between August and
 January.
 
  -Original Message-
  From: Randahl Fink Isaksen [mailto:[EMAIL PROTECTED]]
  Sent: Monday, April 02, 2001 3:11 PM
  To: Orion-Interest
  Subject: Orion using Interbase / VerifyError
 
 
  I am trying to make Orion work with Interbase. When deploying
  my solution I
  get the error shown below. I have tested my application on
  Hypersoniq, and I
  have tested my Interbase setup, plus I am able to connect to the
  datasource's URL using Interbases built in test tool. Still 
 I get the
  java.lang.VerifyError.
 
  I have noticed that this error is thrown under many different
  circumstances - if you deliberately use a wrong password or 
 an invalid
  database URL in "InterClient Communication Diagnostics",
  Interbase will
  simply throws this error aswell, and tell you that there might be a
  configuration problem (which is not the case).
 
 
  Any suggestions would be highly appreciated.
 
  Randahl
 
 
 
  Auto-deploying ro-ejb.jar (No previous deployment found)...
  Auto-creating table: create table ArchiveEJB (primaryKey
  INTEGER NOT NULL
  PRIMAR
  Y KEY, alias VARCHAR(255) NULL, classRestrictionName
  VARCHAR(255) NULL)
  java.lang.VerifyError: (class:
  interbase/interclient/ErrorKey, method: _$372
  sig
  nature: (Ljava/lang/String;Ljava/lang/String;I)V) Expecting to find
  unitialized
  object on stack
  at
  interbase.interclient.SQLException.init(SQLException.java:96)
  at
  
 interbase.interclient.RecvMessage.createSQLException(RecvMessage.java
  :694)
  at
  
 interbase.interclient.RecvMessage.makeSQLException(RecvMessage.java:5
  93)
  at
  
 interbase.interclient.RecvMessage.get_EXCEPTIONS(RecvMessage.java:554
  )
  at
  interbase.interclient.Statement._$121578(Statement.java:282)
  at
  interbase.interclient.Statement.executeUpdate(Statement.java:261)
  at com.evermind.sql.am.executeUpdate(JAX)
  at com.evermind.sql.am.executeUpdate(JAX)
  at com.evermind.server.ejb.compilation.ga.ahq(JAX)
  at com.evermind.server.ejb.compilation.f4.ahq(JAX)
  at com.evermind.server.ejb.compilation.f4.s_(JAX)
  at com.evermind.server.ejb.compilation.ga.s_(JAX)
  at com.evermind.server.ejb.EJBContainer.bz(JAX)
  at com.evermind.server.Application.bz(JAX)
  at com.evermind.server.Application.gf(JAX)
  at com.evermind.server.ApplicationServer.rv(JAX)
  at com.evermind.server.ApplicationServer.aqb(JAX)
  at com.evermind.server.ApplicationServer.gf(JAX)
  at com.evermind.server.hg.run(JAX)
  at java.lang.Thread.run(Thread.java:484)
  at com.evermind.util.f.run(JAX)
 
 
 
 
 
 




RE: Orion using Interbase / VerifyError

2001-04-02 Thread Kiss Tibor

Are you using Interclient2?

I had the same problem. The workaround was to download the source code
for IC2 and build it for myself.
(It requires some modification, as it will not compile in its current
form.)
AFAIK, not a single line of code has been added between August and
January.

 -Original Message-
 From: Randahl Fink Isaksen [mailto:[EMAIL PROTECTED]]
 Sent: Monday, April 02, 2001 3:11 PM
 To: Orion-Interest
 Subject: Orion using Interbase / VerifyError
 
 
 I am trying to make Orion work with Interbase. When deploying 
 my solution I
 get the error shown below. I have tested my application on 
 Hypersoniq, and I
 have tested my Interbase setup, plus I am able to connect to the
 datasource's URL using Interbases built in test tool. Still I get the
 java.lang.VerifyError.
 
 I have noticed that this error is thrown under many different
 circumstances - if you deliberately use a wrong password or an invalid
 database URL in "InterClient Communication Diagnostics", 
 Interbase will
 simply throws this error aswell, and tell you that there might be a
 configuration problem (which is not the case).
 
 
 Any suggestions would be highly appreciated.
 
 Randahl
 
 
 
 Auto-deploying ro-ejb.jar (No previous deployment found)...
 Auto-creating table: create table ArchiveEJB (primaryKey 
 INTEGER NOT NULL
 PRIMAR
 Y KEY, alias VARCHAR(255) NULL, classRestrictionName 
 VARCHAR(255) NULL)
 java.lang.VerifyError: (class: 
 interbase/interclient/ErrorKey, method: _$372
 sig
 nature: (Ljava/lang/String;Ljava/lang/String;I)V) Expecting to find
 unitialized
 object on stack
 at 
 interbase.interclient.SQLException.init(SQLException.java:96)
 at
 interbase.interclient.RecvMessage.createSQLException(RecvMessage.java
 :694)
 at
 interbase.interclient.RecvMessage.makeSQLException(RecvMessage.java:5
 93)
 at
 interbase.interclient.RecvMessage.get_EXCEPTIONS(RecvMessage.java:554
 )
 at 
 interbase.interclient.Statement._$121578(Statement.java:282)
 at 
 interbase.interclient.Statement.executeUpdate(Statement.java:261)
 at com.evermind.sql.am.executeUpdate(JAX)
 at com.evermind.sql.am.executeUpdate(JAX)
 at com.evermind.server.ejb.compilation.ga.ahq(JAX)
 at com.evermind.server.ejb.compilation.f4.ahq(JAX)
 at com.evermind.server.ejb.compilation.f4.s_(JAX)
 at com.evermind.server.ejb.compilation.ga.s_(JAX)
 at com.evermind.server.ejb.EJBContainer.bz(JAX)
 at com.evermind.server.Application.bz(JAX)
 at com.evermind.server.Application.gf(JAX)
 at com.evermind.server.ApplicationServer.rv(JAX)
 at com.evermind.server.ApplicationServer.aqb(JAX)
 at com.evermind.server.ApplicationServer.gf(JAX)
 at com.evermind.server.hg.run(JAX)
 at java.lang.Thread.run(Thread.java:484)
 at com.evermind.util.f.run(JAX)
 
 
 




security in web-apps

2001-03-09 Thread Kiss Tibor

Hi!

I have created an ear file containing only a war file (with some jsps)
just for experimenting, as I am quite new to orion.
However, if I try to access my web-app, I get a 403 Forbidden error.

Anyone got some suggestions/examples how I can control access security
for my war?

Thanks
Tibor