Hi Ray,

I think I can help you on your first problem. I had the same trouble and
find a solution after 2 weeks:
In jonas.properties you have set your descriptors to 1.jar,2.jar,3.jar
...15.jar.
Copy from all jar files the ejb-jar.xml to 1.xml in a separate folder (like
/home/xml)
Copy from all jar files the jonas-jar.xml to jonas-1.xml in a separate
folder (like /home/xml)
now you have to change the jonas.properties descriptors to /home/xml/1.xml,
/home/xml/2.xml ....
You can put all you jar files into you classpath.

Try to test it. This works here fine.
If you have any problems or you don't understand my description (cause my
english is bad ;-) ), send me an email.

Best regards,

Juergen
----- Original Message -----
From: "Ray Madigan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 31, 2001 10:35 PM
Subject: JOnAS 2.4/Help


> I have been trying to get my application running under JOnAS 2.4 for a
> couple of weeks now.  There must be some things i don't understand and i
> could use some help.
>
> I am building an application that works fine under JOnAS 2.2.7.  I just
> reciently wentto 2.3 and things seem to work fine, now I am attempting to
> move to 2.4, with much difficulty.  I have two problems.
>
> 1) My application consists of about 25 beans that are situated in some 15
> jar files.  When I have the jar files on the CLASSPATH the first bean
loads
> all 15 times.  When I remove the jar files from CLASSPATH, the Server cant
> find the class definition for a remote interface of a previously loaded
> bean.  When I load a bean that references the remote interface of a
> previously loaded bean, the Server raises the exception
NoClassDefFoundError
> for the remote interface class.  In the case that faults, the remote
> interface is an instance variable of a stateful session bean.
>
> Also, when I put the jars in another directory other then ejbjars, the
> server will only load the first13 beans form the first seven jar files.
It
> does not make it to the bean that has the difficulty.
>
> 2)  When I try to run the alarm or other applications on 2.4, or my
> application on 2.3 I get a SerialContextProvider not found Exception.  I
can
> work around this by passing the correct jndi properties to the JVM, but I
am
> unable to get the Alarm application to work within tomcat.  I have
verified,
> till im blue in the face, that $JONAS_ROOT/config is on the CLASSPATH.
When
> i pass the information to java -D ... the application executes correctly.
>
> Any help would be greatly appreciated.
> Thanks in advance
>
> ----
> 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".

----
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