Re: EJB2.0 Generated class uncompilable

2000-12-08 Thread Jim Archer
You might want to go to: http://www.orionsupport.com And grab the simple EJB 2.0 sample... Jim --On Friday, December 08, 2000 4:02 PM -0500 Peter Pontbriand <[EMAIL PROTECTED]> wrote: > Hello All. > > We've just written our first pair of 2.0-spec EJBs and are experiencing > some really stra

RE: EJB2.0 Generated class uncompilable

2000-12-08 Thread Scott Stirling
Take the version you have and do: cd $ORION_HOME java -jar autoupdate.jar This will pull down the latest released build from Orion. Pretty sweet feature. Scott Stirling West Newton, MA -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Serge Knystautas

EJB2.0 Generated class uncompilable

2000-12-08 Thread Peter Pontbriand
Hello All. We've just written our first pair of 2.0-spec EJBs and are experiencing some really strange problems deploying them. Orion 1.4.4 auto-generates the DB tables for these beans, but then spits out the following message for every CMP field in each EJB:

RE: EJB2.0 Generated class uncompilable

2000-12-08 Thread Junbo Liu
Title: RE: EJB2.0 Generated class uncompilable please unsubscribe -Original Message- From: Serge Knystautas [mailto:[EMAIL PROTECTED]] Sent: Friday, December 08, 2000 3:48 PM To: Orion-Interest Subject: Re: EJB2.0 Generated class uncompilable - Original Message - From: "Pe

RE: Has anyone ever solved the ClassCastException problem?

2000-12-08 Thread Jeff Schnitzer
I have generally found that a ClassCastException (usually nested three-layers deep in ominous sounding Orion exceptions) usually indicates a wrong bean (or class) specified in the deployment descriptor. For instance, I was tearing my hair out over a ClassCastException I was getting every time I t

Is this a bug?

2000-12-08 Thread Juan Gargiulo
Title: RE: EJB2.0 Generated class uncompilable I'm trying to create a CMP 1 to many relation between two entity beans. So, the Customer has a List of Service objects (both, Customer and Service are entity beans). When I deploy this, I get the following error:   CustomerService_ORList104.jav

RE: EJB2.0 Generated class uncompilable

2000-12-08 Thread Juan Lorandi (Chile)
use autoupdate or find it in http://www.orionserver.com/orion/orion.jar use at own risk! (actually, 1.4.4 is VERY stable) -Original Message- From: Serge Knystautas [mailto:[EMAIL PROTECTED]] Sent: Viernes, 08 de Diciembre de 2000 20:48 To: Orion-Interest Subject: Re: EJB2.0 Generated cla

RE: Changing Orion Generated SQL

2000-12-08 Thread Jeff Schnitzer
You can define the finder queries in the orion-ejb-jar.xml. Loads and stores would be more troublesome. You might be able to use database views, or as a last resort you could create a facade for the JDBC driver and manipulate the SQL on the way through. Shouldn't be that hard. Jeff >-Orig

Re: EJB2.0 Generated class uncompilable

2000-12-08 Thread Serge Knystautas
- Original Message - From: "Peter Pontbriand" <[EMAIL PROTECTED]> > We've just written our first pair of 2.0-spec EJBs and are experiencing some > really strange problems deploying them. Orion 1.4.4 auto-generates the DB > tables for these beans, but then spits out the following message

RE: EJB2.0 Generated class uncompilable

2000-12-08 Thread Jeff Schnitzer
I've been using EJB2.0 beans (including container managed relationships) with considerable success for several months now. It works (mostly). Don't give up :-) I haven't seen that particular error message, but I have noticed that occasionally Orion screws up the deployment and forgets to recompi

New howto on orionsupport: Configuring Cocoon

2000-12-08 Thread Joe Walnes
Article explaining how to use Cocoon on Orion. Includes: - advantages of using it - wrapper to allow XSP to work - add-on package to allow Cocoon to function as a Filter - how to use Cocoon to process JSP, Servlets, and virtually anything else. http://www.orionsupport.com/articles/cocoon.html H

RE: EJB2.0 Generated class uncompilable

2000-12-08 Thread Tim Drury
Since your bean is called "Foo" I'm going to guess that it is a trivial "Hello World" bean. Why don't you post the bean code and the ejb-jar.xml (don't attach/zip/etc - just dump it)? -tim > -Original Message- > From: Peter Pontbriand [mailto:[EMAIL PROTECTED]] > Sent: Friday, Decembe

Re: Database connection pooling

2000-12-08 Thread Joseph B. Ottinger
On Fri, 8 Dec 2000, Todd Mayfield wrote: > Hello, > > I have a couple questions about Orion and EJB in general. > > 1. Shouldn't the server pool database connections ? It is not. Ah so! But it does. :) > 2. If so, is there something we are missing in the configuration to allow > this ? We hav

Re: Changing Orion Generated SQL

2000-12-08 Thread James Manning
[Boris Gertsberg] > You can't. ejbStore runs a trivial update statement. If you need to do > something special you have to use bean managed persistence. My understanding was that with EJB 2.0, we write the abstract class with no properties (just getters/setters), Orion makes a concrete java sourc

RE: Changing Orion Generated SQL

2000-12-08 Thread Juan Lorandi (Chile)
yes, check orion-ejb-jar.xml you can specify: datasource (connection string) table fieldnames querys etc. In fact, as long as your driver is jdbc 2.0 complaint, you can connect to anything... I've had to use files withing transactions and have successfully been able to use them thru CMP with the

RE: Help: Accessing EJBs in different applications

2000-12-08 Thread Juan Lorandi (Chile)
Well, I have an app It has one ejb-jar it has 2 web-war's they're ALL in the same app... HTH JP -Original Message- From: Montebove Luciano [mailto:[EMAIL PROTECTED]] Sent: Viernes, 08 de Diciembre de 2000 9:37 To: Orion-Interest Subject: Help: Accessing EJBs in different applicat

RE: SSL & Ipaddres

2000-12-08 Thread Mike Fontenot
Thanks! > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Todd Renner > Sent: Friday, December 08, 2000 9:14 AM > To: Orion-Interest > Subject: Re: SSL & Ipaddres > > > We obtained our cert. about 2-3 weeks ago. > Encryption type: RC4 w/40 bit enc >

Re: SSL & Ipaddres

2000-12-08 Thread Sach Jobb
Not if the hostname is exactly the same, and the server that you are installing it on thinks it has the same hostname as whatever the certificate specifies. It is in no-way IP address dependent. On Fri, 8 Dec 2000, Todd Renner wrote: > We have a Thawte cert. implemented successfully on > our ser

Re: Database connection pooling

2000-12-08 Thread Gary Shea
I don't know if I have much to offer here or not, there's a few comments below, let me know if they make a difference! Gary Today, Todd Mayfield ([EMAIL PROTECTED]) wrote: > Hello, > > I have a couple questions about Orion and EJB in general. > > 1. Shouldn't the server pool database c

Re: Changing Orion Generated SQL

2000-12-08 Thread Boris Gertsberg
You can't. ejbStore runs a trivial update statement. If you need to do something special you have to use bean managed persistence. Boris P.S. If you really don't want to write BMP you can try decompile the class Orion generated for your bean and add some jdbc code there. It is possible to do but

RE: SSL & Ipaddres

2000-12-08 Thread Mike Fontenot
as long as your domain remains the same you should have no trouble changing the actual port that SSL requests are serviced on. I'm curious to know exactly what kind of certificate you obtained from Thawte. A few months ago they were unable to produce an actual production cert for Orion. If they c

RE: Anyone heard from evermind?

2000-12-08 Thread Kemp Randy-W18971
I have addressed this question about pricing structure and developmental licenses to Orion and received a reply from Magnus Stenman, of the Orion team. He mentioned the basic license pricing structure will remain at the current price and developer free licenses will continue for non commercial

Has anyone ever solved the ClassCastException problem?

2000-12-08 Thread Dag Rende
Hi! I have got the infamous ClassCastException problem when casting a home interface got from a context lookup. I have seen many mails about this problem on this list, with good advice and hints. But no one saying that it works. My code is the orion-primer example (http://www.jollem.com/orion-

RE: if it is possible to have 2 entity beans with same PK existing in orion ??

2000-12-08 Thread Juan Lorandi (Chile)
use RequiresNew in the entity transactions... this will (hopefully) ensure JIT use of the critical entities, but at the cost of data integrity (there she goes again) HTH JP -Original Message- From: Thomas [mailto:[EMAIL PROTECTED]] Sent: Viernes, 08 de Diciembre de 2000 11:24 To: Or

RE: Run time error and exception messages

2000-12-08 Thread Juan Lorandi (Chile)
this (printStackTrace) is usually the standard behavior on Orion oh, BTW, if you are using IE 4 or 5, make sure you disable friendly HTTP messages... In IE 5: Tools | Internet Options Tab Advanced uncheck Show friendly HTTP error messages HTH, JP -Original Message- From: Malcolm Ferg

Lib entry and tools.jar placement

2000-12-08 Thread August Linnman
Hello everybody, The need of a java compiler for JSP is probably well known, as well as the trick to copy the "tools.jar" to the Orion root directory. And failing to do this results in the following error message: Compiler error: Javac not installed, copy tools.jar from your sun JDK dir's lib

Re: Run time error and exception messages

2000-12-08 Thread Christian Sell
Have you looked into the application.log file (in the application deployment directory, unless you configured your app otherwise)? THe exceptions should be there. As far as I remember, only JSP errors (during compilation) go to the screen (and not to the log) - Original Message - From: "M

RE: Changing Orion Generated SQL

2000-12-08 Thread Russ White
Of course. Just modify orion-ejb-jar.xml to reflect your schema. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Jarek Skreta > Sent: Friday, December 08, 2000 11:14 AM > To: Orion-Interest > Subject: RE: Changing Orion Generated SQL > > > Hi ever

RE: Deadlock exception when accessing entity bean

2000-12-08 Thread Juan Lorandi (Chile)
so did I, and it was the reason I filed the bug #161.   basically, orion never has 2 instances of the same entity in memory, so whenever a transaction takes too long, or tries to find an entity held by another transaction, orion persistence manager detects it and makes one of these trans

RE: restarting orion-server

2000-12-08 Thread Juan Lorandi (Chile)
after you shutdown the server shuts down (geez, go figure how that works) and it no longer listens for ANY admin message... So I guess thats why it doesn't respond to restart (Oh, I'm a genius) Use EITHER restart OR shutdown JP -Original Message- From: Jason Smith [mailto:[E

Re: How do you get Orion to serve up 128 vs. 40 bit encryption?

2000-12-08 Thread Sach Jobb
Is this a test certificate or a real one? There are no 128bit test certificates that i know of. We ended up using the Netscape 128bit certificate from verisign and that worked fine. A couple of messages back someone got the "supercert" from thwarte to work as well. cheers, sach On Fri, 8 Dec 2

RE: Database connection pooling

2000-12-08 Thread Juan Lorandi (Chile)
try this change: class="com.evermind.sql.ConnectionDataSource" Oracle's thin driver does the pooling for you, so this should suffice... HTH JP -Original Message- From: Todd Mayfield [mailto:[EMAIL PROTECTED]] Sent: Viernes, 08 de Diciembre de 2000 13:16 To: Orion-Interest Subject: Dat

RE: ATM wap application

2000-12-08 Thread Kevin Wang
it's likely a simulator issue. you can try use a regular browser first to determine where the problem is. -Original Message-From: Jim Cao [mailto:[EMAIL PROTECTED]]Sent: Friday, December 08, 2000 9:43 AMTo: Orion-InterestSubject: ATM wap application Hi,   I have added

RE: Using JMS with Orion

2000-12-08 Thread Smith, Jeff M (AZ75)
Jason, Can you send the client code used to access this queue. The information you have given is very helpful Thanks, Jeff > -Original Message- > From: Jason Smith [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, December 07, 2000 1:47 PM > To: Orion-Interest > Subject: RE: Using JMS

Re: restarting orion-server

2000-12-08 Thread Johan Fredriksson
I found this script working extremely well on 1.3.8 and earlier #! /bin/sh case $1 in start) ( echo 'Starting orion' cd /opt/orion cp /opt/orion/orion.stdout /opt/orion.stdout.old cp /opt/orio

Re: Anyone heard from evermind?

2000-12-08 Thread Jim Archer
Karl, sounds like great news. Congrats! I'm wondering if any major changes in licensing or pricing policy are coming within the next several or six months? Thanks... Jim --On Thursday, December 07, 2000 1:20 PM +0100 Karl Avedal <[EMAIL PROTECTED]> wrote: > Hello, > > I thought it was time

SV: SSL & Ipaddres

2000-12-08 Thread David Ekholm
I successfully obtained a Thawte "Supercert" for 128 bit encryption and successfully installed it in Orion. When given the choice of what type of format to use (from the Thawte web) I choose the generic, most compatible option (don't remember the exact phrase, but you will understand when you see

Database connection pooling

2000-12-08 Thread Todd Mayfield
Hello, I have a couple questions about Orion and EJB in general. 1. Shouldn't the server pool database connections ? It is not. 2. If so, is there something we are missing in the configuration to allow this ? We have tried our own code and sample code found on www.orionsupport.com. This is the

RE: Changing Orion Generated SQL

2000-12-08 Thread Jarek Skreta
Hi everybody, I am also interested in this topic as I have a practical problem. I would like to hook up the application to the legacy database. Therefore, I have to stick with the existing table names, column names and also the data. Is that doable in CMP? Thanks for any guidance Jarek > -

Re: SSL & Ipaddres

2000-12-08 Thread Todd Renner
We obtained our cert. about 2-3 weeks ago. Encryption type: RC4 w/40 bit enc We told thawte we were using orion and they seemed to know what we were talking about. I think the server to select is javasoft. Hope this helps Todd Mike Fontenot wrote: > as long as your domain remains the same you

RE: Problem with pkclass .Thanks Tommy

2000-12-08 Thread Puthezhath, Rajeev (TWII Boston)
Hi Tommy, It worked. I modified my PK class and it has worked. I was struggling with this problem for long. Thanks. regards Rajeev -Original Message- From: Tommy Eriksson [mailto:[EMAIL PROTECTED]] Sent: Friday, December 08, 2000 1:02 AM To: Orion-Interest Subject: Re: Problem with pkcla

ATM wap application

2000-12-08 Thread Jim Cao
Hi, I have added an application /atmwap to /orion/applications and used phone.com (US.SDK) to test it. In the phone information console display HTTP GET Request: HTTP://LOCALHOST/atmwap cache hit: { } It do

How do you get Orion to serve up 128 vs. 40 bit encryption?

2000-12-08 Thread Keith Kwiatek
Hello, I am using JSSE with Keytool. I followed the Orion ssl guide (http://www.orionsupport.com/articles/ssl-howto.html) but when I use netscape browsers it says that it is only 40 bit encryption.. . IE doesn't say anything... How do I get 128 encryption (or higher) ??? Keith

ATM wap application

2000-12-08 Thread Jim Cao
Hi,   I have added an application /atmwap to /orion/applications and used phone.com (US.SDK) to test it. In the phone information console display HTTP GET Request: HTTP://LOCALHOST/atmwap   cache hit: {      }  

Run time error and exception messages

2000-12-08 Thread Malcolm Ferguson
Hey all, I've managed to install get orion running no problem and i worked through the orion-primer exercise, but when i installed tried to run it there were run time exceptions. These were represented by the browser with the default 500 internal server error, making it very hard to find the sourc

RE: Large Collections

2000-12-08 Thread Tim Drury
Hey John, I think we talked about this on irc. Orion's finders just aren't flexible enough to fetch only a subset (unless you can create your own index and keep track of it). I see two options: use TopLink since it has a lazy- fetch cache, but I'm not sure how easy it would be to get TopLink

R: Has anyone ever solved the ClassCastException problem?

2000-12-08 Thread Montebove Luciano
Hi Dag, >. >My code is the orion-primer example > >(http://www.jollem.com/orion-primer/) >that works inside one machine but fails between two >machines. It works on two different machines. It works also using resin or others servlet engine for the web side. > The >orion-primer is a ear with

Re: Changing Orion Generated SQL

2000-12-08 Thread James Manning
[Jeff Schnitzer] > Take a look at the documentation for orion-ejb-jar.xml. It's a lot > easier if you have a few samples to look at alongside. > > http://www.orionserver.com/docs/orion-ejb-jar.xml.html > > What changes you have in mind? For more performance-intensive entity beans attached to l

Deadlock exception when accessing entity bean

2000-12-08 Thread David Ekholm
During heavy stress testing of my application I noticed that I get the following exception:   com.evermind.server.DeadlockException: Transactions was rolled back: timed out, while waiting for I can't see why this happens. The database has not reported any deadlock problem, and there is a ro

Too many exceptions logged

2000-12-08 Thread David Ekholm
I noticed that all exeptions generated from my EJB layer shows up in the application.log file. I actually only want system exceptions or unhandled exceptions to show up there.   Is this configurable. I mean the fact that one of my business methods return a NotEnoughMoneyException should not

RE: Changing Orion Generated SQL

2000-12-08 Thread Aniket V U
well, i wanted to change the SQL used in the ejbStore method due to some problems that i was having. orion-ejb-jar.xml seems to have the SQL only for finder methods other than the findByPrimary key methods. is there any way to change that??? Thanks Aniket At 06:36 PM 12/8/2000, you wrote: >Ta

Re: Session Timeout Default

2000-12-08 Thread Santosh Kumar
Session in my application timed out just after 5 minutes.. default must be 5 santosh. - Original Message - From: Knudsen, Joe <[EMAIL PROTECTED]> To: Orion-Interest <[EMAIL PROTECTED]> Sent: Thursday, December 07, 2000 11:14 PM Subject: Session Timeout Default > Does anybody know wha

if it is possible to have 2 entity beans with same PK existing in orion ??

2000-12-08 Thread Thomas
dear all, as title, if it is possible to have 2 entity beans with same PK existing in orion bean pool?? and if possible, how can i ''force" orion to do so ? my current problem is: as my business logic in an entity bean is quite time-consuming so, when client1 holding that bean to do something cl

SSL & Ipaddres

2000-12-08 Thread Todd Renner
We have a Thawte cert. implemented successfully on our server and everything works ok, but now we want to move our server onto a different network, giving the machine a different ipaddress. Will this adversely effect our SSL even though the doname name is the same?Thanks. Todd Renner Bell &

SSL & Singletons

2000-12-08 Thread Todd Renner
We recently implemented SSL using a Thawte cert. We have one ear file that is used by both the secure and non secure web sites with the session shared between them. We have several singleton classes used to hold *lots* of data which gets used throughout the application. We also have our own conn

RE: restarting orion-server

2000-12-08 Thread Jason Smith
> When invoking 'shutdown' and then 'restart' there is no response after > the 'shutdown'. Do shutdown OR restart, not both. If shutdown is not bringing everything down I would hook up Orion to a remote debugger (like bugseeker) and see what thread is stalling it. I posted a bug (#220) about s

RE: Changing Orion Generated SQL

2000-12-08 Thread Jeff Schnitzer
Take a look at the documentation for orion-ejb-jar.xml. It's a lot easier if you have a few samples to look at alongside. http://www.orionserver.com/docs/orion-ejb-jar.xml.html What changes you have in mind? Jeff Schnitzer [EMAIL PROTECTED] >-Original Message- >From: Aniket V U [mail

RE: SSL

2000-12-08 Thread Arved Sandstrom
Security encompasses a bunch of different things - authentication, access control, confidentiality, integrity, non-repudiation, etc etc. SSL (at least currently) is primarily for confidentiality - servers are always authenticated BUT clients are only _optionally_ authenticated. Unless you se

Help: Accessing EJBs in different applications

2000-12-08 Thread Montebove Luciano
Hi all, I want access, from the web part of an application, EJBs deployed in a different application. Which is the correct way to do this. Have I to define a special in web.xml or what? Thanks ¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø Luciano Montebove - Software Architect - Finsiel

restarting orion-server

2000-12-08 Thread Marcus Lankenau
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-S

Changing Orion Generated SQL

2000-12-08 Thread Aniket V U
Hi folks, Is there any way I can change the SQL code generated by Orion for CMP beans?? The J2EE RI allows this by editing one of the deployment config files but i wasnt able to find anything anywhere??? Thanks in advance Aniket

SSL

2000-12-08 Thread sas
Hi..   I am using SSL to protect my applications  When the SSL was implemented, the application is asking for frequent login validation process   How can i solve this problem...   Thanks Sas

implementation class constructor throwing exceptions

2000-12-08 Thread erik . romson
I have started to port a number of beans from WLS to Orion, which is surprisingly painless... But there is one thing I always have an init method called in my stateless session bean's constructor and I have a wrapper exception called ApplicationException that wraps any exception that may happen in

Re: Large Collections

2000-12-08 Thread Robert Krueger
At 17:59 07.12.00 , you wrote: >We're working on an ecommerce site which has a rather large (> 3M) record >products table. We were hoping that the Collection which is returned when an >entity bean's collection field getter is called would be smart .. that the >entity beans would be instantiated as