Re: MYSQL, Orion, EJB and transactions ??

2000-10-27 Thread Jonas Larsson
Title: MYSQL, Orion, EJB and transactions ?? You could always use Interbase which now is opensource.. http://www.interbase.com - Original Message - From: Laufer, Michael To: Orion-Interest Sent: Friday, October 27, 2000 10:41 AM Subject: MYSQL, Orion, EJB and tran

Re: Tomcat and Orion don't work??!!

2000-10-04 Thread Jonas Larsson
Hi, you need to put a jndi.properties file that points out wich initial context factory to use (in this case something like orion's ApplicationContextFactory). You must also include the jar file (in this case perhaps orion.jar!?) containing the factory in tomcat's classpath. I hope this helps

Re: EJB preformance Was: Does Orion eliminate RMI?

2000-05-30 Thread Jonas Larsson
I've done some very simple performance tests invoking methods of a simple session EJB on both ejboss 1.0 and orionserver 0.9 (a time ago;). The result was that orionserver was about 10 times - 50 times faster than ejboss. Both in VM calls and out of vm calls (both on the same machine). Can anyo

Help! Custom document roots fo web-apps

2000-04-16 Thread Jonas Larsson
Hi, I've been trying to set the document-root attribute in orion-web and it doesn't seem to work as I want to. The following error occurs: "document-root can only be used when using standalone configs, Servlet 2.2 packaged apps have a preset root" What does that mean, probably something undocume

SV: java.lang.NullPointerException

2000-02-25 Thread Jonas Larsson
Hmm... I've run in to a similar problem when I was using Orion 0.9.1b without a web-site setup and only as an EJB container, but in my case I got several NullPointerException's one thrown every second (about). Perhaps it has something to do with a timed check of changes in the servlet classes and

Re: runnig cart example

2000-02-02 Thread Jonas Larsson
Hi, I have also run in to some security problems when I look up JNDI-entries.. I alwas get a security exception that I'm not allowed to look up for example "java:comp/env/MyCoolBean".. Another common error message i get is "Not allowed to lookup java:comp/ResourceManagerSomething...".. And when I

JSP-buffering implementation in Orion.

2000-01-12 Thread Jonas Larsson
Hi, I have been trying to use the "response.sendRedirect()" feature of the Servlet API from a JSP page. It works very good when I'm doing it before any jsp:include (when a jsp:include is proccessed the buffer is flushed and the headers cannot be changed). My real question is: Doesn't Orionserver

Virtual host err, err!

1999-12-15 Thread Jonas Larsson
Hi, I have also discovered the earlier mentioned error when trying to user the virtual-hosts feature in web-site.xml.. Orion server throws a nullpointerexception durning startup when any virtual-hosts atttribute is set to some name.. It seems like doesn't really work in the way the JSP spec 1

Compound key Entity EJB bug!

1999-11-12 Thread Jonas Larsson
Hi, I've discovered a new bug in container managed EntityEjb when using a compound key... In the create method of the homewrapper I cna see that a select is done to discover duplicate entitys followed by the actual insert... the problem lies in the generated select.. //SELECT last_read, created_o

Problem using custom authentication!

1999-11-09 Thread Jonas Larsson
Hi, I'm trying to use autentication with the com.evermind.sql.DataSourceUserManager. For some reason I can't get it to work.. Orion server doesn't respond at all when I have a custom usermanager installed. Has anyone got custom authentication to work especially using com.evermind.sql.DataSourceUs

Transaction support!

1999-11-02 Thread Jonas Larsson
Hi, I've been trying to begin a transaction and then rollback all changes with no success.. Heres a code example: User managed transaction Session Ejb code: ... UserTransaction ut = ctx.getUserTransaction(); ut.begin(); ..create and modify container managed entity ejb:s..

Transaction support!

1999-10-29 Thread Jonas Larsson
Hi, I've been tryint to begin a transaction and then rollback all changes with no success.. Heres a code example: User managed transaction Session Ejb code: ... UserTransaction ut = ctx.getUserTransaction(); ut.begin(); ..create and modify container managed entity ejb:s..

Transaction support!

1999-10-22 Thread Jonas Larsson
Hi, I've been trying to use transactions in Orionserver, but i can't get it to work as it sould. Is the transaction support functional container- or bean-managed at this point? (When using the RequiresNew settings (with container managed transactions) for methods in my entityebj an compilation e

Custom finder methods!

1999-10-21 Thread Jonas Larsson
How do I create a custom finder method in a CPM EJB with Orionserver? Is that possible yet? Example: Collection findByName( String Name ) /* Returns all ejb:s where NAME=Name */ /Jonas

Using Orionserver as a separate EJB server..

1999-10-20 Thread Jonas Larsson
Is it possible to use one orion server only for JSP and servlets which access EJB:s on a different Orion server? If it is possible, how is it done? Is there any documentation for your servlet clustering support (which i think you have in orionserver)? /Jonas - Not complaining when I send in bugs

Bug in EJB and JSP implementation!

1999-10-20 Thread Jonas Larsson
Hi, I've downloaded the core of orionserver version 0.7.7 to solve some of my prevoius EJB errors. It solved my previous errors but i've got some new bean managed persistence EJB errors: 1. With the orion implementation today a single argument function of ejbCreate MUST exist. If you for example

Re: Bean managed Entity-EJB error!

1999-10-17 Thread Jonas Larsson
>I think some container managed code is accidentially generated for the >wrapper classes even thoug the entity bean is container managed. Correction: I think some container managed code is accidentially generated for the wrapper classes even though the persistence of the entity bean is bean manag

Bean managed Entity-EJB error!

1999-10-17 Thread Jonas Larsson
Does anyone know why i get the following error when trying to use a bean managed entity bean? >Auto-deploying file:/D:/www/orion/ejb/Comunity/... >EntityBeanWrapper0.java:90: Undefined variable or class name: set >set.close(); >^ >EntityBeanWrapper0