Eric Richardson wrote:
> 
> Hi,
> I'm trying to get Jonas to work for remote applications.
> 1. So far I have copied all the jars into my web server classes
> directory.
> 2. Started rmiregistry after I "unset CLASSPATH"
> 3. Started the server where I have the property files and ser files
> 
> Here is the script
> 
> APPS=/home/devadm/app
> CODEBASE=http://maxwell/classes/
> JONAS=${APPS}/jonas_jdk1.2
> JAVA=${APPS}/linux/jdk-1.2.2
> 
> # path for java
> export PATH=${PATH}:${JAVA}/bin
> 
> ROOT=/local/httpd/html/classes
> CLASSPATH=${ROOT}/816classes12.zip:${ROOT}/jta-spec1_0_1.jar:${ROOT}/jndi.jar:
> 
> 
>${ROOT}/providerutil.jar:${ROOT}/rmiregistry.jar:${ROOT}/ejb.jar:${ROOT}/jdbc2_0-stdext.jar:
> 
> ${ROOT}/jonas.jar:${ROOT}/:.
> 
> echo "Starting EJBServer"
> java -Dinstall.root=${JONAS} -Djava.rmi.server.codebase=${CODEBASE}
> -classpath ${CLASSPATH} org.objectweb.jonas.server.Server
> 
> This seems to work pretty good but I get the following.
> 
> Starting EJBServer
> JOnAS - Version 1.5
> JDBC DataSource jdbc_2 is mapped on Oracle2.properties
>      Cannot read Session Deployment descriptor UserImpl.ser
> 
> How do I tell the server where to find the Serialized deployment
> descriptors?
> I tried putting them in various places and adding classpath to them with
> no avail.
> 
> Any help would be appreciated.
> 
> Thanks,
> Eric

You must set the jonas.beans.descriptors property of the
jonas.properties files
with the location of your Serialized deployment descriptors.
When the EJBServer is launched it is looking for this property in
$JONAS_ROOT/jonas.properties
or
$HOME/jonas.properties
or
working-directory/jonas.properties

Have you succeeded to run the examples/sb sample?
If you try to run sb examples you will see that Op.ser is generated in
the 
examples/src/sb directory  and in examples/src/sb/jonas.properties 
you have :
jonas.beans.descriptors       Op.ser

If you run EJBServer in this directory you will have:

JOnAS Server, version 1.6, running on rmi.
EJBHome:sb.JOnASOpBeanOpHome for OpBean available

Hope it helps,
Best regards,

        Philippe


Philippe Coq  Groupe Bulll/BullSoft/OpenMaster  Phone: (33) 04 76 29 78
49
Bull S.A  - 1 rue de Provence - 38432 Echirolles Cedex France
[EMAIL PROTECTED]  http://www-frec.bull.com
Download our EJBServer at http://www.bullsoft.com/ejb
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to