Re: Error passivating beans

2000-06-16 Thread Fabio Silva

Juan Pablo Lorandi wrote:

 fabio, Vector isn't Serializable... you should extend vector implementing
 Serializable

 Rifle


Oh! Of course, what a mistake of mine Thank you very much...

Fábio






Error passivating beans

2000-06-15 Thread Fabio Silva

Hi all,

I am evaluating orion and everything is turning out fine, except
something that is worrying me. When I shutdown the server (
using the: java -jar admin.jar ormi://localhost username password
-shutdown), I get the following:

- CUT HERE --
[ListManagerEJB] Set context
[ListManagerEJB] Created
[ListManagerEJB] Datasource acquired
[ListManagerEJB] Connection acquired
[SecurityManagerEJB] User :fls was successfully authenticated
Shutting down...
[ListManagerEJB] Passivated
Error serializing bean: com.evermind.sql.af
[SecurityManagerEJB] Passivated
Error serializing bean: com.evermind.sql.af
[LibraryManagerEJB] Passivated
Error serializing bean: com.evermind.sql.af
[LibraryManagerEJB] Passivated
Error serializing bean: com.evermind.sql.af
[uniqueIDEJB] Passivated
Error serializing bean: com.evermind.sql.af
--- CUT HERE ---

And when I restart the server:

--- CUT HERE ---
[fls@dbs orion]$ java -jar orion.jar
Error deserializing session: java.io.WriteAbortedException: Writing
aborted by e
xception; java.io.NotSerializableException: com.evermind.sql.af
Error deserializing session: java.io.WriteAbortedException: Writing
aborted by e
xception; java.io.NotSerializableException: com.evermind.sql.af
Error deserializing session: java.io.WriteAbortedException: Writing
aborted by e
xception; java.io.NotSerializableException: com.evermind.sql.af
Error deserializing session: java.io.WriteAbortedException: Writing
aborted by e
xception; java.io.NotSerializableException: com.evermind.sql.af
Error deserializing session: java.io.WriteAbortedException: Writing
aborted by e
xception; java.io.NotSerializableException: com.evermind.sql.af
Orion/1.0 initialized
--- CUT HERE --

Is this normal ? Am I doing something wrong ? I don't think the problem
is with my beans, since the NotSerializableException seems to regard an
internal orion class (com.evermind.sql.af), but I could be wrong.

This worries me a bit, since, for now it isn't preventing me from doing
anything, but in a future, with the high load of the server when the
need comes for it to start passivating/activating the beans, might be a
problem.

Thanks in advance for your help

Fabio Silva






Re: Error passivating beans

2000-06-15 Thread Joel Shellman

I realize something like this has been asked, but I am very interested
in Orion--would like to go live with it within a week or two (we already
have our beans written for JOnAS 1.61--just have to port), but I must
have the following functionality:

I need to run Apache in front of Orion because I need the mod_rewrite
functionality. Is there a way for Apache to handle all requests and then
dish off certain requests to Orion?

Thank you,
-- 
Joel Shellman
Chief Software Architect
The virally-driven B2B marketplace for outsourcing projects
http://www.ants.com/90589781