simon wong wrote:
>
> Hi,
> I met the problem:
> E:\>java -Dinstall.root=E:\jonas -Djava.security.policy=E:\jonas\java.policy
>org.objectweb.jonas.
> server.Server
> JOnAS Server, version 2.2.6, running on rmi.
> No trace.properties: take default values
> Exception in thread "main" java.lang.InstantiationError:
>org/omg/CosTransactions/PropagationContext
>
> at
>com.sun.jts.CosTransactions.CurrentTransaction.<clinit>(CurrentTransaction.java:78)
> at com.sun.jts.CosTransactions.CurrentImpl.<init>(CurrentImpl.java:77)
> at
>com.sun.jts.CosTransactions.DefaultTransactionService.identify_ORB(DefaultTransactionSer
> vice.java:183)
> at com.sun.corba.ee.internal.POA.POAORB.initPostProcessing(POAORB.java:349)
> at com.sun.corba.ee.internal.POA.POAORB.set_parameters(POAORB.java:200)
>
> But the file of trace.properties is existed under the
>E:\jonas\trace.properties. This file is default. I did not change it. How can I solve
>this error or config any file of xxxx.bat?
> I really apprecite it if you would help me to solve the problem.
>
> B.R.
> Simon,
Hi,
your trace.properties must be in a location seen via CLASSPATH
It seems Exception in thread "main" java.lang.InstantiationError:
org/omg/CosTransactions/PropagationContext
is due to the fact that you are using com.sun.jts.CosTransactions
implementation
of PropagationContext instead of JonAS's one. check the order of your
.jar
in your CLASSPATH in order to take JOnAS classes instead of sun.
--
Philippe
Philippe Coq Evidian Phone: (33) 04 76 29 78 49
Bull S.A - 1 rue de Provence - 38432 Echirolles Cedex France
Download our EJBServer at http://www.objectweb.org
----
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".